@moovio/sdk 0.21.17 → 0.22.0
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/bin/mcp-server.js +269 -193
- package/bin/mcp-server.js.map +38 -31
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +9 -0
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/components/achcreditsamedaypaymentmethod.d.ts +2 -11
- package/models/components/achcreditsamedaypaymentmethod.d.ts.map +1 -1
- package/models/components/achcreditsamedaypaymentmethod.js +3 -11
- package/models/components/achcreditsamedaypaymentmethod.js.map +1 -1
- package/models/components/achcreditstandardpaymentmethod.d.ts +2 -11
- package/models/components/achcreditstandardpaymentmethod.d.ts.map +1 -1
- package/models/components/achcreditstandardpaymentmethod.js +3 -11
- package/models/components/achcreditstandardpaymentmethod.js.map +1 -1
- package/models/components/achdebitcollectpaymentmethod.d.ts +2 -11
- package/models/components/achdebitcollectpaymentmethod.d.ts.map +1 -1
- package/models/components/achdebitcollectpaymentmethod.js +3 -11
- package/models/components/achdebitcollectpaymentmethod.js.map +1 -1
- package/models/components/achdebitfundpaymentmethod.d.ts +2 -11
- package/models/components/achdebitfundpaymentmethod.d.ts.map +1 -1
- package/models/components/achdebitfundpaymentmethod.js +3 -11
- package/models/components/achdebitfundpaymentmethod.js.map +1 -1
- package/models/components/applepaypaymentmethod.d.ts +2 -11
- package/models/components/applepaypaymentmethod.d.ts.map +1 -1
- package/models/components/applepaypaymentmethod.js +3 -10
- package/models/components/applepaypaymentmethod.js.map +1 -1
- package/models/components/cardpaymentpaymentmethod.d.ts +2 -11
- package/models/components/cardpaymentpaymentmethod.d.ts.map +1 -1
- package/models/components/cardpaymentpaymentmethod.js +3 -11
- package/models/components/cardpaymentpaymentmethod.js.map +1 -1
- package/models/components/cardpresentpaymentpaymentmethod.d.ts +2 -11
- package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +1 -1
- package/models/components/cardpresentpaymentpaymentmethod.js +3 -11
- package/models/components/cardpresentpaymentpaymentmethod.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/createinvoicelineitem.d.ts +50 -0
- package/models/components/createinvoicelineitem.d.ts.map +1 -0
- package/models/components/createinvoicelineitem.js +70 -0
- package/models/components/createinvoicelineitem.js.map +1 -0
- package/models/components/createinvoicelineitemoption.d.ts +44 -0
- package/models/components/createinvoicelineitemoption.d.ts.map +1 -0
- package/models/components/createinvoicelineitemoption.js +67 -0
- package/models/components/createinvoicelineitemoption.js.map +1 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +24 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.js +65 -0
- package/models/components/createinvoicelineitemoptionvalidationerror.js.map +1 -0
- package/models/components/createinvoicelineitems.d.ts +24 -0
- package/models/components/createinvoicelineitems.d.ts.map +1 -0
- package/models/components/{invoicelineitemsupdate.js → createinvoicelineitems.js} +13 -13
- package/models/components/createinvoicelineitems.js.map +1 -0
- package/models/components/createinvoicelineitemsupdate.d.ts +24 -0
- package/models/components/createinvoicelineitemsupdate.d.ts.map +1 -0
- package/models/components/createinvoicelineitemsupdate.js +59 -0
- package/models/components/createinvoicelineitemsupdate.js.map +1 -0
- package/models/components/createinvoicelineitemsvalidationerror.d.ts +22 -0
- package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemsvalidationerror.js +61 -0
- package/models/components/createinvoicelineitemsvalidationerror.js.map +1 -0
- package/models/components/createinvoicelineitemvalidationerror.d.ts +31 -0
- package/models/components/createinvoicelineitemvalidationerror.d.ts.map +1 -0
- package/models/components/createinvoicelineitemvalidationerror.js +70 -0
- package/models/components/createinvoicelineitemvalidationerror.js.map +1 -0
- package/models/components/index.d.ts +8 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -1
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcreditpaymentmethod.d.ts +2 -11
- package/models/components/instantbankcreditpaymentmethod.d.ts.map +1 -1
- package/models/components/instantbankcreditpaymentmethod.js +3 -11
- package/models/components/instantbankcreditpaymentmethod.js.map +1 -1
- package/models/components/invoiceexternalpayment.d.ts +2 -11
- package/models/components/invoiceexternalpayment.d.ts.map +1 -1
- package/models/components/invoiceexternalpayment.js +3 -10
- package/models/components/invoiceexternalpayment.js.map +1 -1
- package/models/components/invoicelineitem.d.ts +9 -3
- package/models/components/invoicelineitem.d.ts.map +1 -1
- package/models/components/invoicelineitem.js +5 -2
- package/models/components/invoicelineitem.js.map +1 -1
- package/models/components/invoicelineitemimagemetadata.d.ts +35 -0
- package/models/components/invoicelineitemimagemetadata.d.ts.map +1 -0
- package/models/components/invoicelineitemimagemetadata.js +64 -0
- package/models/components/invoicelineitemimagemetadata.js.map +1 -0
- package/models/components/invoicepayment.d.ts +2 -10
- package/models/components/invoicepayment.d.ts.map +1 -1
- package/models/components/invoicepayment.js +4 -4
- package/models/components/invoicepayment.js.map +1 -1
- package/models/components/invoicetransferpayment.d.ts +2 -11
- package/models/components/invoicetransferpayment.d.ts.map +1 -1
- package/models/components/invoicetransferpayment.js +3 -11
- package/models/components/invoicetransferpayment.js.map +1 -1
- package/models/components/moovwalletpaymentmethod.d.ts +2 -11
- package/models/components/moovwalletpaymentmethod.d.ts.map +1 -1
- package/models/components/moovwalletpaymentmethod.js +3 -11
- package/models/components/moovwalletpaymentmethod.js.map +1 -1
- package/models/components/paymentmethod.d.ts +2 -50
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +24 -24
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/pullfromcardpaymentmethod.d.ts +2 -11
- package/models/components/pullfromcardpaymentmethod.d.ts.map +1 -1
- package/models/components/pullfromcardpaymentmethod.js +3 -11
- package/models/components/pullfromcardpaymentmethod.js.map +1 -1
- package/models/components/pushtocardpaymentmethod.d.ts +2 -11
- package/models/components/pushtocardpaymentmethod.d.ts.map +1 -1
- package/models/components/pushtocardpaymentmethod.js +3 -11
- package/models/components/pushtocardpaymentmethod.js.map +1 -1
- package/models/components/rtpcreditpaymentmethod.d.ts +2 -11
- package/models/components/rtpcreditpaymentmethod.d.ts.map +1 -1
- package/models/components/rtpcreditpaymentmethod.js +3 -11
- package/models/components/rtpcreditpaymentmethod.js.map +1 -1
- package/models/components/updateinvoice.d.ts +3 -3
- 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/errors/createinvoiceerror.d.ts +3 -3
- package/models/errors/createinvoiceerror.d.ts.map +1 -1
- package/models/errors/createinvoiceerror.js +2 -2
- package/models/errors/createinvoiceerror.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +13 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/achcreditsamedaypaymentmethod.ts +4 -23
- package/src/models/components/achcreditstandardpaymentmethod.ts +4 -23
- package/src/models/components/achdebitcollectpaymentmethod.ts +4 -23
- package/src/models/components/achdebitfundpaymentmethod.ts +4 -21
- package/src/models/components/applepaypaymentmethod.ts +4 -22
- package/src/models/components/cardpaymentpaymentmethod.ts +4 -21
- package/src/models/components/cardpresentpaymentpaymentmethod.ts +4 -23
- package/src/models/components/createinvoice.ts +9 -9
- package/src/models/components/createinvoicelineitem.ts +104 -0
- package/src/models/components/createinvoicelineitemoption.ts +93 -0
- package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +77 -0
- package/src/models/components/createinvoicelineitems.ts +63 -0
- package/src/models/components/createinvoicelineitemsupdate.ts +65 -0
- package/src/models/components/createinvoicelineitemsvalidationerror.ts +64 -0
- package/src/models/components/createinvoicelineitemvalidationerror.ts +88 -0
- package/src/models/components/index.ts +8 -1
- package/src/models/components/instantbankcreditpaymentmethod.ts +4 -23
- package/src/models/components/invoiceexternalpayment.ts +4 -21
- package/src/models/components/invoicelineitem.ts +18 -5
- package/src/models/components/invoicelineitemimagemetadata.ts +77 -0
- package/src/models/components/invoicepayment.ts +7 -17
- package/src/models/components/invoicetransferpayment.ts +4 -17
- package/src/models/components/moovwalletpaymentmethod.ts +4 -21
- package/src/models/components/paymentmethod.ts +48 -118
- package/src/models/components/pullfromcardpaymentmethod.ts +4 -21
- package/src/models/components/pushtocardpaymentmethod.ts +4 -21
- package/src/models/components/rtpcreditpaymentmethod.ts +4 -21
- package/src/models/components/updateinvoice.ts +9 -9
- package/src/models/errors/createinvoiceerror.ts +7 -5
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +1 -2
- package/types/unrecognized.d.ts +7 -1
- package/types/unrecognized.d.ts.map +1 -1
- package/types/unrecognized.js +9 -1
- package/types/unrecognized.js.map +1 -1
- package/models/components/invoicelineitemsupdate.d.ts +0 -24
- package/models/components/invoicelineitemsupdate.d.ts.map +0 -1
- package/models/components/invoicelineitemsupdate.js.map +0 -1
- package/src/models/components/invoicelineitemsupdate.ts +0 -63
package/bin/mcp-server.js
CHANGED
|
@@ -34030,9 +34030,9 @@ var init_config = __esm(() => {
|
|
|
34030
34030
|
SDK_METADATA = {
|
|
34031
34031
|
language: "typescript",
|
|
34032
34032
|
openapiDocVersion: "latest",
|
|
34033
|
-
sdkVersion: "0.
|
|
34034
|
-
genVersion: "2.
|
|
34035
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34033
|
+
sdkVersion: "0.22.0",
|
|
34034
|
+
genVersion: "2.770.0",
|
|
34035
|
+
userAgent: "speakeasy-sdk/typescript 0.22.0 2.770.0 latest @moovio/sdk"
|
|
34036
34036
|
};
|
|
34037
34037
|
});
|
|
34038
34038
|
|
|
@@ -34363,7 +34363,13 @@ function queryEncoder(f) {
|
|
|
34363
34363
|
explode: options?.explode ?? true,
|
|
34364
34364
|
charEncoding: options?.charEncoding ?? "percent"
|
|
34365
34365
|
};
|
|
34366
|
+
const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
|
|
34366
34367
|
const encoded = Object.entries(values).map(([key, value]) => {
|
|
34368
|
+
if (allowEmptySet.has(key)) {
|
|
34369
|
+
if (value === undefined || value === null || value === "" || Array.isArray(value) && value.length === 0) {
|
|
34370
|
+
return `${encodeURIComponent(key)}=`;
|
|
34371
|
+
}
|
|
34372
|
+
}
|
|
34367
34373
|
return f(key, value, opts);
|
|
34368
34374
|
});
|
|
34369
34375
|
return queryJoin(...encoded);
|
|
@@ -36489,89 +36495,69 @@ var init_paymentmethodsbankaccount = __esm(() => {
|
|
|
36489
36495
|
});
|
|
36490
36496
|
|
|
36491
36497
|
// src/models/components/achcreditsamedaypaymentmethod.ts
|
|
36492
|
-
var
|
|
36498
|
+
var AchCreditSameDayPaymentMethod$inboundSchema, AchCreditSameDayPaymentMethod$outboundSchema;
|
|
36493
36499
|
var init_achcreditsamedaypaymentmethod = __esm(() => {
|
|
36494
36500
|
init_esm();
|
|
36495
36501
|
init_paymentmethodsbankaccount();
|
|
36496
|
-
AchCreditSameDayPaymentMethodPaymentMethodType = {
|
|
36497
|
-
AchCreditSameDay: "ach-credit-same-day"
|
|
36498
|
-
};
|
|
36499
|
-
AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchCreditSameDayPaymentMethodPaymentMethodType);
|
|
36500
|
-
AchCreditSameDayPaymentMethodPaymentMethodType$outboundSchema = AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema;
|
|
36501
36502
|
AchCreditSameDayPaymentMethod$inboundSchema = objectType({
|
|
36502
36503
|
paymentMethodID: stringType(),
|
|
36503
|
-
paymentMethodType:
|
|
36504
|
+
paymentMethodType: literalType("ach-credit-same-day"),
|
|
36504
36505
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
36505
36506
|
});
|
|
36506
36507
|
AchCreditSameDayPaymentMethod$outboundSchema = objectType({
|
|
36507
36508
|
paymentMethodID: stringType(),
|
|
36508
|
-
paymentMethodType:
|
|
36509
|
+
paymentMethodType: literalType("ach-credit-same-day"),
|
|
36509
36510
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
36510
36511
|
});
|
|
36511
36512
|
});
|
|
36512
36513
|
|
|
36513
36514
|
// src/models/components/achcreditstandardpaymentmethod.ts
|
|
36514
|
-
var
|
|
36515
|
+
var AchCreditStandardPaymentMethod$inboundSchema, AchCreditStandardPaymentMethod$outboundSchema;
|
|
36515
36516
|
var init_achcreditstandardpaymentmethod = __esm(() => {
|
|
36516
36517
|
init_esm();
|
|
36517
36518
|
init_paymentmethodsbankaccount();
|
|
36518
|
-
AchCreditStandardPaymentMethodPaymentMethodType = {
|
|
36519
|
-
AchCreditStandard: "ach-credit-standard"
|
|
36520
|
-
};
|
|
36521
|
-
AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchCreditStandardPaymentMethodPaymentMethodType);
|
|
36522
|
-
AchCreditStandardPaymentMethodPaymentMethodType$outboundSchema = AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema;
|
|
36523
36519
|
AchCreditStandardPaymentMethod$inboundSchema = objectType({
|
|
36524
36520
|
paymentMethodID: stringType(),
|
|
36525
|
-
paymentMethodType:
|
|
36521
|
+
paymentMethodType: literalType("ach-credit-standard"),
|
|
36526
36522
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
36527
36523
|
});
|
|
36528
36524
|
AchCreditStandardPaymentMethod$outboundSchema = objectType({
|
|
36529
36525
|
paymentMethodID: stringType(),
|
|
36530
|
-
paymentMethodType:
|
|
36526
|
+
paymentMethodType: literalType("ach-credit-standard"),
|
|
36531
36527
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
36532
36528
|
});
|
|
36533
36529
|
});
|
|
36534
36530
|
|
|
36535
36531
|
// src/models/components/achdebitcollectpaymentmethod.ts
|
|
36536
|
-
var
|
|
36532
|
+
var AchDebitCollectPaymentMethod$inboundSchema, AchDebitCollectPaymentMethod$outboundSchema;
|
|
36537
36533
|
var init_achdebitcollectpaymentmethod = __esm(() => {
|
|
36538
36534
|
init_esm();
|
|
36539
36535
|
init_paymentmethodsbankaccount();
|
|
36540
|
-
AchDebitCollectPaymentMethodPaymentMethodType = {
|
|
36541
|
-
AchDebitCollect: "ach-debit-collect"
|
|
36542
|
-
};
|
|
36543
|
-
AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchDebitCollectPaymentMethodPaymentMethodType);
|
|
36544
|
-
AchDebitCollectPaymentMethodPaymentMethodType$outboundSchema = AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema;
|
|
36545
36536
|
AchDebitCollectPaymentMethod$inboundSchema = objectType({
|
|
36546
36537
|
paymentMethodID: stringType(),
|
|
36547
|
-
paymentMethodType:
|
|
36538
|
+
paymentMethodType: literalType("ach-debit-collect"),
|
|
36548
36539
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
36549
36540
|
});
|
|
36550
36541
|
AchDebitCollectPaymentMethod$outboundSchema = objectType({
|
|
36551
36542
|
paymentMethodID: stringType(),
|
|
36552
|
-
paymentMethodType:
|
|
36543
|
+
paymentMethodType: literalType("ach-debit-collect"),
|
|
36553
36544
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
36554
36545
|
});
|
|
36555
36546
|
});
|
|
36556
36547
|
|
|
36557
36548
|
// src/models/components/achdebitfundpaymentmethod.ts
|
|
36558
|
-
var
|
|
36549
|
+
var AchDebitFundPaymentMethod$inboundSchema, AchDebitFundPaymentMethod$outboundSchema;
|
|
36559
36550
|
var init_achdebitfundpaymentmethod = __esm(() => {
|
|
36560
36551
|
init_esm();
|
|
36561
36552
|
init_paymentmethodsbankaccount();
|
|
36562
|
-
AchDebitFundPaymentMethodPaymentMethodType = {
|
|
36563
|
-
AchDebitFund: "ach-debit-fund"
|
|
36564
|
-
};
|
|
36565
|
-
AchDebitFundPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchDebitFundPaymentMethodPaymentMethodType);
|
|
36566
|
-
AchDebitFundPaymentMethodPaymentMethodType$outboundSchema = AchDebitFundPaymentMethodPaymentMethodType$inboundSchema;
|
|
36567
36553
|
AchDebitFundPaymentMethod$inboundSchema = objectType({
|
|
36568
36554
|
paymentMethodID: stringType(),
|
|
36569
|
-
paymentMethodType:
|
|
36555
|
+
paymentMethodType: literalType("ach-debit-fund"),
|
|
36570
36556
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
36571
36557
|
});
|
|
36572
36558
|
AchDebitFundPaymentMethod$outboundSchema = objectType({
|
|
36573
36559
|
paymentMethodID: stringType(),
|
|
36574
|
-
paymentMethodType:
|
|
36560
|
+
paymentMethodType: literalType("ach-debit-fund"),
|
|
36575
36561
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
36576
36562
|
});
|
|
36577
36563
|
});
|
|
@@ -37212,23 +37198,18 @@ var init_applepayresponse = __esm(() => {
|
|
|
37212
37198
|
});
|
|
37213
37199
|
|
|
37214
37200
|
// src/models/components/applepaypaymentmethod.ts
|
|
37215
|
-
var
|
|
37201
|
+
var ApplePayPaymentMethod$inboundSchema, ApplePayPaymentMethod$outboundSchema;
|
|
37216
37202
|
var init_applepaypaymentmethod = __esm(() => {
|
|
37217
37203
|
init_esm();
|
|
37218
37204
|
init_applepayresponse();
|
|
37219
|
-
ApplePayPaymentMethodPaymentMethodType = {
|
|
37220
|
-
ApplePay: "apple-pay"
|
|
37221
|
-
};
|
|
37222
|
-
ApplePayPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(ApplePayPaymentMethodPaymentMethodType);
|
|
37223
|
-
ApplePayPaymentMethodPaymentMethodType$outboundSchema = ApplePayPaymentMethodPaymentMethodType$inboundSchema;
|
|
37224
37205
|
ApplePayPaymentMethod$inboundSchema = objectType({
|
|
37225
37206
|
paymentMethodID: stringType(),
|
|
37226
|
-
paymentMethodType:
|
|
37207
|
+
paymentMethodType: literalType("apple-pay"),
|
|
37227
37208
|
applePay: ApplePayResponse$inboundSchema
|
|
37228
37209
|
});
|
|
37229
37210
|
ApplePayPaymentMethod$outboundSchema = objectType({
|
|
37230
37211
|
paymentMethodID: stringType(),
|
|
37231
|
-
paymentMethodType:
|
|
37212
|
+
paymentMethodType: literalType("apple-pay"),
|
|
37232
37213
|
applePay: ApplePayResponse$outboundSchema
|
|
37233
37214
|
});
|
|
37234
37215
|
});
|
|
@@ -41090,23 +41071,18 @@ var init_paymentmethodscard = __esm(() => {
|
|
|
41090
41071
|
});
|
|
41091
41072
|
|
|
41092
41073
|
// src/models/components/cardpaymentpaymentmethod.ts
|
|
41093
|
-
var
|
|
41074
|
+
var CardPaymentPaymentMethod$inboundSchema, CardPaymentPaymentMethod$outboundSchema;
|
|
41094
41075
|
var init_cardpaymentpaymentmethod = __esm(() => {
|
|
41095
41076
|
init_esm();
|
|
41096
41077
|
init_paymentmethodscard();
|
|
41097
|
-
CardPaymentPaymentMethodPaymentMethodType = {
|
|
41098
|
-
CardPayment: "card-payment"
|
|
41099
|
-
};
|
|
41100
|
-
CardPaymentPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(CardPaymentPaymentMethodPaymentMethodType);
|
|
41101
|
-
CardPaymentPaymentMethodPaymentMethodType$outboundSchema = CardPaymentPaymentMethodPaymentMethodType$inboundSchema;
|
|
41102
41078
|
CardPaymentPaymentMethod$inboundSchema = objectType({
|
|
41103
41079
|
paymentMethodID: stringType(),
|
|
41104
|
-
paymentMethodType:
|
|
41080
|
+
paymentMethodType: literalType("card-payment"),
|
|
41105
41081
|
card: PaymentMethodsCard$inboundSchema
|
|
41106
41082
|
});
|
|
41107
41083
|
CardPaymentPaymentMethod$outboundSchema = objectType({
|
|
41108
41084
|
paymentMethodID: stringType(),
|
|
41109
|
-
paymentMethodType:
|
|
41085
|
+
paymentMethodType: literalType("card-payment"),
|
|
41110
41086
|
card: PaymentMethodsCard$outboundSchema
|
|
41111
41087
|
});
|
|
41112
41088
|
});
|
|
@@ -41161,23 +41137,18 @@ var init_terminalcard = __esm(() => {
|
|
|
41161
41137
|
});
|
|
41162
41138
|
|
|
41163
41139
|
// src/models/components/cardpresentpaymentpaymentmethod.ts
|
|
41164
|
-
var
|
|
41140
|
+
var CardPresentPaymentPaymentMethod$inboundSchema, CardPresentPaymentPaymentMethod$outboundSchema;
|
|
41165
41141
|
var init_cardpresentpaymentpaymentmethod = __esm(() => {
|
|
41166
41142
|
init_esm();
|
|
41167
41143
|
init_terminalcard();
|
|
41168
|
-
CardPresentPaymentPaymentMethodPaymentMethodType = {
|
|
41169
|
-
CardPresentPayment: "card-present-payment"
|
|
41170
|
-
};
|
|
41171
|
-
CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(CardPresentPaymentPaymentMethodPaymentMethodType);
|
|
41172
|
-
CardPresentPaymentPaymentMethodPaymentMethodType$outboundSchema = CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema;
|
|
41173
41144
|
CardPresentPaymentPaymentMethod$inboundSchema = objectType({
|
|
41174
41145
|
paymentMethodID: stringType(),
|
|
41175
|
-
paymentMethodType:
|
|
41146
|
+
paymentMethodType: literalType("card-present-payment"),
|
|
41176
41147
|
terminalCard: TerminalCard$inboundSchema.optional()
|
|
41177
41148
|
});
|
|
41178
41149
|
CardPresentPaymentPaymentMethod$outboundSchema = objectType({
|
|
41179
41150
|
paymentMethodID: stringType(),
|
|
41180
|
-
paymentMethodType:
|
|
41151
|
+
paymentMethodType: literalType("card-present-payment"),
|
|
41181
41152
|
terminalCard: TerminalCard$outboundSchema.optional()
|
|
41182
41153
|
});
|
|
41183
41154
|
});
|
|
@@ -42533,57 +42504,61 @@ var init_createindividualerror = __esm(() => {
|
|
|
42533
42504
|
});
|
|
42534
42505
|
});
|
|
42535
42506
|
|
|
42536
|
-
// src/models/components/
|
|
42537
|
-
var
|
|
42538
|
-
var
|
|
42507
|
+
// src/models/components/createinvoicelineitemoption.ts
|
|
42508
|
+
var CreateInvoiceLineItemOption$inboundSchema, CreateInvoiceLineItemOption$outboundSchema;
|
|
42509
|
+
var init_createinvoicelineitemoption = __esm(() => {
|
|
42539
42510
|
init_esm();
|
|
42540
42511
|
init_amountdecimal();
|
|
42541
|
-
|
|
42512
|
+
CreateInvoiceLineItemOption$inboundSchema = objectType({
|
|
42542
42513
|
name: stringType(),
|
|
42543
42514
|
quantity: numberType().int(),
|
|
42544
42515
|
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
42545
|
-
group: stringType().optional()
|
|
42516
|
+
group: stringType().optional(),
|
|
42517
|
+
imageIDs: arrayType(stringType()).optional()
|
|
42546
42518
|
});
|
|
42547
|
-
|
|
42519
|
+
CreateInvoiceLineItemOption$outboundSchema = objectType({
|
|
42548
42520
|
name: stringType(),
|
|
42549
42521
|
quantity: numberType().int(),
|
|
42550
42522
|
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
42551
|
-
group: stringType().optional()
|
|
42523
|
+
group: stringType().optional(),
|
|
42524
|
+
imageIDs: arrayType(stringType()).optional()
|
|
42552
42525
|
});
|
|
42553
42526
|
});
|
|
42554
42527
|
|
|
42555
|
-
// src/models/components/
|
|
42556
|
-
var
|
|
42557
|
-
var
|
|
42528
|
+
// src/models/components/createinvoicelineitem.ts
|
|
42529
|
+
var CreateInvoiceLineItem$inboundSchema, CreateInvoiceLineItem$outboundSchema;
|
|
42530
|
+
var init_createinvoicelineitem = __esm(() => {
|
|
42558
42531
|
init_esm();
|
|
42559
42532
|
init_amountdecimal();
|
|
42560
|
-
|
|
42561
|
-
|
|
42533
|
+
init_createinvoicelineitemoption();
|
|
42534
|
+
CreateInvoiceLineItem$inboundSchema = objectType({
|
|
42562
42535
|
name: stringType(),
|
|
42563
42536
|
basePrice: AmountDecimal$inboundSchema,
|
|
42564
42537
|
quantity: numberType().int(),
|
|
42565
|
-
|
|
42566
|
-
|
|
42538
|
+
productID: stringType().optional(),
|
|
42539
|
+
options: arrayType(CreateInvoiceLineItemOption$inboundSchema).optional(),
|
|
42540
|
+
imageIDs: arrayType(stringType()).optional()
|
|
42567
42541
|
});
|
|
42568
|
-
|
|
42542
|
+
CreateInvoiceLineItem$outboundSchema = objectType({
|
|
42569
42543
|
name: stringType(),
|
|
42570
42544
|
basePrice: AmountDecimal$outboundSchema,
|
|
42571
42545
|
quantity: numberType().int(),
|
|
42572
|
-
|
|
42573
|
-
|
|
42546
|
+
productID: stringType().optional(),
|
|
42547
|
+
options: arrayType(CreateInvoiceLineItemOption$outboundSchema).optional(),
|
|
42548
|
+
imageIDs: arrayType(stringType()).optional()
|
|
42574
42549
|
});
|
|
42575
42550
|
});
|
|
42576
42551
|
|
|
42577
|
-
// src/models/components/
|
|
42578
|
-
var
|
|
42579
|
-
var
|
|
42552
|
+
// src/models/components/createinvoicelineitems.ts
|
|
42553
|
+
var CreateInvoiceLineItems$inboundSchema, CreateInvoiceLineItems$outboundSchema;
|
|
42554
|
+
var init_createinvoicelineitems = __esm(() => {
|
|
42580
42555
|
init_esm();
|
|
42581
|
-
|
|
42582
|
-
|
|
42583
|
-
items: arrayType(
|
|
42556
|
+
init_createinvoicelineitem();
|
|
42557
|
+
CreateInvoiceLineItems$inboundSchema = objectType({
|
|
42558
|
+
items: arrayType(CreateInvoiceLineItem$inboundSchema)
|
|
42584
42559
|
});
|
|
42585
|
-
|
|
42586
|
-
items: arrayType(
|
|
42560
|
+
CreateInvoiceLineItems$outboundSchema = objectType({
|
|
42561
|
+
items: arrayType(CreateInvoiceLineItem$outboundSchema)
|
|
42587
42562
|
});
|
|
42588
42563
|
});
|
|
42589
42564
|
|
|
@@ -42592,11 +42567,11 @@ var CreateInvoice$inboundSchema, CreateInvoice$outboundSchema;
|
|
|
42592
42567
|
var init_createinvoice = __esm(() => {
|
|
42593
42568
|
init_esm();
|
|
42594
42569
|
init_amountdecimal();
|
|
42595
|
-
|
|
42570
|
+
init_createinvoicelineitems();
|
|
42596
42571
|
CreateInvoice$inboundSchema = objectType({
|
|
42597
42572
|
customerAccountID: stringType(),
|
|
42598
42573
|
description: stringType(),
|
|
42599
|
-
lineItems:
|
|
42574
|
+
lineItems: CreateInvoiceLineItems$inboundSchema,
|
|
42600
42575
|
invoiceDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42601
42576
|
dueDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42602
42577
|
taxAmount: AmountDecimal$inboundSchema.optional()
|
|
@@ -42604,13 +42579,80 @@ var init_createinvoice = __esm(() => {
|
|
|
42604
42579
|
CreateInvoice$outboundSchema = objectType({
|
|
42605
42580
|
customerAccountID: stringType(),
|
|
42606
42581
|
description: stringType(),
|
|
42607
|
-
lineItems:
|
|
42582
|
+
lineItems: CreateInvoiceLineItems$outboundSchema,
|
|
42608
42583
|
invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42609
42584
|
dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42610
42585
|
taxAmount: AmountDecimal$outboundSchema.optional()
|
|
42611
42586
|
});
|
|
42612
42587
|
});
|
|
42613
42588
|
|
|
42589
|
+
// src/models/components/createinvoicelineitemoptionvalidationerror.ts
|
|
42590
|
+
var CreateInvoiceLineItemOptionValidationError$inboundSchema, CreateInvoiceLineItemOptionValidationError$outboundSchema;
|
|
42591
|
+
var init_createinvoicelineitemoptionvalidationerror = __esm(() => {
|
|
42592
|
+
init_esm();
|
|
42593
|
+
init_amountdecimalvalidationerror();
|
|
42594
|
+
CreateInvoiceLineItemOptionValidationError$inboundSchema = objectType({
|
|
42595
|
+
name: stringType().optional(),
|
|
42596
|
+
group: stringType().optional(),
|
|
42597
|
+
priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
|
|
42598
|
+
quantity: stringType().optional()
|
|
42599
|
+
});
|
|
42600
|
+
CreateInvoiceLineItemOptionValidationError$outboundSchema = objectType({
|
|
42601
|
+
name: stringType().optional(),
|
|
42602
|
+
group: stringType().optional(),
|
|
42603
|
+
priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
|
|
42604
|
+
quantity: stringType().optional()
|
|
42605
|
+
});
|
|
42606
|
+
});
|
|
42607
|
+
|
|
42608
|
+
// src/models/components/createinvoicelineitemsupdate.ts
|
|
42609
|
+
var CreateInvoiceLineItemsUpdate$inboundSchema, CreateInvoiceLineItemsUpdate$outboundSchema;
|
|
42610
|
+
var init_createinvoicelineitemsupdate = __esm(() => {
|
|
42611
|
+
init_esm();
|
|
42612
|
+
init_createinvoicelineitem();
|
|
42613
|
+
CreateInvoiceLineItemsUpdate$inboundSchema = objectType({
|
|
42614
|
+
items: arrayType(CreateInvoiceLineItem$inboundSchema).optional()
|
|
42615
|
+
});
|
|
42616
|
+
CreateInvoiceLineItemsUpdate$outboundSchema = objectType({
|
|
42617
|
+
items: arrayType(CreateInvoiceLineItem$outboundSchema).optional()
|
|
42618
|
+
});
|
|
42619
|
+
});
|
|
42620
|
+
|
|
42621
|
+
// src/models/components/createinvoicelineitemvalidationerror.ts
|
|
42622
|
+
var CreateInvoiceLineItemValidationError$inboundSchema, CreateInvoiceLineItemValidationError$outboundSchema;
|
|
42623
|
+
var init_createinvoicelineitemvalidationerror = __esm(() => {
|
|
42624
|
+
init_esm();
|
|
42625
|
+
init_amountdecimalvalidationerror();
|
|
42626
|
+
init_createinvoicelineitemoptionvalidationerror();
|
|
42627
|
+
CreateInvoiceLineItemValidationError$inboundSchema = objectType({
|
|
42628
|
+
productID: stringType().optional(),
|
|
42629
|
+
name: stringType().optional(),
|
|
42630
|
+
basePrice: AmountDecimalValidationError$inboundSchema.optional(),
|
|
42631
|
+
options: recordType(CreateInvoiceLineItemOptionValidationError$inboundSchema).optional(),
|
|
42632
|
+
quantity: stringType().optional()
|
|
42633
|
+
});
|
|
42634
|
+
CreateInvoiceLineItemValidationError$outboundSchema = objectType({
|
|
42635
|
+
productID: stringType().optional(),
|
|
42636
|
+
name: stringType().optional(),
|
|
42637
|
+
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
42638
|
+
options: recordType(CreateInvoiceLineItemOptionValidationError$outboundSchema).optional(),
|
|
42639
|
+
quantity: stringType().optional()
|
|
42640
|
+
});
|
|
42641
|
+
});
|
|
42642
|
+
|
|
42643
|
+
// src/models/components/createinvoicelineitemsvalidationerror.ts
|
|
42644
|
+
var CreateInvoiceLineItemsValidationError$inboundSchema, CreateInvoiceLineItemsValidationError$outboundSchema;
|
|
42645
|
+
var init_createinvoicelineitemsvalidationerror = __esm(() => {
|
|
42646
|
+
init_esm();
|
|
42647
|
+
init_createinvoicelineitemvalidationerror();
|
|
42648
|
+
CreateInvoiceLineItemsValidationError$inboundSchema = objectType({
|
|
42649
|
+
items: recordType(CreateInvoiceLineItemValidationError$inboundSchema).optional()
|
|
42650
|
+
});
|
|
42651
|
+
CreateInvoiceLineItemsValidationError$outboundSchema = objectType({
|
|
42652
|
+
items: recordType(CreateInvoiceLineItemValidationError$outboundSchema).optional()
|
|
42653
|
+
});
|
|
42654
|
+
});
|
|
42655
|
+
|
|
42614
42656
|
// src/models/components/createpaymentlinklineitemoption.ts
|
|
42615
42657
|
var CreatePaymentLinkLineItemOption$inboundSchema, CreatePaymentLinkLineItemOption$outboundSchema;
|
|
42616
42658
|
var init_createpaymentlinklineitemoption = __esm(() => {
|
|
@@ -44222,23 +44264,18 @@ var init_individualnameupdate = __esm(() => {
|
|
|
44222
44264
|
});
|
|
44223
44265
|
|
|
44224
44266
|
// src/models/components/instantbankcreditpaymentmethod.ts
|
|
44225
|
-
var
|
|
44267
|
+
var InstantBankCreditPaymentMethod$inboundSchema, InstantBankCreditPaymentMethod$outboundSchema;
|
|
44226
44268
|
var init_instantbankcreditpaymentmethod = __esm(() => {
|
|
44227
44269
|
init_esm();
|
|
44228
44270
|
init_paymentmethodsbankaccount();
|
|
44229
|
-
InstantBankCreditPaymentMethodPaymentMethodType = {
|
|
44230
|
-
InstantBankCredit: "instant-bank-credit"
|
|
44231
|
-
};
|
|
44232
|
-
InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(InstantBankCreditPaymentMethodPaymentMethodType);
|
|
44233
|
-
InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema = InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema;
|
|
44234
44271
|
InstantBankCreditPaymentMethod$inboundSchema = objectType({
|
|
44235
44272
|
paymentMethodID: stringType(),
|
|
44236
|
-
paymentMethodType:
|
|
44273
|
+
paymentMethodType: literalType("instant-bank-credit"),
|
|
44237
44274
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
44238
44275
|
});
|
|
44239
44276
|
InstantBankCreditPaymentMethod$outboundSchema = objectType({
|
|
44240
44277
|
paymentMethodID: stringType(),
|
|
44241
|
-
paymentMethodType:
|
|
44278
|
+
paymentMethodType: literalType("instant-bank-credit"),
|
|
44242
44279
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
44243
44280
|
});
|
|
44244
44281
|
});
|
|
@@ -44361,25 +44398,95 @@ var init_institutionssearchresponse = __esm(() => {
|
|
|
44361
44398
|
});
|
|
44362
44399
|
});
|
|
44363
44400
|
|
|
44401
|
+
// src/models/components/invoicelineitemimagemetadata.ts
|
|
44402
|
+
var InvoiceLineItemImageMetadata$inboundSchema, InvoiceLineItemImageMetadata$outboundSchema;
|
|
44403
|
+
var init_invoicelineitemimagemetadata = __esm(() => {
|
|
44404
|
+
init_esm();
|
|
44405
|
+
InvoiceLineItemImageMetadata$inboundSchema = objectType({
|
|
44406
|
+
imageID: stringType(),
|
|
44407
|
+
altText: stringType().optional(),
|
|
44408
|
+
link: stringType(),
|
|
44409
|
+
publicID: stringType()
|
|
44410
|
+
});
|
|
44411
|
+
InvoiceLineItemImageMetadata$outboundSchema = objectType({
|
|
44412
|
+
imageID: stringType(),
|
|
44413
|
+
altText: stringType().optional(),
|
|
44414
|
+
link: stringType(),
|
|
44415
|
+
publicID: stringType()
|
|
44416
|
+
});
|
|
44417
|
+
});
|
|
44418
|
+
|
|
44419
|
+
// src/models/components/invoicelineitemoption.ts
|
|
44420
|
+
var InvoiceLineItemOption$inboundSchema, InvoiceLineItemOption$outboundSchema;
|
|
44421
|
+
var init_invoicelineitemoption = __esm(() => {
|
|
44422
|
+
init_esm();
|
|
44423
|
+
init_amountdecimal();
|
|
44424
|
+
InvoiceLineItemOption$inboundSchema = objectType({
|
|
44425
|
+
name: stringType(),
|
|
44426
|
+
quantity: numberType().int(),
|
|
44427
|
+
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
44428
|
+
group: stringType().optional()
|
|
44429
|
+
});
|
|
44430
|
+
InvoiceLineItemOption$outboundSchema = objectType({
|
|
44431
|
+
name: stringType(),
|
|
44432
|
+
quantity: numberType().int(),
|
|
44433
|
+
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
44434
|
+
group: stringType().optional()
|
|
44435
|
+
});
|
|
44436
|
+
});
|
|
44437
|
+
|
|
44438
|
+
// src/models/components/invoicelineitem.ts
|
|
44439
|
+
var InvoiceLineItem$inboundSchema, InvoiceLineItem$outboundSchema;
|
|
44440
|
+
var init_invoicelineitem = __esm(() => {
|
|
44441
|
+
init_esm();
|
|
44442
|
+
init_amountdecimal();
|
|
44443
|
+
init_invoicelineitemimagemetadata();
|
|
44444
|
+
init_invoicelineitemoption();
|
|
44445
|
+
InvoiceLineItem$inboundSchema = objectType({
|
|
44446
|
+
name: stringType(),
|
|
44447
|
+
basePrice: AmountDecimal$inboundSchema,
|
|
44448
|
+
quantity: numberType().int(),
|
|
44449
|
+
productID: stringType().optional(),
|
|
44450
|
+
options: arrayType(InvoiceLineItemOption$inboundSchema).optional(),
|
|
44451
|
+
images: arrayType(InvoiceLineItemImageMetadata$inboundSchema).optional()
|
|
44452
|
+
});
|
|
44453
|
+
InvoiceLineItem$outboundSchema = objectType({
|
|
44454
|
+
name: stringType(),
|
|
44455
|
+
basePrice: AmountDecimal$outboundSchema,
|
|
44456
|
+
quantity: numberType().int(),
|
|
44457
|
+
productID: stringType().optional(),
|
|
44458
|
+
options: arrayType(InvoiceLineItemOption$outboundSchema).optional(),
|
|
44459
|
+
images: arrayType(InvoiceLineItemImageMetadata$outboundSchema).optional()
|
|
44460
|
+
});
|
|
44461
|
+
});
|
|
44462
|
+
|
|
44463
|
+
// src/models/components/invoicelineitems.ts
|
|
44464
|
+
var InvoiceLineItems$inboundSchema, InvoiceLineItems$outboundSchema;
|
|
44465
|
+
var init_invoicelineitems = __esm(() => {
|
|
44466
|
+
init_esm();
|
|
44467
|
+
init_invoicelineitem();
|
|
44468
|
+
InvoiceLineItems$inboundSchema = objectType({
|
|
44469
|
+
items: arrayType(InvoiceLineItem$inboundSchema)
|
|
44470
|
+
});
|
|
44471
|
+
InvoiceLineItems$outboundSchema = objectType({
|
|
44472
|
+
items: arrayType(InvoiceLineItem$outboundSchema)
|
|
44473
|
+
});
|
|
44474
|
+
});
|
|
44475
|
+
|
|
44364
44476
|
// src/models/components/invoiceexternalpayment.ts
|
|
44365
|
-
var
|
|
44477
|
+
var InvoiceExternalPayment$inboundSchema, InvoiceExternalPayment$outboundSchema;
|
|
44366
44478
|
var init_invoiceexternalpayment = __esm(() => {
|
|
44367
44479
|
init_esm();
|
|
44368
44480
|
init_amountdecimal();
|
|
44369
|
-
InvoiceExternalPaymentPaymentType = {
|
|
44370
|
-
External: "external"
|
|
44371
|
-
};
|
|
44372
|
-
InvoiceExternalPaymentPaymentType$inboundSchema = nativeEnumType(InvoiceExternalPaymentPaymentType);
|
|
44373
|
-
InvoiceExternalPaymentPaymentType$outboundSchema = InvoiceExternalPaymentPaymentType$inboundSchema;
|
|
44374
44481
|
InvoiceExternalPayment$inboundSchema = objectType({
|
|
44375
|
-
paymentType:
|
|
44482
|
+
paymentType: literalType("external"),
|
|
44376
44483
|
description: stringType(),
|
|
44377
44484
|
foreignID: stringType().optional(),
|
|
44378
44485
|
paymentDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
44379
44486
|
amount: AmountDecimal$inboundSchema
|
|
44380
44487
|
});
|
|
44381
44488
|
InvoiceExternalPayment$outboundSchema = objectType({
|
|
44382
|
-
paymentType:
|
|
44489
|
+
paymentType: literalType("external"),
|
|
44383
44490
|
description: stringType(),
|
|
44384
44491
|
foreignID: stringType().optional(),
|
|
44385
44492
|
paymentDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -44388,20 +44495,15 @@ var init_invoiceexternalpayment = __esm(() => {
|
|
|
44388
44495
|
});
|
|
44389
44496
|
|
|
44390
44497
|
// src/models/components/invoicetransferpayment.ts
|
|
44391
|
-
var
|
|
44498
|
+
var InvoiceTransferPayment$inboundSchema, InvoiceTransferPayment$outboundSchema;
|
|
44392
44499
|
var init_invoicetransferpayment = __esm(() => {
|
|
44393
44500
|
init_esm();
|
|
44394
|
-
PaymentType = {
|
|
44395
|
-
Transfer: "transfer"
|
|
44396
|
-
};
|
|
44397
|
-
PaymentType$inboundSchema = nativeEnumType(PaymentType);
|
|
44398
|
-
PaymentType$outboundSchema = PaymentType$inboundSchema;
|
|
44399
44501
|
InvoiceTransferPayment$inboundSchema = objectType({
|
|
44400
|
-
paymentType:
|
|
44502
|
+
paymentType: literalType("transfer"),
|
|
44401
44503
|
transferID: stringType()
|
|
44402
44504
|
});
|
|
44403
44505
|
InvoiceTransferPayment$outboundSchema = objectType({
|
|
44404
|
-
paymentType:
|
|
44506
|
+
paymentType: literalType("transfer"),
|
|
44405
44507
|
transferID: stringType()
|
|
44406
44508
|
});
|
|
44407
44509
|
});
|
|
@@ -44413,12 +44515,12 @@ var init_invoicepayment = __esm(() => {
|
|
|
44413
44515
|
init_invoiceexternalpayment();
|
|
44414
44516
|
init_invoicetransferpayment();
|
|
44415
44517
|
InvoicePayment$inboundSchema = unionType([
|
|
44416
|
-
|
|
44417
|
-
|
|
44518
|
+
InvoiceTransferPayment$inboundSchema,
|
|
44519
|
+
InvoiceExternalPayment$inboundSchema
|
|
44418
44520
|
]);
|
|
44419
44521
|
InvoicePayment$outboundSchema = unionType([
|
|
44420
|
-
|
|
44421
|
-
|
|
44522
|
+
InvoiceTransferPayment$outboundSchema,
|
|
44523
|
+
InvoiceExternalPayment$outboundSchema
|
|
44422
44524
|
]);
|
|
44423
44525
|
});
|
|
44424
44526
|
|
|
@@ -44515,19 +44617,6 @@ var init_invoicelineitemoptionvalidationerror = __esm(() => {
|
|
|
44515
44617
|
});
|
|
44516
44618
|
});
|
|
44517
44619
|
|
|
44518
|
-
// src/models/components/invoicelineitemsupdate.ts
|
|
44519
|
-
var InvoiceLineItemsUpdate$inboundSchema, InvoiceLineItemsUpdate$outboundSchema;
|
|
44520
|
-
var init_invoicelineitemsupdate = __esm(() => {
|
|
44521
|
-
init_esm();
|
|
44522
|
-
init_invoicelineitem();
|
|
44523
|
-
InvoiceLineItemsUpdate$inboundSchema = objectType({
|
|
44524
|
-
items: arrayType(InvoiceLineItem$inboundSchema).optional()
|
|
44525
|
-
});
|
|
44526
|
-
InvoiceLineItemsUpdate$outboundSchema = objectType({
|
|
44527
|
-
items: arrayType(InvoiceLineItem$outboundSchema).optional()
|
|
44528
|
-
});
|
|
44529
|
-
});
|
|
44530
|
-
|
|
44531
44620
|
// src/models/components/invoicelineitemvalidationerror.ts
|
|
44532
44621
|
var InvoiceLineItemValidationError$inboundSchema, InvoiceLineItemValidationError$outboundSchema;
|
|
44533
44622
|
var init_invoicelineitemvalidationerror = __esm(() => {
|
|
@@ -45235,23 +45324,18 @@ var init_moovfee = __esm(() => {
|
|
|
45235
45324
|
});
|
|
45236
45325
|
|
|
45237
45326
|
// src/models/components/moovwalletpaymentmethod.ts
|
|
45238
|
-
var
|
|
45327
|
+
var MoovWalletPaymentMethod$inboundSchema, MoovWalletPaymentMethod$outboundSchema;
|
|
45239
45328
|
var init_moovwalletpaymentmethod = __esm(() => {
|
|
45240
45329
|
init_esm();
|
|
45241
45330
|
init_paymentmethodswallet();
|
|
45242
|
-
MoovWalletPaymentMethodPaymentMethodType = {
|
|
45243
|
-
MoovWallet: "moov-wallet"
|
|
45244
|
-
};
|
|
45245
|
-
MoovWalletPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(MoovWalletPaymentMethodPaymentMethodType);
|
|
45246
|
-
MoovWalletPaymentMethodPaymentMethodType$outboundSchema = MoovWalletPaymentMethodPaymentMethodType$inboundSchema;
|
|
45247
45331
|
MoovWalletPaymentMethod$inboundSchema = objectType({
|
|
45248
45332
|
paymentMethodID: stringType(),
|
|
45249
|
-
paymentMethodType:
|
|
45333
|
+
paymentMethodType: literalType("moov-wallet"),
|
|
45250
45334
|
wallet: PaymentMethodsWallet$inboundSchema
|
|
45251
45335
|
});
|
|
45252
45336
|
MoovWalletPaymentMethod$outboundSchema = objectType({
|
|
45253
45337
|
paymentMethodID: stringType(),
|
|
45254
|
-
paymentMethodType:
|
|
45338
|
+
paymentMethodType: literalType("moov-wallet"),
|
|
45255
45339
|
wallet: PaymentMethodsWallet$outboundSchema
|
|
45256
45340
|
});
|
|
45257
45341
|
});
|
|
@@ -46045,67 +46129,52 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
46045
46129
|
});
|
|
46046
46130
|
|
|
46047
46131
|
// src/models/components/pullfromcardpaymentmethod.ts
|
|
46048
|
-
var
|
|
46132
|
+
var PullFromCardPaymentMethod$inboundSchema, PullFromCardPaymentMethod$outboundSchema;
|
|
46049
46133
|
var init_pullfromcardpaymentmethod = __esm(() => {
|
|
46050
46134
|
init_esm();
|
|
46051
46135
|
init_paymentmethodscard();
|
|
46052
|
-
PullFromCardPaymentMethodPaymentMethodType = {
|
|
46053
|
-
PullFromCard: "pull-from-card"
|
|
46054
|
-
};
|
|
46055
|
-
PullFromCardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(PullFromCardPaymentMethodPaymentMethodType);
|
|
46056
|
-
PullFromCardPaymentMethodPaymentMethodType$outboundSchema = PullFromCardPaymentMethodPaymentMethodType$inboundSchema;
|
|
46057
46136
|
PullFromCardPaymentMethod$inboundSchema = objectType({
|
|
46058
46137
|
paymentMethodID: stringType(),
|
|
46059
|
-
paymentMethodType:
|
|
46138
|
+
paymentMethodType: literalType("pull-from-card"),
|
|
46060
46139
|
card: PaymentMethodsCard$inboundSchema
|
|
46061
46140
|
});
|
|
46062
46141
|
PullFromCardPaymentMethod$outboundSchema = objectType({
|
|
46063
46142
|
paymentMethodID: stringType(),
|
|
46064
|
-
paymentMethodType:
|
|
46143
|
+
paymentMethodType: literalType("pull-from-card"),
|
|
46065
46144
|
card: PaymentMethodsCard$outboundSchema
|
|
46066
46145
|
});
|
|
46067
46146
|
});
|
|
46068
46147
|
|
|
46069
46148
|
// src/models/components/pushtocardpaymentmethod.ts
|
|
46070
|
-
var
|
|
46149
|
+
var PushToCardPaymentMethod$inboundSchema, PushToCardPaymentMethod$outboundSchema;
|
|
46071
46150
|
var init_pushtocardpaymentmethod = __esm(() => {
|
|
46072
46151
|
init_esm();
|
|
46073
46152
|
init_paymentmethodscard();
|
|
46074
|
-
PushToCardPaymentMethodPaymentMethodType = {
|
|
46075
|
-
PushToCard: "push-to-card"
|
|
46076
|
-
};
|
|
46077
|
-
PushToCardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(PushToCardPaymentMethodPaymentMethodType);
|
|
46078
|
-
PushToCardPaymentMethodPaymentMethodType$outboundSchema = PushToCardPaymentMethodPaymentMethodType$inboundSchema;
|
|
46079
46153
|
PushToCardPaymentMethod$inboundSchema = objectType({
|
|
46080
46154
|
paymentMethodID: stringType(),
|
|
46081
|
-
paymentMethodType:
|
|
46155
|
+
paymentMethodType: literalType("push-to-card"),
|
|
46082
46156
|
card: PaymentMethodsCard$inboundSchema
|
|
46083
46157
|
});
|
|
46084
46158
|
PushToCardPaymentMethod$outboundSchema = objectType({
|
|
46085
46159
|
paymentMethodID: stringType(),
|
|
46086
|
-
paymentMethodType:
|
|
46160
|
+
paymentMethodType: literalType("push-to-card"),
|
|
46087
46161
|
card: PaymentMethodsCard$outboundSchema
|
|
46088
46162
|
});
|
|
46089
46163
|
});
|
|
46090
46164
|
|
|
46091
46165
|
// src/models/components/rtpcreditpaymentmethod.ts
|
|
46092
|
-
var
|
|
46166
|
+
var RtpCreditPaymentMethod$inboundSchema, RtpCreditPaymentMethod$outboundSchema;
|
|
46093
46167
|
var init_rtpcreditpaymentmethod = __esm(() => {
|
|
46094
46168
|
init_esm();
|
|
46095
46169
|
init_paymentmethodsbankaccount();
|
|
46096
|
-
RtpCreditPaymentMethodPaymentMethodType = {
|
|
46097
|
-
RtpCredit: "rtp-credit"
|
|
46098
|
-
};
|
|
46099
|
-
RtpCreditPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(RtpCreditPaymentMethodPaymentMethodType);
|
|
46100
|
-
RtpCreditPaymentMethodPaymentMethodType$outboundSchema = RtpCreditPaymentMethodPaymentMethodType$inboundSchema;
|
|
46101
46170
|
RtpCreditPaymentMethod$inboundSchema = objectType({
|
|
46102
46171
|
paymentMethodID: stringType(),
|
|
46103
|
-
paymentMethodType:
|
|
46172
|
+
paymentMethodType: literalType("rtp-credit"),
|
|
46104
46173
|
bankAccount: PaymentMethodsBankAccount$inboundSchema
|
|
46105
46174
|
});
|
|
46106
46175
|
RtpCreditPaymentMethod$outboundSchema = objectType({
|
|
46107
46176
|
paymentMethodID: stringType(),
|
|
46108
|
-
paymentMethodType:
|
|
46177
|
+
paymentMethodType: literalType("rtp-credit"),
|
|
46109
46178
|
bankAccount: PaymentMethodsBankAccount$outboundSchema
|
|
46110
46179
|
});
|
|
46111
46180
|
});
|
|
@@ -46127,32 +46196,32 @@ var init_paymentmethod = __esm(() => {
|
|
|
46127
46196
|
init_pushtocardpaymentmethod();
|
|
46128
46197
|
init_rtpcreditpaymentmethod();
|
|
46129
46198
|
PaymentMethod$inboundSchema = unionType([
|
|
46130
|
-
MoovWalletPaymentMethod$inboundSchema
|
|
46131
|
-
AchDebitFundPaymentMethod$inboundSchema
|
|
46132
|
-
AchDebitCollectPaymentMethod$inboundSchema
|
|
46133
|
-
AchCreditStandardPaymentMethod$inboundSchema
|
|
46134
|
-
AchCreditSameDayPaymentMethod$inboundSchema
|
|
46135
|
-
RtpCreditPaymentMethod$inboundSchema
|
|
46136
|
-
CardPaymentPaymentMethod$inboundSchema
|
|
46137
|
-
PushToCardPaymentMethod$inboundSchema
|
|
46138
|
-
PullFromCardPaymentMethod$inboundSchema
|
|
46139
|
-
ApplePayPaymentMethod$inboundSchema
|
|
46140
|
-
|
|
46141
|
-
|
|
46199
|
+
MoovWalletPaymentMethod$inboundSchema,
|
|
46200
|
+
AchDebitFundPaymentMethod$inboundSchema,
|
|
46201
|
+
AchDebitCollectPaymentMethod$inboundSchema,
|
|
46202
|
+
AchCreditStandardPaymentMethod$inboundSchema,
|
|
46203
|
+
AchCreditSameDayPaymentMethod$inboundSchema,
|
|
46204
|
+
RtpCreditPaymentMethod$inboundSchema,
|
|
46205
|
+
CardPaymentPaymentMethod$inboundSchema,
|
|
46206
|
+
PushToCardPaymentMethod$inboundSchema,
|
|
46207
|
+
PullFromCardPaymentMethod$inboundSchema,
|
|
46208
|
+
ApplePayPaymentMethod$inboundSchema,
|
|
46209
|
+
CardPresentPaymentPaymentMethod$inboundSchema,
|
|
46210
|
+
InstantBankCreditPaymentMethod$inboundSchema
|
|
46142
46211
|
]);
|
|
46143
46212
|
PaymentMethod$outboundSchema = unionType([
|
|
46144
|
-
MoovWalletPaymentMethod$outboundSchema
|
|
46145
|
-
AchDebitFundPaymentMethod$outboundSchema
|
|
46146
|
-
AchDebitCollectPaymentMethod$outboundSchema
|
|
46147
|
-
AchCreditStandardPaymentMethod$outboundSchema
|
|
46148
|
-
AchCreditSameDayPaymentMethod$outboundSchema
|
|
46149
|
-
RtpCreditPaymentMethod$outboundSchema
|
|
46150
|
-
CardPaymentPaymentMethod$outboundSchema
|
|
46151
|
-
PushToCardPaymentMethod$outboundSchema
|
|
46152
|
-
PullFromCardPaymentMethod$outboundSchema
|
|
46153
|
-
ApplePayPaymentMethod$outboundSchema
|
|
46154
|
-
|
|
46155
|
-
|
|
46213
|
+
MoovWalletPaymentMethod$outboundSchema,
|
|
46214
|
+
AchDebitFundPaymentMethod$outboundSchema,
|
|
46215
|
+
AchDebitCollectPaymentMethod$outboundSchema,
|
|
46216
|
+
AchCreditStandardPaymentMethod$outboundSchema,
|
|
46217
|
+
AchCreditSameDayPaymentMethod$outboundSchema,
|
|
46218
|
+
RtpCreditPaymentMethod$outboundSchema,
|
|
46219
|
+
CardPaymentPaymentMethod$outboundSchema,
|
|
46220
|
+
PushToCardPaymentMethod$outboundSchema,
|
|
46221
|
+
PullFromCardPaymentMethod$outboundSchema,
|
|
46222
|
+
ApplePayPaymentMethod$outboundSchema,
|
|
46223
|
+
CardPresentPaymentPaymentMethod$outboundSchema,
|
|
46224
|
+
InstantBankCreditPaymentMethod$outboundSchema
|
|
46156
46225
|
]);
|
|
46157
46226
|
});
|
|
46158
46227
|
|
|
@@ -47679,11 +47748,11 @@ var UpdateInvoice$inboundSchema, UpdateInvoice$outboundSchema;
|
|
|
47679
47748
|
var init_updateinvoice = __esm(() => {
|
|
47680
47749
|
init_esm();
|
|
47681
47750
|
init_amountdecimalupdate();
|
|
47682
|
-
|
|
47751
|
+
init_createinvoicelineitemsupdate();
|
|
47683
47752
|
init_invoicestatus();
|
|
47684
47753
|
UpdateInvoice$inboundSchema = objectType({
|
|
47685
47754
|
description: stringType().optional(),
|
|
47686
|
-
lineItems:
|
|
47755
|
+
lineItems: CreateInvoiceLineItemsUpdate$inboundSchema.optional(),
|
|
47687
47756
|
invoiceDate: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
47688
47757
|
dueDate: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
47689
47758
|
status: InvoiceStatus$inboundSchema.optional(),
|
|
@@ -47691,7 +47760,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
47691
47760
|
});
|
|
47692
47761
|
UpdateInvoice$outboundSchema = objectType({
|
|
47693
47762
|
description: stringType().optional(),
|
|
47694
|
-
lineItems:
|
|
47763
|
+
lineItems: CreateInvoiceLineItemsUpdate$outboundSchema.optional(),
|
|
47695
47764
|
invoiceDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
47696
47765
|
dueDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
47697
47766
|
status: InvoiceStatus$outboundSchema.optional(),
|
|
@@ -49114,6 +49183,13 @@ var init_components = __esm(() => {
|
|
|
49114
49183
|
init_createindividualerror();
|
|
49115
49184
|
init_createindividualprofile();
|
|
49116
49185
|
init_createinvoice();
|
|
49186
|
+
init_createinvoicelineitem();
|
|
49187
|
+
init_createinvoicelineitemoption();
|
|
49188
|
+
init_createinvoicelineitemoptionvalidationerror();
|
|
49189
|
+
init_createinvoicelineitems();
|
|
49190
|
+
init_createinvoicelineitemsupdate();
|
|
49191
|
+
init_createinvoicelineitemsvalidationerror();
|
|
49192
|
+
init_createinvoicelineitemvalidationerror();
|
|
49117
49193
|
init_createpaymentlink();
|
|
49118
49194
|
init_createpaymentlinklineitem();
|
|
49119
49195
|
init_createpaymentlinklineitemoption();
|
|
@@ -49215,10 +49291,10 @@ var init_components = __esm(() => {
|
|
|
49215
49291
|
init_invoice();
|
|
49216
49292
|
init_invoiceexternalpayment();
|
|
49217
49293
|
init_invoicelineitem();
|
|
49294
|
+
init_invoicelineitemimagemetadata();
|
|
49218
49295
|
init_invoicelineitemoption();
|
|
49219
49296
|
init_invoicelineitemoptionvalidationerror();
|
|
49220
49297
|
init_invoicelineitems();
|
|
49221
|
-
init_invoicelineitemsupdate();
|
|
49222
49298
|
init_invoicelineitemsvalidationerror();
|
|
49223
49299
|
init_invoicelineitemvalidationerror();
|
|
49224
49300
|
init_invoicepayment();
|
|
@@ -49698,7 +49774,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
49698
49774
|
CreateInvoiceError$inboundSchema = objectType({
|
|
49699
49775
|
customerAccountID: stringType().optional(),
|
|
49700
49776
|
description: stringType().optional(),
|
|
49701
|
-
lineItems:
|
|
49777
|
+
lineItems: CreateInvoiceLineItemsValidationError$inboundSchema.optional(),
|
|
49702
49778
|
invoiceDate: stringType().optional(),
|
|
49703
49779
|
dueDate: stringType().optional(),
|
|
49704
49780
|
taxAmount: AmountDecimalValidationError$inboundSchema.optional(),
|
|
@@ -49715,7 +49791,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
49715
49791
|
CreateInvoiceError$outboundSchema = instanceOfType(CreateInvoiceError).transform((v2) => v2.data$).pipe(objectType({
|
|
49716
49792
|
customerAccountID: stringType().optional(),
|
|
49717
49793
|
description: stringType().optional(),
|
|
49718
|
-
lineItems:
|
|
49794
|
+
lineItems: CreateInvoiceLineItemsValidationError$outboundSchema.optional(),
|
|
49719
49795
|
invoiceDate: stringType().optional(),
|
|
49720
49796
|
dueDate: stringType().optional(),
|
|
49721
49797
|
taxAmount: AmountDecimalValidationError$outboundSchema.optional()
|
|
@@ -81390,7 +81466,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81390
81466
|
function createMCPServer(deps) {
|
|
81391
81467
|
const server = new McpServer({
|
|
81392
81468
|
name: "Moov",
|
|
81393
|
-
version: "0.
|
|
81469
|
+
version: "0.22.0"
|
|
81394
81470
|
});
|
|
81395
81471
|
const client = new MoovCore({
|
|
81396
81472
|
security: deps.security,
|
|
@@ -82950,7 +83026,7 @@ var routes = rn({
|
|
|
82950
83026
|
var app = Ve(routes, {
|
|
82951
83027
|
name: "mcp",
|
|
82952
83028
|
versionInfo: {
|
|
82953
|
-
currentVersion: "0.
|
|
83029
|
+
currentVersion: "0.22.0"
|
|
82954
83030
|
}
|
|
82955
83031
|
});
|
|
82956
83032
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -82958,5 +83034,5 @@ export {
|
|
|
82958
83034
|
app
|
|
82959
83035
|
};
|
|
82960
83036
|
|
|
82961
|
-
//# debugId=
|
|
83037
|
+
//# debugId=75E6AA129C96AF1664756E2164756E21
|
|
82962
83038
|
//# sourceMappingURL=mcp-server.js.map
|