@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.
- package/bin/mcp-server.js +44 -33
- package/bin/mcp-server.js.map +23 -22
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/createdtransfer.d.ts +1 -1
- package/models/components/createpaymentlink.d.ts +1 -1
- package/models/components/createpaymentlinklineitems.d.ts +1 -1
- package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/createtransferlineitems.d.ts +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentlink.d.ts +1 -1
- package/models/components/paymentlinklineitems.d.ts +1 -1
- package/models/components/rtptransactiondetails.d.ts +45 -0
- package/models/components/rtptransactiondetails.d.ts.map +1 -0
- package/models/components/rtptransactiondetails.js +75 -0
- package/models/components/rtptransactiondetails.js.map +1 -0
- package/models/components/transfer.d.ts +1 -1
- package/models/components/transferdestination.d.ts +5 -43
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +4 -36
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferlineitems.d.ts +1 -1
- package/models/components/updatepaymentlink.d.ts +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdatabankaccountdeleted.d.ts +3 -0
- package/models/components/webhookdatabankaccountdeleted.d.ts.map +1 -1
- package/models/components/webhookdatabankaccountdeleted.js +3 -0
- package/models/components/webhookdatabankaccountdeleted.js.map +1 -1
- package/models/errors/transfer.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/createdtransfer.ts +1 -1
- package/src/models/components/createpaymentlink.ts +1 -1
- package/src/models/components/createpaymentlinklineitems.ts +1 -1
- package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/createtransferlineitems.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/paymentlink.ts +1 -1
- package/src/models/components/paymentlinklineitems.ts +1 -1
- package/src/models/components/rtptransactiondetails.ts +104 -0
- package/src/models/components/transfer.ts +1 -1
- package/src/models/components/transferdestination.ts +11 -95
- package/src/models/components/transferlineitems.ts +1 -1
- package/src/models/components/updatepaymentlink.ts +1 -1
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountdeleted.ts +9 -0
- 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
|
|
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
|
|
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
|
|