@medusajs/types 1.12.0-snapshot-20240405070935 → 1.12.0-snapshot-20240406075900
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth/common/auth-user.d.ts +21 -16
- package/dist/auth/common/auth-user.d.ts.map +1 -1
- package/dist/auth/common/provider.d.ts +28 -15
- package/dist/auth/common/provider.d.ts.map +1 -1
- package/dist/auth/service.d.ts +137 -75
- package/dist/auth/service.d.ts.map +1 -1
- package/dist/bundles.d.ts +2 -0
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +3 -1
- package/dist/bundles.js.map +1 -1
- package/dist/cart/common.d.ts +443 -62
- package/dist/cart/common.d.ts.map +1 -1
- package/dist/cart/mutations.d.ts +483 -0
- package/dist/cart/mutations.d.ts.map +1 -1
- package/dist/cart/mutations.js.map +1 -1
- package/dist/cart/service.d.ts +1607 -0
- package/dist/cart/service.d.ts.map +1 -1
- package/dist/common/index.d.ts +1 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -0
- package/dist/common/index.js.map +1 -1
- package/dist/common/rule.d.ts +2 -0
- package/dist/common/rule.d.ts.map +1 -0
- package/dist/common/rule.js +3 -0
- package/dist/common/rule.js.map +1 -0
- package/dist/customer/service.d.ts +445 -197
- package/dist/customer/service.d.ts.map +1 -1
- package/dist/file/common.d.ts +14 -0
- package/dist/file/common.d.ts.map +1 -0
- package/dist/file/common.js +3 -0
- package/dist/file/common.js.map +1 -0
- package/dist/file/index.d.ts +4 -0
- package/dist/file/index.d.ts.map +1 -0
- package/dist/file/index.js +20 -0
- package/dist/file/index.js.map +1 -0
- package/dist/file/mutations.d.ts +18 -0
- package/dist/file/mutations.d.ts.map +1 -0
- package/dist/file/mutations.js +3 -0
- package/dist/file/mutations.js.map +1 -0
- package/dist/file/service.d.ts +76 -0
- package/dist/file/service.d.ts.map +1 -0
- package/dist/file/service.js +3 -0
- package/dist/file/service.js.map +1 -0
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts +2 -2
- package/dist/fulfillment/mutations/shipping-option-rule.d.ts.map +1 -1
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts +22 -0
- package/dist/http/fulfillment/admin/fulfillment-address.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-address.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment-address.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts +17 -0
- package/dist/http/fulfillment/admin/fulfillment-item.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-item.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment-item.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts +14 -0
- package/dist/http/fulfillment/admin/fulfillment-label.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-label.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment-label.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts +12 -0
- package/dist/http/fulfillment/admin/fulfillment-provider.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-provider.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment-provider.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts +15 -0
- package/dist/http/fulfillment/admin/fulfillment-set.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment-set.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment-set.js.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment.d.ts +27 -0
- package/dist/http/fulfillment/admin/fulfillment.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/fulfillment.js +3 -0
- package/dist/http/fulfillment/admin/fulfillment.js.map +1 -0
- package/dist/http/fulfillment/admin/geo-zone.d.ts +17 -0
- package/dist/http/fulfillment/admin/geo-zone.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/geo-zone.js +3 -0
- package/dist/http/fulfillment/admin/geo-zone.js.map +1 -0
- package/dist/http/fulfillment/admin/index.d.ts +13 -0
- package/dist/http/fulfillment/admin/index.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/index.js +29 -0
- package/dist/http/fulfillment/admin/index.js.map +1 -0
- package/dist/http/fulfillment/admin/service-zone.d.ts +14 -0
- package/dist/http/fulfillment/admin/service-zone.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/service-zone.js +3 -0
- package/dist/http/fulfillment/admin/service-zone.js.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts +16 -0
- package/dist/http/fulfillment/admin/shipping-option-rule.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option-rule.js +3 -0
- package/dist/http/fulfillment/admin/shipping-option-rule.js.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts +14 -0
- package/dist/http/fulfillment/admin/shipping-option-type.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option-type.js +3 -0
- package/dist/http/fulfillment/admin/shipping-option-type.js.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option.d.ts +31 -0
- package/dist/http/fulfillment/admin/shipping-option.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/shipping-option.js +3 -0
- package/dist/http/fulfillment/admin/shipping-option.js.map +1 -0
- package/dist/http/fulfillment/admin/shipping-profile.d.ts +13 -0
- package/dist/http/fulfillment/admin/shipping-profile.d.ts.map +1 -0
- package/dist/http/fulfillment/admin/shipping-profile.js +3 -0
- package/dist/http/fulfillment/admin/shipping-profile.js.map +1 -0
- package/dist/http/fulfillment/index.d.ts +2 -0
- package/dist/http/fulfillment/index.d.ts.map +1 -0
- package/dist/http/fulfillment/index.js +18 -0
- package/dist/http/fulfillment/index.js.map +1 -0
- package/dist/http/index.d.ts +3 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/index.js +19 -0
- package/dist/http/index.js.map +1 -0
- package/dist/http/stock-locations/common.d.ts +28 -0
- package/dist/http/stock-locations/common.d.ts.map +1 -0
- package/dist/http/stock-locations/common.js +3 -0
- package/dist/http/stock-locations/common.js.map +1 -0
- package/dist/http/stock-locations/index.d.ts +2 -0
- package/dist/http/stock-locations/index.d.ts.map +1 -0
- package/dist/http/stock-locations/index.js +18 -0
- package/dist/http/stock-locations/index.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/inventory/common/inventory-item.d.ts +55 -64
- package/dist/inventory/common/inventory-item.d.ts.map +1 -1
- package/dist/inventory/common/inventory-level.d.ts +37 -37
- package/dist/inventory/common/inventory-level.d.ts.map +1 -1
- package/dist/inventory/common/reservation-item.d.ts +34 -44
- package/dist/inventory/common/reservation-item.d.ts.map +1 -1
- package/dist/inventory/service-next.d.ts +596 -534
- package/dist/inventory/service-next.d.ts.map +1 -1
- package/dist/payment/common.d.ts +174 -53
- package/dist/payment/common.d.ts.map +1 -1
- package/dist/payment/common.js +3 -3
- package/dist/payment/common.js.map +1 -1
- package/dist/payment/mutations.d.ts +58 -17
- package/dist/payment/mutations.d.ts.map +1 -1
- package/dist/payment/provider.d.ts +128 -43
- package/dist/payment/provider.d.ts.map +1 -1
- package/dist/payment/provider.js.map +1 -1
- package/dist/payment/service.d.ts +460 -39
- package/dist/payment/service.d.ts.map +1 -1
- package/dist/pricing/common/price-list.d.ts +2 -2
- package/dist/pricing/common/price-set.d.ts +6 -4
- package/dist/pricing/common/price-set.d.ts.map +1 -1
- package/dist/pricing/service.d.ts +731 -1695
- package/dist/pricing/service.d.ts.map +1 -1
- package/dist/product/common.d.ts +4 -0
- package/dist/product/common.d.ts.map +1 -1
- package/dist/product-category/repository.d.ts +2 -1
- package/dist/product-category/repository.d.ts.map +1 -1
- package/dist/promotion/common/application-method.d.ts +153 -0
- package/dist/promotion/common/application-method.d.ts.map +1 -1
- package/dist/promotion/common/campaign-budget.d.ts +37 -0
- package/dist/promotion/common/campaign-budget.d.ts.map +1 -1
- package/dist/promotion/common/campaign.d.ts +36 -0
- package/dist/promotion/common/campaign.d.ts.map +1 -1
- package/dist/promotion/common/compute-actions.d.ts +135 -0
- package/dist/promotion/common/compute-actions.d.ts.map +1 -1
- package/dist/promotion/common/promotion-rule-value.d.ts +30 -0
- package/dist/promotion/common/promotion-rule-value.d.ts.map +1 -1
- package/dist/promotion/common/promotion-rule.d.ts +77 -0
- package/dist/promotion/common/promotion-rule.d.ts.map +1 -1
- package/dist/promotion/common/promotion.d.ts +100 -0
- package/dist/promotion/common/promotion.d.ts.map +1 -1
- package/dist/promotion/mutations.d.ts +84 -0
- package/dist/promotion/mutations.d.ts.map +1 -1
- package/dist/promotion/service.d.ts +786 -0
- package/dist/promotion/service.d.ts.map +1 -1
- package/dist/region/common.d.ts +9 -0
- package/dist/region/common.d.ts.map +1 -1
- package/dist/region/mutations.d.ts +11 -3
- package/dist/region/mutations.d.ts.map +1 -1
- package/dist/region/service.d.ts +210 -85
- package/dist/region/service.d.ts.map +1 -1
- package/dist/stock-location/common.d.ts +14 -0
- package/dist/stock-location/common.d.ts.map +1 -1
- package/dist/stock-location/service-next.d.ts +178 -186
- package/dist/stock-location/service-next.d.ts.map +1 -1
- package/dist/store/common/store.d.ts +42 -0
- package/dist/store/common/store.d.ts.map +1 -1
- package/dist/store/mutations/store.d.ts +75 -0
- package/dist/store/mutations/store.d.ts.map +1 -1
- package/dist/store/service.d.ts +113 -75
- package/dist/store/service.d.ts.map +1 -1
- package/dist/tax/common.d.ts +298 -10
- package/dist/tax/common.d.ts.map +1 -1
- package/dist/tax/mutations.d.ts +157 -0
- package/dist/tax/mutations.d.ts.map +1 -1
- package/dist/tax/provider.d.ts +126 -0
- package/dist/tax/provider.d.ts.map +1 -1
- package/dist/tax/service.d.ts +600 -0
- package/dist/tax/service.d.ts.map +1 -1
- package/dist/workflows/index.d.ts +2 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/index.js +18 -0
- package/dist/workflows/index.js.map +1 -0
- package/dist/workflows/stock-locations/index.d.ts +2 -0
- package/dist/workflows/stock-locations/index.d.ts.map +1 -0
- package/dist/workflows/stock-locations/index.js +18 -0
- package/dist/workflows/stock-locations/index.js.map +1 -0
- package/dist/workflows/stock-locations/mutations.d.ts +8 -0
- package/dist/workflows/stock-locations/mutations.d.ts.map +1 -0
- package/dist/workflows/stock-locations/mutations.js +3 -0
- package/dist/workflows/stock-locations/mutations.js.map +1 -0
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;
|
1
|
+
{"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/inventory/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;AAEjC;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,IAAI,CACF,QAAQ,EAAE,aAAa,CAAC,4BAA4B,EACpD,MAAM,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,EACnD,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgDG;IACH,YAAY,CACV,QAAQ,EAAE,aAAa,CAAC,4BAA4B,EACpD,MAAM,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAAC,EACnD,OAA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M,EACpE,iBAAiB,EAAE,MAAM,EAAE,EAC3B,MAAM,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,EAC/C,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,eAAe,CACb,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAE3C;;;;;;;;;;;;;;;;OAgBG;IACH,gBAAgB,CACd,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAAA;IAEnB;;;;;;;;;;;;;;OAcG;IACH,yBAAyB,CACvB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CACrB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB;;;;;;;;;;;;;;OAcG;IACH,wBAAwB,CACtB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EAAE,EACrB,OAAO,CAAC,EAAE,OAAO,GAChB,OAAO,CAAC,MAAM,CAAC,CAAA;CACnB"}
|
package/dist/payment/common.d.ts
CHANGED
@@ -11,11 +11,11 @@ export declare enum PaymentCollectionStatus {
|
|
11
11
|
*/
|
12
12
|
NOT_PAID = "not_paid",
|
13
13
|
/**
|
14
|
-
* The payment collection
|
14
|
+
* The payment sessions in the payment collection are await authorization.
|
15
15
|
*/
|
16
16
|
AWAITING = "awaiting",
|
17
17
|
/**
|
18
|
-
* The payment collection
|
18
|
+
* The payment sessions in the payment collection are authorized.
|
19
19
|
*/
|
20
20
|
AUTHORIZED = "authorized",
|
21
21
|
/**
|
@@ -23,7 +23,7 @@ export declare enum PaymentCollectionStatus {
|
|
23
23
|
*/
|
24
24
|
PARTIALLY_AUTHORIZED = "partially_authorized",
|
25
25
|
/**
|
26
|
-
* The payment collection
|
26
|
+
* The payments in the payment collection are canceled.
|
27
27
|
*/
|
28
28
|
CANCELED = "canceled"
|
29
29
|
}
|
@@ -59,63 +59,63 @@ export declare enum PaymentSessionStatus {
|
|
59
59
|
*/
|
60
60
|
export interface PaymentCollectionDTO {
|
61
61
|
/**
|
62
|
-
* The ID of the
|
62
|
+
* The ID of the payment collection.
|
63
63
|
*/
|
64
64
|
id: string;
|
65
65
|
/**
|
66
|
-
* The currency of the
|
66
|
+
* The ISO 3 character currency code of the payment sessions and payments associated with payment collection.
|
67
67
|
*/
|
68
68
|
currency_code: string;
|
69
69
|
/**
|
70
|
-
* The id of the region
|
70
|
+
* The id of the associated region.
|
71
71
|
*/
|
72
72
|
region_id: string;
|
73
73
|
/**
|
74
|
-
* The amount
|
74
|
+
* The total amount to be authorized and captured.
|
75
75
|
*/
|
76
76
|
amount: number;
|
77
77
|
/**
|
78
|
-
* The amount authorized within associated payment sessions
|
78
|
+
* The amount authorized within the associated payment sessions.
|
79
79
|
*/
|
80
80
|
authorized_amount?: number;
|
81
81
|
/**
|
82
|
-
* The amount refunded
|
82
|
+
* The amount refunded within the associated payments.
|
83
83
|
*/
|
84
84
|
refunded_amount?: number;
|
85
85
|
/**
|
86
|
-
* When the payment collection was completed
|
86
|
+
* When the payment collection was completed.
|
87
87
|
*/
|
88
88
|
completed_at?: string | Date;
|
89
89
|
/**
|
90
|
-
* When the payment collection was created
|
90
|
+
* When the payment collection was created.
|
91
91
|
*/
|
92
92
|
created_at?: string | Date;
|
93
93
|
/**
|
94
|
-
* When the payment collection was updated
|
94
|
+
* When the payment collection was updated.
|
95
95
|
*/
|
96
96
|
updated_at?: string | Date;
|
97
97
|
/**
|
98
|
-
* Holds custom data in key-value pairs
|
98
|
+
* Holds custom data in key-value pairs.
|
99
99
|
*/
|
100
100
|
metadata?: Record<string, unknown>;
|
101
101
|
/**
|
102
|
-
* The status of the payment collection
|
102
|
+
* The status of the payment collection.
|
103
103
|
*/
|
104
104
|
status: PaymentCollectionStatus;
|
105
105
|
/**
|
106
|
-
* The payment provider
|
106
|
+
* The payment provider used to process the associated payment sessions and payments.
|
107
107
|
*
|
108
108
|
* @expandable
|
109
109
|
*/
|
110
110
|
payment_providers: PaymentProviderDTO[];
|
111
111
|
/**
|
112
|
-
* The associated payment sessions
|
112
|
+
* The associated payment sessions.
|
113
113
|
*
|
114
114
|
* @expandable
|
115
115
|
*/
|
116
116
|
payment_sessions?: PaymentSessionDTO[];
|
117
117
|
/**
|
118
|
-
* The associated payments
|
118
|
+
* The associated payments.
|
119
119
|
*
|
120
120
|
* @expandable
|
121
121
|
*/
|
@@ -142,42 +142,120 @@ export interface FilterablePaymentCollectionProps extends BaseFilterable<Payment
|
|
142
142
|
*/
|
143
143
|
updated_at?: OperatorMap<string>;
|
144
144
|
}
|
145
|
+
/**
|
146
|
+
* The filters to apply on the retrieved payment sessions.
|
147
|
+
*/
|
145
148
|
export interface FilterablePaymentSessionProps extends BaseFilterable<PaymentSessionDTO> {
|
149
|
+
/**
|
150
|
+
* The IDs to filter the payment sessions by.
|
151
|
+
*/
|
146
152
|
id?: string | string[];
|
153
|
+
/**
|
154
|
+
* Filter the payment sessions by their currency code.
|
155
|
+
*/
|
147
156
|
currency_code?: string | string[];
|
157
|
+
/**
|
158
|
+
* Filter the payment sessions by their amount.
|
159
|
+
*/
|
148
160
|
amount?: number | OperatorMap<number>;
|
161
|
+
/**
|
162
|
+
* Filter the payment sessions by the ID of their associated payment provider.
|
163
|
+
*/
|
149
164
|
provider_id?: string | string[];
|
165
|
+
/**
|
166
|
+
* Filter the payment sessions by the ID of their associated payment collection.
|
167
|
+
*/
|
150
168
|
payment_collection_id?: string | string[];
|
169
|
+
/**
|
170
|
+
* Filter the payment sessions by the ID of their associated region.
|
171
|
+
*/
|
151
172
|
region_id?: string | string[] | OperatorMap<string>;
|
173
|
+
/**
|
174
|
+
* Filter the payment sessions by their creation date.
|
175
|
+
*/
|
152
176
|
created_at?: OperatorMap<string>;
|
177
|
+
/**
|
178
|
+
* Filter the payment sessions by their update date.
|
179
|
+
*/
|
153
180
|
updated_at?: OperatorMap<string>;
|
181
|
+
/**
|
182
|
+
* Filter the payment sessions by their deletion date.
|
183
|
+
*/
|
154
184
|
deleted_at?: OperatorMap<string>;
|
155
185
|
}
|
186
|
+
/**
|
187
|
+
* The filters to apply on the retrieved captures.
|
188
|
+
*/
|
156
189
|
export interface FilterableCaptureProps extends BaseFilterable<CaptureDTO> {
|
190
|
+
/**
|
191
|
+
* The IDs to filter the captures by.
|
192
|
+
*/
|
157
193
|
id?: string | string[];
|
194
|
+
/**
|
195
|
+
* Filter the captures by their currency code.
|
196
|
+
*/
|
158
197
|
currency_code?: string | string[];
|
198
|
+
/**
|
199
|
+
* Filter the captures by their amounts.
|
200
|
+
*/
|
159
201
|
amount?: number | OperatorMap<number>;
|
202
|
+
/**
|
203
|
+
* Filter the captures by the ID of their associated payment.
|
204
|
+
*/
|
160
205
|
payment_id?: string | string[];
|
206
|
+
/**
|
207
|
+
* Filter the captures by their creation date.
|
208
|
+
*/
|
161
209
|
created_at?: OperatorMap<string>;
|
210
|
+
/**
|
211
|
+
* Filter the captures by their update date.
|
212
|
+
*/
|
162
213
|
updated_at?: OperatorMap<string>;
|
214
|
+
/**
|
215
|
+
* Filter the captures by their deletion date.
|
216
|
+
*/
|
163
217
|
deleted_at?: OperatorMap<string>;
|
164
218
|
}
|
219
|
+
/**
|
220
|
+
* The filters to apply on the retrieved refunds.
|
221
|
+
*/
|
165
222
|
export interface FilterableRefundProps extends BaseFilterable<RefundDTO> {
|
223
|
+
/**
|
224
|
+
* The IDs to filter the refunds by.
|
225
|
+
*/
|
166
226
|
id?: string | string[];
|
227
|
+
/**
|
228
|
+
* Filter the refunds by their currency code.
|
229
|
+
*/
|
167
230
|
currency_code?: string | string[];
|
231
|
+
/**
|
232
|
+
* Filter the refunds by their amount.
|
233
|
+
*/
|
168
234
|
amount?: number | OperatorMap<number>;
|
235
|
+
/**
|
236
|
+
* Filter the refunds by the ID of their associated payment.
|
237
|
+
*/
|
169
238
|
payment_id?: string | string[];
|
239
|
+
/**
|
240
|
+
* Filter the refunds by their creation date.
|
241
|
+
*/
|
170
242
|
created_at?: OperatorMap<string>;
|
243
|
+
/**
|
244
|
+
* Filter the refunds by their update date.
|
245
|
+
*/
|
171
246
|
updated_at?: OperatorMap<string>;
|
247
|
+
/**
|
248
|
+
* Filter the refunds by their deletion date.
|
249
|
+
*/
|
172
250
|
deleted_at?: OperatorMap<string>;
|
173
251
|
}
|
174
252
|
export interface PaymentDTO {
|
175
253
|
/**
|
176
|
-
* The ID of the
|
254
|
+
* The ID of the payment.
|
177
255
|
*/
|
178
256
|
id: string;
|
179
257
|
/**
|
180
|
-
* The payment amount
|
258
|
+
* The payment's total amount.
|
181
259
|
*/
|
182
260
|
amount: number;
|
183
261
|
/**
|
@@ -185,92 +263,125 @@ export interface PaymentDTO {
|
|
185
263
|
*/
|
186
264
|
authorized_amount?: number;
|
187
265
|
/**
|
188
|
-
*
|
266
|
+
* The ISO 3 character currency code of the payment.
|
189
267
|
*/
|
190
268
|
currency_code: string;
|
191
269
|
/**
|
192
|
-
* The ID of payment provider
|
270
|
+
* The ID of the associated payment provider.
|
193
271
|
*/
|
194
272
|
provider_id: string;
|
195
273
|
/**
|
196
|
-
* The associated cart
|
274
|
+
* The ID of the associated cart.
|
197
275
|
*/
|
198
276
|
cart_id?: string;
|
199
277
|
/**
|
200
|
-
* The associated order
|
278
|
+
* The ID of the associated order.
|
201
279
|
*/
|
202
280
|
order_id?: string;
|
203
281
|
/**
|
204
|
-
* The associated order edit
|
282
|
+
* The ID of the associated order edit.
|
205
283
|
*/
|
206
284
|
order_edit_id?: string;
|
207
285
|
/**
|
208
|
-
* The associated customer
|
286
|
+
* The ID of the associated customer.
|
209
287
|
*/
|
210
288
|
customer_id?: string;
|
211
289
|
/**
|
212
|
-
*
|
290
|
+
* The data relevant for the payment provider to process the payment.
|
213
291
|
*/
|
214
292
|
data?: Record<string, unknown>;
|
215
293
|
/**
|
216
|
-
* When the payment
|
294
|
+
* When the payment was created.
|
217
295
|
*/
|
218
296
|
created_at?: string | Date;
|
219
297
|
/**
|
220
|
-
* When the payment
|
298
|
+
* When the payment was updated.
|
221
299
|
*/
|
222
300
|
updated_at?: string | Date;
|
223
301
|
/**
|
224
|
-
* When the payment was captured
|
302
|
+
* When the payment was captured.
|
225
303
|
*/
|
226
304
|
captured_at?: string | Date;
|
227
305
|
/**
|
228
|
-
* When the payment was canceled
|
306
|
+
* When the payment was canceled.
|
229
307
|
*/
|
230
308
|
canceled_at?: string | Date;
|
231
309
|
/**
|
232
|
-
* The sum of the associated captures
|
310
|
+
* The sum of the associated captures' amounts.
|
233
311
|
*/
|
234
312
|
captured_amount?: number;
|
235
313
|
/**
|
236
|
-
* The sum of the associated refunds
|
314
|
+
* The sum of the associated refunds' amounts.
|
237
315
|
*/
|
238
316
|
refunded_amount?: number;
|
239
317
|
/**
|
240
|
-
* The associated
|
318
|
+
* The associated captures.
|
241
319
|
*
|
242
320
|
* @expandable
|
243
321
|
*/
|
244
322
|
captures?: CaptureDTO[];
|
245
323
|
/**
|
246
|
-
* The associated refunds
|
324
|
+
* The associated refunds.
|
247
325
|
*
|
248
326
|
* @expandable
|
249
327
|
*/
|
250
328
|
refunds?: RefundDTO[];
|
251
329
|
/**
|
252
|
-
* The payment collection
|
330
|
+
* The associated payment collection.
|
253
331
|
*
|
254
332
|
* @expandable
|
255
333
|
*/
|
256
334
|
payment_collection?: PaymentCollectionDTO;
|
257
335
|
/**
|
258
|
-
* The payment session from which the payment is created
|
336
|
+
* The payment session from which the payment is created.
|
259
337
|
*
|
260
338
|
* @expandable
|
261
339
|
*/
|
262
340
|
payment_session?: PaymentSessionDTO;
|
263
341
|
}
|
342
|
+
/**
|
343
|
+
* The filters to apply on the retrieved payments.
|
344
|
+
*/
|
264
345
|
export interface FilterablePaymentProps extends BaseFilterable<FilterablePaymentProps> {
|
346
|
+
/**
|
347
|
+
* The IDs to filter the payments by.
|
348
|
+
*/
|
265
349
|
id?: string | string[];
|
350
|
+
/**
|
351
|
+
* Filter the payments by the ID of their associated payment session.
|
352
|
+
*/
|
266
353
|
session_id?: string | string[] | OperatorMap<string>;
|
354
|
+
/**
|
355
|
+
* Filter the payments by the ID of their associated customer.
|
356
|
+
*/
|
267
357
|
customer_id?: string | string[] | OperatorMap<string>;
|
358
|
+
/**
|
359
|
+
* Filter the payments by the ID of their associated cart.
|
360
|
+
*/
|
268
361
|
cart_id?: string | string[] | OperatorMap<string>;
|
362
|
+
/**
|
363
|
+
* Filter the payments by the ID of their associated order.
|
364
|
+
*/
|
269
365
|
order_id?: string | string[] | OperatorMap<string>;
|
366
|
+
/**
|
367
|
+
* Filter the payments by the ID of their associated order edit.
|
368
|
+
*/
|
270
369
|
order_edit_id?: string | string[] | OperatorMap<string>;
|
370
|
+
/**
|
371
|
+
* Filter the payments by their creation date.
|
372
|
+
*/
|
271
373
|
created_at?: OperatorMap<string>;
|
374
|
+
/**
|
375
|
+
* Filter the payments by their update date.
|
376
|
+
*/
|
272
377
|
updated_at?: OperatorMap<string>;
|
378
|
+
/**
|
379
|
+
* Filter the payments by their capture date.
|
380
|
+
*/
|
273
381
|
captured_at?: OperatorMap<string>;
|
382
|
+
/**
|
383
|
+
* Filter the payments by their cancelation date.
|
384
|
+
*/
|
274
385
|
canceled_at?: OperatorMap<string>;
|
275
386
|
}
|
276
387
|
/**
|
@@ -278,11 +389,11 @@ export interface FilterablePaymentProps extends BaseFilterable<FilterablePayment
|
|
278
389
|
*/
|
279
390
|
export interface CaptureDTO {
|
280
391
|
/**
|
281
|
-
* The ID of the
|
392
|
+
* The ID of the capture.
|
282
393
|
*/
|
283
394
|
id: string;
|
284
395
|
/**
|
285
|
-
*
|
396
|
+
* The captured amount.
|
286
397
|
*/
|
287
398
|
amount: number;
|
288
399
|
/**
|
@@ -290,7 +401,8 @@ export interface CaptureDTO {
|
|
290
401
|
*/
|
291
402
|
created_at: Date;
|
292
403
|
/**
|
293
|
-
* Who the capture was created by.
|
404
|
+
* Who the capture was created by. For example,
|
405
|
+
* the ID of a user.
|
294
406
|
*/
|
295
407
|
created_by?: string;
|
296
408
|
/**
|
@@ -303,11 +415,11 @@ export interface CaptureDTO {
|
|
303
415
|
*/
|
304
416
|
export interface RefundDTO {
|
305
417
|
/**
|
306
|
-
* The ID of the
|
418
|
+
* The ID of the refund
|
307
419
|
*/
|
308
420
|
id: string;
|
309
421
|
/**
|
310
|
-
*
|
422
|
+
* The refunded amount.
|
311
423
|
*/
|
312
424
|
amount: number;
|
313
425
|
/**
|
@@ -315,7 +427,8 @@ export interface RefundDTO {
|
|
315
427
|
*/
|
316
428
|
created_at: Date;
|
317
429
|
/**
|
318
|
-
* Who created the refund.
|
430
|
+
* Who created the refund. For example,
|
431
|
+
* the user's ID.
|
319
432
|
*/
|
320
433
|
created_by?: string;
|
321
434
|
/**
|
@@ -323,46 +436,51 @@ export interface RefundDTO {
|
|
323
436
|
*/
|
324
437
|
payment: PaymentDTO;
|
325
438
|
}
|
439
|
+
/**
|
440
|
+
* The payment session details.
|
441
|
+
*/
|
326
442
|
export interface PaymentSessionDTO {
|
327
443
|
/**
|
328
|
-
* The ID of the
|
444
|
+
* The ID of the payment session.
|
329
445
|
*/
|
330
446
|
id: string;
|
331
447
|
/**
|
332
|
-
* The amount
|
448
|
+
* The amount to authorize.
|
333
449
|
*/
|
334
450
|
amount: number;
|
335
451
|
/**
|
336
|
-
*
|
452
|
+
* The 3 character currency code of the payment session.
|
337
453
|
*/
|
338
454
|
currency_code: string;
|
339
455
|
/**
|
340
|
-
* The ID of payment provider
|
456
|
+
* The ID of the associated payment provider.
|
341
457
|
*/
|
342
458
|
provider_id: string;
|
343
459
|
/**
|
344
|
-
*
|
460
|
+
* The data necessary for the payment provider to process the payment session.
|
345
461
|
*/
|
346
462
|
data: Record<string, unknown>;
|
347
463
|
/**
|
348
|
-
*
|
464
|
+
* The context necessary for the payment provider.
|
349
465
|
*/
|
350
466
|
context?: Record<string, unknown>;
|
351
467
|
/**
|
352
|
-
* The status of the payment session
|
468
|
+
* The status of the payment session.
|
353
469
|
*/
|
354
470
|
status: PaymentSessionStatus;
|
355
471
|
/**
|
356
|
-
* When the session was authorized
|
472
|
+
* When the payment session was authorized.
|
357
473
|
*/
|
358
474
|
authorized_at?: Date;
|
359
475
|
/**
|
360
|
-
* The payment collection the session is associated with
|
476
|
+
* The payment collection the session is associated with.
|
477
|
+
*
|
361
478
|
* @expandable
|
362
479
|
*/
|
363
480
|
payment_collection?: PaymentCollectionDTO;
|
364
481
|
/**
|
365
|
-
* The payment created from the session
|
482
|
+
* The payment created from the session.
|
483
|
+
*
|
366
484
|
* @expandable
|
367
485
|
*/
|
368
486
|
payment?: PaymentDTO;
|
@@ -380,13 +498,16 @@ export interface PaymentProviderDTO {
|
|
380
498
|
*/
|
381
499
|
is_enabled: string;
|
382
500
|
}
|
501
|
+
/**
|
502
|
+
* The filters to apply on the retrieved payment providers.
|
503
|
+
*/
|
383
504
|
export interface FilterablePaymentProviderProps extends BaseFilterable<PaymentProviderDTO> {
|
384
505
|
/**
|
385
506
|
* The IDs to filter the payment collection by.
|
386
507
|
*/
|
387
508
|
id?: string | string[] | OperatorMap<string | string[]>;
|
388
509
|
/**
|
389
|
-
* Filter by enabled
|
510
|
+
* Filter by whether the payment provider is enabled.
|
390
511
|
*/
|
391
512
|
is_enabled?: boolean;
|
392
513
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE1C;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,OAAO,YAAY;IAEnB;;OAEG;IACH,aAAa,kBAAkB;IAE/B;;OAEG;IACH,KAAK,UAAU;IAEf;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE1B;;OAEG;I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AGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,EAAE,UAAU,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEjC;;OAEG;IACH,MAAM,EAAE,oBAAoB,CAAA;IAE5B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,CAAA;IAEpB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IAEzC;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,8BACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC1C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEvD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
|
package/dist/payment/common.js
CHANGED
@@ -14,11 +14,11 @@ var PaymentCollectionStatus;
|
|
14
14
|
*/
|
15
15
|
PaymentCollectionStatus["NOT_PAID"] = "not_paid";
|
16
16
|
/**
|
17
|
-
* The payment collection
|
17
|
+
* The payment sessions in the payment collection are await authorization.
|
18
18
|
*/
|
19
19
|
PaymentCollectionStatus["AWAITING"] = "awaiting";
|
20
20
|
/**
|
21
|
-
* The payment collection
|
21
|
+
* The payment sessions in the payment collection are authorized.
|
22
22
|
*/
|
23
23
|
PaymentCollectionStatus["AUTHORIZED"] = "authorized";
|
24
24
|
/**
|
@@ -26,7 +26,7 @@ var PaymentCollectionStatus;
|
|
26
26
|
*/
|
27
27
|
PaymentCollectionStatus["PARTIALLY_AUTHORIZED"] = "partially_authorized";
|
28
28
|
/**
|
29
|
-
* The payment collection
|
29
|
+
* The payments in the payment collection are canceled.
|
30
30
|
*/
|
31
31
|
PaymentCollectionStatus["CANCELED"] = "canceled";
|
32
32
|
})(PaymentCollectionStatus || (exports.PaymentCollectionStatus = PaymentCollectionStatus = {}));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":";;;AAEA,8CAA8C;AAC9C;;;;GAIG;AACH,IAAY,uBAyBX;AAzBD,WAAY,uBAAuB;IACjC;;OAEG;IACH,gDAAqB,CAAA;IAErB;;OAEG;IACH,gDAAqB,CAAA;IAErB;;OAEG;IACH,oDAAyB,CAAA;IAEzB;;OAEG;IACH,wEAA6C,CAAA;IAE7C;;OAEG;IACH,gDAAqB,CAAA;AACvB,CAAC,EAzBW,uBAAuB,uCAAvB,uBAAuB,QAyBlC;AAED;;;;GAIG;AACH,IAAY,oBAyBX;AAzBD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,iDAAyB,CAAA;IAEzB;;OAEG;IACH,2CAAmB,CAAA;IAEnB;;OAEG;IACH,uDAA+B,CAAA;IAE/B;;OAEG;IACH,uCAAe,CAAA;IAEf;;OAEG;IACH,6CAAqB,CAAA;AACvB,CAAC,EAzBW,oBAAoB,oCAApB,oBAAoB,QAyB/B"}
|