@naturalpay/sdk 0.3.0 → 0.5.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 +22 -0
- package/client.d.mts +23 -20
- package/client.d.mts.map +1 -1
- package/client.d.ts +23 -20
- package/client.d.ts.map +1 -1
- package/client.js +11 -8
- package/client.js.map +1 -1
- package/client.mjs +12 -9
- package/client.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/query.d.mts +3 -0
- package/internal/utils/query.d.mts.map +1 -1
- package/internal/utils/query.d.ts +3 -0
- package/internal/utils/query.d.ts.map +1 -1
- package/internal/utils/query.js +16 -3
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs +16 -2
- package/internal/utils/query.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents.d.mts +554 -268
- package/resources/agents.d.mts.map +1 -1
- package/resources/agents.d.ts +554 -268
- package/resources/agents.d.ts.map +1 -1
- package/resources/agents.js +72 -20
- package/resources/agents.js.map +1 -1
- package/resources/agents.mjs +72 -20
- package/resources/agents.mjs.map +1 -1
- package/resources/api-keys.d.mts +16 -2
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +16 -2
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +7 -4
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +7 -4
- package/resources/api-keys.mjs.map +1 -1
- package/resources/customers.d.mts +243 -114
- package/resources/customers.d.mts.map +1 -1
- package/resources/customers.d.ts +243 -114
- package/resources/customers.d.ts.map +1 -1
- package/resources/customers.js +6 -7
- package/resources/customers.js.map +1 -1
- package/resources/customers.mjs +6 -7
- package/resources/customers.mjs.map +1 -1
- package/resources/index.d.mts +7 -7
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -2
- package/resources/index.mjs.map +1 -1
- package/resources/invitations.d.mts +16 -7
- package/resources/invitations.d.mts.map +1 -1
- package/resources/invitations.d.ts +16 -7
- package/resources/invitations.d.ts.map +1 -1
- package/resources/invitations.js +6 -4
- package/resources/invitations.js.map +1 -1
- package/resources/invitations.mjs +6 -4
- package/resources/invitations.mjs.map +1 -1
- package/resources/parties.d.mts +53 -26
- package/resources/parties.d.mts.map +1 -1
- package/resources/parties.d.ts +53 -26
- package/resources/parties.d.ts.map +1 -1
- package/resources/parties.js +27 -1
- package/resources/parties.js.map +1 -1
- package/resources/parties.mjs +27 -1
- package/resources/parties.mjs.map +1 -1
- package/resources/payment-requests.d.mts +738 -33
- package/resources/payment-requests.d.mts.map +1 -1
- package/resources/payment-requests.d.ts +738 -33
- package/resources/payment-requests.d.ts.map +1 -1
- package/resources/payment-requests.js +82 -1
- package/resources/payment-requests.js.map +1 -1
- package/resources/payment-requests.mjs +82 -1
- package/resources/payment-requests.mjs.map +1 -1
- package/resources/payments.d.mts +390 -24
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +390 -24
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +53 -3
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +53 -3
- package/resources/payments.mjs.map +1 -1
- package/resources/transactions.d.mts +50 -118
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +50 -118
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +2 -2
- package/resources/transactions.mjs +2 -2
- package/resources/transfers.d.mts +1030 -0
- package/resources/transfers.d.mts.map +1 -0
- package/resources/transfers.d.ts +1030 -0
- package/resources/transfers.d.ts.map +1 -0
- package/resources/transfers.js +114 -0
- package/resources/transfers.js.map +1 -0
- package/resources/transfers.mjs +110 -0
- package/resources/transfers.mjs.map +1 -0
- package/resources/wallet.d.mts +1 -189
- package/resources/wallet.d.mts.map +1 -1
- package/resources/wallet.d.ts +1 -189
- package/resources/wallet.d.ts.map +1 -1
- package/resources/wallet.js +0 -66
- package/resources/wallet.js.map +1 -1
- package/resources/wallet.mjs +0 -66
- package/resources/wallet.mjs.map +1 -1
- package/resources/webhooks.d.mts +7 -7
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +7 -7
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +82 -43
- package/src/internal/utils/query.ts +18 -2
- package/src/resources/agents.ts +676 -300
- package/src/resources/api-keys.ts +26 -4
- package/src/resources/customers.ts +273 -132
- package/src/resources/index.ts +38 -18
- package/src/resources/invitations.ts +26 -10
- package/src/resources/parties.ts +85 -30
- package/src/resources/payment-requests.ts +949 -58
- package/src/resources/payments.ts +518 -23
- package/src/resources/transactions.ts +50 -136
- package/src/resources/transfers.ts +1338 -0
- package/src/resources/wallet.ts +0 -268
- package/src/resources/webhooks.ts +7 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/internal/qs/formats.d.mts +0 -7
- package/internal/qs/formats.d.mts.map +0 -1
- package/internal/qs/formats.d.ts +0 -7
- package/internal/qs/formats.d.ts.map +0 -1
- package/internal/qs/formats.js +0 -13
- package/internal/qs/formats.js.map +0 -1
- package/internal/qs/formats.mjs +0 -9
- package/internal/qs/formats.mjs.map +0 -1
- package/internal/qs/index.d.mts +0 -10
- package/internal/qs/index.d.mts.map +0 -1
- package/internal/qs/index.d.ts +0 -10
- package/internal/qs/index.d.ts.map +0 -1
- package/internal/qs/index.js +0 -14
- package/internal/qs/index.js.map +0 -1
- package/internal/qs/index.mjs +0 -10
- package/internal/qs/index.mjs.map +0 -1
- package/internal/qs/stringify.d.mts +0 -3
- package/internal/qs/stringify.d.mts.map +0 -1
- package/internal/qs/stringify.d.ts +0 -3
- package/internal/qs/stringify.d.ts.map +0 -1
- package/internal/qs/stringify.js +0 -277
- package/internal/qs/stringify.js.map +0 -1
- package/internal/qs/stringify.mjs +0 -274
- package/internal/qs/stringify.mjs.map +0 -1
- package/internal/qs/types.d.mts +0 -57
- package/internal/qs/types.d.mts.map +0 -1
- package/internal/qs/types.d.ts +0 -57
- package/internal/qs/types.d.ts.map +0 -1
- package/internal/qs/types.js +0 -3
- package/internal/qs/types.js.map +0 -1
- package/internal/qs/types.mjs +0 -2
- package/internal/qs/types.mjs.map +0 -1
- package/internal/qs/utils.d.mts +0 -15
- package/internal/qs/utils.d.mts.map +0 -1
- package/internal/qs/utils.d.ts +0 -15
- package/internal/qs/utils.d.ts.map +0 -1
- package/internal/qs/utils.js +0 -230
- package/internal/qs/utils.js.map +0 -1
- package/internal/qs/utils.mjs +0 -217
- package/internal/qs/utils.mjs.map +0 -1
- package/resources/delegations.d.mts +0 -458
- package/resources/delegations.d.mts.map +0 -1
- package/resources/delegations.d.ts +0 -458
- package/resources/delegations.d.ts.map +0 -1
- package/resources/delegations.js +0 -47
- package/resources/delegations.js.map +0 -1
- package/resources/delegations.mjs +0 -43
- package/resources/delegations.mjs.map +0 -1
- package/src/internal/qs/LICENSE.md +0 -13
- package/src/internal/qs/README.md +0 -3
- package/src/internal/qs/formats.ts +0 -10
- package/src/internal/qs/index.ts +0 -13
- package/src/internal/qs/stringify.ts +0 -385
- package/src/internal/qs/types.ts +0 -71
- package/src/internal/qs/utils.ts +0 -265
- package/src/resources/delegations.ts +0 -580
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.mjs","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"payments.mjs","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCA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AAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CACD,SAAiB,EACjB,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QACxF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,EAAE,EAAE;YACpD,KAAK;YACL,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC;gBACpB;oBACE,GAAG,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;oBAC9D,GAAG,CAAC,WAAW,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;iBACxE;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -2,11 +2,11 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Transaction activity and history operations
|
|
6
6
|
*/
|
|
7
7
|
export declare class Transactions extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* List transactions visible to your party
|
|
9
|
+
* List transactions visible to your party.
|
|
10
10
|
*/
|
|
11
11
|
list(params?: TransactionListParams | null | undefined, options?: RequestOptions): APIPromise<TransactionListResponse>;
|
|
12
12
|
/**
|
|
@@ -39,20 +39,10 @@ export declare namespace TransactionListResponse {
|
|
|
39
39
|
* Resource attributes
|
|
40
40
|
*/
|
|
41
41
|
interface Attributes {
|
|
42
|
-
/**
|
|
43
|
-
* Agent that initiated this transaction. Null when initiated by a human user.
|
|
44
|
-
*/
|
|
45
|
-
agentId: string | null;
|
|
46
42
|
/**
|
|
47
43
|
* Amount in cents
|
|
48
44
|
*/
|
|
49
45
|
amount: number;
|
|
50
|
-
/**
|
|
51
|
-
* Classification from your party's perspective. Derived from transactionType +
|
|
52
|
-
* direction: "sent"/"received" for wallet-to-wallet payments (OUTBOUND/INBOUND),
|
|
53
|
-
* "deposit"/"withdrawal" for external transfers (INBOUND/OUTBOUND).
|
|
54
|
-
*/
|
|
55
|
-
category: 'sent' | 'received' | 'deposit' | 'withdrawal';
|
|
56
46
|
/**
|
|
57
47
|
* When this transaction was created
|
|
58
48
|
*/
|
|
@@ -61,10 +51,6 @@ export declare namespace TransactionListResponse {
|
|
|
61
51
|
* Currency code
|
|
62
52
|
*/
|
|
63
53
|
currency: string;
|
|
64
|
-
/**
|
|
65
|
-
* Customer name if delegated
|
|
66
|
-
*/
|
|
67
|
-
customerName: string | null;
|
|
68
54
|
/**
|
|
69
55
|
* Payment description
|
|
70
56
|
*/
|
|
@@ -74,34 +60,10 @@ export declare namespace TransactionListResponse {
|
|
|
74
60
|
*/
|
|
75
61
|
direction: 'INBOUND' | 'OUTBOUND';
|
|
76
62
|
/**
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
disputeId: string | null;
|
|
80
|
-
/**
|
|
81
|
-
* Pending escalation ID when this transaction requires approval
|
|
82
|
-
*/
|
|
83
|
-
escalationId: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* Projected funds-available time for transfers (deposits/withdrawals). Null when
|
|
86
|
-
* no MMR settlement projection has arrived yet, and null for payments.
|
|
63
|
+
* Projected funds-available time for transfers. Null when no projection exists and
|
|
64
|
+
* null for payments.
|
|
87
65
|
*/
|
|
88
66
|
expectedAvailableAt: string | null;
|
|
89
|
-
/**
|
|
90
|
-
* Display name of the user or agent that initiated this transaction
|
|
91
|
-
*/
|
|
92
|
-
initiatorName: string | null;
|
|
93
|
-
/**
|
|
94
|
-
* True if this is a delegated customer payment
|
|
95
|
-
*/
|
|
96
|
-
isDelegated: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Recipient display name
|
|
99
|
-
*/
|
|
100
|
-
recipientName: string | null;
|
|
101
|
-
/**
|
|
102
|
-
* Sender display name
|
|
103
|
-
*/
|
|
104
|
-
senderName: string | null;
|
|
105
67
|
/**
|
|
106
68
|
* Transaction status
|
|
107
69
|
*/
|
|
@@ -123,18 +85,20 @@ export declare namespace TransactionListResponse {
|
|
|
123
85
|
* Destination party
|
|
124
86
|
*/
|
|
125
87
|
destinationParty: Relationships.DestinationParty;
|
|
126
|
-
/**
|
|
127
|
-
* Destination wallet
|
|
128
|
-
*/
|
|
129
|
-
destinationWallet: Relationships.DestinationWallet;
|
|
130
88
|
/**
|
|
131
89
|
* Source party
|
|
132
90
|
*/
|
|
133
91
|
sourceParty: Relationships.SourceParty;
|
|
134
92
|
/**
|
|
135
|
-
*
|
|
93
|
+
* Payment that produced this transaction. Present only when the authenticated
|
|
94
|
+
* caller can access the payment resource.
|
|
95
|
+
*/
|
|
96
|
+
payment?: Relationships.Payment;
|
|
97
|
+
/**
|
|
98
|
+
* Transfer that produced this transaction. Present only when the authenticated
|
|
99
|
+
* caller can access the transfer resource.
|
|
136
100
|
*/
|
|
137
|
-
|
|
101
|
+
transfer?: Relationships.Transfer;
|
|
138
102
|
}
|
|
139
103
|
namespace Relationships {
|
|
140
104
|
/**
|
|
@@ -159,15 +123,15 @@ export declare namespace TransactionListResponse {
|
|
|
159
123
|
}
|
|
160
124
|
}
|
|
161
125
|
/**
|
|
162
|
-
*
|
|
126
|
+
* Source party
|
|
163
127
|
*/
|
|
164
|
-
interface
|
|
128
|
+
interface SourceParty {
|
|
165
129
|
/**
|
|
166
130
|
* Related resource identifier
|
|
167
131
|
*/
|
|
168
|
-
data:
|
|
132
|
+
data: SourceParty.Data | null;
|
|
169
133
|
}
|
|
170
|
-
namespace
|
|
134
|
+
namespace SourceParty {
|
|
171
135
|
/**
|
|
172
136
|
* Related resource identifier
|
|
173
137
|
*/
|
|
@@ -180,15 +144,16 @@ export declare namespace TransactionListResponse {
|
|
|
180
144
|
}
|
|
181
145
|
}
|
|
182
146
|
/**
|
|
183
|
-
*
|
|
147
|
+
* Payment that produced this transaction. Present only when the authenticated
|
|
148
|
+
* caller can access the payment resource.
|
|
184
149
|
*/
|
|
185
|
-
interface
|
|
150
|
+
interface Payment {
|
|
186
151
|
/**
|
|
187
152
|
* Related resource identifier
|
|
188
153
|
*/
|
|
189
|
-
data:
|
|
154
|
+
data: Payment.Data;
|
|
190
155
|
}
|
|
191
|
-
namespace
|
|
156
|
+
namespace Payment {
|
|
192
157
|
/**
|
|
193
158
|
* Related resource identifier
|
|
194
159
|
*/
|
|
@@ -201,15 +166,16 @@ export declare namespace TransactionListResponse {
|
|
|
201
166
|
}
|
|
202
167
|
}
|
|
203
168
|
/**
|
|
204
|
-
*
|
|
169
|
+
* Transfer that produced this transaction. Present only when the authenticated
|
|
170
|
+
* caller can access the transfer resource.
|
|
205
171
|
*/
|
|
206
|
-
interface
|
|
172
|
+
interface Transfer {
|
|
207
173
|
/**
|
|
208
174
|
* Related resource identifier
|
|
209
175
|
*/
|
|
210
|
-
data:
|
|
176
|
+
data: Transfer.Data;
|
|
211
177
|
}
|
|
212
|
-
namespace
|
|
178
|
+
namespace Transfer {
|
|
213
179
|
/**
|
|
214
180
|
* Related resource identifier
|
|
215
181
|
*/
|
|
@@ -257,20 +223,10 @@ export declare namespace TransactionGetResponse {
|
|
|
257
223
|
* Resource attributes
|
|
258
224
|
*/
|
|
259
225
|
interface Attributes {
|
|
260
|
-
/**
|
|
261
|
-
* Agent that initiated this transaction. Null when initiated by a human user.
|
|
262
|
-
*/
|
|
263
|
-
agentId: string | null;
|
|
264
226
|
/**
|
|
265
227
|
* Amount in cents
|
|
266
228
|
*/
|
|
267
229
|
amount: number;
|
|
268
|
-
/**
|
|
269
|
-
* Classification from your party's perspective. Derived from transactionType +
|
|
270
|
-
* direction: "sent"/"received" for wallet-to-wallet payments (OUTBOUND/INBOUND),
|
|
271
|
-
* "deposit"/"withdrawal" for external transfers (INBOUND/OUTBOUND).
|
|
272
|
-
*/
|
|
273
|
-
category: 'sent' | 'received' | 'deposit' | 'withdrawal';
|
|
274
230
|
/**
|
|
275
231
|
* When this transaction was created
|
|
276
232
|
*/
|
|
@@ -279,10 +235,6 @@ export declare namespace TransactionGetResponse {
|
|
|
279
235
|
* Currency code
|
|
280
236
|
*/
|
|
281
237
|
currency: string;
|
|
282
|
-
/**
|
|
283
|
-
* Customer name if delegated
|
|
284
|
-
*/
|
|
285
|
-
customerName: string | null;
|
|
286
238
|
/**
|
|
287
239
|
* Payment description
|
|
288
240
|
*/
|
|
@@ -292,34 +244,10 @@ export declare namespace TransactionGetResponse {
|
|
|
292
244
|
*/
|
|
293
245
|
direction: 'INBOUND' | 'OUTBOUND';
|
|
294
246
|
/**
|
|
295
|
-
*
|
|
296
|
-
|
|
297
|
-
disputeId: string | null;
|
|
298
|
-
/**
|
|
299
|
-
* Pending escalation ID when this transaction requires approval
|
|
300
|
-
*/
|
|
301
|
-
escalationId: string | null;
|
|
302
|
-
/**
|
|
303
|
-
* Projected funds-available time for transfers (deposits/withdrawals). Null when
|
|
304
|
-
* no MMR settlement projection has arrived yet, and null for payments.
|
|
247
|
+
* Projected funds-available time for transfers. Null when no projection exists and
|
|
248
|
+
* null for payments.
|
|
305
249
|
*/
|
|
306
250
|
expectedAvailableAt: string | null;
|
|
307
|
-
/**
|
|
308
|
-
* Display name of the user or agent that initiated this transaction
|
|
309
|
-
*/
|
|
310
|
-
initiatorName: string | null;
|
|
311
|
-
/**
|
|
312
|
-
* True if this is a delegated customer payment
|
|
313
|
-
*/
|
|
314
|
-
isDelegated: boolean;
|
|
315
|
-
/**
|
|
316
|
-
* Recipient display name
|
|
317
|
-
*/
|
|
318
|
-
recipientName: string | null;
|
|
319
|
-
/**
|
|
320
|
-
* Sender display name
|
|
321
|
-
*/
|
|
322
|
-
senderName: string | null;
|
|
323
251
|
/**
|
|
324
252
|
* Transaction status
|
|
325
253
|
*/
|
|
@@ -341,18 +269,20 @@ export declare namespace TransactionGetResponse {
|
|
|
341
269
|
* Destination party
|
|
342
270
|
*/
|
|
343
271
|
destinationParty: Relationships.DestinationParty;
|
|
344
|
-
/**
|
|
345
|
-
* Destination wallet
|
|
346
|
-
*/
|
|
347
|
-
destinationWallet: Relationships.DestinationWallet;
|
|
348
272
|
/**
|
|
349
273
|
* Source party
|
|
350
274
|
*/
|
|
351
275
|
sourceParty: Relationships.SourceParty;
|
|
352
276
|
/**
|
|
353
|
-
*
|
|
277
|
+
* Payment that produced this transaction. Present only when the authenticated
|
|
278
|
+
* caller can access the payment resource.
|
|
279
|
+
*/
|
|
280
|
+
payment?: Relationships.Payment;
|
|
281
|
+
/**
|
|
282
|
+
* Transfer that produced this transaction. Present only when the authenticated
|
|
283
|
+
* caller can access the transfer resource.
|
|
354
284
|
*/
|
|
355
|
-
|
|
285
|
+
transfer?: Relationships.Transfer;
|
|
356
286
|
}
|
|
357
287
|
namespace Relationships {
|
|
358
288
|
/**
|
|
@@ -377,15 +307,15 @@ export declare namespace TransactionGetResponse {
|
|
|
377
307
|
}
|
|
378
308
|
}
|
|
379
309
|
/**
|
|
380
|
-
*
|
|
310
|
+
* Source party
|
|
381
311
|
*/
|
|
382
|
-
interface
|
|
312
|
+
interface SourceParty {
|
|
383
313
|
/**
|
|
384
314
|
* Related resource identifier
|
|
385
315
|
*/
|
|
386
|
-
data:
|
|
316
|
+
data: SourceParty.Data | null;
|
|
387
317
|
}
|
|
388
|
-
namespace
|
|
318
|
+
namespace SourceParty {
|
|
389
319
|
/**
|
|
390
320
|
* Related resource identifier
|
|
391
321
|
*/
|
|
@@ -398,15 +328,16 @@ export declare namespace TransactionGetResponse {
|
|
|
398
328
|
}
|
|
399
329
|
}
|
|
400
330
|
/**
|
|
401
|
-
*
|
|
331
|
+
* Payment that produced this transaction. Present only when the authenticated
|
|
332
|
+
* caller can access the payment resource.
|
|
402
333
|
*/
|
|
403
|
-
interface
|
|
334
|
+
interface Payment {
|
|
404
335
|
/**
|
|
405
336
|
* Related resource identifier
|
|
406
337
|
*/
|
|
407
|
-
data:
|
|
338
|
+
data: Payment.Data;
|
|
408
339
|
}
|
|
409
|
-
namespace
|
|
340
|
+
namespace Payment {
|
|
410
341
|
/**
|
|
411
342
|
* Related resource identifier
|
|
412
343
|
*/
|
|
@@ -419,15 +350,16 @@ export declare namespace TransactionGetResponse {
|
|
|
419
350
|
}
|
|
420
351
|
}
|
|
421
352
|
/**
|
|
422
|
-
*
|
|
353
|
+
* Transfer that produced this transaction. Present only when the authenticated
|
|
354
|
+
* caller can access the transfer resource.
|
|
423
355
|
*/
|
|
424
|
-
interface
|
|
356
|
+
interface Transfer {
|
|
425
357
|
/**
|
|
426
358
|
* Related resource identifier
|
|
427
359
|
*/
|
|
428
|
-
data:
|
|
360
|
+
data: Transfer.Data;
|
|
429
361
|
}
|
|
430
|
-
namespace
|
|
362
|
+
namespace Transfer {
|
|
431
363
|
/**
|
|
432
364
|
* Related resource identifier
|
|
433
365
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAetC;;OAEG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CActC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAE1C,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC;CACpC;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAE5B;;WAEG;QACH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAElC,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,
|
|
1
|
+
{"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAetC;;OAEG;IACH,GAAG,CACD,aAAa,EAAE,MAAM,EACrB,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CActC;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,KAAK,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAE1C,IAAI,EAAE,uBAAuB,CAAC,IAAI,CAAC;CACpC;AAED,yBAAiB,uBAAuB,CAAC;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