@moovio/sdk 0.14.0 → 0.14.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 +81 -36
- package/bin/mcp-server.js +1530 -341
- package/bin/mcp-server.js.map +37 -13
- package/docs/sdks/support/README.md +476 -0
- package/funcs/supportCreateTicket.d.ts +18 -0
- package/funcs/supportCreateTicket.d.ts.map +1 -0
- package/funcs/supportCreateTicket.js +139 -0
- package/funcs/supportCreateTicket.js.map +1 -0
- package/funcs/supportGetTicket.d.ts +17 -0
- package/funcs/supportGetTicket.d.ts.map +1 -0
- package/funcs/supportGetTicket.js +129 -0
- package/funcs/supportGetTicket.js.map +1 -0
- package/funcs/supportListTicketMessages.d.ts +17 -0
- package/funcs/supportListTicketMessages.d.ts.map +1 -0
- package/funcs/supportListTicketMessages.js +134 -0
- package/funcs/supportListTicketMessages.js.map +1 -0
- package/funcs/supportListTickets.d.ts +17 -0
- package/funcs/supportListTickets.d.ts.map +1 -0
- package/funcs/supportListTickets.js +130 -0
- package/funcs/supportListTickets.js.map +1 -0
- package/funcs/supportUpdateTicket.d.ts +18 -0
- package/funcs/supportUpdateTicket.d.ts.map +1 -0
- package/funcs/supportUpdateTicket.js +143 -0
- package/funcs/supportUpdateTicket.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +0 -12
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +0 -2
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +0 -2
- package/mcp-server/cli/start/impl.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 +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/supportCreateTicket.d.ts +8 -0
- package/mcp-server/tools/supportCreateTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportCreateTicket.js +65 -0
- package/mcp-server/tools/supportCreateTicket.js.map +1 -0
- package/mcp-server/tools/supportGetTicket.d.ts +8 -0
- package/mcp-server/tools/supportGetTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportGetTicket.js +65 -0
- package/mcp-server/tools/supportGetTicket.js.map +1 -0
- package/mcp-server/tools/supportListTicketMessages.d.ts +8 -0
- package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -0
- package/mcp-server/tools/supportListTicketMessages.js +65 -0
- package/mcp-server/tools/supportListTicketMessages.js.map +1 -0
- package/mcp-server/tools/supportListTickets.d.ts +8 -0
- package/mcp-server/tools/supportListTickets.d.ts.map +1 -0
- package/mcp-server/tools/supportListTickets.js +65 -0
- package/mcp-server/tools/supportListTickets.js.map +1 -0
- package/mcp-server/tools/supportUpdateTicket.d.ts +8 -0
- package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -0
- package/mcp-server/tools/supportUpdateTicket.js +65 -0
- package/mcp-server/tools/supportUpdateTicket.js.map +1 -0
- package/models/components/createticket.d.ts +37 -0
- package/models/components/createticket.d.ts.map +1 -0
- package/models/components/createticket.js +74 -0
- package/models/components/createticket.js.map +1 -0
- package/models/components/createticketcontacterror.d.ts +31 -0
- package/models/components/createticketcontacterror.d.ts.map +1 -0
- package/models/components/createticketcontacterror.js +71 -0
- package/models/components/createticketcontacterror.js.map +1 -0
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/ticket.d.ts +47 -0
- package/models/components/ticket.d.ts.map +1 -0
- package/models/components/ticket.js +89 -0
- package/models/components/ticket.js.map +1 -0
- package/models/components/ticketcontact.d.ts +31 -0
- package/models/components/ticketcontact.d.ts.map +1 -0
- package/models/components/ticketcontact.js +71 -0
- package/models/components/ticketcontact.js.map +1 -0
- package/models/components/ticketmessage.d.ts +33 -0
- package/models/components/ticketmessage.d.ts.map +1 -0
- package/models/components/ticketmessage.js +73 -0
- package/models/components/ticketmessage.js.map +1 -0
- package/models/components/ticketstatus.d.ts +34 -0
- package/models/components/ticketstatus.d.ts.map +1 -0
- package/models/components/ticketstatus.js +62 -0
- package/models/components/ticketstatus.js.map +1 -0
- package/models/components/updateticket.d.ts +33 -0
- package/models/components/updateticket.d.ts.map +1 -0
- package/models/components/updateticket.js +70 -0
- package/models/components/updateticket.js.map +1 -0
- package/models/components/updateticketstatus.d.ts +25 -0
- package/models/components/updateticketstatus.d.ts.map +1 -0
- package/models/components/updateticketstatus.js +59 -0
- package/models/components/updateticketstatus.js.map +1 -0
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +8 -2
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/createticketerror.d.ts +42 -0
- package/models/errors/createticketerror.d.ts.map +1 -0
- package/models/errors/createticketerror.js +93 -0
- package/models/errors/createticketerror.js.map +1 -0
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/updateticketerror.d.ts +36 -0
- package/models/errors/updateticketerror.d.ts.map +1 -0
- package/models/errors/updateticketerror.js +86 -0
- package/models/errors/updateticketerror.js.map +1 -0
- package/models/operations/createticket.d.ts +101 -0
- package/models/operations/createticket.d.ts.map +1 -0
- package/models/operations/createticket.js +155 -0
- package/models/operations/createticket.js.map +1 -0
- package/models/operations/getticket.d.ts +101 -0
- package/models/operations/getticket.d.ts.map +1 -0
- package/models/operations/getticket.js +147 -0
- package/models/operations/getticket.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listticketmessages.d.ts +105 -0
- package/models/operations/listticketmessages.d.ts.map +1 -0
- package/models/operations/listticketmessages.js +151 -0
- package/models/operations/listticketmessages.js.map +1 -0
- package/models/operations/listtickets.d.ts +103 -0
- package/models/operations/listtickets.d.ts.map +1 -0
- package/models/operations/listtickets.js +149 -0
- package/models/operations/listtickets.js.map +1 -0
- package/models/operations/updateticket.d.ts +103 -0
- package/models/operations/updateticket.d.ts.map +1 -0
- package/models/operations/updateticket.js +157 -0
- package/models/operations/updateticket.js.map +1 -0
- package/package.json +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/support.d.ts +40 -0
- package/sdk/support.d.ts.map +1 -0
- package/sdk/support.js +62 -0
- package/sdk/support.js.map +1 -0
- package/src/funcs/supportCreateTicket.ts +201 -0
- package/src/funcs/supportGetTicket.ts +185 -0
- package/src/funcs/supportListTicketMessages.ts +191 -0
- package/src/funcs/supportListTickets.ts +185 -0
- package/src/funcs/supportUpdateTicket.ts +207 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/supportCreateTicket.ts +38 -0
- package/src/mcp-server/tools/supportGetTicket.ts +38 -0
- package/src/mcp-server/tools/supportListTicketMessages.ts +38 -0
- package/src/mcp-server/tools/supportListTickets.ts +38 -0
- package/src/mcp-server/tools/supportUpdateTicket.ts +38 -0
- package/src/models/components/createticket.ts +79 -0
- package/src/models/components/createticketcontacterror.ts +70 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/ticket.ts +109 -0
- package/src/models/components/ticketcontact.ts +66 -0
- package/src/models/components/ticketmessage.ts +70 -0
- package/src/models/components/ticketstatus.ts +33 -0
- package/src/models/components/updateticket.ts +70 -0
- package/src/models/components/updateticketstatus.ts +32 -0
- package/src/models/errors/apierror.ts +8 -2
- package/src/models/errors/createticketerror.ts +90 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/updateticketerror.ts +79 -0
- package/src/models/operations/createticket.ts +231 -0
- package/src/models/operations/getticket.ts +223 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listticketmessages.ts +231 -0
- package/src/models/operations/listtickets.ts +227 -0
- package/src/models/operations/updateticket.ts +235 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/support.ts +99 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34246,9 +34246,9 @@ var init_config = __esm(() => {
|
|
|
34246
34246
|
SDK_METADATA = {
|
|
34247
34247
|
language: "typescript",
|
|
34248
34248
|
openapiDocVersion: "latest",
|
|
34249
|
-
sdkVersion: "0.14.
|
|
34250
|
-
genVersion: "2.
|
|
34251
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
34249
|
+
sdkVersion: "0.14.1",
|
|
34250
|
+
genVersion: "2.648.1",
|
|
34251
|
+
userAgent: "speakeasy-sdk/typescript 0.14.1 2.648.1 latest @moovio/sdk"
|
|
34252
34252
|
};
|
|
34253
34253
|
});
|
|
34254
34254
|
|
|
@@ -35245,8 +35245,14 @@ var init_apierror = __esm(() => {
|
|
|
35245
35245
|
}
|
|
35246
35246
|
const body = httpMeta.body || `""`;
|
|
35247
35247
|
message += body.length > 100 ? `
|
|
35248
|
-
` : " ";
|
|
35249
|
-
|
|
35248
|
+
` : ". ";
|
|
35249
|
+
let bodyDisplay = body;
|
|
35250
|
+
if (body.length > 1e4) {
|
|
35251
|
+
const truncated = body.substring(0, 1e4);
|
|
35252
|
+
const remaining = body.length - 1e4;
|
|
35253
|
+
bodyDisplay = `${truncated}...and ${remaining} more chars`;
|
|
35254
|
+
}
|
|
35255
|
+
message += `Body: ${bodyDisplay}`;
|
|
35250
35256
|
message = message.trim();
|
|
35251
35257
|
super(message, httpMeta);
|
|
35252
35258
|
this.name = "APIError";
|
|
@@ -41029,6 +41035,63 @@ var init_createterminalapplication = __esm(() => {
|
|
|
41029
41035
|
})(CreateTerminalApplication$ ||= {});
|
|
41030
41036
|
});
|
|
41031
41037
|
|
|
41038
|
+
// src/models/components/ticketcontact.ts
|
|
41039
|
+
var TicketContact$inboundSchema, TicketContact$outboundSchema, TicketContact$;
|
|
41040
|
+
var init_ticketcontact = __esm(() => {
|
|
41041
|
+
init_esm();
|
|
41042
|
+
TicketContact$inboundSchema = objectType({
|
|
41043
|
+
email: stringType(),
|
|
41044
|
+
name: stringType().optional()
|
|
41045
|
+
});
|
|
41046
|
+
TicketContact$outboundSchema = objectType({
|
|
41047
|
+
email: stringType(),
|
|
41048
|
+
name: stringType().optional()
|
|
41049
|
+
});
|
|
41050
|
+
((TicketContact$) => {
|
|
41051
|
+
TicketContact$.inboundSchema = TicketContact$inboundSchema;
|
|
41052
|
+
TicketContact$.outboundSchema = TicketContact$outboundSchema;
|
|
41053
|
+
})(TicketContact$ ||= {});
|
|
41054
|
+
});
|
|
41055
|
+
|
|
41056
|
+
// src/models/components/createticket.ts
|
|
41057
|
+
var CreateTicket$inboundSchema, CreateTicket$outboundSchema, CreateTicket$;
|
|
41058
|
+
var init_createticket = __esm(() => {
|
|
41059
|
+
init_esm();
|
|
41060
|
+
init_ticketcontact();
|
|
41061
|
+
CreateTicket$inboundSchema = objectType({
|
|
41062
|
+
title: stringType(),
|
|
41063
|
+
body: stringType(),
|
|
41064
|
+
contact: TicketContact$inboundSchema
|
|
41065
|
+
});
|
|
41066
|
+
CreateTicket$outboundSchema = objectType({
|
|
41067
|
+
title: stringType(),
|
|
41068
|
+
body: stringType(),
|
|
41069
|
+
contact: TicketContact$outboundSchema
|
|
41070
|
+
});
|
|
41071
|
+
((CreateTicket$) => {
|
|
41072
|
+
CreateTicket$.inboundSchema = CreateTicket$inboundSchema;
|
|
41073
|
+
CreateTicket$.outboundSchema = CreateTicket$outboundSchema;
|
|
41074
|
+
})(CreateTicket$ ||= {});
|
|
41075
|
+
});
|
|
41076
|
+
|
|
41077
|
+
// src/models/components/createticketcontacterror.ts
|
|
41078
|
+
var CreateTicketContactError$inboundSchema, CreateTicketContactError$outboundSchema, CreateTicketContactError$;
|
|
41079
|
+
var init_createticketcontacterror = __esm(() => {
|
|
41080
|
+
init_esm();
|
|
41081
|
+
CreateTicketContactError$inboundSchema = objectType({
|
|
41082
|
+
email: stringType().optional(),
|
|
41083
|
+
name: stringType().optional()
|
|
41084
|
+
});
|
|
41085
|
+
CreateTicketContactError$outboundSchema = objectType({
|
|
41086
|
+
email: stringType().optional(),
|
|
41087
|
+
name: stringType().optional()
|
|
41088
|
+
});
|
|
41089
|
+
((CreateTicketContactError$) => {
|
|
41090
|
+
CreateTicketContactError$.inboundSchema = CreateTicketContactError$inboundSchema;
|
|
41091
|
+
CreateTicketContactError$.outboundSchema = CreateTicketContactError$outboundSchema;
|
|
41092
|
+
})(CreateTicketContactError$ ||= {});
|
|
41093
|
+
});
|
|
41094
|
+
|
|
41032
41095
|
// src/models/components/createtransferdestinationach.ts
|
|
41033
41096
|
var CreateTransferDestinationACH$inboundSchema, CreateTransferDestinationACH$outboundSchema, CreateTransferDestinationACH$;
|
|
41034
41097
|
var init_createtransferdestinationach = __esm(() => {
|
|
@@ -45094,6 +45157,78 @@ var init_terminalconfiguration = __esm(() => {
|
|
|
45094
45157
|
})(TerminalConfiguration$ ||= {});
|
|
45095
45158
|
});
|
|
45096
45159
|
|
|
45160
|
+
// src/models/components/ticketstatus.ts
|
|
45161
|
+
var TicketStatus, TicketStatus$inboundSchema, TicketStatus$outboundSchema, TicketStatus$;
|
|
45162
|
+
var init_ticketstatus = __esm(() => {
|
|
45163
|
+
init_esm();
|
|
45164
|
+
TicketStatus = {
|
|
45165
|
+
New: "new",
|
|
45166
|
+
InProgress: "in-progress",
|
|
45167
|
+
OnHold: "on-hold",
|
|
45168
|
+
Closed: "closed"
|
|
45169
|
+
};
|
|
45170
|
+
TicketStatus$inboundSchema = nativeEnumType(TicketStatus);
|
|
45171
|
+
TicketStatus$outboundSchema = TicketStatus$inboundSchema;
|
|
45172
|
+
((TicketStatus$) => {
|
|
45173
|
+
TicketStatus$.inboundSchema = TicketStatus$inboundSchema;
|
|
45174
|
+
TicketStatus$.outboundSchema = TicketStatus$outboundSchema;
|
|
45175
|
+
})(TicketStatus$ ||= {});
|
|
45176
|
+
});
|
|
45177
|
+
|
|
45178
|
+
// src/models/components/ticket.ts
|
|
45179
|
+
var Ticket$inboundSchema, Ticket$outboundSchema, Ticket$;
|
|
45180
|
+
var init_ticket = __esm(() => {
|
|
45181
|
+
init_esm();
|
|
45182
|
+
init_ticketcontact();
|
|
45183
|
+
init_ticketstatus();
|
|
45184
|
+
Ticket$inboundSchema = objectType({
|
|
45185
|
+
ticketID: stringType(),
|
|
45186
|
+
number: numberType().int(),
|
|
45187
|
+
title: stringType(),
|
|
45188
|
+
contact: TicketContact$inboundSchema,
|
|
45189
|
+
status: TicketStatus$inboundSchema,
|
|
45190
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
45191
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
45192
|
+
latestMessageOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45193
|
+
closedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
45194
|
+
});
|
|
45195
|
+
Ticket$outboundSchema = objectType({
|
|
45196
|
+
ticketID: stringType(),
|
|
45197
|
+
number: numberType().int(),
|
|
45198
|
+
title: stringType(),
|
|
45199
|
+
contact: TicketContact$outboundSchema,
|
|
45200
|
+
status: TicketStatus$outboundSchema,
|
|
45201
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
45202
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
45203
|
+
latestMessageOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45204
|
+
closedOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
45205
|
+
});
|
|
45206
|
+
((Ticket$) => {
|
|
45207
|
+
Ticket$.inboundSchema = Ticket$inboundSchema;
|
|
45208
|
+
Ticket$.outboundSchema = Ticket$outboundSchema;
|
|
45209
|
+
})(Ticket$ ||= {});
|
|
45210
|
+
});
|
|
45211
|
+
|
|
45212
|
+
// src/models/components/ticketmessage.ts
|
|
45213
|
+
var TicketMessage$inboundSchema, TicketMessage$outboundSchema, TicketMessage$;
|
|
45214
|
+
var init_ticketmessage = __esm(() => {
|
|
45215
|
+
init_esm();
|
|
45216
|
+
TicketMessage$inboundSchema = objectType({
|
|
45217
|
+
author: stringType(),
|
|
45218
|
+
body: stringType(),
|
|
45219
|
+
sentOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
45220
|
+
});
|
|
45221
|
+
TicketMessage$outboundSchema = objectType({
|
|
45222
|
+
author: stringType(),
|
|
45223
|
+
body: stringType(),
|
|
45224
|
+
sentOn: dateType().transform((v2) => v2.toISOString())
|
|
45225
|
+
});
|
|
45226
|
+
((TicketMessage$) => {
|
|
45227
|
+
TicketMessage$.inboundSchema = TicketMessage$inboundSchema;
|
|
45228
|
+
TicketMessage$.outboundSchema = TicketMessage$outboundSchema;
|
|
45229
|
+
})(TicketMessage$ ||= {});
|
|
45230
|
+
});
|
|
45231
|
+
|
|
45097
45232
|
// src/models/components/transfer.ts
|
|
45098
45233
|
var Transfer$inboundSchema, Transfer$outboundSchema, Transfer$;
|
|
45099
45234
|
var init_transfer = __esm(() => {
|
|
@@ -45675,6 +45810,38 @@ var init_updaterepresentative = __esm(() => {
|
|
|
45675
45810
|
})(UpdateRepresentative$ ||= {});
|
|
45676
45811
|
});
|
|
45677
45812
|
|
|
45813
|
+
// src/models/components/updateticketstatus.ts
|
|
45814
|
+
var UpdateTicketStatus, UpdateTicketStatus$inboundSchema, UpdateTicketStatus$outboundSchema, UpdateTicketStatus$;
|
|
45815
|
+
var init_updateticketstatus = __esm(() => {
|
|
45816
|
+
init_esm();
|
|
45817
|
+
UpdateTicketStatus = {
|
|
45818
|
+
Closed: "closed"
|
|
45819
|
+
};
|
|
45820
|
+
UpdateTicketStatus$inboundSchema = nativeEnumType(UpdateTicketStatus);
|
|
45821
|
+
UpdateTicketStatus$outboundSchema = UpdateTicketStatus$inboundSchema;
|
|
45822
|
+
((UpdateTicketStatus$) => {
|
|
45823
|
+
UpdateTicketStatus$.inboundSchema = UpdateTicketStatus$inboundSchema;
|
|
45824
|
+
UpdateTicketStatus$.outboundSchema = UpdateTicketStatus$outboundSchema;
|
|
45825
|
+
})(UpdateTicketStatus$ ||= {});
|
|
45826
|
+
});
|
|
45827
|
+
|
|
45828
|
+
// src/models/components/updateticket.ts
|
|
45829
|
+
var UpdateTicket$inboundSchema, UpdateTicket$outboundSchema, UpdateTicket$;
|
|
45830
|
+
var init_updateticket = __esm(() => {
|
|
45831
|
+
init_esm();
|
|
45832
|
+
init_updateticketstatus();
|
|
45833
|
+
UpdateTicket$inboundSchema = objectType({
|
|
45834
|
+
status: UpdateTicketStatus$inboundSchema.optional()
|
|
45835
|
+
});
|
|
45836
|
+
UpdateTicket$outboundSchema = objectType({
|
|
45837
|
+
status: UpdateTicketStatus$outboundSchema.optional()
|
|
45838
|
+
});
|
|
45839
|
+
((UpdateTicket$) => {
|
|
45840
|
+
UpdateTicket$.inboundSchema = UpdateTicket$inboundSchema;
|
|
45841
|
+
UpdateTicket$.outboundSchema = UpdateTicket$outboundSchema;
|
|
45842
|
+
})(UpdateTicket$ ||= {});
|
|
45843
|
+
});
|
|
45844
|
+
|
|
45678
45845
|
// src/models/components/updateunderwriting.ts
|
|
45679
45846
|
var UpdateUnderwriting$inboundSchema, UpdateUnderwriting$outboundSchema, UpdateUnderwriting$;
|
|
45680
45847
|
var init_updateunderwriting = __esm(() => {
|
|
@@ -46918,6 +47085,8 @@ var init_components = __esm(() => {
|
|
|
46918
47085
|
init_createreversal();
|
|
46919
47086
|
init_createsweepconfig();
|
|
46920
47087
|
init_createterminalapplication();
|
|
47088
|
+
init_createticket();
|
|
47089
|
+
init_createticketcontacterror();
|
|
46921
47090
|
init_createtransfer();
|
|
46922
47091
|
init_createtransferdestination();
|
|
46923
47092
|
init_createtransferdestinationach();
|
|
@@ -47145,6 +47314,10 @@ var init_components = __esm(() => {
|
|
|
47145
47314
|
init_termsofserviceerror();
|
|
47146
47315
|
init_termsofservicetoken();
|
|
47147
47316
|
init_termsofservicetokenupdate();
|
|
47317
|
+
init_ticket();
|
|
47318
|
+
init_ticketcontact();
|
|
47319
|
+
init_ticketmessage();
|
|
47320
|
+
init_ticketstatus();
|
|
47148
47321
|
init_tokentype();
|
|
47149
47322
|
init_transactionsource();
|
|
47150
47323
|
init_transfer();
|
|
@@ -47169,6 +47342,8 @@ var init_components = __esm(() => {
|
|
|
47169
47342
|
init_updateissuedcard();
|
|
47170
47343
|
init_updatepaymentlink();
|
|
47171
47344
|
init_updaterepresentative();
|
|
47345
|
+
init_updateticket();
|
|
47346
|
+
init_updateticketstatus();
|
|
47172
47347
|
init_updateunderwriting();
|
|
47173
47348
|
init_upsertschedule();
|
|
47174
47349
|
init_upsertunderwriting();
|
|
@@ -47687,6 +47862,52 @@ var init_createsweepconfigerror = __esm(() => {
|
|
|
47687
47862
|
})(CreateSweepConfigError$ ||= {});
|
|
47688
47863
|
});
|
|
47689
47864
|
|
|
47865
|
+
// src/models/errors/createticketerror.ts
|
|
47866
|
+
var CreateTicketError, CreateTicketError$inboundSchema, CreateTicketError$outboundSchema, CreateTicketError$;
|
|
47867
|
+
var init_createticketerror = __esm(() => {
|
|
47868
|
+
init_esm();
|
|
47869
|
+
init_components();
|
|
47870
|
+
init_mooverror();
|
|
47871
|
+
CreateTicketError = class CreateTicketError extends MoovError {
|
|
47872
|
+
title;
|
|
47873
|
+
contact;
|
|
47874
|
+
data$;
|
|
47875
|
+
constructor(err, httpMeta) {
|
|
47876
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
47877
|
+
super(message, httpMeta);
|
|
47878
|
+
this.data$ = err;
|
|
47879
|
+
if (err.title != null)
|
|
47880
|
+
this.title = err.title;
|
|
47881
|
+
if (err.contact != null)
|
|
47882
|
+
this.contact = err.contact;
|
|
47883
|
+
this.name = "CreateTicketError";
|
|
47884
|
+
}
|
|
47885
|
+
};
|
|
47886
|
+
CreateTicketError$inboundSchema = objectType({
|
|
47887
|
+
title: stringType().optional(),
|
|
47888
|
+
body: stringType().optional(),
|
|
47889
|
+
contact: CreateTicketContactError$inboundSchema.optional(),
|
|
47890
|
+
request$: instanceOfType(Request),
|
|
47891
|
+
response$: instanceOfType(Response),
|
|
47892
|
+
body$: stringType()
|
|
47893
|
+
}).transform((v2) => {
|
|
47894
|
+
return new CreateTicketError(v2, {
|
|
47895
|
+
request: v2.request$,
|
|
47896
|
+
response: v2.response$,
|
|
47897
|
+
body: v2.body$
|
|
47898
|
+
});
|
|
47899
|
+
});
|
|
47900
|
+
CreateTicketError$outboundSchema = instanceOfType(CreateTicketError).transform((v2) => v2.data$).pipe(objectType({
|
|
47901
|
+
title: stringType().optional(),
|
|
47902
|
+
body: stringType().optional(),
|
|
47903
|
+
contact: CreateTicketContactError$outboundSchema.optional()
|
|
47904
|
+
}));
|
|
47905
|
+
((CreateTicketError$) => {
|
|
47906
|
+
CreateTicketError$.inboundSchema = CreateTicketError$inboundSchema;
|
|
47907
|
+
CreateTicketError$.outboundSchema = CreateTicketError$outboundSchema;
|
|
47908
|
+
})(CreateTicketError$ ||= {});
|
|
47909
|
+
});
|
|
47910
|
+
|
|
47690
47911
|
// src/models/errors/feeplanagreementerror.ts
|
|
47691
47912
|
var FeePlanAgreementError, FeePlanAgreementError$inboundSchema, FeePlanAgreementError$outboundSchema, FeePlanAgreementError$;
|
|
47692
47913
|
var init_feeplanagreementerror = __esm(() => {
|
|
@@ -49060,6 +49281,44 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
49060
49281
|
})(UpdatePaymentLinkError$ ||= {});
|
|
49061
49282
|
});
|
|
49062
49283
|
|
|
49284
|
+
// src/models/errors/updateticketerror.ts
|
|
49285
|
+
var UpdateTicketError, UpdateTicketError$inboundSchema, UpdateTicketError$outboundSchema, UpdateTicketError$;
|
|
49286
|
+
var init_updateticketerror = __esm(() => {
|
|
49287
|
+
init_esm();
|
|
49288
|
+
init_mooverror();
|
|
49289
|
+
UpdateTicketError = class UpdateTicketError extends MoovError {
|
|
49290
|
+
status;
|
|
49291
|
+
data$;
|
|
49292
|
+
constructor(err, httpMeta) {
|
|
49293
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
49294
|
+
super(message, httpMeta);
|
|
49295
|
+
this.data$ = err;
|
|
49296
|
+
if (err.status != null)
|
|
49297
|
+
this.status = err.status;
|
|
49298
|
+
this.name = "UpdateTicketError";
|
|
49299
|
+
}
|
|
49300
|
+
};
|
|
49301
|
+
UpdateTicketError$inboundSchema = objectType({
|
|
49302
|
+
status: stringType().optional(),
|
|
49303
|
+
request$: instanceOfType(Request),
|
|
49304
|
+
response$: instanceOfType(Response),
|
|
49305
|
+
body$: stringType()
|
|
49306
|
+
}).transform((v2) => {
|
|
49307
|
+
return new UpdateTicketError(v2, {
|
|
49308
|
+
request: v2.request$,
|
|
49309
|
+
response: v2.response$,
|
|
49310
|
+
body: v2.body$
|
|
49311
|
+
});
|
|
49312
|
+
});
|
|
49313
|
+
UpdateTicketError$outboundSchema = instanceOfType(UpdateTicketError).transform((v2) => v2.data$).pipe(objectType({
|
|
49314
|
+
status: stringType().optional()
|
|
49315
|
+
}));
|
|
49316
|
+
((UpdateTicketError$) => {
|
|
49317
|
+
UpdateTicketError$.inboundSchema = UpdateTicketError$inboundSchema;
|
|
49318
|
+
UpdateTicketError$.outboundSchema = UpdateTicketError$outboundSchema;
|
|
49319
|
+
})(UpdateTicketError$ ||= {});
|
|
49320
|
+
});
|
|
49321
|
+
|
|
49063
49322
|
// src/models/errors/updateunderwritingerror.ts
|
|
49064
49323
|
var UpdateUnderwritingError, UpdateUnderwritingErrorError$inboundSchema, UpdateUnderwritingErrorError$outboundSchema, UpdateUnderwritingErrorError$, UpdateUnderwritingError$inboundSchema, UpdateUnderwritingError$outboundSchema, UpdateUnderwritingError$;
|
|
49065
49324
|
var init_updateunderwritingerror = __esm(() => {
|
|
@@ -49238,6 +49497,7 @@ var init_errors2 = __esm(() => {
|
|
|
49238
49497
|
init_createaccount2();
|
|
49239
49498
|
init_createpaymentlinkerror();
|
|
49240
49499
|
init_createsweepconfigerror();
|
|
49500
|
+
init_createticketerror();
|
|
49241
49501
|
init_feeplanagreementerror();
|
|
49242
49502
|
init_fileuploadvalidationerror();
|
|
49243
49503
|
init_filevalidationerror();
|
|
@@ -49264,6 +49524,7 @@ var init_errors2 = __esm(() => {
|
|
|
49264
49524
|
init_updatecarderror();
|
|
49265
49525
|
init_updateissuedcarderror();
|
|
49266
49526
|
init_updatepaymentlinkerror();
|
|
49527
|
+
init_updateticketerror();
|
|
49267
49528
|
init_updateunderwritingerror();
|
|
49268
49529
|
init_upsertunderwritingerror();
|
|
49269
49530
|
});
|
|
@@ -50441,6 +50702,74 @@ var init_createterminalapplication2 = __esm(() => {
|
|
|
50441
50702
|
})(CreateTerminalApplicationResponse$ ||= {});
|
|
50442
50703
|
});
|
|
50443
50704
|
|
|
50705
|
+
// src/models/operations/createticket.ts
|
|
50706
|
+
var CreateTicketGlobals$inboundSchema, CreateTicketGlobals$outboundSchema, CreateTicketGlobals$, CreateTicketRequest$inboundSchema, CreateTicketRequest$outboundSchema, CreateTicketRequest$, CreateTicketResponse$inboundSchema, CreateTicketResponse$outboundSchema, CreateTicketResponse$;
|
|
50707
|
+
var init_createticket2 = __esm(() => {
|
|
50708
|
+
init_esm();
|
|
50709
|
+
init_primitives();
|
|
50710
|
+
init_components();
|
|
50711
|
+
CreateTicketGlobals$inboundSchema = objectType({
|
|
50712
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
50713
|
+
}).transform((v2) => {
|
|
50714
|
+
return remap(v2, {
|
|
50715
|
+
"x-moov-version": "xMoovVersion"
|
|
50716
|
+
});
|
|
50717
|
+
});
|
|
50718
|
+
CreateTicketGlobals$outboundSchema = objectType({
|
|
50719
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
50720
|
+
}).transform((v2) => {
|
|
50721
|
+
return remap(v2, {
|
|
50722
|
+
xMoovVersion: "x-moov-version"
|
|
50723
|
+
});
|
|
50724
|
+
});
|
|
50725
|
+
((CreateTicketGlobals$) => {
|
|
50726
|
+
CreateTicketGlobals$.inboundSchema = CreateTicketGlobals$inboundSchema;
|
|
50727
|
+
CreateTicketGlobals$.outboundSchema = CreateTicketGlobals$outboundSchema;
|
|
50728
|
+
})(CreateTicketGlobals$ ||= {});
|
|
50729
|
+
CreateTicketRequest$inboundSchema = objectType({
|
|
50730
|
+
accountID: stringType(),
|
|
50731
|
+
CreateTicket: CreateTicket$inboundSchema
|
|
50732
|
+
}).transform((v2) => {
|
|
50733
|
+
return remap(v2, {
|
|
50734
|
+
CreateTicket: "createTicket"
|
|
50735
|
+
});
|
|
50736
|
+
});
|
|
50737
|
+
CreateTicketRequest$outboundSchema = objectType({
|
|
50738
|
+
accountID: stringType(),
|
|
50739
|
+
createTicket: CreateTicket$outboundSchema
|
|
50740
|
+
}).transform((v2) => {
|
|
50741
|
+
return remap(v2, {
|
|
50742
|
+
createTicket: "CreateTicket"
|
|
50743
|
+
});
|
|
50744
|
+
});
|
|
50745
|
+
((CreateTicketRequest$) => {
|
|
50746
|
+
CreateTicketRequest$.inboundSchema = CreateTicketRequest$inboundSchema;
|
|
50747
|
+
CreateTicketRequest$.outboundSchema = CreateTicketRequest$outboundSchema;
|
|
50748
|
+
})(CreateTicketRequest$ ||= {});
|
|
50749
|
+
CreateTicketResponse$inboundSchema = objectType({
|
|
50750
|
+
Headers: recordType(arrayType(stringType())),
|
|
50751
|
+
Result: Ticket$inboundSchema
|
|
50752
|
+
}).transform((v2) => {
|
|
50753
|
+
return remap(v2, {
|
|
50754
|
+
Headers: "headers",
|
|
50755
|
+
Result: "result"
|
|
50756
|
+
});
|
|
50757
|
+
});
|
|
50758
|
+
CreateTicketResponse$outboundSchema = objectType({
|
|
50759
|
+
headers: recordType(arrayType(stringType())),
|
|
50760
|
+
result: Ticket$outboundSchema
|
|
50761
|
+
}).transform((v2) => {
|
|
50762
|
+
return remap(v2, {
|
|
50763
|
+
headers: "Headers",
|
|
50764
|
+
result: "Result"
|
|
50765
|
+
});
|
|
50766
|
+
});
|
|
50767
|
+
((CreateTicketResponse$) => {
|
|
50768
|
+
CreateTicketResponse$.inboundSchema = CreateTicketResponse$inboundSchema;
|
|
50769
|
+
CreateTicketResponse$.outboundSchema = CreateTicketResponse$outboundSchema;
|
|
50770
|
+
})(CreateTicketResponse$ ||= {});
|
|
50771
|
+
});
|
|
50772
|
+
|
|
50444
50773
|
// src/models/operations/createtransfer.ts
|
|
50445
50774
|
var CreateTransferGlobals$inboundSchema, CreateTransferGlobals$outboundSchema, CreateTransferGlobals$, CreateTransferRequest$inboundSchema, CreateTransferRequest$outboundSchema, CreateTransferRequest$, CreateTransferResponseResult$inboundSchema, CreateTransferResponseResult$outboundSchema, CreateTransferResponseResult$, CreateTransferResponse$inboundSchema, CreateTransferResponse$outboundSchema, CreateTransferResponse$;
|
|
50446
50775
|
var init_createtransfer2 = __esm(() => {
|
|
@@ -53361,6 +53690,66 @@ var init_gettermsofservicetoken = __esm(() => {
|
|
|
53361
53690
|
})(GetTermsOfServiceTokenResponse$ ||= {});
|
|
53362
53691
|
});
|
|
53363
53692
|
|
|
53693
|
+
// src/models/operations/getticket.ts
|
|
53694
|
+
var GetTicketGlobals$inboundSchema, GetTicketGlobals$outboundSchema, GetTicketGlobals$, GetTicketRequest$inboundSchema, GetTicketRequest$outboundSchema, GetTicketRequest$, GetTicketResponse$inboundSchema, GetTicketResponse$outboundSchema, GetTicketResponse$;
|
|
53695
|
+
var init_getticket = __esm(() => {
|
|
53696
|
+
init_esm();
|
|
53697
|
+
init_primitives();
|
|
53698
|
+
init_components();
|
|
53699
|
+
GetTicketGlobals$inboundSchema = objectType({
|
|
53700
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
53701
|
+
}).transform((v2) => {
|
|
53702
|
+
return remap(v2, {
|
|
53703
|
+
"x-moov-version": "xMoovVersion"
|
|
53704
|
+
});
|
|
53705
|
+
});
|
|
53706
|
+
GetTicketGlobals$outboundSchema = objectType({
|
|
53707
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
53708
|
+
}).transform((v2) => {
|
|
53709
|
+
return remap(v2, {
|
|
53710
|
+
xMoovVersion: "x-moov-version"
|
|
53711
|
+
});
|
|
53712
|
+
});
|
|
53713
|
+
((GetTicketGlobals$) => {
|
|
53714
|
+
GetTicketGlobals$.inboundSchema = GetTicketGlobals$inboundSchema;
|
|
53715
|
+
GetTicketGlobals$.outboundSchema = GetTicketGlobals$outboundSchema;
|
|
53716
|
+
})(GetTicketGlobals$ ||= {});
|
|
53717
|
+
GetTicketRequest$inboundSchema = objectType({
|
|
53718
|
+
accountID: stringType(),
|
|
53719
|
+
ticketID: stringType()
|
|
53720
|
+
});
|
|
53721
|
+
GetTicketRequest$outboundSchema = objectType({
|
|
53722
|
+
accountID: stringType(),
|
|
53723
|
+
ticketID: stringType()
|
|
53724
|
+
});
|
|
53725
|
+
((GetTicketRequest$) => {
|
|
53726
|
+
GetTicketRequest$.inboundSchema = GetTicketRequest$inboundSchema;
|
|
53727
|
+
GetTicketRequest$.outboundSchema = GetTicketRequest$outboundSchema;
|
|
53728
|
+
})(GetTicketRequest$ ||= {});
|
|
53729
|
+
GetTicketResponse$inboundSchema = objectType({
|
|
53730
|
+
Headers: recordType(arrayType(stringType())),
|
|
53731
|
+
Result: Ticket$inboundSchema
|
|
53732
|
+
}).transform((v2) => {
|
|
53733
|
+
return remap(v2, {
|
|
53734
|
+
Headers: "headers",
|
|
53735
|
+
Result: "result"
|
|
53736
|
+
});
|
|
53737
|
+
});
|
|
53738
|
+
GetTicketResponse$outboundSchema = objectType({
|
|
53739
|
+
headers: recordType(arrayType(stringType())),
|
|
53740
|
+
result: Ticket$outboundSchema
|
|
53741
|
+
}).transform((v2) => {
|
|
53742
|
+
return remap(v2, {
|
|
53743
|
+
headers: "Headers",
|
|
53744
|
+
result: "Result"
|
|
53745
|
+
});
|
|
53746
|
+
});
|
|
53747
|
+
((GetTicketResponse$) => {
|
|
53748
|
+
GetTicketResponse$.inboundSchema = GetTicketResponse$inboundSchema;
|
|
53749
|
+
GetTicketResponse$.outboundSchema = GetTicketResponse$outboundSchema;
|
|
53750
|
+
})(GetTicketResponse$ ||= {});
|
|
53751
|
+
});
|
|
53752
|
+
|
|
53364
53753
|
// src/models/operations/gettransfer.ts
|
|
53365
53754
|
var GetTransferGlobals$inboundSchema, GetTransferGlobals$outboundSchema, GetTransferGlobals$, GetTransferRequest$inboundSchema, GetTransferRequest$outboundSchema, GetTransferRequest$, GetTransferResponse$inboundSchema, GetTransferResponse$outboundSchema, GetTransferResponse$;
|
|
53366
53755
|
var init_gettransfer = __esm(() => {
|
|
@@ -55977,6 +56366,132 @@ var init_listterminalapplications = __esm(() => {
|
|
|
55977
56366
|
})(ListTerminalApplicationsResponse$ ||= {});
|
|
55978
56367
|
});
|
|
55979
56368
|
|
|
56369
|
+
// src/models/operations/listticketmessages.ts
|
|
56370
|
+
var ListTicketMessagesGlobals$inboundSchema, ListTicketMessagesGlobals$outboundSchema, ListTicketMessagesGlobals$, ListTicketMessagesRequest$inboundSchema, ListTicketMessagesRequest$outboundSchema, ListTicketMessagesRequest$, ListTicketMessagesResponse$inboundSchema, ListTicketMessagesResponse$outboundSchema, ListTicketMessagesResponse$;
|
|
56371
|
+
var init_listticketmessages = __esm(() => {
|
|
56372
|
+
init_esm();
|
|
56373
|
+
init_primitives();
|
|
56374
|
+
init_components();
|
|
56375
|
+
ListTicketMessagesGlobals$inboundSchema = objectType({
|
|
56376
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
56377
|
+
}).transform((v2) => {
|
|
56378
|
+
return remap(v2, {
|
|
56379
|
+
"x-moov-version": "xMoovVersion"
|
|
56380
|
+
});
|
|
56381
|
+
});
|
|
56382
|
+
ListTicketMessagesGlobals$outboundSchema = objectType({
|
|
56383
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
56384
|
+
}).transform((v2) => {
|
|
56385
|
+
return remap(v2, {
|
|
56386
|
+
xMoovVersion: "x-moov-version"
|
|
56387
|
+
});
|
|
56388
|
+
});
|
|
56389
|
+
((ListTicketMessagesGlobals$) => {
|
|
56390
|
+
ListTicketMessagesGlobals$.inboundSchema = ListTicketMessagesGlobals$inboundSchema;
|
|
56391
|
+
ListTicketMessagesGlobals$.outboundSchema = ListTicketMessagesGlobals$outboundSchema;
|
|
56392
|
+
})(ListTicketMessagesGlobals$ ||= {});
|
|
56393
|
+
ListTicketMessagesRequest$inboundSchema = objectType({
|
|
56394
|
+
skip: numberType().int().optional(),
|
|
56395
|
+
count: numberType().int().optional(),
|
|
56396
|
+
accountID: stringType(),
|
|
56397
|
+
ticketID: stringType()
|
|
56398
|
+
});
|
|
56399
|
+
ListTicketMessagesRequest$outboundSchema = objectType({
|
|
56400
|
+
skip: numberType().int().optional(),
|
|
56401
|
+
count: numberType().int().optional(),
|
|
56402
|
+
accountID: stringType(),
|
|
56403
|
+
ticketID: stringType()
|
|
56404
|
+
});
|
|
56405
|
+
((ListTicketMessagesRequest$) => {
|
|
56406
|
+
ListTicketMessagesRequest$.inboundSchema = ListTicketMessagesRequest$inboundSchema;
|
|
56407
|
+
ListTicketMessagesRequest$.outboundSchema = ListTicketMessagesRequest$outboundSchema;
|
|
56408
|
+
})(ListTicketMessagesRequest$ ||= {});
|
|
56409
|
+
ListTicketMessagesResponse$inboundSchema = objectType({
|
|
56410
|
+
Headers: recordType(arrayType(stringType())),
|
|
56411
|
+
Result: arrayType(TicketMessage$inboundSchema)
|
|
56412
|
+
}).transform((v2) => {
|
|
56413
|
+
return remap(v2, {
|
|
56414
|
+
Headers: "headers",
|
|
56415
|
+
Result: "result"
|
|
56416
|
+
});
|
|
56417
|
+
});
|
|
56418
|
+
ListTicketMessagesResponse$outboundSchema = objectType({
|
|
56419
|
+
headers: recordType(arrayType(stringType())),
|
|
56420
|
+
result: arrayType(TicketMessage$outboundSchema)
|
|
56421
|
+
}).transform((v2) => {
|
|
56422
|
+
return remap(v2, {
|
|
56423
|
+
headers: "Headers",
|
|
56424
|
+
result: "Result"
|
|
56425
|
+
});
|
|
56426
|
+
});
|
|
56427
|
+
((ListTicketMessagesResponse$) => {
|
|
56428
|
+
ListTicketMessagesResponse$.inboundSchema = ListTicketMessagesResponse$inboundSchema;
|
|
56429
|
+
ListTicketMessagesResponse$.outboundSchema = ListTicketMessagesResponse$outboundSchema;
|
|
56430
|
+
})(ListTicketMessagesResponse$ ||= {});
|
|
56431
|
+
});
|
|
56432
|
+
|
|
56433
|
+
// src/models/operations/listtickets.ts
|
|
56434
|
+
var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsGlobals$, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsRequest$, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema, ListTicketsResponse$;
|
|
56435
|
+
var init_listtickets = __esm(() => {
|
|
56436
|
+
init_esm();
|
|
56437
|
+
init_primitives();
|
|
56438
|
+
init_components();
|
|
56439
|
+
ListTicketsGlobals$inboundSchema = objectType({
|
|
56440
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
56441
|
+
}).transform((v2) => {
|
|
56442
|
+
return remap(v2, {
|
|
56443
|
+
"x-moov-version": "xMoovVersion"
|
|
56444
|
+
});
|
|
56445
|
+
});
|
|
56446
|
+
ListTicketsGlobals$outboundSchema = objectType({
|
|
56447
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
56448
|
+
}).transform((v2) => {
|
|
56449
|
+
return remap(v2, {
|
|
56450
|
+
xMoovVersion: "x-moov-version"
|
|
56451
|
+
});
|
|
56452
|
+
});
|
|
56453
|
+
((ListTicketsGlobals$) => {
|
|
56454
|
+
ListTicketsGlobals$.inboundSchema = ListTicketsGlobals$inboundSchema;
|
|
56455
|
+
ListTicketsGlobals$.outboundSchema = ListTicketsGlobals$outboundSchema;
|
|
56456
|
+
})(ListTicketsGlobals$ ||= {});
|
|
56457
|
+
ListTicketsRequest$inboundSchema = objectType({
|
|
56458
|
+
skip: numberType().int().optional(),
|
|
56459
|
+
count: numberType().int().optional(),
|
|
56460
|
+
accountID: stringType()
|
|
56461
|
+
});
|
|
56462
|
+
ListTicketsRequest$outboundSchema = objectType({
|
|
56463
|
+
skip: numberType().int().optional(),
|
|
56464
|
+
count: numberType().int().optional(),
|
|
56465
|
+
accountID: stringType()
|
|
56466
|
+
});
|
|
56467
|
+
((ListTicketsRequest$) => {
|
|
56468
|
+
ListTicketsRequest$.inboundSchema = ListTicketsRequest$inboundSchema;
|
|
56469
|
+
ListTicketsRequest$.outboundSchema = ListTicketsRequest$outboundSchema;
|
|
56470
|
+
})(ListTicketsRequest$ ||= {});
|
|
56471
|
+
ListTicketsResponse$inboundSchema = objectType({
|
|
56472
|
+
Headers: recordType(arrayType(stringType())),
|
|
56473
|
+
Result: arrayType(Ticket$inboundSchema)
|
|
56474
|
+
}).transform((v2) => {
|
|
56475
|
+
return remap(v2, {
|
|
56476
|
+
Headers: "headers",
|
|
56477
|
+
Result: "result"
|
|
56478
|
+
});
|
|
56479
|
+
});
|
|
56480
|
+
ListTicketsResponse$outboundSchema = objectType({
|
|
56481
|
+
headers: recordType(arrayType(stringType())),
|
|
56482
|
+
result: arrayType(Ticket$outboundSchema)
|
|
56483
|
+
}).transform((v2) => {
|
|
56484
|
+
return remap(v2, {
|
|
56485
|
+
headers: "Headers",
|
|
56486
|
+
result: "Result"
|
|
56487
|
+
});
|
|
56488
|
+
});
|
|
56489
|
+
((ListTicketsResponse$) => {
|
|
56490
|
+
ListTicketsResponse$.inboundSchema = ListTicketsResponse$inboundSchema;
|
|
56491
|
+
ListTicketsResponse$.outboundSchema = ListTicketsResponse$outboundSchema;
|
|
56492
|
+
})(ListTicketsResponse$ ||= {});
|
|
56493
|
+
});
|
|
56494
|
+
|
|
55980
56495
|
// src/models/operations/listtransfers.ts
|
|
55981
56496
|
var ListTransfersGlobals$inboundSchema, ListTransfersGlobals$outboundSchema, ListTransfersGlobals$, ListTransfersRequest$inboundSchema, ListTransfersRequest$outboundSchema, ListTransfersRequest$, ListTransfersResponse$inboundSchema, ListTransfersResponse$outboundSchema, ListTransfersResponse$;
|
|
55982
56497
|
var init_listtransfers = __esm(() => {
|
|
@@ -57541,6 +58056,76 @@ var init_updatesweepconfig = __esm(() => {
|
|
|
57541
58056
|
})(UpdateSweepConfigResponse$ ||= {});
|
|
57542
58057
|
});
|
|
57543
58058
|
|
|
58059
|
+
// src/models/operations/updateticket.ts
|
|
58060
|
+
var UpdateTicketGlobals$inboundSchema, UpdateTicketGlobals$outboundSchema, UpdateTicketGlobals$, UpdateTicketRequest$inboundSchema, UpdateTicketRequest$outboundSchema, UpdateTicketRequest$, UpdateTicketResponse$inboundSchema, UpdateTicketResponse$outboundSchema, UpdateTicketResponse$;
|
|
58061
|
+
var init_updateticket2 = __esm(() => {
|
|
58062
|
+
init_esm();
|
|
58063
|
+
init_primitives();
|
|
58064
|
+
init_components();
|
|
58065
|
+
UpdateTicketGlobals$inboundSchema = objectType({
|
|
58066
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
58067
|
+
}).transform((v2) => {
|
|
58068
|
+
return remap(v2, {
|
|
58069
|
+
"x-moov-version": "xMoovVersion"
|
|
58070
|
+
});
|
|
58071
|
+
});
|
|
58072
|
+
UpdateTicketGlobals$outboundSchema = objectType({
|
|
58073
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
58074
|
+
}).transform((v2) => {
|
|
58075
|
+
return remap(v2, {
|
|
58076
|
+
xMoovVersion: "x-moov-version"
|
|
58077
|
+
});
|
|
58078
|
+
});
|
|
58079
|
+
((UpdateTicketGlobals$) => {
|
|
58080
|
+
UpdateTicketGlobals$.inboundSchema = UpdateTicketGlobals$inboundSchema;
|
|
58081
|
+
UpdateTicketGlobals$.outboundSchema = UpdateTicketGlobals$outboundSchema;
|
|
58082
|
+
})(UpdateTicketGlobals$ ||= {});
|
|
58083
|
+
UpdateTicketRequest$inboundSchema = objectType({
|
|
58084
|
+
accountID: stringType(),
|
|
58085
|
+
ticketID: stringType(),
|
|
58086
|
+
UpdateTicket: UpdateTicket$inboundSchema
|
|
58087
|
+
}).transform((v2) => {
|
|
58088
|
+
return remap(v2, {
|
|
58089
|
+
UpdateTicket: "updateTicket"
|
|
58090
|
+
});
|
|
58091
|
+
});
|
|
58092
|
+
UpdateTicketRequest$outboundSchema = objectType({
|
|
58093
|
+
accountID: stringType(),
|
|
58094
|
+
ticketID: stringType(),
|
|
58095
|
+
updateTicket: UpdateTicket$outboundSchema
|
|
58096
|
+
}).transform((v2) => {
|
|
58097
|
+
return remap(v2, {
|
|
58098
|
+
updateTicket: "UpdateTicket"
|
|
58099
|
+
});
|
|
58100
|
+
});
|
|
58101
|
+
((UpdateTicketRequest$) => {
|
|
58102
|
+
UpdateTicketRequest$.inboundSchema = UpdateTicketRequest$inboundSchema;
|
|
58103
|
+
UpdateTicketRequest$.outboundSchema = UpdateTicketRequest$outboundSchema;
|
|
58104
|
+
})(UpdateTicketRequest$ ||= {});
|
|
58105
|
+
UpdateTicketResponse$inboundSchema = objectType({
|
|
58106
|
+
Headers: recordType(arrayType(stringType())),
|
|
58107
|
+
Result: Ticket$inboundSchema
|
|
58108
|
+
}).transform((v2) => {
|
|
58109
|
+
return remap(v2, {
|
|
58110
|
+
Headers: "headers",
|
|
58111
|
+
Result: "result"
|
|
58112
|
+
});
|
|
58113
|
+
});
|
|
58114
|
+
UpdateTicketResponse$outboundSchema = objectType({
|
|
58115
|
+
headers: recordType(arrayType(stringType())),
|
|
58116
|
+
result: Ticket$outboundSchema
|
|
58117
|
+
}).transform((v2) => {
|
|
58118
|
+
return remap(v2, {
|
|
58119
|
+
headers: "Headers",
|
|
58120
|
+
result: "Result"
|
|
58121
|
+
});
|
|
58122
|
+
});
|
|
58123
|
+
((UpdateTicketResponse$) => {
|
|
58124
|
+
UpdateTicketResponse$.inboundSchema = UpdateTicketResponse$inboundSchema;
|
|
58125
|
+
UpdateTicketResponse$.outboundSchema = UpdateTicketResponse$outboundSchema;
|
|
58126
|
+
})(UpdateTicketResponse$ ||= {});
|
|
58127
|
+
});
|
|
58128
|
+
|
|
57544
58129
|
// src/models/operations/updatetransfer.ts
|
|
57545
58130
|
var UpdateTransferGlobals$inboundSchema, UpdateTransferGlobals$outboundSchema, UpdateTransferGlobals$, UpdateTransferRequest$inboundSchema, UpdateTransferRequest$outboundSchema, UpdateTransferRequest$, UpdateTransferResponse$inboundSchema, UpdateTransferResponse$outboundSchema, UpdateTransferResponse$;
|
|
57546
58131
|
var init_updatetransfer = __esm(() => {
|
|
@@ -57976,6 +58561,7 @@ var init_operations = __esm(() => {
|
|
|
57976
58561
|
init_createschedule();
|
|
57977
58562
|
init_createsweepconfig2();
|
|
57978
58563
|
init_createterminalapplication2();
|
|
58564
|
+
init_createticket2();
|
|
57979
58565
|
init_createtransfer2();
|
|
57980
58566
|
init_createtransferoptions2();
|
|
57981
58567
|
init_createtransferoptionsforaccount();
|
|
@@ -58024,6 +58610,7 @@ var init_operations = __esm(() => {
|
|
|
58024
58610
|
init_getterminalapplication();
|
|
58025
58611
|
init_getterminalconfiguration();
|
|
58026
58612
|
init_gettermsofservicetoken();
|
|
58613
|
+
init_getticket();
|
|
58027
58614
|
init_gettransfer();
|
|
58028
58615
|
init_getunderwriting();
|
|
58029
58616
|
init_getwallet();
|
|
@@ -58065,6 +58652,8 @@ var init_operations = __esm(() => {
|
|
|
58065
58652
|
init_listsweepconfigs();
|
|
58066
58653
|
init_listsweeps();
|
|
58067
58654
|
init_listterminalapplications();
|
|
58655
|
+
init_listticketmessages();
|
|
58656
|
+
init_listtickets();
|
|
58068
58657
|
init_listtransfers();
|
|
58069
58658
|
init_listwallets();
|
|
58070
58659
|
init_listwallettransactions();
|
|
@@ -58089,6 +58678,7 @@ var init_operations = __esm(() => {
|
|
|
58089
58678
|
init_updaterepresentative2();
|
|
58090
58679
|
init_updateschedule();
|
|
58091
58680
|
init_updatesweepconfig();
|
|
58681
|
+
init_updateticket2();
|
|
58092
58682
|
init_updatetransfer();
|
|
58093
58683
|
init_uploaddisputeevidencefile();
|
|
58094
58684
|
init_uploaddisputeevidencetext();
|
|
@@ -70727,7 +71317,486 @@ async function $do105(client, request, options) {
|
|
|
70727
71317
|
const responseFields = {
|
|
70728
71318
|
HttpMeta: { Response: response, Request: req }
|
|
70729
71319
|
};
|
|
70730
|
-
const [result] = await match(json(200, CreateScheduleResponse$inboundSchema, {
|
|
71320
|
+
const [result] = await match(json(200, CreateScheduleResponse$inboundSchema, {
|
|
71321
|
+
hdrs: true,
|
|
71322
|
+
key: "Result"
|
|
71323
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ScheduleValidationError$inboundSchema, {
|
|
71324
|
+
hdrs: true
|
|
71325
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71326
|
+
if (!result.ok) {
|
|
71327
|
+
return [result, { status: "complete", request: req, response }];
|
|
71328
|
+
}
|
|
71329
|
+
return [result, { status: "complete", request: req, response }];
|
|
71330
|
+
}
|
|
71331
|
+
var init_schedulingCreate = __esm(() => {
|
|
71332
|
+
init_encodings();
|
|
71333
|
+
init_matchers();
|
|
71334
|
+
init_primitives();
|
|
71335
|
+
init_schemas();
|
|
71336
|
+
init_security();
|
|
71337
|
+
init_url();
|
|
71338
|
+
init_errors2();
|
|
71339
|
+
init_operations();
|
|
71340
|
+
init_async();
|
|
71341
|
+
});
|
|
71342
|
+
|
|
71343
|
+
// src/mcp-server/tools/schedulingCreate.ts
|
|
71344
|
+
var args105, tool$schedulingCreate;
|
|
71345
|
+
var init_schedulingCreate2 = __esm(() => {
|
|
71346
|
+
init_schedulingCreate();
|
|
71347
|
+
init_operations();
|
|
71348
|
+
init_tools();
|
|
71349
|
+
args105 = {
|
|
71350
|
+
request: CreateScheduleRequest$inboundSchema
|
|
71351
|
+
};
|
|
71352
|
+
tool$schedulingCreate = {
|
|
71353
|
+
name: "scheduling-create",
|
|
71354
|
+
description: `Describes the schedule to create or modify.
|
|
71355
|
+
|
|
71356
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71357
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
71358
|
+
args: args105,
|
|
71359
|
+
tool: async (client, args106, ctx) => {
|
|
71360
|
+
const [result, apiCall] = await schedulingCreate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71361
|
+
if (!result.ok) {
|
|
71362
|
+
return {
|
|
71363
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71364
|
+
isError: true
|
|
71365
|
+
};
|
|
71366
|
+
}
|
|
71367
|
+
const value = result.value.result;
|
|
71368
|
+
return formatResult(value, apiCall);
|
|
71369
|
+
}
|
|
71370
|
+
};
|
|
71371
|
+
});
|
|
71372
|
+
|
|
71373
|
+
// src/funcs/schedulingGet.ts
|
|
71374
|
+
function schedulingGet(client, request, options) {
|
|
71375
|
+
return new APIPromise($do106(client, request, options));
|
|
71376
|
+
}
|
|
71377
|
+
async function $do106(client, request, options) {
|
|
71378
|
+
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71379
|
+
if (!parsed.ok) {
|
|
71380
|
+
return [parsed, { status: "invalid" }];
|
|
71381
|
+
}
|
|
71382
|
+
const payload = parsed.value;
|
|
71383
|
+
const body = null;
|
|
71384
|
+
const pathParams = {
|
|
71385
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71386
|
+
explode: false,
|
|
71387
|
+
charEncoding: "percent"
|
|
71388
|
+
}),
|
|
71389
|
+
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
71390
|
+
explode: false,
|
|
71391
|
+
charEncoding: "percent"
|
|
71392
|
+
})
|
|
71393
|
+
};
|
|
71394
|
+
const path = pathToFunc("/accounts/{accountID}/schedules/{scheduleID}")(pathParams);
|
|
71395
|
+
const headers = new Headers(compactMap({
|
|
71396
|
+
Accept: "application/json",
|
|
71397
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71398
|
+
}));
|
|
71399
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71400
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71401
|
+
const context = {
|
|
71402
|
+
options: client._options,
|
|
71403
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71404
|
+
operationID: "getSchedules",
|
|
71405
|
+
oAuth2Scopes: [],
|
|
71406
|
+
resolvedSecurity: requestSecurity,
|
|
71407
|
+
securitySource: client._options.security,
|
|
71408
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71409
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71410
|
+
};
|
|
71411
|
+
const requestRes = client._createRequest(context, {
|
|
71412
|
+
security: requestSecurity,
|
|
71413
|
+
method: "GET",
|
|
71414
|
+
baseURL: options?.serverURL,
|
|
71415
|
+
path,
|
|
71416
|
+
headers,
|
|
71417
|
+
body,
|
|
71418
|
+
userAgent: client._options.userAgent,
|
|
71419
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71420
|
+
}, options);
|
|
71421
|
+
if (!requestRes.ok) {
|
|
71422
|
+
return [requestRes, { status: "invalid" }];
|
|
71423
|
+
}
|
|
71424
|
+
const req = requestRes.value;
|
|
71425
|
+
const doResult = await client._do(req, {
|
|
71426
|
+
context,
|
|
71427
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
71428
|
+
retryConfig: context.retryConfig,
|
|
71429
|
+
retryCodes: context.retryCodes
|
|
71430
|
+
});
|
|
71431
|
+
if (!doResult.ok) {
|
|
71432
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71433
|
+
}
|
|
71434
|
+
const response = doResult.value;
|
|
71435
|
+
const responseFields = {
|
|
71436
|
+
HttpMeta: { Response: response, Request: req }
|
|
71437
|
+
};
|
|
71438
|
+
const [result] = await match(json(200, GetSchedulesResponse$inboundSchema, {
|
|
71439
|
+
hdrs: true,
|
|
71440
|
+
key: "Result"
|
|
71441
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71442
|
+
if (!result.ok) {
|
|
71443
|
+
return [result, { status: "complete", request: req, response }];
|
|
71444
|
+
}
|
|
71445
|
+
return [result, { status: "complete", request: req, response }];
|
|
71446
|
+
}
|
|
71447
|
+
var init_schedulingGet = __esm(() => {
|
|
71448
|
+
init_encodings();
|
|
71449
|
+
init_matchers();
|
|
71450
|
+
init_primitives();
|
|
71451
|
+
init_schemas();
|
|
71452
|
+
init_security();
|
|
71453
|
+
init_url();
|
|
71454
|
+
init_operations();
|
|
71455
|
+
init_async();
|
|
71456
|
+
});
|
|
71457
|
+
|
|
71458
|
+
// src/mcp-server/tools/schedulingGet.ts
|
|
71459
|
+
var args106, tool$schedulingGet;
|
|
71460
|
+
var init_schedulingGet2 = __esm(() => {
|
|
71461
|
+
init_schedulingGet();
|
|
71462
|
+
init_operations();
|
|
71463
|
+
init_tools();
|
|
71464
|
+
args106 = {
|
|
71465
|
+
request: GetSchedulesRequest$inboundSchema
|
|
71466
|
+
};
|
|
71467
|
+
tool$schedulingGet = {
|
|
71468
|
+
name: "scheduling-get",
|
|
71469
|
+
description: `Describes a schedule associated with an account. Requires at least 1 occurrence or recurTransfer to be specified.
|
|
71470
|
+
|
|
71471
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71472
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71473
|
+
args: args106,
|
|
71474
|
+
tool: async (client, args107, ctx) => {
|
|
71475
|
+
const [result, apiCall] = await schedulingGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71476
|
+
if (!result.ok) {
|
|
71477
|
+
return {
|
|
71478
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71479
|
+
isError: true
|
|
71480
|
+
};
|
|
71481
|
+
}
|
|
71482
|
+
const value = result.value.result;
|
|
71483
|
+
return formatResult(value, apiCall);
|
|
71484
|
+
}
|
|
71485
|
+
};
|
|
71486
|
+
});
|
|
71487
|
+
|
|
71488
|
+
// src/funcs/schedulingGetOccurrance.ts
|
|
71489
|
+
function schedulingGetOccurrance(client, request, options) {
|
|
71490
|
+
return new APIPromise($do107(client, request, options));
|
|
71491
|
+
}
|
|
71492
|
+
async function $do107(client, request, options) {
|
|
71493
|
+
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71494
|
+
if (!parsed.ok) {
|
|
71495
|
+
return [parsed, { status: "invalid" }];
|
|
71496
|
+
}
|
|
71497
|
+
const payload = parsed.value;
|
|
71498
|
+
const body = null;
|
|
71499
|
+
const pathParams = {
|
|
71500
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71501
|
+
explode: false,
|
|
71502
|
+
charEncoding: "percent"
|
|
71503
|
+
}),
|
|
71504
|
+
occurrenceFilter: encodeSimple("occurrenceFilter", payload.occurrenceFilter, { explode: false, charEncoding: "percent" }),
|
|
71505
|
+
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
71506
|
+
explode: false,
|
|
71507
|
+
charEncoding: "percent"
|
|
71508
|
+
})
|
|
71509
|
+
};
|
|
71510
|
+
const path = pathToFunc("/accounts/{accountID}/schedules/{scheduleID}/occurrences/{occurrenceFilter}")(pathParams);
|
|
71511
|
+
const headers = new Headers(compactMap({
|
|
71512
|
+
Accept: "application/json",
|
|
71513
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71514
|
+
}));
|
|
71515
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71516
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71517
|
+
const context = {
|
|
71518
|
+
options: client._options,
|
|
71519
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71520
|
+
operationID: "getScheduledOccurrence",
|
|
71521
|
+
oAuth2Scopes: [],
|
|
71522
|
+
resolvedSecurity: requestSecurity,
|
|
71523
|
+
securitySource: client._options.security,
|
|
71524
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71525
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71526
|
+
};
|
|
71527
|
+
const requestRes = client._createRequest(context, {
|
|
71528
|
+
security: requestSecurity,
|
|
71529
|
+
method: "GET",
|
|
71530
|
+
baseURL: options?.serverURL,
|
|
71531
|
+
path,
|
|
71532
|
+
headers,
|
|
71533
|
+
body,
|
|
71534
|
+
userAgent: client._options.userAgent,
|
|
71535
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71536
|
+
}, options);
|
|
71537
|
+
if (!requestRes.ok) {
|
|
71538
|
+
return [requestRes, { status: "invalid" }];
|
|
71539
|
+
}
|
|
71540
|
+
const req = requestRes.value;
|
|
71541
|
+
const doResult = await client._do(req, {
|
|
71542
|
+
context,
|
|
71543
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
71544
|
+
retryConfig: context.retryConfig,
|
|
71545
|
+
retryCodes: context.retryCodes
|
|
71546
|
+
});
|
|
71547
|
+
if (!doResult.ok) {
|
|
71548
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71549
|
+
}
|
|
71550
|
+
const response = doResult.value;
|
|
71551
|
+
const responseFields = {
|
|
71552
|
+
HttpMeta: { Response: response, Request: req }
|
|
71553
|
+
};
|
|
71554
|
+
const [result] = await match(json(200, GetScheduledOccurrenceResponse$inboundSchema, {
|
|
71555
|
+
hdrs: true,
|
|
71556
|
+
key: "Result"
|
|
71557
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71558
|
+
if (!result.ok) {
|
|
71559
|
+
return [result, { status: "complete", request: req, response }];
|
|
71560
|
+
}
|
|
71561
|
+
return [result, { status: "complete", request: req, response }];
|
|
71562
|
+
}
|
|
71563
|
+
var init_schedulingGetOccurrance = __esm(() => {
|
|
71564
|
+
init_encodings();
|
|
71565
|
+
init_matchers();
|
|
71566
|
+
init_primitives();
|
|
71567
|
+
init_schemas();
|
|
71568
|
+
init_security();
|
|
71569
|
+
init_url();
|
|
71570
|
+
init_operations();
|
|
71571
|
+
init_async();
|
|
71572
|
+
});
|
|
71573
|
+
|
|
71574
|
+
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
71575
|
+
var args107, tool$schedulingGetOccurrance;
|
|
71576
|
+
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
71577
|
+
init_schedulingGetOccurrance();
|
|
71578
|
+
init_operations();
|
|
71579
|
+
init_tools();
|
|
71580
|
+
args107 = {
|
|
71581
|
+
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
71582
|
+
};
|
|
71583
|
+
tool$schedulingGetOccurrance = {
|
|
71584
|
+
name: "scheduling-get-occurrance",
|
|
71585
|
+
description: `Gets a specific occurrence.
|
|
71586
|
+
|
|
71587
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71588
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71589
|
+
args: args107,
|
|
71590
|
+
tool: async (client, args108, ctx) => {
|
|
71591
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71592
|
+
if (!result.ok) {
|
|
71593
|
+
return {
|
|
71594
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71595
|
+
isError: true
|
|
71596
|
+
};
|
|
71597
|
+
}
|
|
71598
|
+
const value = result.value.result;
|
|
71599
|
+
return formatResult(value, apiCall);
|
|
71600
|
+
}
|
|
71601
|
+
};
|
|
71602
|
+
});
|
|
71603
|
+
|
|
71604
|
+
// src/funcs/schedulingList.ts
|
|
71605
|
+
function schedulingList(client, request, options) {
|
|
71606
|
+
return new APIPromise($do108(client, request, options));
|
|
71607
|
+
}
|
|
71608
|
+
async function $do108(client, request, options) {
|
|
71609
|
+
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71610
|
+
if (!parsed.ok) {
|
|
71611
|
+
return [parsed, { status: "invalid" }];
|
|
71612
|
+
}
|
|
71613
|
+
const payload = parsed.value;
|
|
71614
|
+
const body = null;
|
|
71615
|
+
const pathParams = {
|
|
71616
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71617
|
+
explode: false,
|
|
71618
|
+
charEncoding: "percent"
|
|
71619
|
+
})
|
|
71620
|
+
};
|
|
71621
|
+
const path = pathToFunc("/accounts/{accountID}/schedules")(pathParams);
|
|
71622
|
+
const query = encodeFormQuery({
|
|
71623
|
+
count: payload.count,
|
|
71624
|
+
hydrate: payload.hydrate,
|
|
71625
|
+
skip: payload.skip
|
|
71626
|
+
}, { explode: false });
|
|
71627
|
+
const headers = new Headers(compactMap({
|
|
71628
|
+
Accept: "application/json",
|
|
71629
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71630
|
+
}));
|
|
71631
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71632
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71633
|
+
const context = {
|
|
71634
|
+
options: client._options,
|
|
71635
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71636
|
+
operationID: "listSchedules",
|
|
71637
|
+
oAuth2Scopes: [],
|
|
71638
|
+
resolvedSecurity: requestSecurity,
|
|
71639
|
+
securitySource: client._options.security,
|
|
71640
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71641
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71642
|
+
};
|
|
71643
|
+
const requestRes = client._createRequest(context, {
|
|
71644
|
+
security: requestSecurity,
|
|
71645
|
+
method: "GET",
|
|
71646
|
+
baseURL: options?.serverURL,
|
|
71647
|
+
path,
|
|
71648
|
+
headers,
|
|
71649
|
+
query,
|
|
71650
|
+
body,
|
|
71651
|
+
userAgent: client._options.userAgent,
|
|
71652
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71653
|
+
}, options);
|
|
71654
|
+
if (!requestRes.ok) {
|
|
71655
|
+
return [requestRes, { status: "invalid" }];
|
|
71656
|
+
}
|
|
71657
|
+
const req = requestRes.value;
|
|
71658
|
+
const doResult = await client._do(req, {
|
|
71659
|
+
context,
|
|
71660
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
71661
|
+
retryConfig: context.retryConfig,
|
|
71662
|
+
retryCodes: context.retryCodes
|
|
71663
|
+
});
|
|
71664
|
+
if (!doResult.ok) {
|
|
71665
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71666
|
+
}
|
|
71667
|
+
const response = doResult.value;
|
|
71668
|
+
const responseFields = {
|
|
71669
|
+
HttpMeta: { Response: response, Request: req }
|
|
71670
|
+
};
|
|
71671
|
+
const [result] = await match(json(200, ListSchedulesResponse$inboundSchema, {
|
|
71672
|
+
hdrs: true,
|
|
71673
|
+
key: "Result"
|
|
71674
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71675
|
+
if (!result.ok) {
|
|
71676
|
+
return [result, { status: "complete", request: req, response }];
|
|
71677
|
+
}
|
|
71678
|
+
return [result, { status: "complete", request: req, response }];
|
|
71679
|
+
}
|
|
71680
|
+
var init_schedulingList = __esm(() => {
|
|
71681
|
+
init_encodings();
|
|
71682
|
+
init_matchers();
|
|
71683
|
+
init_primitives();
|
|
71684
|
+
init_schemas();
|
|
71685
|
+
init_security();
|
|
71686
|
+
init_url();
|
|
71687
|
+
init_operations();
|
|
71688
|
+
init_async();
|
|
71689
|
+
});
|
|
71690
|
+
|
|
71691
|
+
// src/mcp-server/tools/schedulingList.ts
|
|
71692
|
+
var args108, tool$schedulingList;
|
|
71693
|
+
var init_schedulingList2 = __esm(() => {
|
|
71694
|
+
init_schedulingList();
|
|
71695
|
+
init_operations();
|
|
71696
|
+
init_tools();
|
|
71697
|
+
args108 = {
|
|
71698
|
+
request: ListSchedulesRequest$inboundSchema
|
|
71699
|
+
};
|
|
71700
|
+
tool$schedulingList = {
|
|
71701
|
+
name: "scheduling-list",
|
|
71702
|
+
description: `Describes a list of schedules associated with an account. Append the \`hydrate=accounts\` query parameter to include partial account details in the response.
|
|
71703
|
+
|
|
71704
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71705
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
71706
|
+
args: args108,
|
|
71707
|
+
tool: async (client, args109, ctx) => {
|
|
71708
|
+
const [result, apiCall] = await schedulingList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71709
|
+
if (!result.ok) {
|
|
71710
|
+
return {
|
|
71711
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71712
|
+
isError: true
|
|
71713
|
+
};
|
|
71714
|
+
}
|
|
71715
|
+
const value = result.value.result;
|
|
71716
|
+
return formatResult(value, apiCall);
|
|
71717
|
+
}
|
|
71718
|
+
};
|
|
71719
|
+
});
|
|
71720
|
+
|
|
71721
|
+
// src/funcs/schedulingUpdate.ts
|
|
71722
|
+
function schedulingUpdate(client, request, options) {
|
|
71723
|
+
return new APIPromise($do109(client, request, options));
|
|
71724
|
+
}
|
|
71725
|
+
async function $do109(client, request, options) {
|
|
71726
|
+
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71727
|
+
if (!parsed.ok) {
|
|
71728
|
+
return [parsed, { status: "invalid" }];
|
|
71729
|
+
}
|
|
71730
|
+
const payload = parsed.value;
|
|
71731
|
+
const body = encodeJSON("body", payload.UpsertSchedule, { explode: true });
|
|
71732
|
+
const pathParams = {
|
|
71733
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71734
|
+
explode: false,
|
|
71735
|
+
charEncoding: "percent"
|
|
71736
|
+
}),
|
|
71737
|
+
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
71738
|
+
explode: false,
|
|
71739
|
+
charEncoding: "percent"
|
|
71740
|
+
})
|
|
71741
|
+
};
|
|
71742
|
+
const path = pathToFunc("/accounts/{accountID}/schedules/{scheduleID}")(pathParams);
|
|
71743
|
+
const headers = new Headers(compactMap({
|
|
71744
|
+
"Content-Type": "application/json",
|
|
71745
|
+
Accept: "application/json",
|
|
71746
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71747
|
+
}));
|
|
71748
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71749
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71750
|
+
const context = {
|
|
71751
|
+
options: client._options,
|
|
71752
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71753
|
+
operationID: "updateSchedule",
|
|
71754
|
+
oAuth2Scopes: [],
|
|
71755
|
+
resolvedSecurity: requestSecurity,
|
|
71756
|
+
securitySource: client._options.security,
|
|
71757
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71758
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71759
|
+
};
|
|
71760
|
+
const requestRes = client._createRequest(context, {
|
|
71761
|
+
security: requestSecurity,
|
|
71762
|
+
method: "PUT",
|
|
71763
|
+
baseURL: options?.serverURL,
|
|
71764
|
+
path,
|
|
71765
|
+
headers,
|
|
71766
|
+
body,
|
|
71767
|
+
userAgent: client._options.userAgent,
|
|
71768
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71769
|
+
}, options);
|
|
71770
|
+
if (!requestRes.ok) {
|
|
71771
|
+
return [requestRes, { status: "invalid" }];
|
|
71772
|
+
}
|
|
71773
|
+
const req = requestRes.value;
|
|
71774
|
+
const doResult = await client._do(req, {
|
|
71775
|
+
context,
|
|
71776
|
+
errorCodes: [
|
|
71777
|
+
"400",
|
|
71778
|
+
"401",
|
|
71779
|
+
"403",
|
|
71780
|
+
"404",
|
|
71781
|
+
"409",
|
|
71782
|
+
"422",
|
|
71783
|
+
"429",
|
|
71784
|
+
"4XX",
|
|
71785
|
+
"500",
|
|
71786
|
+
"504",
|
|
71787
|
+
"5XX"
|
|
71788
|
+
],
|
|
71789
|
+
retryConfig: context.retryConfig,
|
|
71790
|
+
retryCodes: context.retryCodes
|
|
71791
|
+
});
|
|
71792
|
+
if (!doResult.ok) {
|
|
71793
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71794
|
+
}
|
|
71795
|
+
const response = doResult.value;
|
|
71796
|
+
const responseFields = {
|
|
71797
|
+
HttpMeta: { Response: response, Request: req }
|
|
71798
|
+
};
|
|
71799
|
+
const [result] = await match(json(200, UpdateScheduleResponse$inboundSchema, {
|
|
70731
71800
|
hdrs: true,
|
|
70732
71801
|
key: "Result"
|
|
70733
71802
|
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ScheduleValidationError$inboundSchema, {
|
|
@@ -70738,7 +71807,7 @@ async function $do105(client, request, options) {
|
|
|
70738
71807
|
}
|
|
70739
71808
|
return [result, { status: "complete", request: req, response }];
|
|
70740
71809
|
}
|
|
70741
|
-
var
|
|
71810
|
+
var init_schedulingUpdate = __esm(() => {
|
|
70742
71811
|
init_encodings();
|
|
70743
71812
|
init_matchers();
|
|
70744
71813
|
init_primitives();
|
|
@@ -70750,24 +71819,24 @@ var init_schedulingCreate = __esm(() => {
|
|
|
70750
71819
|
init_async();
|
|
70751
71820
|
});
|
|
70752
71821
|
|
|
70753
|
-
// src/mcp-server/tools/
|
|
70754
|
-
var
|
|
70755
|
-
var
|
|
70756
|
-
|
|
71822
|
+
// src/mcp-server/tools/schedulingUpdate.ts
|
|
71823
|
+
var args109, tool$schedulingUpdate;
|
|
71824
|
+
var init_schedulingUpdate2 = __esm(() => {
|
|
71825
|
+
init_schedulingUpdate();
|
|
70757
71826
|
init_operations();
|
|
70758
71827
|
init_tools();
|
|
70759
|
-
|
|
70760
|
-
request:
|
|
71828
|
+
args109 = {
|
|
71829
|
+
request: UpdateScheduleRequest$inboundSchema
|
|
70761
71830
|
};
|
|
70762
|
-
tool$
|
|
70763
|
-
name: "scheduling-
|
|
70764
|
-
description: `Describes the schedule to
|
|
71831
|
+
tool$schedulingUpdate = {
|
|
71832
|
+
name: "scheduling-update",
|
|
71833
|
+
description: `Describes the schedule to modify.
|
|
70765
71834
|
|
|
70766
71835
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70767
71836
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
70768
|
-
args:
|
|
70769
|
-
tool: async (client,
|
|
70770
|
-
const [result, apiCall] = await
|
|
71837
|
+
args: args109,
|
|
71838
|
+
tool: async (client, args110, ctx) => {
|
|
71839
|
+
const [result, apiCall] = await schedulingUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70771
71840
|
if (!result.ok) {
|
|
70772
71841
|
return {
|
|
70773
71842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70780,12 +71849,137 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
70780
71849
|
};
|
|
70781
71850
|
});
|
|
70782
71851
|
|
|
70783
|
-
// src/funcs/
|
|
70784
|
-
function
|
|
70785
|
-
return new APIPromise($
|
|
71852
|
+
// src/funcs/supportCreateTicket.ts
|
|
71853
|
+
function supportCreateTicket(client, request, options) {
|
|
71854
|
+
return new APIPromise($do110(client, request, options));
|
|
70786
71855
|
}
|
|
70787
|
-
async function $
|
|
70788
|
-
const parsed = safeParse(request, (value) =>
|
|
71856
|
+
async function $do110(client, request, options) {
|
|
71857
|
+
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71858
|
+
if (!parsed.ok) {
|
|
71859
|
+
return [parsed, { status: "invalid" }];
|
|
71860
|
+
}
|
|
71861
|
+
const payload = parsed.value;
|
|
71862
|
+
const body = encodeJSON("body", payload.CreateTicket, { explode: true });
|
|
71863
|
+
const pathParams = {
|
|
71864
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71865
|
+
explode: false,
|
|
71866
|
+
charEncoding: "percent"
|
|
71867
|
+
})
|
|
71868
|
+
};
|
|
71869
|
+
const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
|
|
71870
|
+
const headers = new Headers(compactMap({
|
|
71871
|
+
"Content-Type": "application/json",
|
|
71872
|
+
Accept: "application/json",
|
|
71873
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71874
|
+
}));
|
|
71875
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71876
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71877
|
+
const context = {
|
|
71878
|
+
options: client._options,
|
|
71879
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71880
|
+
operationID: "createTicket",
|
|
71881
|
+
oAuth2Scopes: [],
|
|
71882
|
+
resolvedSecurity: requestSecurity,
|
|
71883
|
+
securitySource: client._options.security,
|
|
71884
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71885
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71886
|
+
};
|
|
71887
|
+
const requestRes = client._createRequest(context, {
|
|
71888
|
+
security: requestSecurity,
|
|
71889
|
+
method: "POST",
|
|
71890
|
+
baseURL: options?.serverURL,
|
|
71891
|
+
path,
|
|
71892
|
+
headers,
|
|
71893
|
+
body,
|
|
71894
|
+
userAgent: client._options.userAgent,
|
|
71895
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71896
|
+
}, options);
|
|
71897
|
+
if (!requestRes.ok) {
|
|
71898
|
+
return [requestRes, { status: "invalid" }];
|
|
71899
|
+
}
|
|
71900
|
+
const req = requestRes.value;
|
|
71901
|
+
const doResult = await client._do(req, {
|
|
71902
|
+
context,
|
|
71903
|
+
errorCodes: [
|
|
71904
|
+
"400",
|
|
71905
|
+
"401",
|
|
71906
|
+
"403",
|
|
71907
|
+
"404",
|
|
71908
|
+
"409",
|
|
71909
|
+
"422",
|
|
71910
|
+
"429",
|
|
71911
|
+
"4XX",
|
|
71912
|
+
"500",
|
|
71913
|
+
"504",
|
|
71914
|
+
"5XX"
|
|
71915
|
+
],
|
|
71916
|
+
retryConfig: context.retryConfig,
|
|
71917
|
+
retryCodes: context.retryCodes
|
|
71918
|
+
});
|
|
71919
|
+
if (!doResult.ok) {
|
|
71920
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71921
|
+
}
|
|
71922
|
+
const response = doResult.value;
|
|
71923
|
+
const responseFields = {
|
|
71924
|
+
HttpMeta: { Response: response, Request: req }
|
|
71925
|
+
};
|
|
71926
|
+
const [result] = await match(json(200, CreateTicketResponse$inboundSchema, {
|
|
71927
|
+
hdrs: true,
|
|
71928
|
+
key: "Result"
|
|
71929
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateTicketError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71930
|
+
if (!result.ok) {
|
|
71931
|
+
return [result, { status: "complete", request: req, response }];
|
|
71932
|
+
}
|
|
71933
|
+
return [result, { status: "complete", request: req, response }];
|
|
71934
|
+
}
|
|
71935
|
+
var init_supportCreateTicket = __esm(() => {
|
|
71936
|
+
init_encodings();
|
|
71937
|
+
init_matchers();
|
|
71938
|
+
init_primitives();
|
|
71939
|
+
init_schemas();
|
|
71940
|
+
init_security();
|
|
71941
|
+
init_url();
|
|
71942
|
+
init_errors2();
|
|
71943
|
+
init_operations();
|
|
71944
|
+
init_async();
|
|
71945
|
+
});
|
|
71946
|
+
|
|
71947
|
+
// src/mcp-server/tools/supportCreateTicket.ts
|
|
71948
|
+
var args110, tool$supportCreateTicket;
|
|
71949
|
+
var init_supportCreateTicket2 = __esm(() => {
|
|
71950
|
+
init_supportCreateTicket();
|
|
71951
|
+
init_operations();
|
|
71952
|
+
init_tools();
|
|
71953
|
+
args110 = {
|
|
71954
|
+
request: CreateTicketRequest$inboundSchema
|
|
71955
|
+
};
|
|
71956
|
+
tool$supportCreateTicket = {
|
|
71957
|
+
name: "support-create-ticket",
|
|
71958
|
+
description: `Create a support ticket for a Moov account.
|
|
71959
|
+
|
|
71960
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71961
|
+
you'll need to specify the \`/accounts/{accountID}/support.write\` scope.`,
|
|
71962
|
+
args: args110,
|
|
71963
|
+
tool: async (client, args111, ctx) => {
|
|
71964
|
+
const [result, apiCall] = await supportCreateTicket(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71965
|
+
if (!result.ok) {
|
|
71966
|
+
return {
|
|
71967
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71968
|
+
isError: true
|
|
71969
|
+
};
|
|
71970
|
+
}
|
|
71971
|
+
const value = result.value.result;
|
|
71972
|
+
return formatResult(value, apiCall);
|
|
71973
|
+
}
|
|
71974
|
+
};
|
|
71975
|
+
});
|
|
71976
|
+
|
|
71977
|
+
// src/funcs/supportGetTicket.ts
|
|
71978
|
+
function supportGetTicket(client, request, options) {
|
|
71979
|
+
return new APIPromise($do111(client, request, options));
|
|
71980
|
+
}
|
|
71981
|
+
async function $do111(client, request, options) {
|
|
71982
|
+
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70789
71983
|
if (!parsed.ok) {
|
|
70790
71984
|
return [parsed, { status: "invalid" }];
|
|
70791
71985
|
}
|
|
@@ -70796,12 +71990,12 @@ async function $do106(client, request, options) {
|
|
|
70796
71990
|
explode: false,
|
|
70797
71991
|
charEncoding: "percent"
|
|
70798
71992
|
}),
|
|
70799
|
-
|
|
71993
|
+
ticketID: encodeSimple("ticketID", payload.ticketID, {
|
|
70800
71994
|
explode: false,
|
|
70801
71995
|
charEncoding: "percent"
|
|
70802
71996
|
})
|
|
70803
71997
|
};
|
|
70804
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
71998
|
+
const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
|
|
70805
71999
|
const headers = new Headers(compactMap({
|
|
70806
72000
|
Accept: "application/json",
|
|
70807
72001
|
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -70811,7 +72005,7 @@ async function $do106(client, request, options) {
|
|
|
70811
72005
|
const context = {
|
|
70812
72006
|
options: client._options,
|
|
70813
72007
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
70814
|
-
operationID: "
|
|
72008
|
+
operationID: "getTicket",
|
|
70815
72009
|
oAuth2Scopes: [],
|
|
70816
72010
|
resolvedSecurity: requestSecurity,
|
|
70817
72011
|
securitySource: client._options.security,
|
|
@@ -70845,7 +72039,7 @@ async function $do106(client, request, options) {
|
|
|
70845
72039
|
const responseFields = {
|
|
70846
72040
|
HttpMeta: { Response: response, Request: req }
|
|
70847
72041
|
};
|
|
70848
|
-
const [result] = await match(json(200,
|
|
72042
|
+
const [result] = await match(json(200, GetTicketResponse$inboundSchema, {
|
|
70849
72043
|
hdrs: true,
|
|
70850
72044
|
key: "Result"
|
|
70851
72045
|
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -70854,7 +72048,7 @@ async function $do106(client, request, options) {
|
|
|
70854
72048
|
}
|
|
70855
72049
|
return [result, { status: "complete", request: req, response }];
|
|
70856
72050
|
}
|
|
70857
|
-
var
|
|
72051
|
+
var init_supportGetTicket = __esm(() => {
|
|
70858
72052
|
init_encodings();
|
|
70859
72053
|
init_matchers();
|
|
70860
72054
|
init_primitives();
|
|
@@ -70865,24 +72059,24 @@ var init_schedulingGet = __esm(() => {
|
|
|
70865
72059
|
init_async();
|
|
70866
72060
|
});
|
|
70867
72061
|
|
|
70868
|
-
// src/mcp-server/tools/
|
|
70869
|
-
var
|
|
70870
|
-
var
|
|
70871
|
-
|
|
72062
|
+
// src/mcp-server/tools/supportGetTicket.ts
|
|
72063
|
+
var args111, tool$supportGetTicket;
|
|
72064
|
+
var init_supportGetTicket2 = __esm(() => {
|
|
72065
|
+
init_supportGetTicket();
|
|
70872
72066
|
init_operations();
|
|
70873
72067
|
init_tools();
|
|
70874
|
-
|
|
70875
|
-
request:
|
|
72068
|
+
args111 = {
|
|
72069
|
+
request: GetTicketRequest$inboundSchema
|
|
70876
72070
|
};
|
|
70877
|
-
tool$
|
|
70878
|
-
name: "
|
|
70879
|
-
description: `
|
|
72071
|
+
tool$supportGetTicket = {
|
|
72072
|
+
name: "support-get-ticket",
|
|
72073
|
+
description: `Retrieve a support ticket by ID.
|
|
70880
72074
|
|
|
70881
72075
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70882
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
70883
|
-
args:
|
|
70884
|
-
tool: async (client,
|
|
70885
|
-
const [result, apiCall] = await
|
|
72076
|
+
you'll need to specify the \`/accounts/{accountID}/support.read\` scope.`,
|
|
72077
|
+
args: args111,
|
|
72078
|
+
tool: async (client, args112, ctx) => {
|
|
72079
|
+
const [result, apiCall] = await supportGetTicket(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70886
72080
|
if (!result.ok) {
|
|
70887
72081
|
return {
|
|
70888
72082
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70895,12 +72089,12 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
70895
72089
|
};
|
|
70896
72090
|
});
|
|
70897
72091
|
|
|
70898
|
-
// src/funcs/
|
|
70899
|
-
function
|
|
70900
|
-
return new APIPromise($
|
|
72092
|
+
// src/funcs/supportListTicketMessages.ts
|
|
72093
|
+
function supportListTicketMessages(client, request, options) {
|
|
72094
|
+
return new APIPromise($do112(client, request, options));
|
|
70901
72095
|
}
|
|
70902
|
-
async function $
|
|
70903
|
-
const parsed = safeParse(request, (value) =>
|
|
72096
|
+
async function $do112(client, request, options) {
|
|
72097
|
+
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70904
72098
|
if (!parsed.ok) {
|
|
70905
72099
|
return [parsed, { status: "invalid" }];
|
|
70906
72100
|
}
|
|
@@ -70911,13 +72105,16 @@ async function $do107(client, request, options) {
|
|
|
70911
72105
|
explode: false,
|
|
70912
72106
|
charEncoding: "percent"
|
|
70913
72107
|
}),
|
|
70914
|
-
|
|
70915
|
-
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
72108
|
+
ticketID: encodeSimple("ticketID", payload.ticketID, {
|
|
70916
72109
|
explode: false,
|
|
70917
72110
|
charEncoding: "percent"
|
|
70918
72111
|
})
|
|
70919
72112
|
};
|
|
70920
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72113
|
+
const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}/messages")(pathParams);
|
|
72114
|
+
const query = encodeFormQuery({
|
|
72115
|
+
count: payload.count,
|
|
72116
|
+
skip: payload.skip
|
|
72117
|
+
}, { explode: false });
|
|
70921
72118
|
const headers = new Headers(compactMap({
|
|
70922
72119
|
Accept: "application/json",
|
|
70923
72120
|
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -70927,7 +72124,7 @@ async function $do107(client, request, options) {
|
|
|
70927
72124
|
const context = {
|
|
70928
72125
|
options: client._options,
|
|
70929
72126
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
70930
|
-
operationID: "
|
|
72127
|
+
operationID: "listTicketMessages",
|
|
70931
72128
|
oAuth2Scopes: [],
|
|
70932
72129
|
resolvedSecurity: requestSecurity,
|
|
70933
72130
|
securitySource: client._options.security,
|
|
@@ -70940,6 +72137,7 @@ async function $do107(client, request, options) {
|
|
|
70940
72137
|
baseURL: options?.serverURL,
|
|
70941
72138
|
path,
|
|
70942
72139
|
headers,
|
|
72140
|
+
query,
|
|
70943
72141
|
body,
|
|
70944
72142
|
userAgent: client._options.userAgent,
|
|
70945
72143
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -70950,7 +72148,7 @@ async function $do107(client, request, options) {
|
|
|
70950
72148
|
const req = requestRes.value;
|
|
70951
72149
|
const doResult = await client._do(req, {
|
|
70952
72150
|
context,
|
|
70953
|
-
errorCodes: ["401", "403", "
|
|
72151
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
70954
72152
|
retryConfig: context.retryConfig,
|
|
70955
72153
|
retryCodes: context.retryCodes
|
|
70956
72154
|
});
|
|
@@ -70961,16 +72159,16 @@ async function $do107(client, request, options) {
|
|
|
70961
72159
|
const responseFields = {
|
|
70962
72160
|
HttpMeta: { Response: response, Request: req }
|
|
70963
72161
|
};
|
|
70964
|
-
const [result] = await match(json(200,
|
|
72162
|
+
const [result] = await match(json(200, ListTicketMessagesResponse$inboundSchema, {
|
|
70965
72163
|
hdrs: true,
|
|
70966
72164
|
key: "Result"
|
|
70967
|
-
}), fail([401, 403,
|
|
72165
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
70968
72166
|
if (!result.ok) {
|
|
70969
72167
|
return [result, { status: "complete", request: req, response }];
|
|
70970
72168
|
}
|
|
70971
72169
|
return [result, { status: "complete", request: req, response }];
|
|
70972
72170
|
}
|
|
70973
|
-
var
|
|
72171
|
+
var init_supportListTicketMessages = __esm(() => {
|
|
70974
72172
|
init_encodings();
|
|
70975
72173
|
init_matchers();
|
|
70976
72174
|
init_primitives();
|
|
@@ -70981,24 +72179,24 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
70981
72179
|
init_async();
|
|
70982
72180
|
});
|
|
70983
72181
|
|
|
70984
|
-
// src/mcp-server/tools/
|
|
70985
|
-
var
|
|
70986
|
-
var
|
|
70987
|
-
|
|
72182
|
+
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
72183
|
+
var args112, tool$supportListTicketMessages;
|
|
72184
|
+
var init_supportListTicketMessages2 = __esm(() => {
|
|
72185
|
+
init_supportListTicketMessages();
|
|
70988
72186
|
init_operations();
|
|
70989
72187
|
init_tools();
|
|
70990
|
-
|
|
70991
|
-
request:
|
|
72188
|
+
args112 = {
|
|
72189
|
+
request: ListTicketMessagesRequest$inboundSchema
|
|
70992
72190
|
};
|
|
70993
|
-
tool$
|
|
70994
|
-
name: "
|
|
70995
|
-
description: `
|
|
72191
|
+
tool$supportListTicketMessages = {
|
|
72192
|
+
name: "support-list-ticket-messages",
|
|
72193
|
+
description: `List all the messages for a support ticket.
|
|
70996
72194
|
|
|
70997
72195
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70998
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
70999
|
-
args:
|
|
71000
|
-
tool: async (client,
|
|
71001
|
-
const [result, apiCall] = await
|
|
72196
|
+
you'll need to specify the \`/accounts/{accountID}/support.read\` scope.`,
|
|
72197
|
+
args: args112,
|
|
72198
|
+
tool: async (client, args113, ctx) => {
|
|
72199
|
+
const [result, apiCall] = await supportListTicketMessages(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71002
72200
|
if (!result.ok) {
|
|
71003
72201
|
return {
|
|
71004
72202
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71011,12 +72209,12 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71011
72209
|
};
|
|
71012
72210
|
});
|
|
71013
72211
|
|
|
71014
|
-
// src/funcs/
|
|
71015
|
-
function
|
|
71016
|
-
return new APIPromise($
|
|
72212
|
+
// src/funcs/supportListTickets.ts
|
|
72213
|
+
function supportListTickets(client, request, options) {
|
|
72214
|
+
return new APIPromise($do113(client, request, options));
|
|
71017
72215
|
}
|
|
71018
|
-
async function $
|
|
71019
|
-
const parsed = safeParse(request, (value) =>
|
|
72216
|
+
async function $do113(client, request, options) {
|
|
72217
|
+
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71020
72218
|
if (!parsed.ok) {
|
|
71021
72219
|
return [parsed, { status: "invalid" }];
|
|
71022
72220
|
}
|
|
@@ -71028,10 +72226,9 @@ async function $do108(client, request, options) {
|
|
|
71028
72226
|
charEncoding: "percent"
|
|
71029
72227
|
})
|
|
71030
72228
|
};
|
|
71031
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72229
|
+
const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
|
|
71032
72230
|
const query = encodeFormQuery({
|
|
71033
72231
|
count: payload.count,
|
|
71034
|
-
hydrate: payload.hydrate,
|
|
71035
72232
|
skip: payload.skip
|
|
71036
72233
|
}, { explode: false });
|
|
71037
72234
|
const headers = new Headers(compactMap({
|
|
@@ -71043,7 +72240,7 @@ async function $do108(client, request, options) {
|
|
|
71043
72240
|
const context = {
|
|
71044
72241
|
options: client._options,
|
|
71045
72242
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71046
|
-
operationID: "
|
|
72243
|
+
operationID: "listTickets",
|
|
71047
72244
|
oAuth2Scopes: [],
|
|
71048
72245
|
resolvedSecurity: requestSecurity,
|
|
71049
72246
|
securitySource: client._options.security,
|
|
@@ -71078,7 +72275,7 @@ async function $do108(client, request, options) {
|
|
|
71078
72275
|
const responseFields = {
|
|
71079
72276
|
HttpMeta: { Response: response, Request: req }
|
|
71080
72277
|
};
|
|
71081
|
-
const [result] = await match(json(200,
|
|
72278
|
+
const [result] = await match(json(200, ListTicketsResponse$inboundSchema, {
|
|
71082
72279
|
hdrs: true,
|
|
71083
72280
|
key: "Result"
|
|
71084
72281
|
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -71087,7 +72284,7 @@ async function $do108(client, request, options) {
|
|
|
71087
72284
|
}
|
|
71088
72285
|
return [result, { status: "complete", request: req, response }];
|
|
71089
72286
|
}
|
|
71090
|
-
var
|
|
72287
|
+
var init_supportListTickets = __esm(() => {
|
|
71091
72288
|
init_encodings();
|
|
71092
72289
|
init_matchers();
|
|
71093
72290
|
init_primitives();
|
|
@@ -71098,24 +72295,24 @@ var init_schedulingList = __esm(() => {
|
|
|
71098
72295
|
init_async();
|
|
71099
72296
|
});
|
|
71100
72297
|
|
|
71101
|
-
// src/mcp-server/tools/
|
|
71102
|
-
var
|
|
71103
|
-
var
|
|
71104
|
-
|
|
72298
|
+
// src/mcp-server/tools/supportListTickets.ts
|
|
72299
|
+
var args113, tool$supportListTickets;
|
|
72300
|
+
var init_supportListTickets2 = __esm(() => {
|
|
72301
|
+
init_supportListTickets();
|
|
71105
72302
|
init_operations();
|
|
71106
72303
|
init_tools();
|
|
71107
|
-
|
|
71108
|
-
request:
|
|
72304
|
+
args113 = {
|
|
72305
|
+
request: ListTicketsRequest$inboundSchema
|
|
71109
72306
|
};
|
|
71110
|
-
tool$
|
|
71111
|
-
name: "
|
|
71112
|
-
description: `
|
|
72307
|
+
tool$supportListTickets = {
|
|
72308
|
+
name: "support-list-tickets",
|
|
72309
|
+
description: `List all the support tickets created under a Moov account.
|
|
71113
72310
|
|
|
71114
72311
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71115
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
71116
|
-
args:
|
|
71117
|
-
tool: async (client,
|
|
71118
|
-
const [result, apiCall] = await
|
|
72312
|
+
you'll need to specify the \`/accounts/{accountID}/support.read\` scope.`,
|
|
72313
|
+
args: args113,
|
|
72314
|
+
tool: async (client, args114, ctx) => {
|
|
72315
|
+
const [result, apiCall] = await supportListTickets(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71119
72316
|
if (!result.ok) {
|
|
71120
72317
|
return {
|
|
71121
72318
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71128,28 +72325,28 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
71128
72325
|
};
|
|
71129
72326
|
});
|
|
71130
72327
|
|
|
71131
|
-
// src/funcs/
|
|
71132
|
-
function
|
|
71133
|
-
return new APIPromise($
|
|
72328
|
+
// src/funcs/supportUpdateTicket.ts
|
|
72329
|
+
function supportUpdateTicket(client, request, options) {
|
|
72330
|
+
return new APIPromise($do114(client, request, options));
|
|
71134
72331
|
}
|
|
71135
|
-
async function $
|
|
71136
|
-
const parsed = safeParse(request, (value) =>
|
|
72332
|
+
async function $do114(client, request, options) {
|
|
72333
|
+
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71137
72334
|
if (!parsed.ok) {
|
|
71138
72335
|
return [parsed, { status: "invalid" }];
|
|
71139
72336
|
}
|
|
71140
72337
|
const payload = parsed.value;
|
|
71141
|
-
const body = encodeJSON("body", payload.
|
|
72338
|
+
const body = encodeJSON("body", payload.UpdateTicket, { explode: true });
|
|
71142
72339
|
const pathParams = {
|
|
71143
72340
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71144
72341
|
explode: false,
|
|
71145
72342
|
charEncoding: "percent"
|
|
71146
72343
|
}),
|
|
71147
|
-
|
|
72344
|
+
ticketID: encodeSimple("ticketID", payload.ticketID, {
|
|
71148
72345
|
explode: false,
|
|
71149
72346
|
charEncoding: "percent"
|
|
71150
72347
|
})
|
|
71151
72348
|
};
|
|
71152
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72349
|
+
const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}")(pathParams);
|
|
71153
72350
|
const headers = new Headers(compactMap({
|
|
71154
72351
|
"Content-Type": "application/json",
|
|
71155
72352
|
Accept: "application/json",
|
|
@@ -71160,7 +72357,7 @@ async function $do109(client, request, options) {
|
|
|
71160
72357
|
const context = {
|
|
71161
72358
|
options: client._options,
|
|
71162
72359
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71163
|
-
operationID: "
|
|
72360
|
+
operationID: "updateTicket",
|
|
71164
72361
|
oAuth2Scopes: [],
|
|
71165
72362
|
resolvedSecurity: requestSecurity,
|
|
71166
72363
|
securitySource: client._options.security,
|
|
@@ -71169,7 +72366,7 @@ async function $do109(client, request, options) {
|
|
|
71169
72366
|
};
|
|
71170
72367
|
const requestRes = client._createRequest(context, {
|
|
71171
72368
|
security: requestSecurity,
|
|
71172
|
-
method: "
|
|
72369
|
+
method: "PATCH",
|
|
71173
72370
|
baseURL: options?.serverURL,
|
|
71174
72371
|
path,
|
|
71175
72372
|
headers,
|
|
@@ -71206,18 +72403,16 @@ async function $do109(client, request, options) {
|
|
|
71206
72403
|
const responseFields = {
|
|
71207
72404
|
HttpMeta: { Response: response, Request: req }
|
|
71208
72405
|
};
|
|
71209
|
-
const [result] = await match(json(200,
|
|
72406
|
+
const [result] = await match(json(200, UpdateTicketResponse$inboundSchema, {
|
|
71210
72407
|
hdrs: true,
|
|
71211
72408
|
key: "Result"
|
|
71212
|
-
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422,
|
|
71213
|
-
hdrs: true
|
|
71214
|
-
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72409
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpdateTicketError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71215
72410
|
if (!result.ok) {
|
|
71216
72411
|
return [result, { status: "complete", request: req, response }];
|
|
71217
72412
|
}
|
|
71218
72413
|
return [result, { status: "complete", request: req, response }];
|
|
71219
72414
|
}
|
|
71220
|
-
var
|
|
72415
|
+
var init_supportUpdateTicket = __esm(() => {
|
|
71221
72416
|
init_encodings();
|
|
71222
72417
|
init_matchers();
|
|
71223
72418
|
init_primitives();
|
|
@@ -71229,24 +72424,24 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
71229
72424
|
init_async();
|
|
71230
72425
|
});
|
|
71231
72426
|
|
|
71232
|
-
// src/mcp-server/tools/
|
|
71233
|
-
var
|
|
71234
|
-
var
|
|
71235
|
-
|
|
72427
|
+
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
72428
|
+
var args114, tool$supportUpdateTicket;
|
|
72429
|
+
var init_supportUpdateTicket2 = __esm(() => {
|
|
72430
|
+
init_supportUpdateTicket();
|
|
71236
72431
|
init_operations();
|
|
71237
72432
|
init_tools();
|
|
71238
|
-
|
|
71239
|
-
request:
|
|
72433
|
+
args114 = {
|
|
72434
|
+
request: UpdateTicketRequest$inboundSchema
|
|
71240
72435
|
};
|
|
71241
|
-
tool$
|
|
71242
|
-
name: "
|
|
71243
|
-
description: `
|
|
72436
|
+
tool$supportUpdateTicket = {
|
|
72437
|
+
name: "support-update-ticket",
|
|
72438
|
+
description: `Updates a support ticket.
|
|
71244
72439
|
|
|
71245
72440
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71246
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
71247
|
-
args:
|
|
71248
|
-
tool: async (client,
|
|
71249
|
-
const [result, apiCall] = await
|
|
72441
|
+
you'll need to specify the \`/accounts/{accountID}/support.write\` scope.`,
|
|
72442
|
+
args: args114,
|
|
72443
|
+
tool: async (client, args115, ctx) => {
|
|
72444
|
+
const [result, apiCall] = await supportUpdateTicket(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71250
72445
|
if (!result.ok) {
|
|
71251
72446
|
return {
|
|
71252
72447
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71261,9 +72456,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
71261
72456
|
|
|
71262
72457
|
// src/funcs/sweepsCreateConfig.ts
|
|
71263
72458
|
function sweepsCreateConfig(client, request, options) {
|
|
71264
|
-
return new APIPromise($
|
|
72459
|
+
return new APIPromise($do115(client, request, options));
|
|
71265
72460
|
}
|
|
71266
|
-
async function $
|
|
72461
|
+
async function $do115(client, request, options) {
|
|
71267
72462
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71268
72463
|
if (!parsed.ok) {
|
|
71269
72464
|
return [parsed, { status: "invalid" }];
|
|
@@ -71355,12 +72550,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
71355
72550
|
});
|
|
71356
72551
|
|
|
71357
72552
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
71358
|
-
var
|
|
72553
|
+
var args115, tool$sweepsCreateConfig;
|
|
71359
72554
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
71360
72555
|
init_sweepsCreateConfig();
|
|
71361
72556
|
init_operations();
|
|
71362
72557
|
init_tools();
|
|
71363
|
-
|
|
72558
|
+
args115 = {
|
|
71364
72559
|
request: CreateSweepConfigRequest$inboundSchema
|
|
71365
72560
|
};
|
|
71366
72561
|
tool$sweepsCreateConfig = {
|
|
@@ -71369,9 +72564,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
71369
72564
|
|
|
71370
72565
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71371
72566
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
71372
|
-
args:
|
|
71373
|
-
tool: async (client,
|
|
71374
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
72567
|
+
args: args115,
|
|
72568
|
+
tool: async (client, args116, ctx) => {
|
|
72569
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71375
72570
|
if (!result.ok) {
|
|
71376
72571
|
return {
|
|
71377
72572
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71386,9 +72581,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
71386
72581
|
|
|
71387
72582
|
// src/funcs/sweepsGet.ts
|
|
71388
72583
|
function sweepsGet(client, request, options) {
|
|
71389
|
-
return new APIPromise($
|
|
72584
|
+
return new APIPromise($do116(client, request, options));
|
|
71390
72585
|
}
|
|
71391
|
-
async function $
|
|
72586
|
+
async function $do116(client, request, options) {
|
|
71392
72587
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71393
72588
|
if (!parsed.ok) {
|
|
71394
72589
|
return [parsed, { status: "invalid" }];
|
|
@@ -71474,12 +72669,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
71474
72669
|
});
|
|
71475
72670
|
|
|
71476
72671
|
// src/mcp-server/tools/sweepsGet.ts
|
|
71477
|
-
var
|
|
72672
|
+
var args116, tool$sweepsGet;
|
|
71478
72673
|
var init_sweepsGet2 = __esm(() => {
|
|
71479
72674
|
init_sweepsGet();
|
|
71480
72675
|
init_operations();
|
|
71481
72676
|
init_tools();
|
|
71482
|
-
|
|
72677
|
+
args116 = {
|
|
71483
72678
|
request: GetSweepRequest$inboundSchema
|
|
71484
72679
|
};
|
|
71485
72680
|
tool$sweepsGet = {
|
|
@@ -71488,9 +72683,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
71488
72683
|
|
|
71489
72684
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71490
72685
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
71491
|
-
args:
|
|
71492
|
-
tool: async (client,
|
|
71493
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
72686
|
+
args: args116,
|
|
72687
|
+
tool: async (client, args117, ctx) => {
|
|
72688
|
+
const [result, apiCall] = await sweepsGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71494
72689
|
if (!result.ok) {
|
|
71495
72690
|
return {
|
|
71496
72691
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71505,9 +72700,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
71505
72700
|
|
|
71506
72701
|
// src/funcs/sweepsGetConfig.ts
|
|
71507
72702
|
function sweepsGetConfig(client, request, options) {
|
|
71508
|
-
return new APIPromise($
|
|
72703
|
+
return new APIPromise($do117(client, request, options));
|
|
71509
72704
|
}
|
|
71510
|
-
async function $
|
|
72705
|
+
async function $do117(client, request, options) {
|
|
71511
72706
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71512
72707
|
if (!parsed.ok) {
|
|
71513
72708
|
return [parsed, { status: "invalid" }];
|
|
@@ -71589,12 +72784,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
71589
72784
|
});
|
|
71590
72785
|
|
|
71591
72786
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
71592
|
-
var
|
|
72787
|
+
var args117, tool$sweepsGetConfig;
|
|
71593
72788
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
71594
72789
|
init_sweepsGetConfig();
|
|
71595
72790
|
init_operations();
|
|
71596
72791
|
init_tools();
|
|
71597
|
-
|
|
72792
|
+
args117 = {
|
|
71598
72793
|
request: GetSweepConfigRequest$inboundSchema
|
|
71599
72794
|
};
|
|
71600
72795
|
tool$sweepsGetConfig = {
|
|
@@ -71603,9 +72798,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
71603
72798
|
|
|
71604
72799
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71605
72800
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
71606
|
-
args:
|
|
71607
|
-
tool: async (client,
|
|
71608
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
72801
|
+
args: args117,
|
|
72802
|
+
tool: async (client, args118, ctx) => {
|
|
72803
|
+
const [result, apiCall] = await sweepsGetConfig(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71609
72804
|
if (!result.ok) {
|
|
71610
72805
|
return {
|
|
71611
72806
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71620,9 +72815,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
71620
72815
|
|
|
71621
72816
|
// src/funcs/sweepsList.ts
|
|
71622
72817
|
function sweepsList(client, request, options) {
|
|
71623
|
-
return new APIPromise($
|
|
72818
|
+
return new APIPromise($do118(client, request, options));
|
|
71624
72819
|
}
|
|
71625
|
-
async function $
|
|
72820
|
+
async function $do118(client, request, options) {
|
|
71626
72821
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71627
72822
|
if (!parsed.ok) {
|
|
71628
72823
|
return [parsed, { status: "invalid" }];
|
|
@@ -71711,12 +72906,12 @@ var init_sweepsList = __esm(() => {
|
|
|
71711
72906
|
});
|
|
71712
72907
|
|
|
71713
72908
|
// src/mcp-server/tools/sweepsList.ts
|
|
71714
|
-
var
|
|
72909
|
+
var args118, tool$sweepsList;
|
|
71715
72910
|
var init_sweepsList2 = __esm(() => {
|
|
71716
72911
|
init_sweepsList();
|
|
71717
72912
|
init_operations();
|
|
71718
72913
|
init_tools();
|
|
71719
|
-
|
|
72914
|
+
args118 = {
|
|
71720
72915
|
request: ListSweepsRequest$inboundSchema
|
|
71721
72916
|
};
|
|
71722
72917
|
tool$sweepsList = {
|
|
@@ -71725,9 +72920,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
71725
72920
|
|
|
71726
72921
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71727
72922
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
71728
|
-
args:
|
|
71729
|
-
tool: async (client,
|
|
71730
|
-
const [result, apiCall] = await sweepsList(client,
|
|
72923
|
+
args: args118,
|
|
72924
|
+
tool: async (client, args119, ctx) => {
|
|
72925
|
+
const [result, apiCall] = await sweepsList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71731
72926
|
if (!result.ok) {
|
|
71732
72927
|
return {
|
|
71733
72928
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71742,9 +72937,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
71742
72937
|
|
|
71743
72938
|
// src/funcs/sweepsListConfigs.ts
|
|
71744
72939
|
function sweepsListConfigs(client, request, options) {
|
|
71745
|
-
return new APIPromise($
|
|
72940
|
+
return new APIPromise($do119(client, request, options));
|
|
71746
72941
|
}
|
|
71747
|
-
async function $
|
|
72942
|
+
async function $do119(client, request, options) {
|
|
71748
72943
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71749
72944
|
if (!parsed.ok) {
|
|
71750
72945
|
return [parsed, { status: "invalid" }];
|
|
@@ -71822,12 +73017,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
71822
73017
|
});
|
|
71823
73018
|
|
|
71824
73019
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
71825
|
-
var
|
|
73020
|
+
var args119, tool$sweepsListConfigs;
|
|
71826
73021
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
71827
73022
|
init_sweepsListConfigs();
|
|
71828
73023
|
init_operations();
|
|
71829
73024
|
init_tools();
|
|
71830
|
-
|
|
73025
|
+
args119 = {
|
|
71831
73026
|
request: ListSweepConfigsRequest$inboundSchema
|
|
71832
73027
|
};
|
|
71833
73028
|
tool$sweepsListConfigs = {
|
|
@@ -71836,9 +73031,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
71836
73031
|
|
|
71837
73032
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71838
73033
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
71839
|
-
args:
|
|
71840
|
-
tool: async (client,
|
|
71841
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
73034
|
+
args: args119,
|
|
73035
|
+
tool: async (client, args120, ctx) => {
|
|
73036
|
+
const [result, apiCall] = await sweepsListConfigs(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71842
73037
|
if (!result.ok) {
|
|
71843
73038
|
return {
|
|
71844
73039
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71853,9 +73048,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
71853
73048
|
|
|
71854
73049
|
// src/funcs/sweepsUpdateConfig.ts
|
|
71855
73050
|
function sweepsUpdateConfig(client, request, options) {
|
|
71856
|
-
return new APIPromise($
|
|
73051
|
+
return new APIPromise($do120(client, request, options));
|
|
71857
73052
|
}
|
|
71858
|
-
async function $
|
|
73053
|
+
async function $do120(client, request, options) {
|
|
71859
73054
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71860
73055
|
if (!parsed.ok) {
|
|
71861
73056
|
return [parsed, { status: "invalid" }];
|
|
@@ -71951,12 +73146,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
71951
73146
|
});
|
|
71952
73147
|
|
|
71953
73148
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
71954
|
-
var
|
|
73149
|
+
var args120, tool$sweepsUpdateConfig;
|
|
71955
73150
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
71956
73151
|
init_sweepsUpdateConfig();
|
|
71957
73152
|
init_operations();
|
|
71958
73153
|
init_tools();
|
|
71959
|
-
|
|
73154
|
+
args120 = {
|
|
71960
73155
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
71961
73156
|
};
|
|
71962
73157
|
tool$sweepsUpdateConfig = {
|
|
@@ -71965,9 +73160,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
71965
73160
|
|
|
71966
73161
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71967
73162
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
71968
|
-
args:
|
|
71969
|
-
tool: async (client,
|
|
71970
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
73163
|
+
args: args120,
|
|
73164
|
+
tool: async (client, args121, ctx) => {
|
|
73165
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71971
73166
|
if (!result.ok) {
|
|
71972
73167
|
return {
|
|
71973
73168
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71982,9 +73177,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
71982
73177
|
|
|
71983
73178
|
// src/funcs/terminalApplicationsCreate.ts
|
|
71984
73179
|
function terminalApplicationsCreate(client, request, options) {
|
|
71985
|
-
return new APIPromise($
|
|
73180
|
+
return new APIPromise($do121(client, request, options));
|
|
71986
73181
|
}
|
|
71987
|
-
async function $
|
|
73182
|
+
async function $do121(client, request, options) {
|
|
71988
73183
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
71989
73184
|
if (!parsed.ok) {
|
|
71990
73185
|
return [parsed, { status: "invalid" }];
|
|
@@ -72073,12 +73268,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
72073
73268
|
});
|
|
72074
73269
|
|
|
72075
73270
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
72076
|
-
var
|
|
73271
|
+
var args121, tool$terminalApplicationsCreate;
|
|
72077
73272
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
72078
73273
|
init_terminalApplicationsCreate();
|
|
72079
73274
|
init_components();
|
|
72080
73275
|
init_tools();
|
|
72081
|
-
|
|
73276
|
+
args121 = {
|
|
72082
73277
|
request: CreateTerminalApplication$inboundSchema
|
|
72083
73278
|
};
|
|
72084
73279
|
tool$terminalApplicationsCreate = {
|
|
@@ -72087,9 +73282,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
72087
73282
|
|
|
72088
73283
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72089
73284
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
72090
|
-
args:
|
|
72091
|
-
tool: async (client,
|
|
72092
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
73285
|
+
args: args121,
|
|
73286
|
+
tool: async (client, args122, ctx) => {
|
|
73287
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72093
73288
|
if (!result.ok) {
|
|
72094
73289
|
return {
|
|
72095
73290
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72104,9 +73299,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
72104
73299
|
|
|
72105
73300
|
// src/funcs/terminalApplicationsDelete.ts
|
|
72106
73301
|
function terminalApplicationsDelete(client, request, options) {
|
|
72107
|
-
return new APIPromise($
|
|
73302
|
+
return new APIPromise($do122(client, request, options));
|
|
72108
73303
|
}
|
|
72109
|
-
async function $
|
|
73304
|
+
async function $do122(client, request, options) {
|
|
72110
73305
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72111
73306
|
if (!parsed.ok) {
|
|
72112
73307
|
return [parsed, { status: "invalid" }];
|
|
@@ -72190,12 +73385,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
72190
73385
|
});
|
|
72191
73386
|
|
|
72192
73387
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
72193
|
-
var
|
|
73388
|
+
var args122, tool$terminalApplicationsDelete;
|
|
72194
73389
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
72195
73390
|
init_terminalApplicationsDelete();
|
|
72196
73391
|
init_operations();
|
|
72197
73392
|
init_tools();
|
|
72198
|
-
|
|
73393
|
+
args122 = {
|
|
72199
73394
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
72200
73395
|
};
|
|
72201
73396
|
tool$terminalApplicationsDelete = {
|
|
@@ -72204,9 +73399,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
72204
73399
|
|
|
72205
73400
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72206
73401
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
72207
|
-
args:
|
|
72208
|
-
tool: async (client,
|
|
72209
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
73402
|
+
args: args122,
|
|
73403
|
+
tool: async (client, args123, ctx) => {
|
|
73404
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72210
73405
|
if (!result.ok) {
|
|
72211
73406
|
return {
|
|
72212
73407
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72220,9 +73415,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
72220
73415
|
|
|
72221
73416
|
// src/funcs/terminalApplicationsGet.ts
|
|
72222
73417
|
function terminalApplicationsGet(client, request, options) {
|
|
72223
|
-
return new APIPromise($
|
|
73418
|
+
return new APIPromise($do123(client, request, options));
|
|
72224
73419
|
}
|
|
72225
|
-
async function $
|
|
73420
|
+
async function $do123(client, request, options) {
|
|
72226
73421
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72227
73422
|
if (!parsed.ok) {
|
|
72228
73423
|
return [parsed, { status: "invalid" }];
|
|
@@ -72297,12 +73492,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
72297
73492
|
});
|
|
72298
73493
|
|
|
72299
73494
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
72300
|
-
var
|
|
73495
|
+
var args123, tool$terminalApplicationsGet;
|
|
72301
73496
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
72302
73497
|
init_terminalApplicationsGet();
|
|
72303
73498
|
init_operations();
|
|
72304
73499
|
init_tools();
|
|
72305
|
-
|
|
73500
|
+
args123 = {
|
|
72306
73501
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
72307
73502
|
};
|
|
72308
73503
|
tool$terminalApplicationsGet = {
|
|
@@ -72311,9 +73506,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
72311
73506
|
|
|
72312
73507
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72313
73508
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
72314
|
-
args:
|
|
72315
|
-
tool: async (client,
|
|
72316
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
73509
|
+
args: args123,
|
|
73510
|
+
tool: async (client, args124, ctx) => {
|
|
73511
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72317
73512
|
if (!result.ok) {
|
|
72318
73513
|
return {
|
|
72319
73514
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72328,9 +73523,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
72328
73523
|
|
|
72329
73524
|
// src/funcs/terminalApplicationsList.ts
|
|
72330
73525
|
function terminalApplicationsList(client, _request, options) {
|
|
72331
|
-
return new APIPromise($
|
|
73526
|
+
return new APIPromise($do124(client, _request, options));
|
|
72332
73527
|
}
|
|
72333
|
-
async function $
|
|
73528
|
+
async function $do124(client, _request, options) {
|
|
72334
73529
|
const path = pathToFunc("/terminal-applications")();
|
|
72335
73530
|
const headers = new Headers(compactMap({
|
|
72336
73531
|
Accept: "application/json",
|
|
@@ -72394,12 +73589,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
72394
73589
|
});
|
|
72395
73590
|
|
|
72396
73591
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
72397
|
-
var
|
|
73592
|
+
var args124, tool$terminalApplicationsList;
|
|
72398
73593
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
72399
73594
|
init_terminalApplicationsList();
|
|
72400
73595
|
init_operations();
|
|
72401
73596
|
init_tools();
|
|
72402
|
-
|
|
73597
|
+
args124 = {
|
|
72403
73598
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
72404
73599
|
};
|
|
72405
73600
|
tool$terminalApplicationsList = {
|
|
@@ -72408,9 +73603,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
72408
73603
|
|
|
72409
73604
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72410
73605
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
72411
|
-
args:
|
|
72412
|
-
tool: async (client,
|
|
72413
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
73606
|
+
args: args124,
|
|
73607
|
+
tool: async (client, args125, ctx) => {
|
|
73608
|
+
const [result, apiCall] = await terminalApplicationsList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72414
73609
|
if (!result.ok) {
|
|
72415
73610
|
return {
|
|
72416
73611
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72425,9 +73620,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
72425
73620
|
|
|
72426
73621
|
// src/funcs/transfersCreate.ts
|
|
72427
73622
|
function transfersCreate(client, request, options) {
|
|
72428
|
-
return new APIPromise($
|
|
73623
|
+
return new APIPromise($do125(client, request, options));
|
|
72429
73624
|
}
|
|
72430
|
-
async function $
|
|
73625
|
+
async function $do125(client, request, options) {
|
|
72431
73626
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72432
73627
|
if (!parsed.ok) {
|
|
72433
73628
|
return [parsed, { status: "invalid" }];
|
|
@@ -72520,12 +73715,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
72520
73715
|
});
|
|
72521
73716
|
|
|
72522
73717
|
// src/mcp-server/tools/transfersCreate.ts
|
|
72523
|
-
var
|
|
73718
|
+
var args125, tool$transfersCreate;
|
|
72524
73719
|
var init_transfersCreate2 = __esm(() => {
|
|
72525
73720
|
init_transfersCreate();
|
|
72526
73721
|
init_operations();
|
|
72527
73722
|
init_tools();
|
|
72528
|
-
|
|
73723
|
+
args125 = {
|
|
72529
73724
|
request: CreateTransferRequest$inboundSchema
|
|
72530
73725
|
};
|
|
72531
73726
|
tool$transfersCreate = {
|
|
@@ -72536,9 +73731,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
72536
73731
|
|
|
72537
73732
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72538
73733
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72539
|
-
args:
|
|
72540
|
-
tool: async (client,
|
|
72541
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
73734
|
+
args: args125,
|
|
73735
|
+
tool: async (client, args126, ctx) => {
|
|
73736
|
+
const [result, apiCall] = await transfersCreate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72542
73737
|
if (!result.ok) {
|
|
72543
73738
|
return {
|
|
72544
73739
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72553,9 +73748,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72553
73748
|
|
|
72554
73749
|
// src/funcs/transfersCreateCancellation.ts
|
|
72555
73750
|
function transfersCreateCancellation(client, request, options) {
|
|
72556
|
-
return new APIPromise($
|
|
73751
|
+
return new APIPromise($do126(client, request, options));
|
|
72557
73752
|
}
|
|
72558
|
-
async function $
|
|
73753
|
+
async function $do126(client, request, options) {
|
|
72559
73754
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72560
73755
|
if (!parsed.ok) {
|
|
72561
73756
|
return [parsed, { status: "invalid" }];
|
|
@@ -72638,12 +73833,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
72638
73833
|
});
|
|
72639
73834
|
|
|
72640
73835
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
72641
|
-
var
|
|
73836
|
+
var args126, tool$transfersCreateCancellation;
|
|
72642
73837
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
72643
73838
|
init_transfersCreateCancellation();
|
|
72644
73839
|
init_operations();
|
|
72645
73840
|
init_tools();
|
|
72646
|
-
|
|
73841
|
+
args126 = {
|
|
72647
73842
|
request: CreateCancellationRequest$inboundSchema
|
|
72648
73843
|
};
|
|
72649
73844
|
tool$transfersCreateCancellation = {
|
|
@@ -72652,9 +73847,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
72652
73847
|
|
|
72653
73848
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
72654
73849
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72655
|
-
args:
|
|
72656
|
-
tool: async (client,
|
|
72657
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
73850
|
+
args: args126,
|
|
73851
|
+
tool: async (client, args127, ctx) => {
|
|
73852
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72658
73853
|
if (!result.ok) {
|
|
72659
73854
|
return {
|
|
72660
73855
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72669,9 +73864,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
72669
73864
|
|
|
72670
73865
|
// src/funcs/transfersCreateReversal.ts
|
|
72671
73866
|
function transfersCreateReversal(client, request, options) {
|
|
72672
|
-
return new APIPromise($
|
|
73867
|
+
return new APIPromise($do127(client, request, options));
|
|
72673
73868
|
}
|
|
72674
|
-
async function $
|
|
73869
|
+
async function $do127(client, request, options) {
|
|
72675
73870
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72676
73871
|
if (!parsed.ok) {
|
|
72677
73872
|
return [parsed, { status: "invalid" }];
|
|
@@ -72770,12 +73965,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
72770
73965
|
});
|
|
72771
73966
|
|
|
72772
73967
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
72773
|
-
var
|
|
73968
|
+
var args127, tool$transfersCreateReversal;
|
|
72774
73969
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
72775
73970
|
init_transfersCreateReversal();
|
|
72776
73971
|
init_operations();
|
|
72777
73972
|
init_tools();
|
|
72778
|
-
|
|
73973
|
+
args127 = {
|
|
72779
73974
|
request: CreateReversalRequest$inboundSchema
|
|
72780
73975
|
};
|
|
72781
73976
|
tool$transfersCreateReversal = {
|
|
@@ -72786,9 +73981,9 @@ to learn more.
|
|
|
72786
73981
|
|
|
72787
73982
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
72788
73983
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72789
|
-
args:
|
|
72790
|
-
tool: async (client,
|
|
72791
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
73984
|
+
args: args127,
|
|
73985
|
+
tool: async (client, args128, ctx) => {
|
|
73986
|
+
const [result, apiCall] = await transfersCreateReversal(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72792
73987
|
if (!result.ok) {
|
|
72793
73988
|
return {
|
|
72794
73989
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72803,9 +73998,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72803
73998
|
|
|
72804
73999
|
// src/funcs/transfersGenerateOptions.ts
|
|
72805
74000
|
function transfersGenerateOptions(client, request, options) {
|
|
72806
|
-
return new APIPromise($
|
|
74001
|
+
return new APIPromise($do128(client, request, options));
|
|
72807
74002
|
}
|
|
72808
|
-
async function $
|
|
74003
|
+
async function $do128(client, request, options) {
|
|
72809
74004
|
const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
|
|
72810
74005
|
if (!parsed.ok) {
|
|
72811
74006
|
return [parsed, { status: "invalid" }];
|
|
@@ -72882,12 +74077,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
72882
74077
|
});
|
|
72883
74078
|
|
|
72884
74079
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
72885
|
-
var
|
|
74080
|
+
var args128, tool$transfersGenerateOptions;
|
|
72886
74081
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
72887
74082
|
init_transfersGenerateOptions();
|
|
72888
74083
|
init_components();
|
|
72889
74084
|
init_tools();
|
|
72890
|
-
|
|
74085
|
+
args128 = {
|
|
72891
74086
|
request: CreateTransferOptions$inboundSchema
|
|
72892
74087
|
};
|
|
72893
74088
|
tool$transfersGenerateOptions = {
|
|
@@ -72899,9 +74094,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
72899
74094
|
|
|
72900
74095
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72901
74096
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
72902
|
-
args:
|
|
72903
|
-
tool: async (client,
|
|
72904
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
74097
|
+
args: args128,
|
|
74098
|
+
tool: async (client, args129, ctx) => {
|
|
74099
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72905
74100
|
if (!result.ok) {
|
|
72906
74101
|
return {
|
|
72907
74102
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72916,9 +74111,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
72916
74111
|
|
|
72917
74112
|
// src/funcs/transfersGenerateOptionsForAccount.ts
|
|
72918
74113
|
function transfersGenerateOptionsForAccount(client, request, options) {
|
|
72919
|
-
return new APIPromise($
|
|
74114
|
+
return new APIPromise($do129(client, request, options));
|
|
72920
74115
|
}
|
|
72921
|
-
async function $
|
|
74116
|
+
async function $do129(client, request, options) {
|
|
72922
74117
|
const parsed = safeParse(request, (value) => CreateTransferOptionsForAccountRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72923
74118
|
if (!parsed.ok) {
|
|
72924
74119
|
return [parsed, { status: "invalid" }];
|
|
@@ -72999,12 +74194,12 @@ var init_transfersGenerateOptionsForAccount = __esm(() => {
|
|
|
72999
74194
|
});
|
|
73000
74195
|
|
|
73001
74196
|
// src/mcp-server/tools/transfersGenerateOptionsForAccount.ts
|
|
73002
|
-
var
|
|
74197
|
+
var args129, tool$transfersGenerateOptionsForAccount;
|
|
73003
74198
|
var init_transfersGenerateOptionsForAccount2 = __esm(() => {
|
|
73004
74199
|
init_transfersGenerateOptionsForAccount();
|
|
73005
74200
|
init_operations();
|
|
73006
74201
|
init_tools();
|
|
73007
|
-
|
|
74202
|
+
args129 = {
|
|
73008
74203
|
request: CreateTransferOptionsForAccountRequest$inboundSchema
|
|
73009
74204
|
};
|
|
73010
74205
|
tool$transfersGenerateOptionsForAccount = {
|
|
@@ -73018,9 +74213,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
73018
74213
|
|
|
73019
74214
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73020
74215
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73021
|
-
args:
|
|
73022
|
-
tool: async (client,
|
|
73023
|
-
const [result, apiCall] = await transfersGenerateOptionsForAccount(client,
|
|
74216
|
+
args: args129,
|
|
74217
|
+
tool: async (client, args130, ctx) => {
|
|
74218
|
+
const [result, apiCall] = await transfersGenerateOptionsForAccount(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73024
74219
|
if (!result.ok) {
|
|
73025
74220
|
return {
|
|
73026
74221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73035,9 +74230,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73035
74230
|
|
|
73036
74231
|
// src/funcs/transfersGet.ts
|
|
73037
74232
|
function transfersGet(client, request, options) {
|
|
73038
|
-
return new APIPromise($
|
|
74233
|
+
return new APIPromise($do130(client, request, options));
|
|
73039
74234
|
}
|
|
73040
|
-
async function $
|
|
74235
|
+
async function $do130(client, request, options) {
|
|
73041
74236
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73042
74237
|
if (!parsed.ok) {
|
|
73043
74238
|
return [parsed, { status: "invalid" }];
|
|
@@ -73119,12 +74314,12 @@ var init_transfersGet = __esm(() => {
|
|
|
73119
74314
|
});
|
|
73120
74315
|
|
|
73121
74316
|
// src/mcp-server/tools/transfersGet.ts
|
|
73122
|
-
var
|
|
74317
|
+
var args130, tool$transfersGet;
|
|
73123
74318
|
var init_transfersGet2 = __esm(() => {
|
|
73124
74319
|
init_transfersGet();
|
|
73125
74320
|
init_operations();
|
|
73126
74321
|
init_tools();
|
|
73127
|
-
|
|
74322
|
+
args130 = {
|
|
73128
74323
|
request: GetTransferRequest$inboundSchema
|
|
73129
74324
|
};
|
|
73130
74325
|
tool$transfersGet = {
|
|
@@ -73136,9 +74331,9 @@ to learn more.
|
|
|
73136
74331
|
|
|
73137
74332
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73138
74333
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73139
|
-
args:
|
|
73140
|
-
tool: async (client,
|
|
73141
|
-
const [result, apiCall] = await transfersGet(client,
|
|
74334
|
+
args: args130,
|
|
74335
|
+
tool: async (client, args131, ctx) => {
|
|
74336
|
+
const [result, apiCall] = await transfersGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73142
74337
|
if (!result.ok) {
|
|
73143
74338
|
return {
|
|
73144
74339
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73153,9 +74348,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73153
74348
|
|
|
73154
74349
|
// src/funcs/transfersGetCancellation.ts
|
|
73155
74350
|
function transfersGetCancellation(client, request, options) {
|
|
73156
|
-
return new APIPromise($
|
|
74351
|
+
return new APIPromise($do131(client, request, options));
|
|
73157
74352
|
}
|
|
73158
|
-
async function $
|
|
74353
|
+
async function $do131(client, request, options) {
|
|
73159
74354
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73160
74355
|
if (!parsed.ok) {
|
|
73161
74356
|
return [parsed, { status: "invalid" }];
|
|
@@ -73241,12 +74436,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
73241
74436
|
});
|
|
73242
74437
|
|
|
73243
74438
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
73244
|
-
var
|
|
74439
|
+
var args131, tool$transfersGetCancellation;
|
|
73245
74440
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
73246
74441
|
init_transfersGetCancellation();
|
|
73247
74442
|
init_operations();
|
|
73248
74443
|
init_tools();
|
|
73249
|
-
|
|
74444
|
+
args131 = {
|
|
73250
74445
|
request: GetCancellationRequest$inboundSchema
|
|
73251
74446
|
};
|
|
73252
74447
|
tool$transfersGetCancellation = {
|
|
@@ -73255,9 +74450,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
73255
74450
|
|
|
73256
74451
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
73257
74452
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73258
|
-
args:
|
|
73259
|
-
tool: async (client,
|
|
73260
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
74453
|
+
args: args131,
|
|
74454
|
+
tool: async (client, args132, ctx) => {
|
|
74455
|
+
const [result, apiCall] = await transfersGetCancellation(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73261
74456
|
if (!result.ok) {
|
|
73262
74457
|
return {
|
|
73263
74458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73272,9 +74467,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
73272
74467
|
|
|
73273
74468
|
// src/funcs/transfersGetRefund.ts
|
|
73274
74469
|
function transfersGetRefund(client, request, options) {
|
|
73275
|
-
return new APIPromise($
|
|
74470
|
+
return new APIPromise($do132(client, request, options));
|
|
73276
74471
|
}
|
|
73277
|
-
async function $
|
|
74472
|
+
async function $do132(client, request, options) {
|
|
73278
74473
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73279
74474
|
if (!parsed.ok) {
|
|
73280
74475
|
return [parsed, { status: "invalid" }];
|
|
@@ -73360,12 +74555,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
73360
74555
|
});
|
|
73361
74556
|
|
|
73362
74557
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
73363
|
-
var
|
|
74558
|
+
var args132, tool$transfersGetRefund;
|
|
73364
74559
|
var init_transfersGetRefund2 = __esm(() => {
|
|
73365
74560
|
init_transfersGetRefund();
|
|
73366
74561
|
init_operations();
|
|
73367
74562
|
init_tools();
|
|
73368
|
-
|
|
74563
|
+
args132 = {
|
|
73369
74564
|
request: GetRefundRequest$inboundSchema
|
|
73370
74565
|
};
|
|
73371
74566
|
tool$transfersGetRefund = {
|
|
@@ -73374,9 +74569,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
73374
74569
|
|
|
73375
74570
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73376
74571
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73377
|
-
args:
|
|
73378
|
-
tool: async (client,
|
|
73379
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
74572
|
+
args: args132,
|
|
74573
|
+
tool: async (client, args133, ctx) => {
|
|
74574
|
+
const [result, apiCall] = await transfersGetRefund(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73380
74575
|
if (!result.ok) {
|
|
73381
74576
|
return {
|
|
73382
74577
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73391,9 +74586,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73391
74586
|
|
|
73392
74587
|
// src/funcs/transfersInitiateRefund.ts
|
|
73393
74588
|
function transfersInitiateRefund(client, request, options) {
|
|
73394
|
-
return new APIPromise($
|
|
74589
|
+
return new APIPromise($do133(client, request, options));
|
|
73395
74590
|
}
|
|
73396
|
-
async function $
|
|
74591
|
+
async function $do133(client, request, options) {
|
|
73397
74592
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73398
74593
|
if (!parsed.ok) {
|
|
73399
74594
|
return [parsed, { status: "invalid" }];
|
|
@@ -73485,12 +74680,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
73485
74680
|
});
|
|
73486
74681
|
|
|
73487
74682
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
73488
|
-
var
|
|
74683
|
+
var args133, tool$transfersInitiateRefund;
|
|
73489
74684
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
73490
74685
|
init_transfersInitiateRefund();
|
|
73491
74686
|
init_operations();
|
|
73492
74687
|
init_tools();
|
|
73493
|
-
|
|
74688
|
+
args133 = {
|
|
73494
74689
|
request: InitiateRefundRequest$inboundSchema
|
|
73495
74690
|
};
|
|
73496
74691
|
tool$transfersInitiateRefund = {
|
|
@@ -73502,9 +74697,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
73502
74697
|
|
|
73503
74698
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73504
74699
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73505
|
-
args:
|
|
73506
|
-
tool: async (client,
|
|
73507
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
74700
|
+
args: args133,
|
|
74701
|
+
tool: async (client, args134, ctx) => {
|
|
74702
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73508
74703
|
if (!result.ok) {
|
|
73509
74704
|
return {
|
|
73510
74705
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73519,9 +74714,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73519
74714
|
|
|
73520
74715
|
// src/funcs/transfersList.ts
|
|
73521
74716
|
function transfersList(client, request, options) {
|
|
73522
|
-
return new APIPromise($
|
|
74717
|
+
return new APIPromise($do134(client, request, options));
|
|
73523
74718
|
}
|
|
73524
|
-
async function $
|
|
74719
|
+
async function $do134(client, request, options) {
|
|
73525
74720
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73526
74721
|
if (!parsed.ok) {
|
|
73527
74722
|
return [parsed, { status: "invalid" }];
|
|
@@ -73614,12 +74809,12 @@ var init_transfersList = __esm(() => {
|
|
|
73614
74809
|
});
|
|
73615
74810
|
|
|
73616
74811
|
// src/mcp-server/tools/transfersList.ts
|
|
73617
|
-
var
|
|
74812
|
+
var args134, tool$transfersList;
|
|
73618
74813
|
var init_transfersList2 = __esm(() => {
|
|
73619
74814
|
init_transfersList();
|
|
73620
74815
|
init_operations();
|
|
73621
74816
|
init_tools();
|
|
73622
|
-
|
|
74817
|
+
args134 = {
|
|
73623
74818
|
request: ListTransfersRequest$inboundSchema
|
|
73624
74819
|
};
|
|
73625
74820
|
tool$transfersList = {
|
|
@@ -73635,9 +74830,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
73635
74830
|
|
|
73636
74831
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73637
74832
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73638
|
-
args:
|
|
73639
|
-
tool: async (client,
|
|
73640
|
-
const [result, apiCall] = await transfersList(client,
|
|
74833
|
+
args: args134,
|
|
74834
|
+
tool: async (client, args135, ctx) => {
|
|
74835
|
+
const [result, apiCall] = await transfersList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73641
74836
|
if (!result.ok) {
|
|
73642
74837
|
return {
|
|
73643
74838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73652,9 +74847,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73652
74847
|
|
|
73653
74848
|
// src/funcs/transfersListRefunds.ts
|
|
73654
74849
|
function transfersListRefunds(client, request, options) {
|
|
73655
|
-
return new APIPromise($
|
|
74850
|
+
return new APIPromise($do135(client, request, options));
|
|
73656
74851
|
}
|
|
73657
|
-
async function $
|
|
74852
|
+
async function $do135(client, request, options) {
|
|
73658
74853
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73659
74854
|
if (!parsed.ok) {
|
|
73660
74855
|
return [parsed, { status: "invalid" }];
|
|
@@ -73736,12 +74931,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
73736
74931
|
});
|
|
73737
74932
|
|
|
73738
74933
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
73739
|
-
var
|
|
74934
|
+
var args135, tool$transfersListRefunds;
|
|
73740
74935
|
var init_transfersListRefunds2 = __esm(() => {
|
|
73741
74936
|
init_transfersListRefunds();
|
|
73742
74937
|
init_operations();
|
|
73743
74938
|
init_tools();
|
|
73744
|
-
|
|
74939
|
+
args135 = {
|
|
73745
74940
|
request: ListRefundsRequest$inboundSchema
|
|
73746
74941
|
};
|
|
73747
74942
|
tool$transfersListRefunds = {
|
|
@@ -73750,9 +74945,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
73750
74945
|
|
|
73751
74946
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73752
74947
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73753
|
-
args:
|
|
73754
|
-
tool: async (client,
|
|
73755
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
74948
|
+
args: args135,
|
|
74949
|
+
tool: async (client, args136, ctx) => {
|
|
74950
|
+
const [result, apiCall] = await transfersListRefunds(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73756
74951
|
if (!result.ok) {
|
|
73757
74952
|
return {
|
|
73758
74953
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73767,9 +74962,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73767
74962
|
|
|
73768
74963
|
// src/funcs/transfersUpdate.ts
|
|
73769
74964
|
function transfersUpdate(client, request, options) {
|
|
73770
|
-
return new APIPromise($
|
|
74965
|
+
return new APIPromise($do136(client, request, options));
|
|
73771
74966
|
}
|
|
73772
|
-
async function $
|
|
74967
|
+
async function $do136(client, request, options) {
|
|
73773
74968
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73774
74969
|
if (!parsed.ok) {
|
|
73775
74970
|
return [parsed, { status: "invalid" }];
|
|
@@ -73852,12 +75047,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
73852
75047
|
});
|
|
73853
75048
|
|
|
73854
75049
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
73855
|
-
var
|
|
75050
|
+
var args136, tool$transfersUpdate;
|
|
73856
75051
|
var init_transfersUpdate2 = __esm(() => {
|
|
73857
75052
|
init_transfersUpdate();
|
|
73858
75053
|
init_operations();
|
|
73859
75054
|
init_tools();
|
|
73860
|
-
|
|
75055
|
+
args136 = {
|
|
73861
75056
|
request: UpdateTransferRequest$inboundSchema
|
|
73862
75057
|
};
|
|
73863
75058
|
tool$transfersUpdate = {
|
|
@@ -73868,9 +75063,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
73868
75063
|
|
|
73869
75064
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73870
75065
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73871
|
-
args:
|
|
73872
|
-
tool: async (client,
|
|
73873
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
75066
|
+
args: args136,
|
|
75067
|
+
tool: async (client, args137, ctx) => {
|
|
75068
|
+
const [result, apiCall] = await transfersUpdate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73874
75069
|
if (!result.ok) {
|
|
73875
75070
|
return {
|
|
73876
75071
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73885,9 +75080,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73885
75080
|
|
|
73886
75081
|
// src/funcs/underwritingGet.ts
|
|
73887
75082
|
function underwritingGet(client, request, options) {
|
|
73888
|
-
return new APIPromise($
|
|
75083
|
+
return new APIPromise($do137(client, request, options));
|
|
73889
75084
|
}
|
|
73890
|
-
async function $
|
|
75085
|
+
async function $do137(client, request, options) {
|
|
73891
75086
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73892
75087
|
if (!parsed.ok) {
|
|
73893
75088
|
return [parsed, { status: "invalid" }];
|
|
@@ -73965,12 +75160,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
73965
75160
|
});
|
|
73966
75161
|
|
|
73967
75162
|
// src/mcp-server/tools/underwritingGet.ts
|
|
73968
|
-
var
|
|
75163
|
+
var args137, tool$underwritingGet;
|
|
73969
75164
|
var init_underwritingGet2 = __esm(() => {
|
|
73970
75165
|
init_underwritingGet();
|
|
73971
75166
|
init_operations();
|
|
73972
75167
|
init_tools();
|
|
73973
|
-
|
|
75168
|
+
args137 = {
|
|
73974
75169
|
request: GetUnderwritingRequest$inboundSchema
|
|
73975
75170
|
};
|
|
73976
75171
|
tool$underwritingGet = {
|
|
@@ -73981,9 +75176,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
73981
75176
|
|
|
73982
75177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73983
75178
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
73984
|
-
args:
|
|
73985
|
-
tool: async (client,
|
|
73986
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
75179
|
+
args: args137,
|
|
75180
|
+
tool: async (client, args138, ctx) => {
|
|
75181
|
+
const [result, apiCall] = await underwritingGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73987
75182
|
if (!result.ok) {
|
|
73988
75183
|
return {
|
|
73989
75184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73998,9 +75193,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
73998
75193
|
|
|
73999
75194
|
// src/funcs/underwritingSave.ts
|
|
74000
75195
|
function underwritingSave(client, request, options) {
|
|
74001
|
-
return new APIPromise($
|
|
75196
|
+
return new APIPromise($do138(client, request, options));
|
|
74002
75197
|
}
|
|
74003
|
-
async function $
|
|
75198
|
+
async function $do138(client, request, options) {
|
|
74004
75199
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74005
75200
|
if (!parsed.ok) {
|
|
74006
75201
|
return [parsed, { status: "invalid" }];
|
|
@@ -74096,12 +75291,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
74096
75291
|
});
|
|
74097
75292
|
|
|
74098
75293
|
// src/mcp-server/tools/underwritingSave.ts
|
|
74099
|
-
var
|
|
75294
|
+
var args138, tool$underwritingSave;
|
|
74100
75295
|
var init_underwritingSave2 = __esm(() => {
|
|
74101
75296
|
init_underwritingSave();
|
|
74102
75297
|
init_operations();
|
|
74103
75298
|
init_tools();
|
|
74104
|
-
|
|
75299
|
+
args138 = {
|
|
74105
75300
|
request: SaveUnderwritingRequest$inboundSchema
|
|
74106
75301
|
};
|
|
74107
75302
|
tool$underwritingSave = {
|
|
@@ -74112,9 +75307,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
74112
75307
|
|
|
74113
75308
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74114
75309
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
74115
|
-
args:
|
|
74116
|
-
tool: async (client,
|
|
74117
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
75310
|
+
args: args138,
|
|
75311
|
+
tool: async (client, args139, ctx) => {
|
|
75312
|
+
const [result, apiCall] = await underwritingSave(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74118
75313
|
if (!result.ok) {
|
|
74119
75314
|
return {
|
|
74120
75315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74129,9 +75324,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
74129
75324
|
|
|
74130
75325
|
// src/funcs/underwritingUpsert.ts
|
|
74131
75326
|
function underwritingUpsert(client, request, options) {
|
|
74132
|
-
return new APIPromise($
|
|
75327
|
+
return new APIPromise($do139(client, request, options));
|
|
74133
75328
|
}
|
|
74134
|
-
async function $
|
|
75329
|
+
async function $do139(client, request, options) {
|
|
74135
75330
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74136
75331
|
if (!parsed.ok) {
|
|
74137
75332
|
return [parsed, { status: "invalid" }];
|
|
@@ -74227,12 +75422,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
74227
75422
|
});
|
|
74228
75423
|
|
|
74229
75424
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
74230
|
-
var
|
|
75425
|
+
var args139, tool$underwritingUpsert;
|
|
74231
75426
|
var init_underwritingUpsert2 = __esm(() => {
|
|
74232
75427
|
init_underwritingUpsert();
|
|
74233
75428
|
init_operations();
|
|
74234
75429
|
init_tools();
|
|
74235
|
-
|
|
75430
|
+
args139 = {
|
|
74236
75431
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
74237
75432
|
};
|
|
74238
75433
|
tool$underwritingUpsert = {
|
|
@@ -74243,9 +75438,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
74243
75438
|
|
|
74244
75439
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74245
75440
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
74246
|
-
args:
|
|
74247
|
-
tool: async (client,
|
|
74248
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
75441
|
+
args: args139,
|
|
75442
|
+
tool: async (client, args140, ctx) => {
|
|
75443
|
+
const [result, apiCall] = await underwritingUpsert(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74249
75444
|
if (!result.ok) {
|
|
74250
75445
|
return {
|
|
74251
75446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74260,9 +75455,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
74260
75455
|
|
|
74261
75456
|
// src/funcs/walletsGet.ts
|
|
74262
75457
|
function walletsGet(client, request, options) {
|
|
74263
|
-
return new APIPromise($
|
|
75458
|
+
return new APIPromise($do140(client, request, options));
|
|
74264
75459
|
}
|
|
74265
|
-
async function $
|
|
75460
|
+
async function $do140(client, request, options) {
|
|
74266
75461
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74267
75462
|
if (!parsed.ok) {
|
|
74268
75463
|
return [parsed, { status: "invalid" }];
|
|
@@ -74344,12 +75539,12 @@ var init_walletsGet = __esm(() => {
|
|
|
74344
75539
|
});
|
|
74345
75540
|
|
|
74346
75541
|
// src/mcp-server/tools/walletsGet.ts
|
|
74347
|
-
var
|
|
75542
|
+
var args140, tool$walletsGet;
|
|
74348
75543
|
var init_walletsGet2 = __esm(() => {
|
|
74349
75544
|
init_walletsGet();
|
|
74350
75545
|
init_operations();
|
|
74351
75546
|
init_tools();
|
|
74352
|
-
|
|
75547
|
+
args140 = {
|
|
74353
75548
|
request: GetWalletRequest$inboundSchema
|
|
74354
75549
|
};
|
|
74355
75550
|
tool$walletsGet = {
|
|
@@ -74360,9 +75555,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
74360
75555
|
|
|
74361
75556
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74362
75557
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
74363
|
-
args:
|
|
74364
|
-
tool: async (client,
|
|
74365
|
-
const [result, apiCall] = await walletsGet(client,
|
|
75558
|
+
args: args140,
|
|
75559
|
+
tool: async (client, args141, ctx) => {
|
|
75560
|
+
const [result, apiCall] = await walletsGet(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74366
75561
|
if (!result.ok) {
|
|
74367
75562
|
return {
|
|
74368
75563
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74377,9 +75572,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
74377
75572
|
|
|
74378
75573
|
// src/funcs/walletsList.ts
|
|
74379
75574
|
function walletsList(client, request, options) {
|
|
74380
|
-
return new APIPromise($
|
|
75575
|
+
return new APIPromise($do141(client, request, options));
|
|
74381
75576
|
}
|
|
74382
|
-
async function $
|
|
75577
|
+
async function $do141(client, request, options) {
|
|
74383
75578
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74384
75579
|
if (!parsed.ok) {
|
|
74385
75580
|
return [parsed, { status: "invalid" }];
|
|
@@ -74457,12 +75652,12 @@ var init_walletsList = __esm(() => {
|
|
|
74457
75652
|
});
|
|
74458
75653
|
|
|
74459
75654
|
// src/mcp-server/tools/walletsList.ts
|
|
74460
|
-
var
|
|
75655
|
+
var args141, tool$walletsList;
|
|
74461
75656
|
var init_walletsList2 = __esm(() => {
|
|
74462
75657
|
init_walletsList();
|
|
74463
75658
|
init_operations();
|
|
74464
75659
|
init_tools();
|
|
74465
|
-
|
|
75660
|
+
args141 = {
|
|
74466
75661
|
request: ListWalletsRequest$inboundSchema
|
|
74467
75662
|
};
|
|
74468
75663
|
tool$walletsList = {
|
|
@@ -74473,9 +75668,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
74473
75668
|
|
|
74474
75669
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74475
75670
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
74476
|
-
args:
|
|
74477
|
-
tool: async (client,
|
|
74478
|
-
const [result, apiCall] = await walletsList(client,
|
|
75671
|
+
args: args141,
|
|
75672
|
+
tool: async (client, args142, ctx) => {
|
|
75673
|
+
const [result, apiCall] = await walletsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74479
75674
|
if (!result.ok) {
|
|
74480
75675
|
return {
|
|
74481
75676
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74490,9 +75685,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
74490
75685
|
|
|
74491
75686
|
// src/funcs/walletTransactionsGet.ts
|
|
74492
75687
|
function walletTransactionsGet(client, request, options) {
|
|
74493
|
-
return new APIPromise($
|
|
75688
|
+
return new APIPromise($do142(client, request, options));
|
|
74494
75689
|
}
|
|
74495
|
-
async function $
|
|
75690
|
+
async function $do142(client, request, options) {
|
|
74496
75691
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74497
75692
|
if (!parsed.ok) {
|
|
74498
75693
|
return [parsed, { status: "invalid" }];
|
|
@@ -74578,12 +75773,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
74578
75773
|
});
|
|
74579
75774
|
|
|
74580
75775
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
74581
|
-
var
|
|
75776
|
+
var args142, tool$walletTransactionsGet;
|
|
74582
75777
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
74583
75778
|
init_walletTransactionsGet();
|
|
74584
75779
|
init_operations();
|
|
74585
75780
|
init_tools();
|
|
74586
|
-
|
|
75781
|
+
args142 = {
|
|
74587
75782
|
request: GetWalletTransactionRequest$inboundSchema
|
|
74588
75783
|
};
|
|
74589
75784
|
tool$walletTransactionsGet = {
|
|
@@ -74594,9 +75789,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
74594
75789
|
|
|
74595
75790
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74596
75791
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
74597
|
-
args:
|
|
74598
|
-
tool: async (client,
|
|
74599
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
75792
|
+
args: args142,
|
|
75793
|
+
tool: async (client, args143, ctx) => {
|
|
75794
|
+
const [result, apiCall] = await walletTransactionsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74600
75795
|
if (!result.ok) {
|
|
74601
75796
|
return {
|
|
74602
75797
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74611,9 +75806,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
74611
75806
|
|
|
74612
75807
|
// src/funcs/walletTransactionsList.ts
|
|
74613
75808
|
function walletTransactionsList(client, request, options) {
|
|
74614
|
-
return new APIPromise($
|
|
75809
|
+
return new APIPromise($do143(client, request, options));
|
|
74615
75810
|
}
|
|
74616
|
-
async function $
|
|
75811
|
+
async function $do143(client, request, options) {
|
|
74617
75812
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74618
75813
|
if (!parsed.ok) {
|
|
74619
75814
|
return [parsed, { status: "invalid" }];
|
|
@@ -74710,12 +75905,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
74710
75905
|
});
|
|
74711
75906
|
|
|
74712
75907
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
74713
|
-
var
|
|
75908
|
+
var args143, tool$walletTransactionsList;
|
|
74714
75909
|
var init_walletTransactionsList2 = __esm(() => {
|
|
74715
75910
|
init_walletTransactionsList();
|
|
74716
75911
|
init_operations();
|
|
74717
75912
|
init_tools();
|
|
74718
|
-
|
|
75913
|
+
args143 = {
|
|
74719
75914
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
74720
75915
|
};
|
|
74721
75916
|
tool$walletTransactionsList = {
|
|
@@ -74726,9 +75921,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
74726
75921
|
|
|
74727
75922
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74728
75923
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
74729
|
-
args:
|
|
74730
|
-
tool: async (client,
|
|
74731
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
75924
|
+
args: args143,
|
|
75925
|
+
tool: async (client, args144, ctx) => {
|
|
75926
|
+
const [result, apiCall] = await walletTransactionsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74732
75927
|
if (!result.ok) {
|
|
74733
75928
|
return {
|
|
74734
75929
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74745,7 +75940,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
74745
75940
|
function createMCPServer(deps) {
|
|
74746
75941
|
const server = new McpServer({
|
|
74747
75942
|
name: "Moov",
|
|
74748
|
-
version: "0.14.
|
|
75943
|
+
version: "0.14.1"
|
|
74749
75944
|
});
|
|
74750
75945
|
const client = new MoovCore({
|
|
74751
75946
|
security: deps.security,
|
|
@@ -74848,6 +76043,11 @@ function createMCPServer(deps) {
|
|
|
74848
76043
|
tool(tool$accountTerminalApplicationsList);
|
|
74849
76044
|
tool(tool$accountTerminalApplicationsGet);
|
|
74850
76045
|
tool(tool$accountTerminalApplicationsGetConfiguration);
|
|
76046
|
+
tool(tool$supportCreateTicket);
|
|
76047
|
+
tool(tool$supportListTickets);
|
|
76048
|
+
tool(tool$supportGetTicket);
|
|
76049
|
+
tool(tool$supportUpdateTicket);
|
|
76050
|
+
tool(tool$supportListTicketMessages);
|
|
74851
76051
|
tool(tool$transfersGenerateOptionsForAccount);
|
|
74852
76052
|
tool(tool$transfersCreate);
|
|
74853
76053
|
tool(tool$transfersList);
|
|
@@ -75014,6 +76214,11 @@ var init_server2 = __esm(() => {
|
|
|
75014
76214
|
init_schedulingGetOccurrance2();
|
|
75015
76215
|
init_schedulingList2();
|
|
75016
76216
|
init_schedulingUpdate2();
|
|
76217
|
+
init_supportCreateTicket2();
|
|
76218
|
+
init_supportGetTicket2();
|
|
76219
|
+
init_supportListTicketMessages2();
|
|
76220
|
+
init_supportListTickets2();
|
|
76221
|
+
init_supportUpdateTicket2();
|
|
75017
76222
|
init_sweepsCreateConfig2();
|
|
75018
76223
|
init_sweepsGet2();
|
|
75019
76224
|
init_sweepsGetConfig2();
|
|
@@ -75071,7 +76276,6 @@ async function startStdio(flags) {
|
|
|
75071
76276
|
const server = createMCPServer({
|
|
75072
76277
|
logger,
|
|
75073
76278
|
allowedTools: flags.tool,
|
|
75074
|
-
scopes: flags.scope,
|
|
75075
76279
|
security: allRequired({
|
|
75076
76280
|
username: flags.username ?? "",
|
|
75077
76281
|
password: flags.password ?? ""
|
|
@@ -75094,7 +76298,6 @@ async function startSSE(flags) {
|
|
|
75094
76298
|
const mcpServer = createMCPServer({
|
|
75095
76299
|
logger,
|
|
75096
76300
|
allowedTools: flags.tool,
|
|
75097
|
-
scopes: flags.scope,
|
|
75098
76301
|
security: allRequired({
|
|
75099
76302
|
username: flags.username ?? "",
|
|
75100
76303
|
password: flags.password ?? ""
|
|
@@ -76136,11 +77339,6 @@ function buildContext(process2) {
|
|
|
76136
77339
|
// src/mcp-server/cli/start/command.ts
|
|
76137
77340
|
init_esm();
|
|
76138
77341
|
init_console_logger();
|
|
76139
|
-
|
|
76140
|
-
// src/mcp-server/scopes.ts
|
|
76141
|
-
var mcpScopes = [];
|
|
76142
|
-
|
|
76143
|
-
// src/mcp-server/cli/start/command.ts
|
|
76144
77342
|
var startCommand = tn({
|
|
76145
77343
|
loader: async () => {
|
|
76146
77344
|
const { main: main2 } = await Promise.resolve().then(() => (init_impl(), exports_impl));
|
|
@@ -76169,15 +77367,6 @@ var startCommand = tn({
|
|
|
76169
77367
|
return stringType().parse(value);
|
|
76170
77368
|
}
|
|
76171
77369
|
},
|
|
76172
|
-
...mcpScopes.length ? {
|
|
76173
|
-
scope: {
|
|
76174
|
-
kind: "enum",
|
|
76175
|
-
brief: "Mount tools/resources that match given scope (repeatable flag)",
|
|
76176
|
-
values: mcpScopes,
|
|
76177
|
-
variadic: true,
|
|
76178
|
-
optional: true
|
|
76179
|
-
}
|
|
76180
|
-
} : {},
|
|
76181
77370
|
username: {
|
|
76182
77371
|
kind: "parsed",
|
|
76183
77372
|
brief: "Sets the username auth field for the API",
|
|
@@ -76261,7 +77450,7 @@ var routes = rn({
|
|
|
76261
77450
|
var app = Ve(routes, {
|
|
76262
77451
|
name: "mcp",
|
|
76263
77452
|
versionInfo: {
|
|
76264
|
-
currentVersion: "0.14.
|
|
77453
|
+
currentVersion: "0.14.1"
|
|
76265
77454
|
}
|
|
76266
77455
|
});
|
|
76267
77456
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -76269,5 +77458,5 @@ export {
|
|
|
76269
77458
|
app
|
|
76270
77459
|
};
|
|
76271
77460
|
|
|
76272
|
-
//# debugId=
|
|
77461
|
+
//# debugId=19095CB8C9F07EAB64756E2164756E21
|
|
76273
77462
|
//# sourceMappingURL=mcp-server.js.map
|