@getivy/node-sdk 0.1.0-alpha.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +359 -0
- package/README.md +16 -26
- package/_shims/index.d.ts +2 -0
- package/_shims/index.js +5 -1
- package/_shims/index.mjs +5 -1
- package/core.d.ts +19 -5
- package/core.d.ts.map +1 -1
- package/core.js +25 -15
- package/core.js.map +1 -1
- package/core.mjs +26 -16
- package/core.mjs.map +1 -1
- package/index.d.mts +30 -18
- package/index.d.ts +30 -18
- package/index.d.ts.map +1 -1
- package/index.js +21 -8
- package/index.js.map +1 -1
- package/index.mjs +21 -8
- package/index.mjs.map +1 -1
- package/package.json +11 -33
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/balance.d.ts +8 -5
- package/resources/balance.d.ts.map +1 -1
- package/resources/banks.d.ts +82 -67
- package/resources/banks.d.ts.map +1 -1
- package/resources/beneficiary-payouts.d.ts +61 -0
- package/resources/beneficiary-payouts.d.ts.map +1 -0
- package/resources/beneficiary-payouts.js +16 -0
- package/resources/beneficiary-payouts.js.map +1 -0
- package/resources/beneficiary-payouts.mjs +12 -0
- package/resources/beneficiary-payouts.mjs.map +1 -0
- package/resources/capabilities.d.ts +1 -10
- package/resources/capabilities.d.ts.map +1 -1
- package/resources/charges.d.ts +28 -19
- package/resources/charges.d.ts.map +1 -1
- package/resources/checkoutsession.d.ts +275 -1360
- package/resources/checkoutsession.d.ts.map +1 -1
- package/resources/customers.d.ts +140 -10
- package/resources/customers.d.ts.map +1 -1
- package/resources/customers.js +9 -2
- package/resources/customers.js.map +1 -1
- package/resources/customers.mjs +9 -2
- package/resources/customers.mjs.map +1 -1
- package/resources/deposits.d.ts +165 -0
- package/resources/deposits.d.ts.map +1 -0
- package/resources/deposits.js +15 -0
- package/resources/deposits.js.map +1 -0
- package/resources/deposits.mjs +11 -0
- package/resources/deposits.mjs.map +1 -0
- package/resources/fx.d.ts +90 -0
- package/resources/fx.d.ts.map +1 -0
- package/resources/fx.js +22 -0
- package/resources/fx.js.map +1 -0
- package/resources/fx.mjs +18 -0
- package/resources/fx.mjs.map +1 -0
- package/resources/index.d.ts +11 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -2
- package/resources/index.mjs.map +1 -1
- package/resources/mandates.d.ts +55 -17
- package/resources/mandates.d.ts.map +1 -1
- package/resources/orders.d.ts +718 -739
- package/resources/orders.d.ts.map +1 -1
- package/resources/orders.js +13 -3
- package/resources/orders.js.map +1 -1
- package/resources/orders.mjs +13 -3
- package/resources/orders.mjs.map +1 -1
- package/resources/payouts.d.ts +219 -103
- package/resources/payouts.d.ts.map +1 -1
- package/resources/payouts.js +3 -4
- package/resources/payouts.js.map +1 -1
- package/resources/payouts.mjs +3 -4
- package/resources/payouts.mjs.map +1 -1
- package/resources/refunds.d.ts +53 -97
- package/resources/refunds.d.ts.map +1 -1
- package/resources/refunds.js +8 -12
- package/resources/refunds.js.map +1 -1
- package/resources/refunds.mjs +8 -12
- package/resources/refunds.mjs.map +1 -1
- package/resources/returns.d.ts +104 -0
- package/resources/returns.d.ts.map +1 -0
- package/resources/returns.js +21 -0
- package/resources/returns.js.map +1 -0
- package/resources/returns.mjs +17 -0
- package/resources/returns.mjs.map +1 -0
- package/resources/subaccounts.d.ts +15 -5
- package/resources/subaccounts.d.ts.map +1 -1
- package/resources/subaccounts.js.map +1 -1
- package/resources/subaccounts.mjs.map +1 -1
- package/resources/transactions.d.ts +174 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +15 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +11 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/_shims/index.d.ts +2 -0
- package/src/_shims/index.js +5 -1
- package/src/_shims/index.mjs +5 -1
- package/src/core.ts +44 -16
- package/src/index.ts +100 -63
- package/src/resource.ts +1 -1
- package/src/resources/balance.ts +8 -5
- package/src/resources/banks.ts +130 -67
- package/src/resources/beneficiary-payouts.ts +78 -0
- package/src/resources/capabilities.ts +1 -10
- package/src/resources/charges.ts +30 -21
- package/src/resources/checkoutsession.ts +1224 -3096
- package/src/resources/customers.ts +164 -9
- package/src/resources/deposits.ts +231 -0
- package/src/resources/fx.ts +119 -0
- package/src/resources/index.ts +31 -28
- package/src/resources/mandates.ts +79 -17
- package/src/resources/orders.ts +1448 -1072
- package/src/resources/payouts.ts +273 -103
- package/src/resources/refunds.ts +70 -111
- package/src/resources/returns.ts +140 -0
- package/src/resources/subaccounts.ts +26 -4
- package/src/resources/transactions.ts +234 -0
- package/src/resources.ts +1 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/reports.d.ts +0 -120
- package/resources/reports.d.ts.map +0 -1
- package/resources/reports.js +0 -31
- package/resources/reports.js.map +0 -1
- package/resources/reports.mjs +0 -27
- package/resources/reports.mjs.map +0 -1
- package/resources/webhooksubscription.d.ts +0 -155
- package/resources/webhooksubscription.d.ts.map +0 -1
- package/resources/webhooksubscription.js +0 -42
- package/resources/webhooksubscription.js.map +0 -1
- package/resources/webhooksubscription.mjs +0 -38
- package/resources/webhooksubscription.mjs.map +0 -1
- package/src/resources/reports.ts +0 -172
- package/src/resources/webhooksubscription.ts +0 -353
package/resources/refunds.d.ts
CHANGED
|
@@ -1,138 +1,94 @@
|
|
|
1
1
|
import { APIResource } from "../resource.js";
|
|
2
2
|
import * as Core from "../core.js";
|
|
3
|
-
import * as RefundsAPI from "./refunds.js";
|
|
4
3
|
export declare class Refunds extends APIResource {
|
|
5
4
|
/**
|
|
6
|
-
*
|
|
7
|
-
* Ivy
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* Creates a refund for the specified order. The order can be specified either by
|
|
6
|
+
* Ivy's internal `orderId` or by the `referenceId` provided by the merchant during
|
|
7
|
+
* checkout creation. If the refund should only be partial, you can specifiy this
|
|
8
|
+
* with the `amount` parameter.
|
|
10
9
|
*/
|
|
11
|
-
create(body: RefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
10
|
+
create(body: RefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<RefundCreateResponse>;
|
|
12
11
|
/**
|
|
13
|
-
*
|
|
14
|
-
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
15
|
-
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
16
|
-
* can be set with the "amount" parameter. Additional information regarding the
|
|
17
|
-
* refund can be provided through the "description" parameter.
|
|
12
|
+
* Returns refund details and Id of refunded order.
|
|
18
13
|
*/
|
|
19
|
-
|
|
14
|
+
retrieve(body: RefundRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<RefundRetrieveResponse>;
|
|
20
15
|
}
|
|
21
|
-
export interface
|
|
16
|
+
export interface Refund {
|
|
17
|
+
orderId: string;
|
|
18
|
+
orderStatus: 'failed' | 'canceled' | 'processing' | 'waiting_for_payment' | 'paid' | 'in_refund' | 'refunded' | 'refund_failed' | 'partially_refunded' | 'in_dispute' | 'disputed' | 'refused';
|
|
19
|
+
referenceId: string;
|
|
20
|
+
refundStatus: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
|
|
21
|
+
}
|
|
22
|
+
export interface RefundCreateResponse {
|
|
22
23
|
/**
|
|
23
|
-
* The
|
|
24
|
+
* The unique Refund id
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
+
id: string;
|
|
26
27
|
/**
|
|
27
|
-
* The
|
|
28
|
-
* attempt. See [the guide](https://docs.getivy.de/docs/payment-status) for more
|
|
29
|
-
* information.
|
|
28
|
+
* The amount of the refund in decimals.
|
|
30
29
|
*/
|
|
31
|
-
|
|
30
|
+
amount: number;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
34
|
-
* retrieve the refund from the order object.
|
|
32
|
+
* Refund's currency.
|
|
35
33
|
*/
|
|
36
|
-
|
|
34
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
37
35
|
/**
|
|
38
|
-
* The
|
|
39
|
-
* truth to trigger actions in your dashboard.
|
|
36
|
+
* The id of the refunded order
|
|
40
37
|
*/
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
export interface RefundBatchResponse {
|
|
38
|
+
orderId: string;
|
|
44
39
|
/**
|
|
45
|
-
*
|
|
40
|
+
* The current status of this refund.
|
|
46
41
|
*/
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
export declare namespace RefundBatchResponse {
|
|
50
|
-
interface RequestedRefund extends RefundsAPI.RefundResponse {
|
|
51
|
-
/**
|
|
52
|
-
* The Ivy id of the corresponding order.
|
|
53
|
-
*/
|
|
54
|
-
orderId: string;
|
|
55
|
-
/**
|
|
56
|
-
* The error message why the refund failed.
|
|
57
|
-
*/
|
|
58
|
-
error?: string;
|
|
59
|
-
}
|
|
42
|
+
status: 'initiated' | 'pending' | 'succeeded' | 'failed';
|
|
60
43
|
}
|
|
61
|
-
export interface
|
|
44
|
+
export interface RefundRetrieveResponse {
|
|
62
45
|
/**
|
|
63
|
-
* The
|
|
64
|
-
* the full order amount will be refunded.
|
|
46
|
+
* The unique Refund id
|
|
65
47
|
*/
|
|
66
|
-
|
|
48
|
+
id: string;
|
|
67
49
|
/**
|
|
68
|
-
*
|
|
69
|
-
* dashboard.
|
|
50
|
+
* The amount of the refund in decimals.
|
|
70
51
|
*/
|
|
71
|
-
|
|
52
|
+
amount: number;
|
|
53
|
+
/**
|
|
54
|
+
* Refund's currency.
|
|
55
|
+
*/
|
|
56
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
57
|
+
/**
|
|
58
|
+
* The id of the refunded order
|
|
59
|
+
*/
|
|
60
|
+
orderId: string;
|
|
61
|
+
/**
|
|
62
|
+
* The current status of this refund.
|
|
63
|
+
*/
|
|
64
|
+
status: 'initiated' | 'pending' | 'succeeded' | 'failed';
|
|
65
|
+
}
|
|
66
|
+
export interface RefundCreateParams {
|
|
67
|
+
amount: number;
|
|
72
68
|
/**
|
|
73
69
|
* An optional custom text that will be shown on the customer's payment reference.
|
|
74
70
|
* Input has to be maximum 16 alpha-numeric characters. If not provided, a default
|
|
75
71
|
* Ivy refund referenceId will be shown.
|
|
76
72
|
*/
|
|
77
|
-
|
|
73
|
+
bankStatementReference?: string;
|
|
78
74
|
/**
|
|
79
|
-
* The
|
|
80
|
-
*
|
|
81
|
-
* refund. If not provided, Ivy will contact the merchant in such cases. However,
|
|
82
|
-
* this is a rare occurrence.
|
|
83
|
-
*/
|
|
84
|
-
email?: string;
|
|
85
|
-
/**
|
|
86
|
-
* The internal Ivy id of the order.
|
|
75
|
+
* The internal Ivy id of the order. Must be present in request body if referenceId
|
|
76
|
+
* is not provided
|
|
87
77
|
*/
|
|
88
78
|
orderId?: string;
|
|
89
79
|
/**
|
|
90
|
-
* The external id set by the merchant during checkout creation.
|
|
80
|
+
* The external id set by the merchant during checkout creation. Required if
|
|
81
|
+
* orderId is not passed.
|
|
91
82
|
*/
|
|
92
83
|
referenceId?: string;
|
|
93
84
|
}
|
|
94
|
-
export interface
|
|
85
|
+
export interface RefundRetrieveParams {
|
|
95
86
|
/**
|
|
96
|
-
*
|
|
87
|
+
* Id of refund to retrieve details
|
|
97
88
|
*/
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
export declare namespace RefundBatchParams {
|
|
101
|
-
interface RequestedRefund {
|
|
102
|
-
/**
|
|
103
|
-
* The amount to refund in decimals, e.g. 10.23 for EUR 10.23. If not specified,
|
|
104
|
-
* the full order amount will be refunded.
|
|
105
|
-
*/
|
|
106
|
-
amount?: number;
|
|
107
|
-
/**
|
|
108
|
-
* A description for the refund. This will be retrievable in the API and in the Ivy
|
|
109
|
-
* dashboard.
|
|
110
|
-
*/
|
|
111
|
-
description?: string;
|
|
112
|
-
/**
|
|
113
|
-
* An optional custom text that will be shown on the customer's payment reference.
|
|
114
|
-
* Input has to be maximum 16 alpha-numeric characters. If not provided, a default
|
|
115
|
-
* Ivy refund referenceId will be shown.
|
|
116
|
-
*/
|
|
117
|
-
displayedPaymentReference?: string;
|
|
118
|
-
/**
|
|
119
|
-
* The email of the customer. If provided, Ivy may use this email to contact the
|
|
120
|
-
* customer directly in case of issues or need for clarification regarding the
|
|
121
|
-
* refund. If not provided, Ivy will contact the merchant in such cases. However,
|
|
122
|
-
* this is a rare occurrence.
|
|
123
|
-
*/
|
|
124
|
-
email?: string;
|
|
125
|
-
/**
|
|
126
|
-
* The internal Ivy id of the order.
|
|
127
|
-
*/
|
|
128
|
-
orderId?: string;
|
|
129
|
-
/**
|
|
130
|
-
* The external id set by the merchant during checkout creation.
|
|
131
|
-
*/
|
|
132
|
-
referenceId?: string;
|
|
133
|
-
}
|
|
89
|
+
id: string;
|
|
134
90
|
}
|
|
135
91
|
export declare namespace Refunds {
|
|
136
|
-
export { type
|
|
92
|
+
export { type Refund as Refund, type RefundCreateResponse as RefundCreateResponse, type RefundRetrieveResponse as RefundRetrieveResponse, type RefundCreateParams as RefundCreateParams, type RefundRetrieveParams as RefundRetrieveParams, };
|
|
137
93
|
}
|
|
138
94
|
//# sourceMappingURL=refunds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refunds.d.ts","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"refunds.d.ts","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAItG;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAG3C;AAED,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAEhB,WAAW,EACP,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,qBAAqB,GACrB,MAAM,GACN,WAAW,GACX,UAAU,GACV,eAAe,GACf,oBAAoB,GACpB,YAAY,GACZ,UAAU,GACV,SAAS,CAAC;IAEd,WAAW,EAAE,MAAM,CAAC;IAEpB,YAAY,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;CAC7F;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEhD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;CAC1D;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEhD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;CAC1D;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/refunds.js
CHANGED
|
@@ -5,23 +5,19 @@ exports.Refunds = void 0;
|
|
|
5
5
|
const resource_1 = require("../resource.js");
|
|
6
6
|
class Refunds extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* Ivy
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Creates a refund for the specified order. The order can be specified either by
|
|
9
|
+
* Ivy's internal `orderId` or by the `referenceId` provided by the merchant during
|
|
10
|
+
* checkout creation. If the refund should only be partial, you can specifiy this
|
|
11
|
+
* with the `amount` parameter.
|
|
12
12
|
*/
|
|
13
13
|
create(body, options) {
|
|
14
|
-
return this._client.post('/api/service/
|
|
14
|
+
return this._client.post('/api/service/refund/create', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
18
|
-
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
19
|
-
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
20
|
-
* can be set with the "amount" parameter. Additional information regarding the
|
|
21
|
-
* refund can be provided through the "description" parameter.
|
|
17
|
+
* Returns refund details and Id of refunded order.
|
|
22
18
|
*/
|
|
23
|
-
|
|
24
|
-
return this._client.post('/api/service/
|
|
19
|
+
retrieve(body, options) {
|
|
20
|
+
return this._client.post('/api/service/refund/retrieve', { body, ...options });
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
exports.Refunds = Refunds;
|
package/resources/refunds.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refunds.js","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;
|
|
1
|
+
{"version":3,"file":"refunds.js","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AApBD,0BAoBC"}
|
package/resources/refunds.mjs
CHANGED
|
@@ -2,23 +2,19 @@
|
|
|
2
2
|
import { APIResource } from "../resource.mjs";
|
|
3
3
|
export class Refunds extends APIResource {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* Ivy
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* Creates a refund for the specified order. The order can be specified either by
|
|
6
|
+
* Ivy's internal `orderId` or by the `referenceId` provided by the merchant during
|
|
7
|
+
* checkout creation. If the refund should only be partial, you can specifiy this
|
|
8
|
+
* with the `amount` parameter.
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this._client.post('/api/service/
|
|
11
|
+
return this._client.post('/api/service/refund/create', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
* either by Ivy\'s internal id ("orderId") or by id provided by the merchant
|
|
16
|
-
* ("referenceId"). If only a partial amount should be refunded the desired amount
|
|
17
|
-
* can be set with the "amount" parameter. Additional information regarding the
|
|
18
|
-
* refund can be provided through the "description" parameter.
|
|
14
|
+
* Returns refund details and Id of refunded order.
|
|
19
15
|
*/
|
|
20
|
-
|
|
21
|
-
return this._client.post('/api/service/
|
|
16
|
+
retrieve(body, options) {
|
|
17
|
+
return this._client.post('/api/service/refund/retrieve', { body, ...options });
|
|
22
18
|
}
|
|
23
19
|
}
|
|
24
20
|
//# sourceMappingURL=refunds.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refunds.mjs","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"refunds.mjs","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
export declare class Returns extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a return for a deposit.
|
|
6
|
+
*/
|
|
7
|
+
create(body: ReturnCreateParams, options?: Core.RequestOptions): Core.APIPromise<ReturnCreateResponse>;
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a return by its ID.
|
|
10
|
+
*/
|
|
11
|
+
retrieve(body: ReturnRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<ReturnRetrieveResponse>;
|
|
12
|
+
}
|
|
13
|
+
export interface ReturnCreateResponse {
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the return
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The amount of the return
|
|
20
|
+
*/
|
|
21
|
+
amount: number;
|
|
22
|
+
/**
|
|
23
|
+
* The date and time the return was created
|
|
24
|
+
*/
|
|
25
|
+
createdAt: string;
|
|
26
|
+
/**
|
|
27
|
+
* The currency of the return
|
|
28
|
+
*/
|
|
29
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the associated deposit
|
|
32
|
+
*/
|
|
33
|
+
depositId: string;
|
|
34
|
+
/**
|
|
35
|
+
* The status of the return
|
|
36
|
+
*/
|
|
37
|
+
status: 'initiated' | 'succeeded' | 'failed' | 'returned';
|
|
38
|
+
/**
|
|
39
|
+
* The date and time the return failed if applicable
|
|
40
|
+
*/
|
|
41
|
+
failedAt?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The date and time the return succeeded if applicable
|
|
44
|
+
*/
|
|
45
|
+
succeededAt?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the resulting return transaction
|
|
48
|
+
*/
|
|
49
|
+
transactionId?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ReturnRetrieveResponse {
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the return
|
|
54
|
+
*/
|
|
55
|
+
id: string;
|
|
56
|
+
/**
|
|
57
|
+
* The amount of the return
|
|
58
|
+
*/
|
|
59
|
+
amount: number;
|
|
60
|
+
/**
|
|
61
|
+
* The date and time the return was created
|
|
62
|
+
*/
|
|
63
|
+
createdAt: string;
|
|
64
|
+
/**
|
|
65
|
+
* The currency of the return
|
|
66
|
+
*/
|
|
67
|
+
currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
|
|
68
|
+
/**
|
|
69
|
+
* The ID of the associated deposit
|
|
70
|
+
*/
|
|
71
|
+
depositId: string;
|
|
72
|
+
/**
|
|
73
|
+
* The status of the return
|
|
74
|
+
*/
|
|
75
|
+
status: 'initiated' | 'succeeded' | 'failed' | 'returned';
|
|
76
|
+
/**
|
|
77
|
+
* The date and time the return failed if applicable
|
|
78
|
+
*/
|
|
79
|
+
failedAt?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The date and time the return succeeded if applicable
|
|
82
|
+
*/
|
|
83
|
+
succeededAt?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the resulting return transaction
|
|
86
|
+
*/
|
|
87
|
+
transactionId?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface ReturnCreateParams {
|
|
90
|
+
/**
|
|
91
|
+
* The ID of the associated deposit
|
|
92
|
+
*/
|
|
93
|
+
depositId: string;
|
|
94
|
+
}
|
|
95
|
+
export interface ReturnRetrieveParams {
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the return
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
}
|
|
101
|
+
export declare namespace Returns {
|
|
102
|
+
export { type ReturnCreateResponse as ReturnCreateResponse, type ReturnRetrieveResponse as ReturnRetrieveResponse, type ReturnCreateParams as ReturnCreateParams, type ReturnRetrieveParams as ReturnRetrieveParams, };
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=returns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"returns.d.ts","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAItG;;OAEG;IACH,QAAQ,CACN,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,sBAAsB,CAAC;CAG3C;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEhD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE1D;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAEhD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;IAE1D;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Returns = void 0;
|
|
5
|
+
const resource_1 = require("../resource.js");
|
|
6
|
+
class Returns extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a return for a deposit.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this._client.post('/api/service/return/create', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves a return by its ID.
|
|
15
|
+
*/
|
|
16
|
+
retrieve(body, options) {
|
|
17
|
+
return this._client.post('/api/service/return/retrieve', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Returns = Returns;
|
|
21
|
+
//# sourceMappingURL=returns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"returns.js","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AAjBD,0BAiBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
export class Returns extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates a return for a deposit.
|
|
6
|
+
*/
|
|
7
|
+
create(body, options) {
|
|
8
|
+
return this._client.post('/api/service/return/create', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves a return by its ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(body, options) {
|
|
14
|
+
return this._client.post('/api/service/return/retrieve', { body, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=returns.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"returns.mjs","sourceRoot":"","sources":["../src/resources/returns.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
|
|
@@ -5,7 +5,7 @@ export declare class Subaccounts extends APIResource {
|
|
|
5
5
|
* Create a Subaccount which can be used to reconcile orders, refunds and payouts
|
|
6
6
|
* more easily.
|
|
7
7
|
*/
|
|
8
|
-
create(body: SubaccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
8
|
+
create(body: SubaccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<SubaccountCreateResponse>;
|
|
9
9
|
/**
|
|
10
10
|
* Retrieve a Subaccount by id.
|
|
11
11
|
*/
|
|
@@ -13,12 +13,22 @@ export declare class Subaccounts extends APIResource {
|
|
|
13
13
|
}
|
|
14
14
|
export interface Subaccount {
|
|
15
15
|
id: string;
|
|
16
|
+
createdAt: unknown;
|
|
16
17
|
legalName: string;
|
|
17
18
|
mcc: string;
|
|
18
|
-
ownerId:
|
|
19
|
+
ownerId: unknown;
|
|
19
20
|
status: 'active' | 'inactive';
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
updatedAt: unknown;
|
|
22
|
+
websiteUrl?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface SubaccountCreateResponse {
|
|
25
|
+
id: string;
|
|
26
|
+
createdAt: unknown;
|
|
27
|
+
legalName: string;
|
|
28
|
+
mcc: string;
|
|
29
|
+
ownerId: unknown;
|
|
30
|
+
status: 'active' | 'inactive';
|
|
31
|
+
updatedAt: unknown;
|
|
22
32
|
websiteUrl?: string;
|
|
23
33
|
}
|
|
24
34
|
export interface SubaccountCreateParams {
|
|
@@ -44,6 +54,6 @@ export interface SubaccountRetrieveParams {
|
|
|
44
54
|
id: string;
|
|
45
55
|
}
|
|
46
56
|
export declare namespace Subaccounts {
|
|
47
|
-
export { type Subaccount as Subaccount, type SubaccountCreateParams as SubaccountCreateParams, type SubaccountRetrieveParams as SubaccountRetrieveParams, };
|
|
57
|
+
export { type Subaccount as Subaccount, type SubaccountCreateResponse as SubaccountCreateResponse, type SubaccountCreateParams as SubaccountCreateParams, type SubaccountRetrieveParams as SubaccountRetrieveParams, };
|
|
48
58
|
}
|
|
49
59
|
//# sourceMappingURL=subaccounts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subaccounts.d.ts","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"subaccounts.d.ts","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;CAGrG;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,OAAO,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE9B,SAAS,EAAE,OAAO,CAAC;IAEnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,OAAO,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,EAAE,OAAO,CAAC;IAEjB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE9B,SAAS,EAAE,OAAO,CAAC;IAEnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subaccounts.js","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;OAGG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"subaccounts.js","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAG1C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAA8B,EAAE,OAA6B;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAlBD,kCAkBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subaccounts.mjs","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,
|
|
1
|
+
{"version":3,"file":"subaccounts.mjs","sourceRoot":"","sources":["../src/resources/subaccounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;OAGG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAA8B,EAAE,OAA6B;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
|