@erp-galoper/types 1.0.1166 → 1.0.1168

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 +53 -5
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -4815,6 +4815,8 @@ export interface paths {
4815
4815
  * - serialNotAvailable - Serial is not in available status
4816
4816
  * - serialNotInWarehouse - Serial is not present in source warehouse
4817
4817
  * - serialDoesNotExist - The selected serial does not exist
4818
+ * - itemNotFoundInRequestTransfer
4819
+ * - quantityExceedsRequestedQuantity
4818
4820
  *
4819
4821
  * - 403: permissionDenied
4820
4822
  * - noBranchAccess
@@ -4869,6 +4871,8 @@ export interface paths {
4869
4871
  * - serialNotInWarehouse - Serial is not present in source warehouse
4870
4872
  * - serialDoesNotExist - The selected serial does not exist
4871
4873
  * - item+warehouse+branch+unitOfMeasure+itemPackageConflict
4874
+ * - itemNotFoundInRequestTransfer
4875
+ * - quantityExceedsRequestedQuantity
4872
4876
  *
4873
4877
  * - 403: permissionDenied
4874
4878
  * - noBranchAccess
@@ -14067,6 +14071,16 @@ export interface paths {
14067
14071
  /**
14068
14072
  * Migrate Sales Price List To Pos Price List
14069
14073
  * @description Endpoint for migrating a sales price list to a POS price list
14074
+ *
14075
+ * Responses:
14076
+ * - 200: SalesPriceListSchema
14077
+ * - 400: priceListTypeShouldBeRetail
14078
+ * - 403: permissionDenied
14079
+ * - priceListDisabled
14080
+ * - noModuleAccess
14081
+ * - noBranchAccess
14082
+ * - 500: server error
14083
+ * Permission key: `salespricelist = ['migratetopos']`
14070
14084
  */
14071
14085
  post: operations["sales_price_list_views_migrate_sales_price_list_to_pos_price_list"];
14072
14086
  delete?: never;
@@ -27934,6 +27948,11 @@ export interface components {
27934
27948
  /** Id */
27935
27949
  id?: number;
27936
27950
  };
27951
+ /**
27952
+ * DocumentLifeCycleStatus
27953
+ * @enum {string}
27954
+ */
27955
+ DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
27937
27956
  /** InternalTransferDetailsSchema */
27938
27957
  InternalTransferDetailsSchema: {
27939
27958
  /**
@@ -27991,12 +28010,31 @@ export interface components {
27991
28010
  transferDate: string;
27992
28011
  /** Description */
27993
28012
  description?: string | null;
28013
+ transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
27994
28014
  /**
27995
28015
  * Details
27996
28016
  * @default []
27997
28017
  */
27998
28018
  details: components["schemas"]["InternalTransferDetailsSchema"][];
27999
28019
  };
28020
+ /** TransferRequestCommonSchema */
28021
+ TransferRequestCommonSchema: {
28022
+ /**
28023
+ * Id
28024
+ * Format: uuid
28025
+ */
28026
+ id: string;
28027
+ /** Serialnumber */
28028
+ serialNumber: string;
28029
+ /**
28030
+ * Date
28031
+ * Format: date
28032
+ */
28033
+ date: string;
28034
+ status: components["schemas"]["DocumentLifeCycleStatus"];
28035
+ sourceWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28036
+ destinationWarehouse: components["schemas"]["WarehouseSummaryInfo"];
28037
+ };
28000
28038
  /** CreateInternalTransferItemSchema */
28001
28039
  CreateInternalTransferItemSchema: {
28002
28040
  /**
@@ -28078,6 +28116,13 @@ export interface components {
28078
28116
  * @description Optional notes or purpose for this transfer
28079
28117
  */
28080
28118
  description?: string | null;
28119
+ /**
28120
+ * Transfer Request
28121
+ * Format: uuid
28122
+ * @description - API endpoint to link transfer request:
28123
+ * - /api/v1/inventory/transfer-requests?view=myWarehouses and filter by sourceWarehouseResponse equals to {accepted} and destinationWarehouse equals to {to-warehouse-id} and fulfillmentStage not equals to {received}
28124
+ */
28125
+ transfer_request?: string;
28081
28126
  status: components["schemas"]["InternalStatusOnCreateValueChoices"];
28082
28127
  /**
28083
28128
  * Details
@@ -28121,6 +28166,7 @@ export interface components {
28121
28166
  transferDate: string;
28122
28167
  /** Description */
28123
28168
  description?: string | null;
28169
+ transferRequest: components["schemas"]["TransferRequestCommonSchema"] | null;
28124
28170
  };
28125
28171
  /** UpdateInternalTransferItemSchema */
28126
28172
  UpdateInternalTransferItemSchema: {
@@ -28207,6 +28253,13 @@ export interface components {
28207
28253
  * @description Optional notes or purpose for this transfer
28208
28254
  */
28209
28255
  description?: string | null;
28256
+ /**
28257
+ * Transfer Request
28258
+ * Format: uuid
28259
+ * @description - API endpoint to link transfer request:
28260
+ * - /api/v1/inventory/transfer-requests?view=myWarehouses and filter by sourceWarehouseResponse equals to {accepted} and destinationWarehouse equals to {to-warehouse-id} and fulfillmentStage not equals to {received}
28261
+ */
28262
+ transfer_request?: string;
28210
28263
  status: components["schemas"]["InternalStatusOnCreateValueChoices"];
28211
28264
  /**
28212
28265
  * Details
@@ -28214,11 +28267,6 @@ export interface components {
28214
28267
  */
28215
28268
  details: components["schemas"]["UpdateInternalTransferItemSchema"][];
28216
28269
  };
28217
- /**
28218
- * DocumentLifeCycleStatus
28219
- * @enum {string}
28220
- */
28221
- DocumentLifeCycleStatus: "draft" | "submitted" | "completed" | "canceled";
28222
28270
  /**
28223
28271
  * LinkedDocumentsSchema
28224
28272
  * @description Schema for individual linked documents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1166",
3
+ "version": "1.0.1168",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],