@medusajs/types 1.12.0-snapshot-20240406075900 → 1.12.0-snapshot-20240409114424
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/common.d.ts +64 -47
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/mutations.d.ts +14 -13
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/workflows.d.ts +6 -5
- package/dist/cart/workflows.d.ts.map +1 -1
- package/dist/common/rule.d.ts +3 -0
- package/dist/common/rule.d.ts.map +1 -1
- package/dist/customer/common.d.ts +21 -13
- package/dist/customer/common.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +13 -13
- 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/common/address.d.ts +51 -0
- package/dist/fulfillment/common/address.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment-item.d.ts +39 -0
- package/dist/fulfillment/common/fulfillment-item.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment-label.d.ts +30 -0
- package/dist/fulfillment/common/fulfillment-label.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment-provider.d.ts +24 -0
- package/dist/fulfillment/common/fulfillment-provider.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment-set.d.ts +42 -0
- package/dist/fulfillment/common/fulfillment-set.d.ts.map +1 -1
- package/dist/fulfillment/common/fulfillment.d.ts +91 -0
- package/dist/fulfillment/common/fulfillment.d.ts.map +1 -1
- package/dist/fulfillment/common/geo-zone.d.ts +54 -0
- package/dist/fulfillment/common/geo-zone.d.ts.map +1 -1
- package/dist/fulfillment/common/service-zone.d.ts +52 -0
- package/dist/fulfillment/common/service-zone.d.ts.map +1 -1
- package/dist/fulfillment/common/shipping-option-rule.d.ts +51 -0
- package/dist/fulfillment/common/shipping-option-rule.d.ts.map +1 -1
- package/dist/fulfillment/common/shipping-option-type.d.ts +45 -0
- package/dist/fulfillment/common/shipping-option-type.d.ts.map +1 -1
- package/dist/fulfillment/common/shipping-option.d.ts +117 -0
- package/dist/fulfillment/common/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/common/shipping-profile.d.ts +42 -0
- package/dist/fulfillment/common/shipping-profile.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment-address.d.ts +39 -0
- package/dist/fulfillment/mutations/fulfillment-address.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment-item.d.ts +24 -0
- package/dist/fulfillment/mutations/fulfillment-item.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment-label.d.ts +15 -0
- package/dist/fulfillment/mutations/fulfillment-label.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment-set.d.ts +32 -2
- package/dist/fulfillment/mutations/fulfillment-set.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +66 -0
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
- package/dist/fulfillment/mutations/geo-zone.d.ts +123 -0
- package/dist/fulfillment/mutations/geo-zone.d.ts.map +1 -1
- package/dist/fulfillment/mutations/service-zone.d.ts +33 -1
- package/dist/fulfillment/mutations/service-zone.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts +21 -0
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option-type.d.ts +21 -0
- package/dist/fulfillment/mutations/shipping-option-type.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts +71 -1
- package/dist/fulfillment/mutations/shipping-option.d.ts.map +1 -1
- package/dist/fulfillment/mutations/shipping-profile.d.ts +15 -0
- package/dist/fulfillment/mutations/shipping-profile.d.ts.map +1 -1
- package/dist/fulfillment/service.d.ts +1933 -218
- package/dist/fulfillment/service.d.ts.map +1 -1
- package/dist/http/api-key/admin/api-key.d.ts +31 -0
- package/dist/http/api-key/admin/api-key.d.ts.map +1 -0
- package/dist/http/api-key/admin/api-key.js +3 -0
- package/dist/http/api-key/admin/api-key.js.map +1 -0
- package/dist/http/api-key/admin/index.d.ts +2 -0
- package/dist/http/api-key/admin/index.d.ts.map +1 -0
- package/dist/http/api-key/admin/index.js +18 -0
- package/dist/http/api-key/admin/index.js.map +1 -0
- package/dist/http/api-key/index.d.ts +2 -0
- package/dist/http/api-key/index.d.ts.map +1 -0
- package/dist/http/api-key/index.js +18 -0
- package/dist/http/api-key/index.js.map +1 -0
- package/dist/http/common/index.d.ts +2 -0
- package/dist/http/common/index.d.ts.map +1 -0
- package/dist/http/common/index.js +18 -0
- package/dist/http/common/index.js.map +1 -0
- package/dist/http/common/paginated-response.d.ts +6 -0
- package/dist/http/common/paginated-response.d.ts.map +1 -0
- package/dist/http/common/paginated-response.js +3 -0
- package/dist/http/common/paginated-response.js.map +1 -0
- package/dist/http/customer/admin/customer.d.ts +79 -0
- package/dist/http/customer/admin/customer.d.ts.map +1 -0
- package/dist/http/customer/admin/customer.js +3 -0
- package/dist/http/customer/admin/customer.js.map +1 -0
- package/dist/http/customer/admin/index.d.ts +2 -0
- package/dist/http/customer/admin/index.d.ts.map +1 -0
- package/dist/http/customer/admin/index.js +18 -0
- package/dist/http/customer/admin/index.js.map +1 -0
- package/dist/http/customer/index.d.ts +2 -0
- package/dist/http/customer/index.d.ts.map +1 -0
- package/dist/http/customer/index.js +18 -0
- package/dist/http/customer/index.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +9 -3
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/service-zone.d.ts +16 -0
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/shipping-option.d.ts +11 -4
- 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 +7 -1
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +7 -1
- package/dist/http/index.js.map +1 -1
- package/dist/http/pricing/index.d.ts +2 -0
- package/dist/http/pricing/index.d.ts.map +1 -0
- package/dist/http/pricing/index.js +18 -0
- package/dist/http/pricing/index.js.map +1 -0
- package/dist/http/pricing/price.d.ts +8 -0
- package/dist/http/pricing/price.d.ts.map +1 -0
- package/dist/http/pricing/price.js +3 -0
- package/dist/http/pricing/price.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/http/sales-channel/admin/index.d.ts +2 -0
- package/dist/http/sales-channel/admin/index.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/index.js +18 -0
- package/dist/http/sales-channel/admin/index.js.map +1 -0
- package/dist/http/sales-channel/admin/sales-channel.d.ts +25 -0
- package/dist/http/sales-channel/admin/sales-channel.d.ts.map +1 -0
- package/dist/http/sales-channel/admin/sales-channel.js +3 -0
- package/dist/http/sales-channel/admin/sales-channel.js.map +1 -0
- package/dist/http/sales-channel/index.d.ts +2 -0
- package/dist/http/sales-channel/index.d.ts.map +1 -0
- package/dist/http/sales-channel/index.js +18 -0
- package/dist/http/sales-channel/index.js.map +1 -0
- package/dist/http/tax/admin/index.d.ts +2 -0
- package/dist/http/tax/admin/index.d.ts.map +1 -0
- package/dist/http/tax/admin/index.js +18 -0
- package/dist/http/tax/admin/index.js.map +1 -0
- package/dist/http/tax/admin/tax-regions.d.ts +32 -0
- package/dist/http/tax/admin/tax-regions.d.ts.map +1 -0
- package/dist/http/tax/admin/tax-regions.js +3 -0
- package/dist/http/tax/admin/tax-regions.js.map +1 -0
- package/dist/http/tax/index.d.ts +2 -0
- package/dist/http/tax/index.d.ts.map +1 -0
- package/dist/http/tax/index.js +18 -0
- package/dist/http/tax/index.js.map +1 -0
- package/dist/joiner/index.d.ts +2 -2
- package/dist/joiner/index.d.ts.map +1 -1
- package/dist/modules-sdk/index.d.ts +12 -10
- package/dist/modules-sdk/index.d.ts.map +1 -1
- package/dist/order/common.d.ts +111 -45
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/index.d.ts +1 -0
- package/dist/order/index.d.ts.map +1 -1
- package/dist/order/index.js +1 -0
- package/dist/order/index.js.map +1 -1
- package/dist/order/mutations.d.ts +14 -14
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +60 -662
- package/dist/order/service.d.ts.map +1 -1
- package/dist/order/workflows.d.ts +8 -0
- package/dist/order/workflows.d.ts.map +1 -0
- package/dist/order/workflows.js +3 -0
- package/dist/order/workflows.js.map +1 -0
- package/dist/payment/common.d.ts +14 -13
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/payment/common.js.map +1 -1
- package/dist/payment/mutations.d.ts +9 -8
- package/dist/payment/mutations.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +6 -5
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/provider.js.map +1 -1
- package/dist/payment/service.d.ts +1 -0
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/pricing/common/money-amount.d.ts +10 -9
- package/dist/pricing/common/money-amount.d.ts.map +1 -1
- package/dist/pricing/common/price-set.d.ts +9 -8
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/common/price.d.ts +10 -9
- package/dist/pricing/common/price.d.ts.map +1 -1
- package/dist/pricing/workflows.d.ts +10 -20
- package/dist/pricing/workflows.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/http.d.ts +14 -0
- package/dist/promotion/http.d.ts.map +1 -0
- package/dist/promotion/http.js +3 -0
- package/dist/promotion/http.js.map +1 -0
- package/dist/promotion/index.d.ts +1 -0
- package/dist/promotion/index.d.ts.map +1 -1
- package/dist/promotion/index.js +1 -0
- package/dist/promotion/index.js.map +1 -1
- package/dist/region/common.d.ts +5 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +4 -0
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/tax/common.d.ts +4 -3
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/totals/big-number.d.ts +1 -0
- package/dist/totals/big-number.d.ts.map +1 -1
- package/dist/totals/index.d.ts +24 -0
- package/dist/totals/index.d.ts.map +1 -1
- package/dist/totals/index.js.map +1 -1
- package/dist/workflow/fulfillment/create-shipping-options.d.ts +31 -0
- package/dist/workflow/fulfillment/create-shipping-options.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-shipping-options.js +3 -0
- package/dist/workflow/fulfillment/create-shipping-options.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +5 -0
- package/dist/workflow/fulfillment/index.d.ts.map +1 -0
- package/dist/workflow/fulfillment/index.js +21 -0
- package/dist/workflow/fulfillment/index.js.map +1 -0
- package/dist/workflow/fulfillment/service-zones.d.ts +21 -0
- package/dist/workflow/fulfillment/service-zones.d.ts.map +1 -0
- package/dist/workflow/fulfillment/service-zones.js +3 -0
- package/dist/workflow/fulfillment/service-zones.js.map +1 -0
- 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 +32 -0
- package/dist/workflow/fulfillment/update-shipping-options.d.ts.map +1 -0
- package/dist/workflow/fulfillment/update-shipping-options.js +3 -0
- package/dist/workflow/fulfillment/update-shipping-options.js.map +1 -0
- 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/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/customer/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,kBAAkB,EAAE,OAAO,CAAA;IAE3B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY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MAAM,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B,CAAA"}
|
@@ -74,7 +74,7 @@ export interface UpdateCustomerAddressDTO {
|
|
74
74
|
/**
|
75
75
|
* The address's name.
|
76
76
|
*/
|
77
|
-
address_name?: string;
|
77
|
+
address_name?: string | null;
|
78
78
|
/**
|
79
79
|
* Whether the address is the default for shipping.
|
80
80
|
*/
|
@@ -86,51 +86,51 @@ export interface UpdateCustomerAddressDTO {
|
|
86
86
|
/**
|
87
87
|
* The associated customer's ID.
|
88
88
|
*/
|
89
|
-
customer_id?: string;
|
89
|
+
customer_id?: string | null;
|
90
90
|
/**
|
91
91
|
* The company.
|
92
92
|
*/
|
93
|
-
company?: string;
|
93
|
+
company?: string | null;
|
94
94
|
/**
|
95
95
|
* The first name.
|
96
96
|
*/
|
97
|
-
first_name?: string;
|
97
|
+
first_name?: string | null;
|
98
98
|
/**
|
99
99
|
* The last name.
|
100
100
|
*/
|
101
|
-
last_name?: string;
|
101
|
+
last_name?: string | null;
|
102
102
|
/**
|
103
103
|
* The address 1.
|
104
104
|
*/
|
105
|
-
address_1?: string;
|
105
|
+
address_1?: string | null;
|
106
106
|
/**
|
107
107
|
* The address 2.
|
108
108
|
*/
|
109
|
-
address_2?: string;
|
109
|
+
address_2?: string | null;
|
110
110
|
/**
|
111
111
|
* The city.
|
112
112
|
*/
|
113
|
-
city?: string;
|
113
|
+
city?: string | null;
|
114
114
|
/**
|
115
115
|
* The country code.
|
116
116
|
*/
|
117
|
-
country_code?: string;
|
117
|
+
country_code?: string | null;
|
118
118
|
/**
|
119
119
|
* The province.
|
120
120
|
*/
|
121
|
-
province?: string;
|
121
|
+
province?: string | null;
|
122
122
|
/**
|
123
123
|
* The postal code.
|
124
124
|
*/
|
125
|
-
postal_code?: string;
|
125
|
+
postal_code?: string | null;
|
126
126
|
/**
|
127
127
|
* The phone.
|
128
128
|
*/
|
129
|
-
phone?: string;
|
129
|
+
phone?: string | null;
|
130
130
|
/**
|
131
131
|
* Holds custom data in key-value pairs.
|
132
132
|
*/
|
133
|
-
metadata?: Record<string, unknown
|
133
|
+
metadata?: Record<string, unknown> | null;
|
134
134
|
}
|
135
135
|
/**
|
136
136
|
* The customer to be created.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/customer/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAE5B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"m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,GAAG,IAAI,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;IAEvB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { RepositoryTransformOptions } from "../common";
|
2
2
|
import { Context } from "../shared-context";
|
3
|
-
import { BaseFilterable, FilterQuery
|
3
|
+
import { BaseFilterable, FilterQuery, FindOptions, FilterQuery as InternalFilterQuery, UpsertWithReplaceConfig } from "./index";
|
4
4
|
/**
|
5
5
|
* Data access layer (DAL) interface to implements for any repository service.
|
6
6
|
* This layer helps to separate the business logic (service layer) from accessing the
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"repository-service.d.ts","sourceRoot":"","sources":["../../src/dal/repository-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,EAAE,O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AC,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,GAAG,GAAG,CAC5C,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IAChC,IAAI,CACF,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,EACxB,gBAAgB,CAAC,EAAE,0BAA0B,EAC7C,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,CAAC,EAAE,CAAC,CAAA;IAEf,YAAY,CACV,OAAO,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,EACxB,gBAAgB,CAAC,EAAE,0BAA0B,EAC7C,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;IAEzB,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IAEpD,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACrD;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC/D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,CAAC,uBAAuB,GAAG,MAAM,IAAI;IAC5D;;OAEG;IACH,kBAAkB,CAAC,EAAE,uBAAuB,EAAE,CAAA;CAC/C,CAAA"}
|
package/dist/file/index.d.ts
CHANGED
package/dist/file/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA"}
|
package/dist/file/index.js
CHANGED
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./common"), exports);
|
18
18
|
__exportStar(require("./mutations"), exports);
|
19
19
|
__exportStar(require("./service"), exports);
|
20
|
+
__exportStar(require("./provider"), exports);
|
20
21
|
//# sourceMappingURL=index.js.map
|
package/dist/file/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B"}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
/**
|
2
|
+
* @interface
|
3
|
+
*
|
4
|
+
* Details of a file upload's result.
|
5
|
+
*/
|
6
|
+
export type ProviderFileResultDTO = {
|
7
|
+
/**
|
8
|
+
* The file's URL.
|
9
|
+
*/
|
10
|
+
url: string;
|
11
|
+
/**
|
12
|
+
* The file's key. This key is used in other operations,
|
13
|
+
* such as deleting a file.
|
14
|
+
*/
|
15
|
+
key: string;
|
16
|
+
};
|
17
|
+
/**
|
18
|
+
* @interface
|
19
|
+
*
|
20
|
+
* The details of a file to retrieve.
|
21
|
+
*/
|
22
|
+
export type ProviderGetFileDTO = {
|
23
|
+
/**
|
24
|
+
* The file's key.
|
25
|
+
*/
|
26
|
+
fileKey: string;
|
27
|
+
/**
|
28
|
+
* Whether the file is private.
|
29
|
+
*/
|
30
|
+
isPrivate?: boolean;
|
31
|
+
[x: string]: unknown;
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* @interface
|
35
|
+
*
|
36
|
+
* The details of the file to remove.
|
37
|
+
*/
|
38
|
+
export type ProviderDeleteFileDTO = {
|
39
|
+
/**
|
40
|
+
* The file's key. When uploading a file, the
|
41
|
+
* returned key is used here.
|
42
|
+
*/
|
43
|
+
fileKey: string;
|
44
|
+
[x: string]: unknown;
|
45
|
+
};
|
46
|
+
/**
|
47
|
+
* @interface
|
48
|
+
*
|
49
|
+
* The details of the file to create.
|
50
|
+
*/
|
51
|
+
export type ProviderUploadFileDTO = {
|
52
|
+
/**
|
53
|
+
* The filename of the uploaded file
|
54
|
+
*/
|
55
|
+
filename: string;
|
56
|
+
/**
|
57
|
+
* The mimetype of the uploaded file
|
58
|
+
*/
|
59
|
+
mimeType: string;
|
60
|
+
/**
|
61
|
+
* The file content
|
62
|
+
*/
|
63
|
+
content: Blob;
|
64
|
+
};
|
65
|
+
/**
|
66
|
+
* ## Overview
|
67
|
+
*
|
68
|
+
* File provider interface for the file module.
|
69
|
+
*
|
70
|
+
*/
|
71
|
+
export interface IFileProvider {
|
72
|
+
/**
|
73
|
+
* This method is used to upload a file
|
74
|
+
*
|
75
|
+
* @param {ProviderUploadFileDTO} file - The contents and metadata of the file.
|
76
|
+
* Among the file’s details, you can access the file’s path in the `path` property of the file object.
|
77
|
+
* @returns {Promise<ProviderFileResultDTO>} The details of the upload's result.
|
78
|
+
*
|
79
|
+
*/
|
80
|
+
upload(file: ProviderUploadFileDTO): Promise<ProviderFileResultDTO>;
|
81
|
+
/**
|
82
|
+
* This method is used to delete a file from storage.
|
83
|
+
*
|
84
|
+
* @param {ProviderDeleteFileDTO} fileData - The details of the file to remove.
|
85
|
+
* @returns {Promise<void>} Resolves when the file is deleted successfully.
|
86
|
+
*
|
87
|
+
*/
|
88
|
+
delete(fileData: ProviderDeleteFileDTO): Promise<void>;
|
89
|
+
/**
|
90
|
+
* This method is used to retrieve a download URL of the file. For some file services, such as S3, a presigned URL indicates a temporary URL to get access to a file.
|
91
|
+
*
|
92
|
+
* If your file service doesn’t perform or offer a similar functionality, you can just return the URL to download the file.
|
93
|
+
*
|
94
|
+
* @param {ProviderGetFileDTO} fileData - The details of the file.
|
95
|
+
* @returns {Promise<string>} The presigned URL to download the file
|
96
|
+
*
|
97
|
+
*/
|
98
|
+
getPresignedDownloadUrl(fileData: ProviderGetFileDTO): Promise<string>;
|
99
|
+
}
|
100
|
+
//# sourceMappingURL=provider.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/file/provider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAA;CACd,CAAA;AAED;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;IACnE;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACtD;;;;;;;;OAQG;IACH,uBAAuB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACvE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../src/file/provider.ts"],"names":[],"mappings":""}
|
@@ -1,19 +1,70 @@
|
|
1
|
+
/**
|
2
|
+
* The fulfillment address details.
|
3
|
+
*/
|
1
4
|
export interface FulfillmentAddressDTO {
|
5
|
+
/**
|
6
|
+
* The ID of the address.
|
7
|
+
*/
|
2
8
|
id: string;
|
9
|
+
/**
|
10
|
+
* The associated fulfillment's ID.
|
11
|
+
*/
|
3
12
|
fulfillment_id: string | null;
|
13
|
+
/**
|
14
|
+
* The company of the address.
|
15
|
+
*/
|
4
16
|
company: string | null;
|
17
|
+
/**
|
18
|
+
* The first name of the address.
|
19
|
+
*/
|
5
20
|
first_name: string | null;
|
21
|
+
/**
|
22
|
+
* The last name of the address.
|
23
|
+
*/
|
6
24
|
last_name: string | null;
|
25
|
+
/**
|
26
|
+
* The first line of the address.
|
27
|
+
*/
|
7
28
|
address_1: string | null;
|
29
|
+
/**
|
30
|
+
* The second line of the address.
|
31
|
+
*/
|
8
32
|
address_2: string | null;
|
33
|
+
/**
|
34
|
+
* The city of the address.
|
35
|
+
*/
|
9
36
|
city: string | null;
|
37
|
+
/**
|
38
|
+
* The ISO 2 character country code of the address.
|
39
|
+
*/
|
10
40
|
country_code: string | null;
|
41
|
+
/**
|
42
|
+
* The province of the address.
|
43
|
+
*/
|
11
44
|
province: string | null;
|
45
|
+
/**
|
46
|
+
* The postal code of the address.
|
47
|
+
*/
|
12
48
|
postal_code: string | null;
|
49
|
+
/**
|
50
|
+
* The phone of the address.
|
51
|
+
*/
|
13
52
|
phone: string | null;
|
53
|
+
/**
|
54
|
+
* Holds custom data in key-value pairs.
|
55
|
+
*/
|
14
56
|
metadata: Record<string, unknown> | null;
|
57
|
+
/**
|
58
|
+
* The creation date of the address.
|
59
|
+
*/
|
15
60
|
created_at: Date;
|
61
|
+
/**
|
62
|
+
* The update date of the address.
|
63
|
+
*/
|
16
64
|
updated_at: Date;
|
65
|
+
/**
|
66
|
+
* The deletion date of the address.
|
67
|
+
*/
|
17
68
|
deleted_at: Date | null;
|
18
69
|
}
|
19
70
|
//# sourceMappingURL=address.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/address.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/address.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAE7B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAEnB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,16 +1,55 @@
|
|
1
1
|
import { FulfillmentDTO } from "./fulfillment";
|
2
|
+
/**
|
3
|
+
* The fulfillment item details.
|
4
|
+
*/
|
2
5
|
export interface FulfillmentItemDTO {
|
6
|
+
/**
|
7
|
+
* The ID of the fulfillment item.
|
8
|
+
*/
|
3
9
|
id: string;
|
10
|
+
/**
|
11
|
+
* The title of the fulfillment item.
|
12
|
+
*/
|
4
13
|
title: string;
|
14
|
+
/**
|
15
|
+
* The quantity of the fulfillment item.
|
16
|
+
*/
|
5
17
|
quantity: number;
|
18
|
+
/**
|
19
|
+
* The sku of the fulfillment item.
|
20
|
+
*/
|
6
21
|
sku: string;
|
22
|
+
/**
|
23
|
+
* The barcode of the fulfillment item.
|
24
|
+
*/
|
7
25
|
barcode: string;
|
26
|
+
/**
|
27
|
+
* The associated line item's ID.
|
28
|
+
*/
|
8
29
|
line_item_id: string | null;
|
30
|
+
/**
|
31
|
+
* The associated inventory item's ID.
|
32
|
+
*/
|
9
33
|
inventory_item_id: string | null;
|
34
|
+
/**
|
35
|
+
* The associated fulfillment's ID.
|
36
|
+
*/
|
10
37
|
fulfillment_id: string;
|
38
|
+
/**
|
39
|
+
* The associated fulfillment.
|
40
|
+
*/
|
11
41
|
fulfillment: FulfillmentDTO;
|
42
|
+
/**
|
43
|
+
* The creation date of the fulfillment item.
|
44
|
+
*/
|
12
45
|
created_at: Date;
|
46
|
+
/**
|
47
|
+
* The update date of the fulfillment item.
|
48
|
+
*/
|
13
49
|
updated_at: Date;
|
50
|
+
/**
|
51
|
+
* The deletion date of the fulfillment item.
|
52
|
+
*/
|
14
53
|
deleted_at: Date | null;
|
15
54
|
}
|
16
55
|
//# sourceMappingURL=fulfillment-item.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"fulfillment-item.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAEhC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,WAAW,EAAE,cAAc,CAAA;IAE3B;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,13 +1,43 @@
|
|
1
1
|
import { FulfillmentDTO } from "./fulfillment";
|
2
|
+
/**
|
3
|
+
* The fulfillment label details.
|
4
|
+
*/
|
2
5
|
export interface FulfillmentLabelDTO {
|
6
|
+
/**
|
7
|
+
* The ID of the fulfillment label.
|
8
|
+
*/
|
3
9
|
id: string;
|
10
|
+
/**
|
11
|
+
* The tracking number of the fulfillment label.
|
12
|
+
*/
|
4
13
|
tracking_number: string;
|
14
|
+
/**
|
15
|
+
* The tracking URL of the fulfillment label.
|
16
|
+
*/
|
5
17
|
tracking_url: string;
|
18
|
+
/**
|
19
|
+
* The label's URL.
|
20
|
+
*/
|
6
21
|
label_url: string;
|
22
|
+
/**
|
23
|
+
* The associated fulfillment's ID.
|
24
|
+
*/
|
7
25
|
fulfillment_id: string;
|
26
|
+
/**
|
27
|
+
* The associated fulfillment.
|
28
|
+
*/
|
8
29
|
fulfillment: FulfillmentDTO;
|
30
|
+
/**
|
31
|
+
* The creation date of the fulfillment label.
|
32
|
+
*/
|
9
33
|
created_at: Date;
|
34
|
+
/**
|
35
|
+
* The update date of the fulfillment label.
|
36
|
+
*/
|
10
37
|
updated_at: Date;
|
38
|
+
/**
|
39
|
+
* The deletion date of the fulfillment label.
|
40
|
+
*/
|
11
41
|
deleted_at: Date | null;
|
12
42
|
}
|
13
43
|
//# sourceMappingURL=fulfillment-label.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"fulfillment-label.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-label.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,eAAe,EAAE,MAAM,CAAA;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IAEtB;;OAEG;IACH,WAAW,EAAE,cAAc,CAAA;IAE3B;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,11 +1,35 @@
|
|
1
1
|
import { ShippingOptionDTO } from "./shipping-option";
|
2
|
+
/**
|
3
|
+
* The fulfillment provider details.
|
4
|
+
*/
|
2
5
|
export interface FulfillmentProviderDTO {
|
6
|
+
/**
|
7
|
+
* The ID of the fulfillment provider.
|
8
|
+
*/
|
3
9
|
id: string;
|
10
|
+
/**
|
11
|
+
* The name of the fulfillment provider.
|
12
|
+
*/
|
4
13
|
name: string;
|
14
|
+
/**
|
15
|
+
* Holds custom data in key-value pairs.
|
16
|
+
*/
|
5
17
|
metadata: Record<string, unknown> | null;
|
18
|
+
/**
|
19
|
+
* The shipping options associated with the fulfillment provider.
|
20
|
+
*/
|
6
21
|
shipping_options: ShippingOptionDTO[];
|
22
|
+
/**
|
23
|
+
* The creation date of the fulfillment provider.
|
24
|
+
*/
|
7
25
|
created_at: Date;
|
26
|
+
/**
|
27
|
+
* The update date of the fulfillment provider.
|
28
|
+
*/
|
8
29
|
updated_at: Date;
|
30
|
+
/**
|
31
|
+
* The deletion date of the fulfillment provider.
|
32
|
+
*/
|
9
33
|
deleted_at: Date | null;
|
10
34
|
}
|
11
35
|
//# sourceMappingURL=fulfillment-provider.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAErD,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"fulfillment-provider.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB"}
|
@@ -1,19 +1,61 @@
|
|
1
1
|
import { FilterableServiceZoneProps, ServiceZoneDTO } from "./service-zone";
|
2
2
|
import { BaseFilterable } from "../../dal";
|
3
|
+
/**
|
4
|
+
* The fulfillment set details.
|
5
|
+
*/
|
3
6
|
export interface FulfillmentSetDTO {
|
7
|
+
/**
|
8
|
+
* The ID of the fulfillment set.
|
9
|
+
*/
|
4
10
|
id: string;
|
11
|
+
/**
|
12
|
+
* The name of the fulfillment set.
|
13
|
+
*/
|
5
14
|
name: string;
|
15
|
+
/**
|
16
|
+
* The type of the fulfillment set.
|
17
|
+
*/
|
6
18
|
type: string;
|
19
|
+
/**
|
20
|
+
* Holds custom data in key-value pairs.
|
21
|
+
*/
|
7
22
|
metadata: Record<string, unknown> | null;
|
23
|
+
/**
|
24
|
+
* The service zones associated with the fulfillment set.
|
25
|
+
*/
|
8
26
|
service_zones: ServiceZoneDTO[];
|
27
|
+
/**
|
28
|
+
* The creation date of the fulfillment set.
|
29
|
+
*/
|
9
30
|
created_at: Date;
|
31
|
+
/**
|
32
|
+
* The update date of the fulfillment set.
|
33
|
+
*/
|
10
34
|
updated_at: Date;
|
35
|
+
/**
|
36
|
+
* The deletion date of the fulfillment set.
|
37
|
+
*/
|
11
38
|
deleted_at: Date | null;
|
12
39
|
}
|
40
|
+
/**
|
41
|
+
* The filters to apply on the retrieved fulfillment sets.
|
42
|
+
*/
|
13
43
|
export interface FilterableFulfillmentSetProps extends BaseFilterable<FilterableFulfillmentSetProps> {
|
44
|
+
/**
|
45
|
+
* The IDs to filter the fulfillment sets by.
|
46
|
+
*/
|
14
47
|
id?: string | string[];
|
48
|
+
/**
|
49
|
+
* Filter the fulfillment sets by their name.
|
50
|
+
*/
|
15
51
|
name?: string | string[];
|
52
|
+
/**
|
53
|
+
* Filter the fulfillment sets by their type.
|
54
|
+
*/
|
16
55
|
type?: string | string[];
|
56
|
+
/**
|
57
|
+
* The filters to apply on the retrieved service zones.
|
58
|
+
*/
|
17
59
|
service_zones?: FilterableServiceZoneProps;
|
18
60
|
}
|
19
61
|
//# sourceMappingURL=fulfillment-set.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"fulfillment-set.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/common/fulfillment-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,aAAa,EAAE,cAAc,EAAE,CAAA;IAE/B;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAA;IAEhB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAA;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,6BACf,SAAQ,cAAc,CAAC,6BAA6B,CAAC;IACrD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,0BAA0B,CAAA;CAC3C"}
|