@medusajs/types 1.12.0-snapshot-20240412124109 → 1.12.0-snapshot-20240426112214
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 +4 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/cart/common.d.ts +185 -5
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/common/batch.d.ts +26 -0
- package/dist/common/batch.d.ts.map +1 -0
- package/dist/common/batch.js +3 -0
- package/dist/common/batch.js.map +1 -0
- package/dist/common/common.d.ts +2 -2
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +8 -1
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -0
- package/dist/common/index.js.map +1 -1
- package/dist/currency/common/currency.d.ts +4 -0
- package/dist/currency/common/currency.d.ts.map +1 -1
- package/dist/customer/common.d.ts +12 -0
- package/dist/customer/common.d.ts.map +1 -1
- package/dist/file/common.d.ts +11 -0
- package/dist/file/common.d.ts.map +1 -1
- package/dist/file/index.d.ts +1 -0
- package/dist/file/index.d.ts.map +1 -1
- package/dist/file/index.js +1 -0
- package/dist/file/index.js.map +1 -1
- package/dist/file/mutations.d.ts +2 -2
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +2 -2
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/providers/index.d.ts +3 -0
- package/dist/file/providers/index.d.ts.map +1 -0
- package/dist/file/providers/index.js +19 -0
- package/dist/file/providers/index.js.map +1 -0
- package/dist/file/providers/local.d.ts +5 -0
- package/dist/file/providers/local.d.ts.map +1 -0
- package/dist/file/providers/local.js +3 -0
- package/dist/file/providers/local.js.map +1 -0
- package/dist/file/providers/s3.d.ts +13 -0
- package/dist/file/providers/s3.d.ts.map +1 -0
- package/dist/file/providers/s3.js +3 -0
- package/dist/file/providers/s3.js.map +1 -0
- package/dist/file/service.d.ts +25 -1
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment-provider.d.ts +10 -0
- package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +4 -0
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +21 -1
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +32 -0
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -0
- package/dist/http/campaign/admin/campaign.js +3 -0
- package/dist/http/campaign/admin/campaign.js.map +1 -0
- package/dist/http/campaign/admin/index.d.ts +2 -0
- package/dist/http/campaign/admin/index.d.ts.map +1 -0
- package/dist/http/campaign/admin/index.js +18 -0
- package/dist/http/campaign/admin/index.js.map +1 -0
- package/dist/http/campaign/index.d.ts +2 -0
- package/dist/http/campaign/index.d.ts.map +1 -0
- package/dist/http/campaign/index.js +18 -0
- package/dist/http/campaign/index.js.map +1 -0
- package/dist/http/common/deleted-response.d.ts +1 -1
- package/dist/http/common/deleted-response.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +7 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +6 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
- package/dist/http/index.d.ts +5 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +5 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/order/admin/index.d.ts +268 -0
- package/dist/http/order/admin/index.d.ts.map +1 -0
- package/dist/http/order/admin/index.js +3 -0
- package/dist/http/order/admin/index.js.map +1 -0
- package/dist/http/order/index.d.ts +2 -0
- package/dist/http/order/index.d.ts.map +1 -0
- package/dist/http/order/index.js +18 -0
- package/dist/http/order/index.js.map +1 -0
- package/dist/http/promotion/admin/index.d.ts +4 -0
- package/dist/http/promotion/admin/index.d.ts.map +1 -0
- package/dist/http/promotion/admin/index.js +20 -0
- package/dist/http/promotion/admin/index.js.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts +23 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.js +3 -0
- package/dist/http/promotion/admin/promotion-rule.js.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +18 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.js +3 -0
- package/dist/http/promotion/admin/rule-attribute-options.js.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts +15 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.js +3 -0
- package/dist/http/promotion/admin/rule-operator-options.js.map +1 -0
- package/dist/http/promotion/index.d.ts +2 -0
- package/dist/http/promotion/index.d.ts.map +1 -0
- package/dist/http/promotion/index.js +18 -0
- package/dist/http/promotion/index.js.map +1 -0
- package/dist/http/reservation/admin/index.d.ts +2 -0
- package/dist/http/reservation/admin/index.d.ts.map +1 -0
- package/dist/http/reservation/admin/index.js +18 -0
- package/dist/http/reservation/admin/index.js.map +1 -0
- package/dist/http/reservation/admin/reservation.d.ts +33 -0
- package/dist/http/reservation/admin/reservation.d.ts.map +1 -0
- package/dist/http/reservation/admin/reservation.js +3 -0
- package/dist/http/reservation/admin/reservation.js.map +1 -0
- package/dist/http/reservation/index.d.ts +2 -0
- package/dist/http/reservation/index.d.ts.map +1 -0
- package/dist/http/reservation/index.js +18 -0
- package/dist/http/reservation/index.js.map +1 -0
- package/dist/http/tax/admin/index.d.ts +1 -0
- package/dist/http/tax/admin/index.d.ts.map +1 -1
- package/dist/http/tax/admin/index.js +1 -0
- package/dist/http/tax/admin/index.js.map +1 -1
- package/dist/http/tax/admin/tax-rates.d.ts +37 -0
- package/dist/http/tax/admin/tax-rates.d.ts.map +1 -0
- package/dist/http/tax/admin/tax-rates.js +3 -0
- package/dist/http/tax/admin/tax-rates.js.map +1 -0
- package/dist/http/tax/admin/tax-regions.d.ts +7 -2
- package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
- package/dist/inventory/common/inventory-item.d.ts +4 -4
- package/dist/inventory/common/inventory-item.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +1 -0
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/order/common.d.ts +322 -13
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +53 -1
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js +1 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +12 -8
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +4 -0
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +8 -4
- package/dist/pricing/common/price-list.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +5 -5
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/pricing/workflows.d.ts +23 -10
- package/dist/pricing/workflows.d.ts.map +1 -1
- package/dist/product/common.d.ts +38 -14
- package/dist/product/common.d.ts.map +1 -1
- package/dist/promotion/common/campaign.d.ts +4 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +4 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/http.d.ts +2 -1
- package/dist/promotion/http.d.ts.map +1 -1
- package/dist/region/common.d.ts +4 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/sales-channel/common.d.ts +4 -0
- package/dist/sales-channel/common.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +5 -0
- package/dist/stock-location/common.d.ts.map +1 -1
- package/dist/store/common/store.d.ts +4 -0
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/tax/common.d.ts +8 -0
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/user/common.d.ts +4 -0
- package/dist/user/common.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +151 -0
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/create-fulfillment.js.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts +15 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.js +3 -0
- package/dist/workflow/fulfillment/create-shipment.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +4 -1
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +4 -1
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/update-fulfillment.d.ts +34 -0
- package/dist/workflow/fulfillment/update-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/update-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/update-fulfillment.js.map +1 -0
- package/dist/workflow/index.d.ts +5 -4
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +6 -5
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/product-category/index.d.ts +12 -0
- package/dist/workflow/product-category/index.d.ts.map +1 -0
- package/dist/workflow/product-category/index.js +3 -0
- package/dist/workflow/product-category/index.js.map +1 -0
- package/dist/workflows/index.d.ts +1 -0
- package/dist/workflows/index.d.ts.map +1 -1
- package/dist/workflows/index.js +1 -0
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/products/index.d.ts +2 -0
- package/dist/workflows/products/index.d.ts.map +1 -0
- package/dist/workflows/products/index.js +18 -0
- package/dist/workflows/products/index.js.map +1 -0
- package/dist/workflows/products/mutations.d.ts +19 -0
- package/dist/workflows/products/mutations.d.ts.map +1 -0
- package/dist/workflows/products/mutations.js +3 -0
- package/dist/workflows/products/mutations.js.map +1 -0
- package/package.json +1 -1
@@ -1,6 +1,9 @@
|
|
1
|
+
export * from "./create-fulfillment";
|
2
|
+
export * from "./create-shipment";
|
1
3
|
export * from "./create-shipping-options";
|
2
|
-
export * from "./service-zones";
|
3
4
|
export * from "./delete-shipping-options";
|
5
|
+
export * from "./service-zones";
|
4
6
|
export * from "./shipping-profiles";
|
7
|
+
export * from "./update-fulfillment";
|
5
8
|
export * from "./update-shipping-options";
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -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,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA"}
|
@@ -14,9 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./create-fulfillment"), exports);
|
18
|
+
__exportStar(require("./create-shipment"), exports);
|
17
19
|
__exportStar(require("./create-shipping-options"), exports);
|
18
|
-
__exportStar(require("./service-zones"), exports);
|
19
20
|
__exportStar(require("./delete-shipping-options"), exports);
|
21
|
+
__exportStar(require("./service-zones"), exports);
|
20
22
|
__exportStar(require("./shipping-profiles"), exports);
|
23
|
+
__exportStar(require("./update-fulfillment"), exports);
|
21
24
|
__exportStar(require("./update-shipping-options"), exports);
|
22
25
|
//# 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,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,oDAAiC;AACjC,4DAAyC;AACzC,4DAAyC;AACzC,kDAA+B;AAC/B,sDAAmC;AACnC,uDAAoC;AACpC,4DAAyC"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* The attributes to update in the fulfillment.
|
3
|
+
*/
|
4
|
+
export interface UpdateFulfillmentWorkflowInput {
|
5
|
+
/**
|
6
|
+
* The ID of the fulfillment
|
7
|
+
*/
|
8
|
+
id: string;
|
9
|
+
/**
|
10
|
+
* The associated location's ID.
|
11
|
+
*/
|
12
|
+
location_id?: string;
|
13
|
+
/**
|
14
|
+
* The date the fulfillment was packed.
|
15
|
+
*/
|
16
|
+
packed_at?: Date | null;
|
17
|
+
/**
|
18
|
+
* The date the fulfillment was shipped.
|
19
|
+
*/
|
20
|
+
shipped_at?: Date | null;
|
21
|
+
/**
|
22
|
+
* The date the fulfillment was delivered.
|
23
|
+
*/
|
24
|
+
delivered_at?: Date | null;
|
25
|
+
/**
|
26
|
+
* The data necessary for the associated fulfillment provider to process the fulfillment.
|
27
|
+
*/
|
28
|
+
data?: Record<string, unknown> | null;
|
29
|
+
/**
|
30
|
+
* Holds custom data in key-value pairs.
|
31
|
+
*/
|
32
|
+
metadata?: Record<string, unknown> | null;
|
33
|
+
}
|
34
|
+
//# sourceMappingURL=update-fulfillment.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-fulfillment.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-fulfillment.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-fulfillment.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/update-fulfillment.ts"],"names":[],"mappings":""}
|
package/dist/workflow/index.d.ts
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
export * as CartWorkflow from "./cart";
|
2
2
|
export * as CommonWorkflow from "./common";
|
3
|
-
export * as
|
3
|
+
export * as FulfillmentWorkflow from "./fulfillment";
|
4
4
|
export * as InventoryWorkflow from "./inventory";
|
5
|
+
export * as InviteWorkflow from "./invite";
|
5
6
|
export * as PriceListWorkflow from "./price-list";
|
6
|
-
export * as
|
7
|
+
export * as ProductWorkflow from "./product";
|
8
|
+
export * as ProductCategoryWorkflow from "./product-category";
|
7
9
|
export * as RegionWorkflow from "./region";
|
8
|
-
export * as InviteWorkflow from "./invite";
|
9
|
-
export * as FulfillmentWorkflow from "./fulfillment";
|
10
10
|
export * as ReservationWorkflow from "./reservation";
|
11
|
+
export * as UserWorkflow from "./user";
|
11
12
|
//# 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,
|
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,mBAAmB,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,uBAAuB,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA"}
|
package/dist/workflow/index.js
CHANGED
@@ -23,15 +23,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.
|
26
|
+
exports.UserWorkflow = exports.ReservationWorkflow = exports.RegionWorkflow = exports.ProductCategoryWorkflow = exports.ProductWorkflow = exports.PriceListWorkflow = exports.InviteWorkflow = exports.InventoryWorkflow = exports.FulfillmentWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
|
27
27
|
exports.CartWorkflow = __importStar(require("./cart"));
|
28
28
|
exports.CommonWorkflow = __importStar(require("./common"));
|
29
|
-
exports.
|
29
|
+
exports.FulfillmentWorkflow = __importStar(require("./fulfillment"));
|
30
30
|
exports.InventoryWorkflow = __importStar(require("./inventory"));
|
31
|
+
exports.InviteWorkflow = __importStar(require("./invite"));
|
31
32
|
exports.PriceListWorkflow = __importStar(require("./price-list"));
|
32
|
-
exports.
|
33
|
+
exports.ProductWorkflow = __importStar(require("./product"));
|
34
|
+
exports.ProductCategoryWorkflow = __importStar(require("./product-category"));
|
33
35
|
exports.RegionWorkflow = __importStar(require("./region"));
|
34
|
-
exports.InviteWorkflow = __importStar(require("./invite"));
|
35
|
-
exports.FulfillmentWorkflow = __importStar(require("./fulfillment"));
|
36
36
|
exports.ReservationWorkflow = __importStar(require("./reservation"));
|
37
|
+
exports.UserWorkflow = __importStar(require("./user"));
|
37
38
|
//# 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,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,qEAAoD;AACpD,iEAAgD;AAChD,2DAA0C;AAC1C,kEAAiD;AACjD,6DAA4C;AAC5C,8EAA6D;AAC7D,2DAA0C;AAC1C,qEAAoD;AACpD,uDAAsC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { LinkWorkflowInput } from "../../common";
|
2
|
+
import { CreateProductCategoryDTO, UpdateProductCategoryDTO } from "../../product";
|
3
|
+
export interface CreateProductCategoryWorkflowInput {
|
4
|
+
product_category: CreateProductCategoryDTO;
|
5
|
+
}
|
6
|
+
export interface UpdateProductCategoryWorkflowInput {
|
7
|
+
id: string;
|
8
|
+
data: UpdateProductCategoryDTO;
|
9
|
+
}
|
10
|
+
export interface BatchUpdateProductsOnCategoryWorkflowInput extends LinkWorkflowInput {
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/product-category/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EACL,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,eAAe,CAAA;AAEtB,MAAM,WAAW,kCAAkC;IACjD,gBAAgB,EAAE,wBAAwB,CAAA;CAC3C;AAGD,MAAM,WAAW,kCAAkC;IAGjD,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,wBAAwB,CAAA;CAC/B;AAED,MAAM,WAAW,0CACf,SAAQ,iBAAiB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/product-category/index.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA"}
|
package/dist/workflows/index.js
CHANGED
@@ -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("./stock-locations"), exports);
|
18
|
+
__exportStar(require("./products"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,6CAA0B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflows/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
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("./mutations"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflows/products/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { PricingTypes, ProductTypes } from "../../bundles";
|
2
|
+
export type CreateProductVariantWorkflowInputDTO = ProductTypes.CreateProductVariantDTO & {
|
3
|
+
prices?: PricingTypes.CreateMoneyAmountDTO[];
|
4
|
+
};
|
5
|
+
export type UpdateProductVariantWorkflowInputDTO = (ProductTypes.UpsertProductVariantDTO & {
|
6
|
+
prices?: PricingTypes.CreateMoneyAmountDTO[];
|
7
|
+
})[];
|
8
|
+
export type CreateProductWorkflowInputDTO = Omit<ProductTypes.CreateProductDTO, "variants"> & {
|
9
|
+
sales_channels?: {
|
10
|
+
id: string;
|
11
|
+
}[];
|
12
|
+
variants?: CreateProductVariantWorkflowInputDTO[];
|
13
|
+
};
|
14
|
+
export type UpdateProductWorkflowInputDTO = ProductTypes.UpsertProductDTO & {
|
15
|
+
sales_channels?: {
|
16
|
+
id: string;
|
17
|
+
}[];
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=mutations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../src/workflows/products/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAE1D,MAAM,MAAM,oCAAoC,GAC9C,YAAY,CAAC,uBAAuB,GAAG;IACrC,MAAM,CAAC,EAAE,YAAY,CAAC,oBAAoB,EAAE,CAAA;CAC7C,CAAA;AAEH,MAAM,MAAM,oCAAoC,GAC9C,CAAC,YAAY,CAAC,uBAAuB,GAAG;IACtC,MAAM,CAAC,EAAE,YAAY,CAAC,oBAAoB,EAAE,CAAA;CAC7C,CAAC,EAAE,CAAA;AAEN,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAC9C,YAAY,CAAC,gBAAgB,EAC7B,UAAU,CACX,GAAG;IACF,cAAc,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,oCAAoC,EAAE,CAAA;CAClD,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,YAAY,CAAC,gBAAgB,GAAG;IAC1E,cAAc,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAClC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../../src/workflows/products/mutations.ts"],"names":[],"mappings":""}
|