@moovio/sdk 0.10.5 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/bin/mcp-server.js +20 -72
- package/bin/mcp-server.js.map +16 -17
- package/docs/sdks/accounts/README.md +10 -30
- package/docs/sdks/adjustments/README.md +6 -6
- package/docs/sdks/applepay/README.md +12 -12
- package/docs/sdks/bankaccounts/README.md +24 -26
- package/docs/sdks/branding/README.md +4 -4
- package/docs/sdks/capabilities/README.md +10 -10
- package/docs/sdks/cardissuing/README.md +30 -22
- package/docs/sdks/cards/README.md +10 -16
- package/docs/sdks/disputes/README.md +54 -54
- package/docs/sdks/enrichedprofile/README.md +2 -2
- package/docs/sdks/files/README.md +8 -8
- package/docs/sdks/issuingtransactions/README.md +16 -16
- package/docs/sdks/paymentlinks/README.md +14 -14
- package/docs/sdks/paymentmethods/README.md +6 -6
- package/docs/sdks/receipts/README.md +12 -9
- package/docs/sdks/representatives/README.md +16 -16
- package/docs/sdks/scheduling/README.md +96 -96
- package/docs/sdks/sweeps/README.md +18 -18
- package/docs/sdks/transfers/README.md +10 -10
- package/docs/sdks/underwriting/README.md +2 -2
- package/docs/sdks/wallets/README.md +6 -6
- package/docs/sdks/wallettransactions/README.md +10 -10
- package/funcs/receiptsCreate.d.ts +1 -1
- package/funcs/receiptsCreate.d.ts.map +1 -1
- package/funcs/receiptsCreate.js +1 -1
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.d.ts +1 -1
- package/funcs/receiptsList.js +1 -1
- package/funcs/transfersList.js +1 -0
- package/funcs/transfersList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/receiptsList.js +1 -1
- package/models/components/achtransactionstatus.d.ts +3 -0
- package/models/components/achtransactionstatus.d.ts.map +1 -1
- package/models/components/achtransactionstatus.js +1 -0
- package/models/components/achtransactionstatus.js.map +1 -1
- package/models/components/createevidencefilemultipart.d.ts +2 -2
- package/models/components/createevidencefilemultipart.d.ts.map +1 -1
- package/models/components/createevidencefilemultipart.js +2 -2
- package/models/components/createevidencefilemultipart.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createreceipts.d.ts +2 -2
- package/models/operations/createreceipts.d.ts.map +1 -1
- package/models/operations/createreceipts.js +2 -2
- package/models/operations/createreceipts.js.map +1 -1
- package/models/operations/listreceipts.d.ts +3 -3
- package/models/operations/listreceipts.d.ts.map +1 -1
- package/models/operations/listreceipts.js +2 -2
- package/models/operations/listreceipts.js.map +1 -1
- package/models/operations/listtransfers.d.ts +5 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +2 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/package.json +1 -1
- package/sdk/receipts.d.ts +1 -1
- package/sdk/receipts.js +1 -1
- package/src/funcs/receiptsCreate.ts +1 -5
- package/src/funcs/receiptsList.ts +1 -1
- package/src/funcs/transfersList.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/receiptsList.ts +1 -1
- package/src/models/components/achtransactionstatus.ts +1 -0
- package/src/models/components/createevidencefilemultipart.ts +4 -4
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createreceipts.ts +4 -4
- package/src/models/operations/listreceipts.ts +5 -5
- package/src/models/operations/listtransfers.ts +7 -0
- package/src/sdk/receipts.ts +1 -1
- package/models/errors/receiptvalidationerror.d.ts +0 -46
- package/models/errors/receiptvalidationerror.d.ts.map +0 -1
- package/models/errors/receiptvalidationerror.js +0 -98
- package/models/errors/receiptvalidationerror.js.map +0 -1
- package/src/models/errors/receiptvalidationerror.ts +0 -99
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ReceiptValidationError$ = exports.ReceiptValidationError$outboundSchema = exports.ReceiptValidationError$inboundSchema = exports.ReceiptValidationError = void 0;
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
|
-
class ReceiptValidationError extends Error {
|
|
42
|
-
constructor(err) {
|
|
43
|
-
const message = "message" in err && typeof err.message === "string"
|
|
44
|
-
? err.message
|
|
45
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
46
|
-
super(message);
|
|
47
|
-
this.data$ = err;
|
|
48
|
-
if (err.kind != null)
|
|
49
|
-
this.kind = err.kind;
|
|
50
|
-
if (err.email != null)
|
|
51
|
-
this.email = err.email;
|
|
52
|
-
if (err.emailAccountID != null)
|
|
53
|
-
this.emailAccountID = err.emailAccountID;
|
|
54
|
-
if (err.forTransferID != null)
|
|
55
|
-
this.forTransferID = err.forTransferID;
|
|
56
|
-
if (err.forScheduleID != null)
|
|
57
|
-
this.forScheduleID = err.forScheduleID;
|
|
58
|
-
if (err.forOccurrenceID != null)
|
|
59
|
-
this.forOccurrenceID = err.forOccurrenceID;
|
|
60
|
-
this.name = "ReceiptValidationError";
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.ReceiptValidationError = ReceiptValidationError;
|
|
64
|
-
/** @internal */
|
|
65
|
-
exports.ReceiptValidationError$inboundSchema = z.object({
|
|
66
|
-
kind: z.string().optional(),
|
|
67
|
-
email: z.string().optional(),
|
|
68
|
-
emailAccountID: z.string().optional(),
|
|
69
|
-
forTransferID: z.string().optional(),
|
|
70
|
-
forScheduleID: z.string().optional(),
|
|
71
|
-
forOccurrenceID: z.string().optional(),
|
|
72
|
-
})
|
|
73
|
-
.transform((v) => {
|
|
74
|
-
return new ReceiptValidationError(v);
|
|
75
|
-
});
|
|
76
|
-
/** @internal */
|
|
77
|
-
exports.ReceiptValidationError$outboundSchema = z.instanceof(ReceiptValidationError)
|
|
78
|
-
.transform(v => v.data$)
|
|
79
|
-
.pipe(z.object({
|
|
80
|
-
kind: z.string().optional(),
|
|
81
|
-
email: z.string().optional(),
|
|
82
|
-
emailAccountID: z.string().optional(),
|
|
83
|
-
forTransferID: z.string().optional(),
|
|
84
|
-
forScheduleID: z.string().optional(),
|
|
85
|
-
forOccurrenceID: z.string().optional(),
|
|
86
|
-
}));
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
-
*/
|
|
91
|
-
var ReceiptValidationError$;
|
|
92
|
-
(function (ReceiptValidationError$) {
|
|
93
|
-
/** @deprecated use `ReceiptValidationError$inboundSchema` instead. */
|
|
94
|
-
ReceiptValidationError$.inboundSchema = exports.ReceiptValidationError$inboundSchema;
|
|
95
|
-
/** @deprecated use `ReceiptValidationError$outboundSchema` instead. */
|
|
96
|
-
ReceiptValidationError$.outboundSchema = exports.ReceiptValidationError$outboundSchema;
|
|
97
|
-
})(ReceiptValidationError$ || (exports.ReceiptValidationError$ = ReceiptValidationError$ = {}));
|
|
98
|
-
//# sourceMappingURL=receiptvalidationerror.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"receiptvalidationerror.js","sourceRoot":"","sources":["../../src/models/errors/receiptvalidationerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAWzB,MAAa,sBAAuB,SAAQ,KAAK;IAW/C,YAAY,GAA+B;QACzC,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,GAAG,CAAC,IA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CAAC,CAAC,UAAU,CAAC,sBAAsB,CAAC;KACrC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
|
|
7
|
-
export type ReceiptValidationErrorData = {
|
|
8
|
-
kind?: string | undefined;
|
|
9
|
-
email?: string | undefined;
|
|
10
|
-
emailAccountID?: string | undefined;
|
|
11
|
-
forTransferID?: string | undefined;
|
|
12
|
-
forScheduleID?: string | undefined;
|
|
13
|
-
forOccurrenceID?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export class ReceiptValidationError extends Error {
|
|
17
|
-
kind?: string | undefined;
|
|
18
|
-
email?: string | undefined;
|
|
19
|
-
emailAccountID?: string | undefined;
|
|
20
|
-
forTransferID?: string | undefined;
|
|
21
|
-
forScheduleID?: string | undefined;
|
|
22
|
-
forOccurrenceID?: string | undefined;
|
|
23
|
-
|
|
24
|
-
/** The original data that was passed to this error instance. */
|
|
25
|
-
data$: ReceiptValidationErrorData;
|
|
26
|
-
|
|
27
|
-
constructor(err: ReceiptValidationErrorData) {
|
|
28
|
-
const message = "message" in err && typeof err.message === "string"
|
|
29
|
-
? err.message
|
|
30
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
31
|
-
super(message);
|
|
32
|
-
this.data$ = err;
|
|
33
|
-
|
|
34
|
-
if (err.kind != null) this.kind = err.kind;
|
|
35
|
-
if (err.email != null) this.email = err.email;
|
|
36
|
-
if (err.emailAccountID != null) this.emailAccountID = err.emailAccountID;
|
|
37
|
-
if (err.forTransferID != null) this.forTransferID = err.forTransferID;
|
|
38
|
-
if (err.forScheduleID != null) this.forScheduleID = err.forScheduleID;
|
|
39
|
-
if (err.forOccurrenceID != null) this.forOccurrenceID = err.forOccurrenceID;
|
|
40
|
-
|
|
41
|
-
this.name = "ReceiptValidationError";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const ReceiptValidationError$inboundSchema: z.ZodType<
|
|
47
|
-
ReceiptValidationError,
|
|
48
|
-
z.ZodTypeDef,
|
|
49
|
-
unknown
|
|
50
|
-
> = z.object({
|
|
51
|
-
kind: z.string().optional(),
|
|
52
|
-
email: z.string().optional(),
|
|
53
|
-
emailAccountID: z.string().optional(),
|
|
54
|
-
forTransferID: z.string().optional(),
|
|
55
|
-
forScheduleID: z.string().optional(),
|
|
56
|
-
forOccurrenceID: z.string().optional(),
|
|
57
|
-
})
|
|
58
|
-
.transform((v) => {
|
|
59
|
-
return new ReceiptValidationError(v);
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export type ReceiptValidationError$Outbound = {
|
|
64
|
-
kind?: string | undefined;
|
|
65
|
-
email?: string | undefined;
|
|
66
|
-
emailAccountID?: string | undefined;
|
|
67
|
-
forTransferID?: string | undefined;
|
|
68
|
-
forScheduleID?: string | undefined;
|
|
69
|
-
forOccurrenceID?: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
/** @internal */
|
|
73
|
-
export const ReceiptValidationError$outboundSchema: z.ZodType<
|
|
74
|
-
ReceiptValidationError$Outbound,
|
|
75
|
-
z.ZodTypeDef,
|
|
76
|
-
ReceiptValidationError
|
|
77
|
-
> = z.instanceof(ReceiptValidationError)
|
|
78
|
-
.transform(v => v.data$)
|
|
79
|
-
.pipe(z.object({
|
|
80
|
-
kind: z.string().optional(),
|
|
81
|
-
email: z.string().optional(),
|
|
82
|
-
emailAccountID: z.string().optional(),
|
|
83
|
-
forTransferID: z.string().optional(),
|
|
84
|
-
forScheduleID: z.string().optional(),
|
|
85
|
-
forOccurrenceID: z.string().optional(),
|
|
86
|
-
}));
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
-
*/
|
|
92
|
-
export namespace ReceiptValidationError$ {
|
|
93
|
-
/** @deprecated use `ReceiptValidationError$inboundSchema` instead. */
|
|
94
|
-
export const inboundSchema = ReceiptValidationError$inboundSchema;
|
|
95
|
-
/** @deprecated use `ReceiptValidationError$outboundSchema` instead. */
|
|
96
|
-
export const outboundSchema = ReceiptValidationError$outboundSchema;
|
|
97
|
-
/** @deprecated use `ReceiptValidationError$Outbound` instead. */
|
|
98
|
-
export type Outbound = ReceiptValidationError$Outbound;
|
|
99
|
-
}
|