@moovio/sdk 25.12.0 → 25.12.1
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 +82 -78
- package/bin/mcp-server.js +554 -319
- package/bin/mcp-server.js.map +55 -56
- 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 -22
- 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/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/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 +3 -3
- 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 +1 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -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 +2 -2
- 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/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/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/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 +90 -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/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +14 -2
- package/src/models/components/createaccount.ts +9 -0
- package/src/models/components/createpaymentlink.ts +3 -3
- package/src/models/components/fullissuedcard.ts +35 -17
- package/src/models/components/index.ts +1 -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 +2 -2
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/updateissuedcard.ts +73 -17
- package/src/models/components/webhookdata.ts +18 -8
- package/src/models/components/webhookdataauthorizationexpiring.ts +65 -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/requestcarderror.ts +26 -25
- package/src/models/errors/updateissuedcarderror.ts +18 -13
- 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 +120 -0
- package/src/sdk/accounts.ts +8 -10
- package/src/sdk/capabilities.ts +4 -4
- package/src/sdk/transfers.ts +18 -0
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- 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 -63
- 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 -63
- 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 -54
- package/src/models/components/createauthorizeduser.ts +0 -68
- package/src/models/components/createauthorizedusererror.ts +0 -65
- package/src/models/components/createauthorizeduserupdate.ts +0 -68
|
@@ -7,11 +7,11 @@ 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
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
Address,
|
|
11
|
+
Address$inboundSchema,
|
|
12
|
+
Address$Outbound,
|
|
13
|
+
Address$outboundSchema,
|
|
14
|
+
} from "./address.js";
|
|
15
15
|
import {
|
|
16
16
|
CardBrand,
|
|
17
17
|
CardBrand$inboundSchema,
|
|
@@ -55,17 +55,25 @@ export type FullIssuedCard = {
|
|
|
55
55
|
*/
|
|
56
56
|
expiration: CardExpiration;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Unique identifier for the wallet funding the card.
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
fundingWalletID: string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Identifier for the account of the card's authorized user.
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
authorizedUserAccountID?: string | undefined;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* An optional descriptive name for the card.
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
nickname?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
71
|
+
*/
|
|
72
|
+
metadata?: { [k: string]: string } | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Billing address associated with the card.
|
|
75
|
+
*/
|
|
76
|
+
billingAddress?: Address | undefined;
|
|
69
77
|
/**
|
|
70
78
|
* The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
|
|
71
79
|
*
|
|
@@ -83,6 +91,7 @@ export type FullIssuedCard = {
|
|
|
83
91
|
formFactor: IssuedCardFormFactor;
|
|
84
92
|
controls?: IssuingControls | undefined;
|
|
85
93
|
createdOn: Date;
|
|
94
|
+
updatedOn: Date;
|
|
86
95
|
/**
|
|
87
96
|
* The issued card's Primary Account Number (PAN)
|
|
88
97
|
*/
|
|
@@ -103,13 +112,16 @@ export const FullIssuedCard$inboundSchema: z.ZodType<
|
|
|
103
112
|
brand: CardBrand$inboundSchema,
|
|
104
113
|
lastFourCardNumber: z.string(),
|
|
105
114
|
expiration: CardExpiration$inboundSchema,
|
|
106
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
107
|
-
memo: z.string().optional(),
|
|
108
115
|
fundingWalletID: z.string(),
|
|
116
|
+
authorizedUserAccountID: z.string().optional(),
|
|
117
|
+
nickname: z.string().optional(),
|
|
118
|
+
metadata: z.record(z.string()).optional(),
|
|
119
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
109
120
|
state: IssuedCardState$inboundSchema,
|
|
110
121
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
111
122
|
controls: IssuingControls$inboundSchema.optional(),
|
|
112
123
|
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
124
|
+
updatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
113
125
|
pan: z.string(),
|
|
114
126
|
cvv: z.string(),
|
|
115
127
|
});
|
|
@@ -119,13 +131,16 @@ export type FullIssuedCard$Outbound = {
|
|
|
119
131
|
brand: string;
|
|
120
132
|
lastFourCardNumber: string;
|
|
121
133
|
expiration: CardExpiration$Outbound;
|
|
122
|
-
authorizedUser: AuthorizedUser$Outbound;
|
|
123
|
-
memo?: string | undefined;
|
|
124
134
|
fundingWalletID: string;
|
|
135
|
+
authorizedUserAccountID?: string | undefined;
|
|
136
|
+
nickname?: string | undefined;
|
|
137
|
+
metadata?: { [k: string]: string } | undefined;
|
|
138
|
+
billingAddress?: Address$Outbound | undefined;
|
|
125
139
|
state: string;
|
|
126
140
|
formFactor: string;
|
|
127
141
|
controls?: IssuingControls$Outbound | undefined;
|
|
128
142
|
createdOn: string;
|
|
143
|
+
updatedOn: string;
|
|
129
144
|
pan: string;
|
|
130
145
|
cvv: string;
|
|
131
146
|
};
|
|
@@ -140,13 +155,16 @@ export const FullIssuedCard$outboundSchema: z.ZodType<
|
|
|
140
155
|
brand: CardBrand$outboundSchema,
|
|
141
156
|
lastFourCardNumber: z.string(),
|
|
142
157
|
expiration: CardExpiration$outboundSchema,
|
|
143
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
144
|
-
memo: z.string().optional(),
|
|
145
158
|
fundingWalletID: z.string(),
|
|
159
|
+
authorizedUserAccountID: z.string().optional(),
|
|
160
|
+
nickname: z.string().optional(),
|
|
161
|
+
metadata: z.record(z.string()).optional(),
|
|
162
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
146
163
|
state: IssuedCardState$outboundSchema,
|
|
147
164
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
148
165
|
controls: IssuingControls$outboundSchema.optional(),
|
|
149
166
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
167
|
+
updatedOn: z.date().transform(v => v.toISOString()),
|
|
150
168
|
pan: z.string(),
|
|
151
169
|
cvv: z.string(),
|
|
152
170
|
});
|
|
@@ -51,7 +51,6 @@ export * from "./assignproductimage.js";
|
|
|
51
51
|
export * from "./assignproductimagevalidationerror.js";
|
|
52
52
|
export * from "./asynccreatedrefund.js";
|
|
53
53
|
export * from "./asynctransfer.js";
|
|
54
|
-
export * from "./authorizeduser.js";
|
|
55
54
|
export * from "./authtoken.js";
|
|
56
55
|
export * from "./authtokenrequest.js";
|
|
57
56
|
export * from "./bankaccount.js";
|
|
@@ -139,9 +138,6 @@ export * from "./createaccount.js";
|
|
|
139
138
|
export * from "./createaccountsettings.js";
|
|
140
139
|
export * from "./createaccounttype.js";
|
|
141
140
|
export * from "./createapplepaysession.js";
|
|
142
|
-
export * from "./createauthorizeduser.js";
|
|
143
|
-
export * from "./createauthorizedusererror.js";
|
|
144
|
-
export * from "./createauthorizeduserupdate.js";
|
|
145
141
|
export * from "./createbusinesserror.js";
|
|
146
142
|
export * from "./createbusinessprofile.js";
|
|
147
143
|
export * from "./createdtransfer.js";
|
|
@@ -517,6 +513,7 @@ export * from "./webhookdata.js";
|
|
|
517
513
|
export * from "./webhookdataaccountcreated.js";
|
|
518
514
|
export * from "./webhookdataaccountdisconnected.js";
|
|
519
515
|
export * from "./webhookdataaccountupdated.js";
|
|
516
|
+
export * from "./webhookdataauthorizationexpiring.js";
|
|
520
517
|
export * from "./webhookdatabalanceupdated.js";
|
|
521
518
|
export * from "./webhookdatabankaccountcreated.js";
|
|
522
519
|
export * from "./webhookdatabankaccountdeleted.js";
|
|
@@ -7,11 +7,11 @@ 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
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
Address,
|
|
11
|
+
Address$inboundSchema,
|
|
12
|
+
Address$Outbound,
|
|
13
|
+
Address$outboundSchema,
|
|
14
|
+
} from "./address.js";
|
|
15
15
|
import {
|
|
16
16
|
CardBrand,
|
|
17
17
|
CardBrand$inboundSchema,
|
|
@@ -52,17 +52,25 @@ export type IssuedCard = {
|
|
|
52
52
|
*/
|
|
53
53
|
expiration: CardExpiration;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Unique identifier for the wallet funding the card.
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
fundingWalletID: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Identifier for the account of the card's authorized user.
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
authorizedUserAccountID?: string | undefined;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* An optional descriptive name for the card.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
nickname?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
68
|
+
*/
|
|
69
|
+
metadata?: { [k: string]: string } | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Billing address associated with the card.
|
|
72
|
+
*/
|
|
73
|
+
billingAddress?: Address | undefined;
|
|
66
74
|
/**
|
|
67
75
|
* The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
|
|
68
76
|
*
|
|
@@ -80,6 +88,7 @@ export type IssuedCard = {
|
|
|
80
88
|
formFactor: IssuedCardFormFactor;
|
|
81
89
|
controls?: IssuingControls | undefined;
|
|
82
90
|
createdOn: Date;
|
|
91
|
+
updatedOn: Date;
|
|
83
92
|
};
|
|
84
93
|
|
|
85
94
|
/** @internal */
|
|
@@ -92,13 +101,16 @@ export const IssuedCard$inboundSchema: z.ZodType<
|
|
|
92
101
|
brand: CardBrand$inboundSchema,
|
|
93
102
|
lastFourCardNumber: z.string(),
|
|
94
103
|
expiration: CardExpiration$inboundSchema,
|
|
95
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
96
|
-
memo: z.string().optional(),
|
|
97
104
|
fundingWalletID: z.string(),
|
|
105
|
+
authorizedUserAccountID: z.string().optional(),
|
|
106
|
+
nickname: z.string().optional(),
|
|
107
|
+
metadata: z.record(z.string()).optional(),
|
|
108
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
98
109
|
state: IssuedCardState$inboundSchema,
|
|
99
110
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
100
111
|
controls: IssuingControls$inboundSchema.optional(),
|
|
101
112
|
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
113
|
+
updatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
102
114
|
});
|
|
103
115
|
/** @internal */
|
|
104
116
|
export type IssuedCard$Outbound = {
|
|
@@ -106,13 +118,16 @@ export type IssuedCard$Outbound = {
|
|
|
106
118
|
brand: string;
|
|
107
119
|
lastFourCardNumber: string;
|
|
108
120
|
expiration: CardExpiration$Outbound;
|
|
109
|
-
authorizedUser: AuthorizedUser$Outbound;
|
|
110
|
-
memo?: string | undefined;
|
|
111
121
|
fundingWalletID: string;
|
|
122
|
+
authorizedUserAccountID?: string | undefined;
|
|
123
|
+
nickname?: string | undefined;
|
|
124
|
+
metadata?: { [k: string]: string } | undefined;
|
|
125
|
+
billingAddress?: Address$Outbound | undefined;
|
|
112
126
|
state: string;
|
|
113
127
|
formFactor: string;
|
|
114
128
|
controls?: IssuingControls$Outbound | undefined;
|
|
115
129
|
createdOn: string;
|
|
130
|
+
updatedOn: string;
|
|
116
131
|
};
|
|
117
132
|
|
|
118
133
|
/** @internal */
|
|
@@ -125,13 +140,16 @@ export const IssuedCard$outboundSchema: z.ZodType<
|
|
|
125
140
|
brand: CardBrand$outboundSchema,
|
|
126
141
|
lastFourCardNumber: z.string(),
|
|
127
142
|
expiration: CardExpiration$outboundSchema,
|
|
128
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
129
|
-
memo: z.string().optional(),
|
|
130
143
|
fundingWalletID: z.string(),
|
|
144
|
+
authorizedUserAccountID: z.string().optional(),
|
|
145
|
+
nickname: z.string().optional(),
|
|
146
|
+
metadata: z.record(z.string()).optional(),
|
|
147
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
131
148
|
state: IssuedCardState$outboundSchema,
|
|
132
149
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
133
150
|
controls: IssuingControls$outboundSchema.optional(),
|
|
134
151
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
152
|
+
updatedOn: z.date().transform(v => v.toISOString()),
|
|
135
153
|
});
|
|
136
154
|
|
|
137
155
|
export function issuedCardToJSON(issuedCard: IssuedCard): string {
|
|
@@ -61,7 +61,7 @@ export type OnboardingInvite = {
|
|
|
61
61
|
*/
|
|
62
62
|
grantScopes?: Array<ApplicationScope> | undefined;
|
|
63
63
|
/**
|
|
64
|
-
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
64
|
+
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
|
|
65
65
|
*
|
|
66
66
|
* @remarks
|
|
67
67
|
* account. These values are used to determine what information to collect from the user during onboarding.
|
|
@@ -50,7 +50,7 @@ export type OnboardingInviteRequest = {
|
|
|
50
50
|
*/
|
|
51
51
|
grantScopes?: Array<ApplicationScope> | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
53
|
+
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
|
|
54
54
|
*
|
|
55
55
|
* @remarks
|
|
56
56
|
* account. These values are used to determine what information to collect from the user during onboarding.
|
|
@@ -92,8 +92,8 @@ export type PaymentLink = {
|
|
|
92
92
|
*
|
|
93
93
|
* In API versions before `2026.07.00`, this was a required field.
|
|
94
94
|
*
|
|
95
|
-
* In API version `2026.07.00` and beyond, this field is
|
|
96
|
-
* for `
|
|
95
|
+
* In API version `2026.07.00` and beyond, this field is present for `payment` and `payout` links and omitted
|
|
96
|
+
* for `customAmountPayment` links, where the payor chooses the amount.
|
|
97
97
|
*/
|
|
98
98
|
amount: Amount;
|
|
99
99
|
/**
|
|
@@ -6,23 +6,18 @@ 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
|
+
Address,
|
|
11
|
+
Address$inboundSchema,
|
|
12
|
+
Address$Outbound,
|
|
13
|
+
Address$outboundSchema,
|
|
14
|
+
} from "./address.js";
|
|
9
15
|
import {
|
|
10
16
|
CardExpiration,
|
|
11
17
|
CardExpiration$inboundSchema,
|
|
12
18
|
CardExpiration$Outbound,
|
|
13
19
|
CardExpiration$outboundSchema,
|
|
14
20
|
} from "./cardexpiration.js";
|
|
15
|
-
import {
|
|
16
|
-
CreateAuthorizedUser,
|
|
17
|
-
CreateAuthorizedUser$inboundSchema,
|
|
18
|
-
CreateAuthorizedUser$Outbound,
|
|
19
|
-
CreateAuthorizedUser$outboundSchema,
|
|
20
|
-
} from "./createauthorizeduser.js";
|
|
21
|
-
import {
|
|
22
|
-
IssuedCardFormFactor,
|
|
23
|
-
IssuedCardFormFactor$inboundSchema,
|
|
24
|
-
IssuedCardFormFactor$outboundSchema,
|
|
25
|
-
} from "./issuedcardformfactor.js";
|
|
26
21
|
import {
|
|
27
22
|
IssuingControls,
|
|
28
23
|
IssuingControls$inboundSchema,
|
|
@@ -31,19 +26,13 @@ import {
|
|
|
31
26
|
} from "./issuingcontrols.js";
|
|
32
27
|
|
|
33
28
|
export type RequestCard = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* Fields for identifying an authorized individual.
|
|
37
|
-
*/
|
|
38
|
-
authorizedUser: CreateAuthorizedUser;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
41
|
-
*/
|
|
42
|
-
formFactor: IssuedCardFormFactor;
|
|
29
|
+
authorizedUserAccountID?: string | undefined;
|
|
30
|
+
nickname?: string | undefined;
|
|
43
31
|
/**
|
|
44
|
-
*
|
|
32
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
45
33
|
*/
|
|
46
|
-
|
|
34
|
+
metadata?: { [k: string]: string } | undefined;
|
|
35
|
+
billingAddress?: Address | undefined;
|
|
47
36
|
/**
|
|
48
37
|
* The expiration date of the card or token.
|
|
49
38
|
*/
|
|
@@ -57,19 +46,19 @@ export const RequestCard$inboundSchema: z.ZodType<
|
|
|
57
46
|
z.ZodTypeDef,
|
|
58
47
|
unknown
|
|
59
48
|
> = z.object({
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
49
|
+
authorizedUserAccountID: z.string().optional(),
|
|
50
|
+
nickname: z.string().optional(),
|
|
51
|
+
metadata: z.record(z.string()).optional(),
|
|
52
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
64
53
|
expiration: CardExpiration$inboundSchema.optional(),
|
|
65
54
|
controls: IssuingControls$inboundSchema.optional(),
|
|
66
55
|
});
|
|
67
56
|
/** @internal */
|
|
68
57
|
export type RequestCard$Outbound = {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
58
|
+
authorizedUserAccountID?: string | undefined;
|
|
59
|
+
nickname?: string | undefined;
|
|
60
|
+
metadata?: { [k: string]: string } | undefined;
|
|
61
|
+
billingAddress?: Address$Outbound | undefined;
|
|
73
62
|
expiration?: CardExpiration$Outbound | undefined;
|
|
74
63
|
controls?: IssuingControls$Outbound | undefined;
|
|
75
64
|
};
|
|
@@ -80,10 +69,10 @@ export const RequestCard$outboundSchema: z.ZodType<
|
|
|
80
69
|
z.ZodTypeDef,
|
|
81
70
|
RequestCard
|
|
82
71
|
> = z.object({
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
72
|
+
authorizedUserAccountID: z.string().optional(),
|
|
73
|
+
nickname: z.string().optional(),
|
|
74
|
+
metadata: z.record(z.string()).optional(),
|
|
75
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
87
76
|
expiration: CardExpiration$outboundSchema.optional(),
|
|
88
77
|
controls: IssuingControls$outboundSchema.optional(),
|
|
89
78
|
});
|
|
@@ -6,18 +6,21 @@ 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
|
-
CreateAuthorizedUserUpdate,
|
|
11
|
-
CreateAuthorizedUserUpdate$inboundSchema,
|
|
12
|
-
CreateAuthorizedUserUpdate$Outbound,
|
|
13
|
-
CreateAuthorizedUserUpdate$outboundSchema,
|
|
14
|
-
} from "./createauthorizeduserupdate.js";
|
|
15
9
|
import {
|
|
16
10
|
UpdateIssuedCardState,
|
|
17
11
|
UpdateIssuedCardState$inboundSchema,
|
|
18
12
|
UpdateIssuedCardState$outboundSchema,
|
|
19
13
|
} from "./updateissuedcardstate.js";
|
|
20
14
|
|
|
15
|
+
export type BillingAddress = {
|
|
16
|
+
addressLine1?: string | undefined;
|
|
17
|
+
addressLine2?: string | undefined;
|
|
18
|
+
city?: string | undefined;
|
|
19
|
+
stateOrProvince?: string | undefined;
|
|
20
|
+
postalCode?: string | undefined;
|
|
21
|
+
country?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
21
24
|
export type UpdateIssuedCard = {
|
|
22
25
|
/**
|
|
23
26
|
* Updates the state of a Moov issued card.
|
|
@@ -26,13 +29,61 @@ export type UpdateIssuedCard = {
|
|
|
26
29
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
27
30
|
*/
|
|
28
31
|
state?: UpdateIssuedCardState | undefined;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
nickname?: string | null | undefined;
|
|
33
|
+
metadata?: { [k: string]: string } | null | undefined;
|
|
34
|
+
billingAddress?: BillingAddress | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const BillingAddress$inboundSchema: z.ZodType<
|
|
39
|
+
BillingAddress,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
addressLine1: z.string().optional(),
|
|
44
|
+
addressLine2: z.string().optional(),
|
|
45
|
+
city: z.string().optional(),
|
|
46
|
+
stateOrProvince: z.string().optional(),
|
|
47
|
+
postalCode: z.string().optional(),
|
|
48
|
+
country: z.string().optional(),
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type BillingAddress$Outbound = {
|
|
52
|
+
addressLine1?: string | undefined;
|
|
53
|
+
addressLine2?: string | undefined;
|
|
54
|
+
city?: string | undefined;
|
|
55
|
+
stateOrProvince?: string | undefined;
|
|
56
|
+
postalCode?: string | undefined;
|
|
57
|
+
country?: string | undefined;
|
|
34
58
|
};
|
|
35
59
|
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const BillingAddress$outboundSchema: z.ZodType<
|
|
62
|
+
BillingAddress$Outbound,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
BillingAddress
|
|
65
|
+
> = z.object({
|
|
66
|
+
addressLine1: z.string().optional(),
|
|
67
|
+
addressLine2: z.string().optional(),
|
|
68
|
+
city: z.string().optional(),
|
|
69
|
+
stateOrProvince: z.string().optional(),
|
|
70
|
+
postalCode: z.string().optional(),
|
|
71
|
+
country: z.string().optional(),
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
export function billingAddressToJSON(billingAddress: BillingAddress): string {
|
|
75
|
+
return JSON.stringify(BillingAddress$outboundSchema.parse(billingAddress));
|
|
76
|
+
}
|
|
77
|
+
export function billingAddressFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<BillingAddress, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) => BillingAddress$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
+
`Failed to parse 'BillingAddress' from JSON`,
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
36
87
|
/** @internal */
|
|
37
88
|
export const UpdateIssuedCard$inboundSchema: z.ZodType<
|
|
38
89
|
UpdateIssuedCard,
|
|
@@ -40,14 +91,17 @@ export const UpdateIssuedCard$inboundSchema: z.ZodType<
|
|
|
40
91
|
unknown
|
|
41
92
|
> = z.object({
|
|
42
93
|
state: UpdateIssuedCardState$inboundSchema.optional(),
|
|
43
|
-
|
|
44
|
-
|
|
94
|
+
nickname: z.nullable(z.string()).optional(),
|
|
95
|
+
metadata: z.nullable(z.record(z.string())).optional(),
|
|
96
|
+
billingAddress: z.nullable(z.lazy(() => BillingAddress$inboundSchema))
|
|
97
|
+
.optional(),
|
|
45
98
|
});
|
|
46
99
|
/** @internal */
|
|
47
100
|
export type UpdateIssuedCard$Outbound = {
|
|
48
101
|
state?: string | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
102
|
+
nickname?: string | null | undefined;
|
|
103
|
+
metadata?: { [k: string]: string } | null | undefined;
|
|
104
|
+
billingAddress?: BillingAddress$Outbound | null | undefined;
|
|
51
105
|
};
|
|
52
106
|
|
|
53
107
|
/** @internal */
|
|
@@ -57,8 +111,10 @@ export const UpdateIssuedCard$outboundSchema: z.ZodType<
|
|
|
57
111
|
UpdateIssuedCard
|
|
58
112
|
> = z.object({
|
|
59
113
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
60
|
-
|
|
61
|
-
|
|
114
|
+
nickname: z.nullable(z.string()).optional(),
|
|
115
|
+
metadata: z.nullable(z.record(z.string())).optional(),
|
|
116
|
+
billingAddress: z.nullable(z.lazy(() => BillingAddress$outboundSchema))
|
|
117
|
+
.optional(),
|
|
62
118
|
});
|
|
63
119
|
|
|
64
120
|
export function updateIssuedCardToJSON(
|
|
@@ -30,6 +30,12 @@ import {
|
|
|
30
30
|
WebhookDataAccountUpdated$Outbound,
|
|
31
31
|
WebhookDataAccountUpdated$outboundSchema,
|
|
32
32
|
} from "./webhookdataaccountupdated.js";
|
|
33
|
+
import {
|
|
34
|
+
WebhookDataAuthorizationExpiring,
|
|
35
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
36
|
+
WebhookDataAuthorizationExpiring$Outbound,
|
|
37
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
38
|
+
} from "./webhookdataauthorizationexpiring.js";
|
|
33
39
|
import {
|
|
34
40
|
WebhookDataBalanceUpdated,
|
|
35
41
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
@@ -238,7 +244,9 @@ export type WebhookData =
|
|
|
238
244
|
| WebhookDataTransferUpdated
|
|
239
245
|
| WebhookDataBankAccountUpdated
|
|
240
246
|
| WebhookDataRefundUpdated
|
|
247
|
+
| WebhookDataSweepUpdated
|
|
241
248
|
| WebhookDataWalletTransactionUpdated
|
|
249
|
+
| WebhookDataAuthorizationExpiring
|
|
242
250
|
| WebhookDataBankAccountCreated
|
|
243
251
|
| WebhookDataBankAccountDeleted
|
|
244
252
|
| WebhookDataCancellationCreated
|
|
@@ -249,7 +257,7 @@ export type WebhookData =
|
|
|
249
257
|
| WebhookDataPaymentMethodEnabled
|
|
250
258
|
| WebhookDataPaymentMethodDisabled
|
|
251
259
|
| WebhookDataRefundCreated
|
|
252
|
-
|
|
|
260
|
+
| WebhookDataSweepCreated
|
|
253
261
|
| WebhookDataTicketUpdated
|
|
254
262
|
| WebhookDataTransferCreated
|
|
255
263
|
| WebhookDataWalletUpdated
|
|
@@ -259,7 +267,6 @@ export type WebhookData =
|
|
|
259
267
|
| WebhookDataRepresentativeCreated
|
|
260
268
|
| WebhookDataRepresentativeUpdated
|
|
261
269
|
| WebhookDataRepresentativeDisabled
|
|
262
|
-
| WebhookDataSweepCreated
|
|
263
270
|
| WebhookDataTerminalApplicationCreated
|
|
264
271
|
| WebhookDataTerminalApplicationUpdated
|
|
265
272
|
| WebhookDataTicketCreated
|
|
@@ -282,7 +289,9 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
282
289
|
WebhookDataTransferUpdated$inboundSchema,
|
|
283
290
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
284
291
|
WebhookDataRefundUpdated$inboundSchema,
|
|
292
|
+
WebhookDataSweepUpdated$inboundSchema,
|
|
285
293
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
294
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
286
295
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
287
296
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
288
297
|
WebhookDataCancellationCreated$inboundSchema,
|
|
@@ -293,7 +302,7 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
293
302
|
WebhookDataPaymentMethodEnabled$inboundSchema,
|
|
294
303
|
WebhookDataPaymentMethodDisabled$inboundSchema,
|
|
295
304
|
WebhookDataRefundCreated$inboundSchema,
|
|
296
|
-
|
|
305
|
+
WebhookDataSweepCreated$inboundSchema,
|
|
297
306
|
WebhookDataTicketUpdated$inboundSchema,
|
|
298
307
|
WebhookDataTransferCreated$inboundSchema,
|
|
299
308
|
WebhookDataWalletUpdated$inboundSchema,
|
|
@@ -303,7 +312,6 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
303
312
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
304
313
|
WebhookDataRepresentativeUpdated$inboundSchema,
|
|
305
314
|
WebhookDataRepresentativeDisabled$inboundSchema,
|
|
306
|
-
WebhookDataSweepCreated$inboundSchema,
|
|
307
315
|
WebhookDataTerminalApplicationCreated$inboundSchema,
|
|
308
316
|
WebhookDataTerminalApplicationUpdated$inboundSchema,
|
|
309
317
|
WebhookDataTicketCreated$inboundSchema,
|
|
@@ -322,7 +330,9 @@ export type WebhookData$Outbound =
|
|
|
322
330
|
| WebhookDataTransferUpdated$Outbound
|
|
323
331
|
| WebhookDataBankAccountUpdated$Outbound
|
|
324
332
|
| WebhookDataRefundUpdated$Outbound
|
|
333
|
+
| WebhookDataSweepUpdated$Outbound
|
|
325
334
|
| WebhookDataWalletTransactionUpdated$Outbound
|
|
335
|
+
| WebhookDataAuthorizationExpiring$Outbound
|
|
326
336
|
| WebhookDataBankAccountCreated$Outbound
|
|
327
337
|
| WebhookDataBankAccountDeleted$Outbound
|
|
328
338
|
| WebhookDataCancellationCreated$Outbound
|
|
@@ -333,7 +343,7 @@ export type WebhookData$Outbound =
|
|
|
333
343
|
| WebhookDataPaymentMethodEnabled$Outbound
|
|
334
344
|
| WebhookDataPaymentMethodDisabled$Outbound
|
|
335
345
|
| WebhookDataRefundCreated$Outbound
|
|
336
|
-
|
|
|
346
|
+
| WebhookDataSweepCreated$Outbound
|
|
337
347
|
| WebhookDataTicketUpdated$Outbound
|
|
338
348
|
| WebhookDataTransferCreated$Outbound
|
|
339
349
|
| WebhookDataWalletUpdated$Outbound
|
|
@@ -343,7 +353,6 @@ export type WebhookData$Outbound =
|
|
|
343
353
|
| WebhookDataRepresentativeCreated$Outbound
|
|
344
354
|
| WebhookDataRepresentativeUpdated$Outbound
|
|
345
355
|
| WebhookDataRepresentativeDisabled$Outbound
|
|
346
|
-
| WebhookDataSweepCreated$Outbound
|
|
347
356
|
| WebhookDataTerminalApplicationCreated$Outbound
|
|
348
357
|
| WebhookDataTerminalApplicationUpdated$Outbound
|
|
349
358
|
| WebhookDataTicketCreated$Outbound
|
|
@@ -366,7 +375,9 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
366
375
|
WebhookDataTransferUpdated$outboundSchema,
|
|
367
376
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
368
377
|
WebhookDataRefundUpdated$outboundSchema,
|
|
378
|
+
WebhookDataSweepUpdated$outboundSchema,
|
|
369
379
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
380
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
370
381
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
371
382
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
372
383
|
WebhookDataCancellationCreated$outboundSchema,
|
|
@@ -377,7 +388,7 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
377
388
|
WebhookDataPaymentMethodEnabled$outboundSchema,
|
|
378
389
|
WebhookDataPaymentMethodDisabled$outboundSchema,
|
|
379
390
|
WebhookDataRefundCreated$outboundSchema,
|
|
380
|
-
|
|
391
|
+
WebhookDataSweepCreated$outboundSchema,
|
|
381
392
|
WebhookDataTicketUpdated$outboundSchema,
|
|
382
393
|
WebhookDataTransferCreated$outboundSchema,
|
|
383
394
|
WebhookDataWalletUpdated$outboundSchema,
|
|
@@ -387,7 +398,6 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
387
398
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
388
399
|
WebhookDataRepresentativeUpdated$outboundSchema,
|
|
389
400
|
WebhookDataRepresentativeDisabled$outboundSchema,
|
|
390
|
-
WebhookDataSweepCreated$outboundSchema,
|
|
391
401
|
WebhookDataTerminalApplicationCreated$outboundSchema,
|
|
392
402
|
WebhookDataTerminalApplicationUpdated$outboundSchema,
|
|
393
403
|
WebhookDataTicketCreated$outboundSchema,
|