@moovio/sdk 26.2.4 → 26.2.7

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 (61) hide show
  1. package/bin/mcp-server.js +44 -33
  2. package/bin/mcp-server.js.map +23 -22
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/createdtransfer.d.ts +1 -1
  10. package/models/components/createpaymentlink.d.ts +1 -1
  11. package/models/components/createpaymentlinklineitems.d.ts +1 -1
  12. package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
  13. package/models/components/createtransfer.d.ts +1 -1
  14. package/models/components/createtransferlineitems.d.ts +1 -1
  15. package/models/components/index.d.ts +1 -0
  16. package/models/components/index.d.ts.map +1 -1
  17. package/models/components/index.js +1 -0
  18. package/models/components/index.js.map +1 -1
  19. package/models/components/paymentlink.d.ts +1 -1
  20. package/models/components/paymentlinklineitems.d.ts +1 -1
  21. package/models/components/rtptransactiondetails.d.ts +45 -0
  22. package/models/components/rtptransactiondetails.d.ts.map +1 -0
  23. package/models/components/rtptransactiondetails.js +75 -0
  24. package/models/components/rtptransactiondetails.js.map +1 -0
  25. package/models/components/transfer.d.ts +1 -1
  26. package/models/components/transferdestination.d.ts +5 -43
  27. package/models/components/transferdestination.d.ts.map +1 -1
  28. package/models/components/transferdestination.js +4 -36
  29. package/models/components/transferdestination.js.map +1 -1
  30. package/models/components/transferlineitems.d.ts +1 -1
  31. package/models/components/updatepaymentlink.d.ts +1 -1
  32. package/models/components/webhookdata.d.ts +2 -2
  33. package/models/components/webhookdata.d.ts.map +1 -1
  34. package/models/components/webhookdata.js +2 -2
  35. package/models/components/webhookdata.js.map +1 -1
  36. package/models/components/webhookdatabankaccountdeleted.d.ts +3 -0
  37. package/models/components/webhookdatabankaccountdeleted.d.ts.map +1 -1
  38. package/models/components/webhookdatabankaccountdeleted.js +3 -0
  39. package/models/components/webhookdatabankaccountdeleted.js.map +1 -1
  40. package/models/errors/transfer.d.ts +2 -2
  41. package/package.json +1 -1
  42. package/src/lib/config.ts +3 -3
  43. package/src/mcp-server/mcp-server.ts +1 -1
  44. package/src/mcp-server/server.ts +1 -1
  45. package/src/models/components/createdtransfer.ts +1 -1
  46. package/src/models/components/createpaymentlink.ts +1 -1
  47. package/src/models/components/createpaymentlinklineitems.ts +1 -1
  48. package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
  49. package/src/models/components/createtransfer.ts +1 -1
  50. package/src/models/components/createtransferlineitems.ts +1 -1
  51. package/src/models/components/index.ts +1 -0
  52. package/src/models/components/paymentlink.ts +1 -1
  53. package/src/models/components/paymentlinklineitems.ts +1 -1
  54. package/src/models/components/rtptransactiondetails.ts +104 -0
  55. package/src/models/components/transfer.ts +1 -1
  56. package/src/models/components/transferdestination.ts +11 -95
  57. package/src/models/components/transferlineitems.ts +1 -1
  58. package/src/models/components/updatepaymentlink.ts +1 -1
  59. package/src/models/components/webhookdata.ts +4 -4
  60. package/src/models/components/webhookdatabankaccountdeleted.ts +9 -0
  61. package/src/models/errors/transfer.ts +2 -2
@@ -240,6 +240,7 @@ export type WebhookData =
240
240
  | WebhookDataRefundUpdated
241
241
  | WebhookDataWalletTransactionUpdated
242
242
  | WebhookDataBankAccountCreated
243
+ | WebhookDataBankAccountDeleted
243
244
  | WebhookDataCancellationCreated
244
245
  | WebhookDataCancellationUpdated
245
246
  | WebhookDataCardAutoUpdated
@@ -253,7 +254,6 @@ export type WebhookData =
253
254
  | WebhookDataTransferCreated
254
255
  | WebhookDataWalletUpdated
255
256
  | WebhookDataBalanceUpdated
256
- | WebhookDataBankAccountDeleted
257
257
  | WebhookDataCapabilityRequested
258
258
  | WebhookDataInvoiceCreated
259
259
  | WebhookDataRepresentativeCreated
@@ -284,6 +284,7 @@ export const WebhookData$inboundSchema: z.ZodType<
284
284
  WebhookDataRefundUpdated$inboundSchema,
285
285
  WebhookDataWalletTransactionUpdated$inboundSchema,
286
286
  WebhookDataBankAccountCreated$inboundSchema,
287
+ WebhookDataBankAccountDeleted$inboundSchema,
287
288
  WebhookDataCancellationCreated$inboundSchema,
288
289
  WebhookDataCancellationUpdated$inboundSchema,
289
290
  WebhookDataCardAutoUpdated$inboundSchema,
