@erp-galoper/types 1.0.1259 → 1.0.1260

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 +20 -2
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -20539,6 +20539,9 @@ export interface paths {
20539
20539
  * - 200: onlineStoreSettingUpdated
20540
20540
  * - 400: validationFailed
20541
20541
  * - platformRequired
20542
+ * - warehousesRequired
20543
+ * - defaultWarehouseRequired
20544
+ * - defaultWarehouseNotInWarehouses
20542
20545
  * - defaultWarehouseDoesNotExist
20543
20546
  * - defaultTaxDoesNotExist
20544
20547
  * - defaultCurrencyDoesNotExist
@@ -54063,6 +54066,12 @@ export interface components {
54063
54066
  /** Autosyncinventory */
54064
54067
  autoSyncInventory: boolean;
54065
54068
  customerSourceOfTruth: components["schemas"]["CustomerSourceOfTruthSchema"];
54069
+ /**
54070
+ * Warehouses
54071
+ * @description Warehouses for online store inventory sync operations. Quantities will be synced from these warehouses, but effects will be on the default warehouse
54072
+ * @default []
54073
+ */
54074
+ warehouses: components["schemas"]["WarehouseSummaryInfo"][];
54066
54075
  defaultWarehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
54067
54076
  defaultTax: components["schemas"]["TaxSharedSchema"] | null;
54068
54077
  defaultCurrency: components["schemas"]["CurrencyCommonSchema"] | null;
@@ -54111,11 +54120,20 @@ export interface components {
54111
54120
  * @default galoper
54112
54121
  */
54113
54122
  customerSourceOfTruth: components["schemas"]["CustomerSourceOfTruthSchema"];
54123
+ /**
54124
+ * Warehouses
54125
+ * @description - List of warehouse IDs for online store inventory operations
54126
+ * - These warehouses will be used to sync quantities from several warehouses, but the effect will be on the default warehouse
54127
+ * - Get warehouses using route /api/v1/inventory/warehouses/
54128
+ */
54129
+ warehouses: number[];
54114
54130
  /**
54115
54131
  * Defaultwarehouse
54116
54132
  * @description - Default warehouse ID for online store inventory operations
54117
- * - required when use_online_shop is true, and should be null if use_online_shop is false
54118
- * - get warehouse using route /api/v1/inventory/warehouses/
54133
+ * - This warehouse will receive the inventory effects from online store operations
54134
+ * - Required when use_online_shop is true, and should be null if use_online_shop is false
54135
+ * - MUST be one of the warehouses specified in the warehouses field
54136
+ * - Get warehouse using route /api/v1/inventory/warehouses/
54119
54137
  */
54120
54138
  defaultWarehouse?: number;
54121
54139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1259",
3
+ "version": "1.0.1260",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],