@moovio/sdk 0.22.11 → 0.22.13
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 +91 -51
- package/bin/mcp-server.js +2557 -621
- package/bin/mcp-server.js.map +59 -16
- package/examples/package-lock.json +1 -1
- package/funcs/invoicesCreateInvoicePayment.d.ts +19 -0
- package/funcs/invoicesCreateInvoicePayment.d.ts.map +1 -0
- package/funcs/invoicesCreateInvoicePayment.js +148 -0
- package/funcs/invoicesCreateInvoicePayment.js.map +1 -0
- package/funcs/invoicesListInvoicePayments.d.ts +17 -0
- package/funcs/invoicesListInvoicePayments.d.ts.map +1 -0
- package/funcs/invoicesListInvoicePayments.js +129 -0
- package/funcs/invoicesListInvoicePayments.js.map +1 -0
- package/funcs/webhooksCreate.d.ts +16 -0
- package/funcs/webhooksCreate.d.ts.map +1 -0
- package/funcs/webhooksCreate.js +133 -0
- package/funcs/webhooksCreate.js.map +1 -0
- package/funcs/webhooksDisable.d.ts +15 -0
- package/funcs/webhooksDisable.d.ts.map +1 -0
- package/funcs/webhooksDisable.js +133 -0
- package/funcs/webhooksDisable.js.map +1 -0
- package/funcs/webhooksGet.d.ts +14 -0
- package/funcs/webhooksGet.d.ts.map +1 -0
- package/funcs/webhooksGet.js +122 -0
- package/funcs/webhooksGet.js.map +1 -0
- package/funcs/webhooksGetSecret.d.ts +14 -0
- package/funcs/webhooksGetSecret.d.ts.map +1 -0
- package/funcs/webhooksGetSecret.js +122 -0
- package/funcs/webhooksGetSecret.js.map +1 -0
- package/funcs/webhooksList.d.ts +14 -0
- package/funcs/webhooksList.d.ts.map +1 -0
- package/funcs/webhooksList.js +108 -0
- package/funcs/webhooksList.js.map +1 -0
- package/funcs/webhooksListEventTypes.d.ts +14 -0
- package/funcs/webhooksListEventTypes.d.ts.map +1 -0
- package/funcs/webhooksListEventTypes.js +108 -0
- package/funcs/webhooksListEventTypes.js.map +1 -0
- package/funcs/webhooksPing.d.ts +14 -0
- package/funcs/webhooksPing.d.ts.map +1 -0
- package/funcs/webhooksPing.js +122 -0
- package/funcs/webhooksPing.js.map +1 -0
- package/funcs/webhooksUpdate.d.ts +15 -0
- package/funcs/webhooksUpdate.d.ts.map +1 -0
- package/funcs/webhooksUpdate.js +138 -0
- package/funcs/webhooksUpdate.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 +21 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts +8 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.d.ts.map +1 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.js +66 -0
- package/mcp-server/tools/invoicesCreateInvoicePayment.js.map +1 -0
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts +8 -0
- package/mcp-server/tools/invoicesListInvoicePayments.d.ts.map +1 -0
- package/mcp-server/tools/invoicesListInvoicePayments.js +65 -0
- package/mcp-server/tools/invoicesListInvoicePayments.js.map +1 -0
- package/mcp-server/tools/webhooksCreate.d.ts +8 -0
- package/mcp-server/tools/webhooksCreate.d.ts.map +1 -0
- package/mcp-server/tools/webhooksCreate.js +62 -0
- package/mcp-server/tools/webhooksCreate.js.map +1 -0
- package/mcp-server/tools/webhooksDisable.d.ts +8 -0
- package/mcp-server/tools/webhooksDisable.d.ts.map +1 -0
- package/mcp-server/tools/webhooksDisable.js +61 -0
- package/mcp-server/tools/webhooksDisable.js.map +1 -0
- package/mcp-server/tools/webhooksGet.d.ts +8 -0
- package/mcp-server/tools/webhooksGet.d.ts.map +1 -0
- package/mcp-server/tools/webhooksGet.js +62 -0
- package/mcp-server/tools/webhooksGet.js.map +1 -0
- package/mcp-server/tools/webhooksGetSecret.d.ts +8 -0
- package/mcp-server/tools/webhooksGetSecret.d.ts.map +1 -0
- package/mcp-server/tools/webhooksGetSecret.js +62 -0
- package/mcp-server/tools/webhooksGetSecret.js.map +1 -0
- package/mcp-server/tools/webhooksList.d.ts +8 -0
- package/mcp-server/tools/webhooksList.d.ts.map +1 -0
- package/mcp-server/tools/webhooksList.js +62 -0
- package/mcp-server/tools/webhooksList.js.map +1 -0
- package/mcp-server/tools/webhooksListEventTypes.d.ts +8 -0
- package/mcp-server/tools/webhooksListEventTypes.d.ts.map +1 -0
- package/mcp-server/tools/webhooksListEventTypes.js +62 -0
- package/mcp-server/tools/webhooksListEventTypes.js.map +1 -0
- package/mcp-server/tools/webhooksPing.d.ts +8 -0
- package/mcp-server/tools/webhooksPing.d.ts.map +1 -0
- package/mcp-server/tools/webhooksPing.js +62 -0
- package/mcp-server/tools/webhooksPing.js.map +1 -0
- package/mcp-server/tools/webhooksUpdate.d.ts +8 -0
- package/mcp-server/tools/webhooksUpdate.d.ts.map +1 -0
- package/mcp-server/tools/webhooksUpdate.js +62 -0
- package/mcp-server/tools/webhooksUpdate.js.map +1 -0
- package/models/components/achtransactiondetails.d.ts +3 -0
- package/models/components/achtransactiondetails.d.ts.map +1 -1
- package/models/components/achtransactiondetails.js +3 -0
- package/models/components/achtransactiondetails.js.map +1 -1
- package/models/components/createinvoicepayment.d.ts +21 -0
- package/models/components/createinvoicepayment.d.ts.map +1 -0
- package/models/components/createinvoicepayment.js +63 -0
- package/models/components/createinvoicepayment.js.map +1 -0
- package/models/components/createtransferachaddendarecord.d.ts +23 -0
- package/models/components/createtransferachaddendarecord.d.ts.map +1 -0
- package/models/components/createtransferachaddendarecord.js +58 -0
- package/models/components/createtransferachaddendarecord.js.map +1 -0
- package/models/components/createtransferdestinationach.d.ts +3 -0
- package/models/components/createtransferdestinationach.d.ts.map +1 -1
- package/models/components/createtransferdestinationach.js +3 -0
- package/models/components/createtransferdestinationach.js.map +1 -1
- package/models/components/createtransfersourceach.d.ts +3 -0
- package/models/components/createtransfersourceach.d.ts.map +1 -1
- package/models/components/createtransfersourceach.js +3 -0
- package/models/components/createtransfersourceach.js.map +1 -1
- package/models/components/createwebhook.d.ts +40 -0
- package/models/components/createwebhook.d.ts.map +1 -0
- package/models/components/createwebhook.js +66 -0
- package/models/components/createwebhook.js.map +1 -0
- package/models/components/eventtype.d.ts +33 -0
- package/models/components/eventtype.d.ts.map +1 -0
- package/models/components/eventtype.js +62 -0
- package/models/components/eventtype.js.map +1 -0
- package/models/components/index.d.ts +10 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +10 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invoiceexternalpayment.d.ts +0 -11
- package/models/components/invoiceexternalpayment.d.ts.map +1 -1
- package/models/components/invoiceexternalpayment.js +1 -10
- package/models/components/invoiceexternalpayment.js.map +1 -1
- package/models/components/invoicepayment.d.ts +4 -2
- package/models/components/invoicepayment.d.ts.map +1 -1
- package/models/components/invoicepayment.js +4 -2
- package/models/components/invoicepayment.js.map +1 -1
- package/models/components/invoicetransferpayment.d.ts +0 -11
- package/models/components/invoicetransferpayment.d.ts.map +1 -1
- package/models/components/invoicetransferpayment.js +1 -11
- package/models/components/invoicetransferpayment.js.map +1 -1
- package/models/components/pingresponse.d.ts +38 -0
- package/models/components/pingresponse.d.ts.map +1 -0
- package/models/components/pingresponse.js +63 -0
- package/models/components/pingresponse.js.map +1 -0
- package/models/components/transferachaddendarecord.d.ts +28 -0
- package/models/components/transferachaddendarecord.d.ts.map +1 -0
- package/models/components/transferachaddendarecord.js +60 -0
- package/models/components/transferachaddendarecord.js.map +1 -0
- package/models/components/updatewebhook.d.ts +40 -0
- package/models/components/updatewebhook.d.ts.map +1 -0
- package/models/components/updatewebhook.js +66 -0
- package/models/components/updatewebhook.js.map +1 -0
- package/models/components/webhook.d.ts +60 -0
- package/models/components/webhook.d.ts.map +1 -0
- package/models/components/webhook.js +74 -0
- package/models/components/webhook.js.map +1 -0
- package/models/components/webhooksecret.d.ts +23 -0
- package/models/components/webhooksecret.d.ts.map +1 -0
- package/models/components/webhooksecret.js +58 -0
- package/models/components/webhooksecret.js.map +1 -0
- package/models/components/webhookstatus.d.ts +18 -0
- package/models/components/webhookstatus.d.ts.map +1 -0
- package/models/components/webhookstatus.js +52 -0
- package/models/components/webhookstatus.js.map +1 -0
- package/models/errors/createinvoicepaymenterror.d.ts +30 -0
- package/models/errors/createinvoicepaymenterror.d.ts.map +1 -0
- package/models/errors/createinvoicepaymenterror.js +83 -0
- package/models/errors/createinvoicepaymenterror.js.map +1 -0
- package/models/errors/createwebhookvalidationerror.d.ts +57 -0
- package/models/errors/createwebhookvalidationerror.d.ts.map +1 -0
- package/models/errors/createwebhookvalidationerror.js +87 -0
- package/models/errors/createwebhookvalidationerror.js.map +1 -0
- package/models/errors/index.d.ts +3 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +3 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/updatewebhookvalidationerror.d.ts +57 -0
- package/models/errors/updatewebhookvalidationerror.d.ts.map +1 -0
- package/models/errors/updatewebhookvalidationerror.js +87 -0
- package/models/errors/updatewebhookvalidationerror.js.map +1 -0
- package/models/operations/createinvoicepayment.d.ts +68 -0
- package/models/operations/createinvoicepayment.d.ts.map +1 -0
- package/models/operations/createinvoicepayment.js +124 -0
- package/models/operations/createinvoicepayment.js.map +1 -0
- package/models/operations/createwebhook.d.ts +51 -0
- package/models/operations/createwebhook.d.ts.map +1 -0
- package/models/operations/createwebhook.js +96 -0
- package/models/operations/createwebhook.js.map +1 -0
- package/models/operations/disablewebhook.d.ts +61 -0
- package/models/operations/disablewebhook.d.ts.map +1 -0
- package/models/operations/disablewebhook.js +107 -0
- package/models/operations/disablewebhook.js.map +1 -0
- package/models/operations/getwebhook.d.ts +64 -0
- package/models/operations/getwebhook.d.ts.map +1 -0
- package/models/operations/getwebhook.js +112 -0
- package/models/operations/getwebhook.js.map +1 -0
- package/models/operations/getwebhooksecret.d.ts +64 -0
- package/models/operations/getwebhooksecret.d.ts.map +1 -0
- package/models/operations/getwebhooksecret.js +112 -0
- package/models/operations/getwebhooksecret.js.map +1 -0
- package/models/operations/index.d.ts +10 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +10 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listeventtypes.d.ts +60 -0
- package/models/operations/listeventtypes.d.ts.map +1 -0
- package/models/operations/listeventtypes.js +108 -0
- package/models/operations/listeventtypes.js.map +1 -0
- package/models/operations/listinvoicepayments.d.ts +66 -0
- package/models/operations/listinvoicepayments.d.ts.map +1 -0
- package/models/operations/listinvoicepayments.js +114 -0
- package/models/operations/listinvoicepayments.js.map +1 -0
- package/models/operations/listwebhooks.d.ts +60 -0
- package/models/operations/listwebhooks.d.ts.map +1 -0
- package/models/operations/listwebhooks.js +108 -0
- package/models/operations/listwebhooks.js.map +1 -0
- package/models/operations/pingwebhook.d.ts +64 -0
- package/models/operations/pingwebhook.d.ts.map +1 -0
- package/models/operations/pingwebhook.js +112 -0
- package/models/operations/pingwebhook.js.map +1 -0
- package/models/operations/updatewebhook.d.ts +66 -0
- package/models/operations/updatewebhook.d.ts.map +1 -0
- package/models/operations/updatewebhook.js +122 -0
- package/models/operations/updatewebhook.js.map +1 -0
- package/package.json +1 -1
- package/sdk/invoices.d.ts +15 -0
- package/sdk/invoices.d.ts.map +1 -1
- package/sdk/invoices.js +21 -0
- package/sdk/invoices.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/webhooks.d.ts +38 -0
- package/sdk/webhooks.d.ts.map +1 -0
- package/sdk/webhooks.js +68 -0
- package/sdk/webhooks.js.map +1 -0
- package/src/funcs/invoicesCreateInvoicePayment.ts +213 -0
- package/src/funcs/invoicesListInvoicePayments.ts +186 -0
- package/src/funcs/webhooksCreate.ts +194 -0
- package/src/funcs/webhooksDisable.ts +191 -0
- package/src/funcs/webhooksGet.ts +176 -0
- package/src/funcs/webhooksGetSecret.ts +176 -0
- package/src/funcs/webhooksList.ts +156 -0
- package/src/funcs/webhooksListEventTypes.ts +156 -0
- package/src/funcs/webhooksPing.ts +176 -0
- package/src/funcs/webhooksUpdate.ts +200 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +21 -1
- package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +40 -0
- package/src/mcp-server/tools/invoicesListInvoicePayments.ts +38 -0
- package/src/mcp-server/tools/webhooksCreate.ts +35 -0
- package/src/mcp-server/tools/webhooksDisable.ts +34 -0
- package/src/mcp-server/tools/webhooksGet.ts +35 -0
- package/src/mcp-server/tools/webhooksGetSecret.ts +35 -0
- package/src/mcp-server/tools/webhooksList.ts +35 -0
- package/src/mcp-server/tools/webhooksListEventTypes.ts +35 -0
- package/src/mcp-server/tools/webhooksPing.ts +36 -0
- package/src/mcp-server/tools/webhooksUpdate.ts +35 -0
- package/src/models/components/achtransactiondetails.ts +10 -0
- package/src/models/components/createinvoicepayment.ts +60 -0
- package/src/models/components/createtransferachaddendarecord.ts +59 -0
- package/src/models/components/createtransferdestinationach.ts +10 -0
- package/src/models/components/createtransfersourceach.ts +10 -0
- package/src/models/components/createwebhook.ts +84 -0
- package/src/models/components/eventtype.ts +67 -0
- package/src/models/components/index.ts +10 -0
- package/src/models/components/invoiceexternalpayment.ts +0 -21
- package/src/models/components/invoicepayment.ts +8 -4
- package/src/models/components/invoicetransferpayment.ts +0 -17
- package/src/models/components/pingresponse.ts +73 -0
- package/src/models/components/transferachaddendarecord.ts +64 -0
- package/src/models/components/updatewebhook.ts +84 -0
- package/src/models/components/webhook.ts +115 -0
- package/src/models/components/webhooksecret.ts +53 -0
- package/src/models/components/webhookstatus.ts +27 -0
- package/src/models/errors/createinvoicepaymenterror.ts +78 -0
- package/src/models/errors/createwebhookvalidationerror.ts +108 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/updatewebhookvalidationerror.ts +108 -0
- package/src/models/operations/createinvoicepayment.ts +197 -0
- package/src/models/operations/createwebhook.ts +132 -0
- package/src/models/operations/disablewebhook.ts +168 -0
- package/src/models/operations/getwebhook.ts +175 -0
- package/src/models/operations/getwebhooksecret.ts +175 -0
- package/src/models/operations/index.ts +10 -0
- package/src/models/operations/listeventtypes.ts +167 -0
- package/src/models/operations/listinvoicepayments.ts +181 -0
- package/src/models/operations/listwebhooks.ts +167 -0
- package/src/models/operations/pingwebhook.ts +175 -0
- package/src/models/operations/updatewebhook.ts +187 -0
- package/src/sdk/invoices.ts +37 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/webhooks.ts +130 -0
|
@@ -0,0 +1,114 @@
|
|
|
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.ListInvoicePaymentsResponse$outboundSchema = exports.ListInvoicePaymentsResponse$inboundSchema = exports.ListInvoicePaymentsRequest$outboundSchema = exports.ListInvoicePaymentsRequest$inboundSchema = exports.ListInvoicePaymentsGlobals$outboundSchema = exports.ListInvoicePaymentsGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.listInvoicePaymentsGlobalsToJSON = listInvoicePaymentsGlobalsToJSON;
|
|
41
|
+
exports.listInvoicePaymentsGlobalsFromJSON = listInvoicePaymentsGlobalsFromJSON;
|
|
42
|
+
exports.listInvoicePaymentsRequestToJSON = listInvoicePaymentsRequestToJSON;
|
|
43
|
+
exports.listInvoicePaymentsRequestFromJSON = listInvoicePaymentsRequestFromJSON;
|
|
44
|
+
exports.listInvoicePaymentsResponseToJSON = listInvoicePaymentsResponseToJSON;
|
|
45
|
+
exports.listInvoicePaymentsResponseFromJSON = listInvoicePaymentsResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod/v3"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ListInvoicePaymentsGlobals$inboundSchema = z.object({
|
|
52
|
+
"X-Moov-Version": z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"X-Moov-Version": "xMoovVersion",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.ListInvoicePaymentsGlobals$outboundSchema = z.object({
|
|
60
|
+
xMoovVersion: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
xMoovVersion: "X-Moov-Version",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
function listInvoicePaymentsGlobalsToJSON(listInvoicePaymentsGlobals) {
|
|
67
|
+
return JSON.stringify(exports.ListInvoicePaymentsGlobals$outboundSchema.parse(listInvoicePaymentsGlobals));
|
|
68
|
+
}
|
|
69
|
+
function listInvoicePaymentsGlobalsFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicePaymentsGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicePaymentsGlobals' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.ListInvoicePaymentsRequest$inboundSchema = z.object({
|
|
74
|
+
accountID: z.string(),
|
|
75
|
+
invoiceID: z.string(),
|
|
76
|
+
});
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.ListInvoicePaymentsRequest$outboundSchema = z.object({
|
|
79
|
+
accountID: z.string(),
|
|
80
|
+
invoiceID: z.string(),
|
|
81
|
+
});
|
|
82
|
+
function listInvoicePaymentsRequestToJSON(listInvoicePaymentsRequest) {
|
|
83
|
+
return JSON.stringify(exports.ListInvoicePaymentsRequest$outboundSchema.parse(listInvoicePaymentsRequest));
|
|
84
|
+
}
|
|
85
|
+
function listInvoicePaymentsRequestFromJSON(jsonString) {
|
|
86
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicePaymentsRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicePaymentsRequest' from JSON`);
|
|
87
|
+
}
|
|
88
|
+
/** @internal */
|
|
89
|
+
exports.ListInvoicePaymentsResponse$inboundSchema = z.object({
|
|
90
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
91
|
+
Result: z.array(components.InvoicePayment$inboundSchema),
|
|
92
|
+
}).transform((v) => {
|
|
93
|
+
return (0, primitives_js_1.remap)(v, {
|
|
94
|
+
"Headers": "headers",
|
|
95
|
+
"Result": "result",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
/** @internal */
|
|
99
|
+
exports.ListInvoicePaymentsResponse$outboundSchema = z.object({
|
|
100
|
+
headers: z.record(z.array(z.string())),
|
|
101
|
+
result: z.array(components.InvoicePayment$outboundSchema),
|
|
102
|
+
}).transform((v) => {
|
|
103
|
+
return (0, primitives_js_1.remap)(v, {
|
|
104
|
+
headers: "Headers",
|
|
105
|
+
result: "Result",
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
function listInvoicePaymentsResponseToJSON(listInvoicePaymentsResponse) {
|
|
109
|
+
return JSON.stringify(exports.ListInvoicePaymentsResponse$outboundSchema.parse(listInvoicePaymentsResponse));
|
|
110
|
+
}
|
|
111
|
+
function listInvoicePaymentsResponseFromJSON(jsonString) {
|
|
112
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListInvoicePaymentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInvoicePaymentsResponse' from JSON`);
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=listinvoicepayments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listinvoicepayments.js","sourceRoot":"","sources":["../../src/models/operations/listinvoicepayments.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,4EAMC;AACD,gFAQC;AA2BD,4EAMC;AACD,gFAQC;AAqCD,8EAQC;AACD,kFAQC;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;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
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 ListWebhooksGlobals = {
|
|
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
|
+
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
19
|
+
*/
|
|
20
|
+
xMoovVersion?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
export type ListWebhooksRequest = {};
|
|
23
|
+
export type ListWebhooksResponse = {
|
|
24
|
+
headers: {
|
|
25
|
+
[k: string]: Array<string>;
|
|
26
|
+
};
|
|
27
|
+
result: Array<components.Webhook>;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const ListWebhooksGlobals$inboundSchema: z.ZodType<ListWebhooksGlobals, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ListWebhooksGlobals$Outbound = {
|
|
33
|
+
"X-Moov-Version"?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const ListWebhooksGlobals$outboundSchema: z.ZodType<ListWebhooksGlobals$Outbound, z.ZodTypeDef, ListWebhooksGlobals>;
|
|
37
|
+
export declare function listWebhooksGlobalsToJSON(listWebhooksGlobals: ListWebhooksGlobals): string;
|
|
38
|
+
export declare function listWebhooksGlobalsFromJSON(jsonString: string): SafeParseResult<ListWebhooksGlobals, SDKValidationError>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const ListWebhooksRequest$inboundSchema: z.ZodType<ListWebhooksRequest, z.ZodTypeDef, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type ListWebhooksRequest$Outbound = {};
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const ListWebhooksRequest$outboundSchema: z.ZodType<ListWebhooksRequest$Outbound, z.ZodTypeDef, ListWebhooksRequest>;
|
|
45
|
+
export declare function listWebhooksRequestToJSON(listWebhooksRequest: ListWebhooksRequest): string;
|
|
46
|
+
export declare function listWebhooksRequestFromJSON(jsonString: string): SafeParseResult<ListWebhooksRequest, SDKValidationError>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const ListWebhooksResponse$inboundSchema: z.ZodType<ListWebhooksResponse, z.ZodTypeDef, unknown>;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type ListWebhooksResponse$Outbound = {
|
|
51
|
+
Headers: {
|
|
52
|
+
[k: string]: Array<string>;
|
|
53
|
+
};
|
|
54
|
+
Result: Array<components.Webhook$Outbound>;
|
|
55
|
+
};
|
|
56
|
+
/** @internal */
|
|
57
|
+
export declare const ListWebhooksResponse$outboundSchema: z.ZodType<ListWebhooksResponse$Outbound, z.ZodTypeDef, ListWebhooksResponse>;
|
|
58
|
+
export declare function listWebhooksResponseToJSON(listWebhooksResponse: ListWebhooksResponse): string;
|
|
59
|
+
export declare function listWebhooksResponseFromJSON(jsonString: string): SafeParseResult<ListWebhooksResponse, SDKValidationError>;
|
|
60
|
+
//# sourceMappingURL=listwebhooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listwebhooks.d.ts","sourceRoot":"","sources":["../../src/models/operations/listwebhooks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAErC,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,OAAO,CAAC,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,g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Z,oBAAoB,CASpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AACD,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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.ListWebhooksResponse$outboundSchema = exports.ListWebhooksResponse$inboundSchema = exports.ListWebhooksRequest$outboundSchema = exports.ListWebhooksRequest$inboundSchema = exports.ListWebhooksGlobals$outboundSchema = exports.ListWebhooksGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.listWebhooksGlobalsToJSON = listWebhooksGlobalsToJSON;
|
|
41
|
+
exports.listWebhooksGlobalsFromJSON = listWebhooksGlobalsFromJSON;
|
|
42
|
+
exports.listWebhooksRequestToJSON = listWebhooksRequestToJSON;
|
|
43
|
+
exports.listWebhooksRequestFromJSON = listWebhooksRequestFromJSON;
|
|
44
|
+
exports.listWebhooksResponseToJSON = listWebhooksResponseToJSON;
|
|
45
|
+
exports.listWebhooksResponseFromJSON = listWebhooksResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod/v3"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.ListWebhooksGlobals$inboundSchema = z.object({
|
|
52
|
+
"X-Moov-Version": z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"X-Moov-Version": "xMoovVersion",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.ListWebhooksGlobals$outboundSchema = z.object({
|
|
60
|
+
xMoovVersion: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
xMoovVersion: "X-Moov-Version",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
function listWebhooksGlobalsToJSON(listWebhooksGlobals) {
|
|
67
|
+
return JSON.stringify(exports.ListWebhooksGlobals$outboundSchema.parse(listWebhooksGlobals));
|
|
68
|
+
}
|
|
69
|
+
function listWebhooksGlobalsFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListWebhooksGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListWebhooksGlobals' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.ListWebhooksRequest$inboundSchema = z.object({});
|
|
74
|
+
/** @internal */
|
|
75
|
+
exports.ListWebhooksRequest$outboundSchema = z.object({});
|
|
76
|
+
function listWebhooksRequestToJSON(listWebhooksRequest) {
|
|
77
|
+
return JSON.stringify(exports.ListWebhooksRequest$outboundSchema.parse(listWebhooksRequest));
|
|
78
|
+
}
|
|
79
|
+
function listWebhooksRequestFromJSON(jsonString) {
|
|
80
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListWebhooksRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListWebhooksRequest' from JSON`);
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.ListWebhooksResponse$inboundSchema = z.object({
|
|
84
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
85
|
+
Result: z.array(components.Webhook$inboundSchema),
|
|
86
|
+
}).transform((v) => {
|
|
87
|
+
return (0, primitives_js_1.remap)(v, {
|
|
88
|
+
"Headers": "headers",
|
|
89
|
+
"Result": "result",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
/** @internal */
|
|
93
|
+
exports.ListWebhooksResponse$outboundSchema = z.object({
|
|
94
|
+
headers: z.record(z.array(z.string())),
|
|
95
|
+
result: z.array(components.Webhook$outboundSchema),
|
|
96
|
+
}).transform((v) => {
|
|
97
|
+
return (0, primitives_js_1.remap)(v, {
|
|
98
|
+
headers: "Headers",
|
|
99
|
+
result: "Result",
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
function listWebhooksResponseToJSON(listWebhooksResponse) {
|
|
103
|
+
return JSON.stringify(exports.ListWebhooksResponse$outboundSchema.parse(listWebhooksResponse));
|
|
104
|
+
}
|
|
105
|
+
function listWebhooksResponseFromJSON(jsonString) {
|
|
106
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListWebhooksResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListWebhooksResponse' from JSON`);
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=listwebhooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listwebhooks.js","sourceRoot":"","sources":["../../src/models/operations/listwebhooks.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,8DAMC;AACD,kEAQC;AAkBD,8DAMC;AACD,kEAQC;AAqCD,gEAMC;AACD,oEAQC;AAlKD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA4BrD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACxC,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;AAMH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAA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D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AACD,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"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
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 PingWebhookGlobals = {
|
|
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
|
+
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
19
|
+
*/
|
|
20
|
+
xMoovVersion?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
export type PingWebhookRequest = {
|
|
23
|
+
webhookID: string;
|
|
24
|
+
};
|
|
25
|
+
export type PingWebhookResponse = {
|
|
26
|
+
headers: {
|
|
27
|
+
[k: string]: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
result: components.PingResponse;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const PingWebhookGlobals$inboundSchema: z.ZodType<PingWebhookGlobals, z.ZodTypeDef, unknown>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type PingWebhookGlobals$Outbound = {
|
|
35
|
+
"X-Moov-Version"?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const PingWebhookGlobals$outboundSchema: z.ZodType<PingWebhookGlobals$Outbound, z.ZodTypeDef, PingWebhookGlobals>;
|
|
39
|
+
export declare function pingWebhookGlobalsToJSON(pingWebhookGlobals: PingWebhookGlobals): string;
|
|
40
|
+
export declare function pingWebhookGlobalsFromJSON(jsonString: string): SafeParseResult<PingWebhookGlobals, SDKValidationError>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const PingWebhookRequest$inboundSchema: z.ZodType<PingWebhookRequest, z.ZodTypeDef, unknown>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type PingWebhookRequest$Outbound = {
|
|
45
|
+
webhookID: string;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const PingWebhookRequest$outboundSchema: z.ZodType<PingWebhookRequest$Outbound, z.ZodTypeDef, PingWebhookRequest>;
|
|
49
|
+
export declare function pingWebhookRequestToJSON(pingWebhookRequest: PingWebhookRequest): string;
|
|
50
|
+
export declare function pingWebhookRequestFromJSON(jsonString: string): SafeParseResult<PingWebhookRequest, SDKValidationError>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const PingWebhookResponse$inboundSchema: z.ZodType<PingWebhookResponse, z.ZodTypeDef, unknown>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type PingWebhookResponse$Outbound = {
|
|
55
|
+
Headers: {
|
|
56
|
+
[k: string]: Array<string>;
|
|
57
|
+
};
|
|
58
|
+
Result: components.PingResponse$Outbound;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const PingWebhookResponse$outboundSchema: z.ZodType<PingWebhookResponse$Outbound, z.ZodTypeDef, PingWebhookResponse>;
|
|
62
|
+
export declare function pingWebhookResponseToJSON(pingWebhookResponse: PingWebhookResponse): string;
|
|
63
|
+
export declare function pingWebhookResponseFromJSON(jsonString: string): SafeParseResult<PingWebhookResponse, SDKValidationError>;
|
|
64
|
+
//# sourceMappingURL=pingwebhook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pingwebhook.d.ts","sourceRoot":"","sources":["../../src/models/operations/pingwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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,kBAAkB,GAAG;IAC/B;;;;;;;;;;;;;OAaG;I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AAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD;AAED,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CASnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,112 @@
|
|
|
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.PingWebhookResponse$outboundSchema = exports.PingWebhookResponse$inboundSchema = exports.PingWebhookRequest$outboundSchema = exports.PingWebhookRequest$inboundSchema = exports.PingWebhookGlobals$outboundSchema = exports.PingWebhookGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.pingWebhookGlobalsToJSON = pingWebhookGlobalsToJSON;
|
|
41
|
+
exports.pingWebhookGlobalsFromJSON = pingWebhookGlobalsFromJSON;
|
|
42
|
+
exports.pingWebhookRequestToJSON = pingWebhookRequestToJSON;
|
|
43
|
+
exports.pingWebhookRequestFromJSON = pingWebhookRequestFromJSON;
|
|
44
|
+
exports.pingWebhookResponseToJSON = pingWebhookResponseToJSON;
|
|
45
|
+
exports.pingWebhookResponseFromJSON = pingWebhookResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod/v3"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.PingWebhookGlobals$inboundSchema = z.object({
|
|
52
|
+
"X-Moov-Version": z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"X-Moov-Version": "xMoovVersion",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.PingWebhookGlobals$outboundSchema = z.object({
|
|
60
|
+
xMoovVersion: z.string().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
xMoovVersion: "X-Moov-Version",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
function pingWebhookGlobalsToJSON(pingWebhookGlobals) {
|
|
67
|
+
return JSON.stringify(exports.PingWebhookGlobals$outboundSchema.parse(pingWebhookGlobals));
|
|
68
|
+
}
|
|
69
|
+
function pingWebhookGlobalsFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PingWebhookGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PingWebhookGlobals' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
/** @internal */
|
|
73
|
+
exports.PingWebhookRequest$inboundSchema = z.object({
|
|
74
|
+
webhookID: z.string(),
|
|
75
|
+
});
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.PingWebhookRequest$outboundSchema = z.object({
|
|
78
|
+
webhookID: z.string(),
|
|
79
|
+
});
|
|
80
|
+
function pingWebhookRequestToJSON(pingWebhookRequest) {
|
|
81
|
+
return JSON.stringify(exports.PingWebhookRequest$outboundSchema.parse(pingWebhookRequest));
|
|
82
|
+
}
|
|
83
|
+
function pingWebhookRequestFromJSON(jsonString) {
|
|
84
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PingWebhookRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PingWebhookRequest' from JSON`);
|
|
85
|
+
}
|
|
86
|
+
/** @internal */
|
|
87
|
+
exports.PingWebhookResponse$inboundSchema = z.object({
|
|
88
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
89
|
+
Result: components.PingResponse$inboundSchema,
|
|
90
|
+
}).transform((v) => {
|
|
91
|
+
return (0, primitives_js_1.remap)(v, {
|
|
92
|
+
"Headers": "headers",
|
|
93
|
+
"Result": "result",
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
/** @internal */
|
|
97
|
+
exports.PingWebhookResponse$outboundSchema = z.object({
|
|
98
|
+
headers: z.record(z.array(z.string())),
|
|
99
|
+
result: components.PingResponse$outboundSchema,
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return (0, primitives_js_1.remap)(v, {
|
|
102
|
+
headers: "Headers",
|
|
103
|
+
result: "Result",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
function pingWebhookResponseToJSON(pingWebhookResponse) {
|
|
107
|
+
return JSON.stringify(exports.PingWebhookResponse$outboundSchema.parse(pingWebhookResponse));
|
|
108
|
+
}
|
|
109
|
+
function pingWebhookResponseFromJSON(jsonString) {
|
|
110
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PingWebhookResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PingWebhookResponse' from JSON`);
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=pingwebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pingwebhook.js","sourceRoot":"","sources":["../../src/models/operations/pingwebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,4DAMC;AAC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AAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,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"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
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 UpdateWebhookGlobals = {
|
|
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
|
+
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
19
|
+
*/
|
|
20
|
+
xMoovVersion?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
export type UpdateWebhookRequest = {
|
|
23
|
+
webhookID: string;
|
|
24
|
+
updateWebhook: components.UpdateWebhook;
|
|
25
|
+
};
|
|
26
|
+
export type UpdateWebhookResponse = {
|
|
27
|
+
headers: {
|
|
28
|
+
[k: string]: Array<string>;
|
|
29
|
+
};
|
|
30
|
+
result: components.Webhook;
|
|
31
|
+
};
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare const UpdateWebhookGlobals$inboundSchema: z.ZodType<UpdateWebhookGlobals, z.ZodTypeDef, unknown>;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type UpdateWebhookGlobals$Outbound = {
|
|
36
|
+
"X-Moov-Version"?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const UpdateWebhookGlobals$outboundSchema: z.ZodType<UpdateWebhookGlobals$Outbound, z.ZodTypeDef, UpdateWebhookGlobals>;
|
|
40
|
+
export declare function updateWebhookGlobalsToJSON(updateWebhookGlobals: UpdateWebhookGlobals): string;
|
|
41
|
+
export declare function updateWebhookGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateWebhookGlobals, SDKValidationError>;
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const UpdateWebhookRequest$inboundSchema: z.ZodType<UpdateWebhookRequest, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type UpdateWebhookRequest$Outbound = {
|
|
46
|
+
webhookID: string;
|
|
47
|
+
UpdateWebhook: components.UpdateWebhook$Outbound;
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const UpdateWebhookRequest$outboundSchema: z.ZodType<UpdateWebhookRequest$Outbound, z.ZodTypeDef, UpdateWebhookRequest>;
|
|
51
|
+
export declare function updateWebhookRequestToJSON(updateWebhookRequest: UpdateWebhookRequest): string;
|
|
52
|
+
export declare function updateWebhookRequestFromJSON(jsonString: string): SafeParseResult<UpdateWebhookRequest, SDKValidationError>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const UpdateWebhookResponse$inboundSchema: z.ZodType<UpdateWebhookResponse, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type UpdateWebhookResponse$Outbound = {
|
|
57
|
+
Headers: {
|
|
58
|
+
[k: string]: Array<string>;
|
|
59
|
+
};
|
|
60
|
+
Result: components.Webhook$Outbound;
|
|
61
|
+
};
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const UpdateWebhookResponse$outboundSchema: z.ZodType<UpdateWebhookResponse$Outbound, z.ZodTypeDef, UpdateWebhookResponse>;
|
|
64
|
+
export declare function updateWebhookResponseToJSON(updateWebhookResponse: UpdateWebhookResponse): string;
|
|
65
|
+
export declare function updateWebhookResponseFromJSON(jsonString: string): SafeParseResult<UpdateWebhookResponse, SDKValidationError>;
|
|
66
|
+
//# sourceMappingURL=updatewebhook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatewebhook.d.ts","sourceRoot":"","sources":["../../src/models/operations/updatewebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,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,oBAAoB,GAAG;IACjC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,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