@moovio/sdk 0.14.3 → 0.14.5
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 +48 -62
- package/bin/mcp-server.js +148 -314
- package/bin/mcp-server.js.map +23 -26
- package/docs/sdks/support/README.md +10 -16
- package/docs/sdks/transfers/README.md +11 -116
- package/examples/package-lock.json +2 -2
- package/funcs/supportCreateTicket.d.ts +1 -1
- package/funcs/supportCreateTicket.js +1 -1
- package/funcs/supportGetTicket.d.ts +1 -1
- package/funcs/supportGetTicket.js +1 -1
- package/funcs/supportListTicketMessages.d.ts +1 -1
- package/funcs/supportListTicketMessages.js +1 -6
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts +1 -1
- package/funcs/supportListTickets.js +2 -2
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts +1 -1
- package/funcs/supportUpdateTicket.js +1 -1
- package/funcs/transfersGenerateOptions.d.ts +4 -3
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +14 -5
- package/funcs/transfersGenerateOptions.js.map +1 -1
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +2 -4
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/supportCreateTicket.js +1 -1
- package/mcp-server/tools/supportGetTicket.js +1 -1
- package/mcp-server/tools/supportListTicketMessages.js +1 -1
- package/mcp-server/tools/supportListTickets.js +1 -1
- package/mcp-server/tools/supportUpdateTicket.js +1 -1
- package/mcp-server/tools/transfersGenerateOptions.d.ts +2 -2
- package/mcp-server/tools/transfersGenerateOptions.d.ts.map +1 -1
- package/mcp-server/tools/transfersGenerateOptions.js +5 -3
- package/mcp-server/tools/transfersGenerateOptions.js.map +1 -1
- package/models/components/terminalcard.d.ts +10 -0
- package/models/components/terminalcard.d.ts.map +1 -1
- package/models/components/terminalcard.js +4 -0
- package/models/components/terminalcard.js.map +1 -1
- package/models/operations/createtransferoptions.d.ts +30 -0
- package/models/operations/createtransferoptions.d.ts.map +1 -1
- package/models/operations/createtransferoptions.js +38 -1
- package/models/operations/createtransferoptions.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/models/operations/listticketmessages.d.ts +0 -4
- package/models/operations/listticketmessages.d.ts.map +1 -1
- package/models/operations/listticketmessages.js +0 -4
- package/models/operations/listticketmessages.js.map +1 -1
- package/models/operations/listtickets.d.ts +2 -2
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js +2 -2
- package/models/operations/listtickets.js.map +1 -1
- package/package.json +2 -2
- package/sdk/support.d.ts +5 -5
- package/sdk/support.js +5 -5
- package/sdk/transfers.d.ts +1 -12
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +2 -15
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/supportCreateTicket.ts +1 -1
- package/src/funcs/supportGetTicket.ts +1 -1
- package/src/funcs/supportListTicketMessages.ts +2 -8
- package/src/funcs/supportListTickets.ts +2 -2
- package/src/funcs/supportUpdateTicket.ts +1 -1
- package/src/funcs/transfersGenerateOptions.ts +18 -7
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -4
- package/src/mcp-server/tools/supportCreateTicket.ts +1 -1
- package/src/mcp-server/tools/supportGetTicket.ts +1 -1
- package/src/mcp-server/tools/supportListTicketMessages.ts +1 -1
- package/src/mcp-server/tools/supportListTickets.ts +1 -1
- package/src/mcp-server/tools/supportUpdateTicket.ts +1 -1
- package/src/mcp-server/tools/transfersGenerateOptions.ts +5 -3
- package/src/models/components/terminalcard.ts +14 -0
- package/src/models/operations/createtransferoptions.ts +75 -0
- package/src/models/operations/index.ts +0 -1
- package/src/models/operations/listticketmessages.ts +0 -8
- package/src/models/operations/listtickets.ts +4 -4
- package/src/sdk/support.ts +5 -5
- package/src/sdk/transfers.ts +4 -26
- package/funcs/transfersGenerateOptionsForAccount.d.ts +0 -23
- package/funcs/transfersGenerateOptionsForAccount.d.ts.map +0 -1
- package/funcs/transfersGenerateOptionsForAccount.js +0 -133
- package/funcs/transfersGenerateOptionsForAccount.js.map +0 -1
- package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts +0 -8
- package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts.map +0 -1
- package/mcp-server/tools/transfersGenerateOptionsForAccount.js +0 -70
- package/mcp-server/tools/transfersGenerateOptionsForAccount.js.map +0 -1
- package/models/operations/createtransferoptionsforaccount.d.ts +0 -104
- package/models/operations/createtransferoptionsforaccount.d.ts.map +0 -1
- package/models/operations/createtransferoptionsforaccount.js +0 -155
- package/models/operations/createtransferoptionsforaccount.js.map +0 -1
- package/src/funcs/transfersGenerateOptionsForAccount.ts +0 -202
- package/src/mcp-server/tools/transfersGenerateOptionsForAccount.ts +0 -46
- package/src/models/operations/createtransferoptionsforaccount.ts +0 -257
|
@@ -27,7 +27,7 @@ export type ListTicketsGlobals = {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export type ListTicketsRequest = {
|
|
30
|
-
|
|
30
|
+
cursor?: string | undefined;
|
|
31
31
|
count?: number | undefined;
|
|
32
32
|
accountID: string;
|
|
33
33
|
};
|
|
@@ -105,14 +105,14 @@ export const ListTicketsRequest$inboundSchema: z.ZodType<
|
|
|
105
105
|
z.ZodTypeDef,
|
|
106
106
|
unknown
|
|
107
107
|
> = z.object({
|
|
108
|
-
|
|
108
|
+
cursor: z.string().optional(),
|
|
109
109
|
count: z.number().int().optional(),
|
|
110
110
|
accountID: z.string(),
|
|
111
111
|
});
|
|
112
112
|
|
|
113
113
|
/** @internal */
|
|
114
114
|
export type ListTicketsRequest$Outbound = {
|
|
115
|
-
|
|
115
|
+
cursor?: string | undefined;
|
|
116
116
|
count?: number | undefined;
|
|
117
117
|
accountID: string;
|
|
118
118
|
};
|
|
@@ -123,7 +123,7 @@ export const ListTicketsRequest$outboundSchema: z.ZodType<
|
|
|
123
123
|
z.ZodTypeDef,
|
|
124
124
|
ListTicketsRequest
|
|
125
125
|
> = z.object({
|
|
126
|
-
|
|
126
|
+
cursor: z.string().optional(),
|
|
127
127
|
count: z.number().int().optional(),
|
|
128
128
|
accountID: z.string(),
|
|
129
129
|
});
|
package/src/sdk/support.ts
CHANGED
|
@@ -16,7 +16,7 @@ export class Support extends ClientSDK {
|
|
|
16
16
|
* Create a support ticket for a Moov account.
|
|
17
17
|
*
|
|
18
18
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
19
|
-
* you'll need to specify the `/accounts/{accountID}/
|
|
19
|
+
* you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
20
20
|
*/
|
|
21
21
|
async createTicket(
|
|
22
22
|
request: operations.CreateTicketRequest,
|
|
@@ -33,7 +33,7 @@ export class Support extends ClientSDK {
|
|
|
33
33
|
* List all the support tickets created under a Moov account.
|
|
34
34
|
*
|
|
35
35
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
36
|
-
* you'll need to specify the `/accounts/{accountID}/
|
|
36
|
+
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
37
37
|
*/
|
|
38
38
|
async listTickets(
|
|
39
39
|
request: operations.ListTicketsRequest,
|
|
@@ -50,7 +50,7 @@ export class Support extends ClientSDK {
|
|
|
50
50
|
* Retrieve a support ticket by ID.
|
|
51
51
|
*
|
|
52
52
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
53
|
-
* you'll need to specify the `/accounts/{accountID}/
|
|
53
|
+
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
54
54
|
*/
|
|
55
55
|
async getTicket(
|
|
56
56
|
request: operations.GetTicketRequest,
|
|
@@ -67,7 +67,7 @@ export class Support extends ClientSDK {
|
|
|
67
67
|
* Updates a support ticket.
|
|
68
68
|
*
|
|
69
69
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70
|
-
* you'll need to specify the `/accounts/{accountID}/
|
|
70
|
+
* you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
71
71
|
*/
|
|
72
72
|
async updateTicket(
|
|
73
73
|
request: operations.UpdateTicketRequest,
|
|
@@ -84,7 +84,7 @@ export class Support extends ClientSDK {
|
|
|
84
84
|
* List all the messages for a support ticket.
|
|
85
85
|
*
|
|
86
86
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87
|
-
* you'll need to specify the `/accounts/{accountID}/
|
|
87
|
+
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
88
88
|
*/
|
|
89
89
|
async listTicketMessages(
|
|
90
90
|
request: operations.ListTicketMessagesRequest,
|
package/src/sdk/transfers.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { transfersCreate } from "../funcs/transfersCreate.js";
|
|
|
6
6
|
import { transfersCreateCancellation } from "../funcs/transfersCreateCancellation.js";
|
|
7
7
|
import { transfersCreateReversal } from "../funcs/transfersCreateReversal.js";
|
|
8
8
|
import { transfersGenerateOptions } from "../funcs/transfersGenerateOptions.js";
|
|
9
|
-
import { transfersGenerateOptionsForAccount } from "../funcs/transfersGenerateOptionsForAccount.js";
|
|
10
9
|
import { transfersGet } from "../funcs/transfersGet.js";
|
|
11
10
|
import { transfersGetCancellation } from "../funcs/transfersGetCancellation.js";
|
|
12
11
|
import { transfersGetRefund } from "../funcs/transfersGetRefund.js";
|
|
@@ -15,7 +14,6 @@ import { transfersList } from "../funcs/transfersList.js";
|
|
|
15
14
|
import { transfersListRefunds } from "../funcs/transfersListRefunds.js";
|
|
16
15
|
import { transfersUpdate } from "../funcs/transfersUpdate.js";
|
|
17
16
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
18
|
-
import * as components from "../models/components/index.js";
|
|
19
17
|
import * as operations from "../models/operations/index.js";
|
|
20
18
|
import { unwrapAsync } from "../types/fp.js";
|
|
21
19
|
|
|
@@ -31,11 +29,11 @@ export class Transfers extends ClientSDK {
|
|
|
31
29
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
32
30
|
* you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
33
31
|
*/
|
|
34
|
-
async
|
|
35
|
-
request: operations.
|
|
32
|
+
async generateOptions(
|
|
33
|
+
request: operations.CreateTransferOptionsRequest,
|
|
36
34
|
options?: RequestOptions,
|
|
37
|
-
): Promise<operations.
|
|
38
|
-
return unwrapAsync(
|
|
35
|
+
): Promise<operations.CreateTransferOptionsResponse> {
|
|
36
|
+
return unwrapAsync(transfersGenerateOptions(
|
|
39
37
|
this,
|
|
40
38
|
request,
|
|
41
39
|
options,
|
|
@@ -230,24 +228,4 @@ export class Transfers extends ClientSDK {
|
|
|
230
228
|
options,
|
|
231
229
|
));
|
|
232
230
|
}
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
236
|
-
* supply in the request.
|
|
237
|
-
*
|
|
238
|
-
* Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
239
|
-
*
|
|
240
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
241
|
-
* you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
242
|
-
*/
|
|
243
|
-
async generateOptions(
|
|
244
|
-
request: components.CreateTransferOptions,
|
|
245
|
-
options?: RequestOptions,
|
|
246
|
-
): Promise<operations.CreateTransferOptionsResponse> {
|
|
247
|
-
return unwrapAsync(transfersGenerateOptions(
|
|
248
|
-
this,
|
|
249
|
-
request,
|
|
250
|
-
options,
|
|
251
|
-
));
|
|
252
|
-
}
|
|
253
231
|
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MoovCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { MoovError } from "../models/errors/mooverror.js";
|
|
6
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
/**
|
|
12
|
-
* Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
13
|
-
* supply in the request body.
|
|
14
|
-
*
|
|
15
|
-
* The accountID in the route should the partner's accountID.
|
|
16
|
-
*
|
|
17
|
-
* Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
18
|
-
*
|
|
19
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
20
|
-
* you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
21
|
-
*/
|
|
22
|
-
export declare function transfersGenerateOptionsForAccount(client: MoovCore, request: operations.CreateTransferOptionsForAccountRequest, options?: RequestOptions): APIPromise<Result<operations.CreateTransferOptionsForAccountResponse, errors.GenericError | errors.TransferOptionsValidationError | MoovError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
23
|
-
//# sourceMappingURL=transfersGenerateOptionsForAccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transfersGenerateOptionsForAccount.d.ts","sourceRoot":"","sources":["../src/funcs/transfersGenerateOptionsForAccount.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;;;;;;GAUG;AACH,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,QAAQ,EAChB,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,YAAY,GACnB,MAAM,CAAC,8BAA8B,GACrC,SAAS,GACT,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.transfersGenerateOptionsForAccount = transfersGenerateOptionsForAccount;
|
|
40
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
42
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
43
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
44
|
-
const security_js_1 = require("../lib/security.js");
|
|
45
|
-
const url_js_1 = require("../lib/url.js");
|
|
46
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
47
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
48
|
-
const async_js_1 = require("../types/async.js");
|
|
49
|
-
/**
|
|
50
|
-
* Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
51
|
-
* supply in the request body.
|
|
52
|
-
*
|
|
53
|
-
* The accountID in the route should the partner's accountID.
|
|
54
|
-
*
|
|
55
|
-
* Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
56
|
-
*
|
|
57
|
-
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
58
|
-
* you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
59
|
-
*/
|
|
60
|
-
function transfersGenerateOptionsForAccount(client, request, options) {
|
|
61
|
-
return new async_js_1.APIPromise($do(client, request, options));
|
|
62
|
-
}
|
|
63
|
-
async function $do(client, request, options) {
|
|
64
|
-
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.CreateTransferOptionsForAccountRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65
|
-
if (!parsed.ok) {
|
|
66
|
-
return [parsed, { status: "invalid" }];
|
|
67
|
-
}
|
|
68
|
-
const payload = parsed.value;
|
|
69
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.CreateTransferOptions, {
|
|
70
|
-
explode: true,
|
|
71
|
-
});
|
|
72
|
-
const pathParams = {
|
|
73
|
-
accountID: (0, encodings_js_1.encodeSimple)("accountID", payload.accountID, {
|
|
74
|
-
explode: false,
|
|
75
|
-
charEncoding: "percent",
|
|
76
|
-
}),
|
|
77
|
-
};
|
|
78
|
-
const path = (0, url_js_1.pathToFunc)("/accounts/{accountID}/transfer-options")(pathParams);
|
|
79
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
80
|
-
"Content-Type": "application/json",
|
|
81
|
-
Accept: "application/json",
|
|
82
|
-
"x-moov-version": (0, encodings_js_1.encodeSimple)("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" }),
|
|
83
|
-
}));
|
|
84
|
-
const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
|
|
85
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
86
|
-
const context = {
|
|
87
|
-
options: client._options,
|
|
88
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
89
|
-
operationID: "createTransferOptionsForAccount",
|
|
90
|
-
oAuth2Scopes: [],
|
|
91
|
-
resolvedSecurity: requestSecurity,
|
|
92
|
-
securitySource: client._options.security,
|
|
93
|
-
retryConfig: options?.retries
|
|
94
|
-
|| client._options.retryConfig
|
|
95
|
-
|| { strategy: "none" },
|
|
96
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
97
|
-
};
|
|
98
|
-
const requestRes = client._createRequest(context, {
|
|
99
|
-
security: requestSecurity,
|
|
100
|
-
method: "POST",
|
|
101
|
-
baseURL: options?.serverURL,
|
|
102
|
-
path: path,
|
|
103
|
-
headers: headers,
|
|
104
|
-
body: body,
|
|
105
|
-
userAgent: client._options.userAgent,
|
|
106
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
107
|
-
}, options);
|
|
108
|
-
if (!requestRes.ok) {
|
|
109
|
-
return [requestRes, { status: "invalid" }];
|
|
110
|
-
}
|
|
111
|
-
const req = requestRes.value;
|
|
112
|
-
const doResult = await client._do(req, {
|
|
113
|
-
context,
|
|
114
|
-
errorCodes: ["400", "401", "403", "422", "429", "4XX", "500", "504", "5XX"],
|
|
115
|
-
retryConfig: context.retryConfig,
|
|
116
|
-
retryCodes: context.retryCodes,
|
|
117
|
-
});
|
|
118
|
-
if (!doResult.ok) {
|
|
119
|
-
return [doResult, { status: "request-error", request: req }];
|
|
120
|
-
}
|
|
121
|
-
const response = doResult.value;
|
|
122
|
-
const responseFields = {
|
|
123
|
-
HttpMeta: { Response: response, Request: req },
|
|
124
|
-
};
|
|
125
|
-
const [result] = await M.match(M.json(200, operations.CreateTransferOptionsForAccountResponse$inboundSchema, { hdrs: true, key: "Result" }), M.jsonErr(400, errors.GenericError$inboundSchema, { hdrs: true }), M.jsonErr(422, errors.TransferOptionsValidationError$inboundSchema, {
|
|
126
|
-
hdrs: true,
|
|
127
|
-
}), M.fail([401, 403, 429]), M.fail([500, 504]), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
128
|
-
if (!result.ok) {
|
|
129
|
-
return [result, { status: "complete", request: req, response }];
|
|
130
|
-
}
|
|
131
|
-
return [result, { status: "complete", request: req, response }];
|
|
132
|
-
}
|
|
133
|
-
//# sourceMappingURL=transfersGenerateOptionsForAccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transfersGenerateOptionsForAccount.js","sourceRoot":"","sources":["../src/funcs/transfersGenerateOptionsForAccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCH,gFAwBC;AAzDD,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3C,kEAAoD;AAIpD,0EAA4D;AAC5D,gDAAwD;AAGxD;;;;;;;;;;GAUG;AACH,SAAgB,kCAAkC,CAChD,MAAgB,EAChB,OAA0D,EAC1D,OAAwB;IAgBxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAgB,EAChB,OAA0D,EAC1D,OAAwB;IAmBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,qDAAqD,CAAC,KAAK,CACpE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,C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@@
|
|
|
1
|
-
import * as operations from "../../models/operations/index.js";
|
|
2
|
-
import { ToolDefinition } from "../tools.js";
|
|
3
|
-
declare const args: {
|
|
4
|
-
request: import("zod").ZodType<operations.CreateTransferOptionsForAccountRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export declare const tool$transfersGenerateOptionsForAccount: ToolDefinition<typeof args>;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=transfersGenerateOptionsForAccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transfersGenerateOptionsForAccount.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/transfersGenerateOptionsForAccount.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,cAAc,CAClE,OAAO,IAAI,CAgCZ,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.tool$transfersGenerateOptionsForAccount = void 0;
|
|
40
|
-
const transfersGenerateOptionsForAccount_js_1 = require("../../funcs/transfersGenerateOptionsForAccount.js");
|
|
41
|
-
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
-
const tools_js_1 = require("../tools.js");
|
|
43
|
-
const args = {
|
|
44
|
-
request: operations.CreateTransferOptionsForAccountRequest$inboundSchema,
|
|
45
|
-
};
|
|
46
|
-
exports.tool$transfersGenerateOptionsForAccount = {
|
|
47
|
-
name: "transfers-generate-options-for-account",
|
|
48
|
-
description: `Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
49
|
-
supply in the request body.
|
|
50
|
-
|
|
51
|
-
The accountID in the route should the partner's accountID.
|
|
52
|
-
|
|
53
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
54
|
-
|
|
55
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
56
|
-
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
57
|
-
args,
|
|
58
|
-
tool: async (client, args, ctx) => {
|
|
59
|
-
const [result, apiCall] = await (0, transfersGenerateOptionsForAccount_js_1.transfersGenerateOptionsForAccount)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60
|
-
if (!result.ok) {
|
|
61
|
-
return {
|
|
62
|
-
content: [{ type: "text", text: result.error.message }],
|
|
63
|
-
isError: true,
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
const value = result.value.result;
|
|
67
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
68
|
-
},
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=transfersGenerateOptionsForAccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transfersGenerateOptionsForAccount.js","sourceRoot":"","sources":["../../src/mcp-server/tools/transfersGenerateOptionsForAccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,6GAAuG;AACvG,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,oDAAoD;CACzE,CAAC;AAEW,QAAA,uCAAuC,GAEhD;IACF,IAAI,EAAE,wCAAwC;IAC9C,WAAW,EACT;;;;;;;;4EAQwE;IAC1E,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,0EAAkC,EAChE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import * as components from "../components/index.js";
|
|
4
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
export type CreateTransferOptionsForAccountGlobals = {
|
|
6
|
-
/**
|
|
7
|
-
* Specify an API version.
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
*
|
|
11
|
-
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
12
|
-
* - `YYYY` is the year
|
|
13
|
-
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
14
|
-
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
15
|
-
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
16
|
-
*
|
|
17
|
-
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
18
|
-
*/
|
|
19
|
-
xMoovVersion?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
export type CreateTransferOptionsForAccountRequest = {
|
|
22
|
-
/**
|
|
23
|
-
* The partner's Moov account ID.
|
|
24
|
-
*/
|
|
25
|
-
accountID: string;
|
|
26
|
-
createTransferOptions: components.CreateTransferOptions;
|
|
27
|
-
};
|
|
28
|
-
export type CreateTransferOptionsForAccountResponse = {
|
|
29
|
-
headers: {
|
|
30
|
-
[k: string]: Array<string>;
|
|
31
|
-
};
|
|
32
|
-
result: components.TransferOptions;
|
|
33
|
-
};
|
|
34
|
-
/** @internal */
|
|
35
|
-
export declare const CreateTransferOptionsForAccountGlobals$inboundSchema: z.ZodType<CreateTransferOptionsForAccountGlobals, z.ZodTypeDef, unknown>;
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type CreateTransferOptionsForAccountGlobals$Outbound = {
|
|
38
|
-
"x-moov-version": string;
|
|
39
|
-
};
|
|
40
|
-
/** @internal */
|
|
41
|
-
export declare const CreateTransferOptionsForAccountGlobals$outboundSchema: z.ZodType<CreateTransferOptionsForAccountGlobals$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountGlobals>;
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
-
*/
|
|
46
|
-
export declare namespace CreateTransferOptionsForAccountGlobals$ {
|
|
47
|
-
/** @deprecated use `CreateTransferOptionsForAccountGlobals$inboundSchema` instead. */
|
|
48
|
-
const inboundSchema: z.ZodType<CreateTransferOptionsForAccountGlobals, z.ZodTypeDef, unknown>;
|
|
49
|
-
/** @deprecated use `CreateTransferOptionsForAccountGlobals$outboundSchema` instead. */
|
|
50
|
-
const outboundSchema: z.ZodType<CreateTransferOptionsForAccountGlobals$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountGlobals>;
|
|
51
|
-
/** @deprecated use `CreateTransferOptionsForAccountGlobals$Outbound` instead. */
|
|
52
|
-
type Outbound = CreateTransferOptionsForAccountGlobals$Outbound;
|
|
53
|
-
}
|
|
54
|
-
export declare function createTransferOptionsForAccountGlobalsToJSON(createTransferOptionsForAccountGlobals: CreateTransferOptionsForAccountGlobals): string;
|
|
55
|
-
export declare function createTransferOptionsForAccountGlobalsFromJSON(jsonString: string): SafeParseResult<CreateTransferOptionsForAccountGlobals, SDKValidationError>;
|
|
56
|
-
/** @internal */
|
|
57
|
-
export declare const CreateTransferOptionsForAccountRequest$inboundSchema: z.ZodType<CreateTransferOptionsForAccountRequest, z.ZodTypeDef, unknown>;
|
|
58
|
-
/** @internal */
|
|
59
|
-
export type CreateTransferOptionsForAccountRequest$Outbound = {
|
|
60
|
-
accountID: string;
|
|
61
|
-
CreateTransferOptions: components.CreateTransferOptions$Outbound;
|
|
62
|
-
};
|
|
63
|
-
/** @internal */
|
|
64
|
-
export declare const CreateTransferOptionsForAccountRequest$outboundSchema: z.ZodType<CreateTransferOptionsForAccountRequest$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountRequest>;
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
-
*/
|
|
69
|
-
export declare namespace CreateTransferOptionsForAccountRequest$ {
|
|
70
|
-
/** @deprecated use `CreateTransferOptionsForAccountRequest$inboundSchema` instead. */
|
|
71
|
-
const inboundSchema: z.ZodType<CreateTransferOptionsForAccountRequest, z.ZodTypeDef, unknown>;
|
|
72
|
-
/** @deprecated use `CreateTransferOptionsForAccountRequest$outboundSchema` instead. */
|
|
73
|
-
const outboundSchema: z.ZodType<CreateTransferOptionsForAccountRequest$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountRequest>;
|
|
74
|
-
/** @deprecated use `CreateTransferOptionsForAccountRequest$Outbound` instead. */
|
|
75
|
-
type Outbound = CreateTransferOptionsForAccountRequest$Outbound;
|
|
76
|
-
}
|
|
77
|
-
export declare function createTransferOptionsForAccountRequestToJSON(createTransferOptionsForAccountRequest: CreateTransferOptionsForAccountRequest): string;
|
|
78
|
-
export declare function createTransferOptionsForAccountRequestFromJSON(jsonString: string): SafeParseResult<CreateTransferOptionsForAccountRequest, SDKValidationError>;
|
|
79
|
-
/** @internal */
|
|
80
|
-
export declare const CreateTransferOptionsForAccountResponse$inboundSchema: z.ZodType<CreateTransferOptionsForAccountResponse, z.ZodTypeDef, unknown>;
|
|
81
|
-
/** @internal */
|
|
82
|
-
export type CreateTransferOptionsForAccountResponse$Outbound = {
|
|
83
|
-
Headers: {
|
|
84
|
-
[k: string]: Array<string>;
|
|
85
|
-
};
|
|
86
|
-
Result: components.TransferOptions$Outbound;
|
|
87
|
-
};
|
|
88
|
-
/** @internal */
|
|
89
|
-
export declare const CreateTransferOptionsForAccountResponse$outboundSchema: z.ZodType<CreateTransferOptionsForAccountResponse$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountResponse>;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
93
|
-
*/
|
|
94
|
-
export declare namespace CreateTransferOptionsForAccountResponse$ {
|
|
95
|
-
/** @deprecated use `CreateTransferOptionsForAccountResponse$inboundSchema` instead. */
|
|
96
|
-
const inboundSchema: z.ZodType<CreateTransferOptionsForAccountResponse, z.ZodTypeDef, unknown>;
|
|
97
|
-
/** @deprecated use `CreateTransferOptionsForAccountResponse$outboundSchema` instead. */
|
|
98
|
-
const outboundSchema: z.ZodType<CreateTransferOptionsForAccountResponse$Outbound, z.ZodTypeDef, CreateTransferOptionsForAccountResponse>;
|
|
99
|
-
/** @deprecated use `CreateTransferOptionsForAccountResponse$Outbound` instead. */
|
|
100
|
-
type Outbound = CreateTransferOptionsForAccountResponse$Outbound;
|
|
101
|
-
}
|
|
102
|
-
export declare function createTransferOptionsForAccountResponseToJSON(createTransferOptionsForAccountResponse: CreateTransferOptionsForAccountResponse): string;
|
|
103
|
-
export declare function createTransferOptionsForAccountResponseFromJSON(jsonString: string): SafeParseResult<CreateTransferOptionsForAccountResponse, SDKValidationError>;
|
|
104
|
-
//# sourceMappingURL=createtransferoptionsforaccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createtransferoptionsforaccount.d.ts","sourceRoot":"","sources":["../../src/models/operations/createtransferoptionsforaccount.ts"],"names":[],"mappings":"AAIA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