@getivy/node-sdk 0.1.0-alpha.9 → 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.
Files changed (150) hide show
  1. package/CHANGELOG.md +326 -0
  2. package/README.md +16 -26
  3. package/_shims/index.d.ts +2 -0
  4. package/_shims/index.js +5 -1
  5. package/_shims/index.mjs +5 -1
  6. package/core.d.ts +19 -5
  7. package/core.d.ts.map +1 -1
  8. package/core.js +25 -15
  9. package/core.js.map +1 -1
  10. package/core.mjs +26 -16
  11. package/core.mjs.map +1 -1
  12. package/index.d.mts +30 -18
  13. package/index.d.ts +30 -18
  14. package/index.d.ts.map +1 -1
  15. package/index.js +21 -8
  16. package/index.js.map +1 -1
  17. package/index.mjs +21 -8
  18. package/index.mjs.map +1 -1
  19. package/package.json +11 -33
  20. package/resource.d.ts +1 -1
  21. package/resource.d.ts.map +1 -1
  22. package/resource.js.map +1 -1
  23. package/resource.mjs.map +1 -1
  24. package/resources/balance.d.ts +8 -5
  25. package/resources/balance.d.ts.map +1 -1
  26. package/resources/banks.d.ts +82 -67
  27. package/resources/banks.d.ts.map +1 -1
  28. package/resources/beneficiary-payouts.d.ts +61 -0
  29. package/resources/beneficiary-payouts.d.ts.map +1 -0
  30. package/resources/beneficiary-payouts.js +16 -0
  31. package/resources/beneficiary-payouts.js.map +1 -0
  32. package/resources/beneficiary-payouts.mjs +12 -0
  33. package/resources/beneficiary-payouts.mjs.map +1 -0
  34. package/resources/capabilities.d.ts +1 -10
  35. package/resources/capabilities.d.ts.map +1 -1
  36. package/resources/charges.d.ts +28 -19
  37. package/resources/charges.d.ts.map +1 -1
  38. package/resources/checkoutsession.d.ts +275 -1360
  39. package/resources/checkoutsession.d.ts.map +1 -1
  40. package/resources/customers.d.ts +140 -10
  41. package/resources/customers.d.ts.map +1 -1
  42. package/resources/customers.js +9 -2
  43. package/resources/customers.js.map +1 -1
  44. package/resources/customers.mjs +9 -2
  45. package/resources/customers.mjs.map +1 -1
  46. package/resources/deposits.d.ts +165 -0
  47. package/resources/deposits.d.ts.map +1 -0
  48. package/resources/deposits.js +15 -0
  49. package/resources/deposits.js.map +1 -0
  50. package/resources/deposits.mjs +11 -0
  51. package/resources/deposits.mjs.map +1 -0
  52. package/resources/fx.d.ts +90 -0
  53. package/resources/fx.d.ts.map +1 -0
  54. package/resources/fx.js +22 -0
  55. package/resources/fx.js.map +1 -0
  56. package/resources/fx.mjs +18 -0
  57. package/resources/fx.mjs.map +1 -0
  58. package/resources/index.d.ts +11 -8
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +11 -5
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +5 -2
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/mandates.d.ts +55 -17
  65. package/resources/mandates.d.ts.map +1 -1
  66. package/resources/orders.d.ts +720 -743
  67. package/resources/orders.d.ts.map +1 -1
  68. package/resources/orders.js +13 -3
  69. package/resources/orders.js.map +1 -1
  70. package/resources/orders.mjs +13 -3
  71. package/resources/orders.mjs.map +1 -1
  72. package/resources/payouts.d.ts +219 -103
  73. package/resources/payouts.d.ts.map +1 -1
  74. package/resources/payouts.js +3 -4
  75. package/resources/payouts.js.map +1 -1
  76. package/resources/payouts.mjs +3 -4
  77. package/resources/payouts.mjs.map +1 -1
  78. package/resources/refunds.d.ts +53 -97
  79. package/resources/refunds.d.ts.map +1 -1
  80. package/resources/refunds.js +8 -12
  81. package/resources/refunds.js.map +1 -1
  82. package/resources/refunds.mjs +8 -12
  83. package/resources/refunds.mjs.map +1 -1
  84. package/resources/returns.d.ts +104 -0
  85. package/resources/returns.d.ts.map +1 -0
  86. package/resources/returns.js +21 -0
  87. package/resources/returns.js.map +1 -0
  88. package/resources/returns.mjs +17 -0
  89. package/resources/returns.mjs.map +1 -0
  90. package/resources/subaccounts.d.ts +15 -5
  91. package/resources/subaccounts.d.ts.map +1 -1
  92. package/resources/subaccounts.js.map +1 -1
  93. package/resources/subaccounts.mjs.map +1 -1
  94. package/resources/transactions.d.ts +174 -0
  95. package/resources/transactions.d.ts.map +1 -0
  96. package/resources/transactions.js +15 -0
  97. package/resources/transactions.js.map +1 -0
  98. package/resources/transactions.mjs +11 -0
  99. package/resources/transactions.mjs.map +1 -0
  100. package/resources.d.ts +2 -0
  101. package/resources.d.ts.map +1 -0
  102. package/resources.js +18 -0
  103. package/resources.js.map +1 -0
  104. package/resources.mjs +2 -0
  105. package/resources.mjs.map +1 -0
  106. package/src/_shims/index.d.ts +2 -0
  107. package/src/_shims/index.js +5 -1
  108. package/src/_shims/index.mjs +5 -1
  109. package/src/core.ts +44 -16
  110. package/src/index.ts +100 -63
  111. package/src/resource.ts +1 -1
  112. package/src/resources/balance.ts +8 -5
  113. package/src/resources/banks.ts +130 -67
  114. package/src/resources/beneficiary-payouts.ts +78 -0
  115. package/src/resources/capabilities.ts +1 -10
  116. package/src/resources/charges.ts +30 -21
  117. package/src/resources/checkoutsession.ts +1224 -3096
  118. package/src/resources/customers.ts +164 -9
  119. package/src/resources/deposits.ts +231 -0
  120. package/src/resources/fx.ts +119 -0
  121. package/src/resources/index.ts +31 -28
  122. package/src/resources/mandates.ts +79 -17
  123. package/src/resources/orders.ts +1449 -1075
  124. package/src/resources/payouts.ts +273 -103
  125. package/src/resources/refunds.ts +70 -111
  126. package/src/resources/returns.ts +140 -0
  127. package/src/resources/subaccounts.ts +26 -4
  128. package/src/resources/transactions.ts +234 -0
  129. package/src/resources.ts +1 -0
  130. package/src/version.ts +1 -1
  131. package/version.d.ts +1 -1
  132. package/version.d.ts.map +1 -1
  133. package/version.js +1 -1
  134. package/version.js.map +1 -1
  135. package/version.mjs +1 -1
  136. package/version.mjs.map +1 -1
  137. package/resources/reports.d.ts +0 -120
  138. package/resources/reports.d.ts.map +0 -1
  139. package/resources/reports.js +0 -31
  140. package/resources/reports.js.map +0 -1
  141. package/resources/reports.mjs +0 -27
  142. package/resources/reports.mjs.map +0 -1
  143. package/resources/webhooksubscription.d.ts +0 -155
  144. package/resources/webhooksubscription.d.ts.map +0 -1
  145. package/resources/webhooksubscription.js +0 -42
  146. package/resources/webhooksubscription.js.map +0 -1
  147. package/resources/webhooksubscription.mjs +0 -38
  148. package/resources/webhooksubscription.mjs.map +0 -1
  149. package/src/resources/reports.ts +0 -172
  150. package/src/resources/webhooksubscription.ts +0 -353
