@medusajs/types 1.12.0-snapshot-20240409114424 → 1.12.0-snapshot-20240423083106
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/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/customer/mutations.d.ts +2 -18
- package/dist/customer/mutations.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/geo-zone.d.ts +0 -4
- package/dist/fulfillment/mutations/geo-zone.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/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/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 +13 -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 +3 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +3 -1
- 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/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/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-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 +10 -10
- 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/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 +19 -10
- package/dist/product/common.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/stock-location/common.d.ts +5 -0
- package/dist/stock-location/common.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 +6 -4
- package/dist/workflow/index.d.ts.map +1 -1
- package/dist/workflow/index.js +7 -5
- package/dist/workflow/index.js.map +1 -1
- package/dist/workflow/product-category/index.d.ts +9 -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/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/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
@@ -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":""}
|