@medusajs/types 1.12.0-snapshot-20240827104434 → 1.12.0-snapshot-20240904063643
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/provider.d.ts +5 -0
- package/dist/auth/provider.d.ts.map +1 -1
- package/dist/auth/providers/github.d.ts +7 -0
- package/dist/auth/providers/github.d.ts.map +1 -0
- package/dist/{http/api-key/admin/api-key.js → auth/providers/github.js} +1 -1
- package/dist/auth/providers/github.js.map +1 -0
- package/dist/auth/providers/google.d.ts +2 -2
- package/dist/auth/providers/index.d.ts +1 -0
- package/dist/auth/providers/index.d.ts.map +1 -1
- package/dist/auth/providers/index.js +1 -0
- package/dist/auth/providers/index.js.map +1 -1
- package/dist/auth/service.d.ts +1 -0
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/cart/common.d.ts +4 -0
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/service.d.ts +1 -1
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/customer/mutations.d.ts +4 -0
- package/dist/customer/mutations.d.ts.map +1 -1
- package/dist/http/address/entities.d.ts +18 -0
- package/dist/http/address/entities.d.ts.map +1 -0
- package/dist/http/address/entities.js +3 -0
- package/dist/http/address/entities.js.map +1 -0
- package/dist/http/address/index.d.ts +2 -0
- package/dist/http/address/index.d.ts.map +1 -0
- package/dist/http/address/index.js +18 -0
- package/dist/http/address/index.js.map +1 -0
- package/dist/http/api-key/admin/index.d.ts +3 -1
- package/dist/http/api-key/admin/index.d.ts.map +1 -1
- package/dist/http/api-key/admin/index.js +3 -1
- package/dist/http/api-key/admin/index.js.map +1 -1
- package/dist/http/api-key/admin/payloads.d.ts +12 -0
- package/dist/http/api-key/admin/payloads.d.ts.map +1 -0
- package/dist/http/api-key/admin/payloads.js +3 -0
- package/dist/http/api-key/admin/payloads.js.map +1 -0
- package/dist/http/api-key/admin/queries.d.ts +17 -0
- package/dist/http/api-key/admin/queries.d.ts.map +1 -0
- package/dist/http/api-key/admin/queries.js +3 -0
- package/dist/http/api-key/admin/queries.js.map +1 -0
- package/dist/http/api-key/admin/{api-key.d.ts → responses.d.ts} +6 -5
- package/dist/http/api-key/admin/responses.d.ts.map +1 -0
- package/dist/http/api-key/admin/responses.js +3 -0
- package/dist/http/api-key/admin/responses.js.map +1 -0
- package/dist/http/auth/index.d.ts +2 -0
- package/dist/http/auth/index.d.ts.map +1 -0
- package/dist/http/auth/index.js +18 -0
- package/dist/http/auth/index.js.map +1 -0
- package/dist/http/auth/payloads.d.ts +7 -0
- package/dist/http/auth/payloads.d.ts.map +1 -0
- package/dist/http/auth/payloads.js +3 -0
- package/dist/http/auth/payloads.js.map +1 -0
- package/dist/http/campaign/admin/index.d.ts +1 -0
- package/dist/http/campaign/admin/index.d.ts.map +1 -1
- package/dist/http/campaign/admin/index.js +1 -0
- package/dist/http/campaign/admin/index.js.map +1 -1
- package/dist/http/campaign/admin/queries.d.ts +14 -0
- package/dist/http/campaign/admin/queries.d.ts.map +1 -0
- package/dist/http/campaign/admin/queries.js +3 -0
- package/dist/http/campaign/admin/queries.js.map +1 -0
- package/dist/http/campaign/admin/responses.d.ts +5 -4
- package/dist/http/campaign/admin/responses.d.ts.map +1 -1
- package/dist/http/cart/store/responses.d.ts +2 -0
- package/dist/http/cart/store/responses.d.ts.map +1 -1
- package/dist/http/collection/store/queries.d.ts +3 -1
- package/dist/http/collection/store/queries.d.ts.map +1 -1
- package/dist/http/common/response.d.ts +3 -1
- package/dist/http/common/response.d.ts.map +1 -1
- package/dist/http/currency/store/index.d.ts +1 -0
- package/dist/http/currency/store/index.d.ts.map +1 -1
- package/dist/http/currency/store/index.js +1 -0
- package/dist/http/currency/store/index.js.map +1 -1
- package/dist/http/currency/store/queries.d.ts +7 -0
- package/dist/http/currency/store/queries.d.ts.map +1 -0
- package/dist/http/currency/store/queries.js +3 -0
- package/dist/http/currency/store/queries.js.map +1 -0
- package/dist/http/customer/admin/entities.d.ts +2 -3
- package/dist/http/customer/admin/entities.d.ts.map +1 -1
- package/dist/http/customer/admin/queries.d.ts +2 -1
- package/dist/http/customer/admin/queries.d.ts.map +1 -1
- package/dist/http/customer/admin/responses.d.ts +5 -8
- package/dist/http/customer/admin/responses.d.ts.map +1 -1
- package/dist/http/customer/common.d.ts +2 -1
- package/dist/http/customer/common.d.ts.map +1 -1
- package/dist/http/customer/store/responses.d.ts +2 -1
- package/dist/http/customer/store/responses.d.ts.map +1 -1
- package/dist/http/customer-group/admin/entities.d.ts +4 -0
- package/dist/http/customer-group/admin/entities.d.ts.map +1 -0
- package/dist/http/customer-group/admin/entities.js +3 -0
- package/dist/http/customer-group/admin/entities.js.map +1 -0
- package/dist/http/customer-group/admin/index.d.ts +5 -0
- package/dist/http/customer-group/admin/index.d.ts.map +1 -0
- package/dist/http/customer-group/admin/index.js +21 -0
- package/dist/http/customer-group/admin/index.js.map +1 -0
- package/dist/http/customer-group/admin/payloads.d.ts +9 -0
- package/dist/http/customer-group/admin/payloads.d.ts.map +1 -0
- package/dist/http/customer-group/admin/payloads.js +3 -0
- package/dist/http/customer-group/admin/payloads.js.map +1 -0
- package/dist/http/customer-group/admin/queries.d.ts +32 -0
- package/dist/http/customer-group/admin/queries.d.ts.map +1 -0
- package/dist/http/customer-group/admin/queries.js +3 -0
- package/dist/http/customer-group/admin/queries.js.map +1 -0
- package/dist/http/customer-group/admin/responses.d.ts +9 -0
- package/dist/http/customer-group/admin/responses.d.ts.map +1 -0
- package/dist/http/customer-group/admin/responses.js +3 -0
- package/dist/http/customer-group/admin/responses.js.map +1 -0
- package/dist/http/customer-group/common.d.ts +10 -0
- package/dist/http/customer-group/common.d.ts.map +1 -0
- package/dist/http/customer-group/common.js +3 -0
- package/dist/http/customer-group/common.js.map +1 -0
- package/dist/http/customer-group/index.d.ts +2 -0
- package/dist/http/customer-group/index.d.ts.map +1 -0
- package/dist/http/customer-group/index.js +18 -0
- package/dist/http/customer-group/index.js.map +1 -0
- package/dist/http/file/admin/responses.d.ts +2 -0
- package/dist/http/file/admin/responses.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.d.ts +1 -0
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/index.js +1 -0
- package/dist/http/fulfillment/admin/index.js.map +1 -1
- package/dist/http/fulfillment/admin/queries.d.ts +7 -0
- package/dist/http/fulfillment/admin/queries.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/queries.js +3 -0
- package/dist/http/fulfillment/admin/queries.js.map +1 -0
- package/dist/http/fulfillment-set/admin/responses.d.ts +2 -2
- package/dist/http/fulfillment-set/admin/responses.d.ts.map +1 -1
- package/dist/http/index.d.ts +3 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +3 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/inventory/admin/entities.d.ts +18 -0
- package/dist/http/inventory/admin/entities.d.ts.map +1 -1
- package/dist/http/inventory/admin/queries.d.ts +2 -2
- package/dist/http/inventory/admin/queries.d.ts.map +1 -1
- package/dist/http/inventory/admin/responses.d.ts +2 -1
- package/dist/http/inventory/admin/responses.d.ts.map +1 -1
- package/dist/http/invite/admin/index.d.ts +1 -0
- package/dist/http/invite/admin/index.d.ts.map +1 -1
- package/dist/http/invite/admin/index.js +1 -0
- package/dist/http/invite/admin/index.js.map +1 -1
- package/dist/http/invite/admin/queries.d.ts +11 -0
- package/dist/http/invite/admin/queries.d.ts.map +1 -0
- package/dist/http/invite/admin/queries.js +3 -0
- package/dist/http/invite/admin/queries.js.map +1 -0
- package/dist/http/invite/admin/responses.d.ts +2 -1
- package/dist/http/invite/admin/responses.d.ts.map +1 -1
- package/dist/http/order/admin/entities.d.ts +14 -0
- package/dist/http/order/admin/entities.d.ts.map +1 -1
- package/dist/http/order/admin/queries.d.ts +15 -1
- package/dist/http/order/admin/queries.d.ts.map +1 -1
- package/dist/http/order/admin/responses.d.ts +4 -0
- package/dist/http/order/admin/responses.d.ts.map +1 -1
- package/dist/http/order/common.d.ts +10 -4
- package/dist/http/order/common.d.ts.map +1 -1
- package/dist/http/order/store/queries.d.ts +5 -2
- package/dist/http/order/store/queries.d.ts.map +1 -1
- package/dist/http/order-edit/admin/responses.d.ts +2 -5
- package/dist/http/order-edit/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/admin/queries.d.ts +18 -7
- package/dist/http/payment/admin/queries.d.ts.map +1 -1
- package/dist/http/payment/admin/responses.d.ts +1 -0
- package/dist/http/payment/admin/responses.d.ts.map +1 -1
- package/dist/http/payment/store/index.d.ts +1 -0
- package/dist/http/payment/store/index.d.ts.map +1 -1
- package/dist/http/payment/store/index.js +1 -0
- package/dist/http/payment/store/index.js.map +1 -1
- package/dist/http/payment/store/payloads.d.ts +4 -0
- package/dist/http/payment/store/payloads.d.ts.map +1 -0
- package/dist/http/payment/store/payloads.js +3 -0
- package/dist/http/payment/store/payloads.js.map +1 -0
- package/dist/http/payment/store/queries.d.ts +1 -0
- package/dist/http/payment/store/queries.d.ts.map +1 -1
- package/dist/http/pricing/admin/queries.d.ts +1 -0
- package/dist/http/pricing/admin/queries.d.ts.map +1 -1
- package/dist/http/product/admin/queries.d.ts +13 -4
- package/dist/http/product/admin/queries.d.ts.map +1 -1
- package/dist/http/product/admin/responses.d.ts +3 -3
- package/dist/http/product/admin/responses.d.ts.map +1 -1
- package/dist/http/product/store/queries.d.ts +1 -0
- package/dist/http/product/store/queries.d.ts.map +1 -1
- package/dist/http/product-category/common.d.ts +1 -0
- package/dist/http/product-category/common.d.ts.map +1 -1
- package/dist/http/promotion/admin/index.d.ts +2 -0
- package/dist/http/promotion/admin/index.d.ts.map +1 -1
- package/dist/http/promotion/admin/index.js +2 -0
- package/dist/http/promotion/admin/index.js.map +1 -1
- package/dist/http/promotion/admin/payloads.d.ts +69 -0
- package/dist/http/promotion/admin/payloads.d.ts.map +1 -0
- package/dist/http/promotion/admin/payloads.js +3 -0
- package/dist/http/promotion/admin/payloads.js.map +1 -0
- package/dist/http/promotion/admin/queries.d.ts +30 -0
- package/dist/http/promotion/admin/queries.d.ts.map +1 -0
- package/dist/http/promotion/admin/queries.js +3 -0
- package/dist/http/promotion/admin/queries.js.map +1 -0
- package/dist/http/promotion/admin/responses.d.ts +2 -1
- package/dist/http/promotion/admin/responses.d.ts.map +1 -1
- package/dist/http/promotion/common.d.ts +2 -2
- package/dist/http/promotion/common.d.ts.map +1 -1
- package/dist/http/region/admin/queries.d.ts +10 -1
- package/dist/http/region/admin/queries.d.ts.map +1 -1
- package/dist/http/region/admin/responses.d.ts +2 -1
- package/dist/http/region/admin/responses.d.ts.map +1 -1
- package/dist/http/region/common.d.ts +2 -3
- package/dist/http/region/common.d.ts.map +1 -1
- package/dist/http/reservation/admin/entities.d.ts +2 -2
- package/dist/http/reservation/admin/entities.d.ts.map +1 -1
- package/dist/http/reservation/admin/index.d.ts +2 -0
- package/dist/http/reservation/admin/index.d.ts.map +1 -1
- package/dist/http/reservation/admin/index.js +2 -0
- package/dist/http/reservation/admin/index.js.map +1 -1
- package/dist/http/reservation/admin/payloads.d.ts +15 -0
- package/dist/http/reservation/admin/payloads.d.ts.map +1 -0
- package/dist/http/reservation/admin/payloads.js +3 -0
- package/dist/http/reservation/admin/payloads.js.map +1 -0
- package/dist/http/reservation/admin/queries.d.ts +17 -0
- package/dist/http/reservation/admin/queries.d.ts.map +1 -0
- package/dist/http/reservation/admin/queries.js +3 -0
- package/dist/http/reservation/admin/queries.js.map +1 -0
- package/dist/http/reservation/admin/responses.d.ts +5 -4
- package/dist/http/reservation/admin/responses.d.ts.map +1 -1
- package/dist/http/return/admin/responses.d.ts +2 -1
- package/dist/http/return/admin/responses.d.ts.map +1 -1
- package/dist/http/return/common.d.ts +2 -0
- package/dist/http/return/common.d.ts.map +1 -1
- package/dist/http/return/store/index.d.ts +1 -0
- package/dist/http/return/store/index.d.ts.map +1 -1
- package/dist/http/return/store/index.js +1 -0
- package/dist/http/return/store/index.js.map +1 -1
- package/dist/http/return/store/payloads.d.ts +20 -0
- package/dist/http/return/store/payloads.d.ts.map +1 -0
- package/dist/http/return/store/payloads.js +3 -0
- package/dist/http/return/store/payloads.js.map +1 -0
- package/dist/http/shipping-option/admin/queries.d.ts +6 -4
- package/dist/http/shipping-option/admin/queries.d.ts.map +1 -1
- package/dist/http/shipping-option/store/index.d.ts +1 -0
- package/dist/http/shipping-option/store/index.d.ts.map +1 -1
- package/dist/http/shipping-option/store/index.js +1 -0
- package/dist/http/shipping-option/store/index.js.map +1 -1
- package/dist/http/shipping-option/store/queries.d.ts +6 -0
- package/dist/http/shipping-option/store/queries.d.ts.map +1 -0
- package/dist/http/shipping-option/store/queries.js +3 -0
- package/dist/http/shipping-option/store/queries.js.map +1 -0
- package/dist/http/stock-locations/admin/queries.d.ts +5 -1
- package/dist/http/stock-locations/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/queries.d.ts +6 -7
- package/dist/http/tax-rate/admin/queries.d.ts.map +1 -1
- package/dist/http/tax-rate/admin/responses.d.ts +2 -1
- package/dist/http/tax-rate/admin/responses.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/entities.d.ts +54 -4
- package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/index.d.ts +1 -0
- package/dist/http/workflow-execution/admin/index.d.ts.map +1 -1
- package/dist/http/workflow-execution/admin/index.js +1 -0
- package/dist/http/workflow-execution/admin/index.js.map +1 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +6 -0
- package/dist/http/workflow-execution/admin/queries.d.ts.map +1 -0
- package/dist/http/workflow-execution/admin/queries.js +3 -0
- package/dist/http/workflow-execution/admin/queries.js.map +1 -0
- package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -1
- package/dist/notification/common.d.ts +39 -0
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/notification/provider.d.ts +9 -0
- package/dist/notification/provider.d.ts.map +1 -1
- package/dist/order/common.d.ts +8 -0
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +3 -0
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +175 -175
- package/dist/order/service.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +1 -1
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/shared-context.d.ts +5 -0
- package/dist/shared-context.d.ts.map +1 -1
- package/dist/workflow/order/cancel-claim.d.ts +1 -0
- package/dist/workflow/order/cancel-claim.d.ts.map +1 -1
- package/dist/workflow/order/cancel-exchange.d.ts +1 -0
- package/dist/workflow/order/cancel-exchange.d.ts.map +1 -1
- package/dist/workflow/order/cancel-fulfillment.d.ts +1 -0
- package/dist/workflow/order/cancel-fulfillment.d.ts.map +1 -1
- package/dist/workflow/order/cancel-order.d.ts +1 -0
- package/dist/workflow/order/cancel-order.d.ts.map +1 -1
- package/dist/workflow/order/cancel-return.d.ts +1 -0
- package/dist/workflow/order/cancel-return.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/api-key/admin/api-key.d.ts.map +0 -1
- package/dist/http/api-key/admin/api-key.js.map +0 -1
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,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB;AACtB,6CAA0B;AAC1B,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,mDAAgC;AAChC,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
|
@@ -14,5 +14,23 @@ export interface AdminInventoryItem {
|
|
14
14
|
description?: string | null;
|
15
15
|
thumbnail?: string | null;
|
16
16
|
metadata?: Record<string, unknown> | null;
|
17
|
+
location_levels?: AdminInventoryLevel[];
|
18
|
+
}
|
19
|
+
export interface AdminInventoryLevel {
|
20
|
+
id: string;
|
21
|
+
created_at: Date;
|
22
|
+
updated_at: Date;
|
23
|
+
deleted_at: Date | null;
|
24
|
+
inventory_item_id: string;
|
25
|
+
location_id: string;
|
26
|
+
stocked_quantity: number;
|
27
|
+
raw_stocked_quantity: Record<string, unknown>;
|
28
|
+
reserved_quantity: number;
|
29
|
+
raw_reserved_quantity: Record<string, unknown>;
|
30
|
+
incoming_quantity: number;
|
31
|
+
raw_incoming_quantity: Record<string, unknown>;
|
32
|
+
metadata: Record<string, unknown> | null;
|
33
|
+
inventory_item?: AdminInventoryItem;
|
34
|
+
available_quantity: number | null;
|
17
35
|
}
|
18
36
|
//# sourceMappingURL=entities.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE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AC9C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,cAAc,CAAC,EAAE,kBAAkB,CAAA;IACnC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAA;CAClC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { FindParams } from "../../common";
|
2
|
-
import { OperatorMap } from "../../../dal";
|
3
|
-
export interface AdminInventoryItemParams extends FindParams {
|
2
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
3
|
+
export interface AdminInventoryItemParams extends FindParams, BaseFilterable<AdminInventoryItemParams> {
|
4
4
|
id?: string | string[];
|
5
5
|
q?: string;
|
6
6
|
sku?: string | string[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1D,MAAM,WAAW,wBAAyB,SAAQ,UAAU,EAAE,cAAc,CAAC,wBAAwB,CAAC;IACpG,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;CAC3D"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DeleteResponse, PaginatedResponse } from "../../common";
|
1
|
+
import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
2
2
|
import { AdminInventoryItem } from "./entities";
|
3
3
|
export interface AdminInventoryItemResponse {
|
4
4
|
inventory_item: AdminInventoryItem;
|
@@ -7,4 +7,5 @@ export type AdminInventoryItemListResponse = PaginatedResponse<{
|
|
7
7
|
inventory_items: AdminInventoryItem[];
|
8
8
|
}>;
|
9
9
|
export type AdminInventoryItemDeleteResponse = DeleteResponse<"inventory_item">;
|
10
|
+
export type AdminInventoryLevelDeleteResponse = DeleteResponseWithParent<"inventory-level", AdminInventoryItem>;
|
10
11
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/inventory/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,kBAAkB,CAAA;CACnC;AAED,MAAM,MAAM,8BAA8B,GAAG,iBAAiB,CAAC;IAC7D,eAAe,EAAE,kBAAkB,EAAE,CAAA;CACtC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAA;AAE/E,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,CACtE,iBAAiB,EACjB,kBAAkB,CACnB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -16,5 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
18
|
__exportStar(require("./payloads"), exports);
|
19
|
+
__exportStar(require("./queries"), exports);
|
19
20
|
__exportStar(require("./responses"), exports);
|
20
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams } from "../../common";
|
3
|
+
export interface AdminGetInvitesParams extends FindParams, BaseFilterable<AdminGetInvitesParams> {
|
4
|
+
q?: string;
|
5
|
+
id?: string | string[];
|
6
|
+
email?: string | string[];
|
7
|
+
created_at?: OperatorMap<string>;
|
8
|
+
updated_at?: OperatorMap<string>;
|
9
|
+
deleted_at?: OperatorMap<string>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=queries.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,qBAAsB,SAAQ,UAAU,EAAE,cAAc,CAAC,qBAAqB,CAAC;IAC9F,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/queries.ts"],"names":[],"mappings":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PaginatedResponse } from "../../common";
|
1
|
+
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
2
|
import { AdminUser } from "../../user";
|
3
3
|
import { AdminInvite } from "./entities";
|
4
4
|
export interface AdminInviteResponse {
|
@@ -12,4 +12,5 @@ export type AdminAcceptInviteResponse = {
|
|
12
12
|
} | {
|
13
13
|
message: string;
|
14
14
|
};
|
15
|
+
export type AdminInviteDeleteResponse = DeleteResponse<"invite">;
|
15
16
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,SAAS,CAAA;CAChB,GAAG;IACF,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAA"}
|
@@ -1,14 +1,28 @@
|
|
1
|
+
import { AdminCustomer } from "../../customer";
|
1
2
|
import { AdminPaymentCollection } from "../../payment/admin";
|
3
|
+
import { AdminProductVariant } from "../../product";
|
4
|
+
import { AdminRegionCountry } from "../../region";
|
5
|
+
import { AdminSalesChannel } from "../../sales-channel";
|
2
6
|
import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFulfillment, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
|
3
7
|
export interface AdminOrder extends BaseOrder {
|
4
8
|
payment_collections: AdminPaymentCollection[];
|
5
9
|
fulfillments?: BaseOrderFulfillment[];
|
10
|
+
sales_channel?: AdminSalesChannel;
|
11
|
+
customer?: AdminCustomer;
|
12
|
+
shipping_address?: AdminOrderAddress | null;
|
13
|
+
billing_address?: AdminOrderAddress | null;
|
14
|
+
}
|
15
|
+
export interface AdminOrderLineItem extends BaseOrderLineItem {
|
16
|
+
variant?: AdminProductVariant;
|
17
|
+
}
|
18
|
+
export interface AdminOrderChange extends BaseOrderChange {
|
6
19
|
}
|
7
20
|
export interface AdminOrderFulfillment extends BaseOrderFulfillment {
|
8
21
|
}
|
9
22
|
export interface AdminOrderLineItem extends BaseOrderLineItem {
|
10
23
|
}
|
11
24
|
export interface AdminOrderAddress extends BaseOrderAddress {
|
25
|
+
country?: AdminRegionCountry;
|
12
26
|
}
|
13
27
|
export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
|
14
28
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAA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,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL"}
|
@@ -1,4 +1,18 @@
|
|
1
|
+
import { OperatorMap } from "../../../dal";
|
2
|
+
import { FulfillmentStatus, PaymentStatus } from "../../../order";
|
3
|
+
import { FindParams } from "../../common";
|
1
4
|
import { BaseOrderFilters } from "../common";
|
2
|
-
|
5
|
+
import { BaseOrderChangesFilters } from "../common";
|
6
|
+
export interface AdminOrderFilters extends FindParams, BaseOrderFilters {
|
7
|
+
id?: string[] | string;
|
8
|
+
sales_channel_id?: string[];
|
9
|
+
fulfillment_status?: FulfillmentStatus[];
|
10
|
+
payment_status?: PaymentStatus[];
|
11
|
+
region_id?: string[];
|
12
|
+
q?: string;
|
13
|
+
created_at?: OperatorMap<string>;
|
14
|
+
updated_at?: OperatorMap<string>;
|
15
|
+
}
|
16
|
+
export interface AdminOrderChangesFilters extends BaseOrderChangesFilters {
|
3
17
|
}
|
4
18
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAA;AAEnD,MAAM,WAAW,iBAAkB,SAAQ,UAAU,EAAE,gBAAgB;IACrE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAGD,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
|
@@ -1,8 +1,12 @@
|
|
1
1
|
import { PaginatedResponse } from "../../common";
|
2
|
+
import { BaseOrderChange } from "../common";
|
2
3
|
import { AdminOrder, AdminOrderPreview } from "./entities";
|
3
4
|
export interface AdminOrderResponse {
|
4
5
|
order: AdminOrder;
|
5
6
|
}
|
7
|
+
export interface AdminOrderChangesResponse {
|
8
|
+
order_changes: BaseOrderChange[];
|
9
|
+
}
|
6
10
|
export type AdminOrderListResponse = PaginatedResponse<{
|
7
11
|
orders: AdminOrder[];
|
8
12
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,EAAE,eAAe,EAAE,CAAA;CACjC;AAED,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAC,CAAA;AAEF,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,UAAU,CAAA;CACxB;AAED,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D,YAAY,EAAE,UAAU,CAAA;CACzB,CAAC,CAAA"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BaseFilterable, OperatorMap } from "../../dal";
|
2
2
|
import { BigNumberValue } from "../../totals";
|
3
3
|
import { BaseClaim } from "../claim/common";
|
4
|
+
import { FindParams } from "../common";
|
4
5
|
import { BasePaymentCollection } from "../payment/common";
|
5
6
|
import { BaseProduct, BaseProductVariant } from "../product/common";
|
6
7
|
export interface BaseOrderSummary {
|
@@ -227,9 +228,9 @@ export interface BaseOrder {
|
|
227
228
|
sales_channel_id: string | null;
|
228
229
|
email: string | null;
|
229
230
|
currency_code: string;
|
230
|
-
display_id?:
|
231
|
-
shipping_address?: BaseOrderAddress;
|
232
|
-
billing_address?: BaseOrderAddress;
|
231
|
+
display_id?: number;
|
232
|
+
shipping_address?: BaseOrderAddress | null;
|
233
|
+
billing_address?: BaseOrderAddress | null;
|
233
234
|
items: BaseOrderLineItem[] | null;
|
234
235
|
shipping_methods: BaseOrderShippingMethod[] | null;
|
235
236
|
payment_collections?: BasePaymentCollection[];
|
@@ -264,10 +265,15 @@ export interface BaseOrder {
|
|
264
265
|
original_shipping_subtotal: number;
|
265
266
|
original_shipping_tax_total: number;
|
266
267
|
}
|
267
|
-
export interface BaseOrderFilters extends BaseFilterable<BaseOrderFilters> {
|
268
|
+
export interface BaseOrderFilters extends FindParams, BaseFilterable<BaseOrderFilters> {
|
268
269
|
id?: string[] | string | OperatorMap<string | string[]>;
|
269
270
|
status?: string[] | string | OperatorMap<string | string[]>;
|
270
271
|
}
|
272
|
+
export interface BaseOrderChangesFilters extends BaseFilterable<BaseOrderChangesFilters> {
|
273
|
+
id?: string[] | string | OperatorMap<string | string[]>;
|
274
|
+
status?: string[] | string | OperatorMap<string | string[]>;
|
275
|
+
change_type?: string[] | string | OperatorMap<string | string[]>;
|
276
|
+
}
|
271
277
|
export interface BaseOrderChange {
|
272
278
|
/**
|
273
279
|
* The ID of the order change
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEnE,MAAM,WAAW,gBAAgB;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ams } from "../../common";
|
3
|
+
export interface StoreOrderFilters extends FindParams, BaseFilterable<StoreOrderFilters> {
|
4
|
+
id?: string | string[];
|
5
|
+
name?: string | string[];
|
3
6
|
}
|
4
7
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/order/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SACjC,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACzB"}
|
@@ -1,13 +1,10 @@
|
|
1
1
|
import { OrderChangeDTO, OrderPreviewDTO } from "../../../order";
|
2
|
+
import { DeleteResponse } from "../../common";
|
2
3
|
export interface AdminOrderEditPreviewResponse {
|
3
4
|
order_preview: OrderPreviewDTO;
|
4
5
|
}
|
5
6
|
export interface AdminOrderEditResponse {
|
6
7
|
order_change: OrderChangeDTO;
|
7
8
|
}
|
8
|
-
export
|
9
|
-
id: string;
|
10
|
-
object: "order-edit";
|
11
|
-
deleted: true;
|
12
|
-
}
|
9
|
+
export type AdminOrderEditDeleteResponse = DeleteResponse<"order-edit">;
|
13
10
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/order-edit/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,eAAe,CAAA;CAC/B;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,cAAc,CAAA;CAC7B;AAED,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA"}
|
@@ -1,19 +1,30 @@
|
|
1
|
-
import { BaseFilterable } from "../../../dal";
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams } from "../../common";
|
3
|
+
import { BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentSessionFilters } from "../common";
|
4
|
+
import { AdminRefundReason } from "./entities";
|
5
|
+
export interface AdminPaymentProviderFilters extends FindParams, BaseFilterable<AdminPaymentProviderFilters> {
|
6
|
+
id: string | string[];
|
5
7
|
is_enabled?: boolean;
|
6
8
|
}
|
7
9
|
export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
|
8
10
|
}
|
9
11
|
export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
|
10
12
|
}
|
11
|
-
export interface AdminPaymentFilters extends BasePaymentFilters {
|
13
|
+
export interface AdminPaymentFilters extends FindParams, BasePaymentFilters {
|
14
|
+
q?: string;
|
15
|
+
payment_session_id?: string | string[];
|
16
|
+
created_at?: OperatorMap<string>;
|
17
|
+
updated_at?: OperatorMap<string>;
|
18
|
+
deleted_at?: OperatorMap<string>;
|
12
19
|
}
|
13
|
-
export interface
|
20
|
+
export interface RefundReasonFilters extends FindParams, BaseFilterable<AdminRefundReason> {
|
14
21
|
id?: string | string[];
|
22
|
+
q?: string;
|
15
23
|
}
|
16
|
-
export interface
|
24
|
+
export interface AdminGetPaymentProvidersParams extends FindParams, BaseFilterable<AdminGetPaymentProvidersParams> {
|
17
25
|
id?: string | string[];
|
26
|
+
is_enabled?: boolean;
|
27
|
+
$and?: AdminGetPaymentProvidersParams[];
|
28
|
+
$or?: AdminGetPaymentProvidersParams[];
|
18
29
|
}
|
19
30
|
//# sourceMappingURL=queries.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,WAAW,2BAA4B,SAC3C,UAAU,EAAE,cAAc,CAAC,2BAA2B,CAAC;IACrD,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACH,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAEhF,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,kBAAkB;IACzE,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,mBAAoB,SAAQ,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC;IACxF,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,CAAC,CAAC,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACvC,GAAG,CAAC,EAAE,8BAA8B,EAAE,CAAA;CACvC"}
|
@@ -29,4 +29,5 @@ export type RefundReasonsResponse = PaginatedResponse<{
|
|
29
29
|
export type AdminPaymentProviderListResponse = PaginatedResponse<{
|
30
30
|
payment_providers: AdminPaymentProvider[];
|
31
31
|
}>;
|
32
|
+
export type AdminRefundReasonDeleteResponse = DeleteResponse<"refund_reason">;
|
32
33
|
//# sourceMappingURL=responses.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,WAAW,8BAA8B;IAC7C,kBAAkB,EAAE,sBAAsB,CAAA;CAC3C;AAED,MAAM,WAAW,oCACf,SAAQ,cAAc,CAAC,oBAAoB,CAAC;CAAG;AAEjD,MAAM,WAAW,+BAA+B;IAC9C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,oBAAoB;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C,aAAa,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;IACnD,cAAc,EAAE,WAAW,EAAE,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC,CAAA;AAEF,MAAM,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;IAC/D,iBAAiB,EAAE,oBAAoB,EAAE,CAAA;CAC1C,CAAC,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./payloads"), exports);
|
18
19
|
__exportStar(require("./queries"), exports);
|
19
20
|
__exportStar(require("./responses"), exports);
|
20
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/payment/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/payment/store/payloads.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BasePaymentCollectionFilters, BasePaymentProviderFilters, BasePaymentSessionFilters } from "../common";
|
2
2
|
export interface StorePaymentProviderFilters extends BasePaymentProviderFilters {
|
3
|
+
is_enabled?: boolean;
|
3
4
|
}
|
4
5
|
export interface StorePaymentCollectionFilters extends BasePaymentCollectionFilters {
|
5
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/payment/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACH,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/pricing/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,WAAW,8BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,8BAA8B,CAAC;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACzB,CAAC,CAAC,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;CAAG"}
|
@@ -1,9 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
|
1
|
+
import { BaseFilterable, OperatorMap } from "../../../dal";
|
2
|
+
import { FindParams } from "../../common";
|
3
|
+
import { BaseProductListParams, BaseProductOptionParams } from "../common";
|
4
|
+
export interface AdminProductOptionParams extends Omit<BaseProductOptionParams, "product_id"> {
|
3
5
|
}
|
4
|
-
export interface AdminProductVariantParams extends
|
6
|
+
export interface AdminProductVariantParams extends FindParams, BaseFilterable<AdminProductVariantParams> {
|
7
|
+
q?: string;
|
8
|
+
id?: string | string[];
|
9
|
+
manage_inventory?: boolean;
|
10
|
+
allow_backorder?: boolean;
|
11
|
+
created_at?: OperatorMap<string>;
|
12
|
+
updated_at?: OperatorMap<string>;
|
13
|
+
deleted_at?: OperatorMap<string>;
|
5
14
|
}
|
6
|
-
export interface AdminProductListParams extends BaseProductListParams {
|
15
|
+
export interface AdminProductListParams extends Omit<BaseProductListParams, "categories"> {
|
7
16
|
price_list_id?: string | string[];
|
8
17
|
variants?: AdminProductVariantParams;
|
9
18
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,YAAY,CAAC;CAAG;AAChG,MAAM,WAAW,yBAA0B,SACzC,UAAU,EAAE,cAAc,CAAC,yBAAyB,CAAC;IACnD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,qBAAqB,EAAE,YAAY,CAAC;IACvF,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACjC,QAAQ,CAAC,EAAE,yBAAyB,CAAA;CACrC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { BatchMethodResponse } from "../../../common";
|
2
|
-
import { DeleteResponse, PaginatedResponse } from "../../common";
|
2
|
+
import { DeleteResponse, DeleteResponseWithParent, PaginatedResponse } from "../../common";
|
3
3
|
import { AdminProduct, AdminProductOption, AdminProductVariant, AdminProductVariantInventoryLink } from "./entitites";
|
4
4
|
import { AdminInventoryItem } from "../../inventory";
|
5
5
|
export interface AdminProductResponse {
|
@@ -18,7 +18,7 @@ export interface AdminProductVariantResponse {
|
|
18
18
|
export type AdminProductVariantListResponse = PaginatedResponse<{
|
19
19
|
variants: AdminProductVariant[];
|
20
20
|
}>;
|
21
|
-
export interface AdminProductVariantDeleteResponse extends
|
21
|
+
export interface AdminProductVariantDeleteResponse extends DeleteResponseWithParent<"variant", AdminProduct> {
|
22
22
|
}
|
23
23
|
export interface AdminExportProductResponse {
|
24
24
|
transaction_id: string;
|
@@ -40,7 +40,7 @@ export interface AdminProductOptionResponse {
|
|
40
40
|
export type AdminProductOptionListResponse = PaginatedResponse<{
|
41
41
|
product_options: AdminProductOption[];
|
42
42
|
}>;
|
43
|
-
export interface AdminProductOptionDeleteResponse extends
|
43
|
+
export interface AdminProductOptionDeleteResponse extends DeleteResponseWithParent<"product_option", AdminProduct> {
|
44
44
|
}
|
45
45
|
export type AdminProductVariantInventoryResponse = AdminProductVariantInventoryLink | AdminProductVariantInventoryLink[];
|
46
46
|
export interface AdminProductVariantInventoryBatchResponse {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/product/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,gCAAgC,EACjC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;IACvD,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA2B,SAAQ,cAAc,CAAC,SAAS,CAAC;CAAG;AAEhF,MAAM,WAAW,yBACf,SAAQ,mBAAmB,CAAC,YAAY,CAAC;CAAG;AAE9C,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,mBAAmB,CAAA;CAC7B;AAED,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;IAC9D,QAAQ,EAAE,mBAAmB,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,iCACf,SAAQ,wBAAwB,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAE9D,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAA;QAChB,Q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version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/product/store/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAC9E,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAE/D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB"}
|
@@ -13,6 +13,7 @@ export interface BaseProductCategory {
|
|
13
13
|
parent_category: BaseProductCategory | null;
|
14
14
|
category_children: BaseProductCategory[];
|
15
15
|
products?: BaseProduct[];
|
16
|
+
metadata?: Record<string, unknown> | null;
|
16
17
|
created_at: string;
|
17
18
|
updated_at: string;
|
18
19
|
deleted_at: string | null;
|