@erp-galoper/types 1.0.1159 → 1.0.1161

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 +1176 -229
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4894,6 +4894,269 @@ export interface paths {
4894
4894
  patch?: never;
4895
4895
  trace?: never;
4896
4896
  };
4897
+ "/api/v1/inventory/transfer-requests/": {
4898
+ parameters: {
4899
+ query?: never;
4900
+ header?: never;
4901
+ path?: never;
4902
+ cookie?: never;
4903
+ };
4904
+ /**
4905
+ * List Transfer Request
4906
+ * @description Endpoint for List transfer requests
4907
+ * - 200:
4908
+ * - success
4909
+ * - 400:
4910
+ * - invalidFilterFormat
4911
+ * - paginationError
4912
+ * - startDateAndEndDateAreRequiredForCustomPeriodType
4913
+ * - startDateShouldBeGreaterThanEndDate
4914
+ * - 403:
4915
+ * - permissionDenied
4916
+ * - noModuleAccess
4917
+ * -500:
4918
+ * - internalServerError
4919
+ * - Permission key:
4920
+ * - transferrequest : [ view ]
4921
+ */
4922
+ get: operations["inventory_transfer_request_views_list_transfer_request"];
4923
+ put?: never;
4924
+ /**
4925
+ * New Transfer Request
4926
+ * @description Endpoint for new transfer request
4927
+ * Possible Responses:
4928
+ * - 201:
4929
+ * - transferRequestCreated
4930
+ * - 400:
4931
+ * - branchDoesNotExist
4932
+ * - destinationWarehouseShouldBelongsToUserCurrentBranch
4933
+ * - sourceWarehouseShouldBeDifferentThanDestination
4934
+ * - requestReasonShouldBeLinkedToTransferRequest
4935
+ * - itemWithUnitOfMeasureMustBeUnique
4936
+ * - 403:
4937
+ * - permissionDenied
4938
+ * - noBranchAccess
4939
+ * - noModuleAccess
4940
+ * - noWarehouseAccess
4941
+ * - cantMakeActionOnLockedDocument
4942
+ * - 500:
4943
+ * - internalServerError
4944
+ *
4945
+ * - Permission key :
4946
+ * - transferrequest : [ add ]
4947
+ */
4948
+ post: operations["inventory_transfer_request_views_new_transfer_request"];
4949
+ delete?: never;
4950
+ options?: never;
4951
+ head?: never;
4952
+ patch?: never;
4953
+ trace?: never;
4954
+ };
4955
+ "/api/v1/inventory/transfer-requests/{id}/": {
4956
+ parameters: {
4957
+ query?: never;
4958
+ header?: never;
4959
+ path?: never;
4960
+ cookie?: never;
4961
+ };
4962
+ /**
4963
+ * Get Transfer Request
4964
+ * @description Endpoint for retrieve transfer request
4965
+ * Possible Responses:
4966
+ * - 200:
4967
+ * - success
4968
+ * - 404:
4969
+ * - transferRequestDoesNotExist
4970
+ * - 400:
4971
+ * - branchDoesNotExist
4972
+ * - 403:
4973
+ * - permissionDenied
4974
+ * - noBranchAccess
4975
+ * - noModuleAccess
4976
+ * - 500:
4977
+ * - internalServerError
4978
+ * - Permission key:
4979
+ * - transferrequest : [ view ]
4980
+ *
4981
+ * -Note : transfer requests are visible to users that created the request or source warehouse is in user's assigned warehouses
4982
+ */
4983
+ get: operations["inventory_transfer_request_views_get_transfer_request"];
4984
+ /**
4985
+ * Update Transfer Request
4986
+ * @description Endpoint for update transfer request
4987
+ * Possible Responses:
4988
+ * - 200:
4989
+ * - transferRequestUpdated
4990
+ * - 400:
4991
+ * - branchDoesNotExist
4992
+ * - destinationWarehouseShouldBelongsToUserCurrentBranch
4993
+ * - sourceWarehouseShouldBeDifferentThanDestination
4994
+ * - requestReasonShouldBeLinkedToTransferRequest
4995
+ * - itemWithUnitOfMeasureMustBeUnique
4996
+ * - 403:
4997
+ * - permissionDenied
4998
+ * - noBranchAccess
4999
+ * - noModuleAccess
5000
+ * - cantMakeActionOnLockedDocument
5001
+ * - noWarehouseAccess
5002
+ * - transferRequestShouldBeDraft
5003
+ * - 404 :
5004
+ * - transferRequestDoesNotExist
5005
+ * - 500:
5006
+ * - internalServerError
5007
+ *
5008
+ * - Permission key :
5009
+ * - transferrequest : [ change ]
5010
+ */
5011
+ put: operations["inventory_transfer_request_views_update_transfer_request"];
5012
+ post?: never;
5013
+ /**
5014
+ * Delete Transfer Request
5015
+ * @description Endpoint for deleting a transfer request
5016
+ * Responses:
5017
+ * - 204:
5018
+ * - None
5019
+ * - 403:
5020
+ * - permissionDenied
5021
+ * - noModuleAccess
5022
+ * - noBranchAccess
5023
+ * - transferRequestCannotBeDeleted
5024
+ * - 404:
5025
+ * - transferRequestDoesNotExist
5026
+ * - 500:
5027
+ * - internalServerError
5028
+ *
5029
+ * Permission key:
5030
+ * - transferrequest = ['delete']
5031
+ *
5032
+ * -Note : only users that destination warehouse in their assigned warehouses can delete the document
5033
+ */
5034
+ delete: operations["inventory_transfer_request_views_delete_transfer_request"];
5035
+ options?: never;
5036
+ head?: never;
5037
+ patch?: never;
5038
+ trace?: never;
5039
+ };
5040
+ "/api/v1/inventory/transfer-requests/{id}/reset-to-draft/": {
5041
+ parameters: {
5042
+ query?: never;
5043
+ header?: never;
5044
+ path?: never;
5045
+ cookie?: never;
5046
+ };
5047
+ get?: never;
5048
+ put?: never;
5049
+ /**
5050
+ * Reset Transfer Request To Draft
5051
+ * @description Endpoint for resetting a transfer request to draft
5052
+ * Responses:
5053
+ * - 200:
5054
+ * - transferRequestSchema
5055
+ * - 403:
5056
+ * - permissionDenied
5057
+ * - noModuleAccess
5058
+ * - transferRequestIsAlreadyDraft
5059
+ * - noBranchAccess
5060
+ * - transferRequestIsCanceled
5061
+ *
5062
+ * - 404:
5063
+ * - transferRequestDoesNotExist
5064
+ * - 500:
5065
+ * - internalServerError
5066
+ *
5067
+ * permission key:
5068
+ * - transferrequest : ['resettodraft']
5069
+ *
5070
+ * -Note : only users that destination warehouse in their assigned warehouses can reset to draft the document
5071
+ */
5072
+ post: operations["inventory_transfer_request_views_reset_transfer_request_to_draft"];
5073
+ delete?: never;
5074
+ options?: never;
5075
+ head?: never;
5076
+ patch?: never;
5077
+ trace?: never;
5078
+ };
5079
+ "/api/v1/inventory/transfer-requests/{id}/cancel/": {
5080
+ parameters: {
5081
+ query?: never;
5082
+ header?: never;
5083
+ path?: never;
5084
+ cookie?: never;
5085
+ };
5086
+ get?: never;
5087
+ put?: never;
5088
+ /**
5089
+ * Cancel Transfer Request
5090
+ * @description Endpoint for cancelling a transfer request
5091
+ * Responses:
5092
+ * - 200:
5093
+ * - transferRequestSchema
5094
+ * - 403:
5095
+ * - permissionDenied
5096
+ * - noModuleAccess
5097
+ * - noBranchAccess
5098
+ * - transferRequestIsAlreadyCanceled
5099
+ *
5100
+ * - 404:
5101
+ * - transferRequestDoesNotExist
5102
+ * - 500:
5103
+ * - internalServerError
5104
+ *
5105
+ * Permission key:
5106
+ * - transferrequest = ['cancel']
5107
+ *
5108
+ * -Note : only users that destination warehouse in their assigned warehouses can cancel the document
5109
+ */
5110
+ post: operations["inventory_transfer_request_views_cancel_transfer_request"];
5111
+ delete?: never;
5112
+ options?: never;
5113
+ head?: never;
5114
+ patch?: never;
5115
+ trace?: never;
5116
+ };
5117
+ "/api/v1/inventory/transfer-requests/{id}/respond/": {
5118
+ parameters: {
5119
+ query?: never;
5120
+ header?: never;
5121
+ path?: never;
5122
+ cookie?: never;
5123
+ };
5124
+ get?: never;
5125
+ put?: never;
5126
+ /**
5127
+ * Respond Transfer Request
5128
+ * @description Endpoint for respond a transfer request
5129
+ * Responses:
5130
+ * - 200:
5131
+ * - transferRequestSchema
5132
+ * - 403:
5133
+ * - permissionDenied
5134
+ * - noModuleAccess
5135
+ * - noBranchAccess
5136
+ * - transferRequestIsAlreadyAccepted
5137
+ * - 404:
5138
+ * - transferRequestDoesNotExist
5139
+ * - 400:
5140
+ * - transferRequestShouldBeCompleted
5141
+ * - rejectionReasonIsRequired
5142
+ * - rejectionReasonShouldBeLinkedToTransferRequest
5143
+ * - 500:
5144
+ * - internalServerError
5145
+ *
5146
+ * Permission key:
5147
+ * - transferrequest = ['respond']
5148
+ *
5149
+ * -Note :
5150
+ * - only users that source warehouse in their assigned warehouses can respond to document
5151
+ * - document should be completed to allow respond action
5152
+ */
5153
+ post: operations["inventory_transfer_request_views_respond_transfer_request"];
5154
+ delete?: never;
5155
+ options?: never;
5156
+ head?: never;
5157
+ patch?: never;
5158
+ trace?: never;
5159
+ };
4897
5160
  "/api/v1/customers/export/": {
4898
5161
  parameters: {
4899
5162
  query?: never;
@@ -19497,11 +19760,10 @@ export interface paths {
19497
19760
  };
19498
19761
  /**
19499
19762
  * Get Online Store Setting
19500
- * @description Endpoint for retrieving online store settings
19763
+ * @description Endpoint for retrieving or creating online store settings (Get or Create pattern)
19501
19764
  * Possible Responses:
19502
- * - 200: success
19765
+ * - 200: onlineStoreSettingRetrieved (if already exists)
19503
19766
  * - 403: permissionDenied
19504
- * - 404: settingDoesNotExist
19505
19767
  *
19506
19768
  * permission key: onlinestoresetting: ["view"]
19507
19769
  */
@@ -19512,6 +19774,7 @@ export interface paths {
19512
19774
  * Possible Responses:
19513
19775
  * - 200: onlineStoreSettingUpdated
19514
19776
  * - 400: validationFailed
19777
+ * - platformRequired
19515
19778
  * - defaultWarehouseDoesNotExist
19516
19779
  * - defaultTaxDoesNotExist
19517
19780
  * - defaultCurrencyDoesNotExist
@@ -19521,19 +19784,7 @@ export interface paths {
19521
19784
  * permission key: onlinestoresetting: ["change"]
19522
19785
  */
19523
19786
  put: operations["integration_settings_views_update_online_store_setting"];
19524
- /**
19525
- * Create Online Store Setting
19526
- * @description Endpoint for creating online store settings
19527
- * Possible Responses:
19528
- * - 201: onlineStoreSettingCreated
19529
- * - defaultWarehouseDoesNotExist
19530
- * - defaultTaxDoesNotExist
19531
- * - defaultCurrencyDoesNotExist
19532
- * - 400: settingAlreadyExists, validationFailed
19533
- *
19534
- * permission key: onlinestoresetting: ["add"]
19535
- */
19536
- post: operations["integration_settings_views_create_online_store_setting"];
19787
+ post?: never;
19537
19788
  delete?: never;
19538
19789
  options?: never;
19539
19790
  head?: never;
@@ -20099,6 +20350,11 @@ export interface components {
20099
20350
  * @default []
20100
20351
  */
20101
20352
  project: components["schemas"]["BasePermissionsSchema_Project"];
20353
+ /**
20354
+ * @description online_store actions
20355
+ * @default []
20356
+ */
20357
+ online_store: components["schemas"]["BasePermissionsSchema_Online_store"];
20102
20358
  /**
20103
20359
  * @description task actions
20104
20360
  * @default []
@@ -20127,18 +20383,6 @@ export interface components {
20127
20383
  * @default []
20128
20384
  */
20129
20385
  approval: Record<string, never>;
20130
- /**
20131
- * Shopify
20132
- * @description shopify actions
20133
- * @default []
20134
- */
20135
- shopify: Record<string, never>;
20136
- /**
20137
- * Woocommerce
20138
- * @description wooCommerce actions
20139
- * @default []
20140
- */
20141
- wooCommerce: Record<string, never>;
20142
20386
  /**
20143
20387
  * Email
20144
20388
  * @description email actions
@@ -20372,6 +20616,12 @@ export interface components {
20372
20616
  * @default []
20373
20617
  */
20374
20618
  internaltransfer: components["schemas"]["BasePermissionsSchema_Inventory_InternaltransferEnum"][];
20619
+ /**
20620
+ * Transferrequest
20621
+ * @description transferrequest actions
20622
+ * @default []
20623
+ */
20624
+ transferrequest: components["schemas"]["BasePermissionsSchema_Inventory_TransferrequestEnum"][];
20375
20625
  /**
20376
20626
  * Warehouse
20377
20627
  * @description warehouse actions
@@ -20434,11 +20684,30 @@ export interface components {
20434
20684
  * @enum {string}
20435
20685
  */
20436
20686
  BasePermissionsSchema_Inventory_StockadjustmentEnum: "add" | "approve" | "change" | "delete" | "resettodraft" | "view";
20687
+ /**
20688
+ * BasePermissionsSchema_Inventory_TransferrequestEnum
20689
+ * @enum {string}
20690
+ */
20691
+ BasePermissionsSchema_Inventory_TransferrequestEnum: "add" | "cancel" | "change" | "delete" | "resettodraft" | "respond" | "view";
20437
20692
  /**
20438
20693
  * BasePermissionsSchema_Inventory_WarehouseEnum
20439
20694
  * @enum {string}
20440
20695
  */
20441
20696
  BasePermissionsSchema_Inventory_WarehouseEnum: "add" | "change" | "delete" | "view";
20697
+ /** BasePermissionsSchema_Online_store */
20698
+ BasePermissionsSchema_Online_store: {
20699
+ /**
20700
+ * Syncstore
20701
+ * @description syncstore actions
20702
+ * @default []
20703
+ */
20704
+ syncstore: components["schemas"]["BasePermissionsSchema_Online_store_SyncstoreEnum"][];
20705
+ };
20706
+ /**
20707
+ * BasePermissionsSchema_Online_store_SyncstoreEnum
20708
+ * @enum {string}
20709
+ */
20710
+ BasePermissionsSchema_Online_store_SyncstoreEnum: "add" | "change" | "delete" | "view";
20442
20711
  /** BasePermissionsSchema_Pos */
20443
20712
  BasePermissionsSchema_Pos: {
20444
20713
  /**
@@ -21171,24 +21440,18 @@ export interface components {
21171
21440
  * @default []
21172
21441
  */
21173
21442
  task: Record<string, never>;
21174
- /**
21175
- * Shopify
21176
- * @description shopify actions
21177
- * @default []
21178
- */
21179
- shopify: Record<string, never>;
21180
- /**
21181
- * Woocommerce
21182
- * @description wooCommerce actions
21183
- * @default []
21184
- */
21185
- wooCommerce: Record<string, never>;
21186
21443
  /**
21187
21444
  * Email
21188
21445
  * @description email actions
21189
21446
  * @default []
21190
21447
  */
21191
21448
  email: Record<string, never>;
21449
+ /**
21450
+ * Online Store
21451
+ * @description online_store actions
21452
+ * @default []
21453
+ */
21454
+ online_store: Record<string, never>;
21192
21455
  };
21193
21456
  /** BasePermissionsSchema_Settings_Accounting */
21194
21457
  BasePermissionsSchema_Settings_Accounting: {
@@ -22678,6 +22941,13 @@ export interface components {
22678
22941
  * @default []
22679
22942
  */
22680
22943
  quantities: components["schemas"]["QuantityGroupSchema"][] | null;
22944
+ /**
22945
+ * Supplierpurchasedprices
22946
+ * @default []
22947
+ */
22948
+ supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
22949
+ /** Lastpurchasedprice */
22950
+ lastPurchasedPrice: number | string | null;
22681
22951
  };
22682
22952
  /** ItemSchema */
22683
22953
  ItemSchema: {
@@ -23226,6 +23496,22 @@ export interface components {
23226
23496
  /** Description */
23227
23497
  description: string;
23228
23498
  };
23499
+ /** SupplierPurchasedPricesSchema */
23500
+ SupplierPurchasedPricesSchema: {
23501
+ /** Quantity */
23502
+ quantity: number;
23503
+ /** Unitprice */
23504
+ unitPrice: number | string;
23505
+ /** Discount */
23506
+ discount: number | string | null;
23507
+ /**
23508
+ * Taxes
23509
+ * @default []
23510
+ */
23511
+ taxes: components["schemas"]["TaxSharedSchema"][];
23512
+ /** Total */
23513
+ total: number | string | null;
23514
+ };
23229
23515
  /** TagSchema */
23230
23516
  TagSchema: {
23231
23517
  /** Id */
@@ -23244,6 +23530,17 @@ export interface components {
23244
23530
  /** Type */
23245
23531
  type: components["schemas"]["TaxTypes"][];
23246
23532
  };
23533
+ /** TaxSharedSchema */
23534
+ TaxSharedSchema: {
23535
+ /** Id */
23536
+ id: number;
23537
+ /** Name */
23538
+ name: string;
23539
+ /** Type */
23540
+ type: components["schemas"]["TaxTypes"][];
23541
+ /** Ratepercentage */
23542
+ ratePercentage: number;
23543
+ };
23247
23544
  /**
23248
23545
  * TaxTypes
23249
23546
  * @enum {string}
@@ -23299,6 +23596,13 @@ export interface components {
23299
23596
  * @default []
23300
23597
  */
23301
23598
  prices: components["schemas"]["PricesFromPriceListSchema"][];
23599
+ /**
23600
+ * Supplierpurchasedprices
23601
+ * @default []
23602
+ */
23603
+ supplierPurchasedPrices: components["schemas"]["SupplierPurchasedPricesSchema"][];
23604
+ /** Lastpurchasedprice */
23605
+ lastPurchasedPrice: number | string | null;
23302
23606
  };
23303
23607
  /** VariantOfSchema */
23304
23608
  VariantOfSchema: {
@@ -25497,7 +25801,7 @@ export interface components {
25497
25801
  * FileType
25498
25802
  * @enum {string}
25499
25803
  */
25500
- FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue";
25804
+ FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest";
25501
25805
  /** currencyCodeOut */
25502
25806
  currencyCodeOut: {
25503
25807
  /** Currencycode */
@@ -25867,10 +26171,11 @@ export interface components {
25867
26171
  report: boolean;
25868
26172
  /** Commission */
25869
26173
  commission: boolean;
25870
- /** Shopify */
25871
- shopify: boolean;
25872
- /** Woocommerce */
25873
- wooCommerce: boolean;
26174
+ /**
26175
+ * Onlinestore
26176
+ * @default false
26177
+ */
26178
+ onlineStore: boolean;
25874
26179
  /** Email */
25875
26180
  email: boolean;
25876
26181
  /** Loadchartofaccount */
@@ -27909,6 +28214,268 @@ export interface components {
27909
28214
  */
27910
28215
  details: components["schemas"]["UpdateInternalTransferItemSchema"][];
27911
28216
  };
28217
+ /**
28218
+ * DocumentLifeCycleStatus
28219
+ * @enum {string}
28220
+ */
28221
+ DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
28222
+ /**
28223
+ * LinkedDocumentsSchema
28224
+ * @description Schema for individual linked documents.
28225
+ */
28226
+ LinkedDocumentsSchema: {
28227
+ /**
28228
+ * Id
28229
+ * Format: uuid
28230
+ */
28231
+ id: string;
28232
+ /** Serialnumber */
28233
+ serialNumber: string;
28234
+ /**
28235
+ * Date
28236
+ * Format: date
28237
+ */
28238
+ date: string;
28239
+ status: components["schemas"]["StatusChoices"];
28240
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
28241
+ /**
28242
+ * Total
28243
+ * @description This is a number
28244
+ */
28245
+ total?: string | null;
28246
+ /** Linkeddocuments */
28247
+ linkedDocuments?: {
28248
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
28249
+ }[];
28250
+ };
28251
+ /** ReasonSummaryInfo */
28252
+ ReasonSummaryInfo: {
28253
+ /** Id */
28254
+ id: number;
28255
+ /** Title */
28256
+ title: string;
28257
+ /** Description */
28258
+ description: string | null;
28259
+ };
28260
+ /**
28261
+ * SourceWarehouseResponseEnum
28262
+ * @enum {string}
28263
+ */
28264
+ SourceWarehouseResponseEnum: "accepted" | "rejected";
28265
+ /** TransferRequestDetailWithItemsSchema */
28266
+ TransferRequestDetailWithItemsSchema: {
28267
+ /**
28268
+ * Datecreated
28269
+ * Format: date-time
28270
+ */
28271
+ dateCreated: string;
28272
+ /** Datemodified */
28273
+ dateModified: string | null;
28274
+ createdBy: components["schemas"]["RecordUserSchema"];
28275
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
28276
+ /**
28277
+ * Id
28278
+ * Format: uuid
28279
+ */
28280
+ id: string;
28281
+ /** Serialnumber */
28282
+ serialNumber: string;
28283
+ branch: components["schemas"]["BranchSummaryInfo"];
28284
+ /**
28285
+ * Date
28286
+ * Format: date
28287
+ */
28288
+ date: string;
28289
+ status: components["schemas"]["DocumentLifeCycleStatus"];
28290
+ approvalStatus: components["schemas"]["ApprovalChoices"];
28291
+ /** Notes */
28292
+ notes: string | null;
28293
+ /** Description */
28294
+ description: string | null;
28295
+ /** Attachments */
28296
+ attachments: string[] | null;
28297
+ sourceWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28298
+ destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28299
+ sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
28300
+ rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
28301
+ /** Linkeddocuments */
28302
+ linkedDocuments?: {
28303
+ [key: string]: components["schemas"]["LinkedDocumentsSchema"];
28304
+ }[];
28305
+ /** Items */
28306
+ items: components["schemas"]["TransferRequestItemDetailSchema"][];
28307
+ };
28308
+ /** TransferRequestItemDetailSchema */
28309
+ TransferRequestItemDetailSchema: {
28310
+ /**
28311
+ * Id
28312
+ * Format: uuid
28313
+ */
28314
+ id: string;
28315
+ item: components["schemas"]["ItemMinimalSchema"];
28316
+ itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
28317
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
28318
+ /** Quantity */
28319
+ quantity: number;
28320
+ requestReason: components["schemas"]["ReasonSummaryInfo"];
28321
+ };
28322
+ /** TransferRequestResponseSchema */
28323
+ TransferRequestResponseSchema: {
28324
+ /** Message */
28325
+ message: string;
28326
+ /** Code */
28327
+ code: string;
28328
+ data: components["schemas"]["TransferRequestDetailWithItemsSchema"];
28329
+ };
28330
+ /** TransferRequestCreateUpdateSchema */
28331
+ TransferRequestCreateUpdateSchema: {
28332
+ /** Password */
28333
+ password?: string;
28334
+ /**
28335
+ * Date
28336
+ * Format: date
28337
+ * @description API Endpoints for Date Range Retrieval:
28338
+ * - Use the API: /api/v1/common/allowed_date_range/ where module is inventory
28339
+ * - Format: yyyy-mm-dd
28340
+ */
28341
+ date: string;
28342
+ /** Description */
28343
+ description?: string;
28344
+ /** Notes */
28345
+ notes?: string;
28346
+ /**
28347
+ * Attachments
28348
+ * @description When upload file the type in payload should be transferrequest
28349
+ * @default []
28350
+ */
28351
+ attachments: string[];
28352
+ status: components["schemas"]["InternalStatusChoices"];
28353
+ /**
28354
+ * Sourcewarehouse
28355
+ * @description API Endpoints for Warehouses:
28356
+ * - use route api/v1/inventory/warehouses/
28357
+ * - in edit transfer request -> if sourceWarehouseResponse field is not null then sourceWarehouse should be disabled
28358
+ */
28359
+ sourceWarehouse: number;
28360
+ /**
28361
+ * Destinationwarehouse
28362
+ * @description API Endpoints for Warehouses:
28363
+ * - use route api/v1/inventory/warehouses/ and filter by branch equals to {current-branch-id} and id equals to {user-assigned-warehouses-ids} and not equals to {source-warehouse-id}
28364
+ * - always disabled when edit transfer request
28365
+ */
28366
+ destinationWarehouse: number;
28367
+ /** Items */
28368
+ items: components["schemas"]["TransferRequestItemCreateUpdateSchema"][];
28369
+ };
28370
+ /** TransferRequestItemCreateUpdateSchema */
28371
+ TransferRequestItemCreateUpdateSchema: {
28372
+ /**
28373
+ * Id
28374
+ * Format: uuid
28375
+ * @description ID of the transfer request item (for update only)
28376
+ */
28377
+ id?: string;
28378
+ /**
28379
+ * Item
28380
+ * @description API Endpoints for Items:
28381
+ * - Use the API: /api/v1/inventory/items/ and filter by active equals to true, role not equals to template
28382
+ * - if selected option is only item, then item with unit of measure should be unique in the items list
28383
+ * - if selected option is item package, then item with related package and unit of measure should be unique in the items list
28384
+ */
28385
+ item: number;
28386
+ /**
28387
+ * Itempackage
28388
+ * Format: uuid
28389
+ * @description API Endpoints for Item Packages:
28390
+ * - Use the API: /api/v1/inventory/items/ and filter by active equals to true, role not equals to template. Then access field itemPackages
28391
+ * - if selected option is only item, then item with unit of measure should be unique in the items list
28392
+ * - if selected option is item package, then item with related package and unit of measure should be unique in the items list
28393
+ */
28394
+ itemPackage?: string;
28395
+ /**
28396
+ * Quantity
28397
+ * @default 1
28398
+ */
28399
+ quantity: number;
28400
+ /**
28401
+ * Unitofmeasure
28402
+ * @description - if selected field is item , retrieve unit of measures from field unitOfMeasures
28403
+ * - if selected field is itemPackage get unit of measure from itemPackages.unitOfMeasure and set it as read only
28404
+ */
28405
+ unitOfMeasure: number;
28406
+ /**
28407
+ * Requestreason
28408
+ * @description API Endpoints for Request Reasons:
28409
+ * - Use the API: /api/v1/common/reasons/ and filter by documentType equals to transferRequest
28410
+ */
28411
+ requestReason: number;
28412
+ };
28413
+ /**
28414
+ * ViewTransferRequestEnum
28415
+ * @enum {string}
28416
+ */
28417
+ ViewTransferRequestEnum: "myRequests" | "requestedFromMe" | "myWarehouses";
28418
+ /** TransferRequestDetailSchema */
28419
+ TransferRequestDetailSchema: {
28420
+ /**
28421
+ * Datecreated
28422
+ * Format: date-time
28423
+ */
28424
+ dateCreated: string;
28425
+ /** Datemodified */
28426
+ dateModified: string | null;
28427
+ createdBy: components["schemas"]["RecordUserSchema"];
28428
+ modifiedBy: components["schemas"]["RecordUserSchema"] | null;
28429
+ /**
28430
+ * Id
28431
+ * Format: uuid
28432
+ */
28433
+ id: string;
28434
+ /** Serialnumber */
28435
+ serialNumber: string;
28436
+ branch: components["schemas"]["BranchSummaryInfo"];
28437
+ /**
28438
+ * Date
28439
+ * Format: date
28440
+ */
28441
+ date: string;
28442
+ status: components["schemas"]["DocumentLifeCycleStatus"];
28443
+ approvalStatus: components["schemas"]["ApprovalChoices"];
28444
+ /** Notes */
28445
+ notes: string | null;
28446
+ /** Description */
28447
+ description: string | null;
28448
+ /** Attachments */
28449
+ attachments: string[] | null;
28450
+ sourceWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28451
+ destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28452
+ sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"] | null;
28453
+ rejectionReason: components["schemas"]["ReasonSummaryInfo"] | null;
28454
+ };
28455
+ /** TransferRequestListSchema */
28456
+ TransferRequestListSchema: {
28457
+ info: components["schemas"]["PageInfoSchema"];
28458
+ /** Results */
28459
+ results: components["schemas"]["TransferRequestDetailSchema"][];
28460
+ };
28461
+ /** TransferRequestActionsSchemas */
28462
+ TransferRequestActionsSchemas: {
28463
+ /** Password */
28464
+ password: string | null;
28465
+ };
28466
+ /** TransferRequestRespondSchema */
28467
+ TransferRequestRespondSchema: {
28468
+ /** Password */
28469
+ password: string | null;
28470
+ sourceWarehouseResponse: components["schemas"]["SourceWarehouseResponseEnum"];
28471
+ /**
28472
+ * Rejectionreason
28473
+ * @description API Endpoints for Rejection Reasons:
28474
+ * - Use the API: /api/v1/common/reasons/ and filter by documentType equals to transferRequest
28475
+ * - Required if sourceWarehouseResponse is rejected
28476
+ */
28477
+ rejectionReason?: number;
28478
+ };
27912
28479
  /**
27913
28480
  * CustomerDocumentTypeEnum
27914
28481
  * @enum {string}
@@ -34404,49 +34971,11 @@ export interface components {
34404
34971
  /** Name */
34405
34972
  name: string;
34406
34973
  };
34407
- /**
34408
- * LinkedDocumentsSchema
34409
- * @description Schema for individual linked documents.
34410
- */
34411
- LinkedDocumentsSchema: {
34412
- /**
34413
- * Id
34414
- * Format: uuid
34415
- */
34416
- id: string;
34417
- /** Serialnumber */
34418
- serialNumber: string;
34419
- /**
34420
- * Date
34421
- * Format: date
34422
- */
34423
- date: string;
34424
- status: components["schemas"]["StatusChoices"];
34425
- approvalStatus: components["schemas"]["ApprovalValueChoices"];
34426
- /**
34427
- * Total
34428
- * @description This is a number
34429
- */
34430
- total?: string | null;
34431
- /** Linkeddocuments */
34432
- linkedDocuments?: {
34433
- [key: string]: components["schemas"]["LinkedDocumentsSchema"];
34434
- }[];
34435
- };
34436
34974
  /**
34437
34975
  * NonInventoryItemType
34438
34976
  * @enum {string}
34439
34977
  */
34440
34978
  NonInventoryItemType: "goods" | "service" | "works";
34441
- /** ReasonSummaryInfo */
34442
- ReasonSummaryInfo: {
34443
- /** Id */
34444
- id: number;
34445
- /** Title */
34446
- title: string;
34447
- /** Description */
34448
- description: string | null;
34449
- };
34450
34979
  /** RequisitionResponse */
34451
34980
  RequisitionResponse: {
34452
34981
  /** Message */
@@ -35759,17 +36288,6 @@ export interface components {
35759
36288
  /** Serialnumber */
35760
36289
  serialNumber: string;
35761
36290
  };
35762
- /** TaxSharedSchema */
35763
- TaxSharedSchema: {
35764
- /** Id */
35765
- id: number;
35766
- /** Name */
35767
- name: string;
35768
- /** Type */
35769
- type: components["schemas"]["TaxTypes"][];
35770
- /** Ratepercentage */
35771
- ratePercentage: number;
35772
- };
35773
36291
  /** CreatePurchaseQuotationItemsSchema */
35774
36292
  CreatePurchaseQuotationItemsSchema: {
35775
36293
  /**
@@ -50375,7 +50893,7 @@ export interface components {
50375
50893
  * Format: uuid
50376
50894
  */
50377
50895
  id: string;
50378
- platform: components["schemas"]["PlatformSchema"];
50896
+ platform: components["schemas"]["PlatformSchema"] | null;
50379
50897
  /** Useonlineshop */
50380
50898
  useOnlineShop: boolean;
50381
50899
  /** Autosyncorders */
@@ -50398,11 +50916,8 @@ export interface components {
50398
50916
  PlatformSchema: "shopify" | "wooCommerce";
50399
50917
  /** OnlineStoreSettingCreateUpdateSchema */
50400
50918
  OnlineStoreSettingCreateUpdateSchema: {
50401
- /**
50402
- * @description E-commerce platform to integrate with
50403
- * @default shopify
50404
- */
50405
- platform: components["schemas"]["PlatformSchema"];
50919
+ /** @description E-commerce platform to integrate with, required when use_online_shop is true */
50920
+ platform?: components["schemas"]["PlatformSchema"] | null;
50406
50921
  /**
50407
50922
  * Useonlineshop
50408
50923
  * @description Enable/disable online shop integration
@@ -51881,7 +52396,6 @@ export interface operations {
51881
52396
  branchId?: number;
51882
52397
  /** @description search by item name ,short name, sku code or barcode */
51883
52398
  search?: string;
51884
- priceListId?: string;
51885
52399
  /** @description List of warehouse IDs to filter quantities by. If not provided, all warehouses will be included. */
51886
52400
  warehouses?: number[] | null;
51887
52401
  /** @description Include detailed quantity breakdown with warehouse information for each item and item package */
@@ -51894,6 +52408,8 @@ export interface operations {
51894
52408
  companyRate?: number | string;
51895
52409
  /** @description required when price list ids is provided and type is sales, rate is taken from document itself */
51896
52410
  secondaryRate?: number | string;
52411
+ /** @description required when you want to get items purchase prices from supplier price list */
52412
+ supplierId?: number;
51897
52413
  };
51898
52414
  header?: never;
51899
52415
  path?: never;
@@ -52083,6 +52599,8 @@ export interface operations {
52083
52599
  companyRate?: number | string;
52084
52600
  /** @description required when price list ids is provided and type is sales, rate is taken from document itself */
52085
52601
  secondaryRate?: number | string;
52602
+ /** @description required when you want to get item purchase prices from supplier price list */
52603
+ supplierId?: number;
52086
52604
  };
52087
52605
  header?: never;
52088
52606
  path: {
@@ -60628,7 +61146,403 @@ export interface operations {
60628
61146
  };
60629
61147
  };
60630
61148
  };
60631
- inventory_opening_stock_views_create_opening_quantity: {
61149
+ inventory_opening_stock_views_create_opening_quantity: {
61150
+ parameters: {
61151
+ query?: never;
61152
+ header?: never;
61153
+ path?: never;
61154
+ cookie?: never;
61155
+ };
61156
+ requestBody: {
61157
+ content: {
61158
+ "application/json": components["schemas"]["CreateOpeningQuantitySchema"];
61159
+ };
61160
+ };
61161
+ responses: {
61162
+ /** @description Created */
61163
+ 201: {
61164
+ headers: {
61165
+ [name: string]: unknown;
61166
+ };
61167
+ content: {
61168
+ "application/json": components["schemas"]["OpeningQuantitySchema"];
61169
+ };
61170
+ };
61171
+ /** @description Bad Request */
61172
+ 400: {
61173
+ headers: {
61174
+ [name: string]: unknown;
61175
+ };
61176
+ content: {
61177
+ "application/json": components["schemas"]["ErrorMessages"];
61178
+ };
61179
+ };
61180
+ /** @description Forbidden */
61181
+ 403: {
61182
+ headers: {
61183
+ [name: string]: unknown;
61184
+ };
61185
+ content: {
61186
+ "application/json": components["schemas"]["MessageWithCode"];
61187
+ };
61188
+ };
61189
+ /** @description Not Found */
61190
+ 404: {
61191
+ headers: {
61192
+ [name: string]: unknown;
61193
+ };
61194
+ content: {
61195
+ "application/json": components["schemas"]["MessageWithCode"];
61196
+ };
61197
+ };
61198
+ /** @description Internal Server Error */
61199
+ 500: {
61200
+ headers: {
61201
+ [name: string]: unknown;
61202
+ };
61203
+ content: {
61204
+ "application/json": components["schemas"]["MessageWithCode"];
61205
+ };
61206
+ };
61207
+ };
61208
+ };
61209
+ inventory_opening_stock_views_get_opening_quantity: {
61210
+ parameters: {
61211
+ query?: never;
61212
+ header?: never;
61213
+ path: {
61214
+ id: number;
61215
+ };
61216
+ cookie?: never;
61217
+ };
61218
+ requestBody?: never;
61219
+ responses: {
61220
+ /** @description OK */
61221
+ 200: {
61222
+ headers: {
61223
+ [name: string]: unknown;
61224
+ };
61225
+ content: {
61226
+ "application/json": components["schemas"]["OpeningQuantitySchema"];
61227
+ };
61228
+ };
61229
+ /** @description Forbidden */
61230
+ 403: {
61231
+ headers: {
61232
+ [name: string]: unknown;
61233
+ };
61234
+ content: {
61235
+ "application/json": components["schemas"]["MessageWithCode"];
61236
+ };
61237
+ };
61238
+ /** @description Not Found */
61239
+ 404: {
61240
+ headers: {
61241
+ [name: string]: unknown;
61242
+ };
61243
+ content: {
61244
+ "application/json": components["schemas"]["MessageWithCode"];
61245
+ };
61246
+ };
61247
+ /** @description Internal Server Error */
61248
+ 500: {
61249
+ headers: {
61250
+ [name: string]: unknown;
61251
+ };
61252
+ content: {
61253
+ "application/json": components["schemas"]["MessageWithCode"];
61254
+ };
61255
+ };
61256
+ };
61257
+ };
61258
+ inventory_opening_stock_views_update_opening_quantity: {
61259
+ parameters: {
61260
+ query?: never;
61261
+ header?: never;
61262
+ path: {
61263
+ id: number;
61264
+ };
61265
+ cookie?: never;
61266
+ };
61267
+ requestBody: {
61268
+ content: {
61269
+ "application/json": components["schemas"]["UpdateOpeningQuantitySchema"];
61270
+ };
61271
+ };
61272
+ responses: {
61273
+ /** @description OK */
61274
+ 200: {
61275
+ headers: {
61276
+ [name: string]: unknown;
61277
+ };
61278
+ content: {
61279
+ "application/json": components["schemas"]["OpeningQuantitySchema"];
61280
+ };
61281
+ };
61282
+ /** @description Bad Request */
61283
+ 400: {
61284
+ headers: {
61285
+ [name: string]: unknown;
61286
+ };
61287
+ content: {
61288
+ "application/json": components["schemas"]["ErrorMessages"];
61289
+ };
61290
+ };
61291
+ /** @description Forbidden */
61292
+ 403: {
61293
+ headers: {
61294
+ [name: string]: unknown;
61295
+ };
61296
+ content: {
61297
+ "application/json": components["schemas"]["MessageWithCode"];
61298
+ };
61299
+ };
61300
+ /** @description Not Found */
61301
+ 404: {
61302
+ headers: {
61303
+ [name: string]: unknown;
61304
+ };
61305
+ content: {
61306
+ "application/json": components["schemas"]["MessageWithCode"];
61307
+ };
61308
+ };
61309
+ /** @description Internal Server Error */
61310
+ 500: {
61311
+ headers: {
61312
+ [name: string]: unknown;
61313
+ };
61314
+ content: {
61315
+ "application/json": components["schemas"]["MessageWithCode"];
61316
+ };
61317
+ };
61318
+ };
61319
+ };
61320
+ inventory_opening_stock_views_delete_opening_quantity: {
61321
+ parameters: {
61322
+ query?: never;
61323
+ header?: never;
61324
+ path: {
61325
+ id: number;
61326
+ };
61327
+ cookie?: never;
61328
+ };
61329
+ requestBody?: never;
61330
+ responses: {
61331
+ /** @description No Content */
61332
+ 204: {
61333
+ headers: {
61334
+ [name: string]: unknown;
61335
+ };
61336
+ content?: never;
61337
+ };
61338
+ /** @description Forbidden */
61339
+ 403: {
61340
+ headers: {
61341
+ [name: string]: unknown;
61342
+ };
61343
+ content: {
61344
+ "application/json": components["schemas"]["MessageWithCode"];
61345
+ };
61346
+ };
61347
+ /** @description Not Found */
61348
+ 404: {
61349
+ headers: {
61350
+ [name: string]: unknown;
61351
+ };
61352
+ content: {
61353
+ "application/json": components["schemas"]["MessageWithCode"];
61354
+ };
61355
+ };
61356
+ /** @description Internal Server Error */
61357
+ 500: {
61358
+ headers: {
61359
+ [name: string]: unknown;
61360
+ };
61361
+ content: {
61362
+ "application/json": components["schemas"]["MessageWithCode"];
61363
+ };
61364
+ };
61365
+ };
61366
+ };
61367
+ inventory_opening_stock_views_reset_to_draft: {
61368
+ parameters: {
61369
+ query?: never;
61370
+ header?: never;
61371
+ path: {
61372
+ id: number;
61373
+ };
61374
+ cookie?: never;
61375
+ };
61376
+ requestBody?: never;
61377
+ responses: {
61378
+ /** @description OK */
61379
+ 200: {
61380
+ headers: {
61381
+ [name: string]: unknown;
61382
+ };
61383
+ content: {
61384
+ "application/json": components["schemas"]["OpeningQuantitySchema"];
61385
+ };
61386
+ };
61387
+ /** @description Bad Request */
61388
+ 400: {
61389
+ headers: {
61390
+ [name: string]: unknown;
61391
+ };
61392
+ content: {
61393
+ "application/json": components["schemas"]["MessageWithCode"];
61394
+ };
61395
+ };
61396
+ /** @description Forbidden */
61397
+ 403: {
61398
+ headers: {
61399
+ [name: string]: unknown;
61400
+ };
61401
+ content: {
61402
+ "application/json": components["schemas"]["MessageWithCode"];
61403
+ };
61404
+ };
61405
+ /** @description Not Found */
61406
+ 404: {
61407
+ headers: {
61408
+ [name: string]: unknown;
61409
+ };
61410
+ content: {
61411
+ "application/json": components["schemas"]["MessageWithCode"];
61412
+ };
61413
+ };
61414
+ /** @description Internal Server Error */
61415
+ 500: {
61416
+ headers: {
61417
+ [name: string]: unknown;
61418
+ };
61419
+ content: {
61420
+ "application/json": components["schemas"]["MessageWithCode"];
61421
+ };
61422
+ };
61423
+ };
61424
+ };
61425
+ inventory_transfer_views_reset_to_draft: {
61426
+ parameters: {
61427
+ query?: never;
61428
+ header?: never;
61429
+ path: {
61430
+ id: number;
61431
+ };
61432
+ cookie?: never;
61433
+ };
61434
+ requestBody?: never;
61435
+ responses: {
61436
+ /** @description OK */
61437
+ 200: {
61438
+ headers: {
61439
+ [name: string]: unknown;
61440
+ };
61441
+ content: {
61442
+ "application/json": components["schemas"]["InternalTransferSchema"];
61443
+ };
61444
+ };
61445
+ /** @description Bad Request */
61446
+ 400: {
61447
+ headers: {
61448
+ [name: string]: unknown;
61449
+ };
61450
+ content: {
61451
+ "application/json": components["schemas"]["MessageWithCode"];
61452
+ };
61453
+ };
61454
+ /** @description Forbidden */
61455
+ 403: {
61456
+ headers: {
61457
+ [name: string]: unknown;
61458
+ };
61459
+ content: {
61460
+ "application/json": components["schemas"]["MessageWithCode"];
61461
+ };
61462
+ };
61463
+ /** @description Not Found */
61464
+ 404: {
61465
+ headers: {
61466
+ [name: string]: unknown;
61467
+ };
61468
+ content: {
61469
+ "application/json": components["schemas"]["MessageWithCode"];
61470
+ };
61471
+ };
61472
+ /** @description Internal Server Error */
61473
+ 500: {
61474
+ headers: {
61475
+ [name: string]: unknown;
61476
+ };
61477
+ content: {
61478
+ "application/json": components["schemas"]["MessageWithCode"];
61479
+ };
61480
+ };
61481
+ };
61482
+ };
61483
+ inventory_transfer_views_list_internal_transfers: {
61484
+ parameters: {
61485
+ query?: {
61486
+ /** @description Page number */
61487
+ page?: number;
61488
+ /** @description Page size */
61489
+ pageSize?: number;
61490
+ search?: string | null;
61491
+ };
61492
+ header?: never;
61493
+ path?: never;
61494
+ cookie?: never;
61495
+ };
61496
+ requestBody?: never;
61497
+ responses: {
61498
+ /** @description OK */
61499
+ 200: {
61500
+ headers: {
61501
+ [name: string]: unknown;
61502
+ };
61503
+ content: {
61504
+ "application/json": components["schemas"]["InternalTransferHeaderListSchema"];
61505
+ };
61506
+ };
61507
+ /** @description Bad Request */
61508
+ 400: {
61509
+ headers: {
61510
+ [name: string]: unknown;
61511
+ };
61512
+ content: {
61513
+ "application/json": components["schemas"]["MessageWithCode"];
61514
+ };
61515
+ };
61516
+ /** @description Forbidden */
61517
+ 403: {
61518
+ headers: {
61519
+ [name: string]: unknown;
61520
+ };
61521
+ content: {
61522
+ "application/json": components["schemas"]["MessageWithCode"];
61523
+ };
61524
+ };
61525
+ /** @description Not Found */
61526
+ 404: {
61527
+ headers: {
61528
+ [name: string]: unknown;
61529
+ };
61530
+ content: {
61531
+ "application/json": components["schemas"]["MessageWithCode"];
61532
+ };
61533
+ };
61534
+ /** @description Internal Server Error */
61535
+ 500: {
61536
+ headers: {
61537
+ [name: string]: unknown;
61538
+ };
61539
+ content: {
61540
+ "application/json": components["schemas"]["MessageWithCode"];
61541
+ };
61542
+ };
61543
+ };
61544
+ };
61545
+ inventory_transfer_views_create_internal_transfer: {
60632
61546
  parameters: {
60633
61547
  query?: never;
60634
61548
  header?: never;
@@ -60637,7 +61551,7 @@ export interface operations {
60637
61551
  };
60638
61552
  requestBody: {
60639
61553
  content: {
60640
- "application/json": components["schemas"]["CreateOpeningQuantitySchema"];
61554
+ "application/json": components["schemas"]["CreateInternalTransferSchema"];
60641
61555
  };
60642
61556
  };
60643
61557
  responses: {
@@ -60647,7 +61561,7 @@ export interface operations {
60647
61561
  [name: string]: unknown;
60648
61562
  };
60649
61563
  content: {
60650
- "application/json": components["schemas"]["OpeningQuantitySchema"];
61564
+ "application/json": components["schemas"]["InternalTransferSchema"];
60651
61565
  };
60652
61566
  };
60653
61567
  /** @description Bad Request */
@@ -60688,7 +61602,7 @@ export interface operations {
60688
61602
  };
60689
61603
  };
60690
61604
  };
60691
- inventory_opening_stock_views_get_opening_quantity: {
61605
+ inventory_transfer_views_get_internal_transfer: {
60692
61606
  parameters: {
60693
61607
  query?: never;
60694
61608
  header?: never;
@@ -60705,7 +61619,7 @@ export interface operations {
60705
61619
  [name: string]: unknown;
60706
61620
  };
60707
61621
  content: {
60708
- "application/json": components["schemas"]["OpeningQuantitySchema"];
61622
+ "application/json": components["schemas"]["InternalTransferSchema"];
60709
61623
  };
60710
61624
  };
60711
61625
  /** @description Forbidden */
@@ -60737,7 +61651,7 @@ export interface operations {
60737
61651
  };
60738
61652
  };
60739
61653
  };
60740
- inventory_opening_stock_views_update_opening_quantity: {
61654
+ inventory_transfer_views_update_internal_transfer: {
60741
61655
  parameters: {
60742
61656
  query?: never;
60743
61657
  header?: never;
@@ -60748,7 +61662,7 @@ export interface operations {
60748
61662
  };
60749
61663
  requestBody: {
60750
61664
  content: {
60751
- "application/json": components["schemas"]["UpdateOpeningQuantitySchema"];
61665
+ "application/json": components["schemas"]["UpdateInternalTransferSchema"];
60752
61666
  };
60753
61667
  };
60754
61668
  responses: {
@@ -60758,7 +61672,7 @@ export interface operations {
60758
61672
  [name: string]: unknown;
60759
61673
  };
60760
61674
  content: {
60761
- "application/json": components["schemas"]["OpeningQuantitySchema"];
61675
+ "application/json": components["schemas"]["InternalTransferSchema"];
60762
61676
  };
60763
61677
  };
60764
61678
  /** @description Bad Request */
@@ -60799,7 +61713,7 @@ export interface operations {
60799
61713
  };
60800
61714
  };
60801
61715
  };
60802
- inventory_opening_stock_views_delete_opening_quantity: {
61716
+ inventory_transfer_views_delete_internal_transfer: {
60803
61717
  parameters: {
60804
61718
  query?: never;
60805
61719
  header?: never;
@@ -60846,13 +61760,27 @@ export interface operations {
60846
61760
  };
60847
61761
  };
60848
61762
  };
60849
- inventory_opening_stock_views_reset_to_draft: {
61763
+ inventory_transfer_request_views_list_transfer_request: {
60850
61764
  parameters: {
60851
- query?: never;
60852
- header?: never;
60853
- path: {
60854
- id: number;
61765
+ query?: {
61766
+ /** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
61767
+ periodType?: "thisMonth" | "lastMonth" | "thisQuarter" | "lastQuarter" | "thisFiscalYear" | "lastFiscalYear" | "custom" | "today" | "all";
61768
+ /** @description Start date for custom range (YYYY-MM-DD), this required if the period type is custom */
61769
+ startDate?: string | null;
61770
+ /** @description End date for custom range (YYYY-MM-DD), this required if the period type is custom */
61771
+ endDate?: string | null;
61772
+ /** @description search by transfer request number, description, source warehouse name, destination warehouse name, item (name, barcode, sku_code) or package (barcode) */
61773
+ search?: string;
61774
+ /**
61775
+ * @description how user wants to view transfer requests
61776
+ * - my_requests : view transfer requests created by user
61777
+ * - requested_from_me : view transfer requests where source warehouse is in user's assigned warehouses
61778
+ * - my_warehouses : view transfer requests where destination warehouse is in user's assigned warehouses
61779
+ */
61780
+ view?: "myRequests" | "requestedFromMe" | "myWarehouses";
60855
61781
  };
61782
+ header?: never;
61783
+ path?: never;
60856
61784
  cookie?: never;
60857
61785
  };
60858
61786
  requestBody?: never;
@@ -60863,7 +61791,7 @@ export interface operations {
60863
61791
  [name: string]: unknown;
60864
61792
  };
60865
61793
  content: {
60866
- "application/json": components["schemas"]["OpeningQuantitySchema"];
61794
+ "application/json": components["schemas"]["TransferRequestListSchema"];
60867
61795
  };
60868
61796
  };
60869
61797
  /** @description Bad Request */
@@ -60872,7 +61800,7 @@ export interface operations {
60872
61800
  [name: string]: unknown;
60873
61801
  };
60874
61802
  content: {
60875
- "application/json": components["schemas"]["MessageWithCode"];
61803
+ "application/json": components["schemas"]["ErrorMessages"];
60876
61804
  };
60877
61805
  };
60878
61806
  /** @description Forbidden */
@@ -60881,16 +61809,58 @@ export interface operations {
60881
61809
  [name: string]: unknown;
60882
61810
  };
60883
61811
  content: {
60884
- "application/json": components["schemas"]["MessageWithCode"];
61812
+ "application/json": components["schemas"]["MessageResponse"];
60885
61813
  };
60886
61814
  };
60887
- /** @description Not Found */
60888
- 404: {
61815
+ /** @description Internal Server Error */
61816
+ 500: {
60889
61817
  headers: {
60890
61818
  [name: string]: unknown;
60891
61819
  };
60892
61820
  content: {
60893
- "application/json": components["schemas"]["MessageWithCode"];
61821
+ "application/json": components["schemas"]["MessageResponse"];
61822
+ };
61823
+ };
61824
+ };
61825
+ };
61826
+ inventory_transfer_request_views_new_transfer_request: {
61827
+ parameters: {
61828
+ query?: never;
61829
+ header?: never;
61830
+ path?: never;
61831
+ cookie?: never;
61832
+ };
61833
+ requestBody: {
61834
+ content: {
61835
+ "application/json": components["schemas"]["TransferRequestCreateUpdateSchema"];
61836
+ };
61837
+ };
61838
+ responses: {
61839
+ /** @description Created */
61840
+ 201: {
61841
+ headers: {
61842
+ [name: string]: unknown;
61843
+ };
61844
+ content: {
61845
+ "application/json": components["schemas"]["TransferRequestResponseSchema"];
61846
+ };
61847
+ };
61848
+ /** @description Bad Request */
61849
+ 400: {
61850
+ headers: {
61851
+ [name: string]: unknown;
61852
+ };
61853
+ content: {
61854
+ "application/json": components["schemas"]["ErrorMessages"];
61855
+ };
61856
+ };
61857
+ /** @description Forbidden */
61858
+ 403: {
61859
+ headers: {
61860
+ [name: string]: unknown;
61861
+ };
61862
+ content: {
61863
+ "application/json": components["schemas"]["MessageResponse"];
60894
61864
  };
60895
61865
  };
60896
61866
  /** @description Internal Server Error */
@@ -60899,17 +61869,17 @@ export interface operations {
60899
61869
  [name: string]: unknown;
60900
61870
  };
60901
61871
  content: {
60902
- "application/json": components["schemas"]["MessageWithCode"];
61872
+ "application/json": components["schemas"]["MessageResponse"];
60903
61873
  };
60904
61874
  };
60905
61875
  };
60906
61876
  };
60907
- inventory_transfer_views_reset_to_draft: {
61877
+ inventory_transfer_request_views_get_transfer_request: {
60908
61878
  parameters: {
60909
61879
  query?: never;
60910
61880
  header?: never;
60911
61881
  path: {
60912
- id: number;
61882
+ id: string;
60913
61883
  };
60914
61884
  cookie?: never;
60915
61885
  };
@@ -60921,7 +61891,7 @@ export interface operations {
60921
61891
  [name: string]: unknown;
60922
61892
  };
60923
61893
  content: {
60924
- "application/json": components["schemas"]["InternalTransferSchema"];
61894
+ "application/json": components["schemas"]["TransferRequestDetailWithItemsSchema"];
60925
61895
  };
60926
61896
  };
60927
61897
  /** @description Bad Request */
@@ -60930,7 +61900,7 @@ export interface operations {
60930
61900
  [name: string]: unknown;
60931
61901
  };
60932
61902
  content: {
60933
- "application/json": components["schemas"]["MessageWithCode"];
61903
+ "application/json": components["schemas"]["ErrorMessages"];
60934
61904
  };
60935
61905
  };
60936
61906
  /** @description Forbidden */
@@ -60939,7 +61909,7 @@ export interface operations {
60939
61909
  [name: string]: unknown;
60940
61910
  };
60941
61911
  content: {
60942
- "application/json": components["schemas"]["MessageWithCode"];
61912
+ "application/json": components["schemas"]["MessageResponse"];
60943
61913
  };
60944
61914
  };
60945
61915
  /** @description Not Found */
@@ -60948,7 +61918,7 @@ export interface operations {
60948
61918
  [name: string]: unknown;
60949
61919
  };
60950
61920
  content: {
60951
- "application/json": components["schemas"]["MessageWithCode"];
61921
+ "application/json": components["schemas"]["MessageResponse"];
60952
61922
  };
60953
61923
  };
60954
61924
  /** @description Internal Server Error */
@@ -60957,25 +61927,25 @@ export interface operations {
60957
61927
  [name: string]: unknown;
60958
61928
  };
60959
61929
  content: {
60960
- "application/json": components["schemas"]["MessageWithCode"];
61930
+ "application/json": components["schemas"]["MessageResponse"];
60961
61931
  };
60962
61932
  };
60963
61933
  };
60964
61934
  };
60965
- inventory_transfer_views_list_internal_transfers: {
61935
+ inventory_transfer_request_views_update_transfer_request: {
60966
61936
  parameters: {
60967
- query?: {
60968
- /** @description Page number */
60969
- page?: number;
60970
- /** @description Page size */
60971
- pageSize?: number;
60972
- search?: string | null;
60973
- };
61937
+ query?: never;
60974
61938
  header?: never;
60975
- path?: never;
61939
+ path: {
61940
+ id: string;
61941
+ };
60976
61942
  cookie?: never;
60977
61943
  };
60978
- requestBody?: never;
61944
+ requestBody: {
61945
+ content: {
61946
+ "application/json": components["schemas"]["TransferRequestCreateUpdateSchema"];
61947
+ };
61948
+ };
60979
61949
  responses: {
60980
61950
  /** @description OK */
60981
61951
  200: {
@@ -60983,7 +61953,7 @@ export interface operations {
60983
61953
  [name: string]: unknown;
60984
61954
  };
60985
61955
  content: {
60986
- "application/json": components["schemas"]["InternalTransferHeaderListSchema"];
61956
+ "application/json": components["schemas"]["TransferRequestResponseSchema"];
60987
61957
  };
60988
61958
  };
60989
61959
  /** @description Bad Request */
@@ -60992,7 +61962,7 @@ export interface operations {
60992
61962
  [name: string]: unknown;
60993
61963
  };
60994
61964
  content: {
60995
- "application/json": components["schemas"]["MessageWithCode"];
61965
+ "application/json": components["schemas"]["ErrorMessages"];
60996
61966
  };
60997
61967
  };
60998
61968
  /** @description Forbidden */
@@ -61001,7 +61971,7 @@ export interface operations {
61001
61971
  [name: string]: unknown;
61002
61972
  };
61003
61973
  content: {
61004
- "application/json": components["schemas"]["MessageWithCode"];
61974
+ "application/json": components["schemas"]["MessageResponse"];
61005
61975
  };
61006
61976
  };
61007
61977
  /** @description Not Found */
@@ -61010,7 +61980,7 @@ export interface operations {
61010
61980
  [name: string]: unknown;
61011
61981
  };
61012
61982
  content: {
61013
- "application/json": components["schemas"]["MessageWithCode"];
61983
+ "application/json": components["schemas"]["MessageResponse"];
61014
61984
  };
61015
61985
  };
61016
61986
  /** @description Internal Server Error */
@@ -61019,32 +61989,32 @@ export interface operations {
61019
61989
  [name: string]: unknown;
61020
61990
  };
61021
61991
  content: {
61022
- "application/json": components["schemas"]["MessageWithCode"];
61992
+ "application/json": components["schemas"]["MessageResponse"];
61023
61993
  };
61024
61994
  };
61025
61995
  };
61026
61996
  };
61027
- inventory_transfer_views_create_internal_transfer: {
61997
+ inventory_transfer_request_views_delete_transfer_request: {
61028
61998
  parameters: {
61029
61999
  query?: never;
61030
62000
  header?: never;
61031
- path?: never;
62001
+ path: {
62002
+ id: string;
62003
+ };
61032
62004
  cookie?: never;
61033
62005
  };
61034
62006
  requestBody: {
61035
62007
  content: {
61036
- "application/json": components["schemas"]["CreateInternalTransferSchema"];
62008
+ "application/json": components["schemas"]["TransferRequestActionsSchemas"];
61037
62009
  };
61038
62010
  };
61039
62011
  responses: {
61040
- /** @description Created */
61041
- 201: {
62012
+ /** @description No Content */
62013
+ 204: {
61042
62014
  headers: {
61043
62015
  [name: string]: unknown;
61044
62016
  };
61045
- content: {
61046
- "application/json": components["schemas"]["InternalTransferSchema"];
61047
- };
62017
+ content?: never;
61048
62018
  };
61049
62019
  /** @description Bad Request */
61050
62020
  400: {
@@ -61061,7 +62031,7 @@ export interface operations {
61061
62031
  [name: string]: unknown;
61062
62032
  };
61063
62033
  content: {
61064
- "application/json": components["schemas"]["MessageWithCode"];
62034
+ "application/json": components["schemas"]["MessageResponse"];
61065
62035
  };
61066
62036
  };
61067
62037
  /** @description Not Found */
@@ -61070,7 +62040,7 @@ export interface operations {
61070
62040
  [name: string]: unknown;
61071
62041
  };
61072
62042
  content: {
61073
- "application/json": components["schemas"]["MessageWithCode"];
62043
+ "application/json": components["schemas"]["MessageResponse"];
61074
62044
  };
61075
62045
  };
61076
62046
  /** @description Internal Server Error */
@@ -61079,21 +62049,25 @@ export interface operations {
61079
62049
  [name: string]: unknown;
61080
62050
  };
61081
62051
  content: {
61082
- "application/json": components["schemas"]["MessageWithCode"];
62052
+ "application/json": components["schemas"]["MessageResponse"];
61083
62053
  };
61084
62054
  };
61085
62055
  };
61086
62056
  };
61087
- inventory_transfer_views_get_internal_transfer: {
62057
+ inventory_transfer_request_views_reset_transfer_request_to_draft: {
61088
62058
  parameters: {
61089
62059
  query?: never;
61090
62060
  header?: never;
61091
62061
  path: {
61092
- id: number;
62062
+ id: string;
61093
62063
  };
61094
62064
  cookie?: never;
61095
62065
  };
61096
- requestBody?: never;
62066
+ requestBody: {
62067
+ content: {
62068
+ "application/json": components["schemas"]["TransferRequestActionsSchemas"];
62069
+ };
62070
+ };
61097
62071
  responses: {
61098
62072
  /** @description OK */
61099
62073
  200: {
@@ -61101,7 +62075,16 @@ export interface operations {
61101
62075
  [name: string]: unknown;
61102
62076
  };
61103
62077
  content: {
61104
- "application/json": components["schemas"]["InternalTransferSchema"];
62078
+ "application/json": components["schemas"]["TransferRequestDetailWithItemsSchema"];
62079
+ };
62080
+ };
62081
+ /** @description Bad Request */
62082
+ 400: {
62083
+ headers: {
62084
+ [name: string]: unknown;
62085
+ };
62086
+ content: {
62087
+ "application/json": components["schemas"]["ErrorMessages"];
61105
62088
  };
61106
62089
  };
61107
62090
  /** @description Forbidden */
@@ -61110,7 +62093,7 @@ export interface operations {
61110
62093
  [name: string]: unknown;
61111
62094
  };
61112
62095
  content: {
61113
- "application/json": components["schemas"]["MessageWithCode"];
62096
+ "application/json": components["schemas"]["MessageResponse"];
61114
62097
  };
61115
62098
  };
61116
62099
  /** @description Not Found */
@@ -61119,7 +62102,7 @@ export interface operations {
61119
62102
  [name: string]: unknown;
61120
62103
  };
61121
62104
  content: {
61122
- "application/json": components["schemas"]["MessageWithCode"];
62105
+ "application/json": components["schemas"]["MessageResponse"];
61123
62106
  };
61124
62107
  };
61125
62108
  /** @description Internal Server Error */
@@ -61128,23 +62111,23 @@ export interface operations {
61128
62111
  [name: string]: unknown;
61129
62112
  };
61130
62113
  content: {
61131
- "application/json": components["schemas"]["MessageWithCode"];
62114
+ "application/json": components["schemas"]["MessageResponse"];
61132
62115
  };
61133
62116
  };
61134
62117
  };
61135
62118
  };
61136
- inventory_transfer_views_update_internal_transfer: {
62119
+ inventory_transfer_request_views_cancel_transfer_request: {
61137
62120
  parameters: {
61138
62121
  query?: never;
61139
62122
  header?: never;
61140
62123
  path: {
61141
- id: number;
62124
+ id: string;
61142
62125
  };
61143
62126
  cookie?: never;
61144
62127
  };
61145
62128
  requestBody: {
61146
62129
  content: {
61147
- "application/json": components["schemas"]["UpdateInternalTransferSchema"];
62130
+ "application/json": components["schemas"]["TransferRequestActionsSchemas"];
61148
62131
  };
61149
62132
  };
61150
62133
  responses: {
@@ -61154,7 +62137,7 @@ export interface operations {
61154
62137
  [name: string]: unknown;
61155
62138
  };
61156
62139
  content: {
61157
- "application/json": components["schemas"]["InternalTransferSchema"];
62140
+ "application/json": components["schemas"]["TransferRequestDetailWithItemsSchema"];
61158
62141
  };
61159
62142
  };
61160
62143
  /** @description Bad Request */
@@ -61172,7 +62155,7 @@ export interface operations {
61172
62155
  [name: string]: unknown;
61173
62156
  };
61174
62157
  content: {
61175
- "application/json": components["schemas"]["MessageWithCode"];
62158
+ "application/json": components["schemas"]["MessageResponse"];
61176
62159
  };
61177
62160
  };
61178
62161
  /** @description Not Found */
@@ -61181,7 +62164,7 @@ export interface operations {
61181
62164
  [name: string]: unknown;
61182
62165
  };
61183
62166
  content: {
61184
- "application/json": components["schemas"]["MessageWithCode"];
62167
+ "application/json": components["schemas"]["MessageResponse"];
61185
62168
  };
61186
62169
  };
61187
62170
  /** @description Internal Server Error */
@@ -61190,28 +62173,43 @@ export interface operations {
61190
62173
  [name: string]: unknown;
61191
62174
  };
61192
62175
  content: {
61193
- "application/json": components["schemas"]["MessageWithCode"];
62176
+ "application/json": components["schemas"]["MessageResponse"];
61194
62177
  };
61195
62178
  };
61196
62179
  };
61197
62180
  };
61198
- inventory_transfer_views_delete_internal_transfer: {
62181
+ inventory_transfer_request_views_respond_transfer_request: {
61199
62182
  parameters: {
61200
62183
  query?: never;
61201
62184
  header?: never;
61202
62185
  path: {
61203
- id: number;
62186
+ id: string;
61204
62187
  };
61205
62188
  cookie?: never;
61206
62189
  };
61207
- requestBody?: never;
62190
+ requestBody: {
62191
+ content: {
62192
+ "application/json": components["schemas"]["TransferRequestRespondSchema"];
62193
+ };
62194
+ };
61208
62195
  responses: {
61209
- /** @description No Content */
61210
- 204: {
62196
+ /** @description OK */
62197
+ 200: {
61211
62198
  headers: {
61212
62199
  [name: string]: unknown;
61213
62200
  };
61214
- content?: never;
62201
+ content: {
62202
+ "application/json": components["schemas"]["TransferRequestDetailWithItemsSchema"];
62203
+ };
62204
+ };
62205
+ /** @description Bad Request */
62206
+ 400: {
62207
+ headers: {
62208
+ [name: string]: unknown;
62209
+ };
62210
+ content: {
62211
+ "application/json": components["schemas"]["ErrorMessages"];
62212
+ };
61215
62213
  };
61216
62214
  /** @description Forbidden */
61217
62215
  403: {
@@ -61219,7 +62217,7 @@ export interface operations {
61219
62217
  [name: string]: unknown;
61220
62218
  };
61221
62219
  content: {
61222
- "application/json": components["schemas"]["MessageWithCode"];
62220
+ "application/json": components["schemas"]["MessageResponse"];
61223
62221
  };
61224
62222
  };
61225
62223
  /** @description Not Found */
@@ -61228,7 +62226,7 @@ export interface operations {
61228
62226
  [name: string]: unknown;
61229
62227
  };
61230
62228
  content: {
61231
- "application/json": components["schemas"]["MessageWithCode"];
62229
+ "application/json": components["schemas"]["MessageResponse"];
61232
62230
  };
61233
62231
  };
61234
62232
  /** @description Internal Server Error */
@@ -61237,7 +62235,7 @@ export interface operations {
61237
62235
  [name: string]: unknown;
61238
62236
  };
61239
62237
  content: {
61240
- "application/json": components["schemas"]["MessageWithCode"];
62238
+ "application/json": components["schemas"]["MessageResponse"];
61241
62239
  };
61242
62240
  };
61243
62241
  };
@@ -89826,15 +90824,6 @@ export interface operations {
89826
90824
  "application/json": components["schemas"]["MessageResponse"];
89827
90825
  };
89828
90826
  };
89829
- /** @description Not Found */
89830
- 404: {
89831
- headers: {
89832
- [name: string]: unknown;
89833
- };
89834
- content: {
89835
- "application/json": components["schemas"]["MessageResponse"];
89836
- };
89837
- };
89838
90827
  /** @description Internal Server Error */
89839
90828
  500: {
89840
90829
  headers: {
@@ -89906,48 +90895,6 @@ export interface operations {
89906
90895
  };
89907
90896
  };
89908
90897
  };
89909
- integration_settings_views_create_online_store_setting: {
89910
- parameters: {
89911
- query?: never;
89912
- header?: never;
89913
- path?: never;
89914
- cookie?: never;
89915
- };
89916
- requestBody: {
89917
- content: {
89918
- "application/json": components["schemas"]["OnlineStoreSettingCreateUpdateSchema"];
89919
- };
89920
- };
89921
- responses: {
89922
- /** @description Created */
89923
- 201: {
89924
- headers: {
89925
- [name: string]: unknown;
89926
- };
89927
- content: {
89928
- "application/json": components["schemas"]["OnlineStoreSettingSchema"];
89929
- };
89930
- };
89931
- /** @description Bad Request */
89932
- 400: {
89933
- headers: {
89934
- [name: string]: unknown;
89935
- };
89936
- content: {
89937
- "application/json": components["schemas"]["ErrorMessages"];
89938
- };
89939
- };
89940
- /** @description Internal Server Error */
89941
- 500: {
89942
- headers: {
89943
- [name: string]: unknown;
89944
- };
89945
- content: {
89946
- "application/json": components["schemas"]["MessageResponse"];
89947
- };
89948
- };
89949
- };
89950
- };
89951
90898
  integration_sync_views_kill_all_syncs_endpoint: {
89952
90899
  parameters: {
89953
90900
  query?: never;