@moovio/sdk 0.6.1 → 0.6.2
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 +19 -0
- package/bin/mcp-server.js +769 -272
- package/bin/mcp-server.js.map +20 -9
- package/docs/sdks/receipts/README.md +189 -0
- package/funcs/receiptsCreate.d.ts +18 -0
- package/funcs/receiptsCreate.d.ts.map +1 -0
- package/funcs/receiptsCreate.js +133 -0
- package/funcs/receiptsCreate.js.map +1 -0
- package/funcs/receiptsList.d.ts +16 -0
- package/funcs/receiptsList.d.ts.map +1 -0
- package/funcs/receiptsList.js +121 -0
- package/funcs/receiptsList.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/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/receiptsCreate.d.ts +9 -0
- package/mcp-server/tools/receiptsCreate.d.ts.map +1 -0
- package/mcp-server/tools/receiptsCreate.js +66 -0
- package/mcp-server/tools/receiptsCreate.js.map +1 -0
- package/mcp-server/tools/receiptsList.d.ts +8 -0
- package/mcp-server/tools/receiptsList.d.ts.map +1 -0
- package/mcp-server/tools/receiptsList.js +65 -0
- package/mcp-server/tools/receiptsList.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/receiptkind.d.ts +31 -0
- package/models/components/receiptkind.d.ts.map +1 -0
- package/models/components/receiptkind.js +63 -0
- package/models/components/receiptkind.js.map +1 -0
- package/models/components/receiptrequest.d.ts +76 -0
- package/models/components/receiptrequest.d.ts.map +1 -0
- package/models/components/receiptrequest.js +80 -0
- package/models/components/receiptrequest.js.map +1 -0
- package/models/components/receiptresponse.d.ts +94 -0
- package/models/components/receiptresponse.d.ts.map +1 -0
- package/models/components/receiptresponse.js +90 -0
- package/models/components/receiptresponse.js.map +1 -0
- package/models/components/sentreceipt.d.ts +42 -0
- package/models/components/sentreceipt.d.ts.map +1 -0
- package/models/components/sentreceipt.js +73 -0
- package/models/components/sentreceipt.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/receiptvalidationerror.d.ts +46 -0
- package/models/errors/receiptvalidationerror.d.ts.map +1 -0
- package/models/errors/receiptvalidationerror.js +98 -0
- package/models/errors/receiptvalidationerror.js.map +1 -0
- package/models/operations/createreceipts.d.ts +74 -0
- package/models/operations/createreceipts.d.ts.map +1 -0
- package/models/operations/createreceipts.js +118 -0
- package/models/operations/createreceipts.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listreceipts.d.ts +102 -0
- package/models/operations/listreceipts.d.ts.map +1 -0
- package/models/operations/listreceipts.js +145 -0
- package/models/operations/listreceipts.js.map +1 -0
- package/package.json +1 -1
- package/sdk/receipts.d.ts +20 -0
- package/sdk/receipts.d.ts.map +1 -0
- package/sdk/receipts.js +32 -0
- package/sdk/receipts.js.map +1 -0
- 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/src/funcs/receiptsCreate.ts +190 -0
- package/src/funcs/receiptsList.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/receiptsCreate.ts +39 -0
- package/src/mcp-server/tools/receiptsList.ts +38 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/receiptkind.ts +36 -0
- package/src/models/components/receiptrequest.ts +123 -0
- package/src/models/components/receiptresponse.ts +157 -0
- package/src/models/components/sentreceipt.ts +79 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/receiptvalidationerror.ts +99 -0
- package/src/models/operations/createreceipts.ts +161 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listreceipts.ts +222 -0
- package/src/sdk/receipts.ts +46 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,90 @@
|
|
|
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.ReceiptResponse$ = exports.ReceiptResponse$outboundSchema = exports.ReceiptResponse$inboundSchema = void 0;
|
|
40
|
+
exports.receiptResponseToJSON = receiptResponseToJSON;
|
|
41
|
+
exports.receiptResponseFromJSON = receiptResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const receiptkind_js_1 = require("./receiptkind.js");
|
|
45
|
+
const sentreceipt_js_1 = require("./sentreceipt.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.ReceiptResponse$inboundSchema = z.object({
|
|
48
|
+
receiptID: z.string(),
|
|
49
|
+
createdBy: z.string(),
|
|
50
|
+
disabledOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
51
|
+
.optional(),
|
|
52
|
+
kind: receiptkind_js_1.ReceiptKind$inboundSchema,
|
|
53
|
+
email: z.string().optional(),
|
|
54
|
+
emailAccountID: z.string().optional(),
|
|
55
|
+
forTransferID: z.string().optional(),
|
|
56
|
+
forScheduleID: z.string().optional(),
|
|
57
|
+
forOccurrenceID: z.string().optional(),
|
|
58
|
+
sentFor: z.array(sentreceipt_js_1.SentReceipt$inboundSchema),
|
|
59
|
+
});
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.ReceiptResponse$outboundSchema = z.object({
|
|
62
|
+
receiptID: z.string(),
|
|
63
|
+
createdBy: z.string(),
|
|
64
|
+
disabledOn: z.date().transform(v => v.toISOString()).optional(),
|
|
65
|
+
kind: receiptkind_js_1.ReceiptKind$outboundSchema,
|
|
66
|
+
email: z.string().optional(),
|
|
67
|
+
emailAccountID: z.string().optional(),
|
|
68
|
+
forTransferID: z.string().optional(),
|
|
69
|
+
forScheduleID: z.string().optional(),
|
|
70
|
+
forOccurrenceID: z.string().optional(),
|
|
71
|
+
sentFor: z.array(sentreceipt_js_1.SentReceipt$outboundSchema),
|
|
72
|
+
});
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
+
*/
|
|
77
|
+
var ReceiptResponse$;
|
|
78
|
+
(function (ReceiptResponse$) {
|
|
79
|
+
/** @deprecated use `ReceiptResponse$inboundSchema` instead. */
|
|
80
|
+
ReceiptResponse$.inboundSchema = exports.ReceiptResponse$inboundSchema;
|
|
81
|
+
/** @deprecated use `ReceiptResponse$outboundSchema` instead. */
|
|
82
|
+
ReceiptResponse$.outboundSchema = exports.ReceiptResponse$outboundSchema;
|
|
83
|
+
})(ReceiptResponse$ || (exports.ReceiptResponse$ = ReceiptResponse$ = {}));
|
|
84
|
+
function receiptResponseToJSON(receiptResponse) {
|
|
85
|
+
return JSON.stringify(exports.ReceiptResponse$outboundSchema.parse(receiptResponse));
|
|
86
|
+
}
|
|
87
|
+
function receiptResponseFromJSON(jsonString) {
|
|
88
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ReceiptResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReceiptResponse' from JSON`);
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=receiptresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"receiptresponse.js","sourceRoot":"","sources":["../../src/models/components/receiptresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4IH,sDAIC;AAED,0DAQC;AAxJD,uCAAyB;AACzB,qDAAiD;AAGjD,qDAI0B;AAC1B,qDAK0B;AA4D1B,gBAAgB;AACH,QAAA,6BAA6B,GAItC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C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,2CAA0B,CAAC;CAC7C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,qCAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,sCAA8B,CAAC;AAG/D,CAAC,EAPgB,gBAAgB,gCAAhB,gBAAgB,QAOhC;AAED,SAAgB,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,sCAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type SentReceipt = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier for the receipt.
|
|
7
|
+
*/
|
|
8
|
+
receiptID: string;
|
|
9
|
+
/**
|
|
10
|
+
* The idempotency key used when creating the receipt.
|
|
11
|
+
*/
|
|
12
|
+
idempotencyKey: string;
|
|
13
|
+
/**
|
|
14
|
+
* When the receipt was sent.
|
|
15
|
+
*/
|
|
16
|
+
sentOn: Date;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const SentReceipt$inboundSchema: z.ZodType<SentReceipt, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type SentReceipt$Outbound = {
|
|
22
|
+
receiptID: string;
|
|
23
|
+
idempotencyKey: string;
|
|
24
|
+
sentOn: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const SentReceipt$outboundSchema: z.ZodType<SentReceipt$Outbound, z.ZodTypeDef, SentReceipt>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace SentReceipt$ {
|
|
33
|
+
/** @deprecated use `SentReceipt$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<SentReceipt, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `SentReceipt$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<SentReceipt$Outbound, z.ZodTypeDef, SentReceipt>;
|
|
37
|
+
/** @deprecated use `SentReceipt$Outbound` instead. */
|
|
38
|
+
type Outbound = SentReceipt$Outbound;
|
|
39
|
+
}
|
|
40
|
+
export declare function sentReceiptToJSON(sentReceipt: SentReceipt): string;
|
|
41
|
+
export declare function sentReceiptFromJSON(jsonString: string): SafeParseResult<SentReceipt, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=sentreceipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentreceipt.d.ts","sourceRoot":"","sources":["../../src/models/components/sentreceipt.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAKX,CAAC;AAEH;;;GAGG;AACH,yBAAiB,YAAY,CAAC;IAC5B,2DAA2D;IACpD,MAAM,aAAa,+CAA4B,CAAC;IACvD,4DAA4D;IACrD,MAAM,cAAc,4DAA6B,CAAC;IACzD,sDAAsD;IACtD,KAAY,QAAQ,GAAG,oBAAoB,CAAC;CAC7C;AAED,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AAED,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.SentReceipt$ = exports.SentReceipt$outboundSchema = exports.SentReceipt$inboundSchema = void 0;
|
|
40
|
+
exports.sentReceiptToJSON = sentReceiptToJSON;
|
|
41
|
+
exports.sentReceiptFromJSON = sentReceiptFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.SentReceipt$inboundSchema = z.object({
|
|
46
|
+
receiptID: z.string(),
|
|
47
|
+
idempotencyKey: z.string(),
|
|
48
|
+
sentOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
49
|
+
});
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.SentReceipt$outboundSchema = z.object({
|
|
52
|
+
receiptID: z.string(),
|
|
53
|
+
idempotencyKey: z.string(),
|
|
54
|
+
sentOn: z.date().transform(v => v.toISOString()),
|
|
55
|
+
});
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
var SentReceipt$;
|
|
61
|
+
(function (SentReceipt$) {
|
|
62
|
+
/** @deprecated use `SentReceipt$inboundSchema` instead. */
|
|
63
|
+
SentReceipt$.inboundSchema = exports.SentReceipt$inboundSchema;
|
|
64
|
+
/** @deprecated use `SentReceipt$outboundSchema` instead. */
|
|
65
|
+
SentReceipt$.outboundSchema = exports.SentReceipt$outboundSchema;
|
|
66
|
+
})(SentReceipt$ || (exports.SentReceipt$ = SentReceipt$ = {}));
|
|
67
|
+
function sentReceiptToJSON(sentReceipt) {
|
|
68
|
+
return JSON.stringify(exports.SentReceipt$outboundSchema.parse(sentReceipt));
|
|
69
|
+
}
|
|
70
|
+
function sentReceiptFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SentReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SentReceipt' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=sentreceipt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentreceipt.js","sourceRoot":"","sources":["../../src/models/components/sentreceipt.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,8CAEC;AAED,kDAQC;AA1ED,uCAAyB;AACzB,qDAAiD;AAmBjD,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;CAC1E,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;CACjD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,YAAY,CAO5B;AAPD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,iCAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,kCAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,4BAAZ,YAAY,QAO5B;AAED,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./linkcarderror.js";
|
|
|
18
18
|
export * from "./microdepositvalidationerror.js";
|
|
19
19
|
export * from "./onboardinginviteerror.js";
|
|
20
20
|
export * from "./patchsweepconfigerror.js";
|
|
21
|
+
export * from "./receiptvalidationerror.js";
|
|
21
22
|
export * from "./refundvalidationerror.js";
|
|
22
23
|
export * from "./representativevalidationerror.js";
|
|
23
24
|
export * from "./requestcarderror.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./linkcarderror.js"), exports);
|
|
|
37
37
|
__exportStar(require("./microdepositvalidationerror.js"), exports);
|
|
38
38
|
__exportStar(require("./onboardinginviteerror.js"), exports);
|
|
39
39
|
__exportStar(require("./patchsweepconfigerror.js"), exports);
|
|
40
|
+
__exportStar(require("./receiptvalidationerror.js"), exports);
|
|
40
41
|
__exportStar(require("./refundvalidationerror.js"), exports);
|
|
41
42
|
__exportStar(require("./representativevalidationerror.js"), exports);
|
|
42
43
|
__exportStar(require("./requestcarderror.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,8DAA4C;AAC5C,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,mEAAiD;AACjD,6DAA2C;AAC3C,6DAA2C;AAC3C,6DAA2C;AAC3C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,gDAA8B;AAC9B,sEAAoD;AACpD,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,qDAAmC;AACnC,8DAA4C;AAC5C,8DAA4C;AAC5C,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,mEAAiD;AACjD,6DAA2C;AAC3C,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,gDAA8B;AAC9B,sEAAoD;AACpD,+DAA6C;AAC7C,qDAAmC;AACnC,uDAAqC;AACrC,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,IAAI,CAAC,EAAE,MAA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
* 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
|
|
@@ -0,0 +1 @@
|
|
|
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,IAAI,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3C,IA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,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"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type CreateReceiptsGlobals = {
|
|
6
|
+
/**
|
|
7
|
+
* Specify an API version.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
*
|
|
11
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
12
|
+
* - `YYYY` is the year
|
|
13
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
14
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
15
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
16
|
+
*
|
|
17
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
18
|
+
*/
|
|
19
|
+
xMoovVersion?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type CreateReceiptsResponse = {
|
|
22
|
+
headers: {
|
|
23
|
+
[k: string]: Array<string>;
|
|
24
|
+
};
|
|
25
|
+
result: components.ReceiptResponse;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const CreateReceiptsGlobals$inboundSchema: z.ZodType<CreateReceiptsGlobals, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type CreateReceiptsGlobals$Outbound = {
|
|
31
|
+
"x-moov-version": string;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const CreateReceiptsGlobals$outboundSchema: z.ZodType<CreateReceiptsGlobals$Outbound, z.ZodTypeDef, CreateReceiptsGlobals>;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
+
*/
|
|
39
|
+
export declare namespace CreateReceiptsGlobals$ {
|
|
40
|
+
/** @deprecated use `CreateReceiptsGlobals$inboundSchema` instead. */
|
|
41
|
+
const inboundSchema: z.ZodType<CreateReceiptsGlobals, z.ZodTypeDef, unknown>;
|
|
42
|
+
/** @deprecated use `CreateReceiptsGlobals$outboundSchema` instead. */
|
|
43
|
+
const outboundSchema: z.ZodType<CreateReceiptsGlobals$Outbound, z.ZodTypeDef, CreateReceiptsGlobals>;
|
|
44
|
+
/** @deprecated use `CreateReceiptsGlobals$Outbound` instead. */
|
|
45
|
+
type Outbound = CreateReceiptsGlobals$Outbound;
|
|
46
|
+
}
|
|
47
|
+
export declare function createReceiptsGlobalsToJSON(createReceiptsGlobals: CreateReceiptsGlobals): string;
|
|
48
|
+
export declare function createReceiptsGlobalsFromJSON(jsonString: string): SafeParseResult<CreateReceiptsGlobals, SDKValidationError>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const CreateReceiptsResponse$inboundSchema: z.ZodType<CreateReceiptsResponse, z.ZodTypeDef, unknown>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type CreateReceiptsResponse$Outbound = {
|
|
53
|
+
Headers: {
|
|
54
|
+
[k: string]: Array<string>;
|
|
55
|
+
};
|
|
56
|
+
Result: components.ReceiptResponse$Outbound;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const CreateReceiptsResponse$outboundSchema: z.ZodType<CreateReceiptsResponse$Outbound, z.ZodTypeDef, CreateReceiptsResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export declare namespace CreateReceiptsResponse$ {
|
|
65
|
+
/** @deprecated use `CreateReceiptsResponse$inboundSchema` instead. */
|
|
66
|
+
const inboundSchema: z.ZodType<CreateReceiptsResponse, z.ZodTypeDef, unknown>;
|
|
67
|
+
/** @deprecated use `CreateReceiptsResponse$outboundSchema` instead. */
|
|
68
|
+
const outboundSchema: z.ZodType<CreateReceiptsResponse$Outbound, z.ZodTypeDef, CreateReceiptsResponse>;
|
|
69
|
+
/** @deprecated use `CreateReceiptsResponse$Outbound` instead. */
|
|
70
|
+
type Outbound = CreateReceiptsResponse$Outbound;
|
|
71
|
+
}
|
|
72
|
+
export declare function createReceiptsResponseToJSON(createReceiptsResponse: CreateReceiptsResponse): string;
|
|
73
|
+
export declare function createReceiptsResponseFromJSON(jsonString: string): SafeParseResult<CreateReceiptsResponse, SDKValidationError>;
|
|
74
|
+
//# sourceMappingURL=createreceipts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createreceipts.d.ts","sourceRoot":"","sources":["../../src/models/operations/createreceipts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE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CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,wBAAwB,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAStB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,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;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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.CreateReceiptsResponse$ = exports.CreateReceiptsResponse$outboundSchema = exports.CreateReceiptsResponse$inboundSchema = exports.CreateReceiptsGlobals$ = exports.CreateReceiptsGlobals$outboundSchema = exports.CreateReceiptsGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.createReceiptsGlobalsToJSON = createReceiptsGlobalsToJSON;
|
|
41
|
+
exports.createReceiptsGlobalsFromJSON = createReceiptsGlobalsFromJSON;
|
|
42
|
+
exports.createReceiptsResponseToJSON = createReceiptsResponseToJSON;
|
|
43
|
+
exports.createReceiptsResponseFromJSON = createReceiptsResponseFromJSON;
|
|
44
|
+
const z = __importStar(require("zod"));
|
|
45
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
+
const components = __importStar(require("../components/index.js"));
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CreateReceiptsGlobals$inboundSchema = z.object({
|
|
50
|
+
"x-moov-version": z.string().default("v2024.01.00"),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return (0, primitives_js_1.remap)(v, {
|
|
53
|
+
"x-moov-version": "xMoovVersion",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.CreateReceiptsGlobals$outboundSchema = z.object({
|
|
58
|
+
xMoovVersion: z.string().default("v2024.01.00"),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return (0, primitives_js_1.remap)(v, {
|
|
61
|
+
xMoovVersion: "x-moov-version",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
var CreateReceiptsGlobals$;
|
|
69
|
+
(function (CreateReceiptsGlobals$) {
|
|
70
|
+
/** @deprecated use `CreateReceiptsGlobals$inboundSchema` instead. */
|
|
71
|
+
CreateReceiptsGlobals$.inboundSchema = exports.CreateReceiptsGlobals$inboundSchema;
|
|
72
|
+
/** @deprecated use `CreateReceiptsGlobals$outboundSchema` instead. */
|
|
73
|
+
CreateReceiptsGlobals$.outboundSchema = exports.CreateReceiptsGlobals$outboundSchema;
|
|
74
|
+
})(CreateReceiptsGlobals$ || (exports.CreateReceiptsGlobals$ = CreateReceiptsGlobals$ = {}));
|
|
75
|
+
function createReceiptsGlobalsToJSON(createReceiptsGlobals) {
|
|
76
|
+
return JSON.stringify(exports.CreateReceiptsGlobals$outboundSchema.parse(createReceiptsGlobals));
|
|
77
|
+
}
|
|
78
|
+
function createReceiptsGlobalsFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateReceiptsGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateReceiptsGlobals' from JSON`);
|
|
80
|
+
}
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.CreateReceiptsResponse$inboundSchema = z.object({
|
|
83
|
+
Headers: z.record(z.array(z.string())),
|
|
84
|
+
Result: components.ReceiptResponse$inboundSchema,
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return (0, primitives_js_1.remap)(v, {
|
|
87
|
+
"Headers": "headers",
|
|
88
|
+
"Result": "result",
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
/** @internal */
|
|
92
|
+
exports.CreateReceiptsResponse$outboundSchema = z.object({
|
|
93
|
+
headers: z.record(z.array(z.string())),
|
|
94
|
+
result: components.ReceiptResponse$outboundSchema,
|
|
95
|
+
}).transform((v) => {
|
|
96
|
+
return (0, primitives_js_1.remap)(v, {
|
|
97
|
+
headers: "Headers",
|
|
98
|
+
result: "Result",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
+
*/
|
|
105
|
+
var CreateReceiptsResponse$;
|
|
106
|
+
(function (CreateReceiptsResponse$) {
|
|
107
|
+
/** @deprecated use `CreateReceiptsResponse$inboundSchema` instead. */
|
|
108
|
+
CreateReceiptsResponse$.inboundSchema = exports.CreateReceiptsResponse$inboundSchema;
|
|
109
|
+
/** @deprecated use `CreateReceiptsResponse$outboundSchema` instead. */
|
|
110
|
+
CreateReceiptsResponse$.outboundSchema = exports.CreateReceiptsResponse$outboundSchema;
|
|
111
|
+
})(CreateReceiptsResponse$ || (exports.CreateReceiptsResponse$ = CreateReceiptsResponse$ = {}));
|
|
112
|
+
function createReceiptsResponseToJSON(createReceiptsResponse) {
|
|
113
|
+
return JSON.stringify(exports.CreateReceiptsResponse$outboundSchema.parse(createReceiptsResponse));
|
|
114
|
+
}
|
|
115
|
+
function createReceiptsResponseFromJSON(jsonString) {
|
|
116
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateReceiptsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateReceiptsResponse' from JSON`);
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=createreceipts.js.map
|
|
@@ -0,0 +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,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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H,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"}
|
|
@@ -11,6 +11,7 @@ export * from "./createcancellation.js";
|
|
|
11
11
|
export * from "./createfeeplanagreements.js";
|
|
12
12
|
export * from "./createonboardinginvite.js";
|
|
13
13
|
export * from "./createpaymentlink.js";
|
|
14
|
+
export * from "./createreceipts.js";
|
|
14
15
|
export * from "./createrepresentative.js";
|
|
15
16
|
export * from "./createreversal.js";
|
|
16
17
|
export * from "./createschedule.js";
|
|
@@ -93,6 +94,7 @@ export * from "./listpartnerpricing.js";
|
|
|
93
94
|
export * from "./listpartnerpricingagreements.js";
|
|
94
95
|
export * from "./listpaymentlinks.js";
|
|
95
96
|
export * from "./listpaymentmethods.js";
|
|
97
|
+
export * from "./listreceipts.js";
|
|
96
98
|
export * from "./listrefunds.js";
|
|
97
99
|
export * from "./listrepresentatives.js";
|
|
98
100
|
export * from "./listschedules.js";
|