@medusajs/types 1.12.0-snapshot-20240516152256 → 1.12.0-snapshot-20240520151134
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/common.d.ts +0 -107
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/common/common.d.ts +0 -160
- package/dist/common/common.d.ts.map +1 -1
- package/dist/common/config-module.d.ts +267 -186
- package/dist/common/config-module.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +12 -0
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/http/api-key/admin/api-key.d.ts +3 -12
- package/dist/http/api-key/admin/api-key.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +2 -11
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -1
- package/dist/http/cart/common.d.ts +636 -0
- package/dist/http/cart/common.d.ts.map +1 -0
- package/dist/http/{common/deleted-response.js → cart/common.js} +1 -1
- package/dist/http/cart/common.js.map +1 -0
- package/dist/http/cart/index.d.ts +2 -0
- package/dist/http/cart/index.d.ts.map +1 -0
- package/dist/http/cart/index.js +18 -0
- package/dist/http/cart/index.js.map +1 -0
- package/dist/http/cart/store.d.ts +45 -0
- package/dist/http/cart/store.d.ts.map +1 -0
- package/dist/http/{order/admin/index.js → cart/store.js} +1 -1
- package/dist/http/cart/store.js.map +1 -0
- package/dist/http/collection/admin.d.ts +6 -0
- package/dist/http/collection/admin.d.ts.map +1 -0
- package/dist/http/{common/paginated-response.js → collection/admin.js} +1 -1
- package/dist/http/collection/admin.js.map +1 -0
- package/dist/http/collection/common.d.ts +19 -0
- package/dist/http/collection/common.d.ts.map +1 -0
- package/dist/http/collection/common.js +3 -0
- package/dist/http/collection/common.js.map +1 -0
- package/dist/http/collection/index.d.ts +3 -0
- package/dist/http/collection/index.d.ts.map +1 -0
- package/dist/http/collection/index.js +19 -0
- package/dist/http/collection/index.js.map +1 -0
- package/dist/http/collection/store.d.ts +6 -0
- package/dist/http/collection/store.d.ts.map +1 -0
- package/dist/http/collection/store.js +3 -0
- package/dist/http/collection/store.js.map +1 -0
- package/dist/http/common/index.d.ts +2 -2
- package/dist/http/common/index.d.ts.map +1 -1
- package/dist/http/common/index.js +2 -2
- package/dist/http/common/index.js.map +1 -1
- package/dist/http/common/request.d.ts +9 -0
- package/dist/http/common/request.d.ts.map +1 -0
- package/dist/http/common/request.js +3 -0
- package/dist/http/common/request.js.map +1 -0
- package/dist/http/common/response.d.ts +24 -0
- package/dist/http/common/response.d.ts.map +1 -0
- package/dist/http/common/response.js +3 -0
- package/dist/http/common/response.js.map +1 -0
- package/dist/http/customer/admin/customer.d.ts +5 -26
- package/dist/http/customer/admin/customer.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +0 -3
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +0 -6
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment.d.ts +1 -7
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/geo-zone.d.ts +0 -3
- package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +0 -9
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +0 -3
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts +0 -3
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +2 -14
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +3 -9
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -1
- package/dist/http/index.d.ts +6 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +6 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/inventory-level.d.ts +2 -8
- package/dist/http/inventory/inventory-level.d.ts.map +1 -1
- package/dist/http/inventory/inventory.d.ts +2 -8
- package/dist/http/inventory/inventory.d.ts.map +1 -1
- package/dist/http/order/admin.d.ts +4 -0
- package/dist/http/order/admin.d.ts.map +1 -0
- package/dist/http/order/admin.js +3 -0
- package/dist/http/order/admin.js.map +1 -0
- package/dist/http/order/{admin/index.d.ts → common.d.ts} +30 -96
- package/dist/http/order/common.d.ts.map +1 -0
- package/dist/http/order/common.js +3 -0
- package/dist/http/order/common.js.map +1 -0
- package/dist/http/order/index.d.ts +1 -0
- package/dist/http/order/index.d.ts.map +1 -1
- package/dist/http/order/index.js +1 -0
- package/dist/http/order/index.js.map +1 -1
- package/dist/http/order/store.d.ts +4 -0
- package/dist/http/order/store.d.ts.map +1 -0
- package/dist/http/order/store.js +3 -0
- package/dist/http/order/store.js.map +1 -0
- package/dist/http/payment/admin.d.ts +16 -0
- package/dist/http/payment/admin.d.ts.map +1 -0
- package/dist/http/payment/admin.js +3 -0
- package/dist/http/payment/admin.js.map +1 -0
- package/dist/http/payment/common.d.ts +339 -0
- package/dist/http/payment/common.d.ts.map +1 -0
- package/dist/http/payment/common.js +3 -0
- package/dist/http/payment/common.js.map +1 -0
- package/dist/http/payment/index.d.ts +3 -0
- package/dist/http/payment/index.d.ts.map +1 -0
- package/dist/http/payment/index.js +19 -0
- package/dist/http/payment/index.js.map +1 -0
- package/dist/http/payment/store.d.ts +14 -0
- package/dist/http/payment/store.d.ts.map +1 -0
- package/dist/http/payment/store.js +3 -0
- package/dist/http/payment/store.js.map +1 -0
- package/dist/http/product/admin.d.ts +33 -0
- package/dist/http/product/admin.d.ts.map +1 -0
- package/dist/http/product/admin.js +3 -0
- package/dist/http/product/admin.js.map +1 -0
- package/dist/http/product/common.d.ts +176 -0
- package/dist/http/product/common.d.ts.map +1 -0
- package/dist/http/product/common.js +3 -0
- package/dist/http/product/common.js.map +1 -0
- package/dist/http/product/index.d.ts +3 -0
- package/dist/http/product/index.d.ts.map +1 -0
- package/dist/http/product/index.js +19 -0
- package/dist/http/product/index.js.map +1 -0
- package/dist/http/product/store.d.ts +30 -0
- package/dist/http/product/store.d.ts.map +1 -0
- package/dist/http/product/store.js +3 -0
- package/dist/http/product/store.js.map +1 -0
- package/dist/http/product-category/admin.d.ts +3 -9
- package/dist/http/product-category/admin.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +0 -3
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store.d.ts +3 -9
- package/dist/http/product-category/store.d.ts.map +1 -1
- package/dist/http/promotion/admin/promotion-rule.d.ts +0 -6
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -6
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -1
- package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -6
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -1
- package/dist/http/region/admin.d.ts +26 -0
- package/dist/http/region/admin.d.ts.map +1 -0
- package/dist/http/region/admin.js +3 -0
- package/dist/http/region/admin.js.map +1 -0
- package/dist/http/region/common.d.ts +39 -0
- package/dist/http/region/common.d.ts.map +1 -0
- package/dist/http/region/common.js +3 -0
- package/dist/http/region/common.js.map +1 -0
- package/dist/http/region/index.d.ts +3 -0
- package/dist/http/region/index.d.ts.map +1 -0
- package/dist/http/region/index.js +19 -0
- package/dist/http/region/index.js.map +1 -0
- package/dist/http/region/store.d.ts +10 -0
- package/dist/http/region/store.d.ts.map +1 -0
- package/dist/http/region/store.js +3 -0
- package/dist/http/region/store.js.map +1 -0
- package/dist/http/reservation/admin/reservation.d.ts +3 -12
- package/dist/http/reservation/admin/reservation.d.ts.map +1 -1
- package/dist/http/sales-channel/admin/sales-channel.d.ts +2 -11
- package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -1
- package/dist/http/tax/admin/tax-rates.d.ts +3 -12
- package/dist/http/tax/admin/tax-rates.d.ts.map +1 -1
- package/dist/http/tax/admin/tax-regions.d.ts +3 -12
- package/dist/http/tax/admin/tax-regions.d.ts.map +1 -1
- package/dist/order/common.d.ts +6 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/service.d.ts +4 -0
- package/dist/order/service.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +1 -0
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/common/deleted-response.d.ts +0 -18
- package/dist/http/common/deleted-response.d.ts.map +0 -1
- package/dist/http/common/deleted-response.js.map +0 -1
- package/dist/http/common/paginated-response.d.ts +0 -6
- package/dist/http/common/paginated-response.d.ts.map +0 -1
- package/dist/http/common/paginated-response.js.map +0 -1
- package/dist/http/order/admin/index.d.ts.map +0 -1
- package/dist/http/order/admin/index.js.map +0 -1
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,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,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,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -28,4 +28,10 @@ __exportStar(require("./stock-locations"), exports);
|
|
28
28
|
__exportStar(require("./tax"), exports);
|
29
29
|
__exportStar(require("./product-category"), exports);
|
30
30
|
__exportStar(require("./reservation"), exports);
|
31
|
+
__exportStar(require("./region"), exports);
|
32
|
+
__exportStar(require("./product"), exports);
|
33
|
+
__exportStar(require("./cart"), exports);
|
34
|
+
__exportStar(require("./payment"), exports);
|
35
|
+
__exportStar(require("./collection"), exports);
|
36
|
+
__exportStar(require("./common"), exports);
|
31
37
|
//# sourceMappingURL=index.js.map
|
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,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC;AAClC,gDAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC;AAClC,gDAA6B;AAC7B,2CAAwB;AACxB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,+CAA4B;AAC5B,2CAAwB"}
|
@@ -10,17 +10,11 @@ interface InventoryLevelResponse {
|
|
10
10
|
incoming_quantity: number;
|
11
11
|
metadata?: Record<string, unknown> | null;
|
12
12
|
}
|
13
|
-
/**
|
14
|
-
* @experimental
|
15
|
-
*/
|
16
13
|
export interface AdminInventoryLevelResponse {
|
17
14
|
inventory_item: AdminInventoryItemResponse;
|
18
15
|
}
|
19
|
-
|
20
|
-
* @experimental
|
21
|
-
*/
|
22
|
-
export interface AdminInventoryLevelListResponse extends PaginatedResponse {
|
16
|
+
export type AdminInventoryLevelListResponse = PaginatedResponse<{
|
23
17
|
inventory_levels: InventoryLevelResponse[];
|
24
|
-
}
|
18
|
+
}>;
|
25
19
|
export {};
|
26
20
|
//# sourceMappingURL=inventory-level.d.ts.map
|
@@ -1 +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;
|
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;AAED,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,0BAA0B,CAAA;CAC3C;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;CAC3C,CAAC,CAAA"}
|
@@ -16,17 +16,11 @@ interface InventoryItemResponse {
|
|
16
16
|
thumbnail?: string | null;
|
17
17
|
metadata?: Record<string, unknown> | null;
|
18
18
|
}
|
19
|
-
/**
|
20
|
-
* @experimental
|
21
|
-
*/
|
22
19
|
export interface AdminInventoryItemResponse {
|
23
20
|
inventory_item: InventoryItemResponse;
|
24
21
|
}
|
25
|
-
|
26
|
-
* @experimental
|
27
|
-
*/
|
28
|
-
export interface AdminInventoryItemListResponse extends PaginatedResponse {
|
22
|
+
export type AdminInventoryItemListResponse = PaginatedResponse<{
|
29
23
|
inventory_items: InventoryItemResponse[];
|
30
|
-
}
|
24
|
+
}>;
|
31
25
|
export {};
|
32
26
|
//# sourceMappingURL=inventory.d.ts.map
|
@@ -1 +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;
|
1
|
+
{"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../../src/http/inventory/inventory.ts"],"names":[],"m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":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":""}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
import { PaginatedResponse } from "../../common";
|
3
|
-
interface OrderSummary {
|
1
|
+
interface BaseOrderSummary {
|
4
2
|
total: number;
|
5
3
|
subtotal: number;
|
6
4
|
total_tax: number;
|
@@ -20,7 +18,7 @@ interface OrderSummary {
|
|
20
18
|
balance: number;
|
21
19
|
future_balance: number;
|
22
20
|
}
|
23
|
-
interface
|
21
|
+
interface BaseOrderAdjustmentLine {
|
24
22
|
id: string;
|
25
23
|
code?: string;
|
26
24
|
amount: number;
|
@@ -31,15 +29,15 @@ interface OrderAdjustmentLine {
|
|
31
29
|
created_at: Date | string;
|
32
30
|
updated_at: Date | string;
|
33
31
|
}
|
34
|
-
interface
|
35
|
-
shipping_method:
|
32
|
+
interface BaseOrderShippingMethodAdjustment extends BaseOrderAdjustmentLine {
|
33
|
+
shipping_method: BaseOrderShippingMethod;
|
36
34
|
shipping_method_id: string;
|
37
35
|
}
|
38
|
-
interface
|
39
|
-
item:
|
36
|
+
interface BaseOrderLineItemAdjustment extends BaseOrderAdjustmentLine {
|
37
|
+
item: BaseOrderLineItem;
|
40
38
|
item_id: string;
|
41
39
|
}
|
42
|
-
interface
|
40
|
+
interface BaseOrderTaxLine {
|
43
41
|
id: string;
|
44
42
|
description?: string;
|
45
43
|
tax_rate_id?: string;
|
@@ -49,23 +47,19 @@ interface OrderTaxLine {
|
|
49
47
|
created_at: Date | string;
|
50
48
|
updated_at: Date | string;
|
51
49
|
}
|
52
|
-
interface
|
53
|
-
shipping_method:
|
50
|
+
interface BaseOrderShippingMethodTaxLine extends BaseOrderTaxLine {
|
51
|
+
shipping_method: BaseOrderShippingMethod;
|
54
52
|
shipping_method_id: string;
|
55
53
|
total: number;
|
56
54
|
subtotal: number;
|
57
|
-
raw_total?: BigNumberRawValue;
|
58
|
-
raw_subtotal?: BigNumberRawValue;
|
59
55
|
}
|
60
|
-
interface
|
61
|
-
item:
|
56
|
+
interface BaseOrderLineItemTaxLine extends BaseOrderTaxLine {
|
57
|
+
item: BaseOrderLineItem;
|
62
58
|
item_id: string;
|
63
59
|
total: number;
|
64
60
|
subtotal: number;
|
65
|
-
raw_total?: BigNumberRawValue;
|
66
|
-
raw_subtotal?: BigNumberRawValue;
|
67
61
|
}
|
68
|
-
interface
|
62
|
+
interface BaseOrderAddress {
|
69
63
|
id: string;
|
70
64
|
customer_id?: string;
|
71
65
|
first_name?: string;
|
@@ -82,23 +76,22 @@ interface OrderAddress {
|
|
82
76
|
created_at: Date | string;
|
83
77
|
updated_at: Date | string;
|
84
78
|
}
|
85
|
-
interface
|
79
|
+
interface BaseOrderShippingMethod {
|
86
80
|
id: string;
|
87
81
|
order_id: string;
|
88
82
|
name: string;
|
89
83
|
description?: string;
|
90
84
|
amount: number;
|
91
|
-
raw_amount?: BigNumberRawValue;
|
92
85
|
is_tax_inclusive: boolean;
|
93
86
|
shipping_option_id: string | null;
|
94
87
|
data: Record<string, unknown> | null;
|
95
88
|
metadata: Record<string, unknown> | null;
|
96
|
-
tax_lines?:
|
97
|
-
adjustments?:
|
89
|
+
tax_lines?: BaseOrderShippingMethodTaxLine[];
|
90
|
+
adjustments?: BaseOrderShippingMethodAdjustment[];
|
98
91
|
created_at: Date | string;
|
99
92
|
updated_at: Date | string;
|
100
93
|
}
|
101
|
-
interface
|
94
|
+
interface BaseOrderLineItem {
|
102
95
|
id: string;
|
103
96
|
title: string;
|
104
97
|
subtitle: string | null;
|
@@ -119,14 +112,11 @@ interface OrderLineItem {
|
|
119
112
|
is_discountable: boolean;
|
120
113
|
is_tax_inclusive: boolean;
|
121
114
|
compare_at_unit_price?: number;
|
122
|
-
raw_compare_at_unit_price?: BigNumberRawValue;
|
123
115
|
unit_price: number;
|
124
|
-
raw_unit_price?: BigNumberRawValue;
|
125
116
|
quantity: number;
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
detail: OrderItemDetail;
|
117
|
+
tax_lines?: BaseOrderLineItemTaxLine[];
|
118
|
+
adjustments?: BaseOrderLineItemAdjustment[];
|
119
|
+
detail: BaseOrderItemDetail;
|
130
120
|
created_at: Date;
|
131
121
|
updated_at: Date;
|
132
122
|
metadata: Record<string, unknown> | null;
|
@@ -141,22 +131,11 @@ interface OrderLineItem {
|
|
141
131
|
tax_total: number;
|
142
132
|
discount_total: number;
|
143
133
|
discount_tax_total: number;
|
144
|
-
raw_original_total?: BigNumberRawValue;
|
145
|
-
raw_original_subtotal?: BigNumberRawValue;
|
146
|
-
raw_original_tax_total?: BigNumberRawValue;
|
147
|
-
raw_item_total?: BigNumberRawValue;
|
148
|
-
raw_item_subtotal?: BigNumberRawValue;
|
149
|
-
raw_item_tax_total?: BigNumberRawValue;
|
150
|
-
raw_total?: BigNumberRawValue;
|
151
|
-
raw_subtotal?: BigNumberRawValue;
|
152
|
-
raw_tax_total?: BigNumberRawValue;
|
153
|
-
raw_discount_total?: BigNumberRawValue;
|
154
|
-
raw_discount_tax_total?: BigNumberRawValue;
|
155
134
|
}
|
156
|
-
interface
|
135
|
+
interface BaseOrderItemDetail {
|
157
136
|
id: string;
|
158
137
|
item_id: string;
|
159
|
-
item:
|
138
|
+
item: BaseOrderLineItem;
|
160
139
|
quantity: number;
|
161
140
|
fulfilled_quantity: number;
|
162
141
|
shipped_quantity: number;
|
@@ -164,22 +143,14 @@ interface OrderItemDetail {
|
|
164
143
|
return_received_quantity: number;
|
165
144
|
return_dismissed_quantity: number;
|
166
145
|
written_off_quantity: number;
|
167
|
-
raw_quantity?: BigNumberRawValue;
|
168
|
-
raw_fulfilled_quantity?: BigNumberRawValue;
|
169
|
-
raw_shipped_quantity?: BigNumberRawValue;
|
170
|
-
raw_return_requested_quantity?: BigNumberRawValue;
|
171
|
-
raw_return_received_quantity?: BigNumberRawValue;
|
172
|
-
raw_return_dismissed_quantity?: BigNumberRawValue;
|
173
|
-
raw_written_off_quantity?: BigNumberRawValue;
|
174
146
|
metadata: Record<string, unknown> | null;
|
175
147
|
created_at: Date;
|
176
148
|
updated_at: Date;
|
177
149
|
}
|
178
|
-
interface
|
150
|
+
interface BaseOrderTransaction {
|
179
151
|
id: string;
|
180
152
|
order_id: string;
|
181
153
|
amount: number;
|
182
|
-
raw_amount?: BigNumberRawValue;
|
183
154
|
currency_code: string;
|
184
155
|
reference: string;
|
185
156
|
reference_id: string;
|
@@ -187,10 +158,7 @@ interface OrderTransaction {
|
|
187
158
|
created_at: Date | string;
|
188
159
|
updated_at: Date | string;
|
189
160
|
}
|
190
|
-
|
191
|
-
* @experimental
|
192
|
-
*/
|
193
|
-
export interface OrderResponse {
|
161
|
+
export interface BaseOrder {
|
194
162
|
id: string;
|
195
163
|
version: number;
|
196
164
|
region_id: string | null;
|
@@ -198,12 +166,12 @@ export interface OrderResponse {
|
|
198
166
|
sales_channel_id: string | null;
|
199
167
|
email: string | null;
|
200
168
|
currency_code: string;
|
201
|
-
shipping_address?:
|
202
|
-
billing_address?:
|
203
|
-
items:
|
204
|
-
shipping_methods:
|
205
|
-
transactions?:
|
206
|
-
summary:
|
169
|
+
shipping_address?: BaseOrderAddress;
|
170
|
+
billing_address?: BaseOrderAddress;
|
171
|
+
items: BaseOrderLineItem[] | null;
|
172
|
+
shipping_methods: BaseOrderShippingMethod[] | null;
|
173
|
+
transactions?: BaseOrderTransaction[];
|
174
|
+
summary: BaseOrderSummary;
|
207
175
|
metadata: Record<string, unknown> | null;
|
208
176
|
created_at: string | Date;
|
209
177
|
updated_at: string | Date;
|
@@ -229,40 +197,6 @@ export interface OrderResponse {
|
|
229
197
|
original_shipping_total: number;
|
230
198
|
original_shipping_subtotal: number;
|
231
199
|
original_shipping_tax_total: number;
|
232
|
-
raw_original_item_total?: BigNumberRawValue;
|
233
|
-
raw_original_item_subtotal?: BigNumberRawValue;
|
234
|
-
raw_original_item_tax_total?: BigNumberRawValue;
|
235
|
-
raw_item_total?: BigNumberRawValue;
|
236
|
-
raw_item_subtotal?: BigNumberRawValue;
|
237
|
-
raw_item_tax_total?: BigNumberRawValue;
|
238
|
-
raw_original_total?: BigNumberRawValue;
|
239
|
-
raw_original_subtotal?: BigNumberRawValue;
|
240
|
-
raw_original_tax_total?: BigNumberRawValue;
|
241
|
-
raw_total?: BigNumberRawValue;
|
242
|
-
raw_subtotal?: BigNumberRawValue;
|
243
|
-
raw_tax_total?: BigNumberRawValue;
|
244
|
-
raw_discount_total?: BigNumberRawValue;
|
245
|
-
raw_discount_tax_total?: BigNumberRawValue;
|
246
|
-
raw_gift_card_total?: BigNumberRawValue;
|
247
|
-
raw_gift_card_tax_total?: BigNumberRawValue;
|
248
|
-
raw_shipping_total?: BigNumberRawValue;
|
249
|
-
raw_shipping_subtotal?: BigNumberRawValue;
|
250
|
-
raw_shipping_tax_total?: BigNumberRawValue;
|
251
|
-
raw_original_shipping_total?: BigNumberRawValue;
|
252
|
-
raw_original_shipping_subtotal?: BigNumberRawValue;
|
253
|
-
raw_original_shipping_tax_total?: BigNumberRawValue;
|
254
|
-
}
|
255
|
-
/**
|
256
|
-
* @experimental
|
257
|
-
*/
|
258
|
-
export interface AdminOrderListResponse extends PaginatedResponse {
|
259
|
-
orders: OrderResponse[];
|
260
|
-
}
|
261
|
-
/**
|
262
|
-
* @experimental
|
263
|
-
*/
|
264
|
-
export interface AdminOrderResponse {
|
265
|
-
order: OrderResponse;
|
266
200
|
}
|
267
201
|
export {};
|
268
|
-
//# sourceMappingURL=
|
202
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,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,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,0BAA0B,EAAE,MAAM,CAAA;IAClC,2BAA2B,EAAE,MAAM,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
package/dist/http/order/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("./admin"), exports);
|
18
|
+
__exportStar(require("./store"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters } from "./common";
|
2
|
+
export interface AdminPaymentProvider extends BasePaymentProvider {
|
3
|
+
is_enabled: boolean;
|
4
|
+
}
|
5
|
+
export interface AdminPaymentCollection extends BasePaymentCollection {
|
6
|
+
}
|
7
|
+
export interface AdminPaymentSession extends BasePaymentSession {
|
8
|
+
}
|
9
|
+
export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
|
10
|
+
is_enabled?: boolean;
|
11
|
+
}
|
12
|
+
export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
|
13
|
+
}
|
14
|
+
export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=admin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":""}
|