@moovio/sdk 26.7.0-dev.1 → 26.7.0-dev.3
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 +26 -0
- package/bin/mcp-server.js +234 -52
- package/bin/mcp-server.js.map +38 -30
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/amountdetails.d.ts +26 -0
- package/models/components/amountdetails.d.ts.map +1 -0
- package/models/components/amountdetails.js +62 -0
- package/models/components/amountdetails.js.map +1 -0
- package/models/components/amountdetailsupdate.d.ts +26 -0
- package/models/components/amountdetailsupdate.d.ts.map +1 -0
- package/models/components/amountdetailsupdate.js +62 -0
- package/models/components/amountdetailsupdate.js.map +1 -0
- package/models/components/amountdetailsvalidationerror.d.ts +19 -0
- package/models/components/amountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/amountdetailsvalidationerror.js +61 -0
- package/models/components/amountdetailsvalidationerror.js.map +1 -0
- package/models/components/asynccreatedrefund.d.ts +3 -0
- package/models/components/asynccreatedrefund.d.ts.map +1 -1
- package/models/components/asynccreatedrefund.js +3 -0
- package/models/components/asynccreatedrefund.js.map +1 -1
- package/models/components/cardacquiringrefund.d.ts +3 -0
- package/models/components/cardacquiringrefund.d.ts.map +1 -1
- package/models/components/cardacquiringrefund.js +3 -0
- package/models/components/cardacquiringrefund.js.map +1 -1
- package/models/components/createinvoice.d.ts +3 -3
- package/models/components/createinvoice.d.ts.map +1 -1
- package/models/components/createinvoice.js +3 -3
- package/models/components/createinvoice.js.map +1 -1
- package/models/components/createpaymentlinkamountdetails.d.ts +5 -0
- package/models/components/createpaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetails.js +2 -0
- package/models/components/createpaymentlinkamountdetails.js.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js.map +1 -1
- package/models/components/createrefund.d.ts +6 -0
- package/models/components/createrefund.d.ts.map +1 -1
- package/models/components/createrefund.js +3 -0
- package/models/components/createrefund.js.map +1 -1
- package/models/components/createreversal.d.ts +6 -0
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js +3 -0
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransferamountdetails.d.ts +5 -0
- package/models/components/createtransferamountdetails.d.ts.map +1 -1
- package/models/components/createtransferamountdetails.js +2 -0
- package/models/components/createtransferamountdetails.js.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.js +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.js.map +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +4 -3
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +3 -2
- package/models/components/invoice.js.map +1 -1
- package/models/components/paymentlinkamountdetails.d.ts +5 -0
- package/models/components/paymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/paymentlinkamountdetails.js +2 -0
- package/models/components/paymentlinkamountdetails.js.map +1 -1
- package/models/components/refundamountdetails.d.ts +21 -0
- package/models/components/refundamountdetails.d.ts.map +1 -0
- package/models/components/refundamountdetails.js +60 -0
- package/models/components/refundamountdetails.js.map +1 -0
- package/models/components/refundamountdetailsvalidationerror.d.ts +17 -0
- package/models/components/refundamountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/refundamountdetailsvalidationerror.js +59 -0
- package/models/components/refundamountdetailsvalidationerror.js.map +1 -0
- package/models/components/reversalamountdetails.d.ts +21 -0
- package/models/components/reversalamountdetails.d.ts.map +1 -0
- package/models/components/reversalamountdetails.js +60 -0
- package/models/components/reversalamountdetails.js.map +1 -0
- package/models/components/reversalamountdetailsvalidationerror.d.ts +17 -0
- package/models/components/reversalamountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/reversalamountdetailsvalidationerror.js +59 -0
- package/models/components/reversalamountdetailsvalidationerror.js.map +1 -0
- package/models/components/transferamountdetails.d.ts +5 -0
- package/models/components/transferamountdetails.d.ts.map +1 -1
- package/models/components/transferamountdetails.js +2 -0
- package/models/components/transferamountdetails.js.map +1 -1
- package/models/components/transferconfig.d.ts +3 -0
- package/models/components/transferconfig.d.ts.map +1 -1
- package/models/components/transferconfig.js +3 -0
- package/models/components/transferconfig.js.map +1 -1
- package/models/components/transfercontrols.d.ts +43 -0
- package/models/components/transfercontrols.d.ts.map +1 -0
- package/models/components/transfercontrols.js +67 -0
- package/models/components/transfercontrols.js.map +1 -0
- package/models/components/updateinvoice.d.ts +9 -9
- package/models/components/updateinvoice.d.ts.map +1 -1
- package/models/components/updateinvoice.js +3 -3
- package/models/components/updateinvoice.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.d.ts +5 -0
- package/models/components/updatepaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.js +2 -0
- package/models/components/updatepaymentlinkamountdetails.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.js.map +1 -1
- package/models/errors/cardacquiringrefund.d.ts +3 -0
- package/models/errors/cardacquiringrefund.d.ts.map +1 -1
- package/models/errors/cardacquiringrefund.js +4 -0
- package/models/errors/cardacquiringrefund.js.map +1 -1
- package/models/errors/createinvoiceerror.d.ts +3 -3
- package/models/errors/createinvoiceerror.d.ts.map +1 -1
- package/models/errors/createinvoiceerror.js +4 -4
- package/models/errors/createinvoiceerror.js.map +1 -1
- package/models/errors/refundvalidationerror.d.ts +4 -0
- package/models/errors/refundvalidationerror.d.ts.map +1 -1
- package/models/errors/refundvalidationerror.js +6 -0
- package/models/errors/refundvalidationerror.js.map +1 -1
- package/models/errors/reversalvalidationerror.d.ts +4 -0
- package/models/errors/reversalvalidationerror.d.ts.map +1 -1
- package/models/errors/reversalvalidationerror.js +6 -0
- package/models/errors/reversalvalidationerror.js.map +1 -1
- package/models/errors/updateinvoiceerror.d.ts +3 -3
- package/models/errors/updateinvoiceerror.d.ts.map +1 -1
- package/models/errors/updateinvoiceerror.js +4 -4
- package/models/errors/updateinvoiceerror.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/amountdetails.ts +64 -0
- package/src/models/components/amountdetailsupdate.ts +68 -0
- package/src/models/components/amountdetailsvalidationerror.ts +58 -0
- package/src/models/components/asynccreatedrefund.ts +10 -0
- package/src/models/components/cardacquiringrefund.ts +10 -0
- package/src/models/components/createinvoice.ts +9 -9
- package/src/models/components/createpaymentlinkamountdetails.ts +7 -0
- package/src/models/components/createpaymentlinkamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/createrefund.ts +13 -0
- package/src/models/components/createreversal.ts +13 -0
- package/src/models/components/createtransferamountdetails.ts +7 -0
- package/src/models/components/createtransferamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/invoice.ts +11 -5
- package/src/models/components/paymentlinkamountdetails.ts +7 -0
- package/src/models/components/refundamountdetails.ts +61 -0
- package/src/models/components/refundamountdetailsvalidationerror.ts +55 -0
- package/src/models/components/reversalamountdetails.ts +61 -0
- package/src/models/components/reversalamountdetailsvalidationerror.ts +55 -0
- package/src/models/components/transferamountdetails.ts +7 -0
- package/src/models/components/transferconfig.ts +10 -0
- package/src/models/components/transfercontrols.ts +86 -0
- package/src/models/components/updateinvoice.ts +15 -15
- package/src/models/components/updatepaymentlinkamountdetails.ts +7 -0
- package/src/models/components/updatepaymentlinkamountdetailsvalidationerror.ts +4 -0
- package/src/models/errors/cardacquiringrefund.ts +6 -0
- package/src/models/errors/createinvoiceerror.ts +7 -7
- package/src/models/errors/refundvalidationerror.ts +12 -0
- package/src/models/errors/reversalvalidationerror.ts +12 -0
- package/src/models/errors/updateinvoiceerror.ts +7 -7
- package/src/types/async.ts +8 -7
- package/src/types/primitives.ts +0 -24
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- package/types/primitives.d.ts +0 -2
- package/types/primitives.d.ts.map +1 -1
- package/types/primitives.js +0 -23
- package/types/primitives.js.map +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -53586,9 +53586,9 @@ var init_config = __esm(() => {
|
|
|
53586
53586
|
SDK_METADATA = {
|
|
53587
53587
|
language: "typescript",
|
|
53588
53588
|
openapiDocVersion: "v2026.07.00",
|
|
53589
|
-
sdkVersion: "26.7.0-dev.
|
|
53590
|
-
genVersion: "2.
|
|
53591
|
-
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.
|
|
53589
|
+
sdkVersion: "26.7.0-dev.3",
|
|
53590
|
+
genVersion: "2.893.0",
|
|
53591
|
+
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.3 2.893.0 v2026.07.00 @moovio/sdk"
|
|
53592
53592
|
};
|
|
53593
53593
|
});
|
|
53594
53594
|
|
|
@@ -57027,6 +57027,53 @@ var init_amountdecimalvalidationerror = __esm(() => {
|
|
|
57027
57027
|
});
|
|
57028
57028
|
});
|
|
57029
57029
|
|
|
57030
|
+
// src/models/components/amountdetails.ts
|
|
57031
|
+
var AmountDetails$inboundSchema, AmountDetails$outboundSchema;
|
|
57032
|
+
var init_amountdetails = __esm(() => {
|
|
57033
|
+
init_v3();
|
|
57034
|
+
init_primitives2();
|
|
57035
|
+
init_amountdecimal();
|
|
57036
|
+
AmountDetails$inboundSchema = objectType({
|
|
57037
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
57038
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
57039
|
+
});
|
|
57040
|
+
AmountDetails$outboundSchema = objectType({
|
|
57041
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
57042
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
57043
|
+
});
|
|
57044
|
+
});
|
|
57045
|
+
|
|
57046
|
+
// src/models/components/amountdetailsupdate.ts
|
|
57047
|
+
var AmountDetailsUpdate$inboundSchema, AmountDetailsUpdate$outboundSchema;
|
|
57048
|
+
var init_amountdetailsupdate = __esm(() => {
|
|
57049
|
+
init_v3();
|
|
57050
|
+
init_primitives2();
|
|
57051
|
+
init_amountdecimalupdate();
|
|
57052
|
+
AmountDetailsUpdate$inboundSchema = objectType({
|
|
57053
|
+
tax: optional3(AmountDecimalUpdate$inboundSchema),
|
|
57054
|
+
surcharge: optional3(AmountDecimalUpdate$inboundSchema)
|
|
57055
|
+
});
|
|
57056
|
+
AmountDetailsUpdate$outboundSchema = objectType({
|
|
57057
|
+
tax: AmountDecimalUpdate$outboundSchema.optional(),
|
|
57058
|
+
surcharge: AmountDecimalUpdate$outboundSchema.optional()
|
|
57059
|
+
});
|
|
57060
|
+
});
|
|
57061
|
+
|
|
57062
|
+
// src/models/components/amountdetailsvalidationerror.ts
|
|
57063
|
+
var AmountDetailsValidationError$inboundSchema, AmountDetailsValidationError$outboundSchema;
|
|
57064
|
+
var init_amountdetailsvalidationerror = __esm(() => {
|
|
57065
|
+
init_v3();
|
|
57066
|
+
init_primitives2();
|
|
57067
|
+
AmountDetailsValidationError$inboundSchema = objectType({
|
|
57068
|
+
tax: optional3(string4()),
|
|
57069
|
+
surcharge: optional3(string4())
|
|
57070
|
+
});
|
|
57071
|
+
AmountDetailsValidationError$outboundSchema = objectType({
|
|
57072
|
+
tax: stringType().optional(),
|
|
57073
|
+
surcharge: stringType().optional()
|
|
57074
|
+
});
|
|
57075
|
+
});
|
|
57076
|
+
|
|
57030
57077
|
// src/models/components/amountupdate.ts
|
|
57031
57078
|
var AmountUpdate$inboundSchema, AmountUpdate$outboundSchema;
|
|
57032
57079
|
var init_amountupdate = __esm(() => {
|
|
@@ -57292,21 +57339,38 @@ var init_assignproductimagevalidationerror = __esm(() => {
|
|
|
57292
57339
|
});
|
|
57293
57340
|
});
|
|
57294
57341
|
|
|
57342
|
+
// src/models/components/refundamountdetails.ts
|
|
57343
|
+
var RefundAmountDetails$inboundSchema, RefundAmountDetails$outboundSchema;
|
|
57344
|
+
var init_refundamountdetails = __esm(() => {
|
|
57345
|
+
init_v3();
|
|
57346
|
+
init_primitives2();
|
|
57347
|
+
init_amountdecimal();
|
|
57348
|
+
RefundAmountDetails$inboundSchema = objectType({
|
|
57349
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
57350
|
+
});
|
|
57351
|
+
RefundAmountDetails$outboundSchema = objectType({
|
|
57352
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
57353
|
+
});
|
|
57354
|
+
});
|
|
57355
|
+
|
|
57295
57356
|
// src/models/components/asynccreatedrefund.ts
|
|
57296
57357
|
var AsyncCreatedRefund$inboundSchema, AsyncCreatedRefund$outboundSchema;
|
|
57297
57358
|
var init_asynccreatedrefund = __esm(() => {
|
|
57298
57359
|
init_v3();
|
|
57299
57360
|
init_primitives2();
|
|
57300
57361
|
init_amount();
|
|
57362
|
+
init_refundamountdetails();
|
|
57301
57363
|
AsyncCreatedRefund$inboundSchema = objectType({
|
|
57302
57364
|
refundID: string4(),
|
|
57303
57365
|
createdOn: date4(),
|
|
57304
|
-
amount: Amount$inboundSchema
|
|
57366
|
+
amount: Amount$inboundSchema,
|
|
57367
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema)
|
|
57305
57368
|
});
|
|
57306
57369
|
AsyncCreatedRefund$outboundSchema = objectType({
|
|
57307
57370
|
refundID: stringType(),
|
|
57308
57371
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
57309
|
-
amount: Amount$outboundSchema
|
|
57372
|
+
amount: Amount$outboundSchema,
|
|
57373
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional()
|
|
57310
57374
|
});
|
|
57311
57375
|
});
|
|
57312
57376
|
|
|
@@ -61101,6 +61165,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61101
61165
|
init_v3();
|
|
61102
61166
|
init_primitives2();
|
|
61103
61167
|
init_amount();
|
|
61168
|
+
init_refundamountdetails();
|
|
61104
61169
|
init_refundcarddetails();
|
|
61105
61170
|
init_refundstatus();
|
|
61106
61171
|
CardAcquiringRefund$inboundSchema = objectType({
|
|
@@ -61109,6 +61174,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61109
61174
|
updatedOn: date4(),
|
|
61110
61175
|
status: RefundStatus$inboundSchema,
|
|
61111
61176
|
amount: Amount$inboundSchema,
|
|
61177
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema),
|
|
61112
61178
|
cardDetails: optional3(RefundCardDetails$inboundSchema)
|
|
61113
61179
|
});
|
|
61114
61180
|
CardAcquiringRefund$outboundSchema = objectType({
|
|
@@ -61117,6 +61183,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61117
61183
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
61118
61184
|
status: RefundStatus$outboundSchema,
|
|
61119
61185
|
amount: Amount$outboundSchema,
|
|
61186
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional(),
|
|
61120
61187
|
cardDetails: RefundCardDetails$outboundSchema.optional()
|
|
61121
61188
|
});
|
|
61122
61189
|
});
|
|
@@ -62406,11 +62473,13 @@ var init_transferamountdetails = __esm(() => {
|
|
|
62406
62473
|
init_amountdecimal();
|
|
62407
62474
|
TransferAmountDetails$inboundSchema = objectType({
|
|
62408
62475
|
tip: optional3(AmountDecimal$inboundSchema),
|
|
62409
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
62476
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
62477
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
62410
62478
|
});
|
|
62411
62479
|
TransferAmountDetails$outboundSchema = objectType({
|
|
62412
62480
|
tip: AmountDecimal$outboundSchema.optional(),
|
|
62413
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
62481
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
62482
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
62414
62483
|
});
|
|
62415
62484
|
});
|
|
62416
62485
|
|
|
@@ -63123,7 +63192,7 @@ var CreateInvoice$inboundSchema, CreateInvoice$outboundSchema;
|
|
|
63123
63192
|
var init_createinvoice = __esm(() => {
|
|
63124
63193
|
init_v3();
|
|
63125
63194
|
init_primitives2();
|
|
63126
|
-
|
|
63195
|
+
init_amountdetails();
|
|
63127
63196
|
init_createinvoicelineitems();
|
|
63128
63197
|
CreateInvoice$inboundSchema = objectType({
|
|
63129
63198
|
customerAccountID: string4(),
|
|
@@ -63131,7 +63200,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63131
63200
|
lineItems: CreateInvoiceLineItems$inboundSchema,
|
|
63132
63201
|
invoiceDate: optional3(date4()),
|
|
63133
63202
|
dueDate: optional3(date4()),
|
|
63134
|
-
|
|
63203
|
+
amountDetails: optional3(AmountDetails$inboundSchema)
|
|
63135
63204
|
});
|
|
63136
63205
|
CreateInvoice$outboundSchema = objectType({
|
|
63137
63206
|
customerAccountID: stringType(),
|
|
@@ -63139,7 +63208,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63139
63208
|
lineItems: CreateInvoiceLineItems$outboundSchema,
|
|
63140
63209
|
invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63141
63210
|
dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63142
|
-
|
|
63211
|
+
amountDetails: AmountDetails$outboundSchema.optional()
|
|
63143
63212
|
});
|
|
63144
63213
|
});
|
|
63145
63214
|
|
|
@@ -63241,10 +63310,12 @@ var init_createpaymentlinkamountdetails = __esm(() => {
|
|
|
63241
63310
|
init_primitives2();
|
|
63242
63311
|
init_amountdecimal();
|
|
63243
63312
|
CreatePaymentLinkAmountDetails$inboundSchema = objectType({
|
|
63244
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
63313
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
63314
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
63245
63315
|
});
|
|
63246
63316
|
CreatePaymentLinkAmountDetails$outboundSchema = objectType({
|
|
63247
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
63317
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
63318
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
63248
63319
|
});
|
|
63249
63320
|
});
|
|
63250
63321
|
|
|
@@ -63479,10 +63550,12 @@ var init_createpaymentlinkamountdetailsvalidationerror = __esm(() => {
|
|
|
63479
63550
|
init_v3();
|
|
63480
63551
|
init_primitives2();
|
|
63481
63552
|
CreatePaymentLinkAmountDetailsValidationError$inboundSchema = objectType({
|
|
63482
|
-
tax: optional3(string4())
|
|
63553
|
+
tax: optional3(string4()),
|
|
63554
|
+
surcharge: optional3(string4())
|
|
63483
63555
|
});
|
|
63484
63556
|
CreatePaymentLinkAmountDetailsValidationError$outboundSchema = objectType({
|
|
63485
|
-
tax: stringType().optional()
|
|
63557
|
+
tax: stringType().optional(),
|
|
63558
|
+
surcharge: stringType().optional()
|
|
63486
63559
|
});
|
|
63487
63560
|
});
|
|
63488
63561
|
|
|
@@ -63622,11 +63695,14 @@ var CreateRefund$inboundSchema, CreateRefund$outboundSchema;
|
|
|
63622
63695
|
var init_createrefund = __esm(() => {
|
|
63623
63696
|
init_v3();
|
|
63624
63697
|
init_primitives2();
|
|
63698
|
+
init_refundamountdetails();
|
|
63625
63699
|
CreateRefund$inboundSchema = objectType({
|
|
63626
|
-
amount: optional3(number4())
|
|
63700
|
+
amount: optional3(number4()),
|
|
63701
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema)
|
|
63627
63702
|
});
|
|
63628
63703
|
CreateRefund$outboundSchema = objectType({
|
|
63629
|
-
amount: numberType().int().optional()
|
|
63704
|
+
amount: numberType().int().optional(),
|
|
63705
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional()
|
|
63630
63706
|
});
|
|
63631
63707
|
});
|
|
63632
63708
|
|
|
@@ -63875,16 +63951,33 @@ var init_createresolutionlink = __esm(() => {
|
|
|
63875
63951
|
});
|
|
63876
63952
|
});
|
|
63877
63953
|
|
|
63954
|
+
// src/models/components/reversalamountdetails.ts
|
|
63955
|
+
var ReversalAmountDetails$inboundSchema, ReversalAmountDetails$outboundSchema;
|
|
63956
|
+
var init_reversalamountdetails = __esm(() => {
|
|
63957
|
+
init_v3();
|
|
63958
|
+
init_primitives2();
|
|
63959
|
+
init_amountdecimal();
|
|
63960
|
+
ReversalAmountDetails$inboundSchema = objectType({
|
|
63961
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
63962
|
+
});
|
|
63963
|
+
ReversalAmountDetails$outboundSchema = objectType({
|
|
63964
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
63965
|
+
});
|
|
63966
|
+
});
|
|
63967
|
+
|
|
63878
63968
|
// src/models/components/createreversal.ts
|
|
63879
63969
|
var CreateReversal$inboundSchema, CreateReversal$outboundSchema;
|
|
63880
63970
|
var init_createreversal = __esm(() => {
|
|
63881
63971
|
init_v3();
|
|
63882
63972
|
init_primitives2();
|
|
63973
|
+
init_reversalamountdetails();
|
|
63883
63974
|
CreateReversal$inboundSchema = objectType({
|
|
63884
|
-
amount: number4()
|
|
63975
|
+
amount: number4(),
|
|
63976
|
+
amountDetails: optional3(ReversalAmountDetails$inboundSchema)
|
|
63885
63977
|
});
|
|
63886
63978
|
CreateReversal$outboundSchema = objectType({
|
|
63887
|
-
amount: numberType().int()
|
|
63979
|
+
amount: numberType().int(),
|
|
63980
|
+
amountDetails: ReversalAmountDetails$outboundSchema.optional()
|
|
63888
63981
|
});
|
|
63889
63982
|
});
|
|
63890
63983
|
|
|
@@ -64169,11 +64262,13 @@ var init_createtransferamountdetails = __esm(() => {
|
|
|
64169
64262
|
init_amountdecimal();
|
|
64170
64263
|
CreateTransferAmountDetails$inboundSchema = objectType({
|
|
64171
64264
|
tip: optional3(AmountDecimal$inboundSchema),
|
|
64172
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
64265
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
64266
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
64173
64267
|
});
|
|
64174
64268
|
CreateTransferAmountDetails$outboundSchema = objectType({
|
|
64175
64269
|
tip: AmountDecimal$outboundSchema.optional(),
|
|
64176
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
64270
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
64271
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
64177
64272
|
});
|
|
64178
64273
|
});
|
|
64179
64274
|
|
|
@@ -64408,11 +64503,13 @@ var init_createtransferamountdetailsvalidationerror = __esm(() => {
|
|
|
64408
64503
|
init_primitives2();
|
|
64409
64504
|
CreateTransferAmountDetailsValidationError$inboundSchema = objectType({
|
|
64410
64505
|
tip: optional3(string4()),
|
|
64411
|
-
tax: optional3(string4())
|
|
64506
|
+
tax: optional3(string4()),
|
|
64507
|
+
surcharge: optional3(string4())
|
|
64412
64508
|
});
|
|
64413
64509
|
CreateTransferAmountDetailsValidationError$outboundSchema = objectType({
|
|
64414
64510
|
tip: stringType().optional(),
|
|
64415
|
-
tax: stringType().optional()
|
|
64511
|
+
tax: stringType().optional(),
|
|
64512
|
+
surcharge: stringType().optional()
|
|
64416
64513
|
});
|
|
64417
64514
|
});
|
|
64418
64515
|
|
|
@@ -66113,6 +66210,7 @@ var init_invoice = __esm(() => {
|
|
|
66113
66210
|
init_v3();
|
|
66114
66211
|
init_primitives2();
|
|
66115
66212
|
init_amountdecimal();
|
|
66213
|
+
init_amountdetails();
|
|
66116
66214
|
init_invoicelineitems();
|
|
66117
66215
|
init_invoicepayment();
|
|
66118
66216
|
init_invoicestatus();
|
|
@@ -66127,7 +66225,7 @@ var init_invoice = __esm(() => {
|
|
|
66127
66225
|
status: InvoiceStatus$inboundSchema,
|
|
66128
66226
|
lineItems: InvoiceLineItems$inboundSchema,
|
|
66129
66227
|
subtotalAmount: AmountDecimal$inboundSchema,
|
|
66130
|
-
|
|
66228
|
+
amountDetails: optional3(AmountDetails$inboundSchema),
|
|
66131
66229
|
totalAmount: AmountDecimal$inboundSchema,
|
|
66132
66230
|
pendingAmount: AmountDecimal$inboundSchema,
|
|
66133
66231
|
paidAmount: AmountDecimal$inboundSchema,
|
|
@@ -66154,7 +66252,7 @@ var init_invoice = __esm(() => {
|
|
|
66154
66252
|
status: InvoiceStatus$outboundSchema,
|
|
66155
66253
|
lineItems: InvoiceLineItems$outboundSchema,
|
|
66156
66254
|
subtotalAmount: AmountDecimal$outboundSchema,
|
|
66157
|
-
|
|
66255
|
+
amountDetails: AmountDetails$outboundSchema.optional(),
|
|
66158
66256
|
totalAmount: AmountDecimal$outboundSchema,
|
|
66159
66257
|
pendingAmount: AmountDecimal$outboundSchema,
|
|
66160
66258
|
paidAmount: AmountDecimal$outboundSchema,
|
|
@@ -67620,10 +67718,12 @@ var init_paymentlinkamountdetails = __esm(() => {
|
|
|
67620
67718
|
init_primitives2();
|
|
67621
67719
|
init_amountdecimal();
|
|
67622
67720
|
PaymentLinkAmountDetails$inboundSchema = objectType({
|
|
67623
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
67721
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
67722
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
67624
67723
|
});
|
|
67625
67724
|
PaymentLinkAmountDetails$outboundSchema = objectType({
|
|
67626
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
67725
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
67726
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
67627
67727
|
});
|
|
67628
67728
|
});
|
|
67629
67729
|
|
|
@@ -68624,6 +68724,19 @@ var init_recurresponse = __esm(() => {
|
|
|
68624
68724
|
});
|
|
68625
68725
|
});
|
|
68626
68726
|
|
|
68727
|
+
// src/models/components/refundamountdetailsvalidationerror.ts
|
|
68728
|
+
var RefundAmountDetailsValidationError$inboundSchema, RefundAmountDetailsValidationError$outboundSchema;
|
|
68729
|
+
var init_refundamountdetailsvalidationerror = __esm(() => {
|
|
68730
|
+
init_v3();
|
|
68731
|
+
init_primitives2();
|
|
68732
|
+
RefundAmountDetailsValidationError$inboundSchema = objectType({
|
|
68733
|
+
surcharge: optional3(string4())
|
|
68734
|
+
});
|
|
68735
|
+
RefundAmountDetailsValidationError$outboundSchema = objectType({
|
|
68736
|
+
surcharge: stringType().optional()
|
|
68737
|
+
});
|
|
68738
|
+
});
|
|
68739
|
+
|
|
68627
68740
|
// src/models/components/registerapplepaymerchantdomains.ts
|
|
68628
68741
|
var RegisterApplePayMerchantDomains$inboundSchema, RegisterApplePayMerchantDomains$outboundSchema;
|
|
68629
68742
|
var init_registerapplepaymerchantdomains = __esm(() => {
|
|
@@ -68808,6 +68921,19 @@ var init_reversal = __esm(() => {
|
|
|
68808
68921
|
]);
|
|
68809
68922
|
});
|
|
68810
68923
|
|
|
68924
|
+
// src/models/components/reversalamountdetailsvalidationerror.ts
|
|
68925
|
+
var ReversalAmountDetailsValidationError$inboundSchema, ReversalAmountDetailsValidationError$outboundSchema;
|
|
68926
|
+
var init_reversalamountdetailsvalidationerror = __esm(() => {
|
|
68927
|
+
init_v3();
|
|
68928
|
+
init_primitives2();
|
|
68929
|
+
ReversalAmountDetailsValidationError$inboundSchema = objectType({
|
|
68930
|
+
surcharge: optional3(string4())
|
|
68931
|
+
});
|
|
68932
|
+
ReversalAmountDetailsValidationError$outboundSchema = objectType({
|
|
68933
|
+
surcharge: stringType().optional()
|
|
68934
|
+
});
|
|
68935
|
+
});
|
|
68936
|
+
|
|
68811
68937
|
// src/models/components/revoketokenrequest.ts
|
|
68812
68938
|
var TokenTypeHint, TokenTypeHint$inboundSchema, TokenTypeHint$outboundSchema, RevokeTokenRequest$inboundSchema, RevokeTokenRequest$outboundSchema;
|
|
68813
68939
|
var init_revoketokenrequest = __esm(() => {
|
|
@@ -69633,17 +69759,41 @@ var init_transfer = __esm(() => {
|
|
|
69633
69759
|
});
|
|
69634
69760
|
});
|
|
69635
69761
|
|
|
69762
|
+
// src/models/components/transfercontrols.ts
|
|
69763
|
+
var TransferControls$inboundSchema, TransferControls$outboundSchema;
|
|
69764
|
+
var init_transfercontrols = __esm(() => {
|
|
69765
|
+
init_v3();
|
|
69766
|
+
init_primitives2();
|
|
69767
|
+
TransferControls$inboundSchema = objectType({
|
|
69768
|
+
accountID: string4(),
|
|
69769
|
+
partnerAccountID: string4(),
|
|
69770
|
+
debtRepayment: boolean4(),
|
|
69771
|
+
allowDynamicDescriptor: boolean4(),
|
|
69772
|
+
allowSurcharge: boolean4()
|
|
69773
|
+
});
|
|
69774
|
+
TransferControls$outboundSchema = objectType({
|
|
69775
|
+
accountID: stringType(),
|
|
69776
|
+
partnerAccountID: stringType(),
|
|
69777
|
+
debtRepayment: booleanType(),
|
|
69778
|
+
allowDynamicDescriptor: booleanType(),
|
|
69779
|
+
allowSurcharge: booleanType()
|
|
69780
|
+
});
|
|
69781
|
+
});
|
|
69782
|
+
|
|
69636
69783
|
// src/models/components/transferconfig.ts
|
|
69637
69784
|
var TransferConfig$inboundSchema, TransferConfig$outboundSchema;
|
|
69638
69785
|
var init_transferconfig = __esm(() => {
|
|
69639
69786
|
init_v3();
|
|
69640
69787
|
init_primitives2();
|
|
69641
69788
|
init_tippresets();
|
|
69789
|
+
init_transfercontrols();
|
|
69642
69790
|
TransferConfig$inboundSchema = objectType({
|
|
69643
|
-
tipPresets: optional3(TipPresets$inboundSchema)
|
|
69791
|
+
tipPresets: optional3(TipPresets$inboundSchema),
|
|
69792
|
+
transferControls: optional3(arrayType(TransferControls$inboundSchema))
|
|
69644
69793
|
});
|
|
69645
69794
|
TransferConfig$outboundSchema = objectType({
|
|
69646
|
-
tipPresets: TipPresets$outboundSchema.optional()
|
|
69795
|
+
tipPresets: TipPresets$outboundSchema.optional(),
|
|
69796
|
+
transferControls: arrayType(TransferControls$outboundSchema).optional()
|
|
69647
69797
|
});
|
|
69648
69798
|
});
|
|
69649
69799
|
|
|
@@ -69937,7 +70087,7 @@ var UpdateInvoice$inboundSchema, UpdateInvoice$outboundSchema;
|
|
|
69937
70087
|
var init_updateinvoice = __esm(() => {
|
|
69938
70088
|
init_v3();
|
|
69939
70089
|
init_primitives2();
|
|
69940
|
-
|
|
70090
|
+
init_amountdetailsupdate();
|
|
69941
70091
|
init_createinvoicelineitemsupdate();
|
|
69942
70092
|
init_invoicestatus();
|
|
69943
70093
|
UpdateInvoice$inboundSchema = objectType({
|
|
@@ -69946,7 +70096,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
69946
70096
|
invoiceDate: nullableType(date4()).optional(),
|
|
69947
70097
|
dueDate: nullableType(date4()).optional(),
|
|
69948
70098
|
status: optional3(InvoiceStatus$inboundSchema),
|
|
69949
|
-
|
|
70099
|
+
amountDetails: optional3(AmountDetailsUpdate$inboundSchema)
|
|
69950
70100
|
});
|
|
69951
70101
|
UpdateInvoice$outboundSchema = objectType({
|
|
69952
70102
|
description: stringType().optional(),
|
|
@@ -69954,7 +70104,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
69954
70104
|
invoiceDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
69955
70105
|
dueDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
69956
70106
|
status: InvoiceStatus$outboundSchema.optional(),
|
|
69957
|
-
|
|
70107
|
+
amountDetails: AmountDetailsUpdate$outboundSchema.optional()
|
|
69958
70108
|
});
|
|
69959
70109
|
});
|
|
69960
70110
|
|
|
@@ -69995,10 +70145,12 @@ var init_updatepaymentlinkamountdetails = __esm(() => {
|
|
|
69995
70145
|
init_primitives2();
|
|
69996
70146
|
init_amountdecimalupdate();
|
|
69997
70147
|
UpdatePaymentLinkAmountDetails$inboundSchema = objectType({
|
|
69998
|
-
tax: optional3(AmountDecimalUpdate$inboundSchema)
|
|
70148
|
+
tax: optional3(AmountDecimalUpdate$inboundSchema),
|
|
70149
|
+
surcharge: optional3(AmountDecimalUpdate$inboundSchema)
|
|
69999
70150
|
});
|
|
70000
70151
|
UpdatePaymentLinkAmountDetails$outboundSchema = objectType({
|
|
70001
|
-
tax: AmountDecimalUpdate$outboundSchema.optional()
|
|
70152
|
+
tax: AmountDecimalUpdate$outboundSchema.optional(),
|
|
70153
|
+
surcharge: AmountDecimalUpdate$outboundSchema.optional()
|
|
70002
70154
|
});
|
|
70003
70155
|
});
|
|
70004
70156
|
|
|
@@ -70042,10 +70194,12 @@ var init_updatepaymentlinkamountdetailsvalidationerror = __esm(() => {
|
|
|
70042
70194
|
init_v3();
|
|
70043
70195
|
init_primitives2();
|
|
70044
70196
|
UpdatePaymentLinkAmountDetailsValidationError$inboundSchema = objectType({
|
|
70045
|
-
tax: optional3(string4())
|
|
70197
|
+
tax: optional3(string4()),
|
|
70198
|
+
surcharge: optional3(string4())
|
|
70046
70199
|
});
|
|
70047
70200
|
UpdatePaymentLinkAmountDetailsValidationError$outboundSchema = objectType({
|
|
70048
|
-
tax: stringType().optional()
|
|
70201
|
+
tax: stringType().optional(),
|
|
70202
|
+
surcharge: stringType().optional()
|
|
70049
70203
|
});
|
|
70050
70204
|
});
|
|
70051
70205
|
|
|
@@ -71357,6 +71511,9 @@ var init_components = __esm(() => {
|
|
|
71357
71511
|
init_amountdecimalrangeupdate();
|
|
71358
71512
|
init_amountdecimalupdate();
|
|
71359
71513
|
init_amountdecimalvalidationerror();
|
|
71514
|
+
init_amountdetails();
|
|
71515
|
+
init_amountdetailsupdate();
|
|
71516
|
+
init_amountdetailsvalidationerror();
|
|
71360
71517
|
init_amountupdate();
|
|
71361
71518
|
init_amountvalidationerror();
|
|
71362
71519
|
init_applebillingcontact();
|
|
@@ -71753,6 +71910,8 @@ var init_components = __esm(() => {
|
|
|
71753
71910
|
init_receiptresponse();
|
|
71754
71911
|
init_recur();
|
|
71755
71912
|
init_recurresponse();
|
|
71913
|
+
init_refundamountdetails();
|
|
71914
|
+
init_refundamountdetailsvalidationerror();
|
|
71756
71915
|
init_refundcarddetails();
|
|
71757
71916
|
init_refundcardstatus();
|
|
71758
71917
|
init_refundpolicy();
|
|
@@ -71771,6 +71930,8 @@ var init_components = __esm(() => {
|
|
|
71771
71930
|
init_resolutionlinkstatus();
|
|
71772
71931
|
init_returnpolicytype();
|
|
71773
71932
|
init_reversal();
|
|
71933
|
+
init_reversalamountdetails();
|
|
71934
|
+
init_reversalamountdetailsvalidationerror();
|
|
71774
71935
|
init_reversedwithcancellation();
|
|
71775
71936
|
init_reversedwithrefund();
|
|
71776
71937
|
init_revoketokenrequest();
|
|
@@ -71837,6 +71998,7 @@ var init_components = __esm(() => {
|
|
|
71837
71998
|
init_transferachaddendarecord();
|
|
71838
71999
|
init_transferamountdetails();
|
|
71839
72000
|
init_transferconfig();
|
|
72001
|
+
init_transfercontrols();
|
|
71840
72002
|
init_transferdestination();
|
|
71841
72003
|
init_transferentrymode();
|
|
71842
72004
|
init_transferfailurereason();
|
|
@@ -71989,6 +72151,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
71989
72151
|
updatedOn;
|
|
71990
72152
|
status;
|
|
71991
72153
|
amount;
|
|
72154
|
+
amountDetails;
|
|
71992
72155
|
cardDetails;
|
|
71993
72156
|
data$;
|
|
71994
72157
|
constructor(err, httpMeta) {
|
|
@@ -72000,6 +72163,8 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72000
72163
|
this.updatedOn = err.updatedOn;
|
|
72001
72164
|
this.status = err.status;
|
|
72002
72165
|
this.amount = err.amount;
|
|
72166
|
+
if (err.amountDetails != null)
|
|
72167
|
+
this.amountDetails = err.amountDetails;
|
|
72003
72168
|
if (err.cardDetails != null)
|
|
72004
72169
|
this.cardDetails = err.cardDetails;
|
|
72005
72170
|
this.name = "CardAcquiringRefund";
|
|
@@ -72011,6 +72176,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72011
72176
|
updatedOn: date4(),
|
|
72012
72177
|
status: RefundStatus$inboundSchema,
|
|
72013
72178
|
amount: Amount$inboundSchema,
|
|
72179
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema),
|
|
72014
72180
|
cardDetails: optional3(RefundCardDetails$inboundSchema),
|
|
72015
72181
|
request$: instanceOfType(Request),
|
|
72016
72182
|
response$: instanceOfType(Response),
|
|
@@ -72028,6 +72194,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72028
72194
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
72029
72195
|
status: RefundStatus$outboundSchema,
|
|
72030
72196
|
amount: Amount$outboundSchema,
|
|
72197
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional(),
|
|
72031
72198
|
cardDetails: RefundCardDetails$outboundSchema.optional()
|
|
72032
72199
|
}));
|
|
72033
72200
|
});
|
|
@@ -72203,7 +72370,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72203
72370
|
lineItems;
|
|
72204
72371
|
invoiceDate;
|
|
72205
72372
|
dueDate;
|
|
72206
|
-
|
|
72373
|
+
amountDetails;
|
|
72207
72374
|
data$;
|
|
72208
72375
|
constructor(err, httpMeta) {
|
|
72209
72376
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72220,8 +72387,8 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72220
72387
|
this.invoiceDate = err.invoiceDate;
|
|
72221
72388
|
if (err.dueDate != null)
|
|
72222
72389
|
this.dueDate = err.dueDate;
|
|
72223
|
-
if (err.
|
|
72224
|
-
this.
|
|
72390
|
+
if (err.amountDetails != null)
|
|
72391
|
+
this.amountDetails = err.amountDetails;
|
|
72225
72392
|
this.name = "CreateInvoiceError";
|
|
72226
72393
|
}
|
|
72227
72394
|
};
|
|
@@ -72231,7 +72398,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72231
72398
|
lineItems: optional3(CreateInvoiceLineItemsValidationError$inboundSchema),
|
|
72232
72399
|
invoiceDate: optional3(string4()),
|
|
72233
72400
|
dueDate: optional3(string4()),
|
|
72234
|
-
|
|
72401
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
72235
72402
|
request$: instanceOfType(Request),
|
|
72236
72403
|
response$: instanceOfType(Response),
|
|
72237
72404
|
body$: stringType()
|
|
@@ -72248,7 +72415,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72248
72415
|
lineItems: CreateInvoiceLineItemsValidationError$outboundSchema.optional(),
|
|
72249
72416
|
invoiceDate: stringType().optional(),
|
|
72250
72417
|
dueDate: stringType().optional(),
|
|
72251
|
-
|
|
72418
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
72252
72419
|
}));
|
|
72253
72420
|
});
|
|
72254
72421
|
|
|
@@ -73787,9 +73954,11 @@ var RefundValidationError, RefundValidationError$inboundSchema, RefundValidation
|
|
|
73787
73954
|
var init_refundvalidationerror = __esm(() => {
|
|
73788
73955
|
init_v3();
|
|
73789
73956
|
init_primitives2();
|
|
73957
|
+
init_components();
|
|
73790
73958
|
init_mooverror();
|
|
73791
73959
|
RefundValidationError = class RefundValidationError extends MoovError {
|
|
73792
73960
|
amount;
|
|
73961
|
+
amountDetails;
|
|
73793
73962
|
error;
|
|
73794
73963
|
data$;
|
|
73795
73964
|
constructor(err, httpMeta) {
|
|
@@ -73798,6 +73967,8 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73798
73967
|
this.data$ = err;
|
|
73799
73968
|
if (err.amount != null)
|
|
73800
73969
|
this.amount = err.amount;
|
|
73970
|
+
if (err.amountDetails != null)
|
|
73971
|
+
this.amountDetails = err.amountDetails;
|
|
73801
73972
|
if (err.error != null)
|
|
73802
73973
|
this.error = err.error;
|
|
73803
73974
|
this.name = "RefundValidationError";
|
|
@@ -73805,6 +73976,7 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73805
73976
|
};
|
|
73806
73977
|
RefundValidationError$inboundSchema = objectType({
|
|
73807
73978
|
amount: optional3(string4()),
|
|
73979
|
+
amountDetails: optional3(RefundAmountDetailsValidationError$inboundSchema),
|
|
73808
73980
|
error: optional3(string4()),
|
|
73809
73981
|
request$: instanceOfType(Request),
|
|
73810
73982
|
response$: instanceOfType(Response),
|
|
@@ -73818,6 +73990,7 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73818
73990
|
});
|
|
73819
73991
|
RefundValidationError$outboundSchema = instanceOfType(RefundValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
73820
73992
|
amount: stringType().optional(),
|
|
73993
|
+
amountDetails: RefundAmountDetailsValidationError$outboundSchema.optional(),
|
|
73821
73994
|
error: stringType().optional()
|
|
73822
73995
|
}));
|
|
73823
73996
|
});
|
|
@@ -73941,9 +74114,11 @@ var ReversalValidationError, ReversalValidationError$inboundSchema, ReversalVali
|
|
|
73941
74114
|
var init_reversalvalidationerror = __esm(() => {
|
|
73942
74115
|
init_v3();
|
|
73943
74116
|
init_primitives2();
|
|
74117
|
+
init_components();
|
|
73944
74118
|
init_mooverror();
|
|
73945
74119
|
ReversalValidationError = class ReversalValidationError extends MoovError {
|
|
73946
74120
|
amount;
|
|
74121
|
+
amountDetails;
|
|
73947
74122
|
data$;
|
|
73948
74123
|
constructor(err, httpMeta) {
|
|
73949
74124
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -73951,11 +74126,14 @@ var init_reversalvalidationerror = __esm(() => {
|
|
|
73951
74126
|
this.data$ = err;
|
|
73952
74127
|
if (err.amount != null)
|
|
73953
74128
|
this.amount = err.amount;
|
|
74129
|
+
if (err.amountDetails != null)
|
|
74130
|
+
this.amountDetails = err.amountDetails;
|
|
73954
74131
|
this.name = "ReversalValidationError";
|
|
73955
74132
|
}
|
|
73956
74133
|
};
|
|
73957
74134
|
ReversalValidationError$inboundSchema = objectType({
|
|
73958
74135
|
amount: optional3(string4()),
|
|
74136
|
+
amountDetails: optional3(ReversalAmountDetailsValidationError$inboundSchema),
|
|
73959
74137
|
request$: instanceOfType(Request),
|
|
73960
74138
|
response$: instanceOfType(Response),
|
|
73961
74139
|
body$: stringType()
|
|
@@ -73967,7 +74145,8 @@ var init_reversalvalidationerror = __esm(() => {
|
|
|
73967
74145
|
});
|
|
73968
74146
|
});
|
|
73969
74147
|
ReversalValidationError$outboundSchema = instanceOfType(ReversalValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
73970
|
-
amount: stringType().optional()
|
|
74148
|
+
amount: stringType().optional(),
|
|
74149
|
+
amountDetails: ReversalAmountDetailsValidationError$outboundSchema.optional()
|
|
73971
74150
|
}));
|
|
73972
74151
|
});
|
|
73973
74152
|
|
|
@@ -74580,7 +74759,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74580
74759
|
invoiceDate;
|
|
74581
74760
|
dueDate;
|
|
74582
74761
|
status;
|
|
74583
|
-
|
|
74762
|
+
amountDetails;
|
|
74584
74763
|
data$;
|
|
74585
74764
|
constructor(err, httpMeta) {
|
|
74586
74765
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74596,8 +74775,8 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74596
74775
|
this.dueDate = err.dueDate;
|
|
74597
74776
|
if (err.status != null)
|
|
74598
74777
|
this.status = err.status;
|
|
74599
|
-
if (err.
|
|
74600
|
-
this.
|
|
74778
|
+
if (err.amountDetails != null)
|
|
74779
|
+
this.amountDetails = err.amountDetails;
|
|
74601
74780
|
this.name = "UpdateInvoiceError";
|
|
74602
74781
|
}
|
|
74603
74782
|
};
|
|
@@ -74607,7 +74786,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74607
74786
|
invoiceDate: optional3(string4()),
|
|
74608
74787
|
dueDate: optional3(string4()),
|
|
74609
74788
|
status: optional3(string4()),
|
|
74610
|
-
|
|
74789
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
74611
74790
|
request$: instanceOfType(Request),
|
|
74612
74791
|
response$: instanceOfType(Response),
|
|
74613
74792
|
body$: stringType()
|
|
@@ -74624,7 +74803,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74624
74803
|
invoiceDate: stringType().optional(),
|
|
74625
74804
|
dueDate: stringType().optional(),
|
|
74626
74805
|
status: stringType().optional(),
|
|
74627
|
-
|
|
74806
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
74628
74807
|
}));
|
|
74629
74808
|
});
|
|
74630
74809
|
|
|
@@ -82474,16 +82653,19 @@ var init_async = __esm(() => {
|
|
|
82474
82653
|
[Symbol.toStringTag] = "APIPromise";
|
|
82475
82654
|
constructor(p) {
|
|
82476
82655
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
82477
|
-
this.#unwrapped = p instanceof Promise ?
|
|
82656
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
82657
|
+
}
|
|
82658
|
+
#getUnwrapped() {
|
|
82659
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
82478
82660
|
}
|
|
82479
82661
|
then(onfulfilled, onrejected) {
|
|
82480
82662
|
return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
|
|
82481
82663
|
}
|
|
82482
82664
|
catch(onrejected) {
|
|
82483
|
-
return this.#
|
|
82665
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
82484
82666
|
}
|
|
82485
82667
|
finally(onfinally) {
|
|
82486
|
-
return this.#
|
|
82668
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
82487
82669
|
}
|
|
82488
82670
|
$inspect() {
|
|
82489
82671
|
return this.#promise;
|
|
@@ -104296,7 +104478,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
104296
104478
|
function createMCPServer(deps) {
|
|
104297
104479
|
const server = new McpServer({
|
|
104298
104480
|
name: "Moov",
|
|
104299
|
-
version: "26.7.0-dev.
|
|
104481
|
+
version: "26.7.0-dev.3"
|
|
104300
104482
|
});
|
|
104301
104483
|
const client = new MoovCore({
|
|
104302
104484
|
security: deps.security,
|
|
@@ -105896,7 +106078,7 @@ var routes = rn({
|
|
|
105896
106078
|
var app = Ve(routes, {
|
|
105897
106079
|
name: "mcp",
|
|
105898
106080
|
versionInfo: {
|
|
105899
|
-
currentVersion: "26.7.0-dev.
|
|
106081
|
+
currentVersion: "26.7.0-dev.3"
|
|
105900
106082
|
}
|
|
105901
106083
|
});
|
|
105902
106084
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -105904,5 +106086,5 @@ export {
|
|
|
105904
106086
|
app
|
|
105905
106087
|
};
|
|
105906
106088
|
|
|
105907
|
-
//# debugId=
|
|
106089
|
+
//# debugId=D141F052C4F739FF64756E2164756E21
|
|
105908
106090
|
//# sourceMappingURL=mcp-server.js.map
|