@erp-galoper/types 1.0.2053 → 1.0.2055

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.ts +548 -158
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -19724,7 +19724,7 @@ export interface paths {
19724
19724
  patch?: never;
19725
19725
  trace?: never;
19726
19726
  };
19727
- "/api/v1/inventory/return-documents/": {
19727
+ "/api/v1/inventory/item-movements/": {
19728
19728
  parameters: {
19729
19729
  query?: never;
19730
19730
  header?: never;
@@ -19732,20 +19732,20 @@ export interface paths {
19732
19732
  cookie?: never;
19733
19733
  };
19734
19734
  /**
19735
- * List Return Documents
19735
+ * List Inventory Movements
19736
19736
  * @description List return documents. Explicit filters support quick filtering; `search` handles free text
19737
19737
  * and `apply_filters_to_queryset` supports advanced filter payloads.
19738
19738
  *
19739
19739
  * Permission key: `returndocument = ['view']`
19740
19740
  */
19741
- get: operations["inventory_return_document_views_list_return_documents"];
19741
+ get: operations["inventory_inventory_movement_views_list_inventory_movements"];
19742
19742
  put?: never;
19743
19743
  /**
19744
- * Create Return Document
19744
+ * Create Inventory Movement
19745
19745
  * @description Create a return document (return delivery or return shipment).
19746
19746
  *
19747
19747
  * Responses:
19748
- * - 201: ReturnDocumentSchema
19748
+ * - 201: InventoryMovementSchema
19749
19749
  * - 400: sourceDocumentNotFound, unapprovedSourceDocument, canceledSourceDocument,
19750
19750
  * warehouseDoesNotExist, sourceLineNotFound, quantityExceedsRemaining, invalidStockStatus,
19751
19751
  * serialRequired, batchRequired
@@ -19755,14 +19755,14 @@ export interface paths {
19755
19755
  *
19756
19756
  * Permission key: `returndocument = ['add']`
19757
19757
  */
19758
- post: operations["inventory_return_document_views_create_return_document"];
19758
+ post: operations["inventory_inventory_movement_views_create_inventory_movement"];
19759
19759
  delete?: never;
19760
19760
  options?: never;
19761
19761
  head?: never;
19762
19762
  patch?: never;
19763
19763
  trace?: never;
19764
19764
  };
19765
- "/api/v1/inventory/return-documents/source-lines/": {
19765
+ "/api/v1/inventory/item-movements/source-lines/": {
19766
19766
  parameters: {
19767
19767
  query?: never;
19768
19768
  header?: never;
@@ -19770,13 +19770,13 @@ export interface paths {
19770
19770
  cookie?: never;
19771
19771
  };
19772
19772
  /**
19773
- * Get Return Document Source Lines
19773
+ * Get Inventory Movement Source Lines
19774
19774
  * @description Fetch eligible source lines and party for creating/updating a return document.
19775
19775
  * Use each line `id` as `sourceLineId` in the create/update payload.
19776
19776
  *
19777
19777
  * Permission key: `returndocument = ['view']`
19778
19778
  */
19779
- get: operations["inventory_return_document_views_get_return_document_source_lines"];
19779
+ get: operations["inventory_inventory_movement_views_get_inventory_movement_source_lines"];
19780
19780
  put?: never;
19781
19781
  post?: never;
19782
19782
  delete?: never;
@@ -19785,17 +19785,17 @@ export interface paths {
19785
19785
  patch?: never;
19786
19786
  trace?: never;
19787
19787
  };
19788
- "/api/v1/inventory/return-documents/{id}/": {
19788
+ "/api/v1/inventory/item-movements/{id}/": {
19789
19789
  parameters: {
19790
19790
  query?: never;
19791
19791
  header?: never;
19792
19792
  path?: never;
19793
19793
  cookie?: never;
19794
19794
  };
19795
- /** Get Return Document */
19796
- get: operations["inventory_return_document_views_get_return_document"];
19797
- /** Update Return Document */
19798
- put: operations["inventory_return_document_views_update_return_document"];
19795
+ /** Get Inventory Movement */
19796
+ get: operations["inventory_inventory_movement_views_get_inventory_movement"];
19797
+ /** Update Inventory Movement */
19798
+ put: operations["inventory_inventory_movement_views_update_inventory_movement"];
19799
19799
  post?: never;
19800
19800
  delete?: never;
19801
19801
  options?: never;
@@ -19803,7 +19803,7 @@ export interface paths {
19803
19803
  patch?: never;
19804
19804
  trace?: never;
19805
19805
  };
19806
- "/api/v1/inventory/return-documents/{id}/cancel/": {
19806
+ "/api/v1/inventory/item-movements/{id}/cancel/": {
19807
19807
  parameters: {
19808
19808
  query?: never;
19809
19809
  header?: never;
@@ -19812,15 +19812,15 @@ export interface paths {
19812
19812
  };
19813
19813
  get?: never;
19814
19814
  put?: never;
19815
- /** Cancel Return Document */
19816
- post: operations["inventory_return_document_views_cancel_return_document"];
19815
+ /** Cancel Inventory Movement */
19816
+ post: operations["inventory_inventory_movement_views_cancel_inventory_movement"];
19817
19817
  delete?: never;
19818
19818
  options?: never;
19819
19819
  head?: never;
19820
19820
  patch?: never;
19821
19821
  trace?: never;
19822
19822
  };
19823
- "/api/v1/inventory/return-documents/{id}/delete/": {
19823
+ "/api/v1/inventory/item-movements/{id}/delete/": {
19824
19824
  parameters: {
19825
19825
  query?: never;
19826
19826
  header?: never;
@@ -19829,15 +19829,15 @@ export interface paths {
19829
19829
  };
19830
19830
  get?: never;
19831
19831
  put?: never;
19832
- /** Delete Return Document */
19833
- post: operations["inventory_return_document_views_delete_return_document"];
19832
+ /** Delete Inventory Movement */
19833
+ post: operations["inventory_inventory_movement_views_delete_inventory_movement"];
19834
19834
  delete?: never;
19835
19835
  options?: never;
19836
19836
  head?: never;
19837
19837
  patch?: never;
19838
19838
  trace?: never;
19839
19839
  };
19840
- "/api/v1/inventory/return-documents/{id}/reset-to-draft/": {
19840
+ "/api/v1/inventory/item-movements/{id}/reset-to-draft/": {
19841
19841
  parameters: {
19842
19842
  query?: never;
19843
19843
  header?: never;
@@ -19846,8 +19846,25 @@ export interface paths {
19846
19846
  };
19847
19847
  get?: never;
19848
19848
  put?: never;
19849
- /** Reset Return Document To Draft */
19850
- post: operations["inventory_return_document_views_reset_return_document_to_draft"];
19849
+ /** Reset Inventory Movement To Draft */
19850
+ post: operations["inventory_inventory_movement_views_reset_inventory_movement_to_draft"];
19851
+ delete?: never;
19852
+ options?: never;
19853
+ head?: never;
19854
+ patch?: never;
19855
+ trace?: never;
19856
+ };
19857
+ "/api/v1/inventory/item-movements/{id}/shipment-status/": {
19858
+ parameters: {
19859
+ query?: never;
19860
+ header?: never;
19861
+ path?: never;
19862
+ cookie?: never;
19863
+ };
19864
+ get?: never;
19865
+ /** Update Shipment Status */
19866
+ put: operations["inventory_inventory_movement_views_update_shipment_status"];
19867
+ post?: never;
19851
19868
  delete?: never;
19852
19869
  options?: never;
19853
19870
  head?: never;
@@ -25002,12 +25019,6 @@ export interface components {
25002
25019
  * @default []
25003
25020
  */
25004
25021
  salesreturnpackage: components["schemas"]["BasePermissionsSchema_Inventory_SalesreturnpackageEnum"][];
25005
- /**
25006
- * Returndocument
25007
- * @description returndocument actions
25008
- * @default []
25009
- */
25010
- returndocument: components["schemas"]["BasePermissionsSchema_Inventory_ReturndocumentEnum"][];
25011
25022
  /**
25012
25023
  * Internaltransfer
25013
25024
  * @description internaltransfer actions
@@ -25083,11 +25094,6 @@ export interface components {
25083
25094
  * @enum {string}
25084
25095
  */
25085
25096
  BasePermissionsSchema_Inventory_ReturnablepackagereconciliationEnum: "add" | "approve" | "cancel" | "change" | "delete" | "resettodraft" | "view";
25086
- /**
25087
- * BasePermissionsSchema_Inventory_ReturndocumentEnum
25088
- * @enum {string}
25089
- */
25090
- BasePermissionsSchema_Inventory_ReturndocumentEnum: "add" | "approve" | "cancel" | "change" | "delete" | "export" | "resettodraft" | "view";
25091
25097
  /**
25092
25098
  * BasePermissionsSchema_Inventory_SalesreturnpackageEnum
25093
25099
  * @enum {string}
@@ -27527,7 +27533,7 @@ export interface components {
27527
27533
  * LogModelName
27528
27534
  * @enum {string}
27529
27535
  */
27530
- LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
27536
+ LogModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
27531
27537
  /**
27532
27538
  * SortOrder
27533
27539
  * @enum {string}
@@ -31956,7 +31962,7 @@ export interface components {
31956
31962
  * CombinedModelName
31957
31963
  * @enum {string}
31958
31964
  */
31959
- CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
31965
+ CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
31960
31966
  /** CustomFieldsList */
31961
31967
  CustomFieldsList: {
31962
31968
  info: components["schemas"]["PageInfoSchema"];
@@ -62005,35 +62011,8 @@ export interface components {
62005
62011
  */
62006
62012
  shipmentStatus: components["schemas"]["ShipmentStatusEnum"];
62007
62013
  };
62008
- /**
62009
- * PartyTypeEnum
62010
- * @enum {string}
62011
- */
62012
- PartyTypeEnum: "customer" | "supplier";
62013
- /** ReturnDocumentLineSchema */
62014
- ReturnDocumentLineSchema: {
62015
- /**
62016
- * Id
62017
- * Format: uuid
62018
- */
62019
- id: string;
62020
- /**
62021
- * Sourcelineid
62022
- * Format: uuid
62023
- */
62024
- sourceLineId: string;
62025
- item: components["schemas"]["ItemSharedSchema"];
62026
- itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
62027
- unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
62028
- /** Movementqty */
62029
- movementQty: number;
62030
- /** Stockstatus */
62031
- stockStatus?: string | null;
62032
- batch?: components["schemas"]["BatchSerialSummarySchema"] | null;
62033
- serial?: components["schemas"]["BatchSerialSummarySchema"] | null;
62034
- };
62035
- /** ReturnDocumentSchema */
62036
- ReturnDocumentSchema: {
62014
+ /** InventoryMovementSchema */
62015
+ InventoryMovementSchema: {
62037
62016
  /**
62038
62017
  * Datecreated
62039
62018
  * Format: date-time
@@ -62050,21 +62029,40 @@ export interface components {
62050
62029
  id: string;
62051
62030
  /** Serialnumber */
62052
62031
  serialNumber: string;
62053
- /** Documenttype */
62054
- documentType: string;
62055
- /** Sourcedocumenttype */
62056
- sourceDocumentType: string;
62032
+ /**
62033
+ * Movementtype
62034
+ * @description Movement type of the document.
62035
+ */
62036
+ movementType: string;
62037
+ /**
62038
+ * Sourcedocumenttype
62039
+ * @description Linked source document type when applicable.
62040
+ */
62041
+ sourceDocumentType?: string | null;
62057
62042
  /**
62058
62043
  * Sourcedocumentid
62059
- * Format: uuid
62044
+ * @description Linked source document UUID when applicable.
62060
62045
  */
62061
- sourceDocumentId: string;
62062
- partyType: components["schemas"]["PartyTypeEnum"];
62063
- /** @description Populated for salesReturn documents only. */
62046
+ sourceDocumentId?: string | null;
62047
+ /** @description Party type for return movements: customer or supplier. */
62048
+ partyType?: components["schemas"]["PartyTypeEnum"] | null;
62049
+ /** @description Populated for goodsDelivery and salesReturn documents. */
62064
62050
  customer?: components["schemas"]["CustomerSharedSchema"] | null;
62065
- /** @description Populated for purchaseReturn documents only. */
62051
+ /** @description Populated for goodsReceipt and purchaseReturn documents. */
62066
62052
  supplier?: components["schemas"]["ChildSupplierSharedSchema"] | null;
62067
62053
  warehouse: components["schemas"]["WarehouseSummaryInfo"];
62054
+ /** @description Linked sales order for goodsDelivery movements. */
62055
+ salesOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62056
+ /** @description Linked sales invoice for goodsDelivery movements. */
62057
+ salesInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62058
+ /** @description Linked purchase order for goodsReceipt movements. */
62059
+ purchaseOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62060
+ /** @description Linked purchase invoice for goodsReceipt movements. */
62061
+ purchaseInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62062
+ /** Referencenumber */
62063
+ referenceNumber?: string | null;
62064
+ /** @description Shipment status for goodsDelivery movements. */
62065
+ shipmentStatus?: components["schemas"]["ShipmentStatusEnum"] | null;
62068
62066
  /**
62069
62067
  * Date
62070
62068
  * Format: date
@@ -62073,79 +62071,309 @@ export interface components {
62073
62071
  /** Status */
62074
62072
  status: string;
62075
62073
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
62076
- /** Description */
62074
+ /**
62075
+ * Description
62076
+ * @description Detailed description of the inventory movement.
62077
+ */
62077
62078
  description?: string | null;
62078
- /** Notes */
62079
+ /**
62080
+ * Notes
62081
+ * @description Additional notes related to the inventory movement.
62082
+ */
62079
62083
  notes?: string | null;
62080
- /** Attachments */
62084
+ /**
62085
+ * Attachments
62086
+ * @description List of attachment file paths linked to the inventory movement.
62087
+ */
62081
62088
  attachments?: string[] | null;
62082
62089
  /**
62083
- * Lines
62090
+ * Items
62091
+ * @description List of inventory movement lines.
62084
62092
  * @default []
62085
62093
  */
62086
- lines: components["schemas"]["ReturnDocumentLineSchema"][];
62094
+ items: components["schemas"]["MovementLineSchema"][];
62087
62095
  };
62088
- /** CreateOrUpdateReturnDocumentSchema */
62089
- CreateOrUpdateReturnDocumentSchema: {
62090
- documentType: components["schemas"]["ReturnDocumentTypeEnum"];
62096
+ /** MovementLineSchema */
62097
+ MovementLineSchema: {
62091
62098
  /**
62092
- * Sourcedocumentid
62099
+ * Id
62093
62100
  * Format: uuid
62094
62101
  */
62095
- sourceDocumentId: string;
62102
+ id: string;
62096
62103
  /**
62097
- * Warehouse
62104
+ * Sourcelineid
62105
+ * @description Source return line ID for salesReturn and purchaseReturn lines.
62106
+ */
62107
+ sourceLineId?: string | null;
62108
+ item?: components["schemas"]["ItemSharedSchema"] | null;
62109
+ itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
62110
+ /** @description The unit of measure selected from the item's options. */
62111
+ unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
62112
+ /**
62113
+ * Movementqty
62114
+ * @description Quantity moved on this line.
62115
+ */
62116
+ movementQty: number;
62117
+ /**
62118
+ * Quantityordered
62119
+ * @description Quantity ordered from the linked sales or purchase document, when applicable.
62120
+ */
62121
+ quantityOrdered?: number | null;
62122
+ /**
62123
+ * Stockstatus
62124
+ * @description Stock status for salesReturn lines: available, disposal, or quarantine.
62125
+ */
62126
+ stockStatus?: string | null;
62127
+ /**
62128
+ * Trackinventoryby
62129
+ * @description Tracking method: serial_number, batch, or quantity.
62130
+ */
62131
+ trackInventoryBy?: string | null;
62132
+ /** @description Batch details for batch-tracked lines. */
62133
+ batch?: components["schemas"]["BatchSerialSummarySchema"] | null;
62134
+ /** @description Serial details for serial-tracked lines. */
62135
+ serial?: components["schemas"]["BatchSerialSummarySchema"] | null;
62136
+ /**
62137
+ * Tracking
62138
+ * @description Tracking details (serial numbers, batches, or quantities).
62139
+ * @default []
62140
+ */
62141
+ tracking: components["schemas"]["MovementLineTrackingSchema"][];
62142
+ };
62143
+ /** MovementLineTrackingSchema */
62144
+ MovementLineTrackingSchema: {
62145
+ /**
62146
+ * Id
62098
62147
  * Format: uuid
62099
62148
  */
62100
- warehouse: string;
62149
+ id: string;
62150
+ /** @description Batch number details. */
62151
+ batch?: components["schemas"]["BatchSerialSummarySchema"] | null;
62152
+ /** @description Serial number details. */
62153
+ serial?: components["schemas"]["BatchSerialSummarySchema"] | null;
62154
+ /**
62155
+ * Quantity
62156
+ * @description Tracking quantity.
62157
+ * @default 1
62158
+ */
62159
+ quantity: number | null;
62160
+ };
62161
+ /**
62162
+ * PartyTypeEnum
62163
+ * @enum {string}
62164
+ */
62165
+ PartyTypeEnum: "customer" | "supplier";
62166
+ /**
62167
+ * CreateOrUpdateInventoryMovementSchema
62168
+ * @description Schema for creating or updating an inventory movement.
62169
+ *
62170
+ * Notes:
62171
+ * - All linked documents are stored on the model as source_document (type + id).
62172
+ * - For goodsDelivery and goodsReceipt, provide sourceDocumentType and sourceDocumentId.
62173
+ * - For salesReturn and purchaseReturn, provide sourceDocumentId only; sourceDocumentType is
62174
+ * derived from inventory settings.
62175
+ */
62176
+ CreateOrUpdateInventoryMovementSchema: {
62177
+ /** @description Movement type: goodsDelivery, goodsReceipt, salesReturn, or purchaseReturn. */
62178
+ movementType: components["schemas"]["MovementTypeEnum"];
62101
62179
  /**
62102
62180
  * Date
62103
62181
  * Format: date
62182
+ * @description Document date.
62104
62183
  */
62105
62184
  date: string;
62185
+ /**
62186
+ * Warehouse
62187
+ * Format: uuid
62188
+ * @description Get warehouses from /api/v1/me/ and filter by the current branch.
62189
+ */
62190
+ warehouse: string;
62106
62191
  /**
62107
62192
  * Status
62193
+ * @description Document status. Defaults to draft.
62108
62194
  * @default draft
62109
62195
  */
62110
62196
  status: string | null;
62111
- /** Description */
62197
+ /**
62198
+ * Password
62199
+ * @description Required when transaction locking is enabled.
62200
+ */
62201
+ password?: string | null;
62202
+ /**
62203
+ * Description
62204
+ * @description Detailed description of the inventory movement.
62205
+ */
62112
62206
  description?: string | null;
62113
- /** Notes */
62207
+ /**
62208
+ * Notes
62209
+ * @description Additional notes related to the inventory movement.
62210
+ */
62114
62211
  notes?: string | null;
62115
- /** Password */
62116
- password?: string | null;
62212
+ /**
62213
+ * Referencenumber
62214
+ * @description Optional external reference number for the inventory movement.
62215
+ */
62216
+ referenceNumber?: string | null;
62117
62217
  /**
62118
62218
  * Attachments
62119
- * @description File paths from the upload endpoint. Document name: returnDocument.
62219
+ * @description List of file attachment paths from the upload endpoint. Document name: inventoryMovement.
62120
62220
  */
62121
62221
  attachments?: string[] | null;
62122
- /** Lines */
62123
- lines: components["schemas"]["ReturnDocumentLineCreateSchema"][];
62222
+ /**
62223
+ * Customer
62224
+ * @description Required for goodsDelivery.
62225
+ * - Child customers only.
62226
+ * - If linked to a sales order or invoice, customer must match the linked document.
62227
+ * - Otherwise filter customers by document_type='goodsDeliveryNote'.
62228
+ */
62229
+ customer?: string | null;
62230
+ /**
62231
+ * Supplier
62232
+ * @description Required for goodsReceipt.
62233
+ * - If linked to a purchase order or invoice, supplier must match the linked document.
62234
+ * - Otherwise filter suppliers by document_type='goodsReceiptNote'.
62235
+ */
62236
+ supplier?: string | null;
62237
+ /**
62238
+ * @description Required for goodsDelivery and goodsReceipt when linking to a source document.
62239
+ * - goodsDelivery: salesOrder or salesInvoice, depending on goods_delivery_note_source.
62240
+ * - goodsReceipt: purchaseOrder or purchaseInvoice, depending on goods_receipt_note_source.
62241
+ * For salesReturn and purchaseReturn this is derived from settings and should be omitted.
62242
+ */
62243
+ sourceDocumentType?: components["schemas"]["SourceDocumentTypeEnum"] | null;
62244
+ /**
62245
+ * Sourcedocumentid
62246
+ * @description UUID of the linked source document. All movement types store this on source_document.
62247
+ * - goodsDelivery: sales order or sales invoice id.
62248
+ * - goodsReceipt: purchase order or purchase invoice id.
62249
+ * - salesReturn / purchaseReturn: return invoice or return order id, depending on settings.
62250
+ * Fetch eligible return lines from GET /api/v1/inventory/inventory-movements/source-lines/.
62251
+ */
62252
+ sourceDocumentId?: string | null;
62253
+ /**
62254
+ * Lines
62255
+ * @description List of inventory movement lines.
62256
+ */
62257
+ lines: components["schemas"]["MovementLineCreateSchema"][];
62124
62258
  };
62125
- /** ReturnDocumentLineCreateSchema */
62126
- ReturnDocumentLineCreateSchema: {
62127
- /** Id */
62259
+ /** MovementLineCreateSchema */
62260
+ MovementLineCreateSchema: {
62261
+ /**
62262
+ * Id
62263
+ * @description ID of the inventory movement line (for update only).
62264
+ */
62128
62265
  id?: string | null;
62129
62266
  /**
62130
62267
  * Sourcelineid
62131
- * Format: uuid
62132
- * @description ID of the source return line. Fetch eligible lines from GET /inventory/return-documents/source-lines/ using sourceDocumentId.
62268
+ * @description Required for salesReturn and purchaseReturn. Fetch eligible lines from GET /api/v1/inventory/inventory-movements/source-lines/ using sourceDocumentType and sourceDocumentId, then use each line id as sourceLineId.
62133
62269
  */
62134
- sourceLineId: string;
62135
- /** Movementqty */
62136
- movementQty: number;
62137
- /** @description Only applicable for salesReturn. Defaults to available when omitted. Must be omitted or null for purchaseReturn. */
62270
+ sourceLineId?: string | null;
62271
+ /**
62272
+ * Item
62273
+ * @description Required for goodsDelivery and goodsReceipt.
62274
+ * - If linked to a sales or purchase document, the item must belong to that document.
62275
+ * - Filter document items to type=product only.
62276
+ * - Service items (type=service) are not allowed.
62277
+ */
62278
+ item?: string | null;
62279
+ /**
62280
+ * Unitofmeasure
62281
+ * @description - When only an item is selected:
62282
+ * - Get options from /api/v1/inventory/items/{item-id}/ field unitOfMeasures.
62283
+ * - Use defaultSalesUnitOfMeasure for goodsDelivery or defaultPurchaseUnitOfMeasure for goodsReceipt.
62284
+ * - When an item package is selected:
62285
+ * - Input should be disabled; use the unit of measure from itemPackage.
62286
+ */
62287
+ unitOfMeasure?: string | null;
62288
+ /**
62289
+ * Itempackage
62290
+ * @description Choose from the selected item's itemPackage options.
62291
+ */
62292
+ itemPackage?: string | null;
62293
+ /**
62294
+ * Movementqty
62295
+ * @description Quantity to move. Required for salesReturn and purchaseReturn.
62296
+ */
62297
+ movementQty?: number | null;
62298
+ /**
62299
+ * Quantity
62300
+ * @description Dispatched quantity for goodsDelivery. Mapped internally to movementQty.
62301
+ */
62302
+ quantity?: number | null;
62303
+ /**
62304
+ * Quantityreceived
62305
+ * @description Received quantity for goodsReceipt. Mapped internally to movementQty.
62306
+ */
62307
+ quantityReceived?: number | null;
62308
+ /**
62309
+ * Quantityordered
62310
+ * @description Visible when the line is linked to a sales or purchase document.
62311
+ * - If the item is not linked to an order or invoice, this field should be omitted.
62312
+ * - If linked, this field should be the quantity ordered from the linked document.
62313
+ */
62314
+ quantityOrdered?: number | null;
62315
+ /** @description Visible for salesReturn only. Defaults to available when omitted. Must be omitted or null for purchaseReturn. */
62138
62316
  stockStatus?: components["schemas"]["StockStatusEnum"] | null;
62139
- /** Batch */
62317
+ /**
62318
+ * Batch
62319
+ * @description Batch ID for return movements when the source line item is tracked by batch.
62320
+ */
62140
62321
  batch?: string | null;
62141
- /** Serial */
62322
+ /**
62323
+ * Serial
62324
+ * @description Serial ID for return movements when the source line item is tracked by serial number.
62325
+ */
62142
62326
  serial?: string | null;
62327
+ /**
62328
+ * Tracking
62329
+ * @description Tracking details for goodsDelivery and goodsReceipt lines. Get tracking rules from the item.
62330
+ */
62331
+ tracking?: components["schemas"]["MovementLineTrackingCreateSchema"][] | null;
62332
+ };
62333
+ /** MovementLineTrackingCreateSchema */
62334
+ MovementLineTrackingCreateSchema: {
62335
+ /**
62336
+ * Id
62337
+ * @description ID of the tracking record (for update only).
62338
+ */
62339
+ id?: string | null;
62340
+ /**
62341
+ * Batch
62342
+ * @description Batch ID for tracking (required when the item is tracked by batch).
62343
+ */
62344
+ batch?: string | null;
62345
+ /**
62346
+ * Serial
62347
+ * @description Serial ID for tracking (required when the item is tracked by serial number).
62348
+ */
62349
+ serial?: string | null;
62350
+ /**
62351
+ * Number
62352
+ * @description Serial or batch number based on the item tracking method (goods receipt only).
62353
+ */
62354
+ number?: string | null;
62355
+ /**
62356
+ * Quantity
62357
+ * @description If tracked by serial number, quantity must be 1. If tracked by batch, the sum of all quantities must equal the line quantity. If tracked by quantity, the quantity must equal the line quantity.
62358
+ * @default 1
62359
+ */
62360
+ quantity: number | null;
62361
+ /**
62362
+ * Expirydate
62363
+ * @description Expiry date for this tracking entry when applicable.
62364
+ */
62365
+ expiryDate?: string | null;
62143
62366
  };
62144
62367
  /**
62145
- * ReturnDocumentTypeEnum
62368
+ * MovementTypeEnum
62146
62369
  * @enum {string}
62147
62370
  */
62148
- ReturnDocumentTypeEnum: "salesReturn" | "purchaseReturn";
62371
+ MovementTypeEnum: "goodsDelivery" | "goodsReceipt" | "salesReturn" | "purchaseReturn";
62372
+ /**
62373
+ * SourceDocumentTypeEnum
62374
+ * @enum {string}
62375
+ */
62376
+ SourceDocumentTypeEnum: "salesOrder" | "salesInvoice" | "purchaseOrder" | "purchaseInvoice" | "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
62149
62377
  /**
62150
62378
  * StockStatusEnum
62151
62379
  * @enum {string}
@@ -62156,60 +62384,158 @@ export interface components {
62156
62384
  * @enum {string}
62157
62385
  */
62158
62386
  ReturnDocumentSortBy: "dateCreated" | "dateModified" | "serialNumber" | "customerName" | "supplierName" | "date" | "warehouseName" | "partyName";
62159
- /** ReturnDocumentListSchema */
62160
- ReturnDocumentListSchema: {
62387
+ /** InventoryMovementListSchema */
62388
+ InventoryMovementListSchema: {
62161
62389
  info: components["schemas"]["PageInfoSchema"];
62162
62390
  /** Results */
62163
- results: components["schemas"]["ReturnDocumentSchema"][];
62391
+ results: components["schemas"]["InventoryMovementSummarySchema"][];
62164
62392
  };
62165
- /**
62166
- * SourceDocumentTypeEnum
62167
- * @enum {string}
62168
- */
62169
- SourceDocumentTypeEnum: "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
62170
- /** ReturnDocumentSourceLineSchema */
62171
- ReturnDocumentSourceLineSchema: {
62393
+ /** InventoryMovementSummarySchema */
62394
+ InventoryMovementSummarySchema: {
62395
+ /**
62396
+ * Datecreated
62397
+ * Format: date-time
62398
+ */
62399
+ dateCreated: string;
62400
+ /** Datemodified */
62401
+ dateModified: string | null;
62402
+ createdBy: components["schemas"]["RecordUserSchema"];
62403
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
62172
62404
  /**
62173
62405
  * Id
62174
62406
  * Format: uuid
62175
62407
  */
62176
62408
  id: string;
62177
- /** Quantity */
62409
+ /** Serialnumber */
62410
+ serialNumber: string;
62411
+ /**
62412
+ * Movementtype
62413
+ * @description Movement type of the document.
62414
+ */
62415
+ movementType: string;
62416
+ /**
62417
+ * Sourcedocumenttype
62418
+ * @description Linked source document type when applicable.
62419
+ */
62420
+ sourceDocumentType?: string | null;
62421
+ /**
62422
+ * Sourcedocumentid
62423
+ * @description Linked source document UUID when applicable.
62424
+ */
62425
+ sourceDocumentId?: string | null;
62426
+ /** @description Party type for return movements: customer or supplier. */
62427
+ partyType?: components["schemas"]["PartyTypeEnum"] | null;
62428
+ /** @description Populated for goodsDelivery and salesReturn documents. */
62429
+ customer?: components["schemas"]["CustomerSharedSchema"] | null;
62430
+ /** @description Populated for goodsReceipt and purchaseReturn documents. */
62431
+ supplier?: components["schemas"]["ChildSupplierSharedSchema"] | null;
62432
+ warehouse: components["schemas"]["WarehouseSummaryInfo"];
62433
+ /** @description Linked sales order for goodsDelivery movements. */
62434
+ salesOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62435
+ /** @description Linked sales invoice for goodsDelivery movements. */
62436
+ salesInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62437
+ /** @description Linked purchase order for goodsReceipt movements. */
62438
+ purchaseOrder?: components["schemas"]["DocumentCommonSchema"] | null;
62439
+ /** @description Linked purchase invoice for goodsReceipt movements. */
62440
+ purchaseInvoice?: components["schemas"]["DocumentCommonSchema"] | null;
62441
+ /** Referencenumber */
62442
+ referenceNumber?: string | null;
62443
+ /** @description Shipment status for goodsDelivery movements. */
62444
+ shipmentStatus?: components["schemas"]["ShipmentStatusEnum"] | null;
62445
+ /**
62446
+ * Date
62447
+ * Format: date
62448
+ */
62449
+ date: string;
62450
+ /** Status */
62451
+ status: string;
62452
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
62453
+ /**
62454
+ * Description
62455
+ * @description Detailed description of the inventory movement.
62456
+ */
62457
+ description?: string | null;
62458
+ /**
62459
+ * Notes
62460
+ * @description Additional notes related to the inventory movement.
62461
+ */
62462
+ notes?: string | null;
62463
+ /**
62464
+ * Attachments
62465
+ * @description List of attachment file paths linked to the inventory movement.
62466
+ */
62467
+ attachments?: string[] | null;
62468
+ };
62469
+ /** InventoryMovementSourceLineSchema */
62470
+ InventoryMovementSourceLineSchema: {
62471
+ /**
62472
+ * Id
62473
+ * Format: uuid
62474
+ * @description Use this value as sourceLineId in the create/update payload.
62475
+ */
62476
+ id: string;
62477
+ /**
62478
+ * Quantity
62479
+ * @description Remaining quantity that can be returned on this source line.
62480
+ */
62178
62481
  quantity: number;
62179
- /** Sourcequantity */
62482
+ /**
62483
+ * Sourcequantity
62484
+ * @description Original quantity on the source return line.
62485
+ */
62180
62486
  sourceQuantity: number;
62181
- /** Stockquantity */
62487
+ /**
62488
+ * Stockquantity
62489
+ * @description Quantity stocked via goods note for this source line.
62490
+ */
62182
62491
  stockQuantity: number;
62492
+ /** @description Item on the source return line. */
62183
62493
  item?: components["schemas"]["ItemSharedSchema"] | null;
62494
+ /** @description Item package on the source return line. */
62184
62495
  itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
62496
+ /** @description Unit of measure on the source return line. */
62185
62497
  unitOfMeasure?: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
62186
62498
  /**
62187
62499
  * Serials
62500
+ * @description Available serial numbers for serial-tracked source lines.
62188
62501
  * @default []
62189
62502
  */
62190
- serials: components["schemas"]["ReturnDocumentSourceLineSerialSchema"][];
62503
+ serials: components["schemas"]["InventoryMovementSourceLineSerialSchema"][];
62191
62504
  };
62192
- /** ReturnDocumentSourceLineSerialSchema */
62193
- ReturnDocumentSourceLineSerialSchema: {
62505
+ /** InventoryMovementSourceLineSerialSchema */
62506
+ InventoryMovementSourceLineSerialSchema: {
62194
62507
  /**
62195
62508
  * Id
62196
62509
  * Format: uuid
62197
62510
  */
62198
62511
  id: string;
62199
- /** Number */
62512
+ /**
62513
+ * Number
62514
+ * @description Serial number available for selection on the source line.
62515
+ */
62200
62516
  number: string;
62201
62517
  };
62202
- /** ReturnDocumentSourceLinesSchema */
62203
- ReturnDocumentSourceLinesSchema: {
62204
- party?: components["schemas"]["ReturnDocumentSourcePartySchema"] | null;
62518
+ /** InventoryMovementSourceLinesSchema */
62519
+ InventoryMovementSourceLinesSchema: {
62520
+ /** @description Party information derived from the selected source document. */
62521
+ party?: components["schemas"]["InventoryMovementSourcePartySchema"] | null;
62205
62522
  /**
62206
62523
  * Lines
62207
- * @default []
62524
+ * @description Eligible source lines for the selected source document.
62208
62525
  */
62209
- lines: components["schemas"]["ReturnDocumentSourceLineSchema"][];
62526
+ lines: components["schemas"]["InventoryMovementSourceLineSchema"][];
62210
62527
  };
62211
- /** ReturnDocumentSourcePartyCustomerSchema */
62212
- ReturnDocumentSourcePartyCustomerSchema: {
62528
+ /** InventoryMovementSourcePartySchema */
62529
+ InventoryMovementSourcePartySchema: {
62530
+ /** @description Party type derived from the source document. */
62531
+ partyType: components["schemas"]["PartyTypeEnum"];
62532
+ /** @description Customer party for sales return source documents. */
62533
+ customer?: components["schemas"]["InventoryMovementSourcePartySummarySchema"] | null;
62534
+ /** @description Supplier party for purchase return source documents. */
62535
+ supplier?: components["schemas"]["InventoryMovementSourcePartySummarySchema"] | null;
62536
+ };
62537
+ /** InventoryMovementSourcePartySummarySchema */
62538
+ InventoryMovementSourcePartySummarySchema: {
62213
62539
  /**
62214
62540
  * Id
62215
62541
  * Format: uuid
@@ -62218,11 +62544,20 @@ export interface components {
62218
62544
  /** Name */
62219
62545
  name: string;
62220
62546
  };
62221
- /** ReturnDocumentSourcePartySchema */
62222
- ReturnDocumentSourcePartySchema: {
62223
- partyType: components["schemas"]["PartyTypeEnum"];
62224
- customer?: components["schemas"]["ReturnDocumentSourcePartyCustomerSchema"] | null;
62225
- supplier?: components["schemas"]["ReturnDocumentSourcePartyCustomerSchema"] | null;
62547
+ /** UpdateShipmentStatusSchema */
62548
+ UpdateShipmentStatusSchema: {
62549
+ /**
62550
+ * Password
62551
+ * @description Required when transaction locking is enabled.
62552
+ */
62553
+ password?: string | null;
62554
+ /**
62555
+ * @description - readyForPickup: The goods are prepared and ready for pickup.
62556
+ * - shipped: The goods have been shipped to the customer.
62557
+ * - delivered: The goods have been delivered to the customer.
62558
+ * - Shipment status can only be delivered when document approval status is approved or not_required.
62559
+ */
62560
+ shipmentStatus: components["schemas"]["ShipmentStatusEnum"];
62226
62561
  };
62227
62562
  /** DefaultSubsidiaryAccountDetailSchema */
62228
62563
  DefaultSubsidiaryAccountDetailSchema: {
@@ -65107,12 +65442,12 @@ export interface components {
65107
65442
  * CombinedModelName
65108
65443
  * @enum {string}
65109
65444
  */
65110
- common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
65445
+ common__schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
65111
65446
  /**
65112
65447
  * CombinedModelName
65113
65448
  * @enum {string}
65114
65449
  */
65115
- common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
65450
+ common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
65116
65451
  /** TasksListSchema */
65117
65452
  TasksListSchema: {
65118
65453
  info: components["schemas"]["PageInfoSchema"];
@@ -73038,7 +73373,7 @@ export interface operations {
73038
73373
  common_views_get_model_names: {
73039
73374
  parameters: {
73040
73375
  query?: {
73041
- CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
73376
+ CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
73042
73377
  };
73043
73378
  header?: never;
73044
73379
  path?: never;
@@ -85048,7 +85383,7 @@ export interface operations {
85048
85383
  };
85049
85384
  header?: never;
85050
85385
  path: {
85051
- modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
85386
+ modelName: "item" | "customer" | "supplier" | "internalTransfer" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "transferRequest" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "task" | "event" | "onlineStoreSetting" | "onlineStorageSettings" | "branchSettings" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration";
85052
85387
  };
85053
85388
  cookie?: never;
85054
85389
  };
@@ -107577,14 +107912,16 @@ export interface operations {
107577
107912
  };
107578
107913
  };
107579
107914
  };
107580
- inventory_return_document_views_list_return_documents: {
107915
+ inventory_inventory_movement_views_list_inventory_movements: {
107581
107916
  parameters: {
107582
107917
  query?: {
107583
107918
  /** @description Page number */
107584
107919
  page?: number;
107585
107920
  /** @description Page size */
107586
107921
  pageSize?: number;
107587
- documentType?: components["schemas"]["ReturnDocumentTypeEnum"] | null;
107922
+ movementType?: components["schemas"]["MovementTypeEnum"] | null;
107923
+ /** @description Comma-separated movement types when listing multiple (e.g. salesReturn,purchaseReturn). */
107924
+ movementTypes?: string | null;
107588
107925
  status?: string | null;
107589
107926
  warehouse?: string | null;
107590
107927
  customer?: string | null;
@@ -107614,7 +107951,7 @@ export interface operations {
107614
107951
  [name: string]: unknown;
107615
107952
  };
107616
107953
  content: {
107617
- "application/json": components["schemas"]["ReturnDocumentListSchema"];
107954
+ "application/json": components["schemas"]["InventoryMovementListSchema"];
107618
107955
  };
107619
107956
  };
107620
107957
  /** @description Bad Request */
@@ -107637,7 +107974,7 @@ export interface operations {
107637
107974
  };
107638
107975
  };
107639
107976
  };
107640
- inventory_return_document_views_create_return_document: {
107977
+ inventory_inventory_movement_views_create_inventory_movement: {
107641
107978
  parameters: {
107642
107979
  query?: never;
107643
107980
  header?: never;
@@ -107646,7 +107983,7 @@ export interface operations {
107646
107983
  };
107647
107984
  requestBody: {
107648
107985
  content: {
107649
- "application/json": components["schemas"]["CreateOrUpdateReturnDocumentSchema"];
107986
+ "application/json": components["schemas"]["CreateOrUpdateInventoryMovementSchema"];
107650
107987
  };
107651
107988
  };
107652
107989
  responses: {
@@ -107656,7 +107993,7 @@ export interface operations {
107656
107993
  [name: string]: unknown;
107657
107994
  };
107658
107995
  content: {
107659
- "application/json": components["schemas"]["ReturnDocumentSchema"];
107996
+ "application/json": components["schemas"]["InventoryMovementSchema"];
107660
107997
  };
107661
107998
  };
107662
107999
  /** @description Bad Request */
@@ -107688,11 +108025,11 @@ export interface operations {
107688
108025
  };
107689
108026
  };
107690
108027
  };
107691
- inventory_return_document_views_get_return_document_source_lines: {
108028
+ inventory_inventory_movement_views_get_inventory_movement_source_lines: {
107692
108029
  parameters: {
107693
108030
  query: {
107694
108031
  /** @description Derived from settings: returnInvoice/returnOrder for sales, purchaseReturn/purchaseReturnOrder for purchase. */
107695
- sourceDocumentType: "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
108032
+ sourceDocumentType: "salesOrder" | "salesInvoice" | "purchaseOrder" | "purchaseInvoice" | "returnInvoice" | "returnOrder" | "purchaseReturn" | "purchaseReturnOrder";
107696
108033
  sourceDocumentId: string;
107697
108034
  /** @description Pass when editing an existing return document to exclude already processed quantities. */
107698
108035
  returnDocumentId?: string | null;
@@ -107709,7 +108046,7 @@ export interface operations {
107709
108046
  [name: string]: unknown;
107710
108047
  };
107711
108048
  content: {
107712
- "application/json": components["schemas"]["ReturnDocumentSourceLinesSchema"];
108049
+ "application/json": components["schemas"]["InventoryMovementSourceLinesSchema"];
107713
108050
  };
107714
108051
  };
107715
108052
  /** @description Forbidden */
@@ -107732,7 +108069,7 @@ export interface operations {
107732
108069
  };
107733
108070
  };
107734
108071
  };
107735
- inventory_return_document_views_get_return_document: {
108072
+ inventory_inventory_movement_views_get_inventory_movement: {
107736
108073
  parameters: {
107737
108074
  query?: never;
107738
108075
  header?: never;
@@ -107749,7 +108086,7 @@ export interface operations {
107749
108086
  [name: string]: unknown;
107750
108087
  };
107751
108088
  content: {
107752
- "application/json": components["schemas"]["ReturnDocumentSchema"];
108089
+ "application/json": components["schemas"]["InventoryMovementSchema"];
107753
108090
  };
107754
108091
  };
107755
108092
  /** @description Forbidden */
@@ -107772,7 +108109,7 @@ export interface operations {
107772
108109
  };
107773
108110
  };
107774
108111
  };
107775
- inventory_return_document_views_update_return_document: {
108112
+ inventory_inventory_movement_views_update_inventory_movement: {
107776
108113
  parameters: {
107777
108114
  query?: never;
107778
108115
  header?: never;
@@ -107783,7 +108120,7 @@ export interface operations {
107783
108120
  };
107784
108121
  requestBody: {
107785
108122
  content: {
107786
- "application/json": components["schemas"]["CreateOrUpdateReturnDocumentSchema"];
108123
+ "application/json": components["schemas"]["CreateOrUpdateInventoryMovementSchema"];
107787
108124
  };
107788
108125
  };
107789
108126
  responses: {
@@ -107793,7 +108130,7 @@ export interface operations {
107793
108130
  [name: string]: unknown;
107794
108131
  };
107795
108132
  content: {
107796
- "application/json": components["schemas"]["ReturnDocumentSchema"];
108133
+ "application/json": components["schemas"]["InventoryMovementSchema"];
107797
108134
  };
107798
108135
  };
107799
108136
  /** @description Bad Request */
@@ -107825,7 +108162,7 @@ export interface operations {
107825
108162
  };
107826
108163
  };
107827
108164
  };
107828
- inventory_return_document_views_cancel_return_document: {
108165
+ inventory_inventory_movement_views_cancel_inventory_movement: {
107829
108166
  parameters: {
107830
108167
  query?: never;
107831
108168
  header?: never;
@@ -107846,7 +108183,7 @@ export interface operations {
107846
108183
  [name: string]: unknown;
107847
108184
  };
107848
108185
  content: {
107849
- "application/json": components["schemas"]["ReturnDocumentSchema"];
108186
+ "application/json": components["schemas"]["InventoryMovementSchema"];
107850
108187
  };
107851
108188
  };
107852
108189
  /** @description Bad Request */
@@ -107878,7 +108215,7 @@ export interface operations {
107878
108215
  };
107879
108216
  };
107880
108217
  };
107881
- inventory_return_document_views_delete_return_document: {
108218
+ inventory_inventory_movement_views_delete_inventory_movement: {
107882
108219
  parameters: {
107883
108220
  query?: never;
107884
108221
  header?: never;
@@ -107929,7 +108266,7 @@ export interface operations {
107929
108266
  };
107930
108267
  };
107931
108268
  };
107932
- inventory_return_document_views_reset_return_document_to_draft: {
108269
+ inventory_inventory_movement_views_reset_inventory_movement_to_draft: {
107933
108270
  parameters: {
107934
108271
  query?: never;
107935
108272
  header?: never;
@@ -107950,7 +108287,60 @@ export interface operations {
107950
108287
  [name: string]: unknown;
107951
108288
  };
107952
108289
  content: {
107953
- "application/json": components["schemas"]["ReturnDocumentSchema"];
108290
+ "application/json": components["schemas"]["InventoryMovementSchema"];
108291
+ };
108292
+ };
108293
+ /** @description Bad Request */
108294
+ 400: {
108295
+ headers: {
108296
+ [name: string]: unknown;
108297
+ };
108298
+ content: {
108299
+ "application/json": components["schemas"]["ErrorMessages"];
108300
+ };
108301
+ };
108302
+ /** @description Forbidden */
108303
+ 403: {
108304
+ headers: {
108305
+ [name: string]: unknown;
108306
+ };
108307
+ content: {
108308
+ "application/json": components["schemas"]["MessageWithCode"];
108309
+ };
108310
+ };
108311
+ /** @description Not Found */
108312
+ 404: {
108313
+ headers: {
108314
+ [name: string]: unknown;
108315
+ };
108316
+ content: {
108317
+ "application/json": components["schemas"]["MessageWithCode"];
108318
+ };
108319
+ };
108320
+ };
108321
+ };
108322
+ inventory_inventory_movement_views_update_shipment_status: {
108323
+ parameters: {
108324
+ query?: never;
108325
+ header?: never;
108326
+ path: {
108327
+ id: string;
108328
+ };
108329
+ cookie?: never;
108330
+ };
108331
+ requestBody: {
108332
+ content: {
108333
+ "application/json": components["schemas"]["UpdateShipmentStatusSchema"];
108334
+ };
108335
+ };
108336
+ responses: {
108337
+ /** @description OK */
108338
+ 200: {
108339
+ headers: {
108340
+ [name: string]: unknown;
108341
+ };
108342
+ content: {
108343
+ "application/json": components["schemas"]["InventoryMovementSchema"];
107954
108344
  };
107955
108345
  };
107956
108346
  /** @description Bad Request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2053",
3
+ "version": "1.0.2055",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [