@moovio/sdk 0.10.6 → 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 +17 -72
- package/bin/mcp-server.js.map +14 -15
- 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/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/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/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/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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createreceipts.js","sourceRoot":"","sources":["../../src/models/operations/createreceipts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,kEAMC;AAED,sEAQC;AAmDD,oEAMC;AAED,w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AAC;AAED,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,6BAA6B;
|
|
1
|
+
{"version":3,"file":"createreceipts.js","sourceRoot":"","sources":["../../src/models/operations/createreceipts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,kEAMC;AAED,sEAQC;AAmDD,oEAMC;AAED,wEAQC;AA5JD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyBrD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AA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C,CAAC,CAAC;AAEH;;;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;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -20,9 +20,9 @@ export type ListReceiptsGlobals = {
|
|
|
20
20
|
};
|
|
21
21
|
export type ListReceiptsRequest = {
|
|
22
22
|
/**
|
|
23
|
-
* The
|
|
23
|
+
* The transfer, schedule, or transfer occurrence ID to filter receipts by.
|
|
24
24
|
*/
|
|
25
|
-
id
|
|
25
|
+
id: string;
|
|
26
26
|
};
|
|
27
27
|
export type ListReceiptsResponse = {
|
|
28
28
|
headers: {
|
|
@@ -56,7 +56,7 @@ export declare function listReceiptsGlobalsFromJSON(jsonString: string): SafePar
|
|
|
56
56
|
export declare const ListReceiptsRequest$inboundSchema: z.ZodType<ListReceiptsRequest, z.ZodTypeDef, unknown>;
|
|
57
57
|
/** @internal */
|
|
58
58
|
export type ListReceiptsRequest$Outbound = {
|
|
59
|
-
id
|
|
59
|
+
id: string;
|
|
60
60
|
};
|
|
61
61
|
/** @internal */
|
|
62
62
|
export declare const ListReceiptsRequest$outboundSchema: z.ZodType<ListReceiptsRequest$Outbound, z.ZodTypeDef, ListReceiptsRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listreceipts.d.ts","sourceRoot":"","sources":["../../src/models/operations/listreceipts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,EAAE,
|
|
1
|
+
{"version":3,"file":"listreceipts.d.ts","sourceRoot":"","sources":["../../src/models/operations/listreceipts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,C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gB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D;AAED,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,KAAK,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CASpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -82,11 +82,11 @@ function listReceiptsGlobalsFromJSON(jsonString) {
|
|
|
82
82
|
}
|
|
83
83
|
/** @internal */
|
|
84
84
|
exports.ListReceiptsRequest$inboundSchema = z.object({
|
|
85
|
-
id: z.string()
|
|
85
|
+
id: z.string(),
|
|
86
86
|
});
|
|
87
87
|
/** @internal */
|
|
88
88
|
exports.ListReceiptsRequest$outboundSchema = z.object({
|
|
89
|
-
id: z.string()
|
|
89
|
+
id: z.string(),
|
|
90
90
|
});
|
|
91
91
|
/**
|
|
92
92
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listreceipts.js","sourceRoot":"","sources":["../../src/models/operations/listreceipts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,8DAMC;AAED,kEAQC;AAsCD,8DAMC;AAED,kEAQC;AAmDD,gEAMC;AAED,oEAQC;AAzND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAgCrD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"listreceipts.js","sourceRoot":"","sources":["../../src/models/operations/listreceipts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,8DAMC;AAED,kEAQC;AAsCD,8DAMC;AAED,kEAQC;AAmDD,gEAMC;AAED,oEAQC;AAzND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAgCrD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,E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CAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/sdk/receipts.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class Receipts extends ClientSDK {
|
|
|
10
10
|
*/
|
|
11
11
|
create(request: Array<components.ReceiptRequest>, options?: RequestOptions): Promise<operations.CreateReceiptsResponse>;
|
|
12
12
|
/**
|
|
13
|
-
* List receipts by
|
|
13
|
+
* List receipts by transferID, scheduleID, or occurrenceID.
|
|
14
14
|
*
|
|
15
15
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
16
16
|
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
package/sdk/receipts.js
CHANGED
|
@@ -19,7 +19,7 @@ class Receipts extends sdks_js_1.ClientSDK {
|
|
|
19
19
|
return (0, fp_js_1.unwrapAsync)((0, receiptsCreate_js_1.receiptsCreate)(this, request, options));
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* List receipts by
|
|
22
|
+
* List receipts by transferID, scheduleID, or occurrenceID.
|
|
23
23
|
*
|
|
24
24
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
25
25
|
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
@@ -40,7 +40,6 @@ export function receiptsCreate(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.CreateReceiptsResponse,
|
|
42
42
|
| errors.GenericError
|
|
43
|
-
| errors.ReceiptValidationError
|
|
44
43
|
| APIError
|
|
45
44
|
| SDKValidationError
|
|
46
45
|
| UnexpectedClientError
|
|
@@ -66,7 +65,6 @@ async function $do(
|
|
|
66
65
|
Result<
|
|
67
66
|
operations.CreateReceiptsResponse,
|
|
68
67
|
| errors.GenericError
|
|
69
|
-
| errors.ReceiptValidationError
|
|
70
68
|
| APIError
|
|
71
69
|
| SDKValidationError
|
|
72
70
|
| UnexpectedClientError
|
|
@@ -162,7 +160,6 @@ async function $do(
|
|
|
162
160
|
const [result] = await M.match<
|
|
163
161
|
operations.CreateReceiptsResponse,
|
|
164
162
|
| errors.GenericError
|
|
165
|
-
| errors.ReceiptValidationError
|
|
166
163
|
| APIError
|
|
167
164
|
| SDKValidationError
|
|
168
165
|
| UnexpectedClientError
|
|
@@ -176,8 +173,7 @@ async function $do(
|
|
|
176
173
|
key: "Result",
|
|
177
174
|
}),
|
|
178
175
|
M.jsonErr([400, 409], errors.GenericError$inboundSchema, { hdrs: true }),
|
|
179
|
-
M.
|
|
180
|
-
M.fail([401, 403, 404, 429]),
|
|
176
|
+
M.fail([401, 403, 404, 422, 429]),
|
|
181
177
|
M.fail([500, 504]),
|
|
182
178
|
M.fail("4XX"),
|
|
183
179
|
M.fail("5XX"),
|
|
@@ -24,7 +24,7 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
24
24
|
import { Result } from "../types/fp.js";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* List receipts by
|
|
27
|
+
* List receipts by transferID, scheduleID, or occurrenceID.
|
|
28
28
|
*
|
|
29
29
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
30
30
|
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
package/src/lib/config.ts
CHANGED
|
@@ -69,7 +69,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
69
69
|
export const SDK_METADATA = {
|
|
70
70
|
language: "typescript",
|
|
71
71
|
openapiDocVersion: "latest",
|
|
72
|
-
sdkVersion: "0.10.
|
|
73
|
-
genVersion: "2.
|
|
74
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
72
|
+
sdkVersion: "0.10.7",
|
|
73
|
+
genVersion: "2.566.5",
|
|
74
|
+
userAgent: "speakeasy-sdk/typescript 0.10.7 2.566.5 latest @moovio/sdk",
|
|
75
75
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -12,7 +12,7 @@ const args = {
|
|
|
12
12
|
|
|
13
13
|
export const tool$receiptsList: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "receipts-list",
|
|
15
|
-
description: `List receipts by
|
|
15
|
+
description: `List receipts by transferID, scheduleID, or occurrenceID.
|
|
16
16
|
|
|
17
17
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
@@ -19,7 +19,6 @@ export type FileT = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export type CreateEvidenceFileMultiPart = {
|
|
22
|
-
evidenceType: EvidenceType;
|
|
23
22
|
/**
|
|
24
23
|
* The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.
|
|
25
24
|
*
|
|
@@ -31,6 +30,7 @@ export type CreateEvidenceFileMultiPart = {
|
|
|
31
30
|
* - `application/pdf`
|
|
32
31
|
*/
|
|
33
32
|
file: FileT | Blob;
|
|
33
|
+
evidenceType: EvidenceType;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
/** @internal */
|
|
@@ -99,14 +99,14 @@ export const CreateEvidenceFileMultiPart$inboundSchema: z.ZodType<
|
|
|
99
99
|
z.ZodTypeDef,
|
|
100
100
|
unknown
|
|
101
101
|
> = z.object({
|
|
102
|
-
evidenceType: EvidenceType$inboundSchema,
|
|
103
102
|
file: z.lazy(() => FileT$inboundSchema),
|
|
103
|
+
evidenceType: EvidenceType$inboundSchema,
|
|
104
104
|
});
|
|
105
105
|
|
|
106
106
|
/** @internal */
|
|
107
107
|
export type CreateEvidenceFileMultiPart$Outbound = {
|
|
108
|
-
evidenceType: string;
|
|
109
108
|
file: FileT$Outbound | Blob;
|
|
109
|
+
evidenceType: string;
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
/** @internal */
|
|
@@ -115,8 +115,8 @@ export const CreateEvidenceFileMultiPart$outboundSchema: z.ZodType<
|
|
|
115
115
|
z.ZodTypeDef,
|
|
116
116
|
CreateEvidenceFileMultiPart
|
|
117
117
|
> = z.object({
|
|
118
|
-
evidenceType: EvidenceType$outboundSchema,
|
|
119
118
|
file: z.lazy(() => FileT$outboundSchema).or(blobLikeSchema),
|
|
119
|
+
evidenceType: EvidenceType$outboundSchema,
|
|
120
120
|
});
|
|
121
121
|
|
|
122
122
|
/**
|
|
@@ -22,7 +22,6 @@ export * from "./linkcarderror.js";
|
|
|
22
22
|
export * from "./microdepositvalidationerror.js";
|
|
23
23
|
export * from "./onboardinginviteerror.js";
|
|
24
24
|
export * from "./patchsweepconfigerror.js";
|
|
25
|
-
export * from "./receiptvalidationerror.js";
|
|
26
25
|
export * from "./refundvalidationerror.js";
|
|
27
26
|
export * from "./representativevalidationerror.js";
|
|
28
27
|
export * from "./requestcarderror.js";
|
|
@@ -28,7 +28,7 @@ export type CreateReceiptsGlobals = {
|
|
|
28
28
|
|
|
29
29
|
export type CreateReceiptsResponse = {
|
|
30
30
|
headers: { [k: string]: Array<string> };
|
|
31
|
-
result: components.ReceiptResponse
|
|
31
|
+
result: Array<components.ReceiptResponse>;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
/** @internal */
|
|
@@ -100,7 +100,7 @@ export const CreateReceiptsResponse$inboundSchema: z.ZodType<
|
|
|
100
100
|
unknown
|
|
101
101
|
> = z.object({
|
|
102
102
|
Headers: z.record(z.array(z.string())),
|
|
103
|
-
Result: components.ReceiptResponse$inboundSchema,
|
|
103
|
+
Result: z.array(components.ReceiptResponse$inboundSchema),
|
|
104
104
|
}).transform((v) => {
|
|
105
105
|
return remap$(v, {
|
|
106
106
|
"Headers": "headers",
|
|
@@ -111,7 +111,7 @@ export const CreateReceiptsResponse$inboundSchema: z.ZodType<
|
|
|
111
111
|
/** @internal */
|
|
112
112
|
export type CreateReceiptsResponse$Outbound = {
|
|
113
113
|
Headers: { [k: string]: Array<string> };
|
|
114
|
-
Result: components.ReceiptResponse$Outbound
|
|
114
|
+
Result: Array<components.ReceiptResponse$Outbound>;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
/** @internal */
|
|
@@ -121,7 +121,7 @@ export const CreateReceiptsResponse$outboundSchema: z.ZodType<
|
|
|
121
121
|
CreateReceiptsResponse
|
|
122
122
|
> = z.object({
|
|
123
123
|
headers: z.record(z.array(z.string())),
|
|
124
|
-
result: components.ReceiptResponse$outboundSchema,
|
|
124
|
+
result: z.array(components.ReceiptResponse$outboundSchema),
|
|
125
125
|
}).transform((v) => {
|
|
126
126
|
return remap$(v, {
|
|
127
127
|
headers: "Headers",
|
|
@@ -28,9 +28,9 @@ export type ListReceiptsGlobals = {
|
|
|
28
28
|
|
|
29
29
|
export type ListReceiptsRequest = {
|
|
30
30
|
/**
|
|
31
|
-
* The
|
|
31
|
+
* The transfer, schedule, or transfer occurrence ID to filter receipts by.
|
|
32
32
|
*/
|
|
33
|
-
id
|
|
33
|
+
id: string;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
export type ListReceiptsResponse = {
|
|
@@ -106,12 +106,12 @@ export const ListReceiptsRequest$inboundSchema: z.ZodType<
|
|
|
106
106
|
z.ZodTypeDef,
|
|
107
107
|
unknown
|
|
108
108
|
> = z.object({
|
|
109
|
-
id: z.string()
|
|
109
|
+
id: z.string(),
|
|
110
110
|
});
|
|
111
111
|
|
|
112
112
|
/** @internal */
|
|
113
113
|
export type ListReceiptsRequest$Outbound = {
|
|
114
|
-
id
|
|
114
|
+
id: string;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
/** @internal */
|
|
@@ -120,7 +120,7 @@ export const ListReceiptsRequest$outboundSchema: z.ZodType<
|
|
|
120
120
|
z.ZodTypeDef,
|
|
121
121
|
ListReceiptsRequest
|
|
122
122
|
> = z.object({
|
|
123
|
-
id: z.string()
|
|
123
|
+
id: z.string(),
|
|
124
124
|
});
|
|
125
125
|
|
|
126
126
|
/**
|
package/src/sdk/receipts.ts
CHANGED
|
@@ -28,7 +28,7 @@ export class Receipts extends ClientSDK {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* List receipts by
|
|
31
|
+
* List receipts by transferID, scheduleID, or occurrenceID.
|
|
32
32
|
*
|
|
33
33
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
34
34
|
* you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
export type ReceiptValidationErrorData = {
|
|
3
|
-
kind?: string | undefined;
|
|
4
|
-
email?: string | undefined;
|
|
5
|
-
emailAccountID?: string | undefined;
|
|
6
|
-
forTransferID?: string | undefined;
|
|
7
|
-
forScheduleID?: string | undefined;
|
|
8
|
-
forOccurrenceID?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
export declare class ReceiptValidationError extends Error {
|
|
11
|
-
kind?: string | undefined;
|
|
12
|
-
email?: string | undefined;
|
|
13
|
-
emailAccountID?: string | undefined;
|
|
14
|
-
forTransferID?: string | undefined;
|
|
15
|
-
forScheduleID?: string | undefined;
|
|
16
|
-
forOccurrenceID?: string | undefined;
|
|
17
|
-
/** The original data that was passed to this error instance. */
|
|
18
|
-
data$: ReceiptValidationErrorData;
|
|
19
|
-
constructor(err: ReceiptValidationErrorData);
|
|
20
|
-
}
|
|
21
|
-
/** @internal */
|
|
22
|
-
export declare const ReceiptValidationError$inboundSchema: z.ZodType<ReceiptValidationError, z.ZodTypeDef, unknown>;
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type ReceiptValidationError$Outbound = {
|
|
25
|
-
kind?: string | undefined;
|
|
26
|
-
email?: string | undefined;
|
|
27
|
-
emailAccountID?: string | undefined;
|
|
28
|
-
forTransferID?: string | undefined;
|
|
29
|
-
forScheduleID?: string | undefined;
|
|
30
|
-
forOccurrenceID?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
/** @internal */
|
|
33
|
-
export declare const ReceiptValidationError$outboundSchema: z.ZodType<ReceiptValidationError$Outbound, z.ZodTypeDef, ReceiptValidationError>;
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
-
*/
|
|
38
|
-
export declare namespace ReceiptValidationError$ {
|
|
39
|
-
/** @deprecated use `ReceiptValidationError$inboundSchema` instead. */
|
|
40
|
-
const inboundSchema: z.ZodType<ReceiptValidationError, z.ZodTypeDef, unknown>;
|
|
41
|
-
/** @deprecated use `ReceiptValidationError$outboundSchema` instead. */
|
|
42
|
-
const outboundSchema: z.ZodType<ReceiptValidationError$Outbound, z.ZodTypeDef, ReceiptValidationError>;
|
|
43
|
-
/** @deprecated use `ReceiptValidationError$Outbound` instead. */
|
|
44
|
-
type Outbound = ReceiptValidationError$Outbound;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=receiptvalidationerror.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"receiptvalidationerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/receiptvalidationerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,cAAc,CAAC,EA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iB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD"}
|
|
@@ -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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;CACvC,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,sBAAsB,CAAC,CAAC,CAAC,CAAC;AACvC,CAAC,CAAC,CAAC;AAYL,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,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
|
-
}
|