@medusajs/types 1.12.0-snapshot-20240409114424 → 1.12.0-snapshot-20240412124109
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-key/common/api-key.d.ts +0 -2
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +2 -18
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/fulfillment/mutations/geo-zone.d.ts +0 -4
- package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
- package/dist/http/common/deleted-response.d.ts +18 -0
- package/dist/http/common/deleted-response.d.ts.map +1 -0
- package/dist/http/common/deleted-response.js +3 -0
- package/dist/http/common/deleted-response.js.map +1 -0
- package/dist/http/common/index.d.ts +1 -0
- package/dist/http/common/index.d.ts.map +1 -1
- package/dist/http/common/index.js +1 -0
- package/dist/http/common/index.js.map +1 -1
- package/dist/http/customer/admin/customer.d.ts +3 -0
- package/dist/http/customer/admin/customer.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +13 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +1 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/index.d.ts +3 -0
- package/dist/http/inventory/index.d.ts.map +1 -0
- package/dist/http/inventory/index.js +19 -0
- package/dist/http/inventory/index.js.map +1 -0
- package/dist/http/inventory/inventory-level.d.ts +26 -0
- package/dist/http/inventory/inventory-level.d.ts.map +1 -0
- package/dist/http/inventory/inventory-level.js +3 -0
- package/dist/http/inventory/inventory-level.js.map +1 -0
- package/dist/http/inventory/inventory.d.ts +32 -0
- package/dist/http/inventory/inventory.d.ts.map +1 -0
- package/dist/http/inventory/inventory.js +3 -0
- package/dist/http/inventory/inventory.js.map +1 -0
- package/dist/inventory/common/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/service-next.d.ts +31 -0
- package/dist/inventory/service-next.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +9 -10
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/promotion/common/application-method.d.ts +0 -6
- package/dist/promotion/common/application-method.d.ts.map +1 -1
- package/dist/promotion/common/campaign-budget.d.ts +0 -2
- package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +0 -4
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/common/promotion-rule.d.ts +0 -2
- package/dist/promotion/common/promotion-rule.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +0 -2
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/tax/provider.d.ts +2 -0
- package/dist/tax/provider.d.ts.map +1 -1
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts +4 -0
- package/dist/workflow/fulfillment/delete-shipping-options.d.ts.map +1 -0
- package/dist/workflow/fulfillment/delete-shipping-options.js +3 -0
- package/dist/workflow/fulfillment/delete-shipping-options.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +1 -0
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +1 -0
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/update-shipping-options.d.ts +6 -4
- package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -1
- package/dist/workflow/index.d.ts +1 -0
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +2 -1
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/reservation/create-reservations.d.ts +6 -0
- package/dist/workflow/reservation/create-reservations.d.ts.map +1 -0
- package/dist/workflow/reservation/create-reservations.js +3 -0
- package/dist/workflow/reservation/create-reservations.js.map +1 -0
- package/dist/workflow/reservation/index.d.ts +3 -0
- package/dist/workflow/reservation/index.d.ts.map +1 -0
- package/dist/workflow/reservation/index.js +19 -0
- package/dist/workflow/reservation/index.js.map +1 -0
- package/dist/workflow/reservation/update-reservations.d.ts +6 -0
- package/dist/workflow/reservation/update-reservations.d.ts.map +1 -0
- package/dist/workflow/reservation/update-reservations.js +3 -0
- package/dist/workflow/reservation/update-reservations.js.map +1 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../src/api-key/common/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C
|
1
|
+
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../src/api-key/common/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;IAEhB;;OAEG;IACH,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBACf,SAAQ,cAAc,CAAC,qBAAqB,CAAC;IAC7C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB"}
|
@@ -231,23 +231,6 @@ export interface CustomerUpdatableFields {
|
|
231
231
|
*/
|
232
232
|
metadata?: Record<string, unknown> | null;
|
233
233
|
}
|
234
|
-
/**
|
235
|
-
* The customer group to be created.
|
236
|
-
*/
|
237
|
-
export interface CreateCustomerGroupDTO {
|
238
|
-
/**
|
239
|
-
* The name of the customer group.
|
240
|
-
*/
|
241
|
-
name: string;
|
242
|
-
/**
|
243
|
-
* Holds custom data in key-value pairs.
|
244
|
-
*/
|
245
|
-
metadata?: Record<string, unknown> | null;
|
246
|
-
/**
|
247
|
-
* Who the customer group.
|
248
|
-
*/
|
249
|
-
created_by?: string;
|
250
|
-
}
|
251
234
|
/**
|
252
235
|
* The updatable fields of a customer group.
|
253
236
|
*/
|
@@ -295,7 +278,8 @@ export interface CreateCustomerGroupDTO {
|
|
295
278
|
*/
|
296
279
|
metadata?: Record<string, unknown> | null;
|
297
280
|
/**
|
298
|
-
* Who created the customer group.
|
281
|
+
* Who created the customer group. For example,
|
282
|
+
* the ID of the user that created the customer group.
|
299
283
|
*/
|
300
284
|
created_by?: string;
|
301
285
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/customer/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;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* @interface
|
89
|
-
*
|
90
88
|
* The geo zone to be created. The value of the `type` attributes allows for passing more attributes.
|
91
89
|
*/
|
92
90
|
export type CreateGeoZoneDTO = CreateCountryGeoZoneDTO | CreateProvinceGeoZoneDTO | CreateCityGeoZoneDTO | CreateZipGeoZoneDTO;
|
@@ -164,8 +162,6 @@ export interface UpdateZipGeoZoneDTO extends UpdateGeoZoneBaseDTO {
|
|
164
162
|
postal_expression?: Record<string, any>;
|
165
163
|
}
|
166
164
|
/**
|
167
|
-
* @interface
|
168
|
-
*
|
169
165
|
* The attributes to update in the geo zone. The value of the `type` attributes allows for passing more attributes.
|
170
166
|
*/
|
171
167
|
export type UpdateGeoZoneDTO = UpdateCountryGeoZoneDTO | UpdateProvinceGeoZoneDTO | UpdateCityGeoZoneDTO | UpdateZipGeoZoneDTO;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC;;GAEG;AACH,UAAU,oBAAoB;IAC5B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;IAEjB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE;;;OAGG;IACH,IAAI,EAAE,SAAS,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,oBAAoB;IACpE;;;OAGG;IACH,IAAI,EAAE,UAAU,CAAA;IAEhB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,oBAAo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AEG;AACH,MAAM,MAAM,gBAAgB,GACxB,uBAAuB,GACvB,wBAAwB,GACxB,oBAAoB,GACpB,mBAAmB,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* The fields returned in the response of a DELETE request.
|
3
|
+
*/
|
4
|
+
export type DeleteResponse = {
|
5
|
+
/**
|
6
|
+
* The ID of the item that was deleted.
|
7
|
+
*/
|
8
|
+
id: string;
|
9
|
+
/**
|
10
|
+
* The type of the item that was deleted.
|
11
|
+
*/
|
12
|
+
object: string;
|
13
|
+
/**
|
14
|
+
* Whether the item was deleted successfully.
|
15
|
+
*/
|
16
|
+
deleted: boolean;
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=deleted-response.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleted-response.d.ts","sourceRoot":"","sources":["../../../src/http/common/deleted-response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deleted-response.js","sourceRoot":"","sources":["../../../src/http/common/deleted-response.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA"}
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./paginated-response"), exports);
|
18
|
+
__exportStar(require("./deleted-response"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,qDAAkC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,gBAAgB,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"customer.d.ts","sourceRoot":"","sources":["../../../../src/http/customer/admin/customer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,SAAS,EAAE,gBAAgB,EAAE,CAAA;IAC7B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,EAAE,OAAO,CAAA;IAC5B,kB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I,GAAG,MAAM,GAAG,IAAI,CAAA;IACjC,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC"}
|
@@ -5,6 +5,7 @@ import { AdminShippingOptionRuleResponse } from "./shipping-option-rule";
|
|
5
5
|
import { AdminShippingProfileResponse } from "./shipping-profile";
|
6
6
|
import { AdminFulfillmentProviderResponse } from "./fulfillment-provider";
|
7
7
|
import { AdminPriceSetPriceResponse } from "../../pricing";
|
8
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
8
9
|
/**
|
9
10
|
* @experimental
|
10
11
|
*/
|
@@ -32,7 +33,18 @@ interface AdminShippingOptionResponse {
|
|
32
33
|
* @experimental
|
33
34
|
*/
|
34
35
|
export interface AdminShippingOptionRetrieveResponse {
|
35
|
-
shipping_option: AdminShippingOptionResponse
|
36
|
+
shipping_option: AdminShippingOptionResponse;
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
* @experimental
|
40
|
+
*/
|
41
|
+
export interface AdminShippingOptionListResponse extends PaginatedResponse {
|
42
|
+
shipping_options: AdminShippingOptionResponse[];
|
43
|
+
}
|
44
|
+
/**
|
45
|
+
* @experimental
|
46
|
+
*/
|
47
|
+
export interface AdminShippingOptionDeleteResponse extends DeleteResponse {
|
36
48
|
}
|
37
49
|
export {};
|
38
50
|
//# sourceMappingURL=shipping-option.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;
|
1
|
+
{"version":3,"file":"shipping-option.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment/admin/shipping-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE;;GAEG;AACH,UAAU,2BAA2B;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,uBAAuB,CAAA;IACnC,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACpC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,YAAY,EAAE,wBAAwB,CAAA;IACtC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,QAAQ,EAAE,gCAAgC,CAAA;IAC1C,IAAI,EAAE,+BAA+B,CAAA;IACrC,KAAK,EAAE,+BAA+B,EAAE,CAAA;IACxC,MAAM,EAAE,0BAA0B,EAAE,CAAA;IACpC,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,eAAe,EAAE,2BAA2B,CAAA;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,2BAA2B,EAAE,CAAA;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAkC,SAAQ,cAAc;CAAG"}
|
package/dist/http/index.d.ts
CHANGED
package/dist/http/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./api-key"), exports);
|
18
18
|
__exportStar(require("./customer"), exports);
|
19
19
|
__exportStar(require("./fulfillment"), exports);
|
20
|
+
__exportStar(require("./inventory"), exports);
|
20
21
|
__exportStar(require("./pricing"), exports);
|
21
22
|
__exportStar(require("./sales-channel"), exports);
|
22
23
|
__exportStar(require("./stock-locations"), exports);
|
package/dist/http/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,4CAAyB;AACzB,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,4CAAyB;AACzB,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./inventory"), exports);
|
18
|
+
__exportStar(require("./inventory-level"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,oDAAiC"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { AdminInventoryItemResponse } from "./inventory";
|
2
|
+
import { PaginatedResponse } from "../common";
|
3
|
+
interface InventoryLevelResponse {
|
4
|
+
id: string;
|
5
|
+
inventory_item_id: string;
|
6
|
+
location_id: string;
|
7
|
+
stocked_quantity: number;
|
8
|
+
reserved_quantity: number;
|
9
|
+
available_quantity: number;
|
10
|
+
incoming_quantity: number;
|
11
|
+
metadata?: Record<string, unknown> | null;
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* @experimental
|
15
|
+
*/
|
16
|
+
export interface AdminInventoryLevelResponse {
|
17
|
+
inventory_item: AdminInventoryItemResponse;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* @experimental
|
21
|
+
*/
|
22
|
+
export interface AdminInventoryLevelListResponse extends PaginatedResponse {
|
23
|
+
inventory_levels: InventoryLevelResponse[];
|
24
|
+
}
|
25
|
+
export {};
|
26
|
+
//# sourceMappingURL=inventory-level.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,sBAAsB;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AACD;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,0BAA0B,CAAA;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,iBAAiB;IACxE,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;CAC3C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inventory-level.js","sourceRoot":"","sources":["../../../src/http/inventory/inventory-level.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PaginatedResponse } from "../common";
|
2
|
+
interface InventoryItemResponse {
|
3
|
+
id: string;
|
4
|
+
sku?: string | null;
|
5
|
+
origin_country?: string | null;
|
6
|
+
hs_code?: string | null;
|
7
|
+
requires_shipping: boolean;
|
8
|
+
mid_code?: string | null;
|
9
|
+
material?: string | null;
|
10
|
+
weight?: number | null;
|
11
|
+
length?: number | null;
|
12
|
+
height?: number | null;
|
13
|
+
width?: number | null;
|
14
|
+
title?: string | null;
|
15
|
+
description?: string | null;
|
16
|
+
thumbnail?: string | null;
|
17
|
+
metadata?: Record<string, unknown> | null;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* @experimental
|
21
|
+
*/
|
22
|
+
export interface AdminInventoryItemResponse {
|
23
|
+
inventory_item: InventoryItemResponse;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* @experimental
|
27
|
+
*/
|
28
|
+
export interface AdminInventoryItemListResponse extends PaginatedResponse {
|
29
|
+
inventory_items: InventoryItemResponse[];
|
30
|
+
}
|
31
|
+
export {};
|
32
|
+
//# sourceMappingURL=inventory.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C,UAAU,qBAAqB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AACD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,qBAAqB,CAAA;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,eAAe,EAAE,qBAAqB,EAAE,CAAA;CACzC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inventory.js","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/common/inventory-level.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAErC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CACjD"}
|
@@ -10,7 +10,7 @@ export interface CreateInventoryLevelInput {
|
|
10
10
|
/**
|
11
11
|
* The stocked quantity of the associated inventory item in the associated location.
|
12
12
|
*/
|
13
|
-
stocked_quantity
|
13
|
+
stocked_quantity?: number;
|
14
14
|
/**
|
15
15
|
* The reserved quantity of the associated inventory item in the associated location.
|
16
16
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"inventory-level.d.ts","sourceRoot":"","sources":["../../../src/inventory/mutations/inventory-level.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;CACpB,GAAG,yBAAyB,CAAA"}
|
@@ -642,6 +642,37 @@ export interface IInventoryServiceNext extends IModuleService {
|
|
642
642
|
* )
|
643
643
|
*/
|
644
644
|
deleteReservationItems(reservationItemId: string | string[], context?: Context): Promise<void>;
|
645
|
+
/**
|
646
|
+
* This method soft deletes reservations by their IDs.
|
647
|
+
*
|
648
|
+
* @param {string[]} inventoryLevelIds - The reservations' IDs.
|
649
|
+
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
650
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
651
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
652
|
+
* If there are no related records, the promise resolves to `void`.
|
653
|
+
*
|
654
|
+
* @example
|
655
|
+
* await inventoryModuleService.softDeleteReservationItems([
|
656
|
+
* "ilev_123",
|
657
|
+
* ])
|
658
|
+
*/
|
659
|
+
softDeleteReservationItems<TReturnableLinkableKeys extends string = string>(ReservationItemIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
660
|
+
/**
|
661
|
+
* This method restores soft deleted reservations by their IDs.
|
662
|
+
*
|
663
|
+
* @param {string[]} ReservationItemIds - The reservations' IDs.
|
664
|
+
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the reservation. You can pass to its `returnLinkableKeys`
|
665
|
+
* property any of the reservation's relation attribute names, such as `{type relation name}`.
|
666
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
667
|
+
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were restored.
|
668
|
+
* If there are no related records restored, the promise resolves to `void`.
|
669
|
+
*
|
670
|
+
* @example
|
671
|
+
* await inventoryModuleService.restoreReservationItems([
|
672
|
+
* "ilev_123",
|
673
|
+
* ])
|
674
|
+
*/
|
675
|
+
restoreReservationItems<TReturnableLinkableKeys extends string = string>(ReservationItemIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
645
676
|
/**
|
646
677
|
* This method deletes inventory items by their IDs.
|
647
678
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;
|
1
|
+
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;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eAAe,CACb,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;OAgBG;IACH,gBAAgB,CACd,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;OAcG;IACH,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CACrB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;CACnB"}
|
@@ -98,15 +98,6 @@ export type ModulesResponse = {
|
|
98
98
|
module: string;
|
99
99
|
resolution: string | false;
|
100
100
|
}[];
|
101
|
-
export type LinkModulesExtraFields = Record<string, {
|
102
|
-
type: "date" | "time" | "datetime" | "bigint" | "blob" | "uint8array" | "array" | "enumArray" | "enum" | "json" | "integer" | "smallint" | "tinyint" | "mediumint" | "float" | "double" | "boolean" | "decimal" | "string" | "uuid" | "text";
|
103
|
-
defaultValue?: string;
|
104
|
-
nullable?: boolean;
|
105
|
-
/**
|
106
|
-
* Mikro-orm options for the column
|
107
|
-
*/
|
108
|
-
options?: Record<string, unknown>;
|
109
|
-
}>;
|
110
101
|
export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "primaryKeys" | "relationships" | "extends"> & {
|
111
102
|
/**
|
112
103
|
* GraphQL schema for the all module's available entities and fields
|
@@ -145,7 +136,15 @@ export type ModuleJoinerConfig = Omit<JoinerServiceConfig, "serviceName" | "prim
|
|
145
136
|
* Prefix for the id column. If not provided it is "link"
|
146
137
|
*/
|
147
138
|
idPrefix?: string;
|
148
|
-
extraFields?:
|
139
|
+
extraFields?: Record<string, {
|
140
|
+
type: "date" | "time" | "datetime" | "bigint" | "blob" | "uint8array" | "array" | "enumArray" | "enum" | "json" | "integer" | "smallint" | "tinyint" | "mediumint" | "float" | "double" | "boolean" | "decimal" | "string" | "uuid" | "text";
|
141
|
+
defaultValue?: string;
|
142
|
+
nullable?: boolean;
|
143
|
+
/**
|
144
|
+
* Mikro-orm options for the column
|
145
|
+
*/
|
146
|
+
options?: Record<string, unknown>;
|
147
|
+
}>;
|
149
148
|
};
|
150
149
|
};
|
151
150
|
export declare type ModuleJoinerRelationship = JoinerRelationship & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,WAAW,CAAA;AAElB,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAElC,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AACtD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AAEjC,MAAM,MAAM,QAAQ,GAChB,OAAO,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
|
import { CreatePromotionRuleDTO, PromotionRuleDTO } from "./promotion-rule";
|
4
4
|
/**
|
5
|
-
* @interface
|
6
|
-
*
|
7
5
|
* The application method's possible types.
|
8
6
|
*/
|
9
7
|
export type ApplicationMethodTypeValues = "fixed" | "percentage";
|
10
8
|
/**
|
11
|
-
* @interface
|
12
|
-
*
|
13
9
|
* The application method's possible target types.
|
14
10
|
*/
|
15
11
|
export type ApplicationMethodTargetTypeValues = "order" | "shipping_methods" | "items";
|
16
12
|
/**
|
17
|
-
* @interface
|
18
|
-
*
|
19
13
|
* The application method's possible allocation values.
|
20
14
|
*/
|
21
15
|
export type ApplicationMethodAllocationValues = "each" | "across";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E
|
1
|
+
{"version":3,"file":"application-method.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/application-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,OAAO,GAAG,YAAY,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,iCAAiC,GACzC,OAAO,GACP,kBAAkB,GAClB,OAAO,CAAA;AAEX;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEjE;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,E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WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;OAGG;IACH,IAAI,CAAC,EAAE,2BAA2B,CAAA;IAElC;;;;OAIG;IACH,WAAW,CAAC,EAAE,iCAAiC,CAAA;IAE/C;;;OAGG;IACH,UAAU,CAAC,EAAE,iCAAiC,CAAA;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEjC;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,gCACf,SAAQ,cAAc,CAAC,gCAAgC,CAAC;IACxD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,2BAA2B,EAAE,CAAA;IAEpC;;OAEG;IACH,WAAW,CAAC,EAAE,iCAAiC,EAAE,CAAA;IAEjD;;OAEG;IACH,UAAU,CAAC,EAAE,iCAAiC,EAAE,CAAA;CACjD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C
|
1
|
+
{"version":3,"file":"campaign-budget.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/campaign-budget.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,OAAO,CAAA;AAExD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
|
@@ -1,12 +1,8 @@
|
|
1
1
|
/**
|
2
|
-
* @interface
|
3
|
-
*
|
4
2
|
* A compute action informs you what adjustment must be made to a cart item or shipping method.
|
5
3
|
*/
|
6
4
|
export type ComputeActions = AddItemAdjustmentAction | RemoveItemAdjustmentAction | AddShippingMethodAdjustment | RemoveShippingMethodAdjustment | CampaignBudgetExceededAction;
|
7
5
|
/**
|
8
|
-
* @interface
|
9
|
-
*
|
10
6
|
* These computed action types can affect a campaign's budget.
|
11
7
|
*/
|
12
8
|
export type UsageComputedActions = AddShippingMethodAdjustment | AddItemAdjustmentAction;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"compute-actions.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/compute-actions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,cAAc,GACtB,uBAAuB,GACvB,0BAA0B,GAC1B,2BAA2B,GAC3B,8BAA8B,GAC9B,4BAA4B,CAAA;AAEhC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,2BAA2B,GAC3B,uBAAuB,CAAA;AAE3B;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OA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AAC,MAAM,EAAE,OAAO,CAAC;IACpE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACxE;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAA;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE;;OAEG;IACH,KAAK,CAAC,EAAE,qBAAqB,EAAE,CAAA;IAE/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,EAAE,CAAA;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC"}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
import { BaseFilterable } from "../../dal";
|
2
2
|
import { PromotionRuleValueDTO } from "./promotion-rule-value";
|
3
3
|
/**
|
4
|
-
* @interface
|
5
|
-
*
|
6
4
|
* The possible operators to use in a promotion rule.
|
7
5
|
*/
|
8
6
|
export type PromotionRuleOperatorValues = "gt" | "lt" | "eq" | "ne" | "in" | "lte" | "gte";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAE9D
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAE9D;;GAEG;AACH,MAAM,MAAM,2BAA2B,GACnC,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,KAAK,CAAA;AAET;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAA;IAEtC;;OAEG;IACH,MAAM,EAAE,qBAAqB,EAAE,CAAA;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,QAAQ,EAAE,2BAA2B,CAAA;IAErC;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,2BAA2B,CAAA;IAEtC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;GAEG;AACH,MAAM,WAAW,4BACf,SAAQ,cAAc,CAAC,4BAA4B,CAAC;IACpD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,EAAE,CAAA;CACd;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,cAAc,GAAG,OAAO,CAAA"}
|
@@ -4,8 +4,6 @@ import { ApplicationMethodDTO, CreateApplicationMethodDTO, UpdateApplicationMeth
|
|
4
4
|
import { CampaignDTO } from "./campaign";
|
5
5
|
import { CreatePromotionRuleDTO, PromotionRuleDTO } from "./promotion-rule";
|
6
6
|
/**
|
7
|
-
* @interface
|
8
|
-
*
|
9
7
|
* The promotion's possible types.
|
10
8
|
*/
|
11
9
|
export type PromotionTypeValues = "standard" | "buyget";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAE3E
|
1
|
+
{"version":3,"file":"promotion.d.ts","sourceRoot":"","sources":["../../../src/promotion/common/promotion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;A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H,kBAAkB,CAAC,EAAE,0BAA0B,CAAA;IAE/C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,wBACf,SAAQ,cAAc,CAAC,wBAAwB,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1C;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,EAAE,CAAA;CAC7B"}
|
package/dist/tax/provider.d.ts
CHANGED
@@ -80,6 +80,7 @@ export type ItemTaxCalculationLine = {
|
|
80
80
|
*
|
81
81
|
* For example:
|
82
82
|
*
|
83
|
+
* ```ts
|
83
84
|
* export default class MyTaxProvider implements ITaxProvider {
|
84
85
|
* // ...
|
85
86
|
* constructor(container, options) {
|
@@ -90,6 +91,7 @@ export type ItemTaxCalculationLine = {
|
|
90
91
|
* this.client = new Client(options)
|
91
92
|
* }
|
92
93
|
* }
|
94
|
+
* ```
|
93
95
|
*
|
94
96
|
* ---
|
95
97
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/tax/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,aAAa,EAAE,kBAAkB,CAAA;IACjC;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,cAAc,CAAA;IACzB;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/tax/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,cAAc,EACd,kBAAkB,EACnB,MAAM,UAAU,CAAA;AAEjB;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,aAAa,EAAE,kBAAkB,CAAA;IACjC;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,EAAE,cAAc,CAAA;IACzB;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,aAAa,IAAI,MAAM,CAAA;IAEvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,WAAW,CACT,SAAS,EAAE,sBAAsB,EAAE,EACnC,aAAa,EAAE,0BAA0B,EAAE,EAC3C,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,CAAC,cAAc,GAAG,kBAAkB,CAAC,EAAE,CAAC,CAAA;CACpD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/delete-shipping-options.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kCAAkC;IACjD,GAAG,EAAE,MAAM,EAAE,CAAA;CACd"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete-shipping-options.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/delete-shipping-options.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA"}
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./create-shipping-options"), exports);
|
18
18
|
__exportStar(require("./service-zones"), exports);
|
19
|
+
__exportStar(require("./delete-shipping-options"), exports);
|
19
20
|
__exportStar(require("./shipping-profiles"), exports);
|
20
21
|
__exportStar(require("./update-shipping-options"), exports);
|
21
22
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,kDAA+B;AAC/B,sDAAmC;AACnC,4DAAyC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,kDAA+B;AAC/B,4DAAyC;AACzC,sDAAmC;AACnC,4DAAyC"}
|
@@ -14,11 +14,13 @@ export interface UpdateShippingOptionsWorkflowInput {
|
|
14
14
|
code: string;
|
15
15
|
};
|
16
16
|
prices?: ({
|
17
|
-
|
18
|
-
|
17
|
+
id?: string;
|
18
|
+
currency_code?: string;
|
19
|
+
amount?: number;
|
19
20
|
} | {
|
20
|
-
|
21
|
-
|
21
|
+
id?: string;
|
22
|
+
region_id?: string;
|
23
|
+
amount?: number;
|
22
24
|
})[];
|
23
25
|
rules?: {
|
24
26
|
attribute: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,CAAC,EAAE,uBAAuB,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,CAAC,EAAE,CACL;QACE,aAAa,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"update-shipping-options.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-shipping-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE/C,MAAM,WAAW,kCAAkC;IACjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9B,UAAU,CAAC,EAAE,uBAAuB,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,MAAM,CAAC,EAAE,CACL;QACE,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,GACD;QACE,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CACJ,EAAE,CAAA;IACH,KAAK,CAAC,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;QACjB,QAAQ,EAAE,gBAAgB,CAAA;QAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KACzB,EAAE,CAAA;CACJ;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAA;CACX,EAAE,CAAA"}
|
package/dist/workflow/index.d.ts
CHANGED
@@ -7,4 +7,5 @@ export * as UserWorkflow from "./user";
|
|
7
7
|
export * as RegionWorkflow from "./region";
|
8
8
|
export * as InviteWorkflow from "./invite";
|
9
9
|
export * as FulfillmentWorkflow from "./fulfillment";
|
10
|
+
export * as ReservationWorkflow from "./reservation";
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAA"}
|
package/dist/workflow/index.js
CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.FulfillmentWorkflow = exports.InviteWorkflow = exports.RegionWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
|
26
|
+
exports.ReservationWorkflow = exports.FulfillmentWorkflow = exports.InviteWorkflow = exports.RegionWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
|
27
27
|
exports.CartWorkflow = __importStar(require("./cart"));
|
28
28
|
exports.CommonWorkflow = __importStar(require("./common"));
|
29
29
|
exports.ProductWorkflow = __importStar(require("./product"));
|
@@ -33,4 +33,5 @@ exports.UserWorkflow = __importStar(require("./user"));
|
|
33
33
|
exports.RegionWorkflow = __importStar(require("./region"));
|
34
34
|
exports.InviteWorkflow = __importStar(require("./invite"));
|
35
35
|
exports.FulfillmentWorkflow = __importStar(require("./fulfillment"));
|
36
|
+
exports.ReservationWorkflow = __importStar(require("./reservation"));
|
36
37
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C;AAC1C,2DAA0C;AAC1C,qEAAoD"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C;AAC1C,2DAA0C;AAC1C,qEAAoD;AACpD,qEAAoD"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { InventoryNext } from "../../inventory";
|
2
|
+
export interface CreateReservationsWorkflowInput {
|
3
|
+
reservations: InventoryNext.CreateReservationItemInput[];
|
4
|
+
}
|
5
|
+
export type CreateReservationsWorkflowOutput = InventoryNext.ReservationItemDTO[];
|
6
|
+
//# sourceMappingURL=create-reservations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/create-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,MAAM,WAAW,+BAA+B;IAC9C,YAAY,EAAE,aAAa,CAAC,0BAA0B,EAAE,CAAA;CACzD;AAED,MAAM,MAAM,gCAAgC,GAC1C,aAAa,CAAC,kBAAkB,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create-reservations.js","sourceRoot":"","sources":["../../../src/workflow/reservation/create-reservations.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./create-reservations"), exports);
|
18
|
+
__exportStar(require("./update-reservations"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/reservation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAqC;AACrC,wDAAqC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { InventoryNext } from "../../inventory";
|
2
|
+
export interface UpdateReservationsWorkflowInput {
|
3
|
+
updates: InventoryNext.UpdateReservationItemInput[];
|
4
|
+
}
|
5
|
+
export type UpdateReservationsWorkflowOutput = InventoryNext.ReservationItemDTO[];
|
6
|
+
//# sourceMappingURL=update-reservations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-reservations.d.ts","sourceRoot":"","sources":["../../../src/workflow/reservation/update-reservations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,aAAa,CAAC,0BAA0B,EAAE,CAAA;CACpD;AAED,MAAM,MAAM,gCAAgC,GAC1C,aAAa,CAAC,kBAAkB,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-reservations.js","sourceRoot":"","sources":["../../../src/workflow/reservation/update-reservations.ts"],"names":[],"mappings":""}
|