@medusajs/types 1.12.0-preview-20240520150505 → 1.12.0-preview-20240520210446
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cart/common.d.ts +0 -107
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/http/cart/common.d.ts +636 -0
- package/dist/http/cart/common.d.ts.map +1 -0
- package/dist/http/cart/common.js +3 -0
- package/dist/http/cart/common.js.map +1 -0
- package/dist/http/cart/index.d.ts +2 -0
- package/dist/http/cart/index.d.ts.map +1 -0
- package/dist/http/cart/index.js +18 -0
- package/dist/http/cart/index.js.map +1 -0
- package/dist/http/cart/store.d.ts +45 -0
- package/dist/http/cart/store.d.ts.map +1 -0
- package/dist/http/{order/admin/index.js → cart/store.js} +1 -1
- package/dist/http/cart/store.js.map +1 -0
- package/dist/http/index.d.ts +1 -0
- package/dist/http/index.d.ts.map +1 -1
- package/dist/http/index.js +1 -0
- package/dist/http/index.js.map +1 -1
- package/dist/http/order/admin.d.ts +4 -0
- package/dist/http/order/admin.d.ts.map +1 -0
- package/dist/http/order/admin.js +3 -0
- package/dist/http/order/admin.js.map +1 -0
- package/dist/http/order/{admin/index.d.ts → common.d.ts} +33 -87
- package/dist/http/order/common.d.ts.map +1 -0
- package/dist/http/order/common.js +3 -0
- package/dist/http/order/common.js.map +1 -0
- package/dist/http/order/index.d.ts +1 -0
- package/dist/http/order/index.d.ts.map +1 -1
- package/dist/http/order/index.js +1 -0
- package/dist/http/order/index.js.map +1 -1
- package/dist/http/order/store.d.ts +4 -0
- package/dist/http/order/store.d.ts.map +1 -0
- package/dist/http/order/store.js +3 -0
- package/dist/http/order/store.js.map +1 -0
- package/dist/http/payment/admin.d.ts +12 -1
- package/dist/http/payment/admin.d.ts.map +1 -1
- package/dist/http/payment/common.d.ts +335 -0
- package/dist/http/payment/common.d.ts.map +1 -1
- package/dist/http/payment/store.d.ts +11 -1
- package/dist/http/payment/store.d.ts.map +1 -1
- package/dist/http/product/store.d.ts +5 -2
- package/dist/http/product/store.d.ts.map +1 -1
- package/dist/order/common.d.ts +2 -4
- package/dist/order/common.d.ts.map +1 -1
- package/dist/order/mutations.d.ts +1 -1
- package/dist/order/mutations.d.ts.map +1 -1
- package/dist/order/service.d.ts +5 -9
- package/dist/order/service.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/order/admin/index.d.ts.map +0 -1
- package/dist/http/order/admin/index.js.map +0 -1
@@ -0,0 +1,45 @@
|
|
1
|
+
import { BaseCart, BaseCartAddress, BaseCartLineItem, BaseCartShippingMethod } from "./common";
|
2
|
+
export interface StoreCart extends BaseCart {
|
3
|
+
}
|
4
|
+
export interface StoreCartLineItem extends BaseCartLineItem {
|
5
|
+
}
|
6
|
+
export interface StoreCartAddress extends BaseCartAddress {
|
7
|
+
}
|
8
|
+
export interface StoreCartShippingMethod extends BaseCartShippingMethod {
|
9
|
+
}
|
10
|
+
export interface StoreCreateCart {
|
11
|
+
region_id?: string;
|
12
|
+
shipping_address?: StoreCartAddress;
|
13
|
+
billing_address?: StoreCartAddress;
|
14
|
+
email?: string;
|
15
|
+
currency_code?: string;
|
16
|
+
items?: StoreCartLineItem[];
|
17
|
+
sales_channel_id?: string;
|
18
|
+
metadata?: Record<string, unknown>;
|
19
|
+
}
|
20
|
+
export interface StoreUpdateCart {
|
21
|
+
region_id?: string;
|
22
|
+
shipping_address?: StoreCartAddress;
|
23
|
+
billing_address?: StoreCartAddress;
|
24
|
+
email?: string;
|
25
|
+
sales_channel_id?: string;
|
26
|
+
metadata?: Record<string, unknown>;
|
27
|
+
promo_codes?: string[];
|
28
|
+
}
|
29
|
+
export interface StoreAddCartLineItem {
|
30
|
+
variant_id: string;
|
31
|
+
quantity: number;
|
32
|
+
metadata?: Record<string, unknown>;
|
33
|
+
}
|
34
|
+
export interface StoreUpdateCartLineItem {
|
35
|
+
quantity: number;
|
36
|
+
metadata?: Record<string, unknown>;
|
37
|
+
}
|
38
|
+
export interface StoreAddCartShippingMethods {
|
39
|
+
option_id: string;
|
40
|
+
data?: Record<string, unknown>;
|
41
|
+
}
|
42
|
+
export interface StoreCompleteCart {
|
43
|
+
idempotency_key?: string;
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=store.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/cart/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,SAAU,SAAQ,QAAQ;CAAG;AAC9C,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,gBAAiB,SAAQ,eAAe;CAAG;AAC5D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;CAAG;AAE1E,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IACnC,eAAe,CAAC,EAAE,gBAAgB,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/cart/store.ts"],"names":[],"mappings":""}
|
package/dist/http/index.d.ts
CHANGED
package/dist/http/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,OAAO,CAAA;AACrB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA"}
|
package/dist/http/index.js
CHANGED
@@ -30,6 +30,7 @@ __exportStar(require("./product-category"), exports);
|
|
30
30
|
__exportStar(require("./reservation"), exports);
|
31
31
|
__exportStar(require("./region"), exports);
|
32
32
|
__exportStar(require("./product"), exports);
|
33
|
+
__exportStar(require("./cart"), exports);
|
33
34
|
__exportStar(require("./payment"), exports);
|
34
35
|
__exportStar(require("./collection"), exports);
|
35
36
|
__exportStar(require("./common"), exports);
|
package/dist/http/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC;AAClC,gDAA6B;AAC7B,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,+CAA4B;AAC5B,2CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB;AACvB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,kDAA+B;AAC/B,oDAAiC;AACjC,wCAAqB;AACrB,qDAAkC;AAClC,gDAA6B;AAC7B,2CAAwB;AACxB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,+CAA4B;AAC5B,2CAAwB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":""}
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
import { PaginatedResponse } from "../../common";
|
3
|
-
interface OrderSummary {
|
1
|
+
interface BaseOrderSummary {
|
4
2
|
total: number;
|
5
3
|
subtotal: number;
|
6
4
|
total_tax: number;
|
@@ -19,8 +17,10 @@ interface OrderSummary {
|
|
19
17
|
future_projected_total: number;
|
20
18
|
balance: number;
|
21
19
|
future_balance: number;
|
20
|
+
paid_total: number;
|
21
|
+
refunded_total: number;
|
22
22
|
}
|
23
|
-
interface
|
23
|
+
interface BaseOrderAdjustmentLine {
|
24
24
|
id: string;
|
25
25
|
code?: string;
|
26
26
|
amount: number;
|
@@ -31,15 +31,15 @@ interface OrderAdjustmentLine {
|
|
31
31
|
created_at: Date | string;
|
32
32
|
updated_at: Date | string;
|
33
33
|
}
|
34
|
-
interface
|
35
|
-
shipping_method:
|
34
|
+
interface BaseOrderShippingMethodAdjustment extends BaseOrderAdjustmentLine {
|
35
|
+
shipping_method: BaseOrderShippingMethod;
|
36
36
|
shipping_method_id: string;
|
37
37
|
}
|
38
|
-
interface
|
39
|
-
item:
|
38
|
+
interface BaseOrderLineItemAdjustment extends BaseOrderAdjustmentLine {
|
39
|
+
item: BaseOrderLineItem;
|
40
40
|
item_id: string;
|
41
41
|
}
|
42
|
-
interface
|
42
|
+
interface BaseOrderTaxLine {
|
43
43
|
id: string;
|
44
44
|
description?: string;
|
45
45
|
tax_rate_id?: string;
|
@@ -49,23 +49,19 @@ interface OrderTaxLine {
|
|
49
49
|
created_at: Date | string;
|
50
50
|
updated_at: Date | string;
|
51
51
|
}
|
52
|
-
interface
|
53
|
-
shipping_method:
|
52
|
+
interface BaseOrderShippingMethodTaxLine extends BaseOrderTaxLine {
|
53
|
+
shipping_method: BaseOrderShippingMethod;
|
54
54
|
shipping_method_id: string;
|
55
55
|
total: number;
|
56
56
|
subtotal: number;
|
57
|
-
raw_total?: BigNumberRawValue;
|
58
|
-
raw_subtotal?: BigNumberRawValue;
|
59
57
|
}
|
60
|
-
interface
|
61
|
-
item:
|
58
|
+
interface BaseOrderLineItemTaxLine extends BaseOrderTaxLine {
|
59
|
+
item: BaseOrderLineItem;
|
62
60
|
item_id: string;
|
63
61
|
total: number;
|
64
62
|
subtotal: number;
|
65
|
-
raw_total?: BigNumberRawValue;
|
66
|
-
raw_subtotal?: BigNumberRawValue;
|
67
63
|
}
|
68
|
-
interface
|
64
|
+
interface BaseOrderAddress {
|
69
65
|
id: string;
|
70
66
|
customer_id?: string;
|
71
67
|
first_name?: string;
|
@@ -82,23 +78,22 @@ interface OrderAddress {
|
|
82
78
|
created_at: Date | string;
|
83
79
|
updated_at: Date | string;
|
84
80
|
}
|
85
|
-
interface
|
81
|
+
interface BaseOrderShippingMethod {
|
86
82
|
id: string;
|
87
83
|
order_id: string;
|
88
84
|
name: string;
|
89
85
|
description?: string;
|
90
86
|
amount: number;
|
91
|
-
raw_amount?: BigNumberRawValue;
|
92
87
|
is_tax_inclusive: boolean;
|
93
88
|
shipping_option_id: string | null;
|
94
89
|
data: Record<string, unknown> | null;
|
95
90
|
metadata: Record<string, unknown> | null;
|
96
|
-
tax_lines?:
|
97
|
-
adjustments?:
|
91
|
+
tax_lines?: BaseOrderShippingMethodTaxLine[];
|
92
|
+
adjustments?: BaseOrderShippingMethodAdjustment[];
|
98
93
|
created_at: Date | string;
|
99
94
|
updated_at: Date | string;
|
100
95
|
}
|
101
|
-
interface
|
96
|
+
interface BaseOrderLineItem {
|
102
97
|
id: string;
|
103
98
|
title: string;
|
104
99
|
subtitle: string | null;
|
@@ -119,14 +114,11 @@ interface OrderLineItem {
|
|
119
114
|
is_discountable: boolean;
|
120
115
|
is_tax_inclusive: boolean;
|
121
116
|
compare_at_unit_price?: number;
|
122
|
-
raw_compare_at_unit_price?: BigNumberRawValue;
|
123
117
|
unit_price: number;
|
124
|
-
raw_unit_price?: BigNumberRawValue;
|
125
118
|
quantity: number;
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
detail: OrderItemDetail;
|
119
|
+
tax_lines?: BaseOrderLineItemTaxLine[];
|
120
|
+
adjustments?: BaseOrderLineItemAdjustment[];
|
121
|
+
detail: BaseOrderItemDetail;
|
130
122
|
created_at: Date;
|
131
123
|
updated_at: Date;
|
132
124
|
metadata: Record<string, unknown> | null;
|
@@ -141,22 +133,11 @@ interface OrderLineItem {
|
|
141
133
|
tax_total: number;
|
142
134
|
discount_total: number;
|
143
135
|
discount_tax_total: number;
|
144
|
-
raw_original_total?: BigNumberRawValue;
|
145
|
-
raw_original_subtotal?: BigNumberRawValue;
|
146
|
-
raw_original_tax_total?: BigNumberRawValue;
|
147
|
-
raw_item_total?: BigNumberRawValue;
|
148
|
-
raw_item_subtotal?: BigNumberRawValue;
|
149
|
-
raw_item_tax_total?: BigNumberRawValue;
|
150
|
-
raw_total?: BigNumberRawValue;
|
151
|
-
raw_subtotal?: BigNumberRawValue;
|
152
|
-
raw_tax_total?: BigNumberRawValue;
|
153
|
-
raw_discount_total?: BigNumberRawValue;
|
154
|
-
raw_discount_tax_total?: BigNumberRawValue;
|
155
136
|
}
|
156
|
-
interface
|
137
|
+
interface BaseOrderItemDetail {
|
157
138
|
id: string;
|
158
139
|
item_id: string;
|
159
|
-
item:
|
140
|
+
item: BaseOrderLineItem;
|
160
141
|
quantity: number;
|
161
142
|
fulfilled_quantity: number;
|
162
143
|
shipped_quantity: number;
|
@@ -164,22 +145,14 @@ interface OrderItemDetail {
|
|
164
145
|
return_received_quantity: number;
|
165
146
|
return_dismissed_quantity: number;
|
166
147
|
written_off_quantity: number;
|
167
|
-
raw_quantity?: BigNumberRawValue;
|
168
|
-
raw_fulfilled_quantity?: BigNumberRawValue;
|
169
|
-
raw_shipped_quantity?: BigNumberRawValue;
|
170
|
-
raw_return_requested_quantity?: BigNumberRawValue;
|
171
|
-
raw_return_received_quantity?: BigNumberRawValue;
|
172
|
-
raw_return_dismissed_quantity?: BigNumberRawValue;
|
173
|
-
raw_written_off_quantity?: BigNumberRawValue;
|
174
148
|
metadata: Record<string, unknown> | null;
|
175
149
|
created_at: Date;
|
176
150
|
updated_at: Date;
|
177
151
|
}
|
178
|
-
interface
|
152
|
+
interface BaseOrderTransaction {
|
179
153
|
id: string;
|
180
154
|
order_id: string;
|
181
155
|
amount: number;
|
182
|
-
raw_amount?: BigNumberRawValue;
|
183
156
|
currency_code: string;
|
184
157
|
reference: string;
|
185
158
|
reference_id: string;
|
@@ -187,7 +160,7 @@ interface OrderTransaction {
|
|
187
160
|
created_at: Date | string;
|
188
161
|
updated_at: Date | string;
|
189
162
|
}
|
190
|
-
export interface
|
163
|
+
export interface BaseOrder {
|
191
164
|
id: string;
|
192
165
|
version: number;
|
193
166
|
region_id: string | null;
|
@@ -195,12 +168,13 @@ export interface OrderResponse {
|
|
195
168
|
sales_channel_id: string | null;
|
196
169
|
email: string | null;
|
197
170
|
currency_code: string;
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
171
|
+
display_id?: string;
|
172
|
+
shipping_address?: BaseOrderAddress;
|
173
|
+
billing_address?: BaseOrderAddress;
|
174
|
+
items: BaseOrderLineItem[] | null;
|
175
|
+
shipping_methods: BaseOrderShippingMethod[] | null;
|
176
|
+
transactions?: BaseOrderTransaction[];
|
177
|
+
summary: BaseOrderSummary;
|
204
178
|
metadata: Record<string, unknown> | null;
|
205
179
|
created_at: string | Date;
|
206
180
|
updated_at: string | Date;
|
@@ -226,34 +200,6 @@ export interface OrderResponse {
|
|
226
200
|
original_shipping_total: number;
|
227
201
|
original_shipping_subtotal: number;
|
228
202
|
original_shipping_tax_total: number;
|
229
|
-
raw_original_item_total?: BigNumberRawValue;
|
230
|
-
raw_original_item_subtotal?: BigNumberRawValue;
|
231
|
-
raw_original_item_tax_total?: BigNumberRawValue;
|
232
|
-
raw_item_total?: BigNumberRawValue;
|
233
|
-
raw_item_subtotal?: BigNumberRawValue;
|
234
|
-
raw_item_tax_total?: BigNumberRawValue;
|
235
|
-
raw_original_total?: BigNumberRawValue;
|
236
|
-
raw_original_subtotal?: BigNumberRawValue;
|
237
|
-
raw_original_tax_total?: BigNumberRawValue;
|
238
|
-
raw_total?: BigNumberRawValue;
|
239
|
-
raw_subtotal?: BigNumberRawValue;
|
240
|
-
raw_tax_total?: BigNumberRawValue;
|
241
|
-
raw_discount_total?: BigNumberRawValue;
|
242
|
-
raw_discount_tax_total?: BigNumberRawValue;
|
243
|
-
raw_gift_card_total?: BigNumberRawValue;
|
244
|
-
raw_gift_card_tax_total?: BigNumberRawValue;
|
245
|
-
raw_shipping_total?: BigNumberRawValue;
|
246
|
-
raw_shipping_subtotal?: BigNumberRawValue;
|
247
|
-
raw_shipping_tax_total?: BigNumberRawValue;
|
248
|
-
raw_original_shipping_total?: BigNumberRawValue;
|
249
|
-
raw_original_shipping_subtotal?: BigNumberRawValue;
|
250
|
-
raw_original_shipping_tax_total?: BigNumberRawValue;
|
251
|
-
}
|
252
|
-
export type AdminOrderListResponse = PaginatedResponse<{
|
253
|
-
orders: OrderResponse[];
|
254
|
-
}>;
|
255
|
-
export interface AdminOrderResponse {
|
256
|
-
order: OrderResponse;
|
257
203
|
}
|
258
204
|
export {};
|
259
|
-
//# sourceMappingURL=
|
205
|
+
//# sourceMappingURL=common.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,gBAAgB,EAAE,MAAM,CAAA;IACxB,sBAAsB,EAAE,MAAM,CAAA;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,UAAU,uBAAuB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB,UAAU,EAAE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I,CAAA;IAClD,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACrC,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,sBAAsB,EAAE,MAAM,CAAA;IAC9B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,0BAA0B,EAAE,MAAM,CAAA;IAClC,2BAA2B,EAAE,MAAM,CAAA;CACpC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/order/common.ts"],"names":[],"mappings":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
|
package/dist/http/order/index.js
CHANGED
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./admin"), exports);
|
18
|
+
__exportStar(require("./store"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEpC,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,16 @@
|
|
1
|
-
import { BasePaymentProvider } from "./common";
|
1
|
+
import { BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters } from "./common";
|
2
2
|
export interface AdminPaymentProvider extends BasePaymentProvider {
|
3
3
|
is_enabled: boolean;
|
4
4
|
}
|
5
|
+
export interface AdminPaymentCollection extends BasePaymentCollection {
|
6
|
+
}
|
7
|
+
export interface AdminPaymentSession extends BasePaymentSession {
|
8
|
+
}
|
9
|
+
export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
|
10
|
+
is_enabled?: boolean;
|
11
|
+
}
|
12
|
+
export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
|
13
|
+
}
|
14
|
+
export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
|
15
|
+
}
|
5
16
|
//# sourceMappingURL=admin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
|