@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 @@
|
|
|
1
|
+
{"version":3,"file":"webhookstatus.js","sourceRoot":"","sources":["../../src/models/components/webhookstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAChC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { MoovError } from "./mooverror.js";
|
|
3
|
+
export type CreateInvoicePaymentErrorData = {
|
|
4
|
+
foreignID?: string | undefined;
|
|
5
|
+
description?: string | undefined;
|
|
6
|
+
paymentDate?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare class CreateInvoicePaymentError extends MoovError {
|
|
9
|
+
foreignID?: string | undefined;
|
|
10
|
+
description?: string | undefined;
|
|
11
|
+
paymentDate?: string | undefined;
|
|
12
|
+
/** The original data that was passed to this error instance. */
|
|
13
|
+
data$: CreateInvoicePaymentErrorData;
|
|
14
|
+
constructor(err: CreateInvoicePaymentErrorData, httpMeta: {
|
|
15
|
+
response: Response;
|
|
16
|
+
request: Request;
|
|
17
|
+
body: string;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const CreateInvoicePaymentError$inboundSchema: z.ZodType<CreateInvoicePaymentError, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type CreateInvoicePaymentError$Outbound = {
|
|
24
|
+
foreignID?: string | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
paymentDate?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const CreateInvoicePaymentError$outboundSchema: z.ZodType<CreateInvoicePaymentError$Outbound, z.ZodTypeDef, CreateInvoicePaymentError>;
|
|
30
|
+
//# sourceMappingURL=createinvoicepaymenterror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createinvoicepaymenterror.d.ts","sourceRoot":"","sources":["../../src/models/errors/createinvoicepaymenterror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,qBAAa,yBAA0B,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAanE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAOtB,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.CreateInvoicePaymentError$outboundSchema = exports.CreateInvoicePaymentError$inboundSchema = exports.CreateInvoicePaymentError = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
const mooverror_js_1 = require("./mooverror.js");
|
|
42
|
+
class CreateInvoicePaymentError extends mooverror_js_1.MoovError {
|
|
43
|
+
constructor(err, httpMeta) {
|
|
44
|
+
const message = "message" in err && typeof err.message === "string"
|
|
45
|
+
? err.message
|
|
46
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
47
|
+
super(message, httpMeta);
|
|
48
|
+
this.data$ = err;
|
|
49
|
+
if (err.foreignID != null)
|
|
50
|
+
this.foreignID = err.foreignID;
|
|
51
|
+
if (err.description != null)
|
|
52
|
+
this.description = err.description;
|
|
53
|
+
if (err.paymentDate != null)
|
|
54
|
+
this.paymentDate = err.paymentDate;
|
|
55
|
+
this.name = "CreateInvoicePaymentError";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.CreateInvoicePaymentError = CreateInvoicePaymentError;
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.CreateInvoicePaymentError$inboundSchema = z.object({
|
|
61
|
+
foreignID: z.string().optional(),
|
|
62
|
+
description: z.string().optional(),
|
|
63
|
+
paymentDate: z.string().optional(),
|
|
64
|
+
request$: z.instanceof(Request),
|
|
65
|
+
response$: z.instanceof(Response),
|
|
66
|
+
body$: z.string(),
|
|
67
|
+
})
|
|
68
|
+
.transform((v) => {
|
|
69
|
+
return new CreateInvoicePaymentError(v, {
|
|
70
|
+
request: v.request$,
|
|
71
|
+
response: v.response$,
|
|
72
|
+
body: v.body$,
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
/** @internal */
|
|
76
|
+
exports.CreateInvoicePaymentError$outboundSchema = z.instanceof(CreateInvoicePaymentError)
|
|
77
|
+
.transform(v => v.data$)
|
|
78
|
+
.pipe(z.object({
|
|
79
|
+
foreignID: z.string().optional(),
|
|
80
|
+
description: z.string().optional(),
|
|
81
|
+
paymentDate: z.string().optional(),
|
|
82
|
+
}));
|
|
83
|
+
//# sourceMappingURL=createinvoicepaymenterror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createinvoicepaymenterror.js","sourceRoot":"","sources":["../../src/models/errors/createinvoicepaymenterror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,iDAA2C;AAQ3C,MAAa,yBAA0B,SAAQ,wBAAS;IAQtD,YACE,GAAkC,EAClC,QAAgE;QAEhE,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,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CA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ACb,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { MoovError } from "./mooverror.js";
|
|
3
|
+
export type CreateWebhookValidationErrorData = {
|
|
4
|
+
/**
|
|
5
|
+
* Details about the URL validation error.
|
|
6
|
+
*/
|
|
7
|
+
url?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Details about the status validation error.
|
|
10
|
+
*/
|
|
11
|
+
status?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Details about the event types validation error.
|
|
14
|
+
*/
|
|
15
|
+
eventTypes?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Details about the description validation error.
|
|
18
|
+
*/
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare class CreateWebhookValidationError extends MoovError {
|
|
22
|
+
/**
|
|
23
|
+
* Details about the URL validation error.
|
|
24
|
+
*/
|
|
25
|
+
url?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Details about the status validation error.
|
|
28
|
+
*/
|
|
29
|
+
status?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Details about the event types validation error.
|
|
32
|
+
*/
|
|
33
|
+
eventTypes?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Details about the description validation error.
|
|
36
|
+
*/
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
/** The original data that was passed to this error instance. */
|
|
39
|
+
data$: CreateWebhookValidationErrorData;
|
|
40
|
+
constructor(err: CreateWebhookValidationErrorData, httpMeta: {
|
|
41
|
+
response: Response;
|
|
42
|
+
request: Request;
|
|
43
|
+
body: string;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const CreateWebhookValidationError$inboundSchema: z.ZodType<CreateWebhookValidationError, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type CreateWebhookValidationError$Outbound = {
|
|
50
|
+
url?: string | undefined;
|
|
51
|
+
status?: string | undefined;
|
|
52
|
+
eventTypes?: string | undefined;
|
|
53
|
+
description?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const CreateWebhookValidationError$outboundSchema: z.ZodType<CreateWebhookValidationError$Outbound, z.ZodTypeDef, CreateWebhookValidationError>;
|
|
57
|
+
//# sourceMappingURL=createwebhookvalidationerror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwebhookvalidationerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/createwebhookvalidationerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,qBAAa,4BAA6B,SAAQ,SAAS;IACzD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,gEAAgE;IAChE,KAAK,EAAE,gCAAgC,CAAC;gBAGtC,GAAG,EAAE,gCAAgC,EACrC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAcnE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAQzB,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.CreateWebhookValidationError$outboundSchema = exports.CreateWebhookValidationError$inboundSchema = exports.CreateWebhookValidationError = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
const mooverror_js_1 = require("./mooverror.js");
|
|
42
|
+
class CreateWebhookValidationError extends mooverror_js_1.MoovError {
|
|
43
|
+
constructor(err, httpMeta) {
|
|
44
|
+
const message = "message" in err && typeof err.message === "string"
|
|
45
|
+
? err.message
|
|
46
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
47
|
+
super(message, httpMeta);
|
|
48
|
+
this.data$ = err;
|
|
49
|
+
if (err.url != null)
|
|
50
|
+
this.url = err.url;
|
|
51
|
+
if (err.status != null)
|
|
52
|
+
this.status = err.status;
|
|
53
|
+
if (err.eventTypes != null)
|
|
54
|
+
this.eventTypes = err.eventTypes;
|
|
55
|
+
if (err.description != null)
|
|
56
|
+
this.description = err.description;
|
|
57
|
+
this.name = "CreateWebhookValidationError";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.CreateWebhookValidationError = CreateWebhookValidationError;
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.CreateWebhookValidationError$inboundSchema = z.object({
|
|
63
|
+
url: z.string().optional(),
|
|
64
|
+
status: z.string().optional(),
|
|
65
|
+
eventTypes: z.string().optional(),
|
|
66
|
+
description: z.string().optional(),
|
|
67
|
+
request$: z.instanceof(Request),
|
|
68
|
+
response$: z.instanceof(Response),
|
|
69
|
+
body$: z.string(),
|
|
70
|
+
})
|
|
71
|
+
.transform((v) => {
|
|
72
|
+
return new CreateWebhookValidationError(v, {
|
|
73
|
+
request: v.request$,
|
|
74
|
+
response: v.response$,
|
|
75
|
+
body: v.body$,
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.CreateWebhookValidationError$outboundSchema = z.instanceof(CreateWebhookValidationError)
|
|
80
|
+
.transform(v => v.data$)
|
|
81
|
+
.pipe(z.object({
|
|
82
|
+
url: z.string().optional(),
|
|
83
|
+
status: z.string().optional(),
|
|
84
|
+
eventTypes: z.string().optional(),
|
|
85
|
+
description: z.string().optional(),
|
|
86
|
+
}));
|
|
87
|
+
//# sourceMappingURL=createwebhookvalidationerror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwebhookvalidationerror.js","sourceRoot":"","sources":["../../src/models/errors/createwebhookvalidationerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,iDAA2C;AAqB3C,MAAa,4BAA6B,SAAQ,wBAAS;IAqBzD,YACE,GAAqC,EACrC,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,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AI,4BAA4B,CAAC,CAAC,EAAE;QACzC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUL,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC3C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,CAAC"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -9,10 +9,12 @@ export * from "./cardacquiringrefund.js";
|
|
|
9
9
|
export * from "./connectaccountrequestvalidationerror.js";
|
|
10
10
|
export * from "./createaccounterror.js";
|
|
11
11
|
export * from "./createinvoiceerror.js";
|
|
12
|
+
export * from "./createinvoicepaymenterror.js";
|
|
12
13
|
export * from "./createpaymentlinkerror.js";
|
|
13
14
|
export * from "./createsweepconfigerror.js";
|
|
14
15
|
export * from "./createticketerror.js";
|
|
15
16
|
export * from "./createwalletvalidationerror.js";
|
|
17
|
+
export * from "./createwebhookvalidationerror.js";
|
|
16
18
|
export * from "./feeplanagreementerror.js";
|
|
17
19
|
export * from "./fileuploadvalidationerror.js";
|
|
18
20
|
export * from "./filevalidationerror.js";
|
|
@@ -52,5 +54,6 @@ export * from "./updateissuedcarderror.js";
|
|
|
52
54
|
export * from "./updatepaymentlinkerror.js";
|
|
53
55
|
export * from "./updateticketerror.js";
|
|
54
56
|
export * from "./updateunderwritingerror.js";
|
|
57
|
+
export * from "./updatewebhookvalidationerror.js";
|
|
55
58
|
export * from "./upsertunderwritingerror.js";
|
|
56
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,sCAAsC,CAAC;AACrD,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,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,4BAA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AAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,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,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,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -28,10 +28,12 @@ __exportStar(require("./cardacquiringrefund.js"), exports);
|
|
|
28
28
|
__exportStar(require("./connectaccountrequestvalidationerror.js"), exports);
|
|
29
29
|
__exportStar(require("./createaccounterror.js"), exports);
|
|
30
30
|
__exportStar(require("./createinvoiceerror.js"), exports);
|
|
31
|
+
__exportStar(require("./createinvoicepaymenterror.js"), exports);
|
|
31
32
|
__exportStar(require("./createpaymentlinkerror.js"), exports);
|
|
32
33
|
__exportStar(require("./createsweepconfigerror.js"), exports);
|
|
33
34
|
__exportStar(require("./createticketerror.js"), exports);
|
|
34
35
|
__exportStar(require("./createwalletvalidationerror.js"), exports);
|
|
36
|
+
__exportStar(require("./createwebhookvalidationerror.js"), exports);
|
|
35
37
|
__exportStar(require("./feeplanagreementerror.js"), exports);
|
|
36
38
|
__exportStar(require("./fileuploadvalidationerror.js"), exports);
|
|
37
39
|
__exportStar(require("./filevalidationerror.js"), exports);
|
|
@@ -71,5 +73,6 @@ __exportStar(require("./updateissuedcarderror.js"), exports);
|
|
|
71
73
|
__exportStar(require("./updatepaymentlinkerror.js"), exports);
|
|
72
74
|
__exportStar(require("./updateticketerror.js"), exports);
|
|
73
75
|
__exportStar(require("./updateunderwritingerror.js"), exports);
|
|
76
|
+
__exportStar(require("./updatewebhookvalidationerror.js"), exports);
|
|
74
77
|
__exportStar(require("./upsertunderwritingerror.js"), exports);
|
|
75
78
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uEAAqD;AACrD,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,4EAA0D;AAC1D,0DAAwC;AACxC,0DAAwC;AACxC,8DAA4C;AAC5C,8DAA4C;AAC5C,yDAAuC;AACvC,mEAAiD;AACjD,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,oDAAkC;AAClC,wDAAsC;AACtC,oEAAkD;AAClD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,mEAAiD;AACjD,oEAAkD;AAClD,kEAAgD;AAChD,6EAA2D;AAC3D,mEAAiD;AACjD,iDAA+B;AAC/B,6DAA2C;AAC3C,yDAAuC;AACvC,6DAA2C;AAC3C,oEAAkD;AAClD,kEAAgD;AAChD,qEAAmD;AACnD,6DAA2C;AAC3C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,gDAA8B;AAC9B,sEAAoD;AACpD,+DAA6C;AAC7C,uDAAqC;AACrC,0DAAwC;AACxC,6DAA2C;AAC3C,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uEAAqD;AACrD,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,4EAA0D;AAC1D,0DAAwC;AACxC,0DAAwC;AACxC,iEAA+C;AAC/C,8DAA4C;AAC5C,8DAA4C;AAC5C,yDAAuC;AACvC,mEAAiD;AACjD,oEAAkD;AAClD,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,oDAAkC;AAClC,wDAAsC;AACtC,oEAAkD;AAClD,mEAAiD;AACjD,yDAAuC;AACvC,qDAAmC;AACnC,mEAAiD;AACjD,oEAAkD;AAClD,kEAAgD;AAChD,6EAA2D;AAC3D,mEAAiD;AACjD,iDAA+B;AAC/B,6DAA2C;AAC3C,yDAAuC;AACvC,6DAA2C;AAC3C,oEAAkD;AAClD,kEAAgD;AAChD,qEAAmD;AACnD,6DAA2C;AAC3C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,gDAA8B;AAC9B,sEAAoD;AACpD,+DAA6C;AAC7C,uDAAqC;AACrC,0DAAwC;AACxC,6DAA2C;AAC3C,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,oEAAkD;AAClD,+DAA6C"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { MoovError } from "./mooverror.js";
|
|
3
|
+
export type UpdateWebhookValidationErrorData = {
|
|
4
|
+
/**
|
|
5
|
+
* Details about the URL validation error.
|
|
6
|
+
*/
|
|
7
|
+
url?: string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Details about the status validation error.
|
|
10
|
+
*/
|
|
11
|
+
status?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Details about the event types validation error.
|
|
14
|
+
*/
|
|
15
|
+
eventTypes?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Details about the description validation error.
|
|
18
|
+
*/
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export declare class UpdateWebhookValidationError extends MoovError {
|
|
22
|
+
/**
|
|
23
|
+
* Details about the URL validation error.
|
|
24
|
+
*/
|
|
25
|
+
url?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Details about the status validation error.
|
|
28
|
+
*/
|
|
29
|
+
status?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Details about the event types validation error.
|
|
32
|
+
*/
|
|
33
|
+
eventTypes?: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Details about the description validation error.
|
|
36
|
+
*/
|
|
37
|
+
description?: string | undefined;
|
|
38
|
+
/** The original data that was passed to this error instance. */
|
|
39
|
+
data$: UpdateWebhookValidationErrorData;
|
|
40
|
+
constructor(err: UpdateWebhookValidationErrorData, httpMeta: {
|
|
41
|
+
response: Response;
|
|
42
|
+
request: Request;
|
|
43
|
+
body: string;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const UpdateWebhookValidationError$inboundSchema: z.ZodType<UpdateWebhookValidationError, z.ZodTypeDef, unknown>;
|
|
48
|
+
/** @internal */
|
|
49
|
+
export type UpdateWebhookValidationError$Outbound = {
|
|
50
|
+
url?: string | undefined;
|
|
51
|
+
status?: string | undefined;
|
|
52
|
+
eventTypes?: string | undefined;
|
|
53
|
+
description?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const UpdateWebhookValidationError$outboundSchema: z.ZodType<UpdateWebhookValidationError$Outbound, z.ZodTypeDef, UpdateWebhookValidationError>;
|
|
57
|
+
//# sourceMappingURL=updatewebhookvalidationerror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatewebhookvalidationerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/updatewebhookvalidationerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,qBAAa,4BAA6B,SAAQ,SAAS;IACzD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAEjC,gEAAgE;IAChE,KAAK,EAAE,gCAAgC,CAAC;gBAGtC,GAAG,EAAE,gCAAgC,EACrC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAcnE;AAED,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAQzB,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.UpdateWebhookValidationError$outboundSchema = exports.UpdateWebhookValidationError$inboundSchema = exports.UpdateWebhookValidationError = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
const mooverror_js_1 = require("./mooverror.js");
|
|
42
|
+
class UpdateWebhookValidationError extends mooverror_js_1.MoovError {
|
|
43
|
+
constructor(err, httpMeta) {
|
|
44
|
+
const message = "message" in err && typeof err.message === "string"
|
|
45
|
+
? err.message
|
|
46
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
47
|
+
super(message, httpMeta);
|
|
48
|
+
this.data$ = err;
|
|
49
|
+
if (err.url != null)
|
|
50
|
+
this.url = err.url;
|
|
51
|
+
if (err.status != null)
|
|
52
|
+
this.status = err.status;
|
|
53
|
+
if (err.eventTypes != null)
|
|
54
|
+
this.eventTypes = err.eventTypes;
|
|
55
|
+
if (err.description != null)
|
|
56
|
+
this.description = err.description;
|
|
57
|
+
this.name = "UpdateWebhookValidationError";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.UpdateWebhookValidationError = UpdateWebhookValidationError;
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.UpdateWebhookValidationError$inboundSchema = z.object({
|
|
63
|
+
url: z.string().optional(),
|
|
64
|
+
status: z.string().optional(),
|
|
65
|
+
eventTypes: z.string().optional(),
|
|
66
|
+
description: z.string().optional(),
|
|
67
|
+
request$: z.instanceof(Request),
|
|
68
|
+
response$: z.instanceof(Response),
|
|
69
|
+
body$: z.string(),
|
|
70
|
+
})
|
|
71
|
+
.transform((v) => {
|
|
72
|
+
return new UpdateWebhookValidationError(v, {
|
|
73
|
+
request: v.request$,
|
|
74
|
+
response: v.response$,
|
|
75
|
+
body: v.body$,
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.UpdateWebhookValidationError$outboundSchema = z.instanceof(UpdateWebhookValidationError)
|
|
80
|
+
.transform(v => v.data$)
|
|
81
|
+
.pipe(z.object({
|
|
82
|
+
url: z.string().optional(),
|
|
83
|
+
status: z.string().optional(),
|
|
84
|
+
eventTypes: z.string().optional(),
|
|
85
|
+
description: z.string().optional(),
|
|
86
|
+
}));
|
|
87
|
+
//# sourceMappingURL=updatewebhookvalidationerror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatewebhookvalidationerror.js","sourceRoot":"","sources":["../../src/models/errors/updatewebhookvalidationerror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAC5B,iDAA2C;AAqB3C,MAAa,4BAA6B,SAAQ,wBAAS;IAqBzD,YACE,GAAqC,EACrC,QAAgE;QAEhE,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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,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUL,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC;KAC3C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 CreateInvoicePaymentGlobals = {
|
|
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 CreateInvoicePaymentRequest = {
|
|
23
|
+
accountID: string;
|
|
24
|
+
invoiceID: string;
|
|
25
|
+
createInvoicePayment: components.CreateInvoicePayment;
|
|
26
|
+
};
|
|
27
|
+
export type CreateInvoicePaymentResponse = {
|
|
28
|
+
headers: {
|
|
29
|
+
[k: string]: Array<string>;
|
|
30
|
+
};
|
|
31
|
+
result: components.InvoicePayment;
|
|
32
|
+
};
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const CreateInvoicePaymentGlobals$inboundSchema: z.ZodType<CreateInvoicePaymentGlobals, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type CreateInvoicePaymentGlobals$Outbound = {
|
|
37
|
+
"X-Moov-Version"?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const CreateInvoicePaymentGlobals$outboundSchema: z.ZodType<CreateInvoicePaymentGlobals$Outbound, z.ZodTypeDef, CreateInvoicePaymentGlobals>;
|
|
41
|
+
export declare function createInvoicePaymentGlobalsToJSON(createInvoicePaymentGlobals: CreateInvoicePaymentGlobals): string;
|
|
42
|
+
export declare function createInvoicePaymentGlobalsFromJSON(jsonString: string): SafeParseResult<CreateInvoicePaymentGlobals, SDKValidationError>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const CreateInvoicePaymentRequest$inboundSchema: z.ZodType<CreateInvoicePaymentRequest, z.ZodTypeDef, unknown>;
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CreateInvoicePaymentRequest$Outbound = {
|
|
47
|
+
accountID: string;
|
|
48
|
+
invoiceID: string;
|
|
49
|
+
CreateInvoicePayment: components.CreateInvoicePayment$Outbound;
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const CreateInvoicePaymentRequest$outboundSchema: z.ZodType<CreateInvoicePaymentRequest$Outbound, z.ZodTypeDef, CreateInvoicePaymentRequest>;
|
|
53
|
+
export declare function createInvoicePaymentRequestToJSON(createInvoicePaymentRequest: CreateInvoicePaymentRequest): string;
|
|
54
|
+
export declare function createInvoicePaymentRequestFromJSON(jsonString: string): SafeParseResult<CreateInvoicePaymentRequest, SDKValidationError>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const CreateInvoicePaymentResponse$inboundSchema: z.ZodType<CreateInvoicePaymentResponse, z.ZodTypeDef, unknown>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type CreateInvoicePaymentResponse$Outbound = {
|
|
59
|
+
Headers: {
|
|
60
|
+
[k: string]: Array<string>;
|
|
61
|
+
};
|
|
62
|
+
Result: components.InvoicePayment$Outbound;
|
|
63
|
+
};
|
|
64
|
+
/** @internal */
|
|
65
|
+
export declare const CreateInvoicePaymentResponse$outboundSchema: z.ZodType<CreateInvoicePaymentResponse$Outbound, z.ZodTypeDef, CreateInvoicePaymentResponse>;
|
|
66
|
+
export declare function createInvoicePaymentResponseToJSON(createInvoicePaymentResponse: CreateInvoicePaymentResponse): string;
|
|
67
|
+
export declare function createInvoicePaymentResponseFromJSON(jsonString: string): SafeParseResult<CreateInvoicePaymentResponse, SDKValidationError>;
|
|
68
|
+
//# sourceMappingURL=createinvoicepayment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createinvoicepayment.d.ts","sourceRoot":"","sources":["../../src/models/operations/createinvoicepayment.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,2BAA2B,GAAG;IACxC;;;;;;;;;;;;;OAaG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,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