@medusajs/types 1.12.0-snapshot-20240423083106 → 1.12.0-snapshot-20240426112214
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 +4 -0
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/currency/common/currency.d.ts +4 -0
- package/dist/currency/common/currency.d.ts.map +1 -1
- package/dist/customer/common.d.ts +12 -0
- package/dist/customer/common.d.ts.map +1 -1
- package/dist/file/common.d.ts +11 -0
- package/dist/file/common.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/mutations.d.ts +2 -2
- package/dist/file/mutations.d.ts.map +1 -1
- package/dist/file/provider.d.ts +2 -2
- package/dist/file/provider.d.ts.map +1 -1
- package/dist/file/providers/index.d.ts +3 -0
- package/dist/file/providers/index.d.ts.map +1 -0
- package/dist/file/providers/index.js +19 -0
- package/dist/file/providers/index.js.map +1 -0
- package/dist/file/providers/local.d.ts +5 -0
- package/dist/file/providers/local.d.ts.map +1 -0
- package/dist/file/providers/local.js +3 -0
- package/dist/file/providers/local.js.map +1 -0
- package/dist/file/providers/s3.d.ts +13 -0
- package/dist/file/providers/s3.d.ts.map +1 -0
- package/dist/file/providers/s3.js +3 -0
- package/dist/file/providers/s3.js.map +1 -0
- package/dist/file/service.d.ts +25 -1
- package/dist/file/service.d.ts.map +1 -1
- package/dist/fulfillment/mutations/fulfillment.d.ts +4 -0
- package/dist/fulfillment/mutations/fulfillment.d.ts.map +1 -1
- package/dist/http/campaign/admin/campaign.d.ts +32 -0
- package/dist/http/campaign/admin/campaign.d.ts.map +1 -0
- package/dist/http/campaign/admin/campaign.js +3 -0
- package/dist/http/campaign/admin/campaign.js.map +1 -0
- package/dist/http/campaign/admin/index.d.ts +2 -0
- package/dist/http/campaign/admin/index.d.ts.map +1 -0
- package/dist/http/campaign/admin/index.js +18 -0
- package/dist/http/campaign/admin/index.js.map +1 -0
- package/dist/http/campaign/index.d.ts +2 -0
- package/dist/http/campaign/index.d.ts.map +1 -0
- package/dist/http/campaign/index.js +18 -0
- package/dist/http/campaign/index.js.map +1 -0
- package/dist/http/index.d.ts +4 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +4 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/promotion/admin/index.d.ts +4 -0
- package/dist/http/promotion/admin/index.d.ts.map +1 -0
- package/dist/http/promotion/admin/index.js +20 -0
- package/dist/http/promotion/admin/index.js.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts +23 -0
- package/dist/http/promotion/admin/promotion-rule.d.ts.map +1 -0
- package/dist/http/promotion/admin/promotion-rule.js +3 -0
- package/dist/http/promotion/admin/promotion-rule.js.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts +18 -0
- package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-attribute-options.js +3 -0
- package/dist/http/promotion/admin/rule-attribute-options.js.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts +15 -0
- package/dist/http/promotion/admin/rule-operator-options.d.ts.map +1 -0
- package/dist/http/promotion/admin/rule-operator-options.js +3 -0
- package/dist/http/promotion/admin/rule-operator-options.js.map +1 -0
- package/dist/http/promotion/index.d.ts +2 -0
- package/dist/http/promotion/index.d.ts.map +1 -0
- package/dist/http/promotion/index.js +18 -0
- package/dist/http/promotion/index.js.map +1 -0
- package/dist/http/reservation/admin/index.d.ts +2 -0
- package/dist/http/reservation/admin/index.d.ts.map +1 -0
- package/dist/http/reservation/admin/index.js +18 -0
- package/dist/http/reservation/admin/index.js.map +1 -0
- package/dist/http/reservation/admin/reservation.d.ts +33 -0
- package/dist/http/reservation/admin/reservation.d.ts.map +1 -0
- package/dist/http/reservation/admin/reservation.js +3 -0
- package/dist/http/reservation/admin/reservation.js.map +1 -0
- package/dist/http/reservation/index.d.ts +2 -0
- package/dist/http/reservation/index.d.ts.map +1 -0
- package/dist/http/reservation/index.js +18 -0
- package/dist/http/reservation/index.js.map +1 -0
- package/dist/inventory/common/inventory-item.d.ts +4 -4
- package/dist/inventory/common/inventory-item.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +53 -1
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/mutations.js +1 -1
- package/dist/order/mutations.js.map +1 -1
- package/dist/order/service.d.ts +12 -8
- package/dist/order/service.d.ts.map +1 -1
- package/dist/payment/common.d.ts +4 -0
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +8 -4
- package/dist/pricing/common/price-list.d.ts.map +1 -1
- package/dist/product/common.d.ts +19 -4
- package/dist/product/common.d.ts.map +1 -1
- package/dist/promotion/common/campaign.d.ts +4 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +4 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/http.d.ts +2 -1
- package/dist/promotion/http.d.ts.map +1 -1
- package/dist/region/common.d.ts +4 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/sales-channel/common.d.ts +4 -0
- package/dist/sales-channel/common.d.ts.map +1 -1
- package/dist/store/common/store.d.ts +4 -0
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/tax/common.d.ts +8 -0
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/user/common.d.ts +4 -0
- package/dist/user/common.d.ts.map +1 -1
- package/dist/workflow/fulfillment/create-fulfillment.d.ts +151 -0
- package/dist/workflow/fulfillment/create-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/create-fulfillment.js.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts +15 -0
- package/dist/workflow/fulfillment/create-shipment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/create-shipment.js +3 -0
- package/dist/workflow/fulfillment/create-shipment.js.map +1 -0
- package/dist/workflow/fulfillment/index.d.ts +4 -1
- package/dist/workflow/fulfillment/index.d.ts.map +1 -1
- package/dist/workflow/fulfillment/index.js +4 -1
- package/dist/workflow/fulfillment/index.js.map +1 -1
- package/dist/workflow/fulfillment/update-fulfillment.d.ts +34 -0
- package/dist/workflow/fulfillment/update-fulfillment.d.ts.map +1 -0
- package/dist/workflow/fulfillment/update-fulfillment.js +3 -0
- package/dist/workflow/fulfillment/update-fulfillment.js.map +1 -0
- package/dist/workflow/product-category/index.d.ts +3 -0
- package/dist/workflow/product-category/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -54,6 +54,10 @@ export interface ApiKeyDTO {
|
|
54
54
|
* The filters to apply on the retrieved API keys.
|
55
55
|
*/
|
56
56
|
export interface FilterableApiKeyProps extends BaseFilterable<FilterableApiKeyProps> {
|
57
|
+
/**
|
58
|
+
* Search through the api key names and redacted keys using this search term.
|
59
|
+
*/
|
60
|
+
q?: string;
|
57
61
|
/**
|
58
62
|
* The IDs to filter the API keys by.
|
59
63
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../src/api-key/common/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAA;AAEjD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;IAEhB;;OAEG;IACH,YAAY,EAAE,IAAI,GAAG,IAAI,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,E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AqB,CAAC;IAC7C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB"}
|
@@ -40,6 +40,10 @@ export interface CurrencyDTO {
|
|
40
40
|
* Filters to apply on a currency.
|
41
41
|
*/
|
42
42
|
export interface FilterableCurrencyProps extends BaseFilterable<FilterableCurrencyProps> {
|
43
|
+
/**
|
44
|
+
* Search through currencies using this search term.
|
45
|
+
*/
|
46
|
+
q?: string;
|
43
47
|
/**
|
44
48
|
* The codes to filter the currencies by.
|
45
49
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../src/currency/common/currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
|
1
|
+
{"version":3,"file":"currency.d.ts","sourceRoot":"","sources":["../../../src/currency/common/currency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,uBAAuB,CAAC;IAC/C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB"}
|
@@ -82,6 +82,10 @@ export interface CustomerAddressDTO {
|
|
82
82
|
* The filters to apply on the retrieved customer address.
|
83
83
|
*/
|
84
84
|
export interface FilterableCustomerAddressProps extends BaseFilterable<FilterableCustomerAddressProps> {
|
85
|
+
/**
|
86
|
+
* Searches for addreses by properties such as name and street using this search term.
|
87
|
+
*/
|
88
|
+
q?: string;
|
85
89
|
/**
|
86
90
|
* The IDs to filter the customer address by.
|
87
91
|
*/
|
@@ -163,6 +167,10 @@ export interface FilterableCustomerAddressProps extends BaseFilterable<Filterabl
|
|
163
167
|
* The filters to apply on the retrieved customer group.
|
164
168
|
*/
|
165
169
|
export interface FilterableCustomerGroupProps extends BaseFilterable<FilterableCustomerGroupProps> {
|
170
|
+
/**
|
171
|
+
* Searches for customer groups by name using this search term.
|
172
|
+
*/
|
173
|
+
q?: string;
|
166
174
|
/**
|
167
175
|
* The IDs to filter the customer group by.
|
168
176
|
*/
|
@@ -229,6 +237,10 @@ export interface FilterableCustomerGroupCustomerProps extends BaseFilterable<Fil
|
|
229
237
|
* The filters to apply on the retrieved customer.
|
230
238
|
*/
|
231
239
|
export interface FilterableCustomerProps extends BaseFilterable<FilterableCustomerProps> {
|
240
|
+
/**
|
241
|
+
* Searches for customers by properties such as name and email using this search term.
|
242
|
+
*/
|
243
|
+
q?: string;
|
232
244
|
/**
|
233
245
|
* The IDs to filter the customer by.
|
234
246
|
*/
|
@@ -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,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;IAElC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,8BACf,SAAQ,cAAc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ACH,eAAe,CAAC,EAAE,UAAU,CAAA;IAE5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAA;IAE7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;KACX,EAAE,CAAA;IAEH;;OAEG;IACH,MAAM,EAAE;QACN;;WAEG;QACH,EAAE,EAAE,MAAM,CAAA;KACX,EAAE,CAAA;IAEH;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;CAC3B,CAAA"}
|
package/dist/file/common.d.ts
CHANGED
@@ -11,4 +11,15 @@ export interface FileDTO {
|
|
11
11
|
*/
|
12
12
|
url: string;
|
13
13
|
}
|
14
|
+
/**
|
15
|
+
* @interface
|
16
|
+
*
|
17
|
+
* Filters to apply on a currency.
|
18
|
+
*/
|
19
|
+
export interface FilterableFileProps {
|
20
|
+
/**
|
21
|
+
* The file ID to filter by.
|
22
|
+
*/
|
23
|
+
id?: string;
|
24
|
+
}
|
14
25
|
//# sourceMappingURL=common.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/file/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ"}
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/file/common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
|
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;AACzB,cAAc,YAAY,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;AAC1B,cAAc,aAAa,CAAA"}
|
package/dist/file/index.js
CHANGED
@@ -18,4 +18,5 @@ __exportStar(require("./common"), exports);
|
|
18
18
|
__exportStar(require("./mutations"), exports);
|
19
19
|
__exportStar(require("./service"), exports);
|
20
20
|
__exportStar(require("./provider"), exports);
|
21
|
+
__exportStar(require("./providers"), exports);
|
21
22
|
//# 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;AACzB,6CAA0B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B;AAC1B,8CAA2B"}
|
package/dist/file/mutations.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/file/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/file/mutations.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAEhB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
package/dist/file/provider.d.ts
CHANGED
@@ -1 +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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"file":"index.d.ts","sourceRoot":"","sources":["../../../src/file/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAA;AACpB,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./s3"), exports);
|
18
|
+
__exportStar(require("./local"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/file/providers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAoB;AACpB,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"local.d.ts","sourceRoot":"","sources":["../../../src/file/providers/local.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"local.js","sourceRoot":"","sources":["../../../src/file/providers/local.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export interface S3FileServiceOptions {
|
2
|
+
file_url: string;
|
3
|
+
access_key_id: string;
|
4
|
+
secret_access_key: string;
|
5
|
+
region: string;
|
6
|
+
bucket: string;
|
7
|
+
prefix?: string;
|
8
|
+
endpoint?: string;
|
9
|
+
cache_control?: string;
|
10
|
+
download_file_duration?: number;
|
11
|
+
additional_client_config?: Record<string, any>;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=s3.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"s3.d.ts","sourceRoot":"","sources":["../../../src/file/providers/s3.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"s3.js","sourceRoot":"","sources":["../../../src/file/providers/s3.ts"],"names":[],"mappings":""}
|
package/dist/file/service.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IModuleService } from "../modules-sdk";
|
2
|
-
import { FileDTO } from "./common";
|
2
|
+
import { FileDTO, FilterableFileProps } from "./common";
|
3
3
|
import { FindConfig } from "../common";
|
4
4
|
import { Context } from "../shared-context";
|
5
5
|
import { CreateFileDTO } from "./mutations";
|
@@ -72,5 +72,29 @@ export interface IFileModuleService extends IModuleService {
|
|
72
72
|
* const file = await fileModuleService.retrieve("file_123")
|
73
73
|
*/
|
74
74
|
retrieve(id: string, config?: FindConfig<FileDTO>, sharedContext?: Context): Promise<FileDTO>;
|
75
|
+
/**
|
76
|
+
* This method is used to retrieve a file by ID, similarly to `retrieve`. Enumeration of files is not supported, but the list method is in order to support remote queries
|
77
|
+
*
|
78
|
+
* @param {FilterableFileProps} filters - The filters to apply on the retrieved files.
|
79
|
+
* @param {FindConfig<FileDTO>} config -
|
80
|
+
* The configurations determining how the files are retrieved. Its properties, such as `select` or `relations`, accept the
|
81
|
+
* attributes or relations associated with a file.
|
82
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
83
|
+
* @returns {Promise<FileDTO[]>} The list of files. In this particular case, it will either be at most one file.
|
84
|
+
*
|
85
|
+
*/
|
86
|
+
list(filters?: FilterableFileProps, config?: FindConfig<FileDTO>, sharedContext?: Context): Promise<FileDTO[]>;
|
87
|
+
/**
|
88
|
+
* This method is used to retrieve a file by ID, similarly to `retrieve`. Enumeration of files is not supported, but the listAndCount method is in order to support remote queries
|
89
|
+
*
|
90
|
+
* @param {FilterableFileProps} filters - The filters to apply on the retrieved files.
|
91
|
+
* @param {FindConfig<FileDTO>} config -
|
92
|
+
* The configurations determining how the files are retrieved. Its properties, such as `select` or `relations`, accept the
|
93
|
+
* attributes or relations associated with a file.
|
94
|
+
* @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
|
95
|
+
* @returns {Promise<[FileDTO[], number]>} The list of files and their count. In this particular case, it will either be at most one file.
|
96
|
+
*
|
97
|
+
*/
|
98
|
+
listAndCount(filters?: FilterableFileProps, config?: FindConfig<FileDTO>, sharedContext?: Context): Promise<[FileDTO[], number]>;
|
75
99
|
}
|
76
100
|
//# sourceMappingURL=service.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/file/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,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AAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAErB;;;;;;;;;;OAUG;IACH,YAAY,CACV,OAAO,CAAC,EAAE,mBAAmB,EAC7B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,EAC5B,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC,CAAA;CAChC"}
|
@@ -91,5 +91,9 @@ export interface UpdateFulfillmentDTO {
|
|
91
91
|
* Holds custom data in key-value pairs.
|
92
92
|
*/
|
93
93
|
metadata?: Record<string, unknown> | null;
|
94
|
+
/**
|
95
|
+
* The labels associated with the fulfillment.
|
96
|
+
*/
|
97
|
+
labels?: Omit<CreateFulfillmentLabelDTO, "fulfillment_id">[];
|
94
98
|
}
|
95
99
|
//# sourceMappingURL=fulfillment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fulfillment.d.ts","sourceRoot":"","sources":["../../../src/fulfillment/mutations/fulfillment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAA;AAE/D;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAAG;AAE7C;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAEzB;;OAE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IACH,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAErC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAEzC;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,EAAE,CAAA;CAC7D"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PaginatedResponse } from "../../common";
|
2
|
+
/**
|
3
|
+
* @experimental
|
4
|
+
*/
|
5
|
+
export interface CampaignResponse {
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
description: string;
|
9
|
+
currency: string;
|
10
|
+
campaign_identifier: string;
|
11
|
+
starts_at: string;
|
12
|
+
ends_at: string;
|
13
|
+
budget: {
|
14
|
+
id: string;
|
15
|
+
type: string;
|
16
|
+
limit: number | null;
|
17
|
+
used: number;
|
18
|
+
};
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* @experimental
|
22
|
+
*/
|
23
|
+
export interface AdminCampaignListResponse extends PaginatedResponse {
|
24
|
+
campaigns: CampaignResponse[];
|
25
|
+
}
|
26
|
+
/**
|
27
|
+
* @experimental
|
28
|
+
*/
|
29
|
+
export interface AdminCampaignResponse {
|
30
|
+
campaign: CampaignResponse;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=campaign.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"campaign.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/campaign.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;QACpB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,iBAAiB;IAClE,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,gBAAgB,CAAA;CAC3B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"campaign.js","sourceRoot":"","sources":["../../../../src/http/campaign/admin/campaign.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/campaign/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./campaign"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/campaign/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/campaign/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./admin"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/campaign/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
package/dist/http/index.d.ts
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
export * from "./api-key";
|
2
|
+
export * from "./campaign";
|
2
3
|
export * from "./customer";
|
3
4
|
export * from "./fulfillment";
|
4
5
|
export * from "./inventory";
|
5
6
|
export * from "./order";
|
6
7
|
export * from "./pricing";
|
7
8
|
export * from "./product-category";
|
9
|
+
export * from "./promotion";
|
8
10
|
export * from "./sales-channel";
|
9
11
|
export * from "./stock-locations";
|
10
12
|
export * from "./tax";
|
13
|
+
export * from "./product-category";
|
14
|
+
export * from "./reservation";
|
11
15
|
//# sourceMappingURL=index.d.ts.map
|
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,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,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"}
|
package/dist/http/index.js
CHANGED
@@ -15,13 +15,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./api-key"), exports);
|
18
|
+
__exportStar(require("./campaign"), exports);
|
18
19
|
__exportStar(require("./customer"), exports);
|
19
20
|
__exportStar(require("./fulfillment"), exports);
|
20
21
|
__exportStar(require("./inventory"), exports);
|
21
22
|
__exportStar(require("./order"), exports);
|
22
23
|
__exportStar(require("./pricing"), exports);
|
23
24
|
__exportStar(require("./product-category"), exports);
|
25
|
+
__exportStar(require("./promotion"), exports);
|
24
26
|
__exportStar(require("./sales-channel"), exports);
|
25
27
|
__exportStar(require("./stock-locations"), exports);
|
26
28
|
__exportStar(require("./tax"), exports);
|
29
|
+
__exportStar(require("./product-category"), exports);
|
30
|
+
__exportStar(require("./reservation"), exports);
|
27
31
|
//# 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,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB"}
|
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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./promotion-rule"), exports);
|
18
|
+
__exportStar(require("./rule-attribute-options"), exports);
|
19
|
+
__exportStar(require("./rule-operator-options"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,2DAAwC;AACxC,0DAAuC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* @experimental
|
3
|
+
*/
|
4
|
+
export interface PromotionRuleResponse {
|
5
|
+
id: string;
|
6
|
+
attribute: string;
|
7
|
+
attribute_label: string;
|
8
|
+
field_type: string;
|
9
|
+
operator: string;
|
10
|
+
operator_label: string;
|
11
|
+
values: {
|
12
|
+
value: string;
|
13
|
+
}[];
|
14
|
+
disguised: boolean;
|
15
|
+
required: boolean;
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @experimental
|
19
|
+
*/
|
20
|
+
export interface AdminPromotionRuleListResponse {
|
21
|
+
attributes: PromotionRuleResponse[];
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=promotion-rule.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"promotion-rule.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC3B,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"promotion-rule.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/promotion-rule.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* @experimental
|
3
|
+
*/
|
4
|
+
export interface RuleAttributeOptionsResponse {
|
5
|
+
id: string;
|
6
|
+
value: string;
|
7
|
+
label: string;
|
8
|
+
field_type: string;
|
9
|
+
required: boolean;
|
10
|
+
disguised: boolean;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @experimental
|
14
|
+
*/
|
15
|
+
export interface AdminRuleAttributeOptionsListResponse {
|
16
|
+
attributes: RuleAttributeOptionsResponse[];
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=rule-attribute-options.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-attribute-options.d.ts","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IACpD,UAAU,EAAE,4BAA4B,EAAE,CAAA;CAC3C"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rule-attribute-options.js","sourceRoot":"","sources":["../../../../src/http/promotion/admin/rule-attribute-options.ts"],"names":[],"mappings":""}
|