@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.
Files changed (184) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +23 -20
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +23 -20
  5. package/client.d.ts.map +1 -1
  6. package/client.js +11 -8
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -9
  9. package/client.mjs.map +1 -1
  10. package/internal/tslib.js +17 -17
  11. package/internal/utils/query.d.mts +3 -0
  12. package/internal/utils/query.d.mts.map +1 -1
  13. package/internal/utils/query.d.ts +3 -0
  14. package/internal/utils/query.d.ts.map +1 -1
  15. package/internal/utils/query.js +16 -3
  16. package/internal/utils/query.js.map +1 -1
  17. package/internal/utils/query.mjs +16 -2
  18. package/internal/utils/query.mjs.map +1 -1
  19. package/package.json +1 -1
  20. package/resources/agents.d.mts +554 -268
  21. package/resources/agents.d.mts.map +1 -1
  22. package/resources/agents.d.ts +554 -268
  23. package/resources/agents.d.ts.map +1 -1
  24. package/resources/agents.js +72 -20
  25. package/resources/agents.js.map +1 -1
  26. package/resources/agents.mjs +72 -20
  27. package/resources/agents.mjs.map +1 -1
  28. package/resources/api-keys.d.mts +16 -2
  29. package/resources/api-keys.d.mts.map +1 -1
  30. package/resources/api-keys.d.ts +16 -2
  31. package/resources/api-keys.d.ts.map +1 -1
  32. package/resources/api-keys.js +7 -4
  33. package/resources/api-keys.js.map +1 -1
  34. package/resources/api-keys.mjs +7 -4
  35. package/resources/api-keys.mjs.map +1 -1
  36. package/resources/customers.d.mts +243 -114
  37. package/resources/customers.d.mts.map +1 -1
  38. package/resources/customers.d.ts +243 -114
  39. package/resources/customers.d.ts.map +1 -1
  40. package/resources/customers.js +6 -7
  41. package/resources/customers.js.map +1 -1
  42. package/resources/customers.mjs +6 -7
  43. package/resources/customers.mjs.map +1 -1
  44. package/resources/index.d.mts +7 -7
  45. package/resources/index.d.mts.map +1 -1
  46. package/resources/index.d.ts +7 -7
  47. package/resources/index.d.ts.map +1 -1
  48. package/resources/index.js +3 -3
  49. package/resources/index.js.map +1 -1
  50. package/resources/index.mjs +2 -2
  51. package/resources/index.mjs.map +1 -1
  52. package/resources/invitations.d.mts +16 -7
  53. package/resources/invitations.d.mts.map +1 -1
  54. package/resources/invitations.d.ts +16 -7
  55. package/resources/invitations.d.ts.map +1 -1
  56. package/resources/invitations.js +6 -4
  57. package/resources/invitations.js.map +1 -1
  58. package/resources/invitations.mjs +6 -4
  59. package/resources/invitations.mjs.map +1 -1
  60. package/resources/parties.d.mts +53 -26
  61. package/resources/parties.d.mts.map +1 -1
  62. package/resources/parties.d.ts +53 -26
  63. package/resources/parties.d.ts.map +1 -1
  64. package/resources/parties.js +27 -1
  65. package/resources/parties.js.map +1 -1
  66. package/resources/parties.mjs +27 -1
  67. package/resources/parties.mjs.map +1 -1
  68. package/resources/payment-requests.d.mts +738 -33
  69. package/resources/payment-requests.d.mts.map +1 -1
  70. package/resources/payment-requests.d.ts +738 -33
  71. package/resources/payment-requests.d.ts.map +1 -1
  72. package/resources/payment-requests.js +82 -1
  73. package/resources/payment-requests.js.map +1 -1
  74. package/resources/payment-requests.mjs +82 -1
  75. package/resources/payment-requests.mjs.map +1 -1
  76. package/resources/payments.d.mts +390 -24
  77. package/resources/payments.d.mts.map +1 -1
  78. package/resources/payments.d.ts +390 -24
  79. package/resources/payments.d.ts.map +1 -1
  80. package/resources/payments.js +53 -3
  81. package/resources/payments.js.map +1 -1
  82. package/resources/payments.mjs +53 -3
  83. package/resources/payments.mjs.map +1 -1
  84. package/resources/transactions.d.mts +50 -118
  85. package/resources/transactions.d.mts.map +1 -1
  86. package/resources/transactions.d.ts +50 -118
  87. package/resources/transactions.d.ts.map +1 -1
  88. package/resources/transactions.js +2 -2
  89. package/resources/transactions.mjs +2 -2
  90. package/resources/transfers.d.mts +1030 -0
  91. package/resources/transfers.d.mts.map +1 -0
  92. package/resources/transfers.d.ts +1030 -0
  93. package/resources/transfers.d.ts.map +1 -0
  94. package/resources/transfers.js +114 -0
  95. package/resources/transfers.js.map +1 -0
  96. package/resources/transfers.mjs +110 -0
  97. package/resources/transfers.mjs.map +1 -0
  98. package/resources/wallet.d.mts +1 -189
  99. package/resources/wallet.d.mts.map +1 -1
  100. package/resources/wallet.d.ts +1 -189
  101. package/resources/wallet.d.ts.map +1 -1
  102. package/resources/wallet.js +0 -66
  103. package/resources/wallet.js.map +1 -1
  104. package/resources/wallet.mjs +0 -66
  105. package/resources/wallet.mjs.map +1 -1
  106. package/resources/webhooks.d.mts +7 -7
  107. package/resources/webhooks.d.mts.map +1 -1
  108. package/resources/webhooks.d.ts +7 -7
  109. package/resources/webhooks.d.ts.map +1 -1
  110. package/src/client.ts +82 -43
  111. package/src/internal/utils/query.ts +18 -2
  112. package/src/resources/agents.ts +676 -300
  113. package/src/resources/api-keys.ts +26 -4
  114. package/src/resources/customers.ts +273 -132
  115. package/src/resources/index.ts +38 -18
  116. package/src/resources/invitations.ts +26 -10
  117. package/src/resources/parties.ts +85 -30
  118. package/src/resources/payment-requests.ts +949 -58
  119. package/src/resources/payments.ts +518 -23
  120. package/src/resources/transactions.ts +50 -136
  121. package/src/resources/transfers.ts +1338 -0
  122. package/src/resources/wallet.ts +0 -268
  123. package/src/resources/webhooks.ts +7 -0
  124. package/src/version.ts +1 -1
  125. package/version.d.mts +1 -1
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
  128. package/version.mjs +1 -1
  129. package/internal/qs/formats.d.mts +0 -7
  130. package/internal/qs/formats.d.mts.map +0 -1
  131. package/internal/qs/formats.d.ts +0 -7
  132. package/internal/qs/formats.d.ts.map +0 -1
  133. package/internal/qs/formats.js +0 -13
  134. package/internal/qs/formats.js.map +0 -1
  135. package/internal/qs/formats.mjs +0 -9
  136. package/internal/qs/formats.mjs.map +0 -1
  137. package/internal/qs/index.d.mts +0 -10
  138. package/internal/qs/index.d.mts.map +0 -1
  139. package/internal/qs/index.d.ts +0 -10
  140. package/internal/qs/index.d.ts.map +0 -1
  141. package/internal/qs/index.js +0 -14
  142. package/internal/qs/index.js.map +0 -1
  143. package/internal/qs/index.mjs +0 -10
  144. package/internal/qs/index.mjs.map +0 -1
  145. package/internal/qs/stringify.d.mts +0 -3
  146. package/internal/qs/stringify.d.mts.map +0 -1
  147. package/internal/qs/stringify.d.ts +0 -3
  148. package/internal/qs/stringify.d.ts.map +0 -1
  149. package/internal/qs/stringify.js +0 -277
  150. package/internal/qs/stringify.js.map +0 -1
  151. package/internal/qs/stringify.mjs +0 -274
  152. package/internal/qs/stringify.mjs.map +0 -1
  153. package/internal/qs/types.d.mts +0 -57
  154. package/internal/qs/types.d.mts.map +0 -1
  155. package/internal/qs/types.d.ts +0 -57
  156. package/internal/qs/types.d.ts.map +0 -1
  157. package/internal/qs/types.js +0 -3
  158. package/internal/qs/types.js.map +0 -1
  159. package/internal/qs/types.mjs +0 -2
  160. package/internal/qs/types.mjs.map +0 -1
  161. package/internal/qs/utils.d.mts +0 -15
  162. package/internal/qs/utils.d.mts.map +0 -1
  163. package/internal/qs/utils.d.ts +0 -15
  164. package/internal/qs/utils.d.ts.map +0 -1
  165. package/internal/qs/utils.js +0 -230
  166. package/internal/qs/utils.js.map +0 -1
  167. package/internal/qs/utils.mjs +0 -217
  168. package/internal/qs/utils.mjs.map +0 -1
  169. package/resources/delegations.d.mts +0 -458
  170. package/resources/delegations.d.mts.map +0 -1
  171. package/resources/delegations.d.ts +0 -458
  172. package/resources/delegations.d.ts.map +0 -1
  173. package/resources/delegations.js +0 -47
  174. package/resources/delegations.js.map +0 -1
  175. package/resources/delegations.mjs +0 -43
  176. package/resources/delegations.mjs.map +0 -1
  177. package/src/internal/qs/LICENSE.md +0 -13
  178. package/src/internal/qs/README.md +0 -3
  179. package/src/internal/qs/formats.ts +0 -10
  180. package/src/internal/qs/index.ts +0 -13
  181. package/src/internal/qs/stringify.ts +0 -385
  182. package/src/internal/qs/types.ts +0 -71
  183. package/src/internal/qs/utils.ts +0 -265
  184. package/src/resources/delegations.ts +0 -580
