@moovio/sdk 0.0.0-dev.24 → 0.0.0-dev.25
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/README.md +90 -86
- package/bin/mcp-server.js +670 -357
- package/bin/mcp-server.js.map +68 -66
- package/funcs/accountsCreate.d.ts +8 -10
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +8 -10
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/capabilitiesDisable.d.ts +1 -1
- package/funcs/capabilitiesDisable.js +1 -1
- package/funcs/capabilitiesGet.d.ts +1 -1
- package/funcs/capabilitiesGet.js +1 -1
- package/funcs/capabilitiesList.d.ts +1 -1
- package/funcs/capabilitiesList.js +1 -1
- package/funcs/capabilitiesRequest.d.ts +1 -1
- package/funcs/capabilitiesRequest.js +1 -1
- package/funcs/cardIssuingGet.js +1 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +1 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +1 -1
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +1 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/transfersListCancellations.d.ts +17 -0
- package/funcs/transfersListCancellations.d.ts.map +1 -0
- package/funcs/transfersListCancellations.js +129 -0
- package/funcs/transfersListCancellations.js.map +1 -0
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +7 -0
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +50 -16
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
- package/mcp-server/tools/accountsCreate.js +8 -10
- package/mcp-server/tools/accountsCreate.js.map +1 -1
- package/mcp-server/tools/capabilitiesDisable.js +1 -1
- package/mcp-server/tools/capabilitiesGet.js +1 -1
- package/mcp-server/tools/capabilitiesList.js +1 -1
- package/mcp-server/tools/capabilitiesRequest.js +1 -1
- package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
- package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
- package/{models/components/authorizeduser.js → mcp-server/tools/transfersListCancellations.js} +27 -23
- package/mcp-server/tools/transfersListCancellations.js.map +1 -0
- package/models/components/addcapabilities.d.ts +9 -0
- package/models/components/addcapabilities.d.ts.map +1 -1
- package/models/components/addcapabilities.js.map +1 -1
- package/models/components/amountdecimalrange.d.ts +15 -4
- package/models/components/amountdecimalrange.d.ts.map +1 -1
- package/models/components/amountdecimalrange.js +5 -4
- package/models/components/amountdecimalrange.js.map +1 -1
- package/models/components/amountdecimalrangeupdate.d.ts +11 -0
- package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
- package/models/components/amountdecimalrangeupdate.js.map +1 -1
- package/models/components/capability.d.ts +7 -1
- package/models/components/capability.d.ts.map +1 -1
- package/models/components/capability.js.map +1 -1
- package/models/components/capabilityid.d.ts +14 -2
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +7 -1
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardtransactiondetails.d.ts +5 -0
- package/models/components/cardtransactiondetails.d.ts.map +1 -1
- package/models/components/cardtransactiondetails.js +2 -0
- package/models/components/cardtransactiondetails.js.map +1 -1
- package/models/components/cardtransactionstatus.d.ts +1 -0
- package/models/components/cardtransactionstatus.d.ts.map +1 -1
- package/models/components/cardtransactionstatus.js +1 -0
- package/models/components/cardtransactionstatus.js.map +1 -1
- package/models/components/createaccount.d.ts +9 -0
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +9 -3
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js +4 -0
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createtransferdestinationcard.d.ts +5 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +2 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/customamountpaymentdetailserror.d.ts +29 -0
- package/models/components/customamountpaymentdetailserror.d.ts.map +1 -0
- package/models/components/customamountpaymentdetailserror.js +71 -0
- package/models/components/customamountpaymentdetailserror.js.map +1 -0
- package/models/components/fullissuedcard.d.ts +25 -9
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js +11 -5
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +4 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -4
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +25 -9
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js +11 -5
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/onboardinginvite.d.ts +1 -1
- package/models/components/onboardinginviterequest.d.ts +1 -1
- package/models/components/paymentlink.d.ts +13 -2
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js +4 -0
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +70 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.js +74 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +70 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js +75 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -0
- package/models/components/paymentlinkpaymentdetails.d.ts +0 -33
- package/models/components/paymentlinkpaymentdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpaymentdetails.js +1 -21
- package/models/components/paymentlinkpaymentdetails.js.map +1 -1
- package/models/components/paymentlinkpaymentdetailsupdate.d.ts +0 -33
- package/models/components/paymentlinkpaymentdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpaymentdetailsupdate.js +1 -21
- package/models/components/paymentlinkpaymentdetailsupdate.js.map +1 -1
- package/models/components/paymentlinktype.d.ts +1 -0
- package/models/components/paymentlinktype.d.ts.map +1 -1
- package/models/components/paymentlinktype.js +1 -0
- package/models/components/paymentlinktype.js.map +1 -1
- package/models/components/requestcard.d.ts +14 -17
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js +9 -10
- package/models/components/requestcard.js.map +1 -1
- package/models/components/updateissuedcard.d.ts +33 -8
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js +35 -6
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updatepaymentlink.d.ts +6 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js +3 -0
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/webhookdata.d.ts +3 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +7 -4
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
- package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
- package/models/components/{createauthorizedusererror.js → webhookdataauthorizationexpiring.js} +18 -17
- package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
- package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
- package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
- package/models/components/webhookdatacapabilityrequested.js.map +1 -1
- package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
- package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
- package/models/components/webhookdatacapabilityupdated.js.map +1 -1
- package/models/components/webhookdatasweepcreated.d.ts +5 -0
- package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
- package/models/components/webhookdatasweepcreated.js +2 -0
- package/models/components/webhookdatasweepcreated.js.map +1 -1
- package/models/components/webhookdatasweepupdated.d.ts +5 -0
- package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
- package/models/components/webhookdatasweepupdated.js +2 -0
- package/models/components/webhookdatasweepupdated.js.map +1 -1
- package/models/components/webhookeventtype.d.ts +1 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +1 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/errors/createpaymentlinkerror.d.ts +3 -0
- package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
- package/models/errors/createpaymentlinkerror.js +6 -0
- package/models/errors/createpaymentlinkerror.js.map +1 -1
- package/models/errors/requestcarderror.d.ts +12 -12
- package/models/errors/requestcarderror.d.ts.map +1 -1
- package/models/errors/requestcarderror.js +17 -17
- package/models/errors/requestcarderror.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +9 -6
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +12 -9
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/errors/updatepaymentlinkerror.d.ts +3 -0
- package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
- package/models/errors/updatepaymentlinkerror.js +6 -0
- package/models/errors/updatepaymentlinkerror.js.map +1 -1
- package/models/operations/disablecapability.d.ts +7 -1
- package/models/operations/disablecapability.d.ts.map +1 -1
- package/models/operations/disablecapability.js.map +1 -1
- package/models/operations/getcapability.d.ts +7 -1
- package/models/operations/getcapability.d.ts.map +1 -1
- package/models/operations/getcapability.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listcancellations.d.ts +45 -0
- package/models/operations/listcancellations.d.ts.map +1 -0
- package/models/operations/listcancellations.js +91 -0
- package/models/operations/listcancellations.js.map +1 -0
- package/package.json +1 -1
- package/sdk/accounts.d.ts +8 -10
- package/sdk/accounts.d.ts.map +1 -1
- package/sdk/accounts.js +8 -10
- package/sdk/accounts.js.map +1 -1
- package/sdk/capabilities.d.ts +4 -4
- package/sdk/capabilities.js +4 -4
- package/sdk/transfers.d.ts +7 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +10 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/accountsCreate.ts +8 -10
- package/src/funcs/capabilitiesDisable.ts +1 -1
- package/src/funcs/capabilitiesGet.ts +1 -1
- package/src/funcs/capabilitiesList.ts +1 -1
- package/src/funcs/capabilitiesRequest.ts +1 -1
- package/src/funcs/cardIssuingGet.ts +1 -1
- package/src/funcs/cardIssuingGetFull.ts +3 -3
- package/src/funcs/cardIssuingList.ts +1 -1
- package/src/funcs/cardIssuingRequest.ts +1 -1
- package/src/funcs/cardIssuingUpdate.ts +1 -1
- package/src/funcs/transfersListCancellations.ts +181 -0
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +1 -1
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/retries.ts +8 -0
- package/src/lib/sdks.ts +54 -17
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/accountsCreate.ts +8 -10
- package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
- package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
- package/src/mcp-server/tools/capabilitiesList.ts +1 -1
- package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
- package/src/models/components/addcapabilities.ts +9 -0
- package/src/models/components/amountdecimalrange.ts +20 -8
- package/src/models/components/amountdecimalrangeupdate.ts +11 -0
- package/src/models/components/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +14 -2
- package/src/models/components/cardtransactiondetails.ts +7 -0
- package/src/models/components/cardtransactionstatus.ts +1 -0
- package/src/models/components/createaccount.ts +9 -0
- package/src/models/components/createpaymentlink.ts +21 -3
- package/src/models/components/createtransferdestinationcard.ts +7 -0
- package/src/models/components/customamountpaymentdetailserror.ts +86 -0
- package/src/models/components/fullissuedcard.ts +35 -17
- package/src/models/components/index.ts +4 -4
- package/src/models/components/issuedcard.ts +35 -17
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/onboardinginviterequest.ts +1 -1
- package/src/models/components/paymentlink.ts +25 -2
- package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +138 -0
- package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +149 -0
- package/src/models/components/paymentlinkpaymentdetails.ts +0 -60
- package/src/models/components/paymentlinkpaymentdetailsupdate.ts +0 -61
- package/src/models/components/paymentlinktype.ts +1 -0
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/updateissuedcard.ts +73 -17
- package/src/models/components/updatepaymentlink.ts +18 -0
- package/src/models/components/webhookdata.ts +18 -8
- package/src/models/components/webhookdataauthorizationexpiring.ts +66 -0
- package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
- package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
- package/src/models/components/webhookdatasweepcreated.ts +7 -0
- package/src/models/components/webhookdatasweepupdated.ts +7 -0
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/createpaymentlinkerror.ts +13 -0
- package/src/models/errors/requestcarderror.ts +26 -27
- package/src/models/errors/updateissuedcarderror.ts +18 -15
- package/src/models/errors/updatepaymentlinkerror.ts +13 -0
- package/src/models/operations/disablecapability.ts +7 -1
- package/src/models/operations/getcapability.ts +7 -1
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listcancellations.ts +121 -0
- package/src/sdk/accounts.ts +8 -10
- package/src/sdk/capabilities.ts +4 -4
- package/src/sdk/transfers.ts +18 -0
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/models/components/authorizeduser.d.ts +0 -22
- package/models/components/authorizeduser.d.ts.map +0 -1
- package/models/components/authorizeduser.js.map +0 -1
- package/models/components/createauthorizeduser.d.ts +0 -25
- package/models/components/createauthorizeduser.d.ts.map +0 -1
- package/models/components/createauthorizeduser.js +0 -64
- package/models/components/createauthorizeduser.js.map +0 -1
- package/models/components/createauthorizedusererror.d.ts +0 -22
- package/models/components/createauthorizedusererror.d.ts.map +0 -1
- package/models/components/createauthorizedusererror.js.map +0 -1
- package/models/components/createauthorizeduserupdate.d.ts +0 -25
- package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
- package/models/components/createauthorizeduserupdate.js +0 -64
- package/models/components/createauthorizeduserupdate.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
- package/src/models/components/authorizeduser.ts +0 -55
- package/src/models/components/createauthorizeduser.ts +0 -69
- package/src/models/components/createauthorizedusererror.ts +0 -66
- package/src/models/components/createauthorizeduserupdate.ts +0 -69
|
@@ -31,6 +31,12 @@ import {
|
|
|
31
31
|
WebhookDataAccountUpdated$Outbound,
|
|
32
32
|
WebhookDataAccountUpdated$outboundSchema,
|
|
33
33
|
} from "./webhookdataaccountupdated.js";
|
|
34
|
+
import {
|
|
35
|
+
WebhookDataAuthorizationExpiring,
|
|
36
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
37
|
+
WebhookDataAuthorizationExpiring$Outbound,
|
|
38
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
39
|
+
} from "./webhookdataauthorizationexpiring.js";
|
|
34
40
|
import {
|
|
35
41
|
WebhookDataBalanceUpdated,
|
|
36
42
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
@@ -239,7 +245,9 @@ export type WebhookData =
|
|
|
239
245
|
| WebhookDataTransferUpdated
|
|
240
246
|
| WebhookDataBankAccountUpdated
|
|
241
247
|
| WebhookDataRefundUpdated
|
|
248
|
+
| WebhookDataSweepUpdated
|
|
242
249
|
| WebhookDataWalletTransactionUpdated
|
|
250
|
+
| WebhookDataAuthorizationExpiring
|
|
243
251
|
| WebhookDataBankAccountCreated
|
|
244
252
|
| WebhookDataBankAccountDeleted
|
|
245
253
|
| WebhookDataCancellationCreated
|
|
@@ -250,7 +258,7 @@ export type WebhookData =
|
|
|
250
258
|
| WebhookDataPaymentMethodEnabled
|
|
251
259
|
| WebhookDataPaymentMethodDisabled
|
|
252
260
|
| WebhookDataRefundCreated
|
|
253
|
-
|
|
|
261
|
+
| WebhookDataSweepCreated
|
|
254
262
|
| WebhookDataTicketUpdated
|
|
255
263
|
| WebhookDataTransferCreated
|
|
256
264
|
| WebhookDataWalletUpdated
|
|
@@ -260,7 +268,6 @@ export type WebhookData =
|
|
|
260
268
|
| WebhookDataRepresentativeCreated
|
|
261
269
|
| WebhookDataRepresentativeUpdated
|
|
262
270
|
| WebhookDataRepresentativeDisabled
|
|
263
|
-
| WebhookDataSweepCreated
|
|
264
271
|
| WebhookDataTerminalApplicationCreated
|
|
265
272
|
| WebhookDataTerminalApplicationUpdated
|
|
266
273
|
| WebhookDataTicketCreated
|
|
@@ -283,7 +290,9 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
283
290
|
WebhookDataTransferUpdated$inboundSchema,
|
|
284
291
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
285
292
|
WebhookDataRefundUpdated$inboundSchema,
|
|
293
|
+
WebhookDataSweepUpdated$inboundSchema,
|
|
286
294
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
295
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
287
296
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
288
297
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
289
298
|
WebhookDataCancellationCreated$inboundSchema,
|
|
@@ -294,7 +303,7 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
294
303
|
WebhookDataPaymentMethodEnabled$inboundSchema,
|
|
295
304
|
WebhookDataPaymentMethodDisabled$inboundSchema,
|
|
296
305
|
WebhookDataRefundCreated$inboundSchema,
|
|
297
|
-
|
|
306
|
+
WebhookDataSweepCreated$inboundSchema,
|
|
298
307
|
WebhookDataTicketUpdated$inboundSchema,
|
|
299
308
|
WebhookDataTransferCreated$inboundSchema,
|
|
300
309
|
WebhookDataWalletUpdated$inboundSchema,
|
|
@@ -304,7 +313,6 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
304
313
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
305
314
|
WebhookDataRepresentativeUpdated$inboundSchema,
|
|
306
315
|
WebhookDataRepresentativeDisabled$inboundSchema,
|
|
307
|
-
WebhookDataSweepCreated$inboundSchema,
|
|
308
316
|
WebhookDataTerminalApplicationCreated$inboundSchema,
|
|
309
317
|
WebhookDataTerminalApplicationUpdated$inboundSchema,
|
|
310
318
|
WebhookDataTicketCreated$inboundSchema,
|
|
@@ -323,7 +331,9 @@ export type WebhookData$Outbound =
|
|
|
323
331
|
| WebhookDataTransferUpdated$Outbound
|
|
324
332
|
| WebhookDataBankAccountUpdated$Outbound
|
|
325
333
|
| WebhookDataRefundUpdated$Outbound
|
|
334
|
+
| WebhookDataSweepUpdated$Outbound
|
|
326
335
|
| WebhookDataWalletTransactionUpdated$Outbound
|
|
336
|
+
| WebhookDataAuthorizationExpiring$Outbound
|
|
327
337
|
| WebhookDataBankAccountCreated$Outbound
|
|
328
338
|
| WebhookDataBankAccountDeleted$Outbound
|
|
329
339
|
| WebhookDataCancellationCreated$Outbound
|
|
@@ -334,7 +344,7 @@ export type WebhookData$Outbound =
|
|
|
334
344
|
| WebhookDataPaymentMethodEnabled$Outbound
|
|
335
345
|
| WebhookDataPaymentMethodDisabled$Outbound
|
|
336
346
|
| WebhookDataRefundCreated$Outbound
|
|
337
|
-
|
|
|
347
|
+
| WebhookDataSweepCreated$Outbound
|
|
338
348
|
| WebhookDataTicketUpdated$Outbound
|
|
339
349
|
| WebhookDataTransferCreated$Outbound
|
|
340
350
|
| WebhookDataWalletUpdated$Outbound
|
|
@@ -344,7 +354,6 @@ export type WebhookData$Outbound =
|
|
|
344
354
|
| WebhookDataRepresentativeCreated$Outbound
|
|
345
355
|
| WebhookDataRepresentativeUpdated$Outbound
|
|
346
356
|
| WebhookDataRepresentativeDisabled$Outbound
|
|
347
|
-
| WebhookDataSweepCreated$Outbound
|
|
348
357
|
| WebhookDataTerminalApplicationCreated$Outbound
|
|
349
358
|
| WebhookDataTerminalApplicationUpdated$Outbound
|
|
350
359
|
| WebhookDataTicketCreated$Outbound
|
|
@@ -367,7 +376,9 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
367
376
|
WebhookDataTransferUpdated$outboundSchema,
|
|
368
377
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
369
378
|
WebhookDataRefundUpdated$outboundSchema,
|
|
379
|
+
WebhookDataSweepUpdated$outboundSchema,
|
|
370
380
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
381
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
371
382
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
372
383
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
373
384
|
WebhookDataCancellationCreated$outboundSchema,
|
|
@@ -378,7 +389,7 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
378
389
|
WebhookDataPaymentMethodEnabled$outboundSchema,
|
|
379
390
|
WebhookDataPaymentMethodDisabled$outboundSchema,
|
|
380
391
|
WebhookDataRefundCreated$outboundSchema,
|
|
381
|
-
|
|
392
|
+
WebhookDataSweepCreated$outboundSchema,
|
|
382
393
|
WebhookDataTicketUpdated$outboundSchema,
|
|
383
394
|
WebhookDataTransferCreated$outboundSchema,
|
|
384
395
|
WebhookDataWalletUpdated$outboundSchema,
|
|
@@ -388,7 +399,6 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
388
399
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
389
400
|
WebhookDataRepresentativeUpdated$outboundSchema,
|
|
390
401
|
WebhookDataRepresentativeDisabled$outboundSchema,
|
|
391
|
-
WebhookDataSweepCreated$outboundSchema,
|
|
392
402
|
WebhookDataTerminalApplicationCreated$outboundSchema,
|
|
393
403
|
WebhookDataTerminalApplicationUpdated$outboundSchema,
|
|
394
404
|
WebhookDataTicketCreated$outboundSchema,
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type WebhookDataAuthorizationExpiring = {
|
|
12
|
+
merchantAccountID: string;
|
|
13
|
+
partnerAccountID: string;
|
|
14
|
+
authorizationID: string;
|
|
15
|
+
expiresOn: Date;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const WebhookDataAuthorizationExpiring$inboundSchema: z.ZodType<
|
|
20
|
+
WebhookDataAuthorizationExpiring,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
merchantAccountID: types.string(),
|
|
25
|
+
partnerAccountID: types.string(),
|
|
26
|
+
authorizationID: types.string(),
|
|
27
|
+
expiresOn: types.date(),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type WebhookDataAuthorizationExpiring$Outbound = {
|
|
31
|
+
merchantAccountID: string;
|
|
32
|
+
partnerAccountID: string;
|
|
33
|
+
authorizationID: string;
|
|
34
|
+
expiresOn: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const WebhookDataAuthorizationExpiring$outboundSchema: z.ZodType<
|
|
39
|
+
WebhookDataAuthorizationExpiring$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
WebhookDataAuthorizationExpiring
|
|
42
|
+
> = z.object({
|
|
43
|
+
merchantAccountID: z.string(),
|
|
44
|
+
partnerAccountID: z.string(),
|
|
45
|
+
authorizationID: z.string(),
|
|
46
|
+
expiresOn: z.date().transform(v => v.toISOString()),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function webhookDataAuthorizationExpiringToJSON(
|
|
50
|
+
webhookDataAuthorizationExpiring: WebhookDataAuthorizationExpiring,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
WebhookDataAuthorizationExpiring$outboundSchema.parse(
|
|
54
|
+
webhookDataAuthorizationExpiring,
|
|
55
|
+
),
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export function webhookDataAuthorizationExpiringFromJSON(
|
|
59
|
+
jsonString: string,
|
|
60
|
+
): SafeParseResult<WebhookDataAuthorizationExpiring, SDKValidationError> {
|
|
61
|
+
return safeParse(
|
|
62
|
+
jsonString,
|
|
63
|
+
(x) => WebhookDataAuthorizationExpiring$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
+
`Failed to parse 'WebhookDataAuthorizationExpiring' from JSON`,
|
|
65
|
+
);
|
|
66
|
+
}
|
|
@@ -21,7 +21,13 @@ export type WebhookDataCapabilityRequested = {
|
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* **Deprecated capabilities**
|
|
25
|
+
*
|
|
26
|
+
* The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
27
|
+
*
|
|
28
|
+
* Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
29
|
+
*
|
|
30
|
+
* The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
25
31
|
*/
|
|
26
32
|
capabilityID: CapabilityID;
|
|
27
33
|
};
|
|
@@ -26,7 +26,13 @@ export type WebhookDataCapabilityUpdated = {
|
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
28
|
*
|
|
29
|
-
*
|
|
29
|
+
* **Deprecated capabilities**
|
|
30
|
+
*
|
|
31
|
+
* The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
32
|
+
*
|
|
33
|
+
* Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
34
|
+
*
|
|
35
|
+
* The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
30
36
|
*/
|
|
31
37
|
capabilityID: CapabilityID;
|
|
32
38
|
/**
|
|
@@ -9,6 +9,10 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type WebhookDataSweepCreated = {
|
|
12
|
+
/**
|
|
13
|
+
* The accountID associated with the wallet being swept.
|
|
14
|
+
*/
|
|
15
|
+
accountID: string;
|
|
12
16
|
walletID: string;
|
|
13
17
|
sweepID: string;
|
|
14
18
|
};
|
|
@@ -19,11 +23,13 @@ export const WebhookDataSweepCreated$inboundSchema: z.ZodType<
|
|
|
19
23
|
z.ZodTypeDef,
|
|
20
24
|
unknown
|
|
21
25
|
> = z.object({
|
|
26
|
+
accountID: types.string(),
|
|
22
27
|
walletID: types.string(),
|
|
23
28
|
sweepID: types.string(),
|
|
24
29
|
});
|
|
25
30
|
/** @internal */
|
|
26
31
|
export type WebhookDataSweepCreated$Outbound = {
|
|
32
|
+
accountID: string;
|
|
27
33
|
walletID: string;
|
|
28
34
|
sweepID: string;
|
|
29
35
|
};
|
|
@@ -34,6 +40,7 @@ export const WebhookDataSweepCreated$outboundSchema: z.ZodType<
|
|
|
34
40
|
z.ZodTypeDef,
|
|
35
41
|
WebhookDataSweepCreated
|
|
36
42
|
> = z.object({
|
|
43
|
+
accountID: z.string(),
|
|
37
44
|
walletID: z.string(),
|
|
38
45
|
sweepID: z.string(),
|
|
39
46
|
});
|
|
@@ -14,6 +14,10 @@ import {
|
|
|
14
14
|
} from "./sweepstatus.js";
|
|
15
15
|
|
|
16
16
|
export type WebhookDataSweepUpdated = {
|
|
17
|
+
/**
|
|
18
|
+
* The accountID associated with the wallet being swept.
|
|
19
|
+
*/
|
|
20
|
+
accountID: string;
|
|
17
21
|
walletID: string;
|
|
18
22
|
sweepID: string;
|
|
19
23
|
transferID?: string | undefined;
|
|
@@ -26,6 +30,7 @@ export const WebhookDataSweepUpdated$inboundSchema: z.ZodType<
|
|
|
26
30
|
z.ZodTypeDef,
|
|
27
31
|
unknown
|
|
28
32
|
> = z.object({
|
|
33
|
+
accountID: types.string(),
|
|
29
34
|
walletID: types.string(),
|
|
30
35
|
sweepID: types.string(),
|
|
31
36
|
transferID: types.optional(types.string()),
|
|
@@ -33,6 +38,7 @@ export const WebhookDataSweepUpdated$inboundSchema: z.ZodType<
|
|
|
33
38
|
});
|
|
34
39
|
/** @internal */
|
|
35
40
|
export type WebhookDataSweepUpdated$Outbound = {
|
|
41
|
+
accountID: string;
|
|
36
42
|
walletID: string;
|
|
37
43
|
sweepID: string;
|
|
38
44
|
transferID?: string | undefined;
|
|
@@ -45,6 +51,7 @@ export const WebhookDataSweepUpdated$outboundSchema: z.ZodType<
|
|
|
45
51
|
z.ZodTypeDef,
|
|
46
52
|
WebhookDataSweepUpdated
|
|
47
53
|
> = z.object({
|
|
54
|
+
accountID: z.string(),
|
|
48
55
|
walletID: z.string(),
|
|
49
56
|
sweepID: z.string(),
|
|
50
57
|
transferID: z.string().optional(),
|
|
@@ -48,6 +48,7 @@ export const WebhookEventType = {
|
|
|
48
48
|
WalletUpdated: "wallet.updated",
|
|
49
49
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
50
50
|
BillingStatementCreated: "billingStatement.created",
|
|
51
|
+
AuthorizationExpiring: "authorization.expiring",
|
|
51
52
|
} as const;
|
|
52
53
|
/**
|
|
53
54
|
* The type of event that occurred.
|
|
@@ -16,6 +16,7 @@ export type CreatePaymentLinkErrorData = {
|
|
|
16
16
|
display?: components.DisplayOptionsError | undefined;
|
|
17
17
|
payment?: components.PaymentDetailsError | undefined;
|
|
18
18
|
payout?: components.PayoutDetailsError | undefined;
|
|
19
|
+
customAmountPayment?: components.CustomAmountPaymentDetailsError | undefined;
|
|
19
20
|
lineItems?: components.CreatePaymentLinkLineItemsValidationError | undefined;
|
|
20
21
|
amountDetails?:
|
|
21
22
|
| components.CreatePaymentLinkAmountDetailsValidationError
|
|
@@ -31,6 +32,7 @@ export class CreatePaymentLinkError extends MoovError {
|
|
|
31
32
|
display?: components.DisplayOptionsError | undefined;
|
|
32
33
|
payment?: components.PaymentDetailsError | undefined;
|
|
33
34
|
payout?: components.PayoutDetailsError | undefined;
|
|
35
|
+
customAmountPayment?: components.CustomAmountPaymentDetailsError | undefined;
|
|
34
36
|
lineItems?: components.CreatePaymentLinkLineItemsValidationError | undefined;
|
|
35
37
|
amountDetails?:
|
|
36
38
|
| components.CreatePaymentLinkAmountDetailsValidationError
|
|
@@ -60,6 +62,9 @@ export class CreatePaymentLinkError extends MoovError {
|
|
|
60
62
|
if (err.display != null) this.display = err.display;
|
|
61
63
|
if (err.payment != null) this.payment = err.payment;
|
|
62
64
|
if (err.payout != null) this.payout = err.payout;
|
|
65
|
+
if (err.customAmountPayment != null) {
|
|
66
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
67
|
+
}
|
|
63
68
|
if (err.lineItems != null) this.lineItems = err.lineItems;
|
|
64
69
|
if (err.amountDetails != null) this.amountDetails = err.amountDetails;
|
|
65
70
|
|
|
@@ -81,6 +86,9 @@ export const CreatePaymentLinkError$inboundSchema: z.ZodType<
|
|
|
81
86
|
display: types.optional(components.DisplayOptionsError$inboundSchema),
|
|
82
87
|
payment: types.optional(components.PaymentDetailsError$inboundSchema),
|
|
83
88
|
payout: types.optional(components.PayoutDetailsError$inboundSchema),
|
|
89
|
+
customAmountPayment: types.optional(
|
|
90
|
+
components.CustomAmountPaymentDetailsError$inboundSchema,
|
|
91
|
+
),
|
|
84
92
|
lineItems: types.optional(
|
|
85
93
|
components.CreatePaymentLinkLineItemsValidationError$inboundSchema,
|
|
86
94
|
),
|
|
@@ -109,6 +117,9 @@ export type CreatePaymentLinkError$Outbound = {
|
|
|
109
117
|
display?: components.DisplayOptionsError$Outbound | undefined;
|
|
110
118
|
payment?: components.PaymentDetailsError$Outbound | undefined;
|
|
111
119
|
payout?: components.PayoutDetailsError$Outbound | undefined;
|
|
120
|
+
customAmountPayment?:
|
|
121
|
+
| components.CustomAmountPaymentDetailsError$Outbound
|
|
122
|
+
| undefined;
|
|
112
123
|
lineItems?:
|
|
113
124
|
| components.CreatePaymentLinkLineItemsValidationError$Outbound
|
|
114
125
|
| undefined;
|
|
@@ -133,6 +144,8 @@ export const CreatePaymentLinkError$outboundSchema: z.ZodType<
|
|
|
133
144
|
display: components.DisplayOptionsError$outboundSchema.optional(),
|
|
134
145
|
payment: components.PaymentDetailsError$outboundSchema.optional(),
|
|
135
146
|
payout: components.PayoutDetailsError$outboundSchema.optional(),
|
|
147
|
+
customAmountPayment: components
|
|
148
|
+
.CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
136
149
|
lineItems: components
|
|
137
150
|
.CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
138
151
|
amountDetails: components
|
|
@@ -8,19 +8,19 @@ import * as components from "../components/index.js";
|
|
|
8
8
|
import { MoovError } from "./mooverror.js";
|
|
9
9
|
|
|
10
10
|
export type RequestCardErrorData = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
authorizedUserAccountID?: string | undefined;
|
|
12
|
+
nickname?: string | undefined;
|
|
13
|
+
metadata?: string | undefined;
|
|
14
|
+
billingAddress?: components.AddressError | undefined;
|
|
15
15
|
expiration?: components.CardExpirationError | undefined;
|
|
16
16
|
controls?: components.IssuingControlsError | undefined;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export class RequestCardError extends MoovError {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
authorizedUserAccountID?: string | undefined;
|
|
21
|
+
nickname?: string | undefined;
|
|
22
|
+
metadata?: string | undefined;
|
|
23
|
+
billingAddress?: components.AddressError | undefined;
|
|
24
24
|
expiration?: components.CardExpirationError | undefined;
|
|
25
25
|
controls?: components.IssuingControlsError | undefined;
|
|
26
26
|
|
|
@@ -36,10 +36,12 @@ export class RequestCardError extends MoovError {
|
|
|
36
36
|
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
37
|
super(message, httpMeta);
|
|
38
38
|
this.data$ = err;
|
|
39
|
-
if (err.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (err.
|
|
39
|
+
if (err.authorizedUserAccountID != null) {
|
|
40
|
+
this.authorizedUserAccountID = err.authorizedUserAccountID;
|
|
41
|
+
}
|
|
42
|
+
if (err.nickname != null) this.nickname = err.nickname;
|
|
43
|
+
if (err.metadata != null) this.metadata = err.metadata;
|
|
44
|
+
if (err.billingAddress != null) this.billingAddress = err.billingAddress;
|
|
43
45
|
if (err.expiration != null) this.expiration = err.expiration;
|
|
44
46
|
if (err.controls != null) this.controls = err.controls;
|
|
45
47
|
|
|
@@ -53,12 +55,10 @@ export const RequestCardError$inboundSchema: z.ZodType<
|
|
|
53
55
|
z.ZodTypeDef,
|
|
54
56
|
unknown
|
|
55
57
|
> = z.object({
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
),
|
|
61
|
-
memo: types.optional(types.string()),
|
|
58
|
+
authorizedUserAccountID: types.optional(types.string()),
|
|
59
|
+
nickname: types.optional(types.string()),
|
|
60
|
+
metadata: types.optional(types.string()),
|
|
61
|
+
billingAddress: types.optional(components.AddressError$inboundSchema),
|
|
62
62
|
expiration: types.optional(components.CardExpirationError$inboundSchema),
|
|
63
63
|
controls: types.optional(components.IssuingControlsError$inboundSchema),
|
|
64
64
|
request$: z.instanceof(Request),
|
|
@@ -75,10 +75,10 @@ export const RequestCardError$inboundSchema: z.ZodType<
|
|
|
75
75
|
|
|
76
76
|
/** @internal */
|
|
77
77
|
export type RequestCardError$Outbound = {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
authorizedUserAccountID?: string | undefined;
|
|
79
|
+
nickname?: string | undefined;
|
|
80
|
+
metadata?: string | undefined;
|
|
81
|
+
billingAddress?: components.AddressError$Outbound | undefined;
|
|
82
82
|
expiration?: components.CardExpirationError$Outbound | undefined;
|
|
83
83
|
controls?: components.IssuingControlsError$Outbound | undefined;
|
|
84
84
|
};
|
|
@@ -91,11 +91,10 @@ export const RequestCardError$outboundSchema: z.ZodType<
|
|
|
91
91
|
> = z.instanceof(RequestCardError)
|
|
92
92
|
.transform(v => v.data$)
|
|
93
93
|
.pipe(z.object({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
memo: z.string().optional(),
|
|
94
|
+
authorizedUserAccountID: z.string().optional(),
|
|
95
|
+
nickname: z.string().optional(),
|
|
96
|
+
metadata: z.string().optional(),
|
|
97
|
+
billingAddress: components.AddressError$outboundSchema.optional(),
|
|
99
98
|
expiration: components.CardExpirationError$outboundSchema.optional(),
|
|
100
99
|
controls: components.IssuingControlsError$outboundSchema.optional(),
|
|
101
100
|
}));
|
|
@@ -9,14 +9,16 @@ import { MoovError } from "./mooverror.js";
|
|
|
9
9
|
|
|
10
10
|
export type UpdateIssuedCardErrorData = {
|
|
11
11
|
state?: string | undefined;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
nickname?: string | undefined;
|
|
13
|
+
metadata?: string | undefined;
|
|
14
|
+
billingAddress?: components.AddressError | undefined;
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
export class UpdateIssuedCardError extends MoovError {
|
|
17
18
|
state?: string | undefined;
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
nickname?: string | undefined;
|
|
20
|
+
metadata?: string | undefined;
|
|
21
|
+
billingAddress?: components.AddressError | undefined;
|
|
20
22
|
|
|
21
23
|
/** The original data that was passed to this error instance. */
|
|
22
24
|
data$: UpdateIssuedCardErrorData;
|
|
@@ -31,8 +33,9 @@ export class UpdateIssuedCardError extends MoovError {
|
|
|
31
33
|
super(message, httpMeta);
|
|
32
34
|
this.data$ = err;
|
|
33
35
|
if (err.state != null) this.state = err.state;
|
|
34
|
-
if (err.
|
|
35
|
-
if (err.
|
|
36
|
+
if (err.nickname != null) this.nickname = err.nickname;
|
|
37
|
+
if (err.metadata != null) this.metadata = err.metadata;
|
|
38
|
+
if (err.billingAddress != null) this.billingAddress = err.billingAddress;
|
|
36
39
|
|
|
37
40
|
this.name = "UpdateIssuedCardError";
|
|
38
41
|
}
|
|
@@ -45,10 +48,9 @@ export const UpdateIssuedCardError$inboundSchema: z.ZodType<
|
|
|
45
48
|
unknown
|
|
46
49
|
> = z.object({
|
|
47
50
|
state: types.optional(types.string()),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
),
|
|
51
|
+
nickname: types.optional(types.string()),
|
|
52
|
+
metadata: types.optional(types.string()),
|
|
53
|
+
billingAddress: types.optional(components.AddressError$inboundSchema),
|
|
52
54
|
request$: z.instanceof(Request),
|
|
53
55
|
response$: z.instanceof(Response),
|
|
54
56
|
body$: z.string(),
|
|
@@ -64,8 +66,9 @@ export const UpdateIssuedCardError$inboundSchema: z.ZodType<
|
|
|
64
66
|
/** @internal */
|
|
65
67
|
export type UpdateIssuedCardError$Outbound = {
|
|
66
68
|
state?: string | undefined;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
nickname?: string | undefined;
|
|
70
|
+
metadata?: string | undefined;
|
|
71
|
+
billingAddress?: components.AddressError$Outbound | undefined;
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
/** @internal */
|
|
@@ -77,7 +80,7 @@ export const UpdateIssuedCardError$outboundSchema: z.ZodType<
|
|
|
77
80
|
.transform(v => v.data$)
|
|
78
81
|
.pipe(z.object({
|
|
79
82
|
state: z.string().optional(),
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
nickname: z.string().optional(),
|
|
84
|
+
metadata: z.string().optional(),
|
|
85
|
+
billingAddress: components.AddressError$outboundSchema.optional(),
|
|
83
86
|
}));
|
|
@@ -13,6 +13,7 @@ export type UpdatePaymentLinkErrorData = {
|
|
|
13
13
|
display?: components.DisplayOptionsError | undefined;
|
|
14
14
|
payment?: components.PaymentDetailsError | undefined;
|
|
15
15
|
payout?: components.PayoutDetailsError | undefined;
|
|
16
|
+
customAmountPayment?: components.CustomAmountPaymentDetailsError | undefined;
|
|
16
17
|
lineItems?: components.CreatePaymentLinkLineItemsValidationError | undefined;
|
|
17
18
|
amountDetails?:
|
|
18
19
|
| components.UpdatePaymentLinkAmountDetailsValidationError
|
|
@@ -25,6 +26,7 @@ export class UpdatePaymentLinkError extends MoovError {
|
|
|
25
26
|
display?: components.DisplayOptionsError | undefined;
|
|
26
27
|
payment?: components.PaymentDetailsError | undefined;
|
|
27
28
|
payout?: components.PayoutDetailsError | undefined;
|
|
29
|
+
customAmountPayment?: components.CustomAmountPaymentDetailsError | undefined;
|
|
28
30
|
lineItems?: components.CreatePaymentLinkLineItemsValidationError | undefined;
|
|
29
31
|
amountDetails?:
|
|
30
32
|
| components.UpdatePaymentLinkAmountDetailsValidationError
|
|
@@ -47,6 +49,9 @@ export class UpdatePaymentLinkError extends MoovError {
|
|
|
47
49
|
if (err.display != null) this.display = err.display;
|
|
48
50
|
if (err.payment != null) this.payment = err.payment;
|
|
49
51
|
if (err.payout != null) this.payout = err.payout;
|
|
52
|
+
if (err.customAmountPayment != null) {
|
|
53
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
54
|
+
}
|
|
50
55
|
if (err.lineItems != null) this.lineItems = err.lineItems;
|
|
51
56
|
if (err.amountDetails != null) this.amountDetails = err.amountDetails;
|
|
52
57
|
|
|
@@ -65,6 +70,9 @@ export const UpdatePaymentLinkError$inboundSchema: z.ZodType<
|
|
|
65
70
|
display: types.optional(components.DisplayOptionsError$inboundSchema),
|
|
66
71
|
payment: types.optional(components.PaymentDetailsError$inboundSchema),
|
|
67
72
|
payout: types.optional(components.PayoutDetailsError$inboundSchema),
|
|
73
|
+
customAmountPayment: types.optional(
|
|
74
|
+
components.CustomAmountPaymentDetailsError$inboundSchema,
|
|
75
|
+
),
|
|
68
76
|
lineItems: types.optional(
|
|
69
77
|
components.CreatePaymentLinkLineItemsValidationError$inboundSchema,
|
|
70
78
|
),
|
|
@@ -90,6 +98,9 @@ export type UpdatePaymentLinkError$Outbound = {
|
|
|
90
98
|
display?: components.DisplayOptionsError$Outbound | undefined;
|
|
91
99
|
payment?: components.PaymentDetailsError$Outbound | undefined;
|
|
92
100
|
payout?: components.PayoutDetailsError$Outbound | undefined;
|
|
101
|
+
customAmountPayment?:
|
|
102
|
+
| components.CustomAmountPaymentDetailsError$Outbound
|
|
103
|
+
| undefined;
|
|
93
104
|
lineItems?:
|
|
94
105
|
| components.CreatePaymentLinkLineItemsValidationError$Outbound
|
|
95
106
|
| undefined;
|
|
@@ -111,6 +122,8 @@ export const UpdatePaymentLinkError$outboundSchema: z.ZodType<
|
|
|
111
122
|
display: components.DisplayOptionsError$outboundSchema.optional(),
|
|
112
123
|
payment: components.PaymentDetailsError$outboundSchema.optional(),
|
|
113
124
|
payout: components.PayoutDetailsError$outboundSchema.optional(),
|
|
125
|
+
customAmountPayment: components
|
|
126
|
+
.CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
114
127
|
lineItems: components
|
|
115
128
|
.CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
116
129
|
amountDetails: components
|
|
@@ -17,7 +17,13 @@ export type DisableCapabilityRequest = {
|
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* **Deprecated capabilities**
|
|
21
|
+
*
|
|
22
|
+
* The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
23
|
+
*
|
|
24
|
+
* Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
25
|
+
*
|
|
26
|
+
* The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
21
27
|
*/
|
|
22
28
|
capabilityID: components.CapabilityID;
|
|
23
29
|
};
|
|
@@ -17,7 +17,13 @@ export type GetCapabilityRequest = {
|
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* **Deprecated capabilities**
|
|
21
|
+
*
|
|
22
|
+
* The `send-funds`, `collect-funds`, and `wallet` capability IDs are deprecated. Request granular capabilities instead (for example, `send-funds.ach`, `collect-funds.card-payments`, or `wallet.balance`). Deprecated values will be removed in a future API version.
|
|
23
|
+
*
|
|
24
|
+
* Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to choose the right capabilities for your integration.
|
|
25
|
+
*
|
|
26
|
+
* The `production-app`, `platform.production-app`, and / or `platform.wallet-transfers` capabilities might appear in the list for your Partner account. These are read-only capabilities that Moov requests. These capabilities remain active with your account and require no additional action.
|
|
21
27
|
*/
|
|
22
28
|
capabilityID: components.CapabilityID;
|
|
23
29
|
};
|
|
@@ -112,6 +112,7 @@ export * from "./listaccounts.js";
|
|
|
112
112
|
export * from "./listaccountterminalapplications.js";
|
|
113
113
|
export * from "./listadjustments.js";
|
|
114
114
|
export * from "./listbankaccounts.js";
|
|
115
|
+
export * from "./listcancellations.js";
|
|
115
116
|
export * from "./listcapabilities.js";
|
|
116
117
|
export * from "./listcards.js";
|
|
117
118
|
export * from "./listconnectedaccountsforaccount.js";
|