@medusajs/types 1.12.0-snapshot-20241016151300 → 2.0.0-preview-20241022100028
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 +8 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +3 -3
- package/dist/common/index.js.map +1 -1
- package/dist/http/api-key/admin/responses.d.ts +2 -0
- package/dist/http/api-key/admin/responses.d.ts.map +1 -1
- package/dist/http/campaign/admin/responses.d.ts +3 -0
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/store/entities.d.ts +39 -0
- package/dist/http/cart/store/entities.d.ts.map +1 -1
- package/dist/http/cart/store/payloads.d.ts +74 -0
- package/dist/http/cart/store/payloads.d.ts.map +1 -1
- package/dist/http/cart/store/responses.d.ts +28 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -1
- package/dist/http/collection/common.d.ts +44 -2
- package/dist/http/collection/common.d.ts.map +1 -1
- package/dist/http/collection/store/entities.d.ts +3 -0
- package/dist/http/collection/store/entities.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +0 -2
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/collection/store/responses.d.ts +6 -0
- package/dist/http/collection/store/responses.d.ts.map +1 -1
- package/dist/http/common/request.d.ts +17 -0
- package/dist/http/common/request.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +9 -0
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +240 -0
- package/dist/http/customer/common.d.ts.map +1 -1
- package/dist/http/customer/store/entities.d.ts +3 -0
- package/dist/http/customer/store/entities.d.ts.map +1 -1
- package/dist/http/customer/store/responses.d.ts +9 -0
- package/dist/http/customer/store/responses.d.ts.map +1 -1
- package/dist/http/exchange/admin/payloads.d.ts +0 -4
- package/dist/http/exchange/admin/payloads.d.ts.map +1 -1
- package/dist/http/fulfillment/store/index.d.ts +54 -1
- package/dist/http/fulfillment/store/index.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +24 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +12 -0
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +4 -1
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +630 -0
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store/entities.d.ts +39 -0
- package/dist/http/order/store/entities.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +6 -0
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/order/store/responses.d.ts +6 -0
- package/dist/http/order/store/responses.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +3 -0
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store/entities.d.ts +9 -0
- package/dist/http/payment/store/entities.d.ts.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +18 -0
- package/dist/http/payment/store/payloads.d.ts.map +1 -1
- package/dist/http/payment/store/queries.d.ts +3 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/payment/store/responses.d.ts +6 -0
- package/dist/http/payment/store/responses.d.ts.map +1 -1
- package/dist/http/product/admin/payloads.d.ts +3 -1
- package/dist/http/product/admin/payloads.d.ts.map +1 -1
- package/dist/http/product/common.d.ts +268 -0
- package/dist/http/product/common.d.ts.map +1 -1
- package/dist/http/product/store/entitites.d.ts +36 -0
- package/dist/http/product/store/entitites.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +19 -1
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product/store/responses.d.ts +6 -0
- package/dist/http/product/store/responses.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +94 -0
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/product-category/store/entities.d.ts +9 -0
- package/dist/http/product-category/store/entities.d.ts.map +1 -1
- package/dist/http/product-category/store/queries.d.ts +1 -1
- package/dist/http/product-category/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/store/responses.d.ts +6 -0
- package/dist/http/product-category/store/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +3 -0
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +69 -0
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/region/store/responses.d.ts +6 -0
- package/dist/http/region/store/responses.d.ts.map +1 -1
- package/dist/http/shipping-option/store/queries.d.ts +8 -0
- package/dist/http/shipping-option/store/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/store/responses.d.ts +2 -2
- package/dist/http/shipping-option/store/responses.d.ts.map +1 -1
- package/dist/index-data/common.d.ts +1 -1
- package/dist/inventory/service.d.ts +41 -9
- package/dist/inventory/service.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +0 -1
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/modules-sdk/module-provider.d.ts +1 -1
- package/dist/modules-sdk/module-provider.d.ts.map +1 -1
- package/dist/notification/common.d.ts +19 -0
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/notification/mutations.d.ts +5 -0
- package/dist/notification/mutations.d.ts.map +1 -1
- package/dist/notification/provider.d.ts +5 -1
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/order/common.d.ts +0 -49
- package/dist/order/common.d.ts.map +1 -1
- package/dist/product/common.d.ts +8 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +17 -0
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/service.d.ts +34 -1
- package/dist/tax/service.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,8 +1,17 @@
|
|
1
1
|
import { StoreProduct } from "../../product/store";
|
2
2
|
import { BaseProductCategory } from "../common";
|
3
3
|
export interface StoreProductCategory extends Omit<BaseProductCategory, "is_active" | "is_internal" | "products" | "parent_category" | "category_children"> {
|
4
|
+
/**
|
5
|
+
* The category's products.
|
6
|
+
*/
|
4
7
|
products?: StoreProduct[];
|
8
|
+
/**
|
9
|
+
* The parent category.
|
10
|
+
*/
|
5
11
|
parent_category: StoreProductCategory | null;
|
12
|
+
/**
|
13
|
+
* The category's children.
|
14
|
+
*/
|
6
15
|
category_children: StoreProductCategory[];
|
7
16
|
}
|
8
17
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE/C,MAAM,WAAW,oBACf,SAAQ,IAAI,CACV,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,UAAU,GACV,iBAAiB,GACjB,mBAAmB,CACtB;IACD,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC5C,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C"}
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAE/C,MAAM,WAAW,oBACf,SAAQ,IAAI,CACV,mBAAmB,EACjB,WAAW,GACX,aAAa,GACb,UAAU,GACV,iBAAiB,GACjB,mBAAmB,CACtB;IACD;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB;;OAEG;IACH,eAAe,EAAE,oBAAoB,GAAG,IAAI,CAAA;IAC5C;;OAEG;IACH,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BaseProductCategoryListParams, BaseProductCategoryParams } from "../common";
|
2
|
-
export interface StoreProductCategoryListParams extends Omit<BaseProductCategoryListParams, "is_internal" | "is_active"> {
|
2
|
+
export interface StoreProductCategoryListParams extends Omit<BaseProductCategoryListParams, "is_internal" | "is_active" | "deleted_at"> {
|
3
3
|
}
|
4
4
|
export interface StoreProductCategoryParams extends BaseProductCategoryParams {
|
5
5
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,6BAA6B,EAAE,aAAa,GAAG,WAAW,CAAC;CAAG;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,6BAA6B,EAAE,aAAa,GAAG,WAAW,GAAG,YAAY,CAAC;CAAG;AAE5F,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -1,9 +1,15 @@
|
|
1
1
|
import { PaginatedResponse } from "../../common";
|
2
2
|
import { StoreProductCategory } from "./entities";
|
3
3
|
export interface StoreProductCategoryResponse {
|
4
|
+
/**
|
5
|
+
* The category's details.
|
6
|
+
*/
|
4
7
|
product_category: StoreProductCategory;
|
5
8
|
}
|
6
9
|
export interface StoreProductCategoryListResponse extends PaginatedResponse<{
|
10
|
+
/**
|
11
|
+
* The paginated list of categories.
|
12
|
+
*/
|
7
13
|
product_categories: StoreProductCategory[];
|
8
14
|
}> {
|
9
15
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,oBAAoB,CAAA;CACvC;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IACxB,kBAAkB,EAAE,oBAAoB,EAAE,CAAA;CAC3C,CAAC;CAAG"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product-category/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,gBAAgB,EAAE,oBAAoB,CAAA;CACvC;AAED,MAAM,WAAW,gCACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,kBAAkB,EAAE,oBAAoB,EAAE,CAAA;CAC3C,CAAC;CAAG"}
|
@@ -30,6 +30,9 @@ export interface BasePromotion {
|
|
30
30
|
rules?: BasePromotionRule[];
|
31
31
|
campaign_id?: string;
|
32
32
|
campaign?: AdminCampaign;
|
33
|
+
created_at: string;
|
34
|
+
updated_at: string;
|
35
|
+
deleted_at: string | null;
|
33
36
|
}
|
34
37
|
export interface BasePromotionRuleValue {
|
35
38
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/promotion/common.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,2BAA2B,EAC3B,2BAA2B,EAC3B,mBAAmB,EACpB,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,WAAW,iBAAiB;IAChC,EA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;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,uBAAuB,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd"}
|
@@ -1,30 +1,99 @@
|
|
1
1
|
import { BaseFilterable, OperatorMap } from "../../dal";
|
2
2
|
import { AdminPaymentProvider } from "../payment";
|
3
3
|
export interface BaseRegion {
|
4
|
+
/**
|
5
|
+
* The region's ID.
|
6
|
+
*/
|
4
7
|
id: string;
|
8
|
+
/**
|
9
|
+
* The region's name.
|
10
|
+
*/
|
5
11
|
name: string;
|
12
|
+
/**
|
13
|
+
* The region's currency code.
|
14
|
+
*/
|
6
15
|
currency_code: string;
|
16
|
+
/**
|
17
|
+
* Whether taxes are calculated automatically in the region.
|
18
|
+
*/
|
7
19
|
automatic_taxes?: boolean;
|
20
|
+
/**
|
21
|
+
* The countries that belong to the region.
|
22
|
+
*/
|
8
23
|
countries?: BaseRegionCountry[];
|
24
|
+
/**
|
25
|
+
* The payment providers enabled in the region.
|
26
|
+
*/
|
9
27
|
payment_providers?: AdminPaymentProvider[];
|
28
|
+
/**
|
29
|
+
* Key-value pairs of custom data.
|
30
|
+
*/
|
10
31
|
metadata?: Record<string, any> | null;
|
32
|
+
/**
|
33
|
+
* The date the region was created.
|
34
|
+
*/
|
11
35
|
created_at?: string;
|
36
|
+
/**
|
37
|
+
* The date the region was updated.
|
38
|
+
*/
|
12
39
|
updated_at?: string;
|
13
40
|
}
|
14
41
|
export interface BaseRegionCountry {
|
42
|
+
/**
|
43
|
+
* The country's ID.
|
44
|
+
*/
|
15
45
|
id: string;
|
46
|
+
/**
|
47
|
+
* The country's ISO 2 code.
|
48
|
+
*
|
49
|
+
* @example us
|
50
|
+
*/
|
16
51
|
iso_2?: string;
|
52
|
+
/**
|
53
|
+
* The country's ISO 3 code.
|
54
|
+
*
|
55
|
+
* @example usa
|
56
|
+
*/
|
17
57
|
iso_3?: string;
|
58
|
+
/**
|
59
|
+
* The country's num code.
|
60
|
+
*
|
61
|
+
* @example 840
|
62
|
+
*/
|
18
63
|
num_code?: string;
|
64
|
+
/**
|
65
|
+
* The country's name.
|
66
|
+
*/
|
19
67
|
name?: string;
|
68
|
+
/**
|
69
|
+
* The country's name used for display.
|
70
|
+
*/
|
20
71
|
display_name?: string;
|
21
72
|
}
|
22
73
|
export interface BaseRegionFilters extends BaseFilterable<BaseRegionFilters> {
|
74
|
+
/**
|
75
|
+
* A query or keywords to search a region's searchable fields by.
|
76
|
+
*/
|
23
77
|
q?: string;
|
78
|
+
/**
|
79
|
+
* Filter by region ID(s).
|
80
|
+
*/
|
24
81
|
id?: string[] | string | OperatorMap<string | string[]>;
|
82
|
+
/**
|
83
|
+
* Filter by region name(s).
|
84
|
+
*/
|
25
85
|
name?: string | string[];
|
86
|
+
/**
|
87
|
+
* Filter by currency code(s).
|
88
|
+
*/
|
26
89
|
currency_code?: string | string[];
|
90
|
+
/**
|
91
|
+
* Apply filters on the region's creation date.
|
92
|
+
*/
|
27
93
|
created_at?: OperatorMap<string>;
|
94
|
+
/**
|
95
|
+
* Apply filters on the region's update date.
|
96
|
+
*/
|
28
97
|
updated_at?: OperatorMap<string>;
|
29
98
|
}
|
30
99
|
export interface BaseRegionCountryFilters extends BaseFilterable<BaseRegionCountryFilters> {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/region/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC/B,iBAAiB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC1E,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAA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../../common";
|
2
2
|
import { StoreRegion } from "./entities";
|
3
3
|
export type StoreRegionResponse = {
|
4
|
+
/**
|
5
|
+
* The region's details.
|
6
|
+
*/
|
4
7
|
region: StoreRegion;
|
5
8
|
};
|
6
9
|
export type StoreRegionListResponse = PaginatedResponse<{
|
10
|
+
/**
|
11
|
+
* The paginated list of regions.
|
12
|
+
*/
|
7
13
|
regions: StoreRegion[];
|
8
14
|
}>;
|
9
15
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/region/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAExC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,WAAW,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD;;OAEG;IACH,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA"}
|
@@ -1,6 +1,14 @@
|
|
1
1
|
import { BaseFilterable } from "../../../dal";
|
2
2
|
import { FindParams } from "../../common";
|
3
3
|
export interface StoreGetShippingOptionList extends FindParams, BaseFilterable<StoreGetShippingOptionList> {
|
4
|
+
/**
|
5
|
+
* The ID of the cart to retrieve the shipping options that
|
6
|
+
* can be applied on it.
|
7
|
+
*/
|
4
8
|
cart_id: string;
|
9
|
+
/**
|
10
|
+
* Whether to retrieve shipping options used for returns.
|
11
|
+
*/
|
12
|
+
is_return?: boolean;
|
5
13
|
}
|
6
14
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,0BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,0BAA0B,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,0BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,0BAA0B,CAAC;IAC5C;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { StoreCartShippingOption } from "../../fulfillment";
|
2
2
|
export interface StoreShippingOptionListResponse {
|
3
|
-
shipping_options:
|
3
|
+
shipping_options: StoreCartShippingOption[];
|
4
4
|
}
|
5
5
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/shipping-option/store/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAE3D,MAAM,WAAW,+BAA+B;IAC9C,gBAAgB,EAAE,uBAAuB,EAAE,CAAA;CAC5C"}
|
@@ -36,7 +36,7 @@ export type SchemaObjectEntityRepresentation = {
|
|
36
36
|
*/
|
37
37
|
fields: string[];
|
38
38
|
/**
|
39
|
-
*
|
39
|
+
* `@Listerners` directive is required and all listeners found
|
40
40
|
* for the type will be stored here
|
41
41
|
*/
|
42
42
|
listeners: string[];
|
@@ -670,7 +670,7 @@ export interface IInventoryService extends IModuleService {
|
|
670
670
|
/**
|
671
671
|
* This method soft deletes reservations by their IDs.
|
672
672
|
*
|
673
|
-
* @param {string[]}
|
673
|
+
* @param {string[]} reservationItemIds - The reservations' IDs.
|
674
674
|
* @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
|
675
675
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
676
676
|
* @returns {Promise<void | Record<string, string[]>>} An object that includes the IDs of related records that were also soft deleted.
|
@@ -681,11 +681,11 @@ export interface IInventoryService extends IModuleService {
|
|
681
681
|
* "ilev_123",
|
682
682
|
* ])
|
683
683
|
*/
|
684
|
-
softDeleteReservationItems<TReturnableLinkableKeys extends string = string>(
|
684
|
+
softDeleteReservationItems<TReturnableLinkableKeys extends string = string>(reservationItemIds: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
685
685
|
/**
|
686
686
|
* This method restores soft deleted reservations by their IDs.
|
687
687
|
*
|
688
|
-
* @param {string[]}
|
688
|
+
* @param {string[]} reservationItemIds - The reservations' IDs.
|
689
689
|
* @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the reservation. You can pass to its `returnLinkableKeys`
|
690
690
|
* property any of the reservation's relation attribute names, such as `{type relation name}`.
|
691
691
|
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
@@ -697,7 +697,7 @@ export interface IInventoryService extends IModuleService {
|
|
697
697
|
* "ilev_123",
|
698
698
|
* ])
|
699
699
|
*/
|
700
|
-
restoreReservationItems<TReturnableLinkableKeys extends string = string>(
|
700
|
+
restoreReservationItems<TReturnableLinkableKeys extends string = string>(reservationItemIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
701
701
|
/**
|
702
702
|
* This method deletes inventory items by their IDs.
|
703
703
|
*
|
@@ -839,6 +839,43 @@ export interface IInventoryService extends IModuleService {
|
|
839
839
|
restoreInventoryLevels<TReturnableLinkableKeys extends string = string>(inventoryLevelIds: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<string, string[]> | void>;
|
840
840
|
/**
|
841
841
|
* This method adjusts the inventory quantity of an item in a location.
|
842
|
+
*
|
843
|
+
* @param data - The adjustments to make.
|
844
|
+
* @param {Context} context - A context used to share resources, such as transaction manager, between the application and the module.
|
845
|
+
* @returns {Promise<InventoryLevelDTO>} The updated inventory level.
|
846
|
+
*
|
847
|
+
* @example
|
848
|
+
* const inventoryLevel1 =
|
849
|
+
* await inventoryModuleService.adjustInventory([
|
850
|
+
* // add to the inventory quantity
|
851
|
+
* {
|
852
|
+
* inventoryItemId: "iitem_123",
|
853
|
+
* locationId: "loc_123",
|
854
|
+
* adjustment: 5
|
855
|
+
* },
|
856
|
+
* // subtract from the inventory quantity
|
857
|
+
* {
|
858
|
+
* inventoryItemId: "iitem_321",
|
859
|
+
* locationId: "loc_321",
|
860
|
+
* adjustment: -5
|
861
|
+
* }
|
862
|
+
* ])
|
863
|
+
*/
|
864
|
+
adjustInventory(data: {
|
865
|
+
/**
|
866
|
+
* The inventory item's ID.
|
867
|
+
*/
|
868
|
+
inventoryItemId: string;
|
869
|
+
/**
|
870
|
+
* The location's ID.
|
871
|
+
*/
|
872
|
+
locationId: string;
|
873
|
+
/**
|
874
|
+
* The adjustment to make to the quantity.
|
875
|
+
*/
|
876
|
+
adjustment: BigNumberInput;
|
877
|
+
}[], context?: Context): Promise<InventoryLevelDTO[]>;
|
878
|
+
/**
|
842
879
|
*
|
843
880
|
* @param {string} inventoryItemId - The inventory item's ID.
|
844
881
|
* @param {string} locationId - The location's ID.
|
@@ -863,11 +900,6 @@ export interface IInventoryService extends IModuleService {
|
|
863
900
|
* -5
|
864
901
|
* )
|
865
902
|
*/
|
866
|
-
adjustInventory(data: {
|
867
|
-
inventoryItemId: string;
|
868
|
-
locationId: string;
|
869
|
-
adjustment: BigNumberInput;
|
870
|
-
}[], context?: Context): Promise<InventoryLevelDTO[]>;
|
871
903
|
adjustInventory(inventoryItemId: string, locationId: string, adjustment: BigNumberInput, context?: Context): Promise<InventoryLevelDTO>;
|
872
904
|
/**
|
873
905
|
* This method confirms that a quantity is available of an inventory item in the specified locations.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/inventory/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC3B,MA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,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,IAAI,CAAC,EAAE,MAAM,CAAA;QACb,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;YACxC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;SACrC,CAAA;QACD,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,CAAA;CACF;AAED,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAA;KAC9C,CAAA;CACF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAClC,yBAAyB,GACzB,yBAAyB,CAAA;AAK7B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,cAAc,CAAC,IAAI,kBAAkB,CAAA;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QACxC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QAC3C,4BAA4B,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KACnD,CAAA;CACF"}
|
@@ -22,7 +22,7 @@ export type ModuleProviderExports<Service = any> = {
|
|
22
22
|
export type ModuleProviderLoaderFunction = (options: ProviderLoaderOptions, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
|
23
23
|
export type ModuleProvider = {
|
24
24
|
resolve: string | ModuleProviderExports<any>;
|
25
|
-
id
|
25
|
+
id?: string;
|
26
26
|
options?: Record<string, unknown>;
|
27
27
|
is_default?: boolean;
|
28
28
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"module-provider.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/module-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,eAAe,EAChB,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,qBAAqB,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACtE,SAAS,EAAE,eAAe,CAAA;IAC1B,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,qBAAqB,CAAC,OAAO,GAAG,GAAG,IAAI;IACjD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,CAAA;IAChC,OAAO,CAAC,EAAE,4BAA4B,EAAE,CAAA;IACxC,aAAa,CAAC,CACZ,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC,EACvC,iBAAiB,CAAC,EAAE,GAAG,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,eAAe,CAAC,CACd,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC,EACvC,iBAAiB,CAAC,EAAE,GAAG,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,iBAAiB,CAAC,CAChB,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC,EACvC,iBAAiB,CAAC,EAAE,GAAG,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,CACzC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AE,GAAG,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,CACzC,OAAO,EAAE,qBAAqB,EAC9B,iBAAiB,CAAC,EAAE,yBAAyB,KAC1C,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAA;IAC5C,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
|
@@ -170,4 +170,23 @@ export interface FilterableNotificationProps extends BaseFilterable<FilterableNo
|
|
170
170
|
*/
|
171
171
|
created_at?: OperatorMap<string>;
|
172
172
|
}
|
173
|
+
/**
|
174
|
+
* @interface
|
175
|
+
*
|
176
|
+
* The structure for content passed to the notification provider.
|
177
|
+
*/
|
178
|
+
export interface NotificationContent {
|
179
|
+
/**
|
180
|
+
* the subject of the notification
|
181
|
+
*/
|
182
|
+
subject?: string;
|
183
|
+
/**
|
184
|
+
* the text content of the notification
|
185
|
+
*/
|
186
|
+
text?: string;
|
187
|
+
/**
|
188
|
+
* the html content of the notification
|
189
|
+
*/
|
190
|
+
html?: string;
|
191
|
+
}
|
173
192
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/notification/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH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AM,GAAG,MAAM,EAAE,CAAC,CAAA;IAChE;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { NotificationContent } from "./common";
|
1
2
|
/**
|
2
3
|
* @interface
|
3
4
|
*
|
@@ -21,6 +22,10 @@ export interface CreateNotificationDTO {
|
|
21
22
|
* The data that gets passed over to the provider for rendering the notification.
|
22
23
|
*/
|
23
24
|
data?: Record<string, unknown> | null;
|
25
|
+
/**
|
26
|
+
* The content that gets passed over to the provider.
|
27
|
+
*/
|
28
|
+
content?: NotificationContent | null;
|
24
29
|
/**
|
25
30
|
* The event name, the workflow, or anything else that can help to identify what triggered the notification.
|
26
31
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/notification/mutations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC"}
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/notification/mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE9C;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAChC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Attachment } from "./common";
|
1
|
+
import { Attachment, NotificationContent } from "./common";
|
2
2
|
/**
|
3
3
|
* @interface
|
4
4
|
*
|
@@ -29,6 +29,10 @@ export type ProviderSendNotificationDTO = {
|
|
29
29
|
* The data that gets passed over to the provider for rendering the notification.
|
30
30
|
*/
|
31
31
|
data?: Record<string, unknown> | null;
|
32
|
+
/**
|
33
|
+
* The content that gets passed to the provider.
|
34
|
+
*/
|
35
|
+
content?: NotificationContent | null;
|
32
36
|
};
|
33
37
|
/**
|
34
38
|
* @interface
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/notification/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/notification/provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE1D;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,CAAA;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;CACrC,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,IAAI,CACF,YAAY,EAAE,2BAA2B,GACxC,OAAO,CAAC,kCAAkC,CAAC,CAAA;CAC/C"}
|
package/dist/order/common.d.ts
CHANGED
@@ -1876,55 +1876,6 @@ export interface OrderChangeActionDTO {
|
|
1876
1876
|
*/
|
1877
1877
|
updated_at: Date | string;
|
1878
1878
|
}
|
1879
|
-
/**
|
1880
|
-
* The order transaction details.
|
1881
|
-
*/
|
1882
|
-
export interface OrderTransactionDTO {
|
1883
|
-
/**
|
1884
|
-
* The ID of the transaction
|
1885
|
-
*/
|
1886
|
-
id: string;
|
1887
|
-
/**
|
1888
|
-
* The ID of the associated order
|
1889
|
-
*/
|
1890
|
-
order_id: string;
|
1891
|
-
/**
|
1892
|
-
* The associated order
|
1893
|
-
*
|
1894
|
-
* @expandable
|
1895
|
-
*/
|
1896
|
-
order: OrderDTO;
|
1897
|
-
/**
|
1898
|
-
* The amount of the transaction
|
1899
|
-
*/
|
1900
|
-
amount: BigNumberValue;
|
1901
|
-
/**
|
1902
|
-
* The raw amount of the transaction
|
1903
|
-
*
|
1904
|
-
* @ignore
|
1905
|
-
*/
|
1906
|
-
raw_amount: BigNumberRawValue;
|
1907
|
-
/**
|
1908
|
-
* The currency code of the transaction
|
1909
|
-
*/
|
1910
|
-
currency_code: string;
|
1911
|
-
/**
|
1912
|
-
* The reference of the transaction
|
1913
|
-
*/
|
1914
|
-
reference: string;
|
1915
|
-
/**
|
1916
|
-
* The ID of the reference
|
1917
|
-
*/
|
1918
|
-
reference_id: string;
|
1919
|
-
/**
|
1920
|
-
* When the transaction was created
|
1921
|
-
*/
|
1922
|
-
created_at: Date | string;
|
1923
|
-
/**
|
1924
|
-
* When the transaction was updated
|
1925
|
-
*/
|
1926
|
-
updated_at: Date | string;
|
1927
|
-
}
|
1928
1879
|
/**
|
1929
1880
|
* The order transaction details.
|
1930
1881
|
*/
|