@@ -1,458 +0,0 @@
1
- import { APIResource } from "../core/resource.mjs";
2
- import { APIPromise } from "../core/api-promise.mjs";
3
- import { RequestOptions } from "../internal/request-options.mjs";
4
- /**
5
- * Agent delegation management
6
- */
7
- export declare class Delegations extends APIResource {
8
- /**
9
- * Get agent delegation
10
- */
11
- getAgentDelegation(agentDelegationID: string, params?: DelegationGetAgentDelegationParams | null | undefined, options?: RequestOptions): APIPromise<DelegationGetAgentDelegationResponse>;
12
- /**
13
- * List agent delegations
14
- */
15
- listAgentDelegations(params?: DelegationListAgentDelegationsParams | null | undefined, options?: RequestOptions): APIPromise<DelegationListAgentDelegationsResponse>;
16
- }
17
- export interface DelegationGetAgentDelegationResponse {
18
- data: DelegationGetAgentDelegationResponse.Data;
19
- }
20
- export declare namespace DelegationGetAgentDelegationResponse {
21
- interface Data {
22
- /**
23
- * Resource ID
24
- */
25
- id: string;
26
- /**
27
- * Resource attributes
28
- */
29
- attributes: Data.Attributes;
30
- /**
31
- * Resource relationships
32
- */
33
- relationships: Data.Relationships;
34
- /**
35
- * Resource type
36
- */
37
- type: string;
38
- }
39
- namespace Data {
40
- /**
41
- * Resource attributes
42
- */
43
- interface Attributes {
44
- /**
45
- * Agent display name
46
- */
47
- agentName: string | null;
48
- /**
49
- * When this delegation was created
50
- */
51
- createdAt: string;
52
- /**
53
- * User who created this delegation (usr\_\*)
54
- */
55
- createdBy: string | null;
56
- /**
57
- * Developer party name
58
- */
59
- delegateePartyName: string | null;
60
- /**
61
- * Customer party name
62
- */
63
- delegatorPartyName: string | null;
64
- /**
65
- * Expiration timestamp
66
- */
67
- expiresAt: string | null;
68
- /**
69
- * Transaction limits in cents
70
- */
71
- limits: Attributes.Limits | null;
72
- /**
73
- * Granted permissions. Use `status` to derive Active vs Revoked.
74
- */
75
- permissions: Array<string>;
76
- /**
77
- * Authoritative active/revoked flag (revoke keeps permissions for audit)
78
- */
79
- status: 'ACTIVE' | 'REVOKED';
80
- /**
81
- * When this delegation was last updated
82
- */
83
- updatedAt: string;
84
- }
85
- namespace Attributes {
86
- /**
87
- * Transaction limits in cents
88
- */
89
- interface Limits {
90
- /**
91
- * Positive per-transaction limit in cents. null means no per-payment limit.
92
- */
93
- perTransaction?: number | null;
94
- }
95
- }
96
- /**
97
- * Resource relationships
98
- */
99
- interface Relationships {
100
- /**
101
- * Agent granted access
102
- */
103
- agent: Relationships.Agent;
104
- /**
105
- * Parent party delegation
106
- */
107
- delegation: Relationships.Delegation;
108
- /**
109
- * Developer party receiving access
110
- */
111
- delegateeParty?: Relationships.DelegateeParty;
112
- /**
113
- * Customer party granting access
114
- */
115
- delegatorParty?: Relationships.DelegatorParty;
116
- }
117
- namespace Relationships {
118
- /**
119
- * Agent granted access
120
- */
121
- interface Agent {
122
- /**
123
- * Related resource identifier
124
- */
125
- data: Agent.Data;
126
- }
127
- namespace Agent {
128
- /**
129
- * Related resource identifier
130
- */
131
- interface Data {
132
- id: string;
133
- /**
134
- * Resource type
135
- */
136
- type: string;
137
- }
138
- }
139
- /**
140
- * Parent party delegation
141
- */
142
- interface Delegation {
143
- /**
144
- * Related resource identifier
145
- */
146
- data: Delegation.Data;
147
- }
148
- namespace Delegation {
149
- /**
150
- * Related resource identifier
151
- */
152
- interface Data {
153
- id: string;
154
- /**
155
- * Resource type
156
- */
157
- type: string;
158
- }
159
- }
160
- /**
161
- * Developer party receiving access
162
- */
163
- interface DelegateeParty {
164
- /**
165
- * Related resource identifier
166
- */
167
- data: DelegateeParty.Data | null;
168
- }
169
- namespace DelegateeParty {
170
- /**
171
- * Related resource identifier
172
- */
173
- interface Data {
174
- id: string;
175
- /**
176
- * Resource type
177
- */
178
- type: string;
179
- }
180
- }
181
- /**
182
- * Customer party granting access
183
- */
184
- interface DelegatorParty {
185
- /**
186
- * Related resource identifier
187
- */
188
- data: DelegatorParty.Data | null;
189
- }
190
- namespace DelegatorParty {
191
- /**
192
- * Related resource identifier
193
- */
194
- interface Data {
195
- id: string;
196
- /**
197
- * Resource type
198
- */
199
- type: string;
200
- }
201
- }
202
- }
203
- }
204
- }
205
- export interface DelegationListAgentDelegationsResponse {
206
- data: Array<DelegationListAgentDelegationsResponse.Data>;
207
- meta: DelegationListAgentDelegationsResponse.Meta;
208
- }
209
- export declare namespace DelegationListAgentDelegationsResponse {
210
- interface Data {
211
- /**
212
- * Resource ID
213
- */
214
- id: string;
215
- /**
216
- * Resource attributes
217
- */
218
- attributes: Data.Attributes;
219
- /**
220
- * Resource relationships
221
- */
222
- relationships: Data.Relationships;
223
- /**
224
- * Resource type
225
- */
226
- type: string;
227
- }
228
- namespace Data {
229
- /**
230
- * Resource attributes
231
- */
232
- interface Attributes {
233
- /**
234
- * Agent display name
235
- */
236
- agentName: string | null;
237
- /**
238
- * When this delegation was created
239
- */
240
- createdAt: string;
241
- /**
242
- * User who created this delegation (usr\_\*)
243
- */
244
- createdBy: string | null;
245
- /**
246
- * Developer party name
247
- */
248
- delegateePartyName: string | null;
249
- /**
250
- * Customer party name
251
- */
252
- delegatorPartyName: string | null;
253
- /**
254
- * Expiration timestamp
255
- */
256
- expiresAt: string | null;
257
- /**
258
- * Transaction limits in cents
259
- */
260
- limits: Attributes.Limits | null;
261
- /**
262
- * Granted permissions. Use `status` to derive Active vs Revoked.
263
- */
264
- permissions: Array<string>;
265
- /**
266
- * Authoritative active/revoked flag (revoke keeps permissions for audit)
267
- */
268
- status: 'ACTIVE' | 'REVOKED';
269
- /**
270
- * When this delegation was last updated
271
- */
272
- updatedAt: string;
273
- }
274
- namespace Attributes {
275
- /**
276
- * Transaction limits in cents
277
- */
278
- interface Limits {
279
- /**
280
- * Positive per-transaction limit in cents. null means no per-payment limit.
281
- */
282
- perTransaction?: number | null;
283
- }
284
- }
285
- /**
286
- * Resource relationships
287
- */
288
- interface Relationships {
289
- /**
290
- * Agent granted access
291
- */
292
- agent: Relationships.Agent;
293
- /**
294
- * Parent party delegation
295
- */
296
- delegation: Relationships.Delegation;
297
- /**
298
- * Developer party receiving access
299
- */
300
- delegateeParty?: Relationships.DelegateeParty;
301
- /**
302
- * Customer party granting access
303
- */
304
- delegatorParty?: Relationships.DelegatorParty;
305
- }
306
- namespace Relationships {
307
- /**
308
- * Agent granted access
309
- */
310
- interface Agent {
311
- /**
312
- * Related resource identifier
313
- */
314
- data: Agent.Data;
315
- }
316
- namespace Agent {
317
- /**
318
- * Related resource identifier
319
- */
320
- interface Data {
321
- id: string;
322
- /**
323
- * Resource type
324
- */
325
- type: string;
326
- }
327
- }
328
- /**
329
- * Parent party delegation
330
- */
331
- interface Delegation {
332
- /**
333
- * Related resource identifier
334
- */
335
- data: Delegation.Data;
336
- }
337
- namespace Delegation {
338
- /**
339
- * Related resource identifier
340
- */
341
- interface Data {
342
- id: string;
343
- /**
344
- * Resource type
345
- */
346
- type: string;
347
- }
348
- }
349
- /**
350
- * Developer party receiving access
351
- */
352
- interface DelegateeParty {
353
- /**
354
- * Related resource identifier
355
- */
356
- data: DelegateeParty.Data | null;
357
- }
358
- namespace DelegateeParty {
359
- /**
360
- * Related resource identifier
361
- */
362
- interface Data {
363
- id: string;
364
- /**
365
- * Resource type
366
- */
367
- type: string;
368
- }
369
- }
370
- /**
371
- * Customer party granting access
372
- */
373
- interface DelegatorParty {
374
- /**
375
- * Related resource identifier
376
- */
377
- data: DelegatorParty.Data | null;
378
- }
379
- namespace DelegatorParty {
380
- /**
381
- * Related resource identifier
382
- */
383
- interface Data {
384
- id: string;
385
- /**
386
- * Resource type
387
- */
388
- type: string;
389
- }
390
- }
391
- }
392
- }
393
- interface Meta {
394
- pagination: Meta.Pagination;
395
- }
396
- namespace Meta {
397
- interface Pagination {
398
- hasMore: boolean;
399
- nextCursor: string | null;
400
- }
401
- }
402
- }
403
- export interface DelegationGetAgentDelegationParams {
404
- /**
405
- * Agent ID (agt_xxx) identifying which agent is making the request.
406
- */
407
- 'X-Agent-ID'?: string;
408
- /**
409
- * Required when X-Agent-ID is present. Session or conversation ID for agent
410
- * observability.
411
- */
412
- 'X-Instance-ID'?: string;
413
- }
414
- export interface DelegationListAgentDelegationsParams {
415
- /**
416
- * Query param: Filter by agent (agt_xxx)
417
- */
418
- agentId?: string;
419
- /**
420
- * Query param: Cursor for pagination
421
- */
422
- cursor?: string;
423
- /**
424
- * Query param: Filter to delegations where caller is the delegated party
425
- * (developer)
426
- */
427
- delegateePartyId?: string;
428
- /**
429
- * Query param: Filter by parent delegation (dlg_xxx)
430
- */
431
- delegationId?: string;
432
- /**
433
- * Query param: Filter to delegations where caller is the delegating party
434
- * (customer)
435
- */
436
- delegatorPartyId?: string;
437
- /**
438
- * Query param: Include revoked delegations
439
- */
440
- includeRevoked?: boolean | string;
441
- /**
442
- * Query param: Max items per page
443
- */
444
- limit?: number;
445
- /**
446
- * Header param: Agent ID (agt_xxx) identifying which agent is making the request.
447
- */
448
- 'X-Agent-ID'?: string;
449
- /**
450
- * Header param: Required when X-Agent-ID is present. Session or conversation ID
451
- * for agent observability.
452
- */
453
- 'X-Instance-ID'?: string;
454
- }
455
- export declare namespace Delegations {
456
- export { type DelegationGetAgentDelegationResponse as DelegationGetAgentDelegationResponse, type DelegationListAgentDelegationsResponse as DelegationListAgentDelegationsResponse, type DelegationGetAgentDelegationParams as DelegationGetAgentDelegationParams, type DelegationListAgentDelegationsParams as DelegationListAgentDelegationsParams, };
457
- }
458
- //# sourceMappingURL=delegations.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delegations.d.mts","sourceRoot":"","sources":["../src/resources/delegations.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,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,MAAM,GAAE,kCAAkC,GAAG,IAAI,GAAG,SA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