@@ -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
- * Initiates a refund for the specified order. The order can be specified either by
7
- * Ivy\'s internal `orderId` or by the `referenceId` provided by the merchant
8
- * during checkout creation. If the refund should only be partial, you can specifiy
9
- * this with the `amount` parameter.
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<RefundResponse>;
10
+ create(body: RefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<RefundCreateResponse>;
12
11
  /**
13
- * Initiates a batch refund for all provided orders. The orders can be specified
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
- batch(body: RefundBatchParams, options?: Core.RequestOptions): Core.APIPromise<RefundBatchResponse>;
14
+ retrieve(body: RefundRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<RefundRetrieveResponse>;
20
15
  }
21
- export interface RefundResponse {
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 internal Ivy id of the order.
24
+ * The unique Refund id
24
25
  */
25
- orderId: string;
26
+ id: string;
26
27
  /**
27
- * The order status. This status symbolises the state of the user's payment
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
- orderStatus: 'failed' | 'canceled' | 'processing' | 'waiting_for_payment' | 'paid' | 'in_refund' | 'refunded' | 'refund_failed' | 'partially_refunded' | 'in_dispute' | 'disputed' | 'refused';
30
+ amount: number;
32
31
  /**
33
- * A unique identifier for the newly created refund. You can use this id to
34
- * retrieve the refund from the order object.
32
+ * Refund's currency.
35
33
  */
36
- referenceId: string;
34
+ currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
37
35
  /**
38
- * The status of the refund. Always use the status of the order as your source of
39
- * truth to trigger actions in your dashboard.
36
+ * The id of the refunded order
40
37
  */
41
- refundStatus: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
42
- }
43
- export interface RefundBatchResponse {
38
+ orderId: string;
44
39
  /**
45
- * An array of refund responses.
40
+ * The current status of this refund.
46
41
  */
47
- requestedRefunds: Array<RefundBatchResponse.RequestedRefund>;
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 RefundCreateParams {
44
+ export interface RefundRetrieveResponse {
62
45
  /**
63
- * The amount to refund in decimals, e.g. 10.23 for EUR 10.23. If not specified,
64
- * the full order amount will be refunded.
46
+ * The unique Refund id
65
47
  */
66
- amount?: number;
48
+ id: string;
67
49
  /**
68
- * A description for the refund. This will be retrievable in the API and in the Ivy
69
- * dashboard.
50
+ * The amount of the refund in decimals.
70
51
  */
71
- description?: string;
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
- displayedPaymentReference?: string;
73
+ bankStatementReference?: string;
78
74
  /**
79
- * The email of the customer. If provided, Ivy may use this email to contact the
80
- * customer directly in case of issues or need for clarification regarding the
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 RefundBatchParams {
85
+ export interface RefundRetrieveParams {
95
86
  /**
96
- * An array of refunds to be triggered.
87
+ * Id of refund to retrieve details
97
88
  */
98
- requestedRefunds: Array<RefundBatchParams.RequestedRefund>;
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 RefundResponse as RefundResponse, type RefundBatchResponse as RefundBatchResponse, type RefundCreateParams as RefundCreateParams, type RefundBatchParams as RefundBatchParams, };
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;AAChC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AAExC,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC;IAIhG;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;CAGpG;AAED,MAAM,WAAW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@ -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
- * Initiates 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
10
- * during checkout creation. If the refund should only be partial, you can specifiy
11
- * this with the `amount` parameter.
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/merchant/payment/refund', { body, ...options });
14
+ return this._client.post('/api/service/refund/create', { body, ...options });
15
15
  }
16
16
  /**
17
- * Initiates a batch refund for all provided orders. The orders can be specified
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
- batch(body, options) {
24
- return this._client.post('/api/service/merchant/payment/refund/batch', { body, ...options });
19
+ retrieve(body, options) {
20
+ return this._client.post('/api/service/refund/retrieve', { body, ...options });
25
21
  }
26
22
  }
27
23
  exports.Refunds = Refunds;
@@ -1 +1 @@
1
- {"version":3,"file":"refunds.js","sourceRoot":"","sources":["../src/resources/refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAI1C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAuB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AArBD,0BAqBC"}
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"}
@@ -2,23 +2,19 @@
2
2
  import { APIResource } from "../resource.mjs";
3
3
  export class Refunds extends APIResource {
4
4
  /**
5
- * Initiates 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
7
- * during checkout creation. If the refund should only be partial, you can specifiy
8
- * this with the `amount` parameter.
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/merchant/payment/refund', { body, ...options });
11
+ return this._client.post('/api/service/refund/create', { body, ...options });
12
12
  }
13
13
  /**
14
- * Initiates a batch refund for all provided orders. The orders can be specified
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
- batch(body, options) {
21
- return this._client.post('/api/service/merchant/payment/refund/batch', { body, ...options });
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;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;OAKG;IACH,MAAM,CAAC,IAAwB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAuB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
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<Subaccount>;
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: string;
19
+ ownerId: unknown;
19
20
  status: 'active' | 'inactive';
20
- createdAt?: string;
21
- updatedAt?: string;
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,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;IAIhG;;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,MAAM,CAAC;IAElB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,CAAC,EAAE,MAAM,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,M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,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,CAAC,IAA4B,EAAE,OAA6B;QAChE,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;AAfD,kCAeC"}
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,CAAC,IAA4B,EAAE,OAA6B;QAChE,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"}
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"}