@medusajs/types 1.12.0-snapshot-20240719133408 → 1.12.0-snapshot-20240724143042
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/workflows.d.ts +6 -0
- package/dist/cart/workflows.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/notification/admin/entities.d.ts +16 -0
- package/dist/http/notification/admin/entities.d.ts.map +1 -0
- package/dist/http/notification/admin/entities.js +3 -0
- package/dist/http/notification/admin/entities.js.map +1 -0
- package/dist/http/notification/admin/index.d.ts +4 -0
- package/dist/http/notification/admin/index.d.ts.map +1 -0
- package/dist/http/notification/admin/index.js +20 -0
- package/dist/http/notification/admin/index.js.map +1 -0
- package/dist/http/notification/admin/queries.d.ts +10 -0
- package/dist/http/notification/admin/queries.d.ts.map +1 -0
- package/dist/http/notification/admin/queries.js +3 -0
- package/dist/http/notification/admin/queries.js.map +1 -0
- package/dist/http/notification/admin/responses.d.ts +10 -0
- package/dist/http/notification/admin/responses.d.ts.map +1 -0
- package/dist/http/notification/admin/responses.js +3 -0
- package/dist/http/notification/admin/responses.js.map +1 -0
- package/dist/http/notification/index.d.ts +2 -0
- package/dist/http/notification/index.d.ts.map +1 -0
- package/dist/http/notification/index.js +18 -0
- package/dist/http/notification/index.js.map +1 -0
- package/dist/http/product/admin/payloads.d.ts +2 -0
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +3 -0
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/inventory/common/reservation-item.d.ts +2 -1
- package/dist/inventory/common/reservation-item.d.ts.map +1 -1
- package/dist/inventory/mutations/inventory-level.d.ts +2 -1
- package/dist/inventory/mutations/inventory-level.d.ts.map +1 -1
- package/dist/inventory/mutations/reservation-item.d.ts +3 -2
- package/dist/inventory/mutations/reservation-item.d.ts.map +1 -1
- package/dist/inventory/service.d.ts +10 -9
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/link-modules/index.d.ts +2 -13
- package/dist/link-modules/index.d.ts.map +1 -1
- package/dist/link-modules/index.js +16 -0
- package/dist/link-modules/index.js.map +1 -1
- package/dist/link-modules/migrations.d.ts +33 -0
- package/dist/link-modules/migrations.d.ts.map +1 -0
- package/dist/link-modules/migrations.js +3 -0
- package/dist/link-modules/migrations.js.map +1 -0
- package/dist/link-modules/service.d.ts +14 -0
- package/dist/link-modules/service.d.ts.map +1 -0
- package/dist/link-modules/service.js +3 -0
- package/dist/link-modules/service.js.map +1 -0
- package/dist/order/common.d.ts +14 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +10 -0
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +27 -52
- package/dist/order/service.d.ts.map +1 -1
- package/dist/pricing/common/money-amount.d.ts +9 -0
- package/dist/pricing/common/money-amount.d.ts.map +1 -1
- package/dist/totals/big-number.d.ts +9 -2
- package/dist/totals/big-number.d.ts.map +1 -1
- package/dist/workflow/order/begin-return-order.d.ts +1 -0
- package/dist/workflow/order/begin-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-fulfillment.d.ts +2 -0
- package/dist/workflow/order/create-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/create-return-order.d.ts +2 -0
- package/dist/workflow/order/create-return-order.d.ts.map +1 -1
- package/dist/workflow/order/create-shipment.d.ts +1 -1
- package/dist/workflow/order/create-shipment.d.ts.map +1 -1
- package/dist/workflow/product/import-products.d.ts +5 -0
- package/dist/workflow/product/import-products.d.ts.map +1 -0
- package/dist/workflow/product/import-products.js +3 -0
- package/dist/workflow/product/import-products.js.map +1 -0
- package/dist/workflow/product/index.d.ts +1 -0
- package/dist/workflow/product/index.d.ts.map +1 -1
- package/dist/workflow/product/index.js +1 -0
- package/dist/workflow/product/index.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"begin-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/begin-return-order.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
1
|
+
{"version":3,"file":"begin-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/begin-return-order.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { BigNumberInput } from "../../totals";
|
2
|
+
import { CreateFulfillmentLabelWorkflowDTO } from "../fulfillment/create-fulfillment";
|
2
3
|
interface CreateOrderFulfillmentItem {
|
3
4
|
id: string;
|
4
5
|
quantity: BigNumberInput;
|
@@ -7,6 +8,7 @@ export interface CreateOrderFulfillmentWorkflowInput {
|
|
7
8
|
order_id: string;
|
8
9
|
created_by?: string;
|
9
10
|
items: CreateOrderFulfillmentItem[];
|
11
|
+
labels?: CreateFulfillmentLabelWorkflowDTO[];
|
10
12
|
no_notification?: boolean;
|
11
13
|
location_id?: string | null;
|
12
14
|
metadata?: Record<string, any> | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-fulfillment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"create-fulfillment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAA;AAErF,UAAU,0BAA0B;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,mCAAmC;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,0BAA0B,EAAE,CAAA;IACnC,MAAM,CAAC,EAAE,iCAAiC,EAAE,CAAA;IAC5C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { BigNumberInput } from "../../totals";
|
2
|
+
import { CreateFulfillmentLabelWorkflowDTO } from "../fulfillment/create-fulfillment";
|
2
3
|
export interface CreateReturnItem {
|
3
4
|
id: string;
|
4
5
|
quantity: BigNumberInput;
|
@@ -14,6 +15,7 @@ export interface CreateOrderReturnWorkflowInput {
|
|
14
15
|
return_shipping?: {
|
15
16
|
option_id: string;
|
16
17
|
price?: number;
|
18
|
+
labels?: CreateFulfillmentLabelWorkflowDTO[];
|
17
19
|
};
|
18
20
|
note?: string | null;
|
19
21
|
receive_now?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-return-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"create-return-order.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-return-order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAA;AAErF,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC;AAED,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,KAAK,EAAE,gBAAgB,EAAE,CAAA;IACzB,eAAe,CAAC,EAAE;QAChB,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,MAAM,CAAC,EAAE,iCAAiC,EAAE,CAAA;KAC7C,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B"}
|
@@ -10,7 +10,7 @@ export interface CreateOrderShipmentWorkflowInput {
|
|
10
10
|
fulfillment_id: string;
|
11
11
|
created_by?: string;
|
12
12
|
items: CreateOrderShipmentItem[];
|
13
|
-
labels
|
13
|
+
labels?: CreateFulfillmentLabelWorkflowDTO[];
|
14
14
|
no_notification?: boolean;
|
15
15
|
metadata?: MetadataType;
|
16
16
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-shipment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-shipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAA;AAElE,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,uBAAuB,EAAE,CAAA;IAChC,MAAM,EAAE,iCAAiC,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"create-shipment.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/create-shipment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,iCAAiC,EAAE,MAAM,gBAAgB,CAAA;AAElE,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;CACzB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,uBAAuB,EAAE,CAAA;IAChC,MAAM,CAAC,EAAE,iCAAiC,EAAE,CAAA;IAC5C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"import-products.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/import-products.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;CACjB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"import-products.js","sourceRoot":"","sources":["../../../src/workflow/product/import-products.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/product/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
|
@@ -19,4 +19,5 @@ __exportStar(require("./create-products"), exports);
|
|
19
19
|
__exportStar(require("./update-product-variants"), exports);
|
20
20
|
__exportStar(require("./update-products"), exports);
|
21
21
|
__exportStar(require("./export-products"), exports);
|
22
|
+
__exportStar(require("./import-products"), exports);
|
22
23
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,oDAAiC;AACjC,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/product/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,oDAAiC;AACjC,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC"}
|