ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Returns {
          create: UseMutationResult<
              SalesOfferResponse,
              Error,
              {
                  clientId?: string;
                  leadId?: string;
                  opportunityId?: string;
                  projectName?: string;
                  internalDesignation?: string;
                  clientProductCode?: string;
                  internalPlanNumber?: string;
                  clientPlanNumber?: string;
                  annualVolume?: number;
                  annualAmount?: number;
                  doubleUnit: boolean;
                  managementUnit?: string;
                  referenceNumber?: string;
                  index?: string;
                  version?: string;
                  productType: "CONSUMABLE"
                  | "SERVICE"
                  | "STOCKABLE";
                  currencyId?: string;
                  validityDate?: string;
                  priority: number;
                  businessCase?: string;
                  projectId?: string;
                  salesDescription?: string;
                  presentationUnit?: string;
                  externalComment?: string;
                  internalComment?: string;
                  protoTotalPrice: number;
                  protoQuantity: number;
                  protoFlatRate: boolean;
                  protoToolPrice: number;
                  seriesUnitPrice?: string;
                  seriesToolPrice: number;
                  commercialTool?: string;
                  limitedWarranty: boolean;
                  warrantyPeriod: number;
                  sampleSubject: boolean;
                  sampleTotalPrice: number;
                  sampleQuantity: number;
                  sampleFlatRate: boolean;
                  supplyMethod?: string;
                  multiple1?: number;
                  footerComment?: string;
                  firstOrderLeadTime?: number;
                  standardLeadTime?: number;
                  incoterms?: string;
                  chargeShipping: boolean;
                  destinationPostalCode?: string;
                  destinationCountry?: string;
                  destinationCity?: string;
                  qtRl?: number;
                  ucDimensions?: string;
                  diaRl?: number;
                  qtUc?: number;
                  qtUm?: number;
                  lines: {
                      id?: string;
                      finishedProductId?: string;
                      unitOfMeasureId?: string;
                      description?: string;
                      quantity: number;
                      unitPrice: number;
                      totalPrice: number;
                      taxId?: string;
                      taxRate: number;
                      taxAmount: number;
                      notes?: string;
                      sequence: number;
                  }[];
                  seriesPriceTiers?: {
                      id?: string;
                      quantity: number;
                      price: number;
                      sequence?: number;
                      notes?: string;
                  }[];
              },
              unknown,
          >;
          createSimple: UseMutationResult<SalesOfferResponse, Error, any, unknown>;
          update: UseMutationResult<
              SalesOfferResponse,
              Error,
              {
                  clientId?: string;
                  leadId?: string;
                  opportunityId?: string;
                  projectName?: string;
                  internalDesignation?: string;
                  clientProductCode?: string;
                  internalPlanNumber?: string;
                  clientPlanNumber?: string;
                  annualVolume?: number;
                  annualAmount?: number;
                  doubleUnit: boolean;
                  managementUnit?: string;
                  referenceNumber?: string;
                  index?: string;
                  version?: string;
                  productType: "CONSUMABLE"
                  | "SERVICE"
                  | "STOCKABLE";
                  currencyId?: string;
                  validityDate?: string;
                  priority: number;
                  businessCase?: string;
                  projectId?: string;
                  salesDescription?: string;
                  presentationUnit?: string;
                  externalComment?: string;
                  internalComment?: string;
                  protoTotalPrice: number;
                  protoQuantity: number;
                  protoFlatRate: boolean;
                  protoToolPrice: number;
                  seriesUnitPrice?: string;
                  seriesToolPrice: number;
                  commercialTool?: string;
                  limitedWarranty: boolean;
                  warrantyPeriod: number;
                  sampleSubject: boolean;
                  sampleTotalPrice: number;
                  sampleQuantity: number;
                  sampleFlatRate: boolean;
                  supplyMethod?: string;
                  multiple1?: number;
                  footerComment?: string;
                  firstOrderLeadTime?: number;
                  standardLeadTime?: number;
                  incoterms?: string;
                  chargeShipping: boolean;
                  destinationPostalCode?: string;
                  destinationCountry?: string;
                  destinationCity?: string;
                  qtRl?: number;
                  ucDimensions?: string;
                  diaRl?: number;
                  qtUc?: number;
                  qtUm?: number;
                  seriesPriceTiers?: {
                      id?: string;
                      quantity: number;
                      price: number;
                      sequence?: number;
                      notes?: string;
                  }[];
                  id: string;
                  lines?: {
                      id?: string;
                      finishedProductId?: string;
                      unitOfMeasureId?: string;
                      description?: string;
                      quantity: number;
                      unitPrice: number;
                      totalPrice: number;
                      taxId?: string;
                      taxRate: number;
                      taxAmount: number;
                      notes?: string;
                      sequence: number;
                  }[];
              },
              unknown,
          >;
          delete: UseMutationResult<void, Error, string, unknown>;
          updateStatus: UseMutationResult<
              any,
              Error,
              { offerId: string; status: string },
              unknown,
          >;
          convert: UseMutationResult<any, Error, string, unknown>;
      }