@@ -297,7 +298,6 @@ export const WebhookData$inboundSchema: z.ZodType<
297
298
  WebhookDataTransferCreated$inboundSchema,
298
299
  WebhookDataWalletUpdated$inboundSchema,
299
300
  WebhookDataBalanceUpdated$inboundSchema,
300
- WebhookDataBankAccountDeleted$inboundSchema,
301
301
  WebhookDataCapabilityRequested$inboundSchema,
302
302
  WebhookDataInvoiceCreated$inboundSchema,
303
303
  WebhookDataRepresentativeCreated$inboundSchema,
@@ -324,6 +324,7 @@ export type WebhookData$Outbound =
324
324
  | WebhookDataRefundUpdated$Outbound
325
325
  | WebhookDataWalletTransactionUpdated$Outbound
326
326
  | WebhookDataBankAccountCreated$Outbound
327
+ | WebhookDataBankAccountDeleted$Outbound
327
328
  | WebhookDataCancellationCreated$Outbound
328
329
  | WebhookDataCancellationUpdated$Outbound
329
330
  | WebhookDataCardAutoUpdated$Outbound
@@ -337,7 +338,6 @@ export type WebhookData$Outbound =
337
338
  | WebhookDataTransferCreated$Outbound
338
339
  | WebhookDataWalletUpdated$Outbound
339
340
  | WebhookDataBalanceUpdated$Outbound
340
- | WebhookDataBankAccountDeleted$Outbound
341
341
  | WebhookDataCapabilityRequested$Outbound
342
342
  | WebhookDataInvoiceCreated$Outbound
343
343
  | WebhookDataRepresentativeCreated$Outbound
@@ -368,6 +368,7 @@ export const WebhookData$outboundSchema: z.ZodType<
368
368
  WebhookDataRefundUpdated$outboundSchema,
369
369
  WebhookDataWalletTransactionUpdated$outboundSchema,
370
370
  WebhookDataBankAccountCreated$outboundSchema,
371
+ WebhookDataBankAccountDeleted$outboundSchema,
371
372
  WebhookDataCancellationCreated$outboundSchema,
372
373
  WebhookDataCancellationUpdated$outboundSchema,
373
374
  WebhookDataCardAutoUpdated$outboundSchema,
@@ -381,7 +382,6 @@ export const WebhookData$outboundSchema: z.ZodType<
381
382
  WebhookDataTransferCreated$outboundSchema,
382
383
  WebhookDataWalletUpdated$outboundSchema,
383
384
  WebhookDataBalanceUpdated$outboundSchema,
384
- WebhookDataBankAccountDeleted$outboundSchema,
385
385
  WebhookDataCapabilityRequested$outboundSchema,
386
386
  WebhookDataInvoiceCreated$outboundSchema,
387
387
  WebhookDataRepresentativeCreated$outboundSchema,
@@ -6,10 +6,16 @@ import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import {
10
+ BankAccountStatus,
11
+ BankAccountStatus$inboundSchema,
12
+ BankAccountStatus$outboundSchema,
13
+ } from "./bankaccountstatus.js";
9
14
 
10
15
  export type WebhookDataBankAccountDeleted = {
11
16
  bankAccountID: string;
12
17
  accountID: string;
18
+ status: BankAccountStatus;
13
19
  };
14
20
 
15
21
  /** @internal */
@@ -20,11 +26,13 @@ export const WebhookDataBankAccountDeleted$inboundSchema: z.ZodType<
20
26
  > = z.object({
21
27
  bankAccountID: z.string(),
22
28
  accountID: z.string(),
29
+ status: BankAccountStatus$inboundSchema,
23
30
  });
24
31
  /** @internal */
25
32
  export type WebhookDataBankAccountDeleted$Outbound = {
26
33
  bankAccountID: string;
27
34
  accountID: string;
35
+ status: string;
28
36
  };
29
37
 
30
38
  /** @internal */
@@ -35,6 +43,7 @@ export const WebhookDataBankAccountDeleted$outboundSchema: z.ZodType<
35
43
  > = z.object({
36
44
  bankAccountID: z.string(),
37
45
  accountID: z.string(),
46
+ status: BankAccountStatus$outboundSchema,
38
47
  });
39
48
 
40
49
  export function webhookDataBankAccountDeletedToJSON(
@@ -74,7 +74,7 @@ export type TransferData = {
74
74
  * An optional collection of line items for a transfer.
75
75
  *
76
76
  * @remarks
77
- * When line items are provided, their total plus sales tax must equal the transfer amount.
77
+ * When line items are provided, their total plus tax must equal the transfer amount.
78
78
  */
79
79
  lineItems?: components.TransferLineItems | undefined;
80
80
  };
@@ -147,7 +147,7 @@ export class Transfer extends MoovError {
147
147
  * An optional collection of line items for a transfer.
148
148
  *
149
149
  * @remarks
150
- * When line items are provided, their total plus sales tax must equal the transfer amount.
150
+ * When line items are provided, their total plus tax must equal the transfer amount.
151
151
  */
152
152
  lineItems?: components.TransferLineItems | undefined;
153
153