@moovio/sdk 25.11.6 → 25.11.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 +13 -10
- package/bin/mcp-server.js.map +7 -7
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +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/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/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountdeleted.ts +9 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "v2025.10.00";
|
|
38
|
-
readonly sdkVersion: "25.11.
|
|
39
|
-
readonly genVersion: "2.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 25.11.
|
|
38
|
+
readonly sdkVersion: "25.11.7";
|
|
39
|
+
readonly genVersion: "2.884.0";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 25.11.7 2.884.0 v2025.10.00 @moovio/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "v2025.10.00",
|
|
34
|
-
sdkVersion: "25.11.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 25.11.
|
|
34
|
+
sdkVersion: "25.11.7",
|
|
35
|
+
genVersion: "2.884.0",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 25.11.7 2.884.0 v2025.10.00 @moovio/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "25.11.
|
|
25
|
+
currentVersion: "25.11.7",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -184,7 +184,7 @@ const webhooksUpdate_js_1 = require("./tools/webhooksUpdate.js");
|
|
|
184
184
|
function createMCPServer(deps) {
|
|
185
185
|
const server = new mcp_js_1.McpServer({
|
|
186
186
|
name: "Moov",
|
|
187
|
-
version: "25.11.
|
|
187
|
+
version: "25.11.7",
|
|
188
188
|
});
|
|
189
189
|
const client = new core_js_1.MoovCore({
|
|
190
190
|
security: deps.security,
|
|
@@ -41,11 +41,11 @@ import { WebhookDataWalletUpdated, WebhookDataWalletUpdated$Outbound } from "./w
|
|
|
41
41
|
/**
|
|
42
42
|
* The data for the webhook event. The contents are based on the event type.
|
|
43
43
|
*/
|
|
44
|
-
export type WebhookData = WebhookDataDisputeCreated | WebhookDataDisputeUpdated | WebhookDataTransferUpdated | WebhookDataBankAccountUpdated | WebhookDataRefundUpdated | WebhookDataWalletTransactionUpdated | WebhookDataBankAccountCreated | WebhookDataCancellationCreated | WebhookDataCancellationUpdated | WebhookDataCardAutoUpdated | WebhookDataCapabilityUpdated | WebhookDataInvoiceUpdated | WebhookDataPaymentMethodEnabled | WebhookDataPaymentMethodDisabled | WebhookDataRefundCreated | WebhookDataSweepUpdated | WebhookDataTicketUpdated | WebhookDataTransferCreated | WebhookDataWalletUpdated | WebhookDataBalanceUpdated |
|
|
44
|
+
export type WebhookData = WebhookDataDisputeCreated | WebhookDataDisputeUpdated | WebhookDataTransferUpdated | WebhookDataBankAccountUpdated | WebhookDataRefundUpdated | WebhookDataWalletTransactionUpdated | WebhookDataBankAccountCreated | WebhookDataBankAccountDeleted | WebhookDataCancellationCreated | WebhookDataCancellationUpdated | WebhookDataCardAutoUpdated | WebhookDataCapabilityUpdated | WebhookDataInvoiceUpdated | WebhookDataPaymentMethodEnabled | WebhookDataPaymentMethodDisabled | WebhookDataRefundCreated | WebhookDataSweepUpdated | WebhookDataTicketUpdated | WebhookDataTransferCreated | WebhookDataWalletUpdated | WebhookDataBalanceUpdated | WebhookDataCapabilityRequested | WebhookDataInvoiceCreated | WebhookDataRepresentativeCreated | WebhookDataRepresentativeUpdated | WebhookDataRepresentativeDisabled | WebhookDataSweepCreated | WebhookDataTerminalApplicationCreated | WebhookDataTerminalApplicationUpdated | WebhookDataTicketCreated | WebhookDataTicketMessageAdded | WebhookDataWalletCreated | WebhookBillingStatementCreated | WebhookDataAccountCreated | WebhookDataAccountUpdated | WebhookDataAccountDisconnected | WebhookDataNetworkIDUpdated;
|
|
45
45
|
/** @internal */
|
|
46
46
|
export declare const WebhookData$inboundSchema: z.ZodType<WebhookData, z.ZodTypeDef, unknown>;
|
|
47
47
|
/** @internal */
|
|
48
|
-
export type WebhookData$Outbound = WebhookDataDisputeCreated$Outbound | WebhookDataDisputeUpdated$Outbound | WebhookDataTransferUpdated$Outbound | WebhookDataBankAccountUpdated$Outbound | WebhookDataRefundUpdated$Outbound | WebhookDataWalletTransactionUpdated$Outbound | WebhookDataBankAccountCreated$Outbound | WebhookDataCancellationCreated$Outbound | WebhookDataCancellationUpdated$Outbound | WebhookDataCardAutoUpdated$Outbound | WebhookDataCapabilityUpdated$Outbound | WebhookDataInvoiceUpdated$Outbound | WebhookDataPaymentMethodEnabled$Outbound | WebhookDataPaymentMethodDisabled$Outbound | WebhookDataRefundCreated$Outbound | WebhookDataSweepUpdated$Outbound | WebhookDataTicketUpdated$Outbound | WebhookDataTransferCreated$Outbound | WebhookDataWalletUpdated$Outbound | WebhookDataBalanceUpdated$Outbound |
|
|
48
|
+
export type WebhookData$Outbound = WebhookDataDisputeCreated$Outbound | WebhookDataDisputeUpdated$Outbound | WebhookDataTransferUpdated$Outbound | WebhookDataBankAccountUpdated$Outbound | WebhookDataRefundUpdated$Outbound | WebhookDataWalletTransactionUpdated$Outbound | WebhookDataBankAccountCreated$Outbound | WebhookDataBankAccountDeleted$Outbound | WebhookDataCancellationCreated$Outbound | WebhookDataCancellationUpdated$Outbound | WebhookDataCardAutoUpdated$Outbound | WebhookDataCapabilityUpdated$Outbound | WebhookDataInvoiceUpdated$Outbound | WebhookDataPaymentMethodEnabled$Outbound | WebhookDataPaymentMethodDisabled$Outbound | WebhookDataRefundCreated$Outbound | WebhookDataSweepUpdated$Outbound | WebhookDataTicketUpdated$Outbound | WebhookDataTransferCreated$Outbound | WebhookDataWalletUpdated$Outbound | WebhookDataBalanceUpdated$Outbound | WebhookDataCapabilityRequested$Outbound | WebhookDataInvoiceCreated$Outbound | WebhookDataRepresentativeCreated$Outbound | WebhookDataRepresentativeUpdated$Outbound | WebhookDataRepresentativeDisabled$Outbound | WebhookDataSweepCreated$Outbound | WebhookDataTerminalApplicationCreated$Outbound | WebhookDataTerminalApplicationUpdated$Outbound | WebhookDataTicketCreated$Outbound | WebhookDataTicketMessageAdded$Outbound | WebhookDataWalletCreated$Outbound | WebhookBillingStatementCreated$Outbound | WebhookDataAccountCreated$Outbound | WebhookDataAccountUpdated$Outbound | WebhookDataAccountDisconnected$Outbound | WebhookDataNetworkIDUpdated$Outbound;
|
|
49
49
|
/** @internal */
|
|
50
50
|
export declare const WebhookData$outboundSchema: z.ZodType<WebhookData$Outbound, z.ZodTypeDef, WebhookData>;
|
|
51
51
|
export declare function webhookDataToJSON(webhookData: WebhookData): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdata.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,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,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,mCAAmC,EAEnC,4CAA4C,EAE7C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,yBAAyB,GACzB,yBAAyB,GACzB,0BAA0B,GAC1B,6BAA6B,GAC7B,wBAAwB,GACxB,mCAAmC,GACnC,6BAA6B,GAC7B,8BAA8B,GAC9B,8BAA8B,GAC9B,0BAA0B,GAC1B,4BAA4B,GAC5B,yBAAyB,GACzB,+BAA+B,GAC/B,gCAAgC,GAChC,wBAAwB,GACxB,uBAAuB,GACvB,wBAAwB,GACxB,0BAA0B,GAC1B,wBAAwB,GACxB,yBAAyB,GACzB,
|
|
1
|
+
{"version":3,"file":"webhookdata.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,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AClC,uCAAuC,GACvC,oCAAoC,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAuCX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -87,6 +87,7 @@ exports.WebhookData$inboundSchema = z.union([
|
|
|
87
87
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$inboundSchema,
|
|
88
88
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
89
89
|
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$inboundSchema,
|
|
90
|
+
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$inboundSchema,
|
|
90
91
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$inboundSchema,
|
|
91
92
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$inboundSchema,
|
|
92
93
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -100,7 +101,6 @@ exports.WebhookData$inboundSchema = z.union([
|
|
|
100
101
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$inboundSchema,
|
|
101
102
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$inboundSchema,
|
|
102
103
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$inboundSchema,
|
|
103
|
-
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$inboundSchema,
|
|
104
104
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$inboundSchema,
|
|
105
105
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$inboundSchema,
|
|
106
106
|
webhookdatarepresentativecreated_js_1.WebhookDataRepresentativeCreated$inboundSchema,
|
|
@@ -127,6 +127,7 @@ exports.WebhookData$outboundSchema = z.union([
|
|
|
127
127
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$outboundSchema,
|
|
128
128
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
129
129
|
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$outboundSchema,
|
|
130
|
+
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$outboundSchema,
|
|
130
131
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$outboundSchema,
|
|
131
132
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$outboundSchema,
|
|
132
133
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -140,7 +141,6 @@ exports.WebhookData$outboundSchema = z.union([
|
|
|
140
141
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$outboundSchema,
|
|
141
142
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$outboundSchema,
|
|
142
143
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$outboundSchema,
|
|
143
|
-
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$outboundSchema,
|
|
144
144
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$outboundSchema,
|
|
145
145
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$outboundSchema,
|
|
146
146
|
webhookdatarepresentativecreated_js_1.WebhookDataRepresentativeCreated$outboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdata.js","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgZH,8CAEC;AACD,kDAQC;AAzZD,0CAA4B;AAC5B,qDAAiD;AAGjD,2FAK6C;AAC7C,iFAKwC;AACxC,2FAK6C;AAC7C,iFAKwC;AACxC,iFAKwC;AACxC,yFAK4C;AAC5C,yFAK4C;AAC5C,yFAK4C;AAC5C,2FAK6C;AAC7C,2FAK6C;AAC7C,2FAK6C;AAC7C,uFAK2C;AAC3C,mFAKyC;AACzC,iFAKwC;AACxC,iFAKwC;AACxC,iFAKwC;AACxC,iFAKwC;AACxC,qFAK0C;AAC1C,+FAK+C;AAC/C,6FAK8C;AAC9C,+EAKuC;AACvC,+EAKuC;AACvC,+FAK+C;AAC/C,iGAKgD;AAChD,+FAK+C;AAC/C,6EAKsC;AACtC,6EAKsC;AACtC,yGAKoD;AACpD,yGAKoD;AACpD,+EAKuC;AACvC,yFAK4C;AAC5C,+EAKuC;AACvC,mFAKyC;AACzC,mFAKyC;AACzC,+EAKuC;AACvC,qGAKkD;AAClD,+EAKuC;AA4CvC,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC;IACV,sEAAuC;IACvC,sEAAuC;IACvC,wEAAwC;IACxC,8EAA2C;IAC3C,oEAAsC;IACtC,0FAAiD;IACjD,8EAA2C;IAC3C,gFAA4C;IAC5C,gFAA4C;IAC5C,wEAAwC;IACxC,4EAA0C;IAC1C,sEAAuC;IACvC,kFAA6C;IAC7C,oFAA8C;IAC9C,oEAAsC;IACtC,kEAAqC;IACrC,oEAAsC;IACtC,wEAAwC;IACxC,oEAAsC;IACtC,sEAAuC;IACvC,
|
|
1
|
+
{"version":3,"file":"webhookdata.js","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgZH,8CAEC;AACD,kDAQC;AAzZD,0CAA4B;AAC5B,qDAAiD;AAGjD,2FAK6C;AAC7C,iFAKwC;AACxC,2FAK6C;AAC7C,iFAKwC;AACxC,iFAKwC;AACxC,yFAK4C;AAC5C,yFAK4C;AAC5C,yFA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+EAA4C;IAC5C,+EAA4C;IAC5C,iFAA6C;IAC7C,iFAA6C;IAC7C,yEAAyC;IACzC,6EAA2C;IAC3C,uEAAwC;IACxC,mFAA8C;IAC9C,qFAA+C;IAC/C,qEAAuC;IACvC,mEAAsC;IACtC,qEAAuC;IACvC,yEAAyC;IACzC,qEAAuC;IACvC,uEAAwC;IACxC,iFAA6C;IAC7C,uEAAwC;IACxC,qFAA+C;IAC/C,qFAA+C;IAC/C,uFAAgD;IAChD,mEAAsC;IACtC,+FAAoD;IACpD,+FAAoD;IACpD,qEAAuC;IACvC,+EAA4C;IAC5C,qEAAuC;IACvC,iFAA6C;IAC7C,uEAAwC;IACxC,uEAAwC;IACxC,iFAA6C;IAC7C,2EAA0C;CAC3C,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AACD,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { BankAccountStatus } from "./bankaccountstatus.js";
|
|
4
5
|
export type WebhookDataBankAccountDeleted = {
|
|
5
6
|
bankAccountID: string;
|
|
6
7
|
accountID: string;
|
|
8
|
+
status: BankAccountStatus;
|
|
7
9
|
};
|
|
8
10
|
/** @internal */
|
|
9
11
|
export declare const WebhookDataBankAccountDeleted$inboundSchema: z.ZodType<WebhookDataBankAccountDeleted, z.ZodTypeDef, unknown>;
|
|
@@ -11,6 +13,7 @@ export declare const WebhookDataBankAccountDeleted$inboundSchema: z.ZodType<Webh
|
|
|
11
13
|
export type WebhookDataBankAccountDeleted$Outbound = {
|
|
12
14
|
bankAccountID: string;
|
|
13
15
|
accountID: string;
|
|
16
|
+
status: string;
|
|
14
17
|
};
|
|
15
18
|
/** @internal */
|
|
16
19
|
export declare const WebhookDataBankAccountDeleted$outboundSchema: z.ZodType<WebhookDataBankAccountDeleted$Outbound, z.ZodTypeDef, WebhookDataBankAccountDeleted>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdatabankaccountdeleted.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountdeleted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"webhookdatabankaccountdeleted.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountdeleted.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AACD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -41,15 +41,18 @@ exports.webhookDataBankAccountDeletedToJSON = webhookDataBankAccountDeletedToJSO
|
|
|
41
41
|
exports.webhookDataBankAccountDeletedFromJSON = webhookDataBankAccountDeletedFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const bankaccountstatus_js_1 = require("./bankaccountstatus.js");
|
|
44
45
|
/** @internal */
|
|
45
46
|
exports.WebhookDataBankAccountDeleted$inboundSchema = z.object({
|
|
46
47
|
bankAccountID: z.string(),
|
|
47
48
|
accountID: z.string(),
|
|
49
|
+
status: bankaccountstatus_js_1.BankAccountStatus$inboundSchema,
|
|
48
50
|
});
|
|
49
51
|
/** @internal */
|
|
50
52
|
exports.WebhookDataBankAccountDeleted$outboundSchema = z.object({
|
|
51
53
|
bankAccountID: z.string(),
|
|
52
54
|
accountID: z.string(),
|
|
55
|
+
status: bankaccountstatus_js_1.BankAccountStatus$outboundSchema,
|
|
53
56
|
});
|
|
54
57
|
function webhookDataBankAccountDeletedToJSON(webhookDataBankAccountDeleted) {
|
|
55
58
|
return JSON.stringify(exports.WebhookDataBankAccountDeleted$outboundSchema.parse(webhookDataBankAccountDeleted));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdatabankaccountdeleted.js","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountdeleted.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"webhookdatabankaccountdeleted.js","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountdeleted.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,kFAQC;AACD,sFAQC;AA7DD,0CAA4B;AAC5B,qDAAiD;AAGjD,iEAIgC;AAQhC,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,sDAA+B;CACxC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,uDAAgC;CACzC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "v2025.10.00",
|
|
71
|
-
sdkVersion: "25.11.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 25.11.
|
|
71
|
+
sdkVersion: "25.11.7",
|
|
72
|
+
genVersion: "2.884.0",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 25.11.7 2.884.0 v2025.10.00 @moovio/sdk",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -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(
|