@medusajs/types 1.12.0-snapshot-20240408084642 → 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/dal/repository-service.d.ts +1 -1
- package/dist/dal/repository-service.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/provider.d.ts +100 -0
- package/dist/file/provider.d.ts.map +1 -0
- package/dist/file/provider.js +3 -0
- package/dist/file/provider.js.map +1 -0
- 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 +4 -0
- package/dist/http/customer/admin/customer.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +2 -2
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +13 -7
- package/dist/http/fulfillment/admin/service-zone.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 +8 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
- package/dist/http/index.d.ts +2 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +2 -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/http/product-category/admin/index.d.ts +2 -0
- package/dist/http/product-category/admin/index.d.ts.map +1 -0
- package/dist/http/product-category/admin/index.js +18 -0
- package/dist/http/product-category/admin/index.js.map +1 -0
- package/dist/http/product-category/admin/product-category.d.ts +32 -0
- package/dist/http/product-category/admin/product-category.d.ts.map +1 -0
- package/dist/http/product-category/admin/product-category.js +3 -0
- package/dist/http/product-category/admin/product-category.js.map +1 -0
- package/dist/http/product-category/index.d.ts +2 -0
- package/dist/http/product-category/index.d.ts.map +1 -0
- package/dist/http/product-category/index.js +18 -0
- package/dist/http/product-category/index.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/product/common.d.ts +26 -40
- 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/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 +3 -1
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +3 -1
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/shipping-profiles.d.ts +18 -0
- package/dist/workflow/fulfillment/shipping-profiles.d.ts.map +1 -0
- package/dist/workflow/fulfillment/shipping-profiles.js +3 -0
- package/dist/workflow/fulfillment/shipping-profiles.js.map +1 -0
- 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
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FilterableShippingProfileProps } from "../../fulfillment";
|
2
|
+
interface CreateShippingProfile {
|
3
|
+
name: string;
|
4
|
+
type: string;
|
5
|
+
}
|
6
|
+
export interface CreateShippingProfilesWorkflowInput {
|
7
|
+
data: CreateShippingProfile[];
|
8
|
+
}
|
9
|
+
interface UpdateShippingProfile {
|
10
|
+
name?: string;
|
11
|
+
type?: string;
|
12
|
+
}
|
13
|
+
export interface UpdateShippingProfilesWorkflowInput {
|
14
|
+
selector: FilterableShippingProfileProps;
|
15
|
+
update: UpdateShippingProfile;
|
16
|
+
}
|
17
|
+
export {};
|
18
|
+
//# sourceMappingURL=shipping-profiles.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"shipping-profiles.d.ts","sourceRoot":"","sources":["../../../src/workflow/fulfillment/shipping-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAA;AAElE,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,qBAAqB,EAAE,CAAA;CAC9B;AAED,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,8BAA8B,CAAA;IACxC,MAAM,EAAE,qBAAqB,CAAA;CAC9B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"shipping-profiles.js","sourceRoot":"","sources":["../../../src/workflow/fulfillment/shipping-profiles.ts"],"names":[],"mappings":""}
|
@@ -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":""}
|