@moovio/sdk 0.0.0-dev.21 → 0.0.0-dev.22
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
|
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
39
39
|
export declare const SDK_METADATA: {
|
|
40
40
|
readonly language: "typescript";
|
|
41
41
|
readonly openapiDocVersion: "dev";
|
|
42
|
-
readonly sdkVersion: "0.0.0-dev.
|
|
43
|
-
readonly genVersion: "2.
|
|
44
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
42
|
+
readonly sdkVersion: "0.0.0-dev.22";
|
|
43
|
+
readonly genVersion: "2.884.0";
|
|
44
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.0.0-dev.22 2.884.0 dev @moovio/sdk";
|
|
45
45
|
};
|
|
46
46
|
//# 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: "dev",
|
|
34
|
-
sdkVersion: "0.0.0-dev.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
34
|
+
sdkVersion: "0.0.0-dev.22",
|
|
35
|
+
genVersion: "2.884.0",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.22 2.884.0 dev @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: "0.0.0-dev.
|
|
25
|
+
currentVersion: "0.0.0-dev.22",
|
|
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
|
@@ -200,7 +200,7 @@ const webhooksUpdate_js_1 = require("./tools/webhooksUpdate.js");
|
|
|
200
200
|
function createMCPServer(deps) {
|
|
201
201
|
const server = new mcp_js_1.McpServer({
|
|
202
202
|
name: "Moov",
|
|
203
|
-
version: "0.0.0-dev.
|
|
203
|
+
version: "0.0.0-dev.22",
|
|
204
204
|
});
|
|
205
205
|
const client = new core_js_1.MoovCore({
|
|
206
206
|
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;AAE9D,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,8BAA8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AqC,EAErC,8CAA8C,EAE/C,MAAM,4CAA4C,CAAC;AACpD,OAAO,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;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM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ACtC,iCAAiC,GACjC,uCAAuC,GACvC,kCAAkC,GAClC,kCAAkC,GAClC,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"}
|
|
@@ -54,6 +54,7 @@ exports.WebhookData$inboundSchema = (0, smartUnion_js_1.smartUnion)([
|
|
|
54
54
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$inboundSchema,
|
|
55
55
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
56
56
|
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$inboundSchema,
|
|
57
|
+
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$inboundSchema,
|
|
57
58
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$inboundSchema,
|
|
58
59
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$inboundSchema,
|
|
59
60
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -67,7 +68,6 @@ exports.WebhookData$inboundSchema = (0, smartUnion_js_1.smartUnion)([
|
|
|
67
68
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$inboundSchema,
|
|
68
69
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$inboundSchema,
|
|
69
70
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$inboundSchema,
|
|
70
|
-
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$inboundSchema,
|
|
71
71
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$inboundSchema,
|
|
72
72
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$inboundSchema,
|
|
73
73
|
webhookdatarepresentativecreated_js_1.WebhookDataRepresentativeCreated$inboundSchema,
|
|
@@ -94,6 +94,7 @@ exports.WebhookData$outboundSchema = (0, smartUnion_js_1.smartUnion)([
|
|
|
94
94
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$outboundSchema,
|
|
95
95
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
96
96
|
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$outboundSchema,
|
|
97
|
+
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$outboundSchema,
|
|
97
98
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$outboundSchema,
|
|
98
99
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$outboundSchema,
|
|
99
100
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -107,7 +108,6 @@ exports.WebhookData$outboundSchema = (0, smartUnion_js_1.smartUnion)([
|
|
|
107
108
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$outboundSchema,
|
|
108
109
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$outboundSchema,
|
|
109
110
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$outboundSchema,
|
|
110
|
-
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$outboundSchema,
|
|
111
111
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$outboundSchema,
|
|
112
112
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$outboundSchema,
|
|
113
113
|
webhookdatarepresentativecreated_js_1.WebhookDataRepresentativeCreated$outboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdata.js","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAiZH,8CAEC;AACD,kDAQC;AAzZD,qDAAiD;AAEjD,6DAAuD;AAEvD,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,IAAA,0BAAU,EAAC;IACb,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;;;AAiZH,8CAEC;AACD,kDAQC;AAzZD,qDAAiD;AAEjD,6DAAuD;AAEvD,2FAK6C;AAC7C,iFAKwC;AACxC,2FAK6C;AAC7C,iFAKwC;AACxC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A4C;IAC5C,qEAAuC;IACvC,2FAAkD;IAClD,+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;AAE9D,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;AAE9D,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"}
|
|
@@ -42,15 +42,18 @@ exports.webhookDataBankAccountDeletedFromJSON = webhookDataBankAccountDeletedFro
|
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
const bankaccountstatus_js_1 = require("./bankaccountstatus.js");
|
|
45
46
|
/** @internal */
|
|
46
47
|
exports.WebhookDataBankAccountDeleted$inboundSchema = z.object({
|
|
47
48
|
bankAccountID: types.string(),
|
|
48
49
|
accountID: types.string(),
|
|
50
|
+
status: bankaccountstatus_js_1.BankAccountStatus$inboundSchema,
|
|
49
51
|
});
|
|
50
52
|
/** @internal */
|
|
51
53
|
exports.WebhookDataBankAccountDeleted$outboundSchema = z.object({
|
|
52
54
|
bankAccountID: z.string(),
|
|
53
55
|
accountID: z.string(),
|
|
56
|
+
status: bankaccountstatus_js_1.BankAccountStatus$outboundSchema,
|
|
54
57
|
});
|
|
55
58
|
function webhookDataBankAccountDeletedToJSON(webhookDataBankAccountDeleted) {
|
|
56
59
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+CH,kFAQC;AACD,sFAQC;AA9DD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,iEAIgC;AAQhC,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,KAAK,CAAC,MAAM,EAAE;IAC7B,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE;IACzB,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
|
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "dev",
|
|
76
|
-
sdkVersion: "0.0.0-dev.
|
|
77
|
-
genVersion: "2.
|
|
78
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
76
|
+
sdkVersion: "0.0.0-dev.22",
|
|
77
|
+
genVersion: "2.884.0",
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.22 2.884.0 dev @moovio/sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -241,6 +241,7 @@ export type WebhookData =
|
|
|
241
241
|
| WebhookDataRefundUpdated
|
|
242
242
|
| WebhookDataWalletTransactionUpdated
|
|
243
243
|
| WebhookDataBankAccountCreated
|
|
244
|
+
| WebhookDataBankAccountDeleted
|
|
244
245
|
| WebhookDataCancellationCreated
|
|
245
246
|
| WebhookDataCancellationUpdated
|
|
246
247
|
| WebhookDataCardAutoUpdated
|
|
@@ -254,7 +255,6 @@ export type WebhookData =
|
|
|
254
255
|
| WebhookDataTransferCreated
|
|
255
256
|
| WebhookDataWalletUpdated
|
|
256
257
|
| WebhookDataBalanceUpdated
|
|
257
|
-
| WebhookDataBankAccountDeleted
|
|
258
258
|
| WebhookDataCapabilityRequested
|
|
259
259
|
| WebhookDataInvoiceCreated
|
|
260
260
|
| WebhookDataRepresentativeCreated
|
|
@@ -285,6 +285,7 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
285
285
|
WebhookDataRefundUpdated$inboundSchema,
|
|
286
286
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
287
287
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
288
|
+
WebhookDataBankAccountDeleted$inboundSchema,
|
|
288
289
|
WebhookDataCancellationCreated$inboundSchema,
|
|
289
290
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
290
291
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -298,7 +299,6 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
298
299
|
WebhookDataTransferCreated$inboundSchema,
|
|
299
300
|
WebhookDataWalletUpdated$inboundSchema,
|
|
300
301
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
301
|
-
WebhookDataBankAccountDeleted$inboundSchema,
|
|
302
302
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
303
303
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
304
304
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
@@ -325,6 +325,7 @@ export type WebhookData$Outbound =
|
|
|
325
325
|
| WebhookDataRefundUpdated$Outbound
|
|
326
326
|
| WebhookDataWalletTransactionUpdated$Outbound
|
|
327
327
|
| WebhookDataBankAccountCreated$Outbound
|
|
328
|
+
| WebhookDataBankAccountDeleted$Outbound
|
|
328
329
|
| WebhookDataCancellationCreated$Outbound
|
|
329
330
|
| WebhookDataCancellationUpdated$Outbound
|
|
330
331
|
| WebhookDataCardAutoUpdated$Outbound
|
|
@@ -338,7 +339,6 @@ export type WebhookData$Outbound =
|
|
|
338
339
|
| WebhookDataTransferCreated$Outbound
|
|
339
340
|
| WebhookDataWalletUpdated$Outbound
|
|
340
341
|
| WebhookDataBalanceUpdated$Outbound
|
|
341
|
-
| WebhookDataBankAccountDeleted$Outbound
|
|
342
342
|
| WebhookDataCapabilityRequested$Outbound
|
|
343
343
|
| WebhookDataInvoiceCreated$Outbound
|
|
344
344
|
| WebhookDataRepresentativeCreated$Outbound
|
|
@@ -369,6 +369,7 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
369
369
|
WebhookDataRefundUpdated$outboundSchema,
|
|
370
370
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
371
371
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
372
|
+
WebhookDataBankAccountDeleted$outboundSchema,
|
|
372
373
|
WebhookDataCancellationCreated$outboundSchema,
|
|
373
374
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
374
375
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -382,7 +383,6 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
382
383
|
WebhookDataTransferCreated$outboundSchema,
|
|
383
384
|
WebhookDataWalletUpdated$outboundSchema,
|
|
384
385
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
385
|
-
WebhookDataBankAccountDeleted$outboundSchema,
|
|
386
386
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
387
387
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
388
388
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
@@ -7,10 +7,16 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
BankAccountStatus,
|
|
12
|
+
BankAccountStatus$inboundSchema,
|
|
13
|
+
BankAccountStatus$outboundSchema,
|
|
14
|
+
} from "./bankaccountstatus.js";
|
|
10
15
|
|
|
11
16
|
export type WebhookDataBankAccountDeleted = {
|
|
12
17
|
bankAccountID: string;
|
|
13
18
|
accountID: string;
|
|
19
|
+
status: BankAccountStatus;
|
|
14
20
|
};
|
|
15
21
|
|
|
16
22
|
/** @internal */
|
|
@@ -21,11 +27,13 @@ export const WebhookDataBankAccountDeleted$inboundSchema: z.ZodType<
|
|
|
21
27
|
> = z.object({
|
|
22
28
|
bankAccountID: types.string(),
|
|
23
29
|
accountID: types.string(),
|
|
30
|
+
status: BankAccountStatus$inboundSchema,
|
|
24
31
|
});
|
|
25
32
|
/** @internal */
|
|
26
33
|
export type WebhookDataBankAccountDeleted$Outbound = {
|
|
27
34
|
bankAccountID: string;
|
|
28
35
|
accountID: string;
|
|
36
|
+
status: string;
|
|
29
37
|
};
|
|
30
38
|
|
|
31
39
|
/** @internal */
|
|
@@ -36,6 +44,7 @@ export const WebhookDataBankAccountDeleted$outboundSchema: z.ZodType<
|
|
|
36
44
|
> = z.object({
|
|
37
45
|
bankAccountID: z.string(),
|
|
38
46
|
accountID: z.string(),
|
|
47
|
+
status: BankAccountStatus$outboundSchema,
|
|
39
48
|
});
|
|
40
49
|
|
|
41
50
|
export function webhookDataBankAccountDeletedToJSON(
|