mollie-api-typescript 0.8.5 → 0.8.6
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 +1978 -1971
- package/bin/mcp-server.js.map +42 -41
- package/dist/commonjs/funcs/salesInvoicesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/createsalesinvoice.d.ts +2 -2
- package/dist/commonjs/models/operations/createsalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createsalesinvoice.js +4 -4
- package/dist/commonjs/models/operations/createsalesinvoice.js.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listsalesinvoices.js +2 -4
- package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/commonjs/models/{entitysalesinvoice.d.ts → salesinvoicerequest.d.ts} +25 -25
- package/dist/commonjs/models/salesinvoicerequest.d.ts.map +1 -0
- package/dist/commonjs/models/{entitysalesinvoice.js → salesinvoicerequest.js} +30 -32
- package/dist/commonjs/models/salesinvoicerequest.js.map +1 -0
- package/dist/commonjs/models/{entitysalesinvoiceresponse.d.ts → salesinvoiceresponse.d.ts} +35 -29
- package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -0
- package/dist/commonjs/models/{entitysalesinvoiceresponse.js → salesinvoiceresponse.js} +40 -40
- package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -0
- package/dist/commonjs/models/updatevaluessalesinvoice.d.ts +2 -2
- package/dist/commonjs/models/updatevaluessalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/updatevaluessalesinvoice.js +2 -4
- package/dist/commonjs/models/updatevaluessalesinvoice.js.map +1 -1
- package/dist/commonjs/sdk/salesinvoices.d.ts +3 -3
- package/dist/commonjs/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/commonjs/types/enums.d.ts +1 -8
- package/dist/commonjs/types/enums.d.ts.map +1 -1
- package/dist/commonjs/types/enums.js +3 -21
- package/dist/commonjs/types/enums.js.map +1 -1
- package/dist/commonjs/types/index.d.ts +2 -1
- package/dist/commonjs/types/index.d.ts.map +1 -1
- package/dist/commonjs/types/index.js +15 -0
- package/dist/commonjs/types/index.js.map +1 -1
- package/dist/commonjs/types/unrecognized.d.ts +10 -0
- package/dist/commonjs/types/unrecognized.d.ts.map +1 -0
- package/dist/commonjs/types/unrecognized.js +26 -0
- package/dist/commonjs/types/unrecognized.js.map +1 -0
- package/dist/esm/funcs/salesInvoicesCreate.d.ts +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.js +2 -2
- package/dist/esm/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.d.ts +1 -1
- package/dist/esm/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.js +1 -1
- package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/createsalesinvoice.d.ts +2 -2
- package/dist/esm/models/operations/createsalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/operations/createsalesinvoice.js +4 -4
- package/dist/esm/models/operations/createsalesinvoice.js.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
- package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
- package/dist/esm/models/operations/listsalesinvoices.js +2 -4
- package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
- package/dist/esm/models/{entitysalesinvoice.d.ts → salesinvoicerequest.d.ts} +25 -25
- package/dist/esm/models/salesinvoicerequest.d.ts.map +1 -0
- package/dist/esm/models/{entitysalesinvoice.js → salesinvoicerequest.js} +25 -27
- package/dist/esm/models/salesinvoicerequest.js.map +1 -0
- package/dist/esm/models/{entitysalesinvoiceresponse.d.ts → salesinvoiceresponse.d.ts} +35 -29
- package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -0
- package/dist/esm/models/{entitysalesinvoiceresponse.js → salesinvoiceresponse.js} +33 -33
- package/dist/esm/models/salesinvoiceresponse.js.map +1 -0
- package/dist/esm/models/updatevaluessalesinvoice.d.ts +2 -2
- package/dist/esm/models/updatevaluessalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/updatevaluessalesinvoice.js +2 -4
- package/dist/esm/models/updatevaluessalesinvoice.js.map +1 -1
- package/dist/esm/sdk/salesinvoices.d.ts +3 -3
- package/dist/esm/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/esm/types/enums.d.ts +1 -8
- package/dist/esm/types/enums.d.ts.map +1 -1
- package/dist/esm/types/enums.js +1 -18
- package/dist/esm/types/enums.js.map +1 -1
- package/dist/esm/types/index.d.ts +2 -1
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/unrecognized.d.ts +10 -0
- package/dist/esm/types/unrecognized.d.ts.map +1 -0
- package/dist/esm/types/unrecognized.js +23 -0
- package/dist/esm/types/unrecognized.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/salesInvoicesCreate.ts +5 -5
- package/src/funcs/salesInvoicesGet.ts +4 -4
- package/src/funcs/salesInvoicesUpdate.ts +4 -4
- 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/index.ts +2 -2
- package/src/models/operations/createsalesinvoice.ts +6 -6
- package/src/models/operations/listsalesinvoices.ts +4 -8
- package/src/models/{entitysalesinvoice.ts → salesinvoicerequest.ts} +54 -54
- package/src/models/{entitysalesinvoiceresponse.ts → salesinvoiceresponse.ts} +72 -75
- package/src/models/updatevaluessalesinvoice.ts +4 -6
- package/src/sdk/salesinvoices.ts +3 -3
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +27 -0
- package/dist/commonjs/models/entitysalesinvoice.d.ts.map +0 -1
- package/dist/commonjs/models/entitysalesinvoice.js.map +0 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +0 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +0 -1
- package/dist/esm/models/entitysalesinvoice.d.ts.map +0 -1
- package/dist/esm/models/entitysalesinvoice.js.map +0 -1
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +0 -1
- package/dist/esm/models/entitysalesinvoiceresponse.js.map +0 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34124,9 +34124,9 @@ var init_config = __esm(() => {
|
|
|
34124
34124
|
SDK_METADATA = {
|
|
34125
34125
|
language: "typescript",
|
|
34126
34126
|
openapiDocVersion: "1.0.0",
|
|
34127
|
-
sdkVersion: "0.8.
|
|
34128
|
-
genVersion: "2.
|
|
34129
|
-
userAgent: "speakeasy-sdk/typescript 0.8.
|
|
34127
|
+
sdkVersion: "0.8.6",
|
|
34128
|
+
genVersion: "2.760.2",
|
|
34129
|
+
userAgent: "speakeasy-sdk/typescript 0.8.6 2.760.2 1.0.0 mollie-api-typescript"
|
|
34130
34130
|
};
|
|
34131
34131
|
});
|
|
34132
34132
|
|
|
@@ -35940,11 +35940,15 @@ var init_amountnullable = __esm(() => {
|
|
|
35940
35940
|
});
|
|
35941
35941
|
});
|
|
35942
35942
|
|
|
35943
|
-
// src/types/
|
|
35943
|
+
// src/types/unrecognized.ts
|
|
35944
35944
|
function unrecognized(value) {
|
|
35945
|
-
|
|
35945
|
+
globalCount++;
|
|
35946
35946
|
return value;
|
|
35947
35947
|
}
|
|
35948
|
+
var globalCount = 0;
|
|
35949
|
+
var init_unrecognized = () => {};
|
|
35950
|
+
|
|
35951
|
+
// src/types/enums.ts
|
|
35948
35952
|
function inboundSchema(enumObj) {
|
|
35949
35953
|
const options = Object.values(enumObj);
|
|
35950
35954
|
return unionType([
|
|
@@ -35955,9 +35959,9 @@ function inboundSchema(enumObj) {
|
|
|
35955
35959
|
function outboundSchema(_2) {
|
|
35956
35960
|
return stringType();
|
|
35957
35961
|
}
|
|
35958
|
-
var unrecognizedCount = 0;
|
|
35959
35962
|
var init_enums = __esm(() => {
|
|
35960
35963
|
init_esm();
|
|
35964
|
+
init_unrecognized();
|
|
35961
35965
|
});
|
|
35962
35966
|
|
|
35963
35967
|
// src/models/balancecardaudience.ts
|
|
@@ -38845,378 +38849,766 @@ var init_entityroute = __esm(() => {
|
|
|
38845
38849
|
});
|
|
38846
38850
|
});
|
|
38847
38851
|
|
|
38848
|
-
// src/models/
|
|
38849
|
-
var
|
|
38850
|
-
var
|
|
38852
|
+
// src/models/entitysettlement.ts
|
|
38853
|
+
var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema, Rate$inboundSchema, Rate$outboundSchema, Cost$inboundSchema, Cost$outboundSchema, Revenue$inboundSchema, Revenue$outboundSchema, Periods$inboundSchema, Periods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
|
|
38854
|
+
var init_entitysettlement = __esm(() => {
|
|
38851
38855
|
init_esm();
|
|
38852
|
-
|
|
38853
|
-
|
|
38854
|
-
|
|
38856
|
+
init_primitives();
|
|
38857
|
+
init_enums();
|
|
38858
|
+
init_amount();
|
|
38859
|
+
init_amountnullable();
|
|
38860
|
+
init_paymentmethod();
|
|
38861
|
+
init_url2();
|
|
38862
|
+
init_urlnullable();
|
|
38863
|
+
EntitySettlementStatus = {
|
|
38864
|
+
Open: "open",
|
|
38865
|
+
Pending: "pending",
|
|
38866
|
+
Paidout: "paidout",
|
|
38867
|
+
Failed: "failed"
|
|
38855
38868
|
};
|
|
38856
|
-
|
|
38857
|
-
|
|
38858
|
-
|
|
38859
|
-
|
|
38860
|
-
// src/models/salesinvoicediscount.ts
|
|
38861
|
-
var SalesInvoiceDiscount$inboundSchema, SalesInvoiceDiscount$outboundSchema;
|
|
38862
|
-
var init_salesinvoicediscount = __esm(() => {
|
|
38863
|
-
init_esm();
|
|
38864
|
-
init_salesinvoicediscounttype();
|
|
38865
|
-
SalesInvoiceDiscount$inboundSchema = objectType({
|
|
38866
|
-
type: SalesInvoiceDiscountType$inboundSchema,
|
|
38869
|
+
EntitySettlementStatus$inboundSchema = inboundSchema(EntitySettlementStatus);
|
|
38870
|
+
EntitySettlementStatus$outboundSchema = outboundSchema(EntitySettlementStatus);
|
|
38871
|
+
EntitySettlementAmount$inboundSchema = objectType({
|
|
38872
|
+
currency: stringType(),
|
|
38867
38873
|
value: stringType()
|
|
38868
38874
|
});
|
|
38869
|
-
|
|
38870
|
-
|
|
38875
|
+
EntitySettlementAmount$outboundSchema = objectType({
|
|
38876
|
+
currency: stringType(),
|
|
38871
38877
|
value: stringType()
|
|
38872
38878
|
});
|
|
38873
|
-
|
|
38874
|
-
|
|
38875
|
-
|
|
38876
|
-
var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
|
|
38877
|
-
var init_salesinvoiceemaildetails = __esm(() => {
|
|
38878
|
-
init_esm();
|
|
38879
|
-
SalesInvoiceEmailDetails$inboundSchema = objectType({
|
|
38880
|
-
subject: stringType(),
|
|
38881
|
-
body: stringType()
|
|
38879
|
+
Rate$inboundSchema = objectType({
|
|
38880
|
+
fixed: Amount$inboundSchema.optional(),
|
|
38881
|
+
percentage: stringType().optional()
|
|
38882
38882
|
});
|
|
38883
|
-
|
|
38884
|
-
|
|
38885
|
-
|
|
38883
|
+
Rate$outboundSchema = objectType({
|
|
38884
|
+
fixed: Amount$outboundSchema.optional(),
|
|
38885
|
+
percentage: stringType().optional()
|
|
38886
38886
|
});
|
|
38887
|
-
|
|
38888
|
-
|
|
38889
|
-
// src/models/salesinvoicelineitem.ts
|
|
38890
|
-
var SalesInvoiceLineItem$inboundSchema, SalesInvoiceLineItem$outboundSchema;
|
|
38891
|
-
var init_salesinvoicelineitem = __esm(() => {
|
|
38892
|
-
init_esm();
|
|
38893
|
-
init_amount();
|
|
38894
|
-
init_salesinvoicediscount();
|
|
38895
|
-
SalesInvoiceLineItem$inboundSchema = objectType({
|
|
38887
|
+
Cost$inboundSchema = objectType({
|
|
38896
38888
|
description: stringType(),
|
|
38897
|
-
|
|
38898
|
-
|
|
38899
|
-
|
|
38900
|
-
|
|
38889
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
38890
|
+
count: numberType().int(),
|
|
38891
|
+
rate: lazyType(() => Rate$inboundSchema),
|
|
38892
|
+
amountNet: Amount$inboundSchema,
|
|
38893
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
38894
|
+
amountGross: Amount$inboundSchema
|
|
38901
38895
|
});
|
|
38902
|
-
|
|
38896
|
+
Cost$outboundSchema = objectType({
|
|
38903
38897
|
description: stringType(),
|
|
38904
|
-
|
|
38905
|
-
|
|
38906
|
-
|
|
38907
|
-
|
|
38898
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
38899
|
+
count: numberType().int(),
|
|
38900
|
+
rate: lazyType(() => Rate$outboundSchema),
|
|
38901
|
+
amountNet: Amount$outboundSchema,
|
|
38902
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
38903
|
+
amountGross: Amount$outboundSchema
|
|
38908
38904
|
});
|
|
38909
|
-
|
|
38910
|
-
|
|
38911
|
-
|
|
38912
|
-
|
|
38913
|
-
|
|
38914
|
-
|
|
38915
|
-
|
|
38916
|
-
Manual: "manual",
|
|
38917
|
-
PaymentLink: "payment-link",
|
|
38918
|
-
Payment: "payment"
|
|
38919
|
-
};
|
|
38920
|
-
SalesInvoicePaymentDetailsSource$inboundSchema = nativeEnumType(SalesInvoicePaymentDetailsSource);
|
|
38921
|
-
SalesInvoicePaymentDetailsSource$outboundSchema = SalesInvoicePaymentDetailsSource$inboundSchema;
|
|
38922
|
-
});
|
|
38923
|
-
|
|
38924
|
-
// src/models/salesinvoicepaymentdetails.ts
|
|
38925
|
-
var SalesInvoicePaymentDetails$inboundSchema, SalesInvoicePaymentDetails$outboundSchema;
|
|
38926
|
-
var init_salesinvoicepaymentdetails = __esm(() => {
|
|
38927
|
-
init_esm();
|
|
38928
|
-
init_salesinvoicepaymentdetailssource();
|
|
38929
|
-
SalesInvoicePaymentDetails$inboundSchema = objectType({
|
|
38930
|
-
source: SalesInvoicePaymentDetailsSource$inboundSchema,
|
|
38931
|
-
sourceReference: nullableType(stringType()).optional()
|
|
38905
|
+
Revenue$inboundSchema = objectType({
|
|
38906
|
+
description: stringType(),
|
|
38907
|
+
method: nullableType(PaymentMethod$inboundSchema),
|
|
38908
|
+
count: numberType().int(),
|
|
38909
|
+
amountNet: Amount$inboundSchema,
|
|
38910
|
+
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
38911
|
+
amountGross: Amount$inboundSchema
|
|
38932
38912
|
});
|
|
38933
|
-
|
|
38934
|
-
|
|
38935
|
-
|
|
38913
|
+
Revenue$outboundSchema = objectType({
|
|
38914
|
+
description: stringType(),
|
|
38915
|
+
method: nullableType(PaymentMethod$outboundSchema),
|
|
38916
|
+
count: numberType().int(),
|
|
38917
|
+
amountNet: Amount$outboundSchema,
|
|
38918
|
+
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
38919
|
+
amountGross: Amount$outboundSchema
|
|
38920
|
+
});
|
|
38921
|
+
Periods$inboundSchema = objectType({
|
|
38922
|
+
costs: arrayType(lazyType(() => Cost$inboundSchema)).optional(),
|
|
38923
|
+
revenue: arrayType(lazyType(() => Revenue$inboundSchema)).optional(),
|
|
38924
|
+
invoiceId: stringType().optional(),
|
|
38925
|
+
invoiceReference: nullableType(stringType()).optional()
|
|
38926
|
+
});
|
|
38927
|
+
Periods$outboundSchema = objectType({
|
|
38928
|
+
costs: arrayType(lazyType(() => Cost$outboundSchema)).optional(),
|
|
38929
|
+
revenue: arrayType(lazyType(() => Revenue$outboundSchema)).optional(),
|
|
38930
|
+
invoiceId: stringType().optional(),
|
|
38931
|
+
invoiceReference: nullableType(stringType()).optional()
|
|
38932
|
+
});
|
|
38933
|
+
EntitySettlementLinks$inboundSchema = objectType({
|
|
38934
|
+
self: Url$inboundSchema,
|
|
38935
|
+
payments: Url$inboundSchema.optional(),
|
|
38936
|
+
captures: Url$inboundSchema.optional(),
|
|
38937
|
+
refunds: Url$inboundSchema.optional(),
|
|
38938
|
+
chargebacks: Url$inboundSchema.optional(),
|
|
38939
|
+
invoice: nullableType(UrlNullable$inboundSchema).optional(),
|
|
38940
|
+
documentation: Url$inboundSchema.optional()
|
|
38941
|
+
});
|
|
38942
|
+
EntitySettlementLinks$outboundSchema = objectType({
|
|
38943
|
+
self: Url$outboundSchema,
|
|
38944
|
+
payments: Url$outboundSchema.optional(),
|
|
38945
|
+
captures: Url$outboundSchema.optional(),
|
|
38946
|
+
refunds: Url$outboundSchema.optional(),
|
|
38947
|
+
chargebacks: Url$outboundSchema.optional(),
|
|
38948
|
+
invoice: nullableType(UrlNullable$outboundSchema).optional(),
|
|
38949
|
+
documentation: Url$outboundSchema.optional()
|
|
38950
|
+
});
|
|
38951
|
+
EntitySettlement$inboundSchema = objectType({
|
|
38952
|
+
resource: stringType(),
|
|
38953
|
+
id: stringType(),
|
|
38954
|
+
createdAt: stringType().optional(),
|
|
38955
|
+
reference: nullableType(stringType()).optional(),
|
|
38956
|
+
settledAt: nullableType(stringType()).optional(),
|
|
38957
|
+
status: EntitySettlementStatus$inboundSchema,
|
|
38958
|
+
amount: lazyType(() => EntitySettlementAmount$inboundSchema),
|
|
38959
|
+
balanceId: stringType(),
|
|
38960
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
38961
|
+
periods: recordType(recordType(lazyType(() => Periods$inboundSchema))).optional(),
|
|
38962
|
+
_links: lazyType(() => EntitySettlementLinks$inboundSchema)
|
|
38963
|
+
}).transform((v2) => {
|
|
38964
|
+
return remap(v2, {
|
|
38965
|
+
_links: "links"
|
|
38966
|
+
});
|
|
38967
|
+
});
|
|
38968
|
+
EntitySettlement$outboundSchema = objectType({
|
|
38969
|
+
resource: stringType(),
|
|
38970
|
+
id: stringType(),
|
|
38971
|
+
createdAt: stringType().optional(),
|
|
38972
|
+
reference: nullableType(stringType()).optional(),
|
|
38973
|
+
settledAt: nullableType(stringType()).optional(),
|
|
38974
|
+
status: EntitySettlementStatus$outboundSchema,
|
|
38975
|
+
amount: lazyType(() => EntitySettlementAmount$outboundSchema),
|
|
38976
|
+
balanceId: stringType(),
|
|
38977
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
38978
|
+
periods: recordType(recordType(lazyType(() => Periods$outboundSchema))).optional(),
|
|
38979
|
+
links: lazyType(() => EntitySettlementLinks$outboundSchema)
|
|
38980
|
+
}).transform((v2) => {
|
|
38981
|
+
return remap(v2, {
|
|
38982
|
+
links: "_links"
|
|
38983
|
+
});
|
|
38936
38984
|
});
|
|
38937
38985
|
});
|
|
38938
38986
|
|
|
38939
|
-
// src/models/
|
|
38940
|
-
var
|
|
38941
|
-
var
|
|
38942
|
-
|
|
38943
|
-
|
|
38944
|
-
|
|
38945
|
-
|
|
38946
|
-
Thirtydays: "30 days",
|
|
38947
|
-
FortyFivedays: "45 days",
|
|
38948
|
-
Sixtydays: "60 days",
|
|
38949
|
-
Ninetydays: "90 days",
|
|
38950
|
-
OneHundredAndTwentydays: "120 days"
|
|
38987
|
+
// src/models/terminalbrand.ts
|
|
38988
|
+
var TerminalBrand, TerminalBrand$inboundSchema, TerminalBrand$outboundSchema;
|
|
38989
|
+
var init_terminalbrand = __esm(() => {
|
|
38990
|
+
init_enums();
|
|
38991
|
+
TerminalBrand = {
|
|
38992
|
+
Pax: "PAX",
|
|
38993
|
+
Tap: "Tap"
|
|
38951
38994
|
};
|
|
38952
|
-
|
|
38953
|
-
|
|
38995
|
+
TerminalBrand$inboundSchema = inboundSchema(TerminalBrand);
|
|
38996
|
+
TerminalBrand$outboundSchema = outboundSchema(TerminalBrand);
|
|
38954
38997
|
});
|
|
38955
38998
|
|
|
38956
|
-
// src/models/
|
|
38957
|
-
var
|
|
38958
|
-
var
|
|
38959
|
-
|
|
38960
|
-
|
|
38961
|
-
|
|
38962
|
-
|
|
38963
|
-
|
|
38964
|
-
|
|
38965
|
-
|
|
38966
|
-
|
|
38967
|
-
DeCH: "de_CH",
|
|
38968
|
-
FRFR: "fr_FR",
|
|
38969
|
-
FrBE: "fr_BE"
|
|
38999
|
+
// src/models/terminalmodel.ts
|
|
39000
|
+
var TerminalModel, TerminalModel$inboundSchema, TerminalModel$outboundSchema;
|
|
39001
|
+
var init_terminalmodel = __esm(() => {
|
|
39002
|
+
init_enums();
|
|
39003
|
+
TerminalModel = {
|
|
39004
|
+
A35: "A35",
|
|
39005
|
+
A77: "A77",
|
|
39006
|
+
A920: "A920",
|
|
39007
|
+
A920Pro: "A920Pro",
|
|
39008
|
+
Im30: "IM30",
|
|
39009
|
+
Tap: "Tap"
|
|
38970
39010
|
};
|
|
38971
|
-
|
|
38972
|
-
|
|
39011
|
+
TerminalModel$inboundSchema = inboundSchema(TerminalModel);
|
|
39012
|
+
TerminalModel$outboundSchema = outboundSchema(TerminalModel);
|
|
38973
39013
|
});
|
|
38974
39014
|
|
|
38975
|
-
// src/models/
|
|
38976
|
-
var
|
|
38977
|
-
var
|
|
39015
|
+
// src/models/entityterminal.ts
|
|
39016
|
+
var EntityTerminalStatus, EntityTerminalStatus$inboundSchema, EntityTerminalStatus$outboundSchema, EntityTerminalLinks$inboundSchema, EntityTerminalLinks$outboundSchema, EntityTerminal$inboundSchema, EntityTerminal$outboundSchema;
|
|
39017
|
+
var init_entityterminal = __esm(() => {
|
|
38978
39018
|
init_esm();
|
|
38979
|
-
|
|
38980
|
-
|
|
38981
|
-
|
|
39019
|
+
init_primitives();
|
|
39020
|
+
init_enums();
|
|
39021
|
+
init_mode();
|
|
39022
|
+
init_terminalbrand();
|
|
39023
|
+
init_terminalmodel();
|
|
39024
|
+
init_url2();
|
|
39025
|
+
EntityTerminalStatus = {
|
|
39026
|
+
Pending: "pending",
|
|
39027
|
+
Active: "active",
|
|
39028
|
+
Inactive: "inactive"
|
|
38982
39029
|
};
|
|
38983
|
-
|
|
38984
|
-
|
|
39030
|
+
EntityTerminalStatus$inboundSchema = inboundSchema(EntityTerminalStatus);
|
|
39031
|
+
EntityTerminalStatus$outboundSchema = outboundSchema(EntityTerminalStatus);
|
|
39032
|
+
EntityTerminalLinks$inboundSchema = objectType({
|
|
39033
|
+
self: Url$inboundSchema,
|
|
39034
|
+
documentation: Url$inboundSchema
|
|
39035
|
+
});
|
|
39036
|
+
EntityTerminalLinks$outboundSchema = objectType({
|
|
39037
|
+
self: Url$outboundSchema,
|
|
39038
|
+
documentation: Url$outboundSchema
|
|
39039
|
+
});
|
|
39040
|
+
EntityTerminal$inboundSchema = objectType({
|
|
39041
|
+
resource: stringType(),
|
|
39042
|
+
id: stringType(),
|
|
39043
|
+
mode: Mode$inboundSchema,
|
|
39044
|
+
description: stringType(),
|
|
39045
|
+
status: EntityTerminalStatus$inboundSchema,
|
|
39046
|
+
brand: nullableType(TerminalBrand$inboundSchema),
|
|
39047
|
+
model: nullableType(TerminalModel$inboundSchema),
|
|
39048
|
+
serialNumber: nullableType(stringType()),
|
|
39049
|
+
currency: stringType(),
|
|
39050
|
+
profileId: stringType(),
|
|
39051
|
+
createdAt: stringType(),
|
|
39052
|
+
updatedAt: stringType(),
|
|
39053
|
+
_links: lazyType(() => EntityTerminalLinks$inboundSchema)
|
|
39054
|
+
}).transform((v2) => {
|
|
39055
|
+
return remap(v2, {
|
|
39056
|
+
_links: "links"
|
|
39057
|
+
});
|
|
39058
|
+
});
|
|
39059
|
+
EntityTerminal$outboundSchema = objectType({
|
|
39060
|
+
resource: stringType(),
|
|
39061
|
+
id: stringType(),
|
|
39062
|
+
mode: Mode$outboundSchema,
|
|
39063
|
+
description: stringType(),
|
|
39064
|
+
status: EntityTerminalStatus$outboundSchema,
|
|
39065
|
+
brand: nullableType(TerminalBrand$outboundSchema),
|
|
39066
|
+
model: nullableType(TerminalModel$outboundSchema),
|
|
39067
|
+
serialNumber: nullableType(stringType()),
|
|
39068
|
+
currency: stringType(),
|
|
39069
|
+
profileId: stringType(),
|
|
39070
|
+
createdAt: stringType(),
|
|
39071
|
+
updatedAt: stringType(),
|
|
39072
|
+
links: lazyType(() => EntityTerminalLinks$outboundSchema)
|
|
39073
|
+
}).transform((v2) => {
|
|
39074
|
+
return remap(v2, {
|
|
39075
|
+
links: "_links"
|
|
39076
|
+
});
|
|
39077
|
+
});
|
|
38985
39078
|
});
|
|
38986
39079
|
|
|
38987
|
-
// src/models/
|
|
38988
|
-
var
|
|
38989
|
-
var
|
|
39080
|
+
// src/models/entitywebhook.ts
|
|
39081
|
+
var EntityWebhookLinks$inboundSchema, EntityWebhookLinks$outboundSchema, EntityWebhook$inboundSchema, EntityWebhook$outboundSchema;
|
|
39082
|
+
var init_entitywebhook = __esm(() => {
|
|
38990
39083
|
init_esm();
|
|
38991
|
-
|
|
38992
|
-
|
|
38993
|
-
|
|
38994
|
-
|
|
38995
|
-
|
|
38996
|
-
|
|
38997
|
-
|
|
38998
|
-
|
|
38999
|
-
organizationNumber: nullableType(stringType()).optional(),
|
|
39000
|
-
vatNumber: nullableType(stringType()).optional(),
|
|
39001
|
-
email: stringType(),
|
|
39002
|
-
phone: nullableType(stringType()).optional(),
|
|
39003
|
-
streetAndNumber: stringType(),
|
|
39004
|
-
streetAdditional: nullableType(stringType()).optional(),
|
|
39005
|
-
postalCode: stringType(),
|
|
39006
|
-
city: stringType(),
|
|
39007
|
-
region: nullableType(stringType()).optional(),
|
|
39008
|
-
country: stringType(),
|
|
39009
|
-
locale: SalesInvoiceRecipientLocale$inboundSchema
|
|
39084
|
+
init_primitives();
|
|
39085
|
+
init_mode();
|
|
39086
|
+
init_url2();
|
|
39087
|
+
init_webhookeventtypes();
|
|
39088
|
+
init_webhookstatus();
|
|
39089
|
+
EntityWebhookLinks$inboundSchema = objectType({
|
|
39090
|
+
self: Url$inboundSchema,
|
|
39091
|
+
documentation: Url$inboundSchema
|
|
39010
39092
|
});
|
|
39011
|
-
|
|
39012
|
-
|
|
39013
|
-
|
|
39014
|
-
|
|
39015
|
-
|
|
39016
|
-
|
|
39017
|
-
|
|
39018
|
-
|
|
39019
|
-
|
|
39020
|
-
|
|
39021
|
-
|
|
39022
|
-
|
|
39023
|
-
|
|
39024
|
-
|
|
39025
|
-
|
|
39026
|
-
|
|
39027
|
-
|
|
39093
|
+
EntityWebhookLinks$outboundSchema = objectType({
|
|
39094
|
+
self: Url$outboundSchema,
|
|
39095
|
+
documentation: Url$outboundSchema
|
|
39096
|
+
});
|
|
39097
|
+
EntityWebhook$inboundSchema = objectType({
|
|
39098
|
+
resource: stringType(),
|
|
39099
|
+
id: stringType(),
|
|
39100
|
+
url: stringType(),
|
|
39101
|
+
profileId: nullableType(stringType()),
|
|
39102
|
+
createdAt: stringType(),
|
|
39103
|
+
name: stringType(),
|
|
39104
|
+
eventTypes: arrayType(WebhookEventTypes$inboundSchema),
|
|
39105
|
+
status: WebhookStatus$inboundSchema,
|
|
39106
|
+
mode: Mode$inboundSchema,
|
|
39107
|
+
_links: lazyType(() => EntityWebhookLinks$inboundSchema)
|
|
39108
|
+
}).transform((v2) => {
|
|
39109
|
+
return remap(v2, {
|
|
39110
|
+
_links: "links"
|
|
39111
|
+
});
|
|
39112
|
+
});
|
|
39113
|
+
EntityWebhook$outboundSchema = objectType({
|
|
39114
|
+
resource: stringType(),
|
|
39115
|
+
id: stringType(),
|
|
39116
|
+
url: stringType(),
|
|
39117
|
+
profileId: nullableType(stringType()),
|
|
39118
|
+
createdAt: stringType(),
|
|
39119
|
+
name: stringType(),
|
|
39120
|
+
eventTypes: arrayType(WebhookEventTypes$outboundSchema),
|
|
39121
|
+
status: WebhookStatus$outboundSchema,
|
|
39122
|
+
mode: Mode$outboundSchema,
|
|
39123
|
+
links: lazyType(() => EntityWebhookLinks$outboundSchema)
|
|
39124
|
+
}).transform((v2) => {
|
|
39125
|
+
return remap(v2, {
|
|
39126
|
+
links: "_links"
|
|
39127
|
+
});
|
|
39028
39128
|
});
|
|
39029
39129
|
});
|
|
39030
39130
|
|
|
39031
|
-
// src/models/
|
|
39032
|
-
var
|
|
39033
|
-
var
|
|
39131
|
+
// src/models/paymentaddress.ts
|
|
39132
|
+
var PaymentAddress$inboundSchema, PaymentAddress$outboundSchema;
|
|
39133
|
+
var init_paymentaddress = __esm(() => {
|
|
39034
39134
|
init_esm();
|
|
39035
|
-
|
|
39036
|
-
|
|
39037
|
-
|
|
39038
|
-
|
|
39039
|
-
|
|
39040
|
-
|
|
39041
|
-
|
|
39135
|
+
PaymentAddress$inboundSchema = objectType({
|
|
39136
|
+
title: stringType().optional(),
|
|
39137
|
+
givenName: stringType().optional(),
|
|
39138
|
+
familyName: stringType().optional(),
|
|
39139
|
+
organizationName: stringType().optional(),
|
|
39140
|
+
streetAndNumber: stringType().optional(),
|
|
39141
|
+
streetAdditional: stringType().optional(),
|
|
39142
|
+
postalCode: stringType().optional(),
|
|
39143
|
+
email: stringType().optional(),
|
|
39144
|
+
phone: stringType().optional(),
|
|
39145
|
+
city: stringType().optional(),
|
|
39146
|
+
region: stringType().optional(),
|
|
39147
|
+
country: stringType().optional()
|
|
39148
|
+
});
|
|
39149
|
+
PaymentAddress$outboundSchema = objectType({
|
|
39150
|
+
title: stringType().optional(),
|
|
39151
|
+
givenName: stringType().optional(),
|
|
39152
|
+
familyName: stringType().optional(),
|
|
39153
|
+
organizationName: stringType().optional(),
|
|
39154
|
+
streetAndNumber: stringType().optional(),
|
|
39155
|
+
streetAdditional: stringType().optional(),
|
|
39156
|
+
postalCode: stringType().optional(),
|
|
39157
|
+
email: stringType().optional(),
|
|
39158
|
+
phone: stringType().optional(),
|
|
39159
|
+
city: stringType().optional(),
|
|
39160
|
+
region: stringType().optional(),
|
|
39161
|
+
country: stringType().optional()
|
|
39162
|
+
});
|
|
39042
39163
|
});
|
|
39043
39164
|
|
|
39044
|
-
// src/models/
|
|
39045
|
-
var
|
|
39046
|
-
var
|
|
39047
|
-
|
|
39048
|
-
|
|
39049
|
-
|
|
39050
|
-
|
|
39165
|
+
// src/models/linecategoriesresponse.ts
|
|
39166
|
+
var LineCategoriesResponse, LineCategoriesResponse$inboundSchema, LineCategoriesResponse$outboundSchema;
|
|
39167
|
+
var init_linecategoriesresponse = __esm(() => {
|
|
39168
|
+
init_enums();
|
|
39169
|
+
LineCategoriesResponse = {
|
|
39170
|
+
Eco: "eco",
|
|
39171
|
+
Gift: "gift",
|
|
39172
|
+
Meal: "meal",
|
|
39173
|
+
SportCulture: "sport_culture",
|
|
39174
|
+
Additional: "additional",
|
|
39175
|
+
Consume: "consume"
|
|
39051
39176
|
};
|
|
39052
|
-
|
|
39053
|
-
|
|
39177
|
+
LineCategoriesResponse$inboundSchema = inboundSchema(LineCategoriesResponse);
|
|
39178
|
+
LineCategoriesResponse$outboundSchema = outboundSchema(LineCategoriesResponse);
|
|
39054
39179
|
});
|
|
39055
39180
|
|
|
39056
|
-
// src/models/
|
|
39057
|
-
var
|
|
39058
|
-
var
|
|
39059
|
-
|
|
39060
|
-
|
|
39061
|
-
|
|
39062
|
-
|
|
39181
|
+
// src/models/paymentlinetyperesponse.ts
|
|
39182
|
+
var PaymentLineTypeResponse, PaymentLineTypeResponse$inboundSchema, PaymentLineTypeResponse$outboundSchema;
|
|
39183
|
+
var init_paymentlinetyperesponse = __esm(() => {
|
|
39184
|
+
init_enums();
|
|
39185
|
+
PaymentLineTypeResponse = {
|
|
39186
|
+
Physical: "physical",
|
|
39187
|
+
Digital: "digital",
|
|
39188
|
+
ShippingFee: "shipping_fee",
|
|
39189
|
+
Discount: "discount",
|
|
39190
|
+
StoreCredit: "store_credit",
|
|
39191
|
+
GiftCard: "gift_card",
|
|
39192
|
+
Surcharge: "surcharge",
|
|
39193
|
+
Tip: "tip"
|
|
39063
39194
|
};
|
|
39064
|
-
|
|
39065
|
-
|
|
39195
|
+
PaymentLineTypeResponse$inboundSchema = inboundSchema(PaymentLineTypeResponse);
|
|
39196
|
+
PaymentLineTypeResponse$outboundSchema = outboundSchema(PaymentLineTypeResponse);
|
|
39066
39197
|
});
|
|
39067
39198
|
|
|
39068
|
-
// src/models/
|
|
39069
|
-
var
|
|
39070
|
-
var
|
|
39199
|
+
// src/models/paymentlineitemresponse.ts
|
|
39200
|
+
var PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema;
|
|
39201
|
+
var init_paymentlineitemresponse = __esm(() => {
|
|
39071
39202
|
init_esm();
|
|
39072
|
-
|
|
39073
|
-
|
|
39074
|
-
|
|
39075
|
-
|
|
39076
|
-
|
|
39077
|
-
|
|
39078
|
-
|
|
39079
|
-
|
|
39080
|
-
|
|
39081
|
-
|
|
39082
|
-
|
|
39083
|
-
|
|
39084
|
-
|
|
39085
|
-
|
|
39086
|
-
|
|
39087
|
-
|
|
39088
|
-
|
|
39089
|
-
memo: nullableType(stringType()).optional(),
|
|
39090
|
-
metadata: nullableType(lazyType(() => EntitySalesInvoiceMetadata$inboundSchema)).optional(),
|
|
39091
|
-
paymentTerm: nullableType(SalesInvoicePaymentTerm$inboundSchema).optional(),
|
|
39092
|
-
paymentDetails: nullableType(SalesInvoicePaymentDetails$inboundSchema).optional(),
|
|
39093
|
-
emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
|
|
39094
|
-
customerId: stringType().optional(),
|
|
39095
|
-
mandateId: stringType().optional(),
|
|
39096
|
-
recipientIdentifier: stringType().optional(),
|
|
39097
|
-
recipient: nullableType(SalesInvoiceRecipient$inboundSchema).optional(),
|
|
39098
|
-
lines: nullableType(arrayType(SalesInvoiceLineItem$inboundSchema)).optional(),
|
|
39099
|
-
discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
|
|
39203
|
+
init_amount();
|
|
39204
|
+
init_linecategoriesresponse();
|
|
39205
|
+
init_paymentlinetyperesponse();
|
|
39206
|
+
PaymentLineItemResponse$inboundSchema = objectType({
|
|
39207
|
+
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
39208
|
+
description: stringType(),
|
|
39209
|
+
quantity: numberType().int(),
|
|
39210
|
+
quantityUnit: stringType().optional(),
|
|
39211
|
+
unitPrice: Amount$inboundSchema,
|
|
39212
|
+
discountAmount: Amount$inboundSchema.optional(),
|
|
39213
|
+
totalAmount: Amount$inboundSchema,
|
|
39214
|
+
vatRate: stringType().optional(),
|
|
39215
|
+
vatAmount: Amount$inboundSchema.optional(),
|
|
39216
|
+
sku: stringType().optional(),
|
|
39217
|
+
categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
|
|
39218
|
+
imageUrl: stringType().optional(),
|
|
39219
|
+
productUrl: stringType().optional()
|
|
39100
39220
|
});
|
|
39101
|
-
|
|
39102
|
-
|
|
39103
|
-
|
|
39104
|
-
|
|
39105
|
-
|
|
39106
|
-
|
|
39107
|
-
|
|
39108
|
-
|
|
39109
|
-
|
|
39110
|
-
|
|
39111
|
-
|
|
39112
|
-
|
|
39113
|
-
|
|
39114
|
-
|
|
39115
|
-
recipient: nullableType(SalesInvoiceRecipient$outboundSchema).optional(),
|
|
39116
|
-
lines: nullableType(arrayType(SalesInvoiceLineItem$outboundSchema)).optional(),
|
|
39117
|
-
discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
|
|
39221
|
+
PaymentLineItemResponse$outboundSchema = objectType({
|
|
39222
|
+
type: PaymentLineTypeResponse$outboundSchema.optional(),
|
|
39223
|
+
description: stringType(),
|
|
39224
|
+
quantity: numberType().int(),
|
|
39225
|
+
quantityUnit: stringType().optional(),
|
|
39226
|
+
unitPrice: Amount$outboundSchema,
|
|
39227
|
+
discountAmount: Amount$outboundSchema.optional(),
|
|
39228
|
+
totalAmount: Amount$outboundSchema,
|
|
39229
|
+
vatRate: stringType().optional(),
|
|
39230
|
+
vatAmount: Amount$outboundSchema.optional(),
|
|
39231
|
+
sku: stringType().optional(),
|
|
39232
|
+
categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
|
|
39233
|
+
imageUrl: stringType().optional(),
|
|
39234
|
+
productUrl: stringType().optional()
|
|
39118
39235
|
});
|
|
39119
39236
|
});
|
|
39120
39237
|
|
|
39121
|
-
// src/models/
|
|
39122
|
-
var
|
|
39123
|
-
var
|
|
39238
|
+
// src/models/paymentlinkmethodresponse.ts
|
|
39239
|
+
var PaymentLinkMethodResponse, PaymentLinkMethodResponse$inboundSchema, PaymentLinkMethodResponse$outboundSchema;
|
|
39240
|
+
var init_paymentlinkmethodresponse = __esm(() => {
|
|
39124
39241
|
init_enums();
|
|
39125
|
-
|
|
39126
|
-
|
|
39127
|
-
|
|
39242
|
+
PaymentLinkMethodResponse = {
|
|
39243
|
+
Applepay: "applepay",
|
|
39244
|
+
Bacs: "bacs",
|
|
39245
|
+
Bancomatpay: "bancomatpay",
|
|
39246
|
+
Bancontact: "bancontact",
|
|
39247
|
+
Banktransfer: "banktransfer",
|
|
39248
|
+
Belfius: "belfius",
|
|
39249
|
+
Billie: "billie",
|
|
39250
|
+
Blik: "blik",
|
|
39251
|
+
Creditcard: "creditcard",
|
|
39252
|
+
Eps: "eps",
|
|
39253
|
+
Giftcard: "giftcard",
|
|
39254
|
+
Ideal: "ideal",
|
|
39255
|
+
In3: "in3",
|
|
39256
|
+
Kbc: "kbc",
|
|
39257
|
+
Klarna: "klarna",
|
|
39258
|
+
Mbway: "mbway",
|
|
39259
|
+
Multibanco: "multibanco",
|
|
39260
|
+
Mybank: "mybank",
|
|
39261
|
+
Paybybank: "paybybank",
|
|
39262
|
+
Paypal: "paypal",
|
|
39263
|
+
Paysafecard: "paysafecard",
|
|
39264
|
+
Pointofsale: "pointofsale",
|
|
39265
|
+
Przelewy24: "przelewy24",
|
|
39266
|
+
Riverty: "riverty",
|
|
39267
|
+
Satispay: "satispay",
|
|
39268
|
+
Swish: "swish",
|
|
39269
|
+
Trustly: "trustly",
|
|
39270
|
+
Twint: "twint",
|
|
39271
|
+
Voucher: "voucher"
|
|
39128
39272
|
};
|
|
39129
|
-
|
|
39130
|
-
|
|
39273
|
+
PaymentLinkMethodResponse$inboundSchema = inboundSchema(PaymentLinkMethodResponse);
|
|
39274
|
+
PaymentLinkMethodResponse$outboundSchema = outboundSchema(PaymentLinkMethodResponse);
|
|
39131
39275
|
});
|
|
39132
39276
|
|
|
39133
|
-
// src/models/
|
|
39134
|
-
var
|
|
39135
|
-
var
|
|
39136
|
-
|
|
39137
|
-
|
|
39138
|
-
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
|
|
39142
|
-
|
|
39143
|
-
type: SalesInvoiceDiscountTypeResponse$outboundSchema,
|
|
39144
|
-
value: stringType()
|
|
39145
|
-
});
|
|
39277
|
+
// src/models/paymentlinksequencetyperesponse.ts
|
|
39278
|
+
var PaymentLinkSequenceTypeResponse, PaymentLinkSequenceTypeResponse$inboundSchema, PaymentLinkSequenceTypeResponse$outboundSchema;
|
|
39279
|
+
var init_paymentlinksequencetyperesponse = __esm(() => {
|
|
39280
|
+
init_enums();
|
|
39281
|
+
PaymentLinkSequenceTypeResponse = {
|
|
39282
|
+
Oneoff: "oneoff",
|
|
39283
|
+
First: "first"
|
|
39284
|
+
};
|
|
39285
|
+
PaymentLinkSequenceTypeResponse$inboundSchema = inboundSchema(PaymentLinkSequenceTypeResponse);
|
|
39286
|
+
PaymentLinkSequenceTypeResponse$outboundSchema = outboundSchema(PaymentLinkSequenceTypeResponse);
|
|
39146
39287
|
});
|
|
39147
39288
|
|
|
39148
|
-
// src/models/
|
|
39149
|
-
var
|
|
39150
|
-
var
|
|
39289
|
+
// src/models/paymentlinkresponse.ts
|
|
39290
|
+
var PaymentLinkResponseApplicationFee$inboundSchema, PaymentLinkResponseApplicationFee$outboundSchema, PaymentLinkResponseLinks$inboundSchema, PaymentLinkResponseLinks$outboundSchema, PaymentLinkResponse$inboundSchema, PaymentLinkResponse$outboundSchema;
|
|
39291
|
+
var init_paymentlinkresponse = __esm(() => {
|
|
39151
39292
|
init_esm();
|
|
39293
|
+
init_primitives();
|
|
39152
39294
|
init_amount();
|
|
39153
|
-
|
|
39154
|
-
|
|
39295
|
+
init_amountnullable();
|
|
39296
|
+
init_mode();
|
|
39297
|
+
init_paymentaddress();
|
|
39298
|
+
init_paymentlineitemresponse();
|
|
39299
|
+
init_paymentlinkmethodresponse();
|
|
39300
|
+
init_paymentlinksequencetyperesponse();
|
|
39301
|
+
init_url2();
|
|
39302
|
+
PaymentLinkResponseApplicationFee$inboundSchema = objectType({
|
|
39303
|
+
amount: Amount$inboundSchema,
|
|
39304
|
+
description: stringType()
|
|
39305
|
+
});
|
|
39306
|
+
PaymentLinkResponseApplicationFee$outboundSchema = objectType({
|
|
39307
|
+
amount: Amount$outboundSchema,
|
|
39308
|
+
description: stringType()
|
|
39309
|
+
});
|
|
39310
|
+
PaymentLinkResponseLinks$inboundSchema = objectType({
|
|
39311
|
+
self: Url$inboundSchema,
|
|
39312
|
+
paymentLink: Url$inboundSchema
|
|
39313
|
+
});
|
|
39314
|
+
PaymentLinkResponseLinks$outboundSchema = objectType({
|
|
39315
|
+
self: Url$outboundSchema,
|
|
39316
|
+
paymentLink: Url$outboundSchema
|
|
39317
|
+
});
|
|
39318
|
+
PaymentLinkResponse$inboundSchema = objectType({
|
|
39319
|
+
resource: stringType(),
|
|
39320
|
+
id: stringType(),
|
|
39321
|
+
mode: Mode$inboundSchema,
|
|
39155
39322
|
description: stringType(),
|
|
39156
|
-
|
|
39157
|
-
|
|
39158
|
-
|
|
39159
|
-
|
|
39323
|
+
amount: nullableType(AmountNullable$inboundSchema),
|
|
39324
|
+
minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
39325
|
+
archived: booleanType(),
|
|
39326
|
+
redirectUrl: nullableType(stringType()),
|
|
39327
|
+
webhookUrl: nullableType(stringType()),
|
|
39328
|
+
lines: nullableType(arrayType(PaymentLineItemResponse$inboundSchema)).optional(),
|
|
39329
|
+
billingAddress: PaymentAddress$inboundSchema.optional(),
|
|
39330
|
+
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
39331
|
+
profileId: nullableType(stringType()),
|
|
39332
|
+
reusable: nullableType(booleanType()),
|
|
39333
|
+
createdAt: stringType(),
|
|
39334
|
+
paidAt: nullableType(stringType()),
|
|
39335
|
+
expiresAt: nullableType(stringType()),
|
|
39336
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema)),
|
|
39337
|
+
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
|
|
39338
|
+
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
39339
|
+
customerId: nullableType(stringType()).optional(),
|
|
39340
|
+
_links: lazyType(() => PaymentLinkResponseLinks$inboundSchema)
|
|
39341
|
+
}).transform((v2) => {
|
|
39342
|
+
return remap(v2, {
|
|
39343
|
+
_links: "links"
|
|
39344
|
+
});
|
|
39160
39345
|
});
|
|
39161
|
-
|
|
39346
|
+
PaymentLinkResponse$outboundSchema = objectType({
|
|
39347
|
+
resource: stringType(),
|
|
39348
|
+
id: stringType(),
|
|
39349
|
+
mode: Mode$outboundSchema,
|
|
39162
39350
|
description: stringType(),
|
|
39163
|
-
|
|
39164
|
-
|
|
39165
|
-
|
|
39166
|
-
|
|
39351
|
+
amount: nullableType(AmountNullable$outboundSchema),
|
|
39352
|
+
minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
39353
|
+
archived: booleanType(),
|
|
39354
|
+
redirectUrl: nullableType(stringType()),
|
|
39355
|
+
webhookUrl: nullableType(stringType()),
|
|
39356
|
+
lines: nullableType(arrayType(PaymentLineItemResponse$outboundSchema)).optional(),
|
|
39357
|
+
billingAddress: PaymentAddress$outboundSchema.optional(),
|
|
39358
|
+
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
39359
|
+
profileId: nullableType(stringType()),
|
|
39360
|
+
reusable: nullableType(booleanType()),
|
|
39361
|
+
createdAt: stringType(),
|
|
39362
|
+
paidAt: nullableType(stringType()),
|
|
39363
|
+
expiresAt: nullableType(stringType()),
|
|
39364
|
+
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema)),
|
|
39365
|
+
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
|
|
39366
|
+
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
39367
|
+
customerId: nullableType(stringType()).optional(),
|
|
39368
|
+
links: lazyType(() => PaymentLinkResponseLinks$outboundSchema)
|
|
39369
|
+
}).transform((v2) => {
|
|
39370
|
+
return remap(v2, {
|
|
39371
|
+
links: "_links"
|
|
39372
|
+
});
|
|
39167
39373
|
});
|
|
39168
39374
|
});
|
|
39169
39375
|
|
|
39170
|
-
// src/models/
|
|
39171
|
-
var
|
|
39172
|
-
var
|
|
39376
|
+
// src/models/profilereviewstatusresponse.ts
|
|
39377
|
+
var ProfileReviewStatusResponse, ProfileReviewStatusResponse$inboundSchema, ProfileReviewStatusResponse$outboundSchema;
|
|
39378
|
+
var init_profilereviewstatusresponse = __esm(() => {
|
|
39173
39379
|
init_enums();
|
|
39174
|
-
|
|
39175
|
-
|
|
39176
|
-
|
|
39177
|
-
Payment: "payment"
|
|
39380
|
+
ProfileReviewStatusResponse = {
|
|
39381
|
+
Pending: "pending",
|
|
39382
|
+
Rejected: "rejected"
|
|
39178
39383
|
};
|
|
39179
|
-
|
|
39180
|
-
|
|
39384
|
+
ProfileReviewStatusResponse$inboundSchema = inboundSchema(ProfileReviewStatusResponse);
|
|
39385
|
+
ProfileReviewStatusResponse$outboundSchema = outboundSchema(ProfileReviewStatusResponse);
|
|
39181
39386
|
});
|
|
39182
39387
|
|
|
39183
|
-
// src/models/
|
|
39184
|
-
var
|
|
39185
|
-
var
|
|
39388
|
+
// src/models/profileresponse.ts
|
|
39389
|
+
var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema, Review$inboundSchema, Review$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
|
|
39390
|
+
var init_profileresponse = __esm(() => {
|
|
39186
39391
|
init_esm();
|
|
39187
|
-
|
|
39188
|
-
|
|
39189
|
-
|
|
39190
|
-
|
|
39392
|
+
init_primitives();
|
|
39393
|
+
init_enums();
|
|
39394
|
+
init_mode();
|
|
39395
|
+
init_profilereviewstatusresponse();
|
|
39396
|
+
init_url2();
|
|
39397
|
+
ProfileResponseStatus = {
|
|
39398
|
+
Unverified: "unverified",
|
|
39399
|
+
Verified: "verified",
|
|
39400
|
+
Blocked: "blocked"
|
|
39401
|
+
};
|
|
39402
|
+
ProfileResponseStatus$inboundSchema = inboundSchema(ProfileResponseStatus);
|
|
39403
|
+
ProfileResponseStatus$outboundSchema = outboundSchema(ProfileResponseStatus);
|
|
39404
|
+
Review$inboundSchema = objectType({
|
|
39405
|
+
status: ProfileReviewStatusResponse$inboundSchema.optional()
|
|
39191
39406
|
});
|
|
39192
|
-
|
|
39193
|
-
|
|
39194
|
-
sourceReference: nullableType(stringType()).optional()
|
|
39407
|
+
Review$outboundSchema = objectType({
|
|
39408
|
+
status: ProfileReviewStatusResponse$outboundSchema.optional()
|
|
39195
39409
|
});
|
|
39196
|
-
|
|
39197
|
-
|
|
39198
|
-
|
|
39199
|
-
|
|
39200
|
-
|
|
39410
|
+
ProfileResponseLinks$inboundSchema = objectType({
|
|
39411
|
+
self: Url$inboundSchema.optional(),
|
|
39412
|
+
dashboard: Url$inboundSchema.optional(),
|
|
39413
|
+
chargebacks: Url$inboundSchema.optional(),
|
|
39414
|
+
methods: Url$inboundSchema.optional(),
|
|
39415
|
+
payments: Url$inboundSchema.optional(),
|
|
39416
|
+
refunds: Url$inboundSchema.optional(),
|
|
39417
|
+
checkoutPreviewUrl: Url$inboundSchema.optional(),
|
|
39418
|
+
documentation: Url$inboundSchema.optional()
|
|
39419
|
+
});
|
|
39420
|
+
ProfileResponseLinks$outboundSchema = objectType({
|
|
39421
|
+
self: Url$outboundSchema.optional(),
|
|
39422
|
+
dashboard: Url$outboundSchema.optional(),
|
|
39423
|
+
chargebacks: Url$outboundSchema.optional(),
|
|
39424
|
+
methods: Url$outboundSchema.optional(),
|
|
39425
|
+
payments: Url$outboundSchema.optional(),
|
|
39426
|
+
refunds: Url$outboundSchema.optional(),
|
|
39427
|
+
checkoutPreviewUrl: Url$outboundSchema.optional(),
|
|
39428
|
+
documentation: Url$outboundSchema.optional()
|
|
39429
|
+
});
|
|
39430
|
+
ProfileResponse$inboundSchema = objectType({
|
|
39431
|
+
resource: stringType(),
|
|
39432
|
+
id: stringType(),
|
|
39433
|
+
mode: Mode$inboundSchema,
|
|
39434
|
+
name: stringType(),
|
|
39435
|
+
website: stringType(),
|
|
39436
|
+
email: stringType(),
|
|
39437
|
+
phone: stringType(),
|
|
39438
|
+
description: stringType().optional(),
|
|
39439
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
39440
|
+
businessCategory: stringType(),
|
|
39441
|
+
status: ProfileResponseStatus$inboundSchema,
|
|
39442
|
+
review: lazyType(() => Review$inboundSchema).optional(),
|
|
39443
|
+
createdAt: stringType(),
|
|
39444
|
+
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
39445
|
+
}).transform((v2) => {
|
|
39446
|
+
return remap(v2, {
|
|
39447
|
+
_links: "links"
|
|
39448
|
+
});
|
|
39449
|
+
});
|
|
39450
|
+
ProfileResponse$outboundSchema = objectType({
|
|
39451
|
+
resource: stringType(),
|
|
39452
|
+
id: stringType(),
|
|
39453
|
+
mode: Mode$outboundSchema,
|
|
39454
|
+
name: stringType(),
|
|
39455
|
+
website: stringType(),
|
|
39456
|
+
email: stringType(),
|
|
39457
|
+
phone: stringType(),
|
|
39458
|
+
description: stringType().optional(),
|
|
39459
|
+
countriesOfActivity: arrayType(stringType()).optional(),
|
|
39460
|
+
businessCategory: stringType(),
|
|
39461
|
+
status: ProfileResponseStatus$outboundSchema,
|
|
39462
|
+
review: lazyType(() => Review$outboundSchema).optional(),
|
|
39463
|
+
createdAt: stringType(),
|
|
39464
|
+
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
39465
|
+
}).transform((v2) => {
|
|
39466
|
+
return remap(v2, {
|
|
39467
|
+
links: "_links"
|
|
39468
|
+
});
|
|
39469
|
+
});
|
|
39470
|
+
});
|
|
39471
|
+
|
|
39472
|
+
// src/models/entitywebhookevent.ts
|
|
39473
|
+
var EntityWebhookEventWebhookEventTypes, EntityWebhookEventWebhookEventTypes$inboundSchema, EntityWebhookEventWebhookEventTypes$outboundSchema, Entity$inboundSchema, Entity$outboundSchema, Embedded$inboundSchema, Embedded$outboundSchema, EntityWebhookEventLinks$inboundSchema, EntityWebhookEventLinks$outboundSchema, EntityWebhookEvent$inboundSchema, EntityWebhookEvent$outboundSchema;
|
|
39474
|
+
var init_entitywebhookevent = __esm(() => {
|
|
39475
|
+
init_esm();
|
|
39476
|
+
init_primitives();
|
|
39201
39477
|
init_enums();
|
|
39202
|
-
|
|
39203
|
-
|
|
39204
|
-
|
|
39205
|
-
|
|
39206
|
-
|
|
39207
|
-
|
|
39208
|
-
|
|
39209
|
-
|
|
39478
|
+
init_paymentlinkresponse();
|
|
39479
|
+
init_profileresponse();
|
|
39480
|
+
init_url2();
|
|
39481
|
+
EntityWebhookEventWebhookEventTypes = {
|
|
39482
|
+
PaymentLinkPaid: "payment-link.paid",
|
|
39483
|
+
BalanceTransactionCreated: "balance-transaction.created",
|
|
39484
|
+
SalesInvoiceCreated: "sales-invoice.created",
|
|
39485
|
+
SalesInvoiceIssued: "sales-invoice.issued",
|
|
39486
|
+
SalesInvoiceCanceled: "sales-invoice.canceled",
|
|
39487
|
+
SalesInvoicePaid: "sales-invoice.paid",
|
|
39488
|
+
Wildcard: "*"
|
|
39210
39489
|
};
|
|
39211
|
-
|
|
39212
|
-
|
|
39490
|
+
EntityWebhookEventWebhookEventTypes$inboundSchema = inboundSchema(EntityWebhookEventWebhookEventTypes);
|
|
39491
|
+
EntityWebhookEventWebhookEventTypes$outboundSchema = outboundSchema(EntityWebhookEventWebhookEventTypes);
|
|
39492
|
+
Entity$inboundSchema = unionType([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
|
|
39493
|
+
Entity$outboundSchema = unionType([
|
|
39494
|
+
PaymentLinkResponse$outboundSchema,
|
|
39495
|
+
ProfileResponse$outboundSchema
|
|
39496
|
+
]);
|
|
39497
|
+
Embedded$inboundSchema = objectType({
|
|
39498
|
+
entity: unionType([
|
|
39499
|
+
PaymentLinkResponse$inboundSchema,
|
|
39500
|
+
ProfileResponse$inboundSchema
|
|
39501
|
+
]).optional()
|
|
39502
|
+
});
|
|
39503
|
+
Embedded$outboundSchema = objectType({
|
|
39504
|
+
entity: unionType([
|
|
39505
|
+
PaymentLinkResponse$outboundSchema,
|
|
39506
|
+
ProfileResponse$outboundSchema
|
|
39507
|
+
]).optional()
|
|
39508
|
+
});
|
|
39509
|
+
EntityWebhookEventLinks$inboundSchema = objectType({
|
|
39510
|
+
self: Url$inboundSchema,
|
|
39511
|
+
documentation: Url$inboundSchema,
|
|
39512
|
+
entity: Url$inboundSchema.optional()
|
|
39513
|
+
});
|
|
39514
|
+
EntityWebhookEventLinks$outboundSchema = objectType({
|
|
39515
|
+
self: Url$outboundSchema,
|
|
39516
|
+
documentation: Url$outboundSchema,
|
|
39517
|
+
entity: Url$outboundSchema.optional()
|
|
39518
|
+
});
|
|
39519
|
+
EntityWebhookEvent$inboundSchema = objectType({
|
|
39520
|
+
resource: stringType(),
|
|
39521
|
+
id: stringType(),
|
|
39522
|
+
type: EntityWebhookEventWebhookEventTypes$inboundSchema,
|
|
39523
|
+
entityId: stringType(),
|
|
39524
|
+
createdAt: stringType(),
|
|
39525
|
+
_embedded: nullableType(lazyType(() => Embedded$inboundSchema)).optional(),
|
|
39526
|
+
_links: lazyType(() => EntityWebhookEventLinks$inboundSchema)
|
|
39527
|
+
}).transform((v2) => {
|
|
39528
|
+
return remap(v2, {
|
|
39529
|
+
type: "webhookEventTypes",
|
|
39530
|
+
_embedded: "embedded",
|
|
39531
|
+
_links: "links"
|
|
39532
|
+
});
|
|
39533
|
+
});
|
|
39534
|
+
EntityWebhookEvent$outboundSchema = objectType({
|
|
39535
|
+
resource: stringType(),
|
|
39536
|
+
id: stringType(),
|
|
39537
|
+
webhookEventTypes: EntityWebhookEventWebhookEventTypes$outboundSchema,
|
|
39538
|
+
entityId: stringType(),
|
|
39539
|
+
createdAt: stringType(),
|
|
39540
|
+
embedded: nullableType(lazyType(() => Embedded$outboundSchema)).optional(),
|
|
39541
|
+
links: lazyType(() => EntityWebhookEventLinks$outboundSchema)
|
|
39542
|
+
}).transform((v2) => {
|
|
39543
|
+
return remap(v2, {
|
|
39544
|
+
webhookEventTypes: "type",
|
|
39545
|
+
embedded: "_embedded",
|
|
39546
|
+
links: "_links"
|
|
39547
|
+
});
|
|
39548
|
+
});
|
|
39213
39549
|
});
|
|
39214
39550
|
|
|
39215
|
-
// src/models/
|
|
39216
|
-
var
|
|
39217
|
-
var
|
|
39218
|
-
|
|
39219
|
-
|
|
39551
|
+
// src/models/errorresponse.ts
|
|
39552
|
+
var Documentation$inboundSchema, Documentation$outboundSchema, ErrorResponseLinks$inboundSchema, ErrorResponseLinks$outboundSchema;
|
|
39553
|
+
var init_errorresponse = __esm(() => {
|
|
39554
|
+
init_esm();
|
|
39555
|
+
Documentation$inboundSchema = objectType({
|
|
39556
|
+
href: stringType(),
|
|
39557
|
+
type: stringType()
|
|
39558
|
+
});
|
|
39559
|
+
Documentation$outboundSchema = objectType({
|
|
39560
|
+
href: stringType(),
|
|
39561
|
+
type: stringType()
|
|
39562
|
+
});
|
|
39563
|
+
ErrorResponseLinks$inboundSchema = objectType({
|
|
39564
|
+
documentation: lazyType(() => Documentation$inboundSchema)
|
|
39565
|
+
});
|
|
39566
|
+
ErrorResponseLinks$outboundSchema = objectType({
|
|
39567
|
+
documentation: lazyType(() => Documentation$outboundSchema)
|
|
39568
|
+
});
|
|
39569
|
+
});
|
|
39570
|
+
|
|
39571
|
+
// src/models/linecategories.ts
|
|
39572
|
+
var LineCategories, LineCategories$inboundSchema, LineCategories$outboundSchema;
|
|
39573
|
+
var init_linecategories = __esm(() => {
|
|
39574
|
+
init_esm();
|
|
39575
|
+
LineCategories = {
|
|
39576
|
+
Eco: "eco",
|
|
39577
|
+
Gift: "gift",
|
|
39578
|
+
Meal: "meal",
|
|
39579
|
+
SportCulture: "sport_culture",
|
|
39580
|
+
Additional: "additional",
|
|
39581
|
+
Consume: "consume"
|
|
39582
|
+
};
|
|
39583
|
+
LineCategories$inboundSchema = nativeEnumType(LineCategories);
|
|
39584
|
+
LineCategories$outboundSchema = LineCategories$inboundSchema;
|
|
39585
|
+
});
|
|
39586
|
+
|
|
39587
|
+
// src/models/listlinks.ts
|
|
39588
|
+
var ListLinks$inboundSchema, ListLinks$outboundSchema;
|
|
39589
|
+
var init_listlinks = __esm(() => {
|
|
39590
|
+
init_esm();
|
|
39591
|
+
init_url2();
|
|
39592
|
+
init_urlnullable();
|
|
39593
|
+
ListLinks$inboundSchema = objectType({
|
|
39594
|
+
self: Url$inboundSchema,
|
|
39595
|
+
previous: nullableType(UrlNullable$inboundSchema),
|
|
39596
|
+
next: nullableType(UrlNullable$inboundSchema),
|
|
39597
|
+
documentation: Url$inboundSchema
|
|
39598
|
+
});
|
|
39599
|
+
ListLinks$outboundSchema = objectType({
|
|
39600
|
+
self: Url$outboundSchema,
|
|
39601
|
+
previous: nullableType(UrlNullable$outboundSchema),
|
|
39602
|
+
next: nullableType(UrlNullable$outboundSchema),
|
|
39603
|
+
documentation: Url$outboundSchema
|
|
39604
|
+
});
|
|
39605
|
+
});
|
|
39606
|
+
|
|
39607
|
+
// src/models/locale.ts
|
|
39608
|
+
var Locale, Locale$inboundSchema, Locale$outboundSchema;
|
|
39609
|
+
var init_locale = __esm(() => {
|
|
39610
|
+
init_esm();
|
|
39611
|
+
Locale = {
|
|
39220
39612
|
EnUS: "en_US",
|
|
39221
39613
|
EnGB: "en_GB",
|
|
39222
39614
|
NLNL: "nl_NL",
|
|
@@ -39225,374 +39617,183 @@ var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
|
39225
39617
|
DeAT: "de_AT",
|
|
39226
39618
|
DeCH: "de_CH",
|
|
39227
39619
|
FRFR: "fr_FR",
|
|
39228
|
-
FrBE: "fr_BE"
|
|
39620
|
+
FrBE: "fr_BE",
|
|
39621
|
+
ESES: "es_ES",
|
|
39622
|
+
CaES: "ca_ES",
|
|
39623
|
+
PTPT: "pt_PT",
|
|
39624
|
+
ITIT: "it_IT",
|
|
39625
|
+
NbNO: "nb_NO",
|
|
39626
|
+
SvSE: "sv_SE",
|
|
39627
|
+
FIFI: "fi_FI",
|
|
39628
|
+
DaDK: "da_DK",
|
|
39629
|
+
ISIS: "is_IS",
|
|
39630
|
+
HUHU: "hu_HU",
|
|
39631
|
+
PLPL: "pl_PL",
|
|
39632
|
+
LVLV: "lv_LV",
|
|
39633
|
+
LTLT: "lt_LT",
|
|
39634
|
+
Null: "null"
|
|
39229
39635
|
};
|
|
39230
|
-
|
|
39231
|
-
|
|
39636
|
+
Locale$inboundSchema = nativeEnumType(Locale);
|
|
39637
|
+
Locale$outboundSchema = Locale$inboundSchema;
|
|
39232
39638
|
});
|
|
39233
39639
|
|
|
39234
|
-
// src/models/
|
|
39235
|
-
var
|
|
39236
|
-
var
|
|
39640
|
+
// src/models/mandatedetailscardlabelresponse.ts
|
|
39641
|
+
var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema;
|
|
39642
|
+
var init_mandatedetailscardlabelresponse = __esm(() => {
|
|
39237
39643
|
init_enums();
|
|
39238
|
-
|
|
39239
|
-
|
|
39240
|
-
|
|
39241
|
-
|
|
39242
|
-
|
|
39243
|
-
|
|
39244
|
-
|
|
39245
|
-
|
|
39246
|
-
|
|
39247
|
-
|
|
39248
|
-
|
|
39249
|
-
|
|
39250
|
-
|
|
39251
|
-
init_salesinvoicerecipienttyperesponse();
|
|
39252
|
-
SalesInvoiceRecipientResponse$inboundSchema = objectType({
|
|
39253
|
-
type: SalesInvoiceRecipientTypeResponse$inboundSchema,
|
|
39254
|
-
title: nullableType(stringType()).optional(),
|
|
39255
|
-
givenName: nullableType(stringType()).optional(),
|
|
39256
|
-
familyName: nullableType(stringType()).optional(),
|
|
39257
|
-
organizationName: nullableType(stringType()).optional(),
|
|
39258
|
-
organizationNumber: nullableType(stringType()).optional(),
|
|
39259
|
-
vatNumber: nullableType(stringType()).optional(),
|
|
39260
|
-
email: stringType(),
|
|
39261
|
-
phone: nullableType(stringType()).optional(),
|
|
39262
|
-
streetAndNumber: stringType(),
|
|
39263
|
-
streetAdditional: nullableType(stringType()).optional(),
|
|
39264
|
-
postalCode: stringType(),
|
|
39265
|
-
city: stringType(),
|
|
39266
|
-
region: nullableType(stringType()).optional(),
|
|
39267
|
-
country: stringType(),
|
|
39268
|
-
locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
|
|
39269
|
-
});
|
|
39270
|
-
SalesInvoiceRecipientResponse$outboundSchema = objectType({
|
|
39271
|
-
type: SalesInvoiceRecipientTypeResponse$outboundSchema,
|
|
39272
|
-
title: nullableType(stringType()).optional(),
|
|
39273
|
-
givenName: nullableType(stringType()).optional(),
|
|
39274
|
-
familyName: nullableType(stringType()).optional(),
|
|
39275
|
-
organizationName: nullableType(stringType()).optional(),
|
|
39276
|
-
organizationNumber: nullableType(stringType()).optional(),
|
|
39277
|
-
vatNumber: nullableType(stringType()).optional(),
|
|
39278
|
-
email: stringType(),
|
|
39279
|
-
phone: nullableType(stringType()).optional(),
|
|
39280
|
-
streetAndNumber: stringType(),
|
|
39281
|
-
streetAdditional: nullableType(stringType()).optional(),
|
|
39282
|
-
postalCode: stringType(),
|
|
39283
|
-
city: stringType(),
|
|
39284
|
-
region: nullableType(stringType()).optional(),
|
|
39285
|
-
country: stringType(),
|
|
39286
|
-
locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
|
|
39287
|
-
});
|
|
39288
|
-
});
|
|
39289
|
-
|
|
39290
|
-
// src/models/salesinvoicestatusresponse.ts
|
|
39291
|
-
var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
|
|
39292
|
-
var init_salesinvoicestatusresponse = __esm(() => {
|
|
39293
|
-
init_enums();
|
|
39294
|
-
SalesInvoiceStatusResponse = {
|
|
39295
|
-
Draft: "draft",
|
|
39296
|
-
Issued: "issued",
|
|
39297
|
-
Paid: "paid"
|
|
39644
|
+
MandateDetailsCardLabelResponse = {
|
|
39645
|
+
AmericanExpress: "American Express",
|
|
39646
|
+
CartaSi: "Carta Si",
|
|
39647
|
+
CarteBleue: "Carte Bleue",
|
|
39648
|
+
Dankort: "Dankort",
|
|
39649
|
+
DinersClub: "Diners Club",
|
|
39650
|
+
Discover: "Discover",
|
|
39651
|
+
Jcb: "JCB",
|
|
39652
|
+
Laser: "Laser",
|
|
39653
|
+
Maestro: "Maestro",
|
|
39654
|
+
Mastercard: "Mastercard",
|
|
39655
|
+
Unionpay: "Unionpay",
|
|
39656
|
+
Visa: "Visa"
|
|
39298
39657
|
};
|
|
39299
|
-
|
|
39300
|
-
|
|
39658
|
+
MandateDetailsCardLabelResponse$inboundSchema = inboundSchema(MandateDetailsCardLabelResponse);
|
|
39659
|
+
MandateDetailsCardLabelResponse$outboundSchema = outboundSchema(MandateDetailsCardLabelResponse);
|
|
39301
39660
|
});
|
|
39302
39661
|
|
|
39303
|
-
// src/models/
|
|
39304
|
-
var
|
|
39305
|
-
var
|
|
39306
|
-
|
|
39307
|
-
|
|
39308
|
-
|
|
39309
|
-
|
|
39662
|
+
// src/models/mandatemethod.ts
|
|
39663
|
+
var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema;
|
|
39664
|
+
var init_mandatemethod = __esm(() => {
|
|
39665
|
+
init_esm();
|
|
39666
|
+
MandateMethod = {
|
|
39667
|
+
Creditcard: "creditcard",
|
|
39668
|
+
Directdebit: "directdebit",
|
|
39669
|
+
Paypal: "paypal"
|
|
39310
39670
|
};
|
|
39311
|
-
|
|
39312
|
-
|
|
39671
|
+
MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
|
|
39672
|
+
MandateMethod$outboundSchema = MandateMethod$inboundSchema;
|
|
39313
39673
|
});
|
|
39314
39674
|
|
|
39315
|
-
// src/models/
|
|
39316
|
-
var
|
|
39317
|
-
var
|
|
39675
|
+
// src/models/mandatemethodresponse.ts
|
|
39676
|
+
var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
|
|
39677
|
+
var init_mandatemethodresponse = __esm(() => {
|
|
39318
39678
|
init_enums();
|
|
39319
|
-
|
|
39320
|
-
|
|
39321
|
-
|
|
39679
|
+
MandateMethodResponse = {
|
|
39680
|
+
Creditcard: "creditcard",
|
|
39681
|
+
Directdebit: "directdebit",
|
|
39682
|
+
Paypal: "paypal"
|
|
39322
39683
|
};
|
|
39323
|
-
|
|
39324
|
-
|
|
39684
|
+
MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
|
|
39685
|
+
MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
|
|
39325
39686
|
});
|
|
39326
39687
|
|
|
39327
|
-
// src/models/
|
|
39328
|
-
var
|
|
39329
|
-
var
|
|
39688
|
+
// src/models/mandaterequest.ts
|
|
39689
|
+
var MandateRequest$inboundSchema, MandateRequest$outboundSchema;
|
|
39690
|
+
var init_mandaterequest = __esm(() => {
|
|
39330
39691
|
init_esm();
|
|
39331
|
-
|
|
39332
|
-
|
|
39333
|
-
init_salesinvoiceemaildetails();
|
|
39334
|
-
init_salesinvoicelineitemresponse();
|
|
39335
|
-
init_salesinvoicepaymentdetailsresponse();
|
|
39336
|
-
init_salesinvoicepaymenttermresponse();
|
|
39337
|
-
init_salesinvoicerecipientresponse();
|
|
39338
|
-
init_salesinvoicestatusresponse();
|
|
39339
|
-
init_salesinvoicevatmoderesponse();
|
|
39340
|
-
init_salesinvoicevatschemeresponse();
|
|
39341
|
-
init_url2();
|
|
39342
|
-
EntitySalesInvoiceResponseMetadata$inboundSchema = objectType({});
|
|
39343
|
-
EntitySalesInvoiceResponseMetadata$outboundSchema = objectType({});
|
|
39344
|
-
AmountDue$inboundSchema = objectType({
|
|
39345
|
-
currency: stringType(),
|
|
39346
|
-
value: stringType()
|
|
39347
|
-
});
|
|
39348
|
-
AmountDue$outboundSchema = objectType({
|
|
39349
|
-
currency: stringType(),
|
|
39350
|
-
value: stringType()
|
|
39351
|
-
});
|
|
39352
|
-
SubtotalAmount$inboundSchema = objectType({
|
|
39353
|
-
currency: stringType(),
|
|
39354
|
-
value: stringType()
|
|
39355
|
-
});
|
|
39356
|
-
SubtotalAmount$outboundSchema = objectType({
|
|
39357
|
-
currency: stringType(),
|
|
39358
|
-
value: stringType()
|
|
39359
|
-
});
|
|
39360
|
-
TotalAmount$inboundSchema = objectType({
|
|
39361
|
-
currency: stringType(),
|
|
39362
|
-
value: stringType()
|
|
39363
|
-
});
|
|
39364
|
-
TotalAmount$outboundSchema = objectType({
|
|
39365
|
-
currency: stringType(),
|
|
39366
|
-
value: stringType()
|
|
39367
|
-
});
|
|
39368
|
-
TotalVatAmount$inboundSchema = objectType({
|
|
39369
|
-
currency: stringType(),
|
|
39370
|
-
value: stringType()
|
|
39371
|
-
});
|
|
39372
|
-
TotalVatAmount$outboundSchema = objectType({
|
|
39373
|
-
currency: stringType(),
|
|
39374
|
-
value: stringType()
|
|
39375
|
-
});
|
|
39376
|
-
DiscountedSubtotalAmount$inboundSchema = objectType({
|
|
39377
|
-
currency: stringType(),
|
|
39378
|
-
value: stringType()
|
|
39379
|
-
});
|
|
39380
|
-
DiscountedSubtotalAmount$outboundSchema = objectType({
|
|
39381
|
-
currency: stringType(),
|
|
39382
|
-
value: stringType()
|
|
39383
|
-
});
|
|
39384
|
-
EntitySalesInvoiceResponseLinks$inboundSchema = objectType({
|
|
39385
|
-
self: Url$inboundSchema.optional(),
|
|
39386
|
-
invoicePayment: Url$inboundSchema.optional(),
|
|
39387
|
-
pdfLink: Url$inboundSchema.optional(),
|
|
39388
|
-
documentation: Url$inboundSchema.optional(),
|
|
39389
|
-
next: Url$inboundSchema.optional(),
|
|
39390
|
-
previous: Url$inboundSchema.optional()
|
|
39391
|
-
});
|
|
39392
|
-
EntitySalesInvoiceResponseLinks$outboundSchema = objectType({
|
|
39393
|
-
self: Url$outboundSchema.optional(),
|
|
39394
|
-
invoicePayment: Url$outboundSchema.optional(),
|
|
39395
|
-
pdfLink: Url$outboundSchema.optional(),
|
|
39396
|
-
documentation: Url$outboundSchema.optional(),
|
|
39397
|
-
next: Url$outboundSchema.optional(),
|
|
39398
|
-
previous: Url$outboundSchema.optional()
|
|
39399
|
-
});
|
|
39400
|
-
EntitySalesInvoiceResponse$inboundSchema = objectType({
|
|
39401
|
-
resource: stringType().optional(),
|
|
39692
|
+
init_mandatemethod();
|
|
39693
|
+
MandateRequest$inboundSchema = objectType({
|
|
39402
39694
|
id: stringType().optional(),
|
|
39403
|
-
|
|
39404
|
-
|
|
39405
|
-
|
|
39406
|
-
|
|
39407
|
-
|
|
39408
|
-
|
|
39409
|
-
|
|
39410
|
-
|
|
39411
|
-
|
|
39412
|
-
|
|
39413
|
-
mandateId: stringType().optional(),
|
|
39414
|
-
recipientIdentifier: stringType().optional(),
|
|
39415
|
-
recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
|
|
39416
|
-
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
|
|
39417
|
-
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
|
|
39418
|
-
amountDue: lazyType(() => AmountDue$inboundSchema).optional(),
|
|
39419
|
-
subtotalAmount: lazyType(() => SubtotalAmount$inboundSchema).optional(),
|
|
39420
|
-
totalAmount: lazyType(() => TotalAmount$inboundSchema).optional(),
|
|
39421
|
-
totalVatAmount: lazyType(() => TotalVatAmount$inboundSchema).optional(),
|
|
39422
|
-
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$inboundSchema).optional(),
|
|
39423
|
-
createdAt: stringType().optional(),
|
|
39424
|
-
issuedAt: nullableType(stringType()).optional(),
|
|
39425
|
-
paidAt: nullableType(stringType()).optional(),
|
|
39426
|
-
dueAt: nullableType(stringType()).optional(),
|
|
39427
|
-
_links: lazyType(() => EntitySalesInvoiceResponseLinks$inboundSchema).optional()
|
|
39428
|
-
}).transform((v2) => {
|
|
39429
|
-
return remap(v2, {
|
|
39430
|
-
_links: "links"
|
|
39431
|
-
});
|
|
39695
|
+
method: MandateMethod$inboundSchema,
|
|
39696
|
+
consumerName: stringType(),
|
|
39697
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
39698
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
39699
|
+
consumerEmail: nullableType(stringType()).optional(),
|
|
39700
|
+
signatureDate: nullableType(stringType()).optional(),
|
|
39701
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
39702
|
+
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
39703
|
+
payPalVaultId: nullableType(stringType()).optional(),
|
|
39704
|
+
testmode: nullableType(booleanType()).optional()
|
|
39432
39705
|
});
|
|
39433
|
-
|
|
39434
|
-
resource: stringType().optional(),
|
|
39706
|
+
MandateRequest$outboundSchema = objectType({
|
|
39435
39707
|
id: stringType().optional(),
|
|
39436
|
-
|
|
39437
|
-
|
|
39438
|
-
|
|
39439
|
-
|
|
39440
|
-
|
|
39441
|
-
|
|
39442
|
-
|
|
39443
|
-
|
|
39444
|
-
|
|
39445
|
-
|
|
39446
|
-
mandateId: stringType().optional(),
|
|
39447
|
-
recipientIdentifier: stringType().optional(),
|
|
39448
|
-
recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
|
|
39449
|
-
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
|
|
39450
|
-
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
|
|
39451
|
-
amountDue: lazyType(() => AmountDue$outboundSchema).optional(),
|
|
39452
|
-
subtotalAmount: lazyType(() => SubtotalAmount$outboundSchema).optional(),
|
|
39453
|
-
totalAmount: lazyType(() => TotalAmount$outboundSchema).optional(),
|
|
39454
|
-
totalVatAmount: lazyType(() => TotalVatAmount$outboundSchema).optional(),
|
|
39455
|
-
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$outboundSchema).optional(),
|
|
39456
|
-
createdAt: stringType().optional(),
|
|
39457
|
-
issuedAt: nullableType(stringType()).optional(),
|
|
39458
|
-
paidAt: nullableType(stringType()).optional(),
|
|
39459
|
-
dueAt: nullableType(stringType()).optional(),
|
|
39460
|
-
links: lazyType(() => EntitySalesInvoiceResponseLinks$outboundSchema).optional()
|
|
39461
|
-
}).transform((v2) => {
|
|
39462
|
-
return remap(v2, {
|
|
39463
|
-
links: "_links"
|
|
39464
|
-
});
|
|
39708
|
+
method: MandateMethod$outboundSchema,
|
|
39709
|
+
consumerName: stringType(),
|
|
39710
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
39711
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
39712
|
+
consumerEmail: nullableType(stringType()).optional(),
|
|
39713
|
+
signatureDate: nullableType(stringType()).optional(),
|
|
39714
|
+
mandateReference: nullableType(stringType()).optional(),
|
|
39715
|
+
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
39716
|
+
payPalVaultId: nullableType(stringType()).optional(),
|
|
39717
|
+
testmode: nullableType(booleanType()).optional()
|
|
39465
39718
|
});
|
|
39466
39719
|
});
|
|
39467
39720
|
|
|
39468
|
-
// src/models/
|
|
39469
|
-
var
|
|
39470
|
-
var
|
|
39721
|
+
// src/models/mandateresponse.ts
|
|
39722
|
+
var MandateResponseStatus, MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseStatus$inboundSchema, MandateResponseStatus$outboundSchema, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponse$inboundSchema, MandateResponse$outboundSchema;
|
|
39723
|
+
var init_mandateresponse = __esm(() => {
|
|
39471
39724
|
init_esm();
|
|
39472
39725
|
init_primitives();
|
|
39473
39726
|
init_enums();
|
|
39474
|
-
|
|
39475
|
-
|
|
39476
|
-
|
|
39727
|
+
init_mandatedetailscardlabelresponse();
|
|
39728
|
+
init_mandatemethodresponse();
|
|
39729
|
+
init_mode();
|
|
39477
39730
|
init_url2();
|
|
39478
|
-
|
|
39479
|
-
|
|
39480
|
-
Open: "open",
|
|
39731
|
+
MandateResponseStatus = {
|
|
39732
|
+
Valid: "valid",
|
|
39481
39733
|
Pending: "pending",
|
|
39482
|
-
|
|
39483
|
-
Failed: "failed"
|
|
39734
|
+
Invalid: "invalid"
|
|
39484
39735
|
};
|
|
39485
|
-
|
|
39486
|
-
|
|
39487
|
-
|
|
39488
|
-
|
|
39489
|
-
|
|
39490
|
-
|
|
39491
|
-
|
|
39492
|
-
|
|
39493
|
-
|
|
39494
|
-
});
|
|
39495
|
-
Rate$inboundSchema = objectType({
|
|
39496
|
-
fixed: Amount$inboundSchema.optional(),
|
|
39497
|
-
percentage: stringType().optional()
|
|
39498
|
-
});
|
|
39499
|
-
Rate$outboundSchema = objectType({
|
|
39500
|
-
fixed: Amount$outboundSchema.optional(),
|
|
39501
|
-
percentage: stringType().optional()
|
|
39502
|
-
});
|
|
39503
|
-
Cost$inboundSchema = objectType({
|
|
39504
|
-
description: stringType(),
|
|
39505
|
-
method: nullableType(PaymentMethod$inboundSchema),
|
|
39506
|
-
count: numberType().int(),
|
|
39507
|
-
rate: lazyType(() => Rate$inboundSchema),
|
|
39508
|
-
amountNet: Amount$inboundSchema,
|
|
39509
|
-
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
39510
|
-
amountGross: Amount$inboundSchema
|
|
39511
|
-
});
|
|
39512
|
-
Cost$outboundSchema = objectType({
|
|
39513
|
-
description: stringType(),
|
|
39514
|
-
method: nullableType(PaymentMethod$outboundSchema),
|
|
39515
|
-
count: numberType().int(),
|
|
39516
|
-
rate: lazyType(() => Rate$outboundSchema),
|
|
39517
|
-
amountNet: Amount$outboundSchema,
|
|
39518
|
-
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
39519
|
-
amountGross: Amount$outboundSchema
|
|
39520
|
-
});
|
|
39521
|
-
Revenue$inboundSchema = objectType({
|
|
39522
|
-
description: stringType(),
|
|
39523
|
-
method: nullableType(PaymentMethod$inboundSchema),
|
|
39524
|
-
count: numberType().int(),
|
|
39525
|
-
amountNet: Amount$inboundSchema,
|
|
39526
|
-
amountVat: nullableType(AmountNullable$inboundSchema),
|
|
39527
|
-
amountGross: Amount$inboundSchema
|
|
39528
|
-
});
|
|
39529
|
-
Revenue$outboundSchema = objectType({
|
|
39530
|
-
description: stringType(),
|
|
39531
|
-
method: nullableType(PaymentMethod$outboundSchema),
|
|
39532
|
-
count: numberType().int(),
|
|
39533
|
-
amountNet: Amount$outboundSchema,
|
|
39534
|
-
amountVat: nullableType(AmountNullable$outboundSchema),
|
|
39535
|
-
amountGross: Amount$outboundSchema
|
|
39536
|
-
});
|
|
39537
|
-
Periods$inboundSchema = objectType({
|
|
39538
|
-
costs: arrayType(lazyType(() => Cost$inboundSchema)).optional(),
|
|
39539
|
-
revenue: arrayType(lazyType(() => Revenue$inboundSchema)).optional(),
|
|
39540
|
-
invoiceId: stringType().optional(),
|
|
39541
|
-
invoiceReference: nullableType(stringType()).optional()
|
|
39736
|
+
MandateResponseDetails$inboundSchema = objectType({
|
|
39737
|
+
consumerName: nullableType(stringType()).optional(),
|
|
39738
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
39739
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
39740
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
39741
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
39742
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
39743
|
+
cardLabel: nullableType(MandateDetailsCardLabelResponse$inboundSchema).optional(),
|
|
39744
|
+
cardFingerprint: nullableType(stringType()).optional()
|
|
39542
39745
|
});
|
|
39543
|
-
|
|
39544
|
-
|
|
39545
|
-
|
|
39546
|
-
|
|
39547
|
-
|
|
39746
|
+
MandateResponseDetails$outboundSchema = objectType({
|
|
39747
|
+
consumerName: nullableType(stringType()).optional(),
|
|
39748
|
+
consumerAccount: nullableType(stringType()).optional(),
|
|
39749
|
+
consumerBic: nullableType(stringType()).optional(),
|
|
39750
|
+
cardHolder: nullableType(stringType()).optional(),
|
|
39751
|
+
cardNumber: nullableType(stringType()).optional(),
|
|
39752
|
+
cardExpiryDate: nullableType(stringType()).optional(),
|
|
39753
|
+
cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
|
|
39754
|
+
cardFingerprint: nullableType(stringType()).optional()
|
|
39548
39755
|
});
|
|
39549
|
-
|
|
39756
|
+
MandateResponseStatus$inboundSchema = inboundSchema(MandateResponseStatus);
|
|
39757
|
+
MandateResponseStatus$outboundSchema = outboundSchema(MandateResponseStatus);
|
|
39758
|
+
MandateResponseLinks$inboundSchema = objectType({
|
|
39550
39759
|
self: Url$inboundSchema,
|
|
39551
|
-
|
|
39552
|
-
|
|
39553
|
-
refunds: Url$inboundSchema.optional(),
|
|
39554
|
-
chargebacks: Url$inboundSchema.optional(),
|
|
39555
|
-
invoice: nullableType(UrlNullable$inboundSchema).optional(),
|
|
39556
|
-
documentation: Url$inboundSchema.optional()
|
|
39760
|
+
customer: Url$inboundSchema,
|
|
39761
|
+
documentation: Url$inboundSchema
|
|
39557
39762
|
});
|
|
39558
|
-
|
|
39763
|
+
MandateResponseLinks$outboundSchema = objectType({
|
|
39559
39764
|
self: Url$outboundSchema,
|
|
39560
|
-
|
|
39561
|
-
|
|
39562
|
-
refunds: Url$outboundSchema.optional(),
|
|
39563
|
-
chargebacks: Url$outboundSchema.optional(),
|
|
39564
|
-
invoice: nullableType(UrlNullable$outboundSchema).optional(),
|
|
39565
|
-
documentation: Url$outboundSchema.optional()
|
|
39765
|
+
customer: Url$outboundSchema,
|
|
39766
|
+
documentation: Url$outboundSchema
|
|
39566
39767
|
});
|
|
39567
|
-
|
|
39768
|
+
MandateResponse$inboundSchema = objectType({
|
|
39568
39769
|
resource: stringType(),
|
|
39569
39770
|
id: stringType(),
|
|
39570
|
-
|
|
39571
|
-
|
|
39572
|
-
|
|
39573
|
-
|
|
39574
|
-
|
|
39575
|
-
|
|
39576
|
-
|
|
39577
|
-
|
|
39578
|
-
_links: lazyType(() =>
|
|
39771
|
+
mode: Mode$inboundSchema,
|
|
39772
|
+
method: MandateMethodResponse$inboundSchema,
|
|
39773
|
+
details: lazyType(() => MandateResponseDetails$inboundSchema),
|
|
39774
|
+
signatureDate: nullableType(stringType()),
|
|
39775
|
+
mandateReference: nullableType(stringType()),
|
|
39776
|
+
status: MandateResponseStatus$inboundSchema,
|
|
39777
|
+
customerId: stringType(),
|
|
39778
|
+
createdAt: stringType(),
|
|
39779
|
+
_links: lazyType(() => MandateResponseLinks$inboundSchema)
|
|
39579
39780
|
}).transform((v2) => {
|
|
39580
39781
|
return remap(v2, {
|
|
39581
39782
|
_links: "links"
|
|
39582
39783
|
});
|
|
39583
39784
|
});
|
|
39584
|
-
|
|
39785
|
+
MandateResponse$outboundSchema = objectType({
|
|
39585
39786
|
resource: stringType(),
|
|
39586
39787
|
id: stringType(),
|
|
39587
|
-
|
|
39588
|
-
|
|
39589
|
-
|
|
39590
|
-
|
|
39591
|
-
|
|
39592
|
-
|
|
39593
|
-
|
|
39594
|
-
|
|
39595
|
-
links: lazyType(() =>
|
|
39788
|
+
mode: Mode$outboundSchema,
|
|
39789
|
+
method: MandateMethodResponse$outboundSchema,
|
|
39790
|
+
details: lazyType(() => MandateResponseDetails$outboundSchema),
|
|
39791
|
+
signatureDate: nullableType(stringType()),
|
|
39792
|
+
mandateReference: nullableType(stringType()),
|
|
39793
|
+
status: MandateResponseStatus$outboundSchema,
|
|
39794
|
+
customerId: stringType(),
|
|
39795
|
+
createdAt: stringType(),
|
|
39796
|
+
links: lazyType(() => MandateResponseLinks$outboundSchema)
|
|
39596
39797
|
}).transform((v2) => {
|
|
39597
39798
|
return remap(v2, {
|
|
39598
39799
|
links: "_links"
|
|
@@ -39600,262 +39801,80 @@ var init_entitysettlement = __esm(() => {
|
|
|
39600
39801
|
});
|
|
39601
39802
|
});
|
|
39602
39803
|
|
|
39603
|
-
// src/models/
|
|
39604
|
-
var
|
|
39605
|
-
var
|
|
39606
|
-
|
|
39607
|
-
|
|
39608
|
-
|
|
39609
|
-
|
|
39804
|
+
// src/models/method.ts
|
|
39805
|
+
var Method, Method$inboundSchema, Method$outboundSchema;
|
|
39806
|
+
var init_method = __esm(() => {
|
|
39807
|
+
init_esm();
|
|
39808
|
+
Method = {
|
|
39809
|
+
Alma: "alma",
|
|
39810
|
+
Applepay: "applepay",
|
|
39811
|
+
Bacs: "bacs",
|
|
39812
|
+
Bancomatpay: "bancomatpay",
|
|
39813
|
+
Bancontact: "bancontact",
|
|
39814
|
+
Banktransfer: "banktransfer",
|
|
39815
|
+
Belfius: "belfius",
|
|
39816
|
+
Billie: "billie",
|
|
39817
|
+
Bizum: "bizum",
|
|
39818
|
+
Blik: "blik",
|
|
39819
|
+
Creditcard: "creditcard",
|
|
39820
|
+
Directdebit: "directdebit",
|
|
39821
|
+
Eps: "eps",
|
|
39822
|
+
Giftcard: "giftcard",
|
|
39823
|
+
Ideal: "ideal",
|
|
39824
|
+
In3: "in3",
|
|
39825
|
+
Kbc: "kbc",
|
|
39826
|
+
Klarna: "klarna",
|
|
39827
|
+
Mbway: "mbway",
|
|
39828
|
+
Mobilepay: "mobilepay",
|
|
39829
|
+
Multibanco: "multibanco",
|
|
39830
|
+
Mybank: "mybank",
|
|
39831
|
+
Paybybank: "paybybank",
|
|
39832
|
+
Payconiq: "payconiq",
|
|
39833
|
+
Paypal: "paypal",
|
|
39834
|
+
Paysafecard: "paysafecard",
|
|
39835
|
+
Pointofsale: "pointofsale",
|
|
39836
|
+
Przelewy24: "przelewy24",
|
|
39837
|
+
Riverty: "riverty",
|
|
39838
|
+
Satispay: "satispay",
|
|
39839
|
+
Swish: "swish",
|
|
39840
|
+
Trustly: "trustly",
|
|
39841
|
+
Twint: "twint",
|
|
39842
|
+
Vipps: "vipps",
|
|
39843
|
+
Voucher: "voucher"
|
|
39610
39844
|
};
|
|
39611
|
-
|
|
39612
|
-
|
|
39845
|
+
Method$inboundSchema = nativeEnumType(Method);
|
|
39846
|
+
Method$outboundSchema = Method$inboundSchema;
|
|
39613
39847
|
});
|
|
39614
39848
|
|
|
39615
|
-
// src/models/
|
|
39616
|
-
var
|
|
39617
|
-
var
|
|
39618
|
-
|
|
39619
|
-
|
|
39620
|
-
|
|
39621
|
-
A77: "A77",
|
|
39622
|
-
A920: "A920",
|
|
39623
|
-
A920Pro: "A920Pro",
|
|
39624
|
-
Im30: "IM30",
|
|
39625
|
-
Tap: "Tap"
|
|
39849
|
+
// src/models/methodincludewalletsparameter.ts
|
|
39850
|
+
var MethodIncludeWalletsParameter, MethodIncludeWalletsParameter$inboundSchema, MethodIncludeWalletsParameter$outboundSchema;
|
|
39851
|
+
var init_methodincludewalletsparameter = __esm(() => {
|
|
39852
|
+
init_esm();
|
|
39853
|
+
MethodIncludeWalletsParameter = {
|
|
39854
|
+
Applepay: "applepay"
|
|
39626
39855
|
};
|
|
39627
|
-
|
|
39628
|
-
|
|
39856
|
+
MethodIncludeWalletsParameter$inboundSchema = nativeEnumType(MethodIncludeWalletsParameter);
|
|
39857
|
+
MethodIncludeWalletsParameter$outboundSchema = MethodIncludeWalletsParameter$inboundSchema;
|
|
39629
39858
|
});
|
|
39630
39859
|
|
|
39631
|
-
// src/models/
|
|
39632
|
-
var
|
|
39633
|
-
var
|
|
39860
|
+
// src/models/methodresourceparameter.ts
|
|
39861
|
+
var MethodResourceParameter, MethodResourceParameter$inboundSchema, MethodResourceParameter$outboundSchema;
|
|
39862
|
+
var init_methodresourceparameter = __esm(() => {
|
|
39634
39863
|
init_esm();
|
|
39635
|
-
|
|
39636
|
-
|
|
39637
|
-
|
|
39638
|
-
init_terminalbrand();
|
|
39639
|
-
init_terminalmodel();
|
|
39640
|
-
init_url2();
|
|
39641
|
-
EntityTerminalStatus = {
|
|
39642
|
-
Pending: "pending",
|
|
39643
|
-
Active: "active",
|
|
39644
|
-
Inactive: "inactive"
|
|
39864
|
+
MethodResourceParameter = {
|
|
39865
|
+
Payments: "payments",
|
|
39866
|
+
Orders: "orders"
|
|
39645
39867
|
};
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
EntityTerminalLinks$inboundSchema = objectType({
|
|
39649
|
-
self: Url$inboundSchema,
|
|
39650
|
-
documentation: Url$inboundSchema
|
|
39651
|
-
});
|
|
39652
|
-
EntityTerminalLinks$outboundSchema = objectType({
|
|
39653
|
-
self: Url$outboundSchema,
|
|
39654
|
-
documentation: Url$outboundSchema
|
|
39655
|
-
});
|
|
39656
|
-
EntityTerminal$inboundSchema = objectType({
|
|
39657
|
-
resource: stringType(),
|
|
39658
|
-
id: stringType(),
|
|
39659
|
-
mode: Mode$inboundSchema,
|
|
39660
|
-
description: stringType(),
|
|
39661
|
-
status: EntityTerminalStatus$inboundSchema,
|
|
39662
|
-
brand: nullableType(TerminalBrand$inboundSchema),
|
|
39663
|
-
model: nullableType(TerminalModel$inboundSchema),
|
|
39664
|
-
serialNumber: nullableType(stringType()),
|
|
39665
|
-
currency: stringType(),
|
|
39666
|
-
profileId: stringType(),
|
|
39667
|
-
createdAt: stringType(),
|
|
39668
|
-
updatedAt: stringType(),
|
|
39669
|
-
_links: lazyType(() => EntityTerminalLinks$inboundSchema)
|
|
39670
|
-
}).transform((v2) => {
|
|
39671
|
-
return remap(v2, {
|
|
39672
|
-
_links: "links"
|
|
39673
|
-
});
|
|
39674
|
-
});
|
|
39675
|
-
EntityTerminal$outboundSchema = objectType({
|
|
39676
|
-
resource: stringType(),
|
|
39677
|
-
id: stringType(),
|
|
39678
|
-
mode: Mode$outboundSchema,
|
|
39679
|
-
description: stringType(),
|
|
39680
|
-
status: EntityTerminalStatus$outboundSchema,
|
|
39681
|
-
brand: nullableType(TerminalBrand$outboundSchema),
|
|
39682
|
-
model: nullableType(TerminalModel$outboundSchema),
|
|
39683
|
-
serialNumber: nullableType(stringType()),
|
|
39684
|
-
currency: stringType(),
|
|
39685
|
-
profileId: stringType(),
|
|
39686
|
-
createdAt: stringType(),
|
|
39687
|
-
updatedAt: stringType(),
|
|
39688
|
-
links: lazyType(() => EntityTerminalLinks$outboundSchema)
|
|
39689
|
-
}).transform((v2) => {
|
|
39690
|
-
return remap(v2, {
|
|
39691
|
-
links: "_links"
|
|
39692
|
-
});
|
|
39693
|
-
});
|
|
39694
|
-
});
|
|
39695
|
-
|
|
39696
|
-
// src/models/entitywebhook.ts
|
|
39697
|
-
var EntityWebhookLinks$inboundSchema, EntityWebhookLinks$outboundSchema, EntityWebhook$inboundSchema, EntityWebhook$outboundSchema;
|
|
39698
|
-
var init_entitywebhook = __esm(() => {
|
|
39699
|
-
init_esm();
|
|
39700
|
-
init_primitives();
|
|
39701
|
-
init_mode();
|
|
39702
|
-
init_url2();
|
|
39703
|
-
init_webhookeventtypes();
|
|
39704
|
-
init_webhookstatus();
|
|
39705
|
-
EntityWebhookLinks$inboundSchema = objectType({
|
|
39706
|
-
self: Url$inboundSchema,
|
|
39707
|
-
documentation: Url$inboundSchema
|
|
39708
|
-
});
|
|
39709
|
-
EntityWebhookLinks$outboundSchema = objectType({
|
|
39710
|
-
self: Url$outboundSchema,
|
|
39711
|
-
documentation: Url$outboundSchema
|
|
39712
|
-
});
|
|
39713
|
-
EntityWebhook$inboundSchema = objectType({
|
|
39714
|
-
resource: stringType(),
|
|
39715
|
-
id: stringType(),
|
|
39716
|
-
url: stringType(),
|
|
39717
|
-
profileId: nullableType(stringType()),
|
|
39718
|
-
createdAt: stringType(),
|
|
39719
|
-
name: stringType(),
|
|
39720
|
-
eventTypes: arrayType(WebhookEventTypes$inboundSchema),
|
|
39721
|
-
status: WebhookStatus$inboundSchema,
|
|
39722
|
-
mode: Mode$inboundSchema,
|
|
39723
|
-
_links: lazyType(() => EntityWebhookLinks$inboundSchema)
|
|
39724
|
-
}).transform((v2) => {
|
|
39725
|
-
return remap(v2, {
|
|
39726
|
-
_links: "links"
|
|
39727
|
-
});
|
|
39728
|
-
});
|
|
39729
|
-
EntityWebhook$outboundSchema = objectType({
|
|
39730
|
-
resource: stringType(),
|
|
39731
|
-
id: stringType(),
|
|
39732
|
-
url: stringType(),
|
|
39733
|
-
profileId: nullableType(stringType()),
|
|
39734
|
-
createdAt: stringType(),
|
|
39735
|
-
name: stringType(),
|
|
39736
|
-
eventTypes: arrayType(WebhookEventTypes$outboundSchema),
|
|
39737
|
-
status: WebhookStatus$outboundSchema,
|
|
39738
|
-
mode: Mode$outboundSchema,
|
|
39739
|
-
links: lazyType(() => EntityWebhookLinks$outboundSchema)
|
|
39740
|
-
}).transform((v2) => {
|
|
39741
|
-
return remap(v2, {
|
|
39742
|
-
links: "_links"
|
|
39743
|
-
});
|
|
39744
|
-
});
|
|
39745
|
-
});
|
|
39746
|
-
|
|
39747
|
-
// src/models/paymentaddress.ts
|
|
39748
|
-
var PaymentAddress$inboundSchema, PaymentAddress$outboundSchema;
|
|
39749
|
-
var init_paymentaddress = __esm(() => {
|
|
39750
|
-
init_esm();
|
|
39751
|
-
PaymentAddress$inboundSchema = objectType({
|
|
39752
|
-
title: stringType().optional(),
|
|
39753
|
-
givenName: stringType().optional(),
|
|
39754
|
-
familyName: stringType().optional(),
|
|
39755
|
-
organizationName: stringType().optional(),
|
|
39756
|
-
streetAndNumber: stringType().optional(),
|
|
39757
|
-
streetAdditional: stringType().optional(),
|
|
39758
|
-
postalCode: stringType().optional(),
|
|
39759
|
-
email: stringType().optional(),
|
|
39760
|
-
phone: stringType().optional(),
|
|
39761
|
-
city: stringType().optional(),
|
|
39762
|
-
region: stringType().optional(),
|
|
39763
|
-
country: stringType().optional()
|
|
39764
|
-
});
|
|
39765
|
-
PaymentAddress$outboundSchema = objectType({
|
|
39766
|
-
title: stringType().optional(),
|
|
39767
|
-
givenName: stringType().optional(),
|
|
39768
|
-
familyName: stringType().optional(),
|
|
39769
|
-
organizationName: stringType().optional(),
|
|
39770
|
-
streetAndNumber: stringType().optional(),
|
|
39771
|
-
streetAdditional: stringType().optional(),
|
|
39772
|
-
postalCode: stringType().optional(),
|
|
39773
|
-
email: stringType().optional(),
|
|
39774
|
-
phone: stringType().optional(),
|
|
39775
|
-
city: stringType().optional(),
|
|
39776
|
-
region: stringType().optional(),
|
|
39777
|
-
country: stringType().optional()
|
|
39778
|
-
});
|
|
39779
|
-
});
|
|
39780
|
-
|
|
39781
|
-
// src/models/linecategoriesresponse.ts
|
|
39782
|
-
var LineCategoriesResponse, LineCategoriesResponse$inboundSchema, LineCategoriesResponse$outboundSchema;
|
|
39783
|
-
var init_linecategoriesresponse = __esm(() => {
|
|
39784
|
-
init_enums();
|
|
39785
|
-
LineCategoriesResponse = {
|
|
39786
|
-
Eco: "eco",
|
|
39787
|
-
Gift: "gift",
|
|
39788
|
-
Meal: "meal",
|
|
39789
|
-
SportCulture: "sport_culture",
|
|
39790
|
-
Additional: "additional",
|
|
39791
|
-
Consume: "consume"
|
|
39792
|
-
};
|
|
39793
|
-
LineCategoriesResponse$inboundSchema = inboundSchema(LineCategoriesResponse);
|
|
39794
|
-
LineCategoriesResponse$outboundSchema = outboundSchema(LineCategoriesResponse);
|
|
39795
|
-
});
|
|
39796
|
-
|
|
39797
|
-
// src/models/paymentlinetyperesponse.ts
|
|
39798
|
-
var PaymentLineTypeResponse, PaymentLineTypeResponse$inboundSchema, PaymentLineTypeResponse$outboundSchema;
|
|
39799
|
-
var init_paymentlinetyperesponse = __esm(() => {
|
|
39800
|
-
init_enums();
|
|
39801
|
-
PaymentLineTypeResponse = {
|
|
39802
|
-
Physical: "physical",
|
|
39803
|
-
Digital: "digital",
|
|
39804
|
-
ShippingFee: "shipping_fee",
|
|
39805
|
-
Discount: "discount",
|
|
39806
|
-
StoreCredit: "store_credit",
|
|
39807
|
-
GiftCard: "gift_card",
|
|
39808
|
-
Surcharge: "surcharge",
|
|
39809
|
-
Tip: "tip"
|
|
39810
|
-
};
|
|
39811
|
-
PaymentLineTypeResponse$inboundSchema = inboundSchema(PaymentLineTypeResponse);
|
|
39812
|
-
PaymentLineTypeResponse$outboundSchema = outboundSchema(PaymentLineTypeResponse);
|
|
39813
|
-
});
|
|
39814
|
-
|
|
39815
|
-
// src/models/paymentlineitemresponse.ts
|
|
39816
|
-
var PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema;
|
|
39817
|
-
var init_paymentlineitemresponse = __esm(() => {
|
|
39818
|
-
init_esm();
|
|
39819
|
-
init_amount();
|
|
39820
|
-
init_linecategoriesresponse();
|
|
39821
|
-
init_paymentlinetyperesponse();
|
|
39822
|
-
PaymentLineItemResponse$inboundSchema = objectType({
|
|
39823
|
-
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
39824
|
-
description: stringType(),
|
|
39825
|
-
quantity: numberType().int(),
|
|
39826
|
-
quantityUnit: stringType().optional(),
|
|
39827
|
-
unitPrice: Amount$inboundSchema,
|
|
39828
|
-
discountAmount: Amount$inboundSchema.optional(),
|
|
39829
|
-
totalAmount: Amount$inboundSchema,
|
|
39830
|
-
vatRate: stringType().optional(),
|
|
39831
|
-
vatAmount: Amount$inboundSchema.optional(),
|
|
39832
|
-
sku: stringType().optional(),
|
|
39833
|
-
categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
|
|
39834
|
-
imageUrl: stringType().optional(),
|
|
39835
|
-
productUrl: stringType().optional()
|
|
39836
|
-
});
|
|
39837
|
-
PaymentLineItemResponse$outboundSchema = objectType({
|
|
39838
|
-
type: PaymentLineTypeResponse$outboundSchema.optional(),
|
|
39839
|
-
description: stringType(),
|
|
39840
|
-
quantity: numberType().int(),
|
|
39841
|
-
quantityUnit: stringType().optional(),
|
|
39842
|
-
unitPrice: Amount$outboundSchema,
|
|
39843
|
-
discountAmount: Amount$outboundSchema.optional(),
|
|
39844
|
-
totalAmount: Amount$outboundSchema,
|
|
39845
|
-
vatRate: stringType().optional(),
|
|
39846
|
-
vatAmount: Amount$outboundSchema.optional(),
|
|
39847
|
-
sku: stringType().optional(),
|
|
39848
|
-
categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
|
|
39849
|
-
imageUrl: stringType().optional(),
|
|
39850
|
-
productUrl: stringType().optional()
|
|
39851
|
-
});
|
|
39868
|
+
MethodResourceParameter$inboundSchema = nativeEnumType(MethodResourceParameter);
|
|
39869
|
+
MethodResourceParameter$outboundSchema = MethodResourceParameter$inboundSchema;
|
|
39852
39870
|
});
|
|
39853
39871
|
|
|
39854
|
-
// src/models/
|
|
39855
|
-
var
|
|
39856
|
-
var
|
|
39872
|
+
// src/models/methodresponse.ts
|
|
39873
|
+
var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
|
|
39874
|
+
var init_methodresponse = __esm(() => {
|
|
39857
39875
|
init_enums();
|
|
39858
|
-
|
|
39876
|
+
MethodResponse = {
|
|
39877
|
+
Alma: "alma",
|
|
39859
39878
|
Applepay: "applepay",
|
|
39860
39879
|
Bacs: "bacs",
|
|
39861
39880
|
Bancomatpay: "bancomatpay",
|
|
@@ -39863,8 +39882,10 @@ var init_paymentlinkmethodresponse = __esm(() => {
|
|
|
39863
39882
|
Banktransfer: "banktransfer",
|
|
39864
39883
|
Belfius: "belfius",
|
|
39865
39884
|
Billie: "billie",
|
|
39885
|
+
Bizum: "bizum",
|
|
39866
39886
|
Blik: "blik",
|
|
39867
39887
|
Creditcard: "creditcard",
|
|
39888
|
+
Directdebit: "directdebit",
|
|
39868
39889
|
Eps: "eps",
|
|
39869
39890
|
Giftcard: "giftcard",
|
|
39870
39891
|
Ideal: "ideal",
|
|
@@ -39872,9 +39893,11 @@ var init_paymentlinkmethodresponse = __esm(() => {
|
|
|
39872
39893
|
Kbc: "kbc",
|
|
39873
39894
|
Klarna: "klarna",
|
|
39874
39895
|
Mbway: "mbway",
|
|
39896
|
+
Mobilepay: "mobilepay",
|
|
39875
39897
|
Multibanco: "multibanco",
|
|
39876
39898
|
Mybank: "mybank",
|
|
39877
39899
|
Paybybank: "paybybank",
|
|
39900
|
+
Payconiq: "payconiq",
|
|
39878
39901
|
Paypal: "paypal",
|
|
39879
39902
|
Paysafecard: "paysafecard",
|
|
39880
39903
|
Pointofsale: "pointofsale",
|
|
@@ -39884,545 +39907,260 @@ var init_paymentlinkmethodresponse = __esm(() => {
|
|
|
39884
39907
|
Swish: "swish",
|
|
39885
39908
|
Trustly: "trustly",
|
|
39886
39909
|
Twint: "twint",
|
|
39887
|
-
|
|
39910
|
+
Vipps: "vipps",
|
|
39911
|
+
Voucher: "voucher",
|
|
39912
|
+
Klarnapaylater: "klarnapaylater",
|
|
39913
|
+
Klarnapaynow: "klarnapaynow",
|
|
39914
|
+
Klarnasliceit: "klarnasliceit"
|
|
39888
39915
|
};
|
|
39889
|
-
|
|
39890
|
-
|
|
39916
|
+
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
39917
|
+
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
39891
39918
|
});
|
|
39892
39919
|
|
|
39893
|
-
// src/models/
|
|
39894
|
-
var
|
|
39895
|
-
var
|
|
39920
|
+
// src/models/onboardingvatregulation.ts
|
|
39921
|
+
var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
|
|
39922
|
+
var init_onboardingvatregulation = __esm(() => {
|
|
39923
|
+
init_esm();
|
|
39924
|
+
OnboardingVatRegulation = {
|
|
39925
|
+
Dutch: "dutch",
|
|
39926
|
+
British: "british",
|
|
39927
|
+
Shifted: "shifted"
|
|
39928
|
+
};
|
|
39929
|
+
OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
|
|
39930
|
+
OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
|
|
39931
|
+
});
|
|
39932
|
+
|
|
39933
|
+
// src/models/paymentdetailscardauditionresponse.ts
|
|
39934
|
+
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
|
|
39935
|
+
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
39896
39936
|
init_enums();
|
|
39897
|
-
|
|
39898
|
-
|
|
39899
|
-
|
|
39937
|
+
PaymentDetailsCardAuditionResponse = {
|
|
39938
|
+
Consumer: "consumer",
|
|
39939
|
+
Business: "business"
|
|
39900
39940
|
};
|
|
39901
|
-
|
|
39902
|
-
|
|
39941
|
+
PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
|
|
39942
|
+
PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
|
|
39903
39943
|
});
|
|
39904
39944
|
|
|
39905
|
-
// src/models/
|
|
39906
|
-
var
|
|
39907
|
-
var
|
|
39908
|
-
|
|
39909
|
-
|
|
39910
|
-
|
|
39911
|
-
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
|
-
|
|
39916
|
-
|
|
39917
|
-
init_url2();
|
|
39918
|
-
PaymentLinkResponseApplicationFee$inboundSchema = objectType({
|
|
39919
|
-
amount: Amount$inboundSchema,
|
|
39920
|
-
description: stringType()
|
|
39921
|
-
});
|
|
39922
|
-
PaymentLinkResponseApplicationFee$outboundSchema = objectType({
|
|
39923
|
-
amount: Amount$outboundSchema,
|
|
39924
|
-
description: stringType()
|
|
39925
|
-
});
|
|
39926
|
-
PaymentLinkResponseLinks$inboundSchema = objectType({
|
|
39927
|
-
self: Url$inboundSchema,
|
|
39928
|
-
paymentLink: Url$inboundSchema
|
|
39929
|
-
});
|
|
39930
|
-
PaymentLinkResponseLinks$outboundSchema = objectType({
|
|
39931
|
-
self: Url$outboundSchema,
|
|
39932
|
-
paymentLink: Url$outboundSchema
|
|
39933
|
-
});
|
|
39934
|
-
PaymentLinkResponse$inboundSchema = objectType({
|
|
39935
|
-
resource: stringType(),
|
|
39936
|
-
id: stringType(),
|
|
39937
|
-
mode: Mode$inboundSchema,
|
|
39938
|
-
description: stringType(),
|
|
39939
|
-
amount: nullableType(AmountNullable$inboundSchema),
|
|
39940
|
-
minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
|
|
39941
|
-
archived: booleanType(),
|
|
39942
|
-
redirectUrl: nullableType(stringType()),
|
|
39943
|
-
webhookUrl: nullableType(stringType()),
|
|
39944
|
-
lines: nullableType(arrayType(PaymentLineItemResponse$inboundSchema)).optional(),
|
|
39945
|
-
billingAddress: PaymentAddress$inboundSchema.optional(),
|
|
39946
|
-
shippingAddress: PaymentAddress$inboundSchema.optional(),
|
|
39947
|
-
profileId: nullableType(stringType()),
|
|
39948
|
-
reusable: nullableType(booleanType()),
|
|
39949
|
-
createdAt: stringType(),
|
|
39950
|
-
paidAt: nullableType(stringType()),
|
|
39951
|
-
expiresAt: nullableType(stringType()),
|
|
39952
|
-
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$inboundSchema)),
|
|
39953
|
-
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
|
|
39954
|
-
sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
|
|
39955
|
-
customerId: nullableType(stringType()).optional(),
|
|
39956
|
-
_links: lazyType(() => PaymentLinkResponseLinks$inboundSchema)
|
|
39957
|
-
}).transform((v2) => {
|
|
39958
|
-
return remap(v2, {
|
|
39959
|
-
_links: "links"
|
|
39960
|
-
});
|
|
39961
|
-
});
|
|
39962
|
-
PaymentLinkResponse$outboundSchema = objectType({
|
|
39963
|
-
resource: stringType(),
|
|
39964
|
-
id: stringType(),
|
|
39965
|
-
mode: Mode$outboundSchema,
|
|
39966
|
-
description: stringType(),
|
|
39967
|
-
amount: nullableType(AmountNullable$outboundSchema),
|
|
39968
|
-
minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
|
|
39969
|
-
archived: booleanType(),
|
|
39970
|
-
redirectUrl: nullableType(stringType()),
|
|
39971
|
-
webhookUrl: nullableType(stringType()),
|
|
39972
|
-
lines: nullableType(arrayType(PaymentLineItemResponse$outboundSchema)).optional(),
|
|
39973
|
-
billingAddress: PaymentAddress$outboundSchema.optional(),
|
|
39974
|
-
shippingAddress: PaymentAddress$outboundSchema.optional(),
|
|
39975
|
-
profileId: nullableType(stringType()),
|
|
39976
|
-
reusable: nullableType(booleanType()),
|
|
39977
|
-
createdAt: stringType(),
|
|
39978
|
-
paidAt: nullableType(stringType()),
|
|
39979
|
-
expiresAt: nullableType(stringType()),
|
|
39980
|
-
allowedMethods: nullableType(arrayType(PaymentLinkMethodResponse$outboundSchema)),
|
|
39981
|
-
applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
|
|
39982
|
-
sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
|
|
39983
|
-
customerId: nullableType(stringType()).optional(),
|
|
39984
|
-
links: lazyType(() => PaymentLinkResponseLinks$outboundSchema)
|
|
39985
|
-
}).transform((v2) => {
|
|
39986
|
-
return remap(v2, {
|
|
39987
|
-
links: "_links"
|
|
39988
|
-
});
|
|
39989
|
-
});
|
|
39945
|
+
// src/models/paymentdetailscardfundingresponse.ts
|
|
39946
|
+
var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
|
|
39947
|
+
var init_paymentdetailscardfundingresponse = __esm(() => {
|
|
39948
|
+
init_enums();
|
|
39949
|
+
PaymentDetailsCardFundingResponse = {
|
|
39950
|
+
Debit: "debit",
|
|
39951
|
+
Credit: "credit",
|
|
39952
|
+
Prepaid: "prepaid",
|
|
39953
|
+
DeferredDebit: "deferred-debit"
|
|
39954
|
+
};
|
|
39955
|
+
PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
|
|
39956
|
+
PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
|
|
39990
39957
|
});
|
|
39991
39958
|
|
|
39992
|
-
// src/models/
|
|
39993
|
-
var
|
|
39994
|
-
var
|
|
39959
|
+
// src/models/paymentdetailscardlabelresponse.ts
|
|
39960
|
+
var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
|
|
39961
|
+
var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
39995
39962
|
init_enums();
|
|
39996
|
-
|
|
39997
|
-
|
|
39998
|
-
|
|
39963
|
+
PaymentDetailsCardLabelResponse = {
|
|
39964
|
+
AmericanExpress: "American Express",
|
|
39965
|
+
CartaSi: "Carta Si",
|
|
39966
|
+
CarteBleue: "Carte Bleue",
|
|
39967
|
+
Dankort: "Dankort",
|
|
39968
|
+
DinersClub: "Diners Club",
|
|
39969
|
+
Discover: "Discover",
|
|
39970
|
+
Jcb: "JCB",
|
|
39971
|
+
Laser: "Laser",
|
|
39972
|
+
Maestro: "Maestro",
|
|
39973
|
+
Mastercard: "Mastercard",
|
|
39974
|
+
Unionpay: "Unionpay",
|
|
39975
|
+
Visa: "Visa",
|
|
39976
|
+
Vpay: "Vpay"
|
|
39999
39977
|
};
|
|
40000
|
-
|
|
40001
|
-
|
|
39978
|
+
PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
|
|
39979
|
+
PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
|
|
40002
39980
|
});
|
|
40003
39981
|
|
|
40004
|
-
// src/models/
|
|
40005
|
-
var
|
|
40006
|
-
var
|
|
40007
|
-
init_esm();
|
|
40008
|
-
init_primitives();
|
|
39982
|
+
// src/models/paymentdetailscardsecurityresponse.ts
|
|
39983
|
+
var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
|
|
39984
|
+
var init_paymentdetailscardsecurityresponse = __esm(() => {
|
|
40009
39985
|
init_enums();
|
|
40010
|
-
|
|
40011
|
-
|
|
40012
|
-
|
|
40013
|
-
ProfileResponseStatus = {
|
|
40014
|
-
Unverified: "unverified",
|
|
40015
|
-
Verified: "verified",
|
|
40016
|
-
Blocked: "blocked"
|
|
39986
|
+
PaymentDetailsCardSecurityResponse = {
|
|
39987
|
+
Normal: "normal",
|
|
39988
|
+
Threedsecure: "3dsecure"
|
|
40017
39989
|
};
|
|
40018
|
-
|
|
40019
|
-
|
|
40020
|
-
Review$inboundSchema = objectType({
|
|
40021
|
-
status: ProfileReviewStatusResponse$inboundSchema.optional()
|
|
40022
|
-
});
|
|
40023
|
-
Review$outboundSchema = objectType({
|
|
40024
|
-
status: ProfileReviewStatusResponse$outboundSchema.optional()
|
|
40025
|
-
});
|
|
40026
|
-
ProfileResponseLinks$inboundSchema = objectType({
|
|
40027
|
-
self: Url$inboundSchema.optional(),
|
|
40028
|
-
dashboard: Url$inboundSchema.optional(),
|
|
40029
|
-
chargebacks: Url$inboundSchema.optional(),
|
|
40030
|
-
methods: Url$inboundSchema.optional(),
|
|
40031
|
-
payments: Url$inboundSchema.optional(),
|
|
40032
|
-
refunds: Url$inboundSchema.optional(),
|
|
40033
|
-
checkoutPreviewUrl: Url$inboundSchema.optional(),
|
|
40034
|
-
documentation: Url$inboundSchema.optional()
|
|
40035
|
-
});
|
|
40036
|
-
ProfileResponseLinks$outboundSchema = objectType({
|
|
40037
|
-
self: Url$outboundSchema.optional(),
|
|
40038
|
-
dashboard: Url$outboundSchema.optional(),
|
|
40039
|
-
chargebacks: Url$outboundSchema.optional(),
|
|
40040
|
-
methods: Url$outboundSchema.optional(),
|
|
40041
|
-
payments: Url$outboundSchema.optional(),
|
|
40042
|
-
refunds: Url$outboundSchema.optional(),
|
|
40043
|
-
checkoutPreviewUrl: Url$outboundSchema.optional(),
|
|
40044
|
-
documentation: Url$outboundSchema.optional()
|
|
40045
|
-
});
|
|
40046
|
-
ProfileResponse$inboundSchema = objectType({
|
|
40047
|
-
resource: stringType(),
|
|
40048
|
-
id: stringType(),
|
|
40049
|
-
mode: Mode$inboundSchema,
|
|
40050
|
-
name: stringType(),
|
|
40051
|
-
website: stringType(),
|
|
40052
|
-
email: stringType(),
|
|
40053
|
-
phone: stringType(),
|
|
40054
|
-
description: stringType().optional(),
|
|
40055
|
-
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40056
|
-
businessCategory: stringType(),
|
|
40057
|
-
status: ProfileResponseStatus$inboundSchema,
|
|
40058
|
-
review: lazyType(() => Review$inboundSchema).optional(),
|
|
40059
|
-
createdAt: stringType(),
|
|
40060
|
-
_links: lazyType(() => ProfileResponseLinks$inboundSchema)
|
|
40061
|
-
}).transform((v2) => {
|
|
40062
|
-
return remap(v2, {
|
|
40063
|
-
_links: "links"
|
|
40064
|
-
});
|
|
40065
|
-
});
|
|
40066
|
-
ProfileResponse$outboundSchema = objectType({
|
|
40067
|
-
resource: stringType(),
|
|
40068
|
-
id: stringType(),
|
|
40069
|
-
mode: Mode$outboundSchema,
|
|
40070
|
-
name: stringType(),
|
|
40071
|
-
website: stringType(),
|
|
40072
|
-
email: stringType(),
|
|
40073
|
-
phone: stringType(),
|
|
40074
|
-
description: stringType().optional(),
|
|
40075
|
-
countriesOfActivity: arrayType(stringType()).optional(),
|
|
40076
|
-
businessCategory: stringType(),
|
|
40077
|
-
status: ProfileResponseStatus$outboundSchema,
|
|
40078
|
-
review: lazyType(() => Review$outboundSchema).optional(),
|
|
40079
|
-
createdAt: stringType(),
|
|
40080
|
-
links: lazyType(() => ProfileResponseLinks$outboundSchema)
|
|
40081
|
-
}).transform((v2) => {
|
|
40082
|
-
return remap(v2, {
|
|
40083
|
-
links: "_links"
|
|
40084
|
-
});
|
|
40085
|
-
});
|
|
39990
|
+
PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
|
|
39991
|
+
PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40086
39992
|
});
|
|
40087
39993
|
|
|
40088
|
-
// src/models/
|
|
40089
|
-
var
|
|
40090
|
-
var
|
|
40091
|
-
init_esm();
|
|
40092
|
-
init_primitives();
|
|
39994
|
+
// src/models/paymentdetailsfailurereasonresponse.ts
|
|
39995
|
+
var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
|
|
39996
|
+
var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
40093
39997
|
init_enums();
|
|
40094
|
-
|
|
40095
|
-
|
|
40096
|
-
|
|
40097
|
-
|
|
40098
|
-
|
|
40099
|
-
|
|
40100
|
-
|
|
40101
|
-
|
|
40102
|
-
|
|
40103
|
-
|
|
40104
|
-
|
|
39998
|
+
PaymentDetailsFailureReasonResponse = {
|
|
39999
|
+
AuthenticationAbandoned: "authentication_abandoned",
|
|
40000
|
+
AuthenticationFailed: "authentication_failed",
|
|
40001
|
+
AuthenticationRequired: "authentication_required",
|
|
40002
|
+
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
40003
|
+
CardDeclined: "card_declined",
|
|
40004
|
+
CardExpired: "card_expired",
|
|
40005
|
+
InactiveCard: "inactive_card",
|
|
40006
|
+
InsufficientFunds: "insufficient_funds",
|
|
40007
|
+
InvalidCvv: "invalid_cvv",
|
|
40008
|
+
InvalidCardHolderName: "invalid_card_holder_name",
|
|
40009
|
+
InvalidCardNumber: "invalid_card_number",
|
|
40010
|
+
InvalidCardType: "invalid_card_type",
|
|
40011
|
+
PossibleFraud: "possible_fraud",
|
|
40012
|
+
RefusedByIssuer: "refused_by_issuer",
|
|
40013
|
+
UnknownReason: "unknown_reason"
|
|
40105
40014
|
};
|
|
40106
|
-
|
|
40107
|
-
|
|
40108
|
-
Entity$inboundSchema = unionType([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
|
|
40109
|
-
Entity$outboundSchema = unionType([
|
|
40110
|
-
PaymentLinkResponse$outboundSchema,
|
|
40111
|
-
ProfileResponse$outboundSchema
|
|
40112
|
-
]);
|
|
40113
|
-
Embedded$inboundSchema = objectType({
|
|
40114
|
-
entity: unionType([
|
|
40115
|
-
PaymentLinkResponse$inboundSchema,
|
|
40116
|
-
ProfileResponse$inboundSchema
|
|
40117
|
-
]).optional()
|
|
40118
|
-
});
|
|
40119
|
-
Embedded$outboundSchema = objectType({
|
|
40120
|
-
entity: unionType([
|
|
40121
|
-
PaymentLinkResponse$outboundSchema,
|
|
40122
|
-
ProfileResponse$outboundSchema
|
|
40123
|
-
]).optional()
|
|
40124
|
-
});
|
|
40125
|
-
EntityWebhookEventLinks$inboundSchema = objectType({
|
|
40126
|
-
self: Url$inboundSchema,
|
|
40127
|
-
documentation: Url$inboundSchema,
|
|
40128
|
-
entity: Url$inboundSchema.optional()
|
|
40129
|
-
});
|
|
40130
|
-
EntityWebhookEventLinks$outboundSchema = objectType({
|
|
40131
|
-
self: Url$outboundSchema,
|
|
40132
|
-
documentation: Url$outboundSchema,
|
|
40133
|
-
entity: Url$outboundSchema.optional()
|
|
40134
|
-
});
|
|
40135
|
-
EntityWebhookEvent$inboundSchema = objectType({
|
|
40136
|
-
resource: stringType(),
|
|
40137
|
-
id: stringType(),
|
|
40138
|
-
type: EntityWebhookEventWebhookEventTypes$inboundSchema,
|
|
40139
|
-
entityId: stringType(),
|
|
40140
|
-
createdAt: stringType(),
|
|
40141
|
-
_embedded: nullableType(lazyType(() => Embedded$inboundSchema)).optional(),
|
|
40142
|
-
_links: lazyType(() => EntityWebhookEventLinks$inboundSchema)
|
|
40143
|
-
}).transform((v2) => {
|
|
40144
|
-
return remap(v2, {
|
|
40145
|
-
type: "webhookEventTypes",
|
|
40146
|
-
_embedded: "embedded",
|
|
40147
|
-
_links: "links"
|
|
40148
|
-
});
|
|
40149
|
-
});
|
|
40150
|
-
EntityWebhookEvent$outboundSchema = objectType({
|
|
40151
|
-
resource: stringType(),
|
|
40152
|
-
id: stringType(),
|
|
40153
|
-
webhookEventTypes: EntityWebhookEventWebhookEventTypes$outboundSchema,
|
|
40154
|
-
entityId: stringType(),
|
|
40155
|
-
createdAt: stringType(),
|
|
40156
|
-
embedded: nullableType(lazyType(() => Embedded$outboundSchema)).optional(),
|
|
40157
|
-
links: lazyType(() => EntityWebhookEventLinks$outboundSchema)
|
|
40158
|
-
}).transform((v2) => {
|
|
40159
|
-
return remap(v2, {
|
|
40160
|
-
webhookEventTypes: "type",
|
|
40161
|
-
embedded: "_embedded",
|
|
40162
|
-
links: "_links"
|
|
40163
|
-
});
|
|
40164
|
-
});
|
|
40165
|
-
});
|
|
40166
|
-
|
|
40167
|
-
// src/models/errorresponse.ts
|
|
40168
|
-
var Documentation$inboundSchema, Documentation$outboundSchema, ErrorResponseLinks$inboundSchema, ErrorResponseLinks$outboundSchema;
|
|
40169
|
-
var init_errorresponse = __esm(() => {
|
|
40170
|
-
init_esm();
|
|
40171
|
-
Documentation$inboundSchema = objectType({
|
|
40172
|
-
href: stringType(),
|
|
40173
|
-
type: stringType()
|
|
40174
|
-
});
|
|
40175
|
-
Documentation$outboundSchema = objectType({
|
|
40176
|
-
href: stringType(),
|
|
40177
|
-
type: stringType()
|
|
40178
|
-
});
|
|
40179
|
-
ErrorResponseLinks$inboundSchema = objectType({
|
|
40180
|
-
documentation: lazyType(() => Documentation$inboundSchema)
|
|
40181
|
-
});
|
|
40182
|
-
ErrorResponseLinks$outboundSchema = objectType({
|
|
40183
|
-
documentation: lazyType(() => Documentation$outboundSchema)
|
|
40184
|
-
});
|
|
40015
|
+
PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40016
|
+
PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40185
40017
|
});
|
|
40186
40018
|
|
|
40187
|
-
// src/models/
|
|
40188
|
-
var
|
|
40189
|
-
var
|
|
40190
|
-
|
|
40191
|
-
|
|
40192
|
-
|
|
40193
|
-
|
|
40194
|
-
|
|
40195
|
-
|
|
40196
|
-
|
|
40197
|
-
|
|
40019
|
+
// src/models/paymentdetailsfeeregionresponse.ts
|
|
40020
|
+
var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
|
|
40021
|
+
var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
40022
|
+
init_enums();
|
|
40023
|
+
PaymentDetailsFeeRegionResponse = {
|
|
40024
|
+
AmericanExpress: "american-express",
|
|
40025
|
+
AmexIntraEea: "amex-intra-eea",
|
|
40026
|
+
CarteBancaire: "carte-bancaire",
|
|
40027
|
+
IntraEu: "intra-eu",
|
|
40028
|
+
IntraEuCorporate: "intra-eu-corporate",
|
|
40029
|
+
Domestic: "domestic",
|
|
40030
|
+
Maestro: "maestro",
|
|
40031
|
+
Other: "other",
|
|
40032
|
+
Inter: "inter",
|
|
40033
|
+
IntraEea: "intra_eea"
|
|
40198
40034
|
};
|
|
40199
|
-
|
|
40200
|
-
|
|
40035
|
+
PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40036
|
+
PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40201
40037
|
});
|
|
40202
40038
|
|
|
40203
|
-
// src/models/
|
|
40204
|
-
var
|
|
40205
|
-
var
|
|
40206
|
-
|
|
40207
|
-
|
|
40208
|
-
|
|
40209
|
-
|
|
40210
|
-
|
|
40211
|
-
|
|
40212
|
-
|
|
40213
|
-
|
|
40214
|
-
|
|
40215
|
-
|
|
40216
|
-
self: Url$outboundSchema,
|
|
40217
|
-
previous: nullableType(UrlNullable$outboundSchema),
|
|
40218
|
-
next: nullableType(UrlNullable$outboundSchema),
|
|
40219
|
-
documentation: Url$outboundSchema
|
|
40220
|
-
});
|
|
40039
|
+
// src/models/paymentdetailsreceiptcardreadmethodresponse.ts
|
|
40040
|
+
var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
|
|
40041
|
+
var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
40042
|
+
init_enums();
|
|
40043
|
+
PaymentDetailsReceiptCardReadMethodResponse = {
|
|
40044
|
+
Chip: "chip",
|
|
40045
|
+
MagneticStripe: "magnetic-stripe",
|
|
40046
|
+
NearFieldCommunication: "near-field-communication",
|
|
40047
|
+
Contactless: "contactless",
|
|
40048
|
+
Moto: "moto"
|
|
40049
|
+
};
|
|
40050
|
+
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40051
|
+
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40221
40052
|
});
|
|
40222
40053
|
|
|
40223
|
-
// src/models/
|
|
40224
|
-
var
|
|
40225
|
-
var
|
|
40226
|
-
|
|
40227
|
-
|
|
40228
|
-
|
|
40229
|
-
|
|
40230
|
-
|
|
40231
|
-
|
|
40232
|
-
|
|
40233
|
-
|
|
40234
|
-
|
|
40235
|
-
|
|
40236
|
-
|
|
40237
|
-
ESES: "es_ES",
|
|
40238
|
-
CaES: "ca_ES",
|
|
40239
|
-
PTPT: "pt_PT",
|
|
40240
|
-
ITIT: "it_IT",
|
|
40241
|
-
NbNO: "nb_NO",
|
|
40242
|
-
SvSE: "sv_SE",
|
|
40243
|
-
FIFI: "fi_FI",
|
|
40244
|
-
DaDK: "da_DK",
|
|
40245
|
-
ISIS: "is_IS",
|
|
40246
|
-
HUHU: "hu_HU",
|
|
40247
|
-
PLPL: "pl_PL",
|
|
40248
|
-
LVLV: "lv_LV",
|
|
40249
|
-
LTLT: "lt_LT",
|
|
40250
|
-
Null: "null"
|
|
40054
|
+
// src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
|
|
40055
|
+
var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
|
|
40056
|
+
var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
40057
|
+
init_enums();
|
|
40058
|
+
PaymentDetailsReceiptCardVerificationMethodResponse = {
|
|
40059
|
+
NoCvmRequired: "no-cvm-required",
|
|
40060
|
+
OnlinePin: "online-pin",
|
|
40061
|
+
OfflinePin: "offline-pin",
|
|
40062
|
+
ConsumerDevice: "consumer-device",
|
|
40063
|
+
Signature: "signature",
|
|
40064
|
+
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
40065
|
+
OnlinePinAndSignature: "online-pin-and-signature",
|
|
40066
|
+
None: "none",
|
|
40067
|
+
Failed: "failed"
|
|
40251
40068
|
};
|
|
40252
|
-
|
|
40253
|
-
|
|
40069
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40070
|
+
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40254
40071
|
});
|
|
40255
40072
|
|
|
40256
|
-
// src/models/
|
|
40257
|
-
var
|
|
40258
|
-
var
|
|
40073
|
+
// src/models/paymentdetailssellerprotectionresponse.ts
|
|
40074
|
+
var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
|
|
40075
|
+
var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
40259
40076
|
init_enums();
|
|
40260
|
-
|
|
40261
|
-
|
|
40262
|
-
|
|
40263
|
-
|
|
40264
|
-
|
|
40265
|
-
|
|
40266
|
-
|
|
40267
|
-
|
|
40268
|
-
|
|
40269
|
-
Maestro: "Maestro",
|
|
40270
|
-
Mastercard: "Mastercard",
|
|
40271
|
-
Unionpay: "Unionpay",
|
|
40272
|
-
Visa: "Visa"
|
|
40077
|
+
PaymentDetailsSellerProtectionResponse = {
|
|
40078
|
+
Eligible: "Eligible",
|
|
40079
|
+
Ineligible: "Ineligible",
|
|
40080
|
+
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
40081
|
+
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
40082
|
+
PartiallyEligible: "Partially Eligible",
|
|
40083
|
+
None: "None",
|
|
40084
|
+
Active: "Active",
|
|
40085
|
+
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
|
|
40273
40086
|
};
|
|
40274
|
-
|
|
40275
|
-
|
|
40087
|
+
PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40088
|
+
PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40276
40089
|
});
|
|
40277
40090
|
|
|
40278
|
-
// src/models/
|
|
40279
|
-
var
|
|
40280
|
-
var
|
|
40281
|
-
|
|
40282
|
-
|
|
40283
|
-
|
|
40284
|
-
Directdebit: "directdebit",
|
|
40285
|
-
Paypal: "paypal"
|
|
40091
|
+
// src/models/paymentdetailswalletresponse.ts
|
|
40092
|
+
var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
|
|
40093
|
+
var init_paymentdetailswalletresponse = __esm(() => {
|
|
40094
|
+
init_enums();
|
|
40095
|
+
PaymentDetailsWalletResponse = {
|
|
40096
|
+
Applepay: "applepay"
|
|
40286
40097
|
};
|
|
40287
|
-
|
|
40288
|
-
|
|
40098
|
+
PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
|
|
40099
|
+
PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
|
|
40289
40100
|
});
|
|
40290
40101
|
|
|
40291
|
-
// src/models/
|
|
40292
|
-
var
|
|
40293
|
-
var
|
|
40294
|
-
|
|
40295
|
-
|
|
40296
|
-
|
|
40297
|
-
|
|
40298
|
-
|
|
40102
|
+
// src/models/paymentlinetype.ts
|
|
40103
|
+
var PaymentLineType, PaymentLineType$inboundSchema, PaymentLineType$outboundSchema;
|
|
40104
|
+
var init_paymentlinetype = __esm(() => {
|
|
40105
|
+
init_esm();
|
|
40106
|
+
PaymentLineType = {
|
|
40107
|
+
Physical: "physical",
|
|
40108
|
+
Digital: "digital",
|
|
40109
|
+
ShippingFee: "shipping_fee",
|
|
40110
|
+
Discount: "discount",
|
|
40111
|
+
StoreCredit: "store_credit",
|
|
40112
|
+
GiftCard: "gift_card",
|
|
40113
|
+
Surcharge: "surcharge",
|
|
40114
|
+
Tip: "tip"
|
|
40299
40115
|
};
|
|
40300
|
-
|
|
40301
|
-
|
|
40116
|
+
PaymentLineType$inboundSchema = nativeEnumType(PaymentLineType);
|
|
40117
|
+
PaymentLineType$outboundSchema = PaymentLineType$inboundSchema;
|
|
40302
40118
|
});
|
|
40303
40119
|
|
|
40304
|
-
// src/models/
|
|
40305
|
-
var
|
|
40306
|
-
var
|
|
40120
|
+
// src/models/paymentlineitem.ts
|
|
40121
|
+
var PaymentLineItem$inboundSchema, PaymentLineItem$outboundSchema;
|
|
40122
|
+
var init_paymentlineitem = __esm(() => {
|
|
40307
40123
|
init_esm();
|
|
40308
|
-
|
|
40309
|
-
|
|
40310
|
-
|
|
40311
|
-
|
|
40312
|
-
|
|
40313
|
-
|
|
40314
|
-
|
|
40315
|
-
|
|
40316
|
-
|
|
40317
|
-
|
|
40318
|
-
|
|
40319
|
-
|
|
40320
|
-
|
|
40321
|
-
|
|
40322
|
-
|
|
40323
|
-
|
|
40324
|
-
|
|
40325
|
-
consumerName: stringType(),
|
|
40326
|
-
consumerAccount: nullableType(stringType()).optional(),
|
|
40327
|
-
consumerBic: nullableType(stringType()).optional(),
|
|
40328
|
-
consumerEmail: nullableType(stringType()).optional(),
|
|
40329
|
-
signatureDate: nullableType(stringType()).optional(),
|
|
40330
|
-
mandateReference: nullableType(stringType()).optional(),
|
|
40331
|
-
paypalBillingAgreementId: nullableType(stringType()).optional(),
|
|
40332
|
-
payPalVaultId: nullableType(stringType()).optional(),
|
|
40333
|
-
testmode: nullableType(booleanType()).optional()
|
|
40334
|
-
});
|
|
40335
|
-
});
|
|
40336
|
-
|
|
40337
|
-
// src/models/mandateresponse.ts
|
|
40338
|
-
var MandateResponseStatus, MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseStatus$inboundSchema, MandateResponseStatus$outboundSchema, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponse$inboundSchema, MandateResponse$outboundSchema;
|
|
40339
|
-
var init_mandateresponse = __esm(() => {
|
|
40340
|
-
init_esm();
|
|
40341
|
-
init_primitives();
|
|
40342
|
-
init_enums();
|
|
40343
|
-
init_mandatedetailscardlabelresponse();
|
|
40344
|
-
init_mandatemethodresponse();
|
|
40345
|
-
init_mode();
|
|
40346
|
-
init_url2();
|
|
40347
|
-
MandateResponseStatus = {
|
|
40348
|
-
Valid: "valid",
|
|
40349
|
-
Pending: "pending",
|
|
40350
|
-
Invalid: "invalid"
|
|
40351
|
-
};
|
|
40352
|
-
MandateResponseDetails$inboundSchema = objectType({
|
|
40353
|
-
consumerName: nullableType(stringType()).optional(),
|
|
40354
|
-
consumerAccount: nullableType(stringType()).optional(),
|
|
40355
|
-
consumerBic: nullableType(stringType()).optional(),
|
|
40356
|
-
cardHolder: nullableType(stringType()).optional(),
|
|
40357
|
-
cardNumber: nullableType(stringType()).optional(),
|
|
40358
|
-
cardExpiryDate: nullableType(stringType()).optional(),
|
|
40359
|
-
cardLabel: nullableType(MandateDetailsCardLabelResponse$inboundSchema).optional(),
|
|
40360
|
-
cardFingerprint: nullableType(stringType()).optional()
|
|
40361
|
-
});
|
|
40362
|
-
MandateResponseDetails$outboundSchema = objectType({
|
|
40363
|
-
consumerName: nullableType(stringType()).optional(),
|
|
40364
|
-
consumerAccount: nullableType(stringType()).optional(),
|
|
40365
|
-
consumerBic: nullableType(stringType()).optional(),
|
|
40366
|
-
cardHolder: nullableType(stringType()).optional(),
|
|
40367
|
-
cardNumber: nullableType(stringType()).optional(),
|
|
40368
|
-
cardExpiryDate: nullableType(stringType()).optional(),
|
|
40369
|
-
cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
|
|
40370
|
-
cardFingerprint: nullableType(stringType()).optional()
|
|
40371
|
-
});
|
|
40372
|
-
MandateResponseStatus$inboundSchema = inboundSchema(MandateResponseStatus);
|
|
40373
|
-
MandateResponseStatus$outboundSchema = outboundSchema(MandateResponseStatus);
|
|
40374
|
-
MandateResponseLinks$inboundSchema = objectType({
|
|
40375
|
-
self: Url$inboundSchema,
|
|
40376
|
-
customer: Url$inboundSchema,
|
|
40377
|
-
documentation: Url$inboundSchema
|
|
40378
|
-
});
|
|
40379
|
-
MandateResponseLinks$outboundSchema = objectType({
|
|
40380
|
-
self: Url$outboundSchema,
|
|
40381
|
-
customer: Url$outboundSchema,
|
|
40382
|
-
documentation: Url$outboundSchema
|
|
40383
|
-
});
|
|
40384
|
-
MandateResponse$inboundSchema = objectType({
|
|
40385
|
-
resource: stringType(),
|
|
40386
|
-
id: stringType(),
|
|
40387
|
-
mode: Mode$inboundSchema,
|
|
40388
|
-
method: MandateMethodResponse$inboundSchema,
|
|
40389
|
-
details: lazyType(() => MandateResponseDetails$inboundSchema),
|
|
40390
|
-
signatureDate: nullableType(stringType()),
|
|
40391
|
-
mandateReference: nullableType(stringType()),
|
|
40392
|
-
status: MandateResponseStatus$inboundSchema,
|
|
40393
|
-
customerId: stringType(),
|
|
40394
|
-
createdAt: stringType(),
|
|
40395
|
-
_links: lazyType(() => MandateResponseLinks$inboundSchema)
|
|
40396
|
-
}).transform((v2) => {
|
|
40397
|
-
return remap(v2, {
|
|
40398
|
-
_links: "links"
|
|
40399
|
-
});
|
|
40124
|
+
init_amount();
|
|
40125
|
+
init_linecategories();
|
|
40126
|
+
init_paymentlinetype();
|
|
40127
|
+
PaymentLineItem$inboundSchema = objectType({
|
|
40128
|
+
type: PaymentLineType$inboundSchema.optional(),
|
|
40129
|
+
description: stringType(),
|
|
40130
|
+
quantity: numberType().int(),
|
|
40131
|
+
quantityUnit: stringType().optional(),
|
|
40132
|
+
unitPrice: Amount$inboundSchema,
|
|
40133
|
+
discountAmount: Amount$inboundSchema.optional(),
|
|
40134
|
+
totalAmount: Amount$inboundSchema,
|
|
40135
|
+
vatRate: stringType().optional(),
|
|
40136
|
+
vatAmount: Amount$inboundSchema.optional(),
|
|
40137
|
+
sku: stringType().optional(),
|
|
40138
|
+
categories: arrayType(LineCategories$inboundSchema).optional(),
|
|
40139
|
+
imageUrl: stringType().optional(),
|
|
40140
|
+
productUrl: stringType().optional()
|
|
40400
40141
|
});
|
|
40401
|
-
|
|
40402
|
-
|
|
40403
|
-
|
|
40404
|
-
|
|
40405
|
-
|
|
40406
|
-
|
|
40407
|
-
|
|
40408
|
-
|
|
40409
|
-
|
|
40410
|
-
|
|
40411
|
-
|
|
40412
|
-
|
|
40413
|
-
|
|
40414
|
-
|
|
40415
|
-
links: "_links"
|
|
40416
|
-
});
|
|
40142
|
+
PaymentLineItem$outboundSchema = objectType({
|
|
40143
|
+
type: PaymentLineType$outboundSchema.optional(),
|
|
40144
|
+
description: stringType(),
|
|
40145
|
+
quantity: numberType().int(),
|
|
40146
|
+
quantityUnit: stringType().optional(),
|
|
40147
|
+
unitPrice: Amount$outboundSchema,
|
|
40148
|
+
discountAmount: Amount$outboundSchema.optional(),
|
|
40149
|
+
totalAmount: Amount$outboundSchema,
|
|
40150
|
+
vatRate: stringType().optional(),
|
|
40151
|
+
vatAmount: Amount$outboundSchema.optional(),
|
|
40152
|
+
sku: stringType().optional(),
|
|
40153
|
+
categories: arrayType(LineCategories$outboundSchema).optional(),
|
|
40154
|
+
imageUrl: stringType().optional(),
|
|
40155
|
+
productUrl: stringType().optional()
|
|
40417
40156
|
});
|
|
40418
40157
|
});
|
|
40419
40158
|
|
|
40420
|
-
// src/models/
|
|
40421
|
-
var
|
|
40422
|
-
var
|
|
40159
|
+
// src/models/paymentlinkmethod.ts
|
|
40160
|
+
var PaymentLinkMethod, PaymentLinkMethod$inboundSchema, PaymentLinkMethod$outboundSchema;
|
|
40161
|
+
var init_paymentlinkmethod = __esm(() => {
|
|
40423
40162
|
init_esm();
|
|
40424
|
-
|
|
40425
|
-
Alma: "alma",
|
|
40163
|
+
PaymentLinkMethod = {
|
|
40426
40164
|
Applepay: "applepay",
|
|
40427
40165
|
Bacs: "bacs",
|
|
40428
40166
|
Bancomatpay: "bancomatpay",
|
|
@@ -40430,10 +40168,8 @@ var init_method = __esm(() => {
|
|
|
40430
40168
|
Banktransfer: "banktransfer",
|
|
40431
40169
|
Belfius: "belfius",
|
|
40432
40170
|
Billie: "billie",
|
|
40433
|
-
Bizum: "bizum",
|
|
40434
40171
|
Blik: "blik",
|
|
40435
40172
|
Creditcard: "creditcard",
|
|
40436
|
-
Directdebit: "directdebit",
|
|
40437
40173
|
Eps: "eps",
|
|
40438
40174
|
Giftcard: "giftcard",
|
|
40439
40175
|
Ideal: "ideal",
|
|
@@ -40441,11 +40177,9 @@ var init_method = __esm(() => {
|
|
|
40441
40177
|
Kbc: "kbc",
|
|
40442
40178
|
Klarna: "klarna",
|
|
40443
40179
|
Mbway: "mbway",
|
|
40444
|
-
Mobilepay: "mobilepay",
|
|
40445
40180
|
Multibanco: "multibanco",
|
|
40446
40181
|
Mybank: "mybank",
|
|
40447
40182
|
Paybybank: "paybybank",
|
|
40448
|
-
Payconiq: "payconiq",
|
|
40449
40183
|
Paypal: "paypal",
|
|
40450
40184
|
Paysafecard: "paysafecard",
|
|
40451
40185
|
Pointofsale: "pointofsale",
|
|
@@ -40455,292 +40189,106 @@ var init_method = __esm(() => {
|
|
|
40455
40189
|
Swish: "swish",
|
|
40456
40190
|
Trustly: "trustly",
|
|
40457
40191
|
Twint: "twint",
|
|
40458
|
-
Vipps: "vipps",
|
|
40459
40192
|
Voucher: "voucher"
|
|
40460
40193
|
};
|
|
40461
|
-
|
|
40462
|
-
|
|
40194
|
+
PaymentLinkMethod$inboundSchema = nativeEnumType(PaymentLinkMethod);
|
|
40195
|
+
PaymentLinkMethod$outboundSchema = PaymentLinkMethod$inboundSchema;
|
|
40463
40196
|
});
|
|
40464
40197
|
|
|
40465
|
-
// src/models/
|
|
40466
|
-
var
|
|
40467
|
-
var
|
|
40198
|
+
// src/models/paymentlinksequencetype.ts
|
|
40199
|
+
var PaymentLinkSequenceType, PaymentLinkSequenceType$inboundSchema, PaymentLinkSequenceType$outboundSchema;
|
|
40200
|
+
var init_paymentlinksequencetype = __esm(() => {
|
|
40468
40201
|
init_esm();
|
|
40469
|
-
|
|
40470
|
-
|
|
40202
|
+
PaymentLinkSequenceType = {
|
|
40203
|
+
Oneoff: "oneoff",
|
|
40204
|
+
First: "first"
|
|
40471
40205
|
};
|
|
40472
|
-
|
|
40473
|
-
|
|
40206
|
+
PaymentLinkSequenceType$inboundSchema = nativeEnumType(PaymentLinkSequenceType);
|
|
40207
|
+
PaymentLinkSequenceType$outboundSchema = PaymentLinkSequenceType$inboundSchema;
|
|
40474
40208
|
});
|
|
40475
40209
|
|
|
40476
|
-
// src/
|
|
40477
|
-
|
|
40478
|
-
|
|
40210
|
+
// src/types/rfcdate.ts
|
|
40211
|
+
class RFCDate {
|
|
40212
|
+
serialized;
|
|
40213
|
+
static today() {
|
|
40214
|
+
return new RFCDate(new Date);
|
|
40215
|
+
}
|
|
40216
|
+
constructor(date2) {
|
|
40217
|
+
if (typeof date2 === "string" && !dateRE.test(date2)) {
|
|
40218
|
+
throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date2);
|
|
40219
|
+
}
|
|
40220
|
+
const value = new Date(date2);
|
|
40221
|
+
if (isNaN(+value)) {
|
|
40222
|
+
throw new RangeError("RFCDate: invalid date provided: " + date2);
|
|
40223
|
+
}
|
|
40224
|
+
this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
|
|
40225
|
+
if (!dateRE.test(this.serialized)) {
|
|
40226
|
+
throw new TypeError(`RFCDate: failed to build valid date with given value: ${date2} serialized to ${this.serialized}`);
|
|
40227
|
+
}
|
|
40228
|
+
}
|
|
40229
|
+
toJSON() {
|
|
40230
|
+
return this.toString();
|
|
40231
|
+
}
|
|
40232
|
+
toString() {
|
|
40233
|
+
return this.serialized;
|
|
40234
|
+
}
|
|
40235
|
+
}
|
|
40236
|
+
var dateRE;
|
|
40237
|
+
var init_rfcdate = __esm(() => {
|
|
40238
|
+
dateRE = /^\d{4}-\d{2}-\d{2}$/;
|
|
40239
|
+
});
|
|
40240
|
+
|
|
40241
|
+
// src/models/recurringlineitem.ts
|
|
40242
|
+
var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
|
|
40243
|
+
var init_recurringlineitem = __esm(() => {
|
|
40479
40244
|
init_esm();
|
|
40480
|
-
|
|
40481
|
-
|
|
40482
|
-
|
|
40245
|
+
init_amount();
|
|
40246
|
+
RecurringLineItem$inboundSchema = objectType({
|
|
40247
|
+
description: stringType().optional(),
|
|
40248
|
+
interval: stringType(),
|
|
40249
|
+
amount: Amount$inboundSchema.optional(),
|
|
40250
|
+
times: numberType().int().optional(),
|
|
40251
|
+
startDate: nullableType(stringType()).optional()
|
|
40252
|
+
});
|
|
40253
|
+
RecurringLineItem$outboundSchema = objectType({
|
|
40254
|
+
description: stringType().optional(),
|
|
40255
|
+
interval: stringType(),
|
|
40256
|
+
amount: Amount$outboundSchema.optional(),
|
|
40257
|
+
times: numberType().int().optional(),
|
|
40258
|
+
startDate: nullableType(stringType()).optional()
|
|
40259
|
+
});
|
|
40260
|
+
});
|
|
40261
|
+
|
|
40262
|
+
// src/models/sequencetype.ts
|
|
40263
|
+
var SequenceType, SequenceType$inboundSchema, SequenceType$outboundSchema;
|
|
40264
|
+
var init_sequencetype = __esm(() => {
|
|
40265
|
+
init_esm();
|
|
40266
|
+
SequenceType = {
|
|
40267
|
+
Oneoff: "oneoff",
|
|
40268
|
+
First: "first",
|
|
40269
|
+
Recurring: "recurring"
|
|
40483
40270
|
};
|
|
40484
|
-
|
|
40485
|
-
|
|
40271
|
+
SequenceType$inboundSchema = nativeEnumType(SequenceType);
|
|
40272
|
+
SequenceType$outboundSchema = SequenceType$inboundSchema;
|
|
40486
40273
|
});
|
|
40487
40274
|
|
|
40488
|
-
// src/models/
|
|
40489
|
-
var
|
|
40490
|
-
var
|
|
40491
|
-
init_enums();
|
|
40492
|
-
MethodResponse = {
|
|
40493
|
-
Alma: "alma",
|
|
40494
|
-
Applepay: "applepay",
|
|
40495
|
-
Bacs: "bacs",
|
|
40496
|
-
Bancomatpay: "bancomatpay",
|
|
40497
|
-
Bancontact: "bancontact",
|
|
40498
|
-
Banktransfer: "banktransfer",
|
|
40499
|
-
Belfius: "belfius",
|
|
40500
|
-
Billie: "billie",
|
|
40501
|
-
Bizum: "bizum",
|
|
40502
|
-
Blik: "blik",
|
|
40503
|
-
Creditcard: "creditcard",
|
|
40504
|
-
Directdebit: "directdebit",
|
|
40505
|
-
Eps: "eps",
|
|
40506
|
-
Giftcard: "giftcard",
|
|
40507
|
-
Ideal: "ideal",
|
|
40508
|
-
In3: "in3",
|
|
40509
|
-
Kbc: "kbc",
|
|
40510
|
-
Klarna: "klarna",
|
|
40511
|
-
Mbway: "mbway",
|
|
40512
|
-
Mobilepay: "mobilepay",
|
|
40513
|
-
Multibanco: "multibanco",
|
|
40514
|
-
Mybank: "mybank",
|
|
40515
|
-
Paybybank: "paybybank",
|
|
40516
|
-
Payconiq: "payconiq",
|
|
40517
|
-
Paypal: "paypal",
|
|
40518
|
-
Paysafecard: "paysafecard",
|
|
40519
|
-
Pointofsale: "pointofsale",
|
|
40520
|
-
Przelewy24: "przelewy24",
|
|
40521
|
-
Riverty: "riverty",
|
|
40522
|
-
Satispay: "satispay",
|
|
40523
|
-
Swish: "swish",
|
|
40524
|
-
Trustly: "trustly",
|
|
40525
|
-
Twint: "twint",
|
|
40526
|
-
Vipps: "vipps",
|
|
40527
|
-
Voucher: "voucher",
|
|
40528
|
-
Klarnapaylater: "klarnapaylater",
|
|
40529
|
-
Klarnapaynow: "klarnapaynow",
|
|
40530
|
-
Klarnasliceit: "klarnasliceit"
|
|
40531
|
-
};
|
|
40532
|
-
MethodResponse$inboundSchema = inboundSchema(MethodResponse);
|
|
40533
|
-
MethodResponse$outboundSchema = outboundSchema(MethodResponse);
|
|
40534
|
-
});
|
|
40535
|
-
|
|
40536
|
-
// src/models/onboardingvatregulation.ts
|
|
40537
|
-
var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
|
|
40538
|
-
var init_onboardingvatregulation = __esm(() => {
|
|
40539
|
-
init_esm();
|
|
40540
|
-
OnboardingVatRegulation = {
|
|
40541
|
-
Dutch: "dutch",
|
|
40542
|
-
British: "british",
|
|
40543
|
-
Shifted: "shifted"
|
|
40544
|
-
};
|
|
40545
|
-
OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
|
|
40546
|
-
OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
|
|
40547
|
-
});
|
|
40548
|
-
|
|
40549
|
-
// src/models/paymentdetailscardauditionresponse.ts
|
|
40550
|
-
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
|
|
40551
|
-
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
40552
|
-
init_enums();
|
|
40553
|
-
PaymentDetailsCardAuditionResponse = {
|
|
40554
|
-
Consumer: "consumer",
|
|
40555
|
-
Business: "business"
|
|
40556
|
-
};
|
|
40557
|
-
PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40558
|
-
PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
|
|
40559
|
-
});
|
|
40560
|
-
|
|
40561
|
-
// src/models/paymentdetailscardfundingresponse.ts
|
|
40562
|
-
var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
|
|
40563
|
-
var init_paymentdetailscardfundingresponse = __esm(() => {
|
|
40564
|
-
init_enums();
|
|
40565
|
-
PaymentDetailsCardFundingResponse = {
|
|
40566
|
-
Debit: "debit",
|
|
40567
|
-
Credit: "credit",
|
|
40568
|
-
Prepaid: "prepaid",
|
|
40569
|
-
DeferredDebit: "deferred-debit"
|
|
40570
|
-
};
|
|
40571
|
-
PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
|
|
40572
|
-
PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
|
|
40573
|
-
});
|
|
40574
|
-
|
|
40575
|
-
// src/models/paymentdetailscardlabelresponse.ts
|
|
40576
|
-
var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
|
|
40577
|
-
var init_paymentdetailscardlabelresponse = __esm(() => {
|
|
40578
|
-
init_enums();
|
|
40579
|
-
PaymentDetailsCardLabelResponse = {
|
|
40580
|
-
AmericanExpress: "American Express",
|
|
40581
|
-
CartaSi: "Carta Si",
|
|
40582
|
-
CarteBleue: "Carte Bleue",
|
|
40583
|
-
Dankort: "Dankort",
|
|
40584
|
-
DinersClub: "Diners Club",
|
|
40585
|
-
Discover: "Discover",
|
|
40586
|
-
Jcb: "JCB",
|
|
40587
|
-
Laser: "Laser",
|
|
40588
|
-
Maestro: "Maestro",
|
|
40589
|
-
Mastercard: "Mastercard",
|
|
40590
|
-
Unionpay: "Unionpay",
|
|
40591
|
-
Visa: "Visa",
|
|
40592
|
-
Vpay: "Vpay"
|
|
40593
|
-
};
|
|
40594
|
-
PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
|
|
40595
|
-
PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
|
|
40596
|
-
});
|
|
40597
|
-
|
|
40598
|
-
// src/models/paymentdetailscardsecurityresponse.ts
|
|
40599
|
-
var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
|
|
40600
|
-
var init_paymentdetailscardsecurityresponse = __esm(() => {
|
|
40601
|
-
init_enums();
|
|
40602
|
-
PaymentDetailsCardSecurityResponse = {
|
|
40603
|
-
Normal: "normal",
|
|
40604
|
-
Threedsecure: "3dsecure"
|
|
40605
|
-
};
|
|
40606
|
-
PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40607
|
-
PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
|
|
40608
|
-
});
|
|
40609
|
-
|
|
40610
|
-
// src/models/paymentdetailsfailurereasonresponse.ts
|
|
40611
|
-
var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
|
|
40612
|
-
var init_paymentdetailsfailurereasonresponse = __esm(() => {
|
|
40613
|
-
init_enums();
|
|
40614
|
-
PaymentDetailsFailureReasonResponse = {
|
|
40615
|
-
AuthenticationAbandoned: "authentication_abandoned",
|
|
40616
|
-
AuthenticationFailed: "authentication_failed",
|
|
40617
|
-
AuthenticationRequired: "authentication_required",
|
|
40618
|
-
AuthenticationUnavailableAcs: "authentication_unavailable_acs",
|
|
40619
|
-
CardDeclined: "card_declined",
|
|
40620
|
-
CardExpired: "card_expired",
|
|
40621
|
-
InactiveCard: "inactive_card",
|
|
40622
|
-
InsufficientFunds: "insufficient_funds",
|
|
40623
|
-
InvalidCvv: "invalid_cvv",
|
|
40624
|
-
InvalidCardHolderName: "invalid_card_holder_name",
|
|
40625
|
-
InvalidCardNumber: "invalid_card_number",
|
|
40626
|
-
InvalidCardType: "invalid_card_type",
|
|
40627
|
-
PossibleFraud: "possible_fraud",
|
|
40628
|
-
RefusedByIssuer: "refused_by_issuer",
|
|
40629
|
-
UnknownReason: "unknown_reason"
|
|
40630
|
-
};
|
|
40631
|
-
PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40632
|
-
PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
|
|
40633
|
-
});
|
|
40634
|
-
|
|
40635
|
-
// src/models/paymentdetailsfeeregionresponse.ts
|
|
40636
|
-
var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
|
|
40637
|
-
var init_paymentdetailsfeeregionresponse = __esm(() => {
|
|
40638
|
-
init_enums();
|
|
40639
|
-
PaymentDetailsFeeRegionResponse = {
|
|
40640
|
-
AmericanExpress: "american-express",
|
|
40641
|
-
AmexIntraEea: "amex-intra-eea",
|
|
40642
|
-
CarteBancaire: "carte-bancaire",
|
|
40643
|
-
IntraEu: "intra-eu",
|
|
40644
|
-
IntraEuCorporate: "intra-eu-corporate",
|
|
40645
|
-
Domestic: "domestic",
|
|
40646
|
-
Maestro: "maestro",
|
|
40647
|
-
Other: "other",
|
|
40648
|
-
Inter: "inter",
|
|
40649
|
-
IntraEea: "intra_eea"
|
|
40650
|
-
};
|
|
40651
|
-
PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40652
|
-
PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
|
|
40653
|
-
});
|
|
40654
|
-
|
|
40655
|
-
// src/models/paymentdetailsreceiptcardreadmethodresponse.ts
|
|
40656
|
-
var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
|
|
40657
|
-
var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
|
|
40658
|
-
init_enums();
|
|
40659
|
-
PaymentDetailsReceiptCardReadMethodResponse = {
|
|
40660
|
-
Chip: "chip",
|
|
40661
|
-
MagneticStripe: "magnetic-stripe",
|
|
40662
|
-
NearFieldCommunication: "near-field-communication",
|
|
40663
|
-
Contactless: "contactless",
|
|
40664
|
-
Moto: "moto"
|
|
40665
|
-
};
|
|
40666
|
-
PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40667
|
-
PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
|
|
40668
|
-
});
|
|
40669
|
-
|
|
40670
|
-
// src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
|
|
40671
|
-
var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
|
|
40672
|
-
var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
|
|
40673
|
-
init_enums();
|
|
40674
|
-
PaymentDetailsReceiptCardVerificationMethodResponse = {
|
|
40675
|
-
NoCvmRequired: "no-cvm-required",
|
|
40676
|
-
OnlinePin: "online-pin",
|
|
40677
|
-
OfflinePin: "offline-pin",
|
|
40678
|
-
ConsumerDevice: "consumer-device",
|
|
40679
|
-
Signature: "signature",
|
|
40680
|
-
SignatureAndOnlinePin: "signature-and-online-pin",
|
|
40681
|
-
OnlinePinAndSignature: "online-pin-and-signature",
|
|
40682
|
-
None: "none",
|
|
40683
|
-
Failed: "failed"
|
|
40684
|
-
};
|
|
40685
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40686
|
-
PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
|
|
40687
|
-
});
|
|
40688
|
-
|
|
40689
|
-
// src/models/paymentdetailssellerprotectionresponse.ts
|
|
40690
|
-
var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
|
|
40691
|
-
var init_paymentdetailssellerprotectionresponse = __esm(() => {
|
|
40692
|
-
init_enums();
|
|
40693
|
-
PaymentDetailsSellerProtectionResponse = {
|
|
40694
|
-
Eligible: "Eligible",
|
|
40695
|
-
Ineligible: "Ineligible",
|
|
40696
|
-
PartiallyEligibleINROnly: "Partially Eligible - INR Only",
|
|
40697
|
-
PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
|
|
40698
|
-
PartiallyEligible: "Partially Eligible",
|
|
40699
|
-
None: "None",
|
|
40700
|
-
Active: "Active",
|
|
40701
|
-
FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
|
|
40702
|
-
};
|
|
40703
|
-
PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40704
|
-
PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
|
|
40705
|
-
});
|
|
40706
|
-
|
|
40707
|
-
// src/models/paymentdetailswalletresponse.ts
|
|
40708
|
-
var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
|
|
40709
|
-
var init_paymentdetailswalletresponse = __esm(() => {
|
|
40710
|
-
init_enums();
|
|
40711
|
-
PaymentDetailsWalletResponse = {
|
|
40712
|
-
Applepay: "applepay"
|
|
40713
|
-
};
|
|
40714
|
-
PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
|
|
40715
|
-
PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
|
|
40716
|
-
});
|
|
40717
|
-
|
|
40718
|
-
// src/models/paymentlinetype.ts
|
|
40719
|
-
var PaymentLineType, PaymentLineType$inboundSchema, PaymentLineType$outboundSchema;
|
|
40720
|
-
var init_paymentlinetype = __esm(() => {
|
|
40721
|
-
init_esm();
|
|
40722
|
-
PaymentLineType = {
|
|
40723
|
-
Physical: "physical",
|
|
40724
|
-
Digital: "digital",
|
|
40725
|
-
ShippingFee: "shipping_fee",
|
|
40726
|
-
Discount: "discount",
|
|
40727
|
-
StoreCredit: "store_credit",
|
|
40728
|
-
GiftCard: "gift_card",
|
|
40729
|
-
Surcharge: "surcharge",
|
|
40730
|
-
Tip: "tip"
|
|
40731
|
-
};
|
|
40732
|
-
PaymentLineType$inboundSchema = nativeEnumType(PaymentLineType);
|
|
40733
|
-
PaymentLineType$outboundSchema = PaymentLineType$inboundSchema;
|
|
40734
|
-
});
|
|
40735
|
-
|
|
40736
|
-
// src/models/paymentlineitem.ts
|
|
40737
|
-
var PaymentLineItem$inboundSchema, PaymentLineItem$outboundSchema;
|
|
40738
|
-
var init_paymentlineitem = __esm(() => {
|
|
40275
|
+
// src/models/paymentrequest.ts
|
|
40276
|
+
var PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestBillingAddress$inboundSchema, PaymentRequestBillingAddress$outboundSchema, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, Company$inboundSchema, Company$outboundSchema, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema;
|
|
40277
|
+
var init_paymentrequest = __esm(() => {
|
|
40739
40278
|
init_esm();
|
|
40279
|
+
init_rfcdate();
|
|
40740
40280
|
init_amount();
|
|
40281
|
+
init_capturemode();
|
|
40282
|
+
init_entitypaymentroute();
|
|
40741
40283
|
init_linecategories();
|
|
40284
|
+
init_locale();
|
|
40285
|
+
init_metadata();
|
|
40286
|
+
init_method();
|
|
40287
|
+
init_paymentaddress();
|
|
40742
40288
|
init_paymentlinetype();
|
|
40743
|
-
|
|
40289
|
+
init_recurringlineitem();
|
|
40290
|
+
init_sequencetype();
|
|
40291
|
+
PaymentRequestLine$inboundSchema = objectType({
|
|
40744
40292
|
type: PaymentLineType$inboundSchema.optional(),
|
|
40745
40293
|
description: stringType(),
|
|
40746
40294
|
quantity: numberType().int(),
|
|
@@ -40753,9 +40301,10 @@ var init_paymentlineitem = __esm(() => {
|
|
|
40753
40301
|
sku: stringType().optional(),
|
|
40754
40302
|
categories: arrayType(LineCategories$inboundSchema).optional(),
|
|
40755
40303
|
imageUrl: stringType().optional(),
|
|
40756
|
-
productUrl: stringType().optional()
|
|
40304
|
+
productUrl: stringType().optional(),
|
|
40305
|
+
recurring: RecurringLineItem$inboundSchema.optional()
|
|
40757
40306
|
});
|
|
40758
|
-
|
|
40307
|
+
PaymentRequestLine$outboundSchema = objectType({
|
|
40759
40308
|
type: PaymentLineType$outboundSchema.optional(),
|
|
40760
40309
|
description: stringType(),
|
|
40761
40310
|
quantity: numberType().int(),
|
|
@@ -40768,173 +40317,8 @@ var init_paymentlineitem = __esm(() => {
|
|
|
40768
40317
|
sku: stringType().optional(),
|
|
40769
40318
|
categories: arrayType(LineCategories$outboundSchema).optional(),
|
|
40770
40319
|
imageUrl: stringType().optional(),
|
|
40771
|
-
productUrl: stringType().optional()
|
|
40772
|
-
|
|
40773
|
-
});
|
|
40774
|
-
|
|
40775
|
-
// src/models/paymentlinkmethod.ts
|
|
40776
|
-
var PaymentLinkMethod, PaymentLinkMethod$inboundSchema, PaymentLinkMethod$outboundSchema;
|
|
40777
|
-
var init_paymentlinkmethod = __esm(() => {
|
|
40778
|
-
init_esm();
|
|
40779
|
-
PaymentLinkMethod = {
|
|
40780
|
-
Applepay: "applepay",
|
|
40781
|
-
Bacs: "bacs",
|
|
40782
|
-
Bancomatpay: "bancomatpay",
|
|
40783
|
-
Bancontact: "bancontact",
|
|
40784
|
-
Banktransfer: "banktransfer",
|
|
40785
|
-
Belfius: "belfius",
|
|
40786
|
-
Billie: "billie",
|
|
40787
|
-
Blik: "blik",
|
|
40788
|
-
Creditcard: "creditcard",
|
|
40789
|
-
Eps: "eps",
|
|
40790
|
-
Giftcard: "giftcard",
|
|
40791
|
-
Ideal: "ideal",
|
|
40792
|
-
In3: "in3",
|
|
40793
|
-
Kbc: "kbc",
|
|
40794
|
-
Klarna: "klarna",
|
|
40795
|
-
Mbway: "mbway",
|
|
40796
|
-
Multibanco: "multibanco",
|
|
40797
|
-
Mybank: "mybank",
|
|
40798
|
-
Paybybank: "paybybank",
|
|
40799
|
-
Paypal: "paypal",
|
|
40800
|
-
Paysafecard: "paysafecard",
|
|
40801
|
-
Pointofsale: "pointofsale",
|
|
40802
|
-
Przelewy24: "przelewy24",
|
|
40803
|
-
Riverty: "riverty",
|
|
40804
|
-
Satispay: "satispay",
|
|
40805
|
-
Swish: "swish",
|
|
40806
|
-
Trustly: "trustly",
|
|
40807
|
-
Twint: "twint",
|
|
40808
|
-
Voucher: "voucher"
|
|
40809
|
-
};
|
|
40810
|
-
PaymentLinkMethod$inboundSchema = nativeEnumType(PaymentLinkMethod);
|
|
40811
|
-
PaymentLinkMethod$outboundSchema = PaymentLinkMethod$inboundSchema;
|
|
40812
|
-
});
|
|
40813
|
-
|
|
40814
|
-
// src/models/paymentlinksequencetype.ts
|
|
40815
|
-
var PaymentLinkSequenceType, PaymentLinkSequenceType$inboundSchema, PaymentLinkSequenceType$outboundSchema;
|
|
40816
|
-
var init_paymentlinksequencetype = __esm(() => {
|
|
40817
|
-
init_esm();
|
|
40818
|
-
PaymentLinkSequenceType = {
|
|
40819
|
-
Oneoff: "oneoff",
|
|
40820
|
-
First: "first"
|
|
40821
|
-
};
|
|
40822
|
-
PaymentLinkSequenceType$inboundSchema = nativeEnumType(PaymentLinkSequenceType);
|
|
40823
|
-
PaymentLinkSequenceType$outboundSchema = PaymentLinkSequenceType$inboundSchema;
|
|
40824
|
-
});
|
|
40825
|
-
|
|
40826
|
-
// src/types/rfcdate.ts
|
|
40827
|
-
class RFCDate {
|
|
40828
|
-
serialized;
|
|
40829
|
-
static today() {
|
|
40830
|
-
return new RFCDate(new Date);
|
|
40831
|
-
}
|
|
40832
|
-
constructor(date2) {
|
|
40833
|
-
if (typeof date2 === "string" && !dateRE.test(date2)) {
|
|
40834
|
-
throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date2);
|
|
40835
|
-
}
|
|
40836
|
-
const value = new Date(date2);
|
|
40837
|
-
if (isNaN(+value)) {
|
|
40838
|
-
throw new RangeError("RFCDate: invalid date provided: " + date2);
|
|
40839
|
-
}
|
|
40840
|
-
this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
|
|
40841
|
-
if (!dateRE.test(this.serialized)) {
|
|
40842
|
-
throw new TypeError(`RFCDate: failed to build valid date with given value: ${date2} serialized to ${this.serialized}`);
|
|
40843
|
-
}
|
|
40844
|
-
}
|
|
40845
|
-
toJSON() {
|
|
40846
|
-
return this.toString();
|
|
40847
|
-
}
|
|
40848
|
-
toString() {
|
|
40849
|
-
return this.serialized;
|
|
40850
|
-
}
|
|
40851
|
-
}
|
|
40852
|
-
var dateRE;
|
|
40853
|
-
var init_rfcdate = __esm(() => {
|
|
40854
|
-
dateRE = /^\d{4}-\d{2}-\d{2}$/;
|
|
40855
|
-
});
|
|
40856
|
-
|
|
40857
|
-
// src/models/recurringlineitem.ts
|
|
40858
|
-
var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
|
|
40859
|
-
var init_recurringlineitem = __esm(() => {
|
|
40860
|
-
init_esm();
|
|
40861
|
-
init_amount();
|
|
40862
|
-
RecurringLineItem$inboundSchema = objectType({
|
|
40863
|
-
description: stringType().optional(),
|
|
40864
|
-
interval: stringType(),
|
|
40865
|
-
amount: Amount$inboundSchema.optional(),
|
|
40866
|
-
times: numberType().int().optional(),
|
|
40867
|
-
startDate: nullableType(stringType()).optional()
|
|
40868
|
-
});
|
|
40869
|
-
RecurringLineItem$outboundSchema = objectType({
|
|
40870
|
-
description: stringType().optional(),
|
|
40871
|
-
interval: stringType(),
|
|
40872
|
-
amount: Amount$outboundSchema.optional(),
|
|
40873
|
-
times: numberType().int().optional(),
|
|
40874
|
-
startDate: nullableType(stringType()).optional()
|
|
40875
|
-
});
|
|
40876
|
-
});
|
|
40877
|
-
|
|
40878
|
-
// src/models/sequencetype.ts
|
|
40879
|
-
var SequenceType, SequenceType$inboundSchema, SequenceType$outboundSchema;
|
|
40880
|
-
var init_sequencetype = __esm(() => {
|
|
40881
|
-
init_esm();
|
|
40882
|
-
SequenceType = {
|
|
40883
|
-
Oneoff: "oneoff",
|
|
40884
|
-
First: "first",
|
|
40885
|
-
Recurring: "recurring"
|
|
40886
|
-
};
|
|
40887
|
-
SequenceType$inboundSchema = nativeEnumType(SequenceType);
|
|
40888
|
-
SequenceType$outboundSchema = SequenceType$inboundSchema;
|
|
40889
|
-
});
|
|
40890
|
-
|
|
40891
|
-
// src/models/paymentrequest.ts
|
|
40892
|
-
var PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestBillingAddress$inboundSchema, PaymentRequestBillingAddress$outboundSchema, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, Company$inboundSchema, Company$outboundSchema, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema;
|
|
40893
|
-
var init_paymentrequest = __esm(() => {
|
|
40894
|
-
init_esm();
|
|
40895
|
-
init_rfcdate();
|
|
40896
|
-
init_amount();
|
|
40897
|
-
init_capturemode();
|
|
40898
|
-
init_entitypaymentroute();
|
|
40899
|
-
init_linecategories();
|
|
40900
|
-
init_locale();
|
|
40901
|
-
init_metadata();
|
|
40902
|
-
init_method();
|
|
40903
|
-
init_paymentaddress();
|
|
40904
|
-
init_paymentlinetype();
|
|
40905
|
-
init_recurringlineitem();
|
|
40906
|
-
init_sequencetype();
|
|
40907
|
-
PaymentRequestLine$inboundSchema = objectType({
|
|
40908
|
-
type: PaymentLineType$inboundSchema.optional(),
|
|
40909
|
-
description: stringType(),
|
|
40910
|
-
quantity: numberType().int(),
|
|
40911
|
-
quantityUnit: stringType().optional(),
|
|
40912
|
-
unitPrice: Amount$inboundSchema,
|
|
40913
|
-
discountAmount: Amount$inboundSchema.optional(),
|
|
40914
|
-
totalAmount: Amount$inboundSchema,
|
|
40915
|
-
vatRate: stringType().optional(),
|
|
40916
|
-
vatAmount: Amount$inboundSchema.optional(),
|
|
40917
|
-
sku: stringType().optional(),
|
|
40918
|
-
categories: arrayType(LineCategories$inboundSchema).optional(),
|
|
40919
|
-
imageUrl: stringType().optional(),
|
|
40920
|
-
productUrl: stringType().optional(),
|
|
40921
|
-
recurring: RecurringLineItem$inboundSchema.optional()
|
|
40922
|
-
});
|
|
40923
|
-
PaymentRequestLine$outboundSchema = objectType({
|
|
40924
|
-
type: PaymentLineType$outboundSchema.optional(),
|
|
40925
|
-
description: stringType(),
|
|
40926
|
-
quantity: numberType().int(),
|
|
40927
|
-
quantityUnit: stringType().optional(),
|
|
40928
|
-
unitPrice: Amount$outboundSchema,
|
|
40929
|
-
discountAmount: Amount$outboundSchema.optional(),
|
|
40930
|
-
totalAmount: Amount$outboundSchema,
|
|
40931
|
-
vatRate: stringType().optional(),
|
|
40932
|
-
vatAmount: Amount$outboundSchema.optional(),
|
|
40933
|
-
sku: stringType().optional(),
|
|
40934
|
-
categories: arrayType(LineCategories$outboundSchema).optional(),
|
|
40935
|
-
imageUrl: stringType().optional(),
|
|
40936
|
-
productUrl: stringType().optional(),
|
|
40937
|
-
recurring: RecurringLineItem$outboundSchema.optional()
|
|
40320
|
+
productUrl: stringType().optional(),
|
|
40321
|
+
recurring: RecurringLineItem$outboundSchema.optional()
|
|
40938
40322
|
});
|
|
40939
40323
|
PaymentRequestBillingAddress$inboundSchema = objectType({
|
|
40940
40324
|
title: stringType().optional(),
|
|
@@ -41650,172 +41034,795 @@ var init_profilerequest = __esm(() => {
|
|
|
41650
41034
|
});
|
|
41651
41035
|
});
|
|
41652
41036
|
|
|
41653
|
-
// src/models/refundexternalreferencetype.ts
|
|
41654
|
-
var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema;
|
|
41655
|
-
var init_refundexternalreferencetype = __esm(() => {
|
|
41656
|
-
init_esm();
|
|
41657
|
-
RefundExternalReferenceType = {
|
|
41658
|
-
AcquirerReference: "acquirer-reference"
|
|
41037
|
+
// src/models/refundexternalreferencetype.ts
|
|
41038
|
+
var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema;
|
|
41039
|
+
var init_refundexternalreferencetype = __esm(() => {
|
|
41040
|
+
init_esm();
|
|
41041
|
+
RefundExternalReferenceType = {
|
|
41042
|
+
AcquirerReference: "acquirer-reference"
|
|
41043
|
+
};
|
|
41044
|
+
RefundExternalReferenceType$inboundSchema = nativeEnumType(RefundExternalReferenceType);
|
|
41045
|
+
RefundExternalReferenceType$outboundSchema = RefundExternalReferenceType$inboundSchema;
|
|
41046
|
+
});
|
|
41047
|
+
|
|
41048
|
+
// src/models/refundrequest.ts
|
|
41049
|
+
var Type, RefundRequestExternalReference$inboundSchema, RefundRequestExternalReference$outboundSchema, Type$inboundSchema, Type$outboundSchema, RefundRequestSource$inboundSchema, RefundRequestSource$outboundSchema, RefundRequestRoutingReversal$inboundSchema, RefundRequestRoutingReversal$outboundSchema, RefundRequest$inboundSchema, RefundRequest$outboundSchema;
|
|
41050
|
+
var init_refundrequest = __esm(() => {
|
|
41051
|
+
init_esm();
|
|
41052
|
+
init_amount();
|
|
41053
|
+
init_metadata();
|
|
41054
|
+
init_refundexternalreferencetype();
|
|
41055
|
+
Type = {
|
|
41056
|
+
Organization: "organization"
|
|
41057
|
+
};
|
|
41058
|
+
RefundRequestExternalReference$inboundSchema = objectType({
|
|
41059
|
+
type: RefundExternalReferenceType$inboundSchema.optional(),
|
|
41060
|
+
id: stringType().optional()
|
|
41061
|
+
});
|
|
41062
|
+
RefundRequestExternalReference$outboundSchema = objectType({
|
|
41063
|
+
type: RefundExternalReferenceType$outboundSchema.optional(),
|
|
41064
|
+
id: stringType().optional()
|
|
41065
|
+
});
|
|
41066
|
+
Type$inboundSchema = nativeEnumType(Type);
|
|
41067
|
+
Type$outboundSchema = Type$inboundSchema;
|
|
41068
|
+
RefundRequestSource$inboundSchema = objectType({
|
|
41069
|
+
type: Type$inboundSchema.optional(),
|
|
41070
|
+
organizationId: stringType().optional()
|
|
41071
|
+
});
|
|
41072
|
+
RefundRequestSource$outboundSchema = objectType({
|
|
41073
|
+
type: Type$outboundSchema.optional(),
|
|
41074
|
+
organizationId: stringType().optional()
|
|
41075
|
+
});
|
|
41076
|
+
RefundRequestRoutingReversal$inboundSchema = objectType({
|
|
41077
|
+
amount: Amount$inboundSchema.optional(),
|
|
41078
|
+
source: lazyType(() => RefundRequestSource$inboundSchema).optional()
|
|
41079
|
+
});
|
|
41080
|
+
RefundRequestRoutingReversal$outboundSchema = objectType({
|
|
41081
|
+
amount: Amount$outboundSchema.optional(),
|
|
41082
|
+
source: lazyType(() => RefundRequestSource$outboundSchema).optional()
|
|
41083
|
+
});
|
|
41084
|
+
RefundRequest$inboundSchema = objectType({
|
|
41085
|
+
description: stringType(),
|
|
41086
|
+
amount: Amount$inboundSchema,
|
|
41087
|
+
metadata: nullableType(Metadata$inboundSchema),
|
|
41088
|
+
externalReference: lazyType(() => RefundRequestExternalReference$inboundSchema).optional(),
|
|
41089
|
+
reverseRouting: nullableType(booleanType()).optional(),
|
|
41090
|
+
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$inboundSchema))).optional(),
|
|
41091
|
+
testmode: nullableType(booleanType()).optional()
|
|
41092
|
+
});
|
|
41093
|
+
RefundRequest$outboundSchema = objectType({
|
|
41094
|
+
description: stringType(),
|
|
41095
|
+
amount: Amount$outboundSchema,
|
|
41096
|
+
metadata: nullableType(Metadata$outboundSchema),
|
|
41097
|
+
externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
|
|
41098
|
+
reverseRouting: nullableType(booleanType()).optional(),
|
|
41099
|
+
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
|
|
41100
|
+
testmode: nullableType(booleanType()).optional()
|
|
41101
|
+
});
|
|
41102
|
+
});
|
|
41103
|
+
|
|
41104
|
+
// src/models/routecreateresponse.ts
|
|
41105
|
+
var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema;
|
|
41106
|
+
var init_routecreateresponse = __esm(() => {
|
|
41107
|
+
init_esm();
|
|
41108
|
+
init_primitives();
|
|
41109
|
+
init_amount();
|
|
41110
|
+
init_routedestinationtyperesponse();
|
|
41111
|
+
init_url2();
|
|
41112
|
+
RouteCreateResponseDestination$inboundSchema = objectType({
|
|
41113
|
+
type: RouteDestinationTypeResponse$inboundSchema,
|
|
41114
|
+
organizationId: stringType()
|
|
41115
|
+
});
|
|
41116
|
+
RouteCreateResponseDestination$outboundSchema = objectType({
|
|
41117
|
+
type: RouteDestinationTypeResponse$outboundSchema,
|
|
41118
|
+
organizationId: stringType()
|
|
41119
|
+
});
|
|
41120
|
+
RouteCreateResponseLinks$inboundSchema = objectType({
|
|
41121
|
+
self: Url$inboundSchema,
|
|
41122
|
+
documentation: Url$inboundSchema
|
|
41123
|
+
});
|
|
41124
|
+
RouteCreateResponseLinks$outboundSchema = objectType({
|
|
41125
|
+
self: Url$outboundSchema,
|
|
41126
|
+
documentation: Url$outboundSchema
|
|
41127
|
+
});
|
|
41128
|
+
RouteCreateResponse$inboundSchema = objectType({
|
|
41129
|
+
resource: stringType(),
|
|
41130
|
+
id: stringType(),
|
|
41131
|
+
paymentId: stringType(),
|
|
41132
|
+
amount: Amount$inboundSchema,
|
|
41133
|
+
description: stringType(),
|
|
41134
|
+
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
|
|
41135
|
+
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
41136
|
+
}).transform((v2) => {
|
|
41137
|
+
return remap(v2, {
|
|
41138
|
+
_links: "links"
|
|
41139
|
+
});
|
|
41140
|
+
});
|
|
41141
|
+
RouteCreateResponse$outboundSchema = objectType({
|
|
41142
|
+
resource: stringType(),
|
|
41143
|
+
id: stringType(),
|
|
41144
|
+
paymentId: stringType(),
|
|
41145
|
+
amount: Amount$outboundSchema,
|
|
41146
|
+
description: stringType(),
|
|
41147
|
+
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
|
|
41148
|
+
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
41149
|
+
}).transform((v2) => {
|
|
41150
|
+
return remap(v2, {
|
|
41151
|
+
links: "_links"
|
|
41152
|
+
});
|
|
41153
|
+
});
|
|
41154
|
+
});
|
|
41155
|
+
|
|
41156
|
+
// src/models/routegetresponse.ts
|
|
41157
|
+
var RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema;
|
|
41158
|
+
var init_routegetresponse = __esm(() => {
|
|
41159
|
+
init_esm();
|
|
41160
|
+
init_primitives();
|
|
41161
|
+
init_amount();
|
|
41162
|
+
init_routedestinationtyperesponse();
|
|
41163
|
+
init_url2();
|
|
41164
|
+
RouteGetResponseDestination$inboundSchema = objectType({
|
|
41165
|
+
type: RouteDestinationTypeResponse$inboundSchema,
|
|
41166
|
+
organizationId: stringType()
|
|
41167
|
+
});
|
|
41168
|
+
RouteGetResponseDestination$outboundSchema = objectType({
|
|
41169
|
+
type: RouteDestinationTypeResponse$outboundSchema,
|
|
41170
|
+
organizationId: stringType()
|
|
41171
|
+
});
|
|
41172
|
+
RouteGetResponseLinks$inboundSchema = objectType({
|
|
41173
|
+
self: Url$inboundSchema,
|
|
41174
|
+
documentation: Url$inboundSchema
|
|
41175
|
+
});
|
|
41176
|
+
RouteGetResponseLinks$outboundSchema = objectType({
|
|
41177
|
+
self: Url$outboundSchema,
|
|
41178
|
+
documentation: Url$outboundSchema
|
|
41179
|
+
});
|
|
41180
|
+
RouteGetResponse$inboundSchema = objectType({
|
|
41181
|
+
resource: stringType(),
|
|
41182
|
+
id: stringType(),
|
|
41183
|
+
paymentId: stringType(),
|
|
41184
|
+
amount: Amount$inboundSchema,
|
|
41185
|
+
description: stringType(),
|
|
41186
|
+
destination: lazyType(() => RouteGetResponseDestination$inboundSchema),
|
|
41187
|
+
_links: lazyType(() => RouteGetResponseLinks$inboundSchema),
|
|
41188
|
+
createdAt: stringType()
|
|
41189
|
+
}).transform((v2) => {
|
|
41190
|
+
return remap(v2, {
|
|
41191
|
+
_links: "links"
|
|
41192
|
+
});
|
|
41193
|
+
});
|
|
41194
|
+
RouteGetResponse$outboundSchema = objectType({
|
|
41195
|
+
resource: stringType(),
|
|
41196
|
+
id: stringType(),
|
|
41197
|
+
paymentId: stringType(),
|
|
41198
|
+
amount: Amount$outboundSchema,
|
|
41199
|
+
description: stringType(),
|
|
41200
|
+
destination: lazyType(() => RouteGetResponseDestination$outboundSchema),
|
|
41201
|
+
links: lazyType(() => RouteGetResponseLinks$outboundSchema),
|
|
41202
|
+
createdAt: stringType()
|
|
41203
|
+
}).transform((v2) => {
|
|
41204
|
+
return remap(v2, {
|
|
41205
|
+
links: "_links"
|
|
41206
|
+
});
|
|
41207
|
+
});
|
|
41208
|
+
});
|
|
41209
|
+
|
|
41210
|
+
// src/models/salesinvoicediscounttype.ts
|
|
41211
|
+
var SalesInvoiceDiscountType, SalesInvoiceDiscountType$inboundSchema, SalesInvoiceDiscountType$outboundSchema;
|
|
41212
|
+
var init_salesinvoicediscounttype = __esm(() => {
|
|
41213
|
+
init_esm();
|
|
41214
|
+
SalesInvoiceDiscountType = {
|
|
41215
|
+
Amount: "amount",
|
|
41216
|
+
Percentage: "percentage"
|
|
41217
|
+
};
|
|
41218
|
+
SalesInvoiceDiscountType$inboundSchema = nativeEnumType(SalesInvoiceDiscountType);
|
|
41219
|
+
SalesInvoiceDiscountType$outboundSchema = SalesInvoiceDiscountType$inboundSchema;
|
|
41220
|
+
});
|
|
41221
|
+
|
|
41222
|
+
// src/models/salesinvoicediscount.ts
|
|
41223
|
+
var SalesInvoiceDiscount$inboundSchema, SalesInvoiceDiscount$outboundSchema;
|
|
41224
|
+
var init_salesinvoicediscount = __esm(() => {
|
|
41225
|
+
init_esm();
|
|
41226
|
+
init_salesinvoicediscounttype();
|
|
41227
|
+
SalesInvoiceDiscount$inboundSchema = objectType({
|
|
41228
|
+
type: SalesInvoiceDiscountType$inboundSchema,
|
|
41229
|
+
value: stringType()
|
|
41230
|
+
});
|
|
41231
|
+
SalesInvoiceDiscount$outboundSchema = objectType({
|
|
41232
|
+
type: SalesInvoiceDiscountType$outboundSchema,
|
|
41233
|
+
value: stringType()
|
|
41234
|
+
});
|
|
41235
|
+
});
|
|
41236
|
+
|
|
41237
|
+
// src/models/salesinvoicediscounttyperesponse.ts
|
|
41238
|
+
var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
|
|
41239
|
+
var init_salesinvoicediscounttyperesponse = __esm(() => {
|
|
41240
|
+
init_enums();
|
|
41241
|
+
SalesInvoiceDiscountTypeResponse = {
|
|
41242
|
+
Amount: "amount",
|
|
41243
|
+
Percentage: "percentage"
|
|
41244
|
+
};
|
|
41245
|
+
SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41246
|
+
SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
|
|
41247
|
+
});
|
|
41248
|
+
|
|
41249
|
+
// src/models/salesinvoicediscountresponse.ts
|
|
41250
|
+
var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema;
|
|
41251
|
+
var init_salesinvoicediscountresponse = __esm(() => {
|
|
41252
|
+
init_esm();
|
|
41253
|
+
init_salesinvoicediscounttyperesponse();
|
|
41254
|
+
SalesInvoiceDiscountResponse$inboundSchema = objectType({
|
|
41255
|
+
type: SalesInvoiceDiscountTypeResponse$inboundSchema,
|
|
41256
|
+
value: stringType()
|
|
41257
|
+
});
|
|
41258
|
+
SalesInvoiceDiscountResponse$outboundSchema = objectType({
|
|
41259
|
+
type: SalesInvoiceDiscountTypeResponse$outboundSchema,
|
|
41260
|
+
value: stringType()
|
|
41261
|
+
});
|
|
41262
|
+
});
|
|
41263
|
+
|
|
41264
|
+
// src/models/salesinvoiceemaildetails.ts
|
|
41265
|
+
var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
|
|
41266
|
+
var init_salesinvoiceemaildetails = __esm(() => {
|
|
41267
|
+
init_esm();
|
|
41268
|
+
SalesInvoiceEmailDetails$inboundSchema = objectType({
|
|
41269
|
+
subject: stringType(),
|
|
41270
|
+
body: stringType()
|
|
41271
|
+
});
|
|
41272
|
+
SalesInvoiceEmailDetails$outboundSchema = objectType({
|
|
41273
|
+
subject: stringType(),
|
|
41274
|
+
body: stringType()
|
|
41275
|
+
});
|
|
41276
|
+
});
|
|
41277
|
+
|
|
41278
|
+
// src/models/salesinvoicelineitem.ts
|
|
41279
|
+
var SalesInvoiceLineItem$inboundSchema, SalesInvoiceLineItem$outboundSchema;
|
|
41280
|
+
var init_salesinvoicelineitem = __esm(() => {
|
|
41281
|
+
init_esm();
|
|
41282
|
+
init_amount();
|
|
41283
|
+
init_salesinvoicediscount();
|
|
41284
|
+
SalesInvoiceLineItem$inboundSchema = objectType({
|
|
41285
|
+
description: stringType(),
|
|
41286
|
+
quantity: numberType().int(),
|
|
41287
|
+
vatRate: stringType(),
|
|
41288
|
+
unitPrice: Amount$inboundSchema,
|
|
41289
|
+
discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
|
|
41290
|
+
});
|
|
41291
|
+
SalesInvoiceLineItem$outboundSchema = objectType({
|
|
41292
|
+
description: stringType(),
|
|
41293
|
+
quantity: numberType().int(),
|
|
41294
|
+
vatRate: stringType(),
|
|
41295
|
+
unitPrice: Amount$outboundSchema,
|
|
41296
|
+
discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
|
|
41297
|
+
});
|
|
41298
|
+
});
|
|
41299
|
+
|
|
41300
|
+
// src/models/salesinvoicelineitemresponse.ts
|
|
41301
|
+
var SalesInvoiceLineItemResponse$inboundSchema, SalesInvoiceLineItemResponse$outboundSchema;
|
|
41302
|
+
var init_salesinvoicelineitemresponse = __esm(() => {
|
|
41303
|
+
init_esm();
|
|
41304
|
+
init_amount();
|
|
41305
|
+
init_salesinvoicediscountresponse();
|
|
41306
|
+
SalesInvoiceLineItemResponse$inboundSchema = objectType({
|
|
41307
|
+
description: stringType(),
|
|
41308
|
+
quantity: numberType().int(),
|
|
41309
|
+
vatRate: stringType(),
|
|
41310
|
+
unitPrice: Amount$inboundSchema,
|
|
41311
|
+
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional()
|
|
41312
|
+
});
|
|
41313
|
+
SalesInvoiceLineItemResponse$outboundSchema = objectType({
|
|
41314
|
+
description: stringType(),
|
|
41315
|
+
quantity: numberType().int(),
|
|
41316
|
+
vatRate: stringType(),
|
|
41317
|
+
unitPrice: Amount$outboundSchema,
|
|
41318
|
+
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional()
|
|
41319
|
+
});
|
|
41320
|
+
});
|
|
41321
|
+
|
|
41322
|
+
// src/models/salesinvoicepaymentdetailssource.ts
|
|
41323
|
+
var SalesInvoicePaymentDetailsSource, SalesInvoicePaymentDetailsSource$inboundSchema, SalesInvoicePaymentDetailsSource$outboundSchema;
|
|
41324
|
+
var init_salesinvoicepaymentdetailssource = __esm(() => {
|
|
41325
|
+
init_esm();
|
|
41326
|
+
SalesInvoicePaymentDetailsSource = {
|
|
41327
|
+
Manual: "manual",
|
|
41328
|
+
PaymentLink: "payment-link",
|
|
41329
|
+
Payment: "payment"
|
|
41330
|
+
};
|
|
41331
|
+
SalesInvoicePaymentDetailsSource$inboundSchema = nativeEnumType(SalesInvoicePaymentDetailsSource);
|
|
41332
|
+
SalesInvoicePaymentDetailsSource$outboundSchema = SalesInvoicePaymentDetailsSource$inboundSchema;
|
|
41333
|
+
});
|
|
41334
|
+
|
|
41335
|
+
// src/models/salesinvoicepaymentdetails.ts
|
|
41336
|
+
var SalesInvoicePaymentDetails$inboundSchema, SalesInvoicePaymentDetails$outboundSchema;
|
|
41337
|
+
var init_salesinvoicepaymentdetails = __esm(() => {
|
|
41338
|
+
init_esm();
|
|
41339
|
+
init_salesinvoicepaymentdetailssource();
|
|
41340
|
+
SalesInvoicePaymentDetails$inboundSchema = objectType({
|
|
41341
|
+
source: SalesInvoicePaymentDetailsSource$inboundSchema,
|
|
41342
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41343
|
+
});
|
|
41344
|
+
SalesInvoicePaymentDetails$outboundSchema = objectType({
|
|
41345
|
+
source: SalesInvoicePaymentDetailsSource$outboundSchema,
|
|
41346
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41347
|
+
});
|
|
41348
|
+
});
|
|
41349
|
+
|
|
41350
|
+
// src/models/salesinvoicepaymentdetailssourceresponse.ts
|
|
41351
|
+
var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
|
|
41352
|
+
var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
|
|
41353
|
+
init_enums();
|
|
41354
|
+
SalesInvoicePaymentDetailsSourceResponse = {
|
|
41355
|
+
Manual: "manual",
|
|
41356
|
+
PaymentLink: "payment-link",
|
|
41357
|
+
Payment: "payment"
|
|
41358
|
+
};
|
|
41359
|
+
SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41360
|
+
SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
|
|
41361
|
+
});
|
|
41362
|
+
|
|
41363
|
+
// src/models/salesinvoicepaymentdetailsresponse.ts
|
|
41364
|
+
var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema;
|
|
41365
|
+
var init_salesinvoicepaymentdetailsresponse = __esm(() => {
|
|
41366
|
+
init_esm();
|
|
41367
|
+
init_salesinvoicepaymentdetailssourceresponse();
|
|
41368
|
+
SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
|
|
41369
|
+
source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
|
|
41370
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41371
|
+
});
|
|
41372
|
+
SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
|
|
41373
|
+
source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
|
|
41374
|
+
sourceReference: nullableType(stringType()).optional()
|
|
41375
|
+
});
|
|
41376
|
+
});
|
|
41377
|
+
|
|
41378
|
+
// src/models/salesinvoicepaymentterm.ts
|
|
41379
|
+
var SalesInvoicePaymentTerm, SalesInvoicePaymentTerm$inboundSchema, SalesInvoicePaymentTerm$outboundSchema;
|
|
41380
|
+
var init_salesinvoicepaymentterm = __esm(() => {
|
|
41381
|
+
init_esm();
|
|
41382
|
+
SalesInvoicePaymentTerm = {
|
|
41383
|
+
Sevendays: "7 days",
|
|
41384
|
+
Fourteendays: "14 days",
|
|
41385
|
+
Thirtydays: "30 days",
|
|
41386
|
+
FortyFivedays: "45 days",
|
|
41387
|
+
Sixtydays: "60 days",
|
|
41388
|
+
Ninetydays: "90 days",
|
|
41389
|
+
OneHundredAndTwentydays: "120 days"
|
|
41390
|
+
};
|
|
41391
|
+
SalesInvoicePaymentTerm$inboundSchema = nativeEnumType(SalesInvoicePaymentTerm);
|
|
41392
|
+
SalesInvoicePaymentTerm$outboundSchema = SalesInvoicePaymentTerm$inboundSchema;
|
|
41393
|
+
});
|
|
41394
|
+
|
|
41395
|
+
// src/models/salesinvoicepaymenttermresponse.ts
|
|
41396
|
+
var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
|
|
41397
|
+
var init_salesinvoicepaymenttermresponse = __esm(() => {
|
|
41398
|
+
init_enums();
|
|
41399
|
+
SalesInvoicePaymentTermResponse = {
|
|
41400
|
+
Sevendays: "7 days",
|
|
41401
|
+
Fourteendays: "14 days",
|
|
41402
|
+
Thirtydays: "30 days",
|
|
41403
|
+
FortyFivedays: "45 days",
|
|
41404
|
+
Sixtydays: "60 days",
|
|
41405
|
+
Ninetydays: "90 days",
|
|
41406
|
+
OneHundredAndTwentydays: "120 days"
|
|
41407
|
+
};
|
|
41408
|
+
SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
|
|
41409
|
+
SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
|
|
41410
|
+
});
|
|
41411
|
+
|
|
41412
|
+
// src/models/salesinvoicerecipientlocale.ts
|
|
41413
|
+
var SalesInvoiceRecipientLocale, SalesInvoiceRecipientLocale$inboundSchema, SalesInvoiceRecipientLocale$outboundSchema;
|
|
41414
|
+
var init_salesinvoicerecipientlocale = __esm(() => {
|
|
41415
|
+
init_esm();
|
|
41416
|
+
SalesInvoiceRecipientLocale = {
|
|
41417
|
+
EnUS: "en_US",
|
|
41418
|
+
EnGB: "en_GB",
|
|
41419
|
+
NLNL: "nl_NL",
|
|
41420
|
+
NlBE: "nl_BE",
|
|
41421
|
+
DEDE: "de_DE",
|
|
41422
|
+
DeAT: "de_AT",
|
|
41423
|
+
DeCH: "de_CH",
|
|
41424
|
+
FRFR: "fr_FR",
|
|
41425
|
+
FrBE: "fr_BE"
|
|
41426
|
+
};
|
|
41427
|
+
SalesInvoiceRecipientLocale$inboundSchema = nativeEnumType(SalesInvoiceRecipientLocale);
|
|
41428
|
+
SalesInvoiceRecipientLocale$outboundSchema = SalesInvoiceRecipientLocale$inboundSchema;
|
|
41429
|
+
});
|
|
41430
|
+
|
|
41431
|
+
// src/models/salesinvoicerecipienttype.ts
|
|
41432
|
+
var SalesInvoiceRecipientType, SalesInvoiceRecipientType$inboundSchema, SalesInvoiceRecipientType$outboundSchema;
|
|
41433
|
+
var init_salesinvoicerecipienttype = __esm(() => {
|
|
41434
|
+
init_esm();
|
|
41435
|
+
SalesInvoiceRecipientType = {
|
|
41436
|
+
Consumer: "consumer",
|
|
41437
|
+
Business: "business"
|
|
41438
|
+
};
|
|
41439
|
+
SalesInvoiceRecipientType$inboundSchema = nativeEnumType(SalesInvoiceRecipientType);
|
|
41440
|
+
SalesInvoiceRecipientType$outboundSchema = SalesInvoiceRecipientType$inboundSchema;
|
|
41441
|
+
});
|
|
41442
|
+
|
|
41443
|
+
// src/models/salesinvoicerecipient.ts
|
|
41444
|
+
var SalesInvoiceRecipient$inboundSchema, SalesInvoiceRecipient$outboundSchema;
|
|
41445
|
+
var init_salesinvoicerecipient = __esm(() => {
|
|
41446
|
+
init_esm();
|
|
41447
|
+
init_salesinvoicerecipientlocale();
|
|
41448
|
+
init_salesinvoicerecipienttype();
|
|
41449
|
+
SalesInvoiceRecipient$inboundSchema = objectType({
|
|
41450
|
+
type: SalesInvoiceRecipientType$inboundSchema,
|
|
41451
|
+
title: nullableType(stringType()).optional(),
|
|
41452
|
+
givenName: nullableType(stringType()).optional(),
|
|
41453
|
+
familyName: nullableType(stringType()).optional(),
|
|
41454
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41455
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41456
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41457
|
+
email: stringType(),
|
|
41458
|
+
phone: nullableType(stringType()).optional(),
|
|
41459
|
+
streetAndNumber: stringType(),
|
|
41460
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41461
|
+
postalCode: stringType(),
|
|
41462
|
+
city: stringType(),
|
|
41463
|
+
region: nullableType(stringType()).optional(),
|
|
41464
|
+
country: stringType(),
|
|
41465
|
+
locale: SalesInvoiceRecipientLocale$inboundSchema
|
|
41466
|
+
});
|
|
41467
|
+
SalesInvoiceRecipient$outboundSchema = objectType({
|
|
41468
|
+
type: SalesInvoiceRecipientType$outboundSchema,
|
|
41469
|
+
title: nullableType(stringType()).optional(),
|
|
41470
|
+
givenName: nullableType(stringType()).optional(),
|
|
41471
|
+
familyName: nullableType(stringType()).optional(),
|
|
41472
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41473
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41474
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41475
|
+
email: stringType(),
|
|
41476
|
+
phone: nullableType(stringType()).optional(),
|
|
41477
|
+
streetAndNumber: stringType(),
|
|
41478
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41479
|
+
postalCode: stringType(),
|
|
41480
|
+
city: stringType(),
|
|
41481
|
+
region: nullableType(stringType()).optional(),
|
|
41482
|
+
country: stringType(),
|
|
41483
|
+
locale: SalesInvoiceRecipientLocale$outboundSchema
|
|
41484
|
+
});
|
|
41485
|
+
});
|
|
41486
|
+
|
|
41487
|
+
// src/models/salesinvoicerecipientlocaleresponse.ts
|
|
41488
|
+
var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
|
|
41489
|
+
var init_salesinvoicerecipientlocaleresponse = __esm(() => {
|
|
41490
|
+
init_enums();
|
|
41491
|
+
SalesInvoiceRecipientLocaleResponse = {
|
|
41492
|
+
EnUS: "en_US",
|
|
41493
|
+
EnGB: "en_GB",
|
|
41494
|
+
NLNL: "nl_NL",
|
|
41495
|
+
NlBE: "nl_BE",
|
|
41496
|
+
DEDE: "de_DE",
|
|
41497
|
+
DeAT: "de_AT",
|
|
41498
|
+
DeCH: "de_CH",
|
|
41499
|
+
FRFR: "fr_FR",
|
|
41500
|
+
FrBE: "fr_BE"
|
|
41501
|
+
};
|
|
41502
|
+
SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41503
|
+
SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
|
|
41504
|
+
});
|
|
41505
|
+
|
|
41506
|
+
// src/models/salesinvoicerecipienttyperesponse.ts
|
|
41507
|
+
var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
|
|
41508
|
+
var init_salesinvoicerecipienttyperesponse = __esm(() => {
|
|
41509
|
+
init_enums();
|
|
41510
|
+
SalesInvoiceRecipientTypeResponse = {
|
|
41511
|
+
Consumer: "consumer",
|
|
41512
|
+
Business: "business"
|
|
41513
|
+
};
|
|
41514
|
+
SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41515
|
+
SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
|
|
41516
|
+
});
|
|
41517
|
+
|
|
41518
|
+
// src/models/salesinvoicerecipientresponse.ts
|
|
41519
|
+
var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema;
|
|
41520
|
+
var init_salesinvoicerecipientresponse = __esm(() => {
|
|
41521
|
+
init_esm();
|
|
41522
|
+
init_salesinvoicerecipientlocaleresponse();
|
|
41523
|
+
init_salesinvoicerecipienttyperesponse();
|
|
41524
|
+
SalesInvoiceRecipientResponse$inboundSchema = objectType({
|
|
41525
|
+
type: SalesInvoiceRecipientTypeResponse$inboundSchema,
|
|
41526
|
+
title: nullableType(stringType()).optional(),
|
|
41527
|
+
givenName: nullableType(stringType()).optional(),
|
|
41528
|
+
familyName: nullableType(stringType()).optional(),
|
|
41529
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41530
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41531
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41532
|
+
email: stringType(),
|
|
41533
|
+
phone: nullableType(stringType()).optional(),
|
|
41534
|
+
streetAndNumber: stringType(),
|
|
41535
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41536
|
+
postalCode: stringType(),
|
|
41537
|
+
city: stringType(),
|
|
41538
|
+
region: nullableType(stringType()).optional(),
|
|
41539
|
+
country: stringType(),
|
|
41540
|
+
locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
|
|
41541
|
+
});
|
|
41542
|
+
SalesInvoiceRecipientResponse$outboundSchema = objectType({
|
|
41543
|
+
type: SalesInvoiceRecipientTypeResponse$outboundSchema,
|
|
41544
|
+
title: nullableType(stringType()).optional(),
|
|
41545
|
+
givenName: nullableType(stringType()).optional(),
|
|
41546
|
+
familyName: nullableType(stringType()).optional(),
|
|
41547
|
+
organizationName: nullableType(stringType()).optional(),
|
|
41548
|
+
organizationNumber: nullableType(stringType()).optional(),
|
|
41549
|
+
vatNumber: nullableType(stringType()).optional(),
|
|
41550
|
+
email: stringType(),
|
|
41551
|
+
phone: nullableType(stringType()).optional(),
|
|
41552
|
+
streetAndNumber: stringType(),
|
|
41553
|
+
streetAdditional: nullableType(stringType()).optional(),
|
|
41554
|
+
postalCode: stringType(),
|
|
41555
|
+
city: stringType(),
|
|
41556
|
+
region: nullableType(stringType()).optional(),
|
|
41557
|
+
country: stringType(),
|
|
41558
|
+
locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
|
|
41559
|
+
});
|
|
41560
|
+
});
|
|
41561
|
+
|
|
41562
|
+
// src/models/salesinvoicestatus.ts
|
|
41563
|
+
var SalesInvoiceStatus, SalesInvoiceStatus$inboundSchema, SalesInvoiceStatus$outboundSchema;
|
|
41564
|
+
var init_salesinvoicestatus = __esm(() => {
|
|
41565
|
+
init_esm();
|
|
41566
|
+
SalesInvoiceStatus = {
|
|
41567
|
+
Draft: "draft",
|
|
41568
|
+
Issued: "issued",
|
|
41569
|
+
Paid: "paid"
|
|
41570
|
+
};
|
|
41571
|
+
SalesInvoiceStatus$inboundSchema = nativeEnumType(SalesInvoiceStatus);
|
|
41572
|
+
SalesInvoiceStatus$outboundSchema = SalesInvoiceStatus$inboundSchema;
|
|
41573
|
+
});
|
|
41574
|
+
|
|
41575
|
+
// src/models/salesinvoicevatmode.ts
|
|
41576
|
+
var SalesInvoiceVatMode, SalesInvoiceVatMode$inboundSchema, SalesInvoiceVatMode$outboundSchema;
|
|
41577
|
+
var init_salesinvoicevatmode = __esm(() => {
|
|
41578
|
+
init_esm();
|
|
41579
|
+
SalesInvoiceVatMode = {
|
|
41580
|
+
Exclusive: "exclusive",
|
|
41581
|
+
Inclusive: "inclusive"
|
|
41582
|
+
};
|
|
41583
|
+
SalesInvoiceVatMode$inboundSchema = nativeEnumType(SalesInvoiceVatMode);
|
|
41584
|
+
SalesInvoiceVatMode$outboundSchema = SalesInvoiceVatMode$inboundSchema;
|
|
41585
|
+
});
|
|
41586
|
+
|
|
41587
|
+
// src/models/salesinvoicevatscheme.ts
|
|
41588
|
+
var SalesInvoiceVatScheme, SalesInvoiceVatScheme$inboundSchema, SalesInvoiceVatScheme$outboundSchema;
|
|
41589
|
+
var init_salesinvoicevatscheme = __esm(() => {
|
|
41590
|
+
init_esm();
|
|
41591
|
+
SalesInvoiceVatScheme = {
|
|
41592
|
+
Standard: "standard",
|
|
41593
|
+
OneStopShop: "one-stop-shop"
|
|
41594
|
+
};
|
|
41595
|
+
SalesInvoiceVatScheme$inboundSchema = nativeEnumType(SalesInvoiceVatScheme);
|
|
41596
|
+
SalesInvoiceVatScheme$outboundSchema = SalesInvoiceVatScheme$inboundSchema;
|
|
41597
|
+
});
|
|
41598
|
+
|
|
41599
|
+
// src/models/salesinvoicerequest.ts
|
|
41600
|
+
var SalesInvoiceRequestMetadata$inboundSchema, SalesInvoiceRequestMetadata$outboundSchema, SalesInvoiceRequest$inboundSchema, SalesInvoiceRequest$outboundSchema;
|
|
41601
|
+
var init_salesinvoicerequest = __esm(() => {
|
|
41602
|
+
init_esm();
|
|
41603
|
+
init_salesinvoicediscount();
|
|
41604
|
+
init_salesinvoiceemaildetails();
|
|
41605
|
+
init_salesinvoicelineitem();
|
|
41606
|
+
init_salesinvoicepaymentdetails();
|
|
41607
|
+
init_salesinvoicepaymentterm();
|
|
41608
|
+
init_salesinvoicerecipient();
|
|
41609
|
+
init_salesinvoicestatus();
|
|
41610
|
+
init_salesinvoicevatmode();
|
|
41611
|
+
init_salesinvoicevatscheme();
|
|
41612
|
+
SalesInvoiceRequestMetadata$inboundSchema = objectType({});
|
|
41613
|
+
SalesInvoiceRequestMetadata$outboundSchema = objectType({});
|
|
41614
|
+
SalesInvoiceRequest$inboundSchema = objectType({
|
|
41615
|
+
testmode: nullableType(booleanType()).optional(),
|
|
41616
|
+
profileId: nullableType(stringType()).optional(),
|
|
41617
|
+
status: SalesInvoiceStatus$inboundSchema,
|
|
41618
|
+
vatScheme: SalesInvoiceVatScheme$inboundSchema.optional(),
|
|
41619
|
+
vatMode: SalesInvoiceVatMode$inboundSchema.optional(),
|
|
41620
|
+
memo: nullableType(stringType()).optional(),
|
|
41621
|
+
metadata: nullableType(lazyType(() => SalesInvoiceRequestMetadata$inboundSchema)).optional(),
|
|
41622
|
+
paymentTerm: nullableType(SalesInvoicePaymentTerm$inboundSchema).optional(),
|
|
41623
|
+
paymentDetails: SalesInvoicePaymentDetails$inboundSchema.optional(),
|
|
41624
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
|
|
41625
|
+
customerId: stringType().optional(),
|
|
41626
|
+
mandateId: stringType().optional(),
|
|
41627
|
+
recipientIdentifier: stringType(),
|
|
41628
|
+
recipient: nullableType(SalesInvoiceRecipient$inboundSchema),
|
|
41629
|
+
lines: nullableType(arrayType(SalesInvoiceLineItem$inboundSchema)),
|
|
41630
|
+
discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
|
|
41631
|
+
});
|
|
41632
|
+
SalesInvoiceRequest$outboundSchema = objectType({
|
|
41633
|
+
testmode: nullableType(booleanType()).optional(),
|
|
41634
|
+
profileId: nullableType(stringType()).optional(),
|
|
41635
|
+
status: SalesInvoiceStatus$outboundSchema,
|
|
41636
|
+
vatScheme: SalesInvoiceVatScheme$outboundSchema.optional(),
|
|
41637
|
+
vatMode: SalesInvoiceVatMode$outboundSchema.optional(),
|
|
41638
|
+
memo: nullableType(stringType()).optional(),
|
|
41639
|
+
metadata: nullableType(lazyType(() => SalesInvoiceRequestMetadata$outboundSchema)).optional(),
|
|
41640
|
+
paymentTerm: nullableType(SalesInvoicePaymentTerm$outboundSchema).optional(),
|
|
41641
|
+
paymentDetails: SalesInvoicePaymentDetails$outboundSchema.optional(),
|
|
41642
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
|
|
41643
|
+
customerId: stringType().optional(),
|
|
41644
|
+
mandateId: stringType().optional(),
|
|
41645
|
+
recipientIdentifier: stringType(),
|
|
41646
|
+
recipient: nullableType(SalesInvoiceRecipient$outboundSchema),
|
|
41647
|
+
lines: nullableType(arrayType(SalesInvoiceLineItem$outboundSchema)),
|
|
41648
|
+
discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
|
|
41649
|
+
});
|
|
41650
|
+
});
|
|
41651
|
+
|
|
41652
|
+
// src/models/salesinvoicestatusresponse.ts
|
|
41653
|
+
var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
|
|
41654
|
+
var init_salesinvoicestatusresponse = __esm(() => {
|
|
41655
|
+
init_enums();
|
|
41656
|
+
SalesInvoiceStatusResponse = {
|
|
41657
|
+
Draft: "draft",
|
|
41658
|
+
Issued: "issued",
|
|
41659
|
+
Paid: "paid"
|
|
41660
|
+
};
|
|
41661
|
+
SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
|
|
41662
|
+
SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
|
|
41663
|
+
});
|
|
41664
|
+
|
|
41665
|
+
// src/models/salesinvoicevatmoderesponse.ts
|
|
41666
|
+
var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
|
|
41667
|
+
var init_salesinvoicevatmoderesponse = __esm(() => {
|
|
41668
|
+
init_enums();
|
|
41669
|
+
SalesInvoiceVatModeResponse = {
|
|
41670
|
+
Exclusive: "exclusive",
|
|
41671
|
+
Inclusive: "inclusive"
|
|
41659
41672
|
};
|
|
41660
|
-
|
|
41661
|
-
|
|
41673
|
+
SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
|
|
41674
|
+
SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
|
|
41662
41675
|
});
|
|
41663
41676
|
|
|
41664
|
-
// src/models/
|
|
41665
|
-
var
|
|
41666
|
-
var
|
|
41667
|
-
|
|
41668
|
-
|
|
41669
|
-
|
|
41670
|
-
|
|
41671
|
-
Type = {
|
|
41672
|
-
Organization: "organization"
|
|
41677
|
+
// src/models/salesinvoicevatschemeresponse.ts
|
|
41678
|
+
var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
|
|
41679
|
+
var init_salesinvoicevatschemeresponse = __esm(() => {
|
|
41680
|
+
init_enums();
|
|
41681
|
+
SalesInvoiceVatSchemeResponse = {
|
|
41682
|
+
Standard: "standard",
|
|
41683
|
+
OneStopShop: "one-stop-shop"
|
|
41673
41684
|
};
|
|
41674
|
-
|
|
41675
|
-
|
|
41676
|
-
id: stringType().optional()
|
|
41677
|
-
});
|
|
41678
|
-
RefundRequestExternalReference$outboundSchema = objectType({
|
|
41679
|
-
type: RefundExternalReferenceType$outboundSchema.optional(),
|
|
41680
|
-
id: stringType().optional()
|
|
41681
|
-
});
|
|
41682
|
-
Type$inboundSchema = nativeEnumType(Type);
|
|
41683
|
-
Type$outboundSchema = Type$inboundSchema;
|
|
41684
|
-
RefundRequestSource$inboundSchema = objectType({
|
|
41685
|
-
type: Type$inboundSchema.optional(),
|
|
41686
|
-
organizationId: stringType().optional()
|
|
41687
|
-
});
|
|
41688
|
-
RefundRequestSource$outboundSchema = objectType({
|
|
41689
|
-
type: Type$outboundSchema.optional(),
|
|
41690
|
-
organizationId: stringType().optional()
|
|
41691
|
-
});
|
|
41692
|
-
RefundRequestRoutingReversal$inboundSchema = objectType({
|
|
41693
|
-
amount: Amount$inboundSchema.optional(),
|
|
41694
|
-
source: lazyType(() => RefundRequestSource$inboundSchema).optional()
|
|
41695
|
-
});
|
|
41696
|
-
RefundRequestRoutingReversal$outboundSchema = objectType({
|
|
41697
|
-
amount: Amount$outboundSchema.optional(),
|
|
41698
|
-
source: lazyType(() => RefundRequestSource$outboundSchema).optional()
|
|
41699
|
-
});
|
|
41700
|
-
RefundRequest$inboundSchema = objectType({
|
|
41701
|
-
description: stringType(),
|
|
41702
|
-
amount: Amount$inboundSchema,
|
|
41703
|
-
metadata: nullableType(Metadata$inboundSchema),
|
|
41704
|
-
externalReference: lazyType(() => RefundRequestExternalReference$inboundSchema).optional(),
|
|
41705
|
-
reverseRouting: nullableType(booleanType()).optional(),
|
|
41706
|
-
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$inboundSchema))).optional(),
|
|
41707
|
-
testmode: nullableType(booleanType()).optional()
|
|
41708
|
-
});
|
|
41709
|
-
RefundRequest$outboundSchema = objectType({
|
|
41710
|
-
description: stringType(),
|
|
41711
|
-
amount: Amount$outboundSchema,
|
|
41712
|
-
metadata: nullableType(Metadata$outboundSchema),
|
|
41713
|
-
externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
|
|
41714
|
-
reverseRouting: nullableType(booleanType()).optional(),
|
|
41715
|
-
routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
|
|
41716
|
-
testmode: nullableType(booleanType()).optional()
|
|
41717
|
-
});
|
|
41685
|
+
SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41686
|
+
SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
|
|
41718
41687
|
});
|
|
41719
41688
|
|
|
41720
|
-
// src/models/
|
|
41721
|
-
var
|
|
41722
|
-
var
|
|
41689
|
+
// src/models/salesinvoiceresponse.ts
|
|
41690
|
+
var SalesInvoiceResponseMetadata$inboundSchema, SalesInvoiceResponseMetadata$outboundSchema, AmountDue$inboundSchema, AmountDue$outboundSchema, SubtotalAmount$inboundSchema, SubtotalAmount$outboundSchema, TotalAmount$inboundSchema, TotalAmount$outboundSchema, TotalVatAmount$inboundSchema, TotalVatAmount$outboundSchema, DiscountedSubtotalAmount$inboundSchema, DiscountedSubtotalAmount$outboundSchema, SalesInvoiceResponseLinks$inboundSchema, SalesInvoiceResponseLinks$outboundSchema, SalesInvoiceResponse$inboundSchema, SalesInvoiceResponse$outboundSchema;
|
|
41691
|
+
var init_salesinvoiceresponse = __esm(() => {
|
|
41723
41692
|
init_esm();
|
|
41724
41693
|
init_primitives();
|
|
41725
|
-
|
|
41726
|
-
|
|
41694
|
+
init_mode();
|
|
41695
|
+
init_salesinvoicediscountresponse();
|
|
41696
|
+
init_salesinvoiceemaildetails();
|
|
41697
|
+
init_salesinvoicelineitemresponse();
|
|
41698
|
+
init_salesinvoicepaymentdetailsresponse();
|
|
41699
|
+
init_salesinvoicepaymenttermresponse();
|
|
41700
|
+
init_salesinvoicerecipientresponse();
|
|
41701
|
+
init_salesinvoicestatusresponse();
|
|
41702
|
+
init_salesinvoicevatmoderesponse();
|
|
41703
|
+
init_salesinvoicevatschemeresponse();
|
|
41727
41704
|
init_url2();
|
|
41728
|
-
|
|
41729
|
-
|
|
41730
|
-
|
|
41705
|
+
SalesInvoiceResponseMetadata$inboundSchema = objectType({});
|
|
41706
|
+
SalesInvoiceResponseMetadata$outboundSchema = objectType({});
|
|
41707
|
+
AmountDue$inboundSchema = objectType({
|
|
41708
|
+
currency: stringType(),
|
|
41709
|
+
value: stringType()
|
|
41731
41710
|
});
|
|
41732
|
-
|
|
41733
|
-
|
|
41734
|
-
|
|
41711
|
+
AmountDue$outboundSchema = objectType({
|
|
41712
|
+
currency: stringType(),
|
|
41713
|
+
value: stringType()
|
|
41735
41714
|
});
|
|
41736
|
-
|
|
41737
|
-
|
|
41738
|
-
|
|
41715
|
+
SubtotalAmount$inboundSchema = objectType({
|
|
41716
|
+
currency: stringType(),
|
|
41717
|
+
value: stringType()
|
|
41739
41718
|
});
|
|
41740
|
-
|
|
41741
|
-
|
|
41742
|
-
|
|
41719
|
+
SubtotalAmount$outboundSchema = objectType({
|
|
41720
|
+
currency: stringType(),
|
|
41721
|
+
value: stringType()
|
|
41743
41722
|
});
|
|
41744
|
-
|
|
41745
|
-
|
|
41746
|
-
|
|
41747
|
-
paymentId: stringType(),
|
|
41748
|
-
amount: Amount$inboundSchema,
|
|
41749
|
-
description: stringType(),
|
|
41750
|
-
destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
|
|
41751
|
-
_links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
|
|
41752
|
-
}).transform((v2) => {
|
|
41753
|
-
return remap(v2, {
|
|
41754
|
-
_links: "links"
|
|
41755
|
-
});
|
|
41723
|
+
TotalAmount$inboundSchema = objectType({
|
|
41724
|
+
currency: stringType(),
|
|
41725
|
+
value: stringType()
|
|
41756
41726
|
});
|
|
41757
|
-
|
|
41758
|
-
|
|
41759
|
-
|
|
41760
|
-
paymentId: stringType(),
|
|
41761
|
-
amount: Amount$outboundSchema,
|
|
41762
|
-
description: stringType(),
|
|
41763
|
-
destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
|
|
41764
|
-
links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
|
|
41765
|
-
}).transform((v2) => {
|
|
41766
|
-
return remap(v2, {
|
|
41767
|
-
links: "_links"
|
|
41768
|
-
});
|
|
41727
|
+
TotalAmount$outboundSchema = objectType({
|
|
41728
|
+
currency: stringType(),
|
|
41729
|
+
value: stringType()
|
|
41769
41730
|
});
|
|
41770
|
-
|
|
41771
|
-
|
|
41772
|
-
|
|
41773
|
-
var RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema;
|
|
41774
|
-
var init_routegetresponse = __esm(() => {
|
|
41775
|
-
init_esm();
|
|
41776
|
-
init_primitives();
|
|
41777
|
-
init_amount();
|
|
41778
|
-
init_routedestinationtyperesponse();
|
|
41779
|
-
init_url2();
|
|
41780
|
-
RouteGetResponseDestination$inboundSchema = objectType({
|
|
41781
|
-
type: RouteDestinationTypeResponse$inboundSchema,
|
|
41782
|
-
organizationId: stringType()
|
|
41731
|
+
TotalVatAmount$inboundSchema = objectType({
|
|
41732
|
+
currency: stringType(),
|
|
41733
|
+
value: stringType()
|
|
41783
41734
|
});
|
|
41784
|
-
|
|
41785
|
-
|
|
41786
|
-
|
|
41735
|
+
TotalVatAmount$outboundSchema = objectType({
|
|
41736
|
+
currency: stringType(),
|
|
41737
|
+
value: stringType()
|
|
41787
41738
|
});
|
|
41788
|
-
|
|
41789
|
-
|
|
41790
|
-
|
|
41739
|
+
DiscountedSubtotalAmount$inboundSchema = objectType({
|
|
41740
|
+
currency: stringType(),
|
|
41741
|
+
value: stringType()
|
|
41791
41742
|
});
|
|
41792
|
-
|
|
41793
|
-
|
|
41794
|
-
|
|
41743
|
+
DiscountedSubtotalAmount$outboundSchema = objectType({
|
|
41744
|
+
currency: stringType(),
|
|
41745
|
+
value: stringType()
|
|
41795
41746
|
});
|
|
41796
|
-
|
|
41747
|
+
SalesInvoiceResponseLinks$inboundSchema = objectType({
|
|
41748
|
+
self: Url$inboundSchema.optional(),
|
|
41749
|
+
invoicePayment: Url$inboundSchema.optional(),
|
|
41750
|
+
pdfLink: Url$inboundSchema.optional(),
|
|
41751
|
+
documentation: Url$inboundSchema.optional(),
|
|
41752
|
+
next: Url$inboundSchema.optional(),
|
|
41753
|
+
previous: Url$inboundSchema.optional()
|
|
41754
|
+
});
|
|
41755
|
+
SalesInvoiceResponseLinks$outboundSchema = objectType({
|
|
41756
|
+
self: Url$outboundSchema.optional(),
|
|
41757
|
+
invoicePayment: Url$outboundSchema.optional(),
|
|
41758
|
+
pdfLink: Url$outboundSchema.optional(),
|
|
41759
|
+
documentation: Url$outboundSchema.optional(),
|
|
41760
|
+
next: Url$outboundSchema.optional(),
|
|
41761
|
+
previous: Url$outboundSchema.optional()
|
|
41762
|
+
});
|
|
41763
|
+
SalesInvoiceResponse$inboundSchema = objectType({
|
|
41797
41764
|
resource: stringType(),
|
|
41798
41765
|
id: stringType(),
|
|
41799
|
-
|
|
41800
|
-
|
|
41801
|
-
|
|
41802
|
-
|
|
41803
|
-
|
|
41804
|
-
|
|
41766
|
+
mode: Mode$inboundSchema,
|
|
41767
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
41768
|
+
status: SalesInvoiceStatusResponse$inboundSchema.optional(),
|
|
41769
|
+
vatScheme: SalesInvoiceVatSchemeResponse$inboundSchema.optional(),
|
|
41770
|
+
vatMode: SalesInvoiceVatModeResponse$inboundSchema.optional(),
|
|
41771
|
+
memo: nullableType(stringType()).optional(),
|
|
41772
|
+
metadata: nullableType(lazyType(() => SalesInvoiceResponseMetadata$inboundSchema)).optional(),
|
|
41773
|
+
paymentTerm: nullableType(SalesInvoicePaymentTermResponse$inboundSchema).optional(),
|
|
41774
|
+
paymentDetails: SalesInvoicePaymentDetailsResponse$inboundSchema.optional(),
|
|
41775
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
|
|
41776
|
+
customerId: stringType().optional(),
|
|
41777
|
+
mandateId: stringType().optional(),
|
|
41778
|
+
recipientIdentifier: stringType().optional(),
|
|
41779
|
+
recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
|
|
41780
|
+
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
|
|
41781
|
+
discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
|
|
41782
|
+
amountDue: lazyType(() => AmountDue$inboundSchema).optional(),
|
|
41783
|
+
subtotalAmount: lazyType(() => SubtotalAmount$inboundSchema).optional(),
|
|
41784
|
+
totalAmount: lazyType(() => TotalAmount$inboundSchema).optional(),
|
|
41785
|
+
totalVatAmount: lazyType(() => TotalVatAmount$inboundSchema).optional(),
|
|
41786
|
+
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$inboundSchema).optional(),
|
|
41787
|
+
createdAt: stringType().optional(),
|
|
41788
|
+
issuedAt: nullableType(stringType()).optional(),
|
|
41789
|
+
paidAt: nullableType(stringType()).optional(),
|
|
41790
|
+
dueAt: nullableType(stringType()).optional(),
|
|
41791
|
+
_links: lazyType(() => SalesInvoiceResponseLinks$inboundSchema).optional()
|
|
41805
41792
|
}).transform((v2) => {
|
|
41806
41793
|
return remap(v2, {
|
|
41807
41794
|
_links: "links"
|
|
41808
41795
|
});
|
|
41809
41796
|
});
|
|
41810
|
-
|
|
41797
|
+
SalesInvoiceResponse$outboundSchema = objectType({
|
|
41811
41798
|
resource: stringType(),
|
|
41812
41799
|
id: stringType(),
|
|
41813
|
-
|
|
41814
|
-
|
|
41815
|
-
|
|
41816
|
-
|
|
41817
|
-
|
|
41818
|
-
|
|
41800
|
+
mode: Mode$outboundSchema,
|
|
41801
|
+
invoiceNumber: nullableType(stringType()).optional(),
|
|
41802
|
+
status: SalesInvoiceStatusResponse$outboundSchema.optional(),
|
|
41803
|
+
vatScheme: SalesInvoiceVatSchemeResponse$outboundSchema.optional(),
|
|
41804
|
+
vatMode: SalesInvoiceVatModeResponse$outboundSchema.optional(),
|
|
41805
|
+
memo: nullableType(stringType()).optional(),
|
|
41806
|
+
metadata: nullableType(lazyType(() => SalesInvoiceResponseMetadata$outboundSchema)).optional(),
|
|
41807
|
+
paymentTerm: nullableType(SalesInvoicePaymentTermResponse$outboundSchema).optional(),
|
|
41808
|
+
paymentDetails: SalesInvoicePaymentDetailsResponse$outboundSchema.optional(),
|
|
41809
|
+
emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
|
|
41810
|
+
customerId: stringType().optional(),
|
|
41811
|
+
mandateId: stringType().optional(),
|
|
41812
|
+
recipientIdentifier: stringType().optional(),
|
|
41813
|
+
recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
|
|
41814
|
+
lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
|
|
41815
|
+
discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
|
|
41816
|
+
amountDue: lazyType(() => AmountDue$outboundSchema).optional(),
|
|
41817
|
+
subtotalAmount: lazyType(() => SubtotalAmount$outboundSchema).optional(),
|
|
41818
|
+
totalAmount: lazyType(() => TotalAmount$outboundSchema).optional(),
|
|
41819
|
+
totalVatAmount: lazyType(() => TotalVatAmount$outboundSchema).optional(),
|
|
41820
|
+
discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$outboundSchema).optional(),
|
|
41821
|
+
createdAt: stringType().optional(),
|
|
41822
|
+
issuedAt: nullableType(stringType()).optional(),
|
|
41823
|
+
paidAt: nullableType(stringType()).optional(),
|
|
41824
|
+
dueAt: nullableType(stringType()).optional(),
|
|
41825
|
+
links: lazyType(() => SalesInvoiceResponseLinks$outboundSchema).optional()
|
|
41819
41826
|
}).transform((v2) => {
|
|
41820
41827
|
return remap(v2, {
|
|
41821
41828
|
links: "_links"
|
|
@@ -42033,7 +42040,7 @@ var init_updatevaluessalesinvoice = __esm(() => {
|
|
|
42033
42040
|
status: SalesInvoiceStatus$inboundSchema.optional(),
|
|
42034
42041
|
memo: nullableType(stringType()).optional(),
|
|
42035
42042
|
paymentTerm: nullableType(SalesInvoicePaymentTerm$inboundSchema).optional(),
|
|
42036
|
-
paymentDetails:
|
|
42043
|
+
paymentDetails: SalesInvoicePaymentDetails$inboundSchema.optional(),
|
|
42037
42044
|
emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
|
|
42038
42045
|
recipientIdentifier: stringType().optional(),
|
|
42039
42046
|
recipient: nullableType(SalesInvoiceRecipient$inboundSchema).optional(),
|
|
@@ -42045,7 +42052,7 @@ var init_updatevaluessalesinvoice = __esm(() => {
|
|
|
42045
42052
|
status: SalesInvoiceStatus$outboundSchema.optional(),
|
|
42046
42053
|
memo: nullableType(stringType()).optional(),
|
|
42047
42054
|
paymentTerm: nullableType(SalesInvoicePaymentTerm$outboundSchema).optional(),
|
|
42048
|
-
paymentDetails:
|
|
42055
|
+
paymentDetails: SalesInvoicePaymentDetails$outboundSchema.optional(),
|
|
42049
42056
|
emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
|
|
42050
42057
|
recipientIdentifier: stringType().optional(),
|
|
42051
42058
|
recipient: nullableType(SalesInvoiceRecipient$outboundSchema).optional(),
|
|
@@ -42110,8 +42117,6 @@ var init_models = __esm(() => {
|
|
|
42110
42117
|
init_entitypermission();
|
|
42111
42118
|
init_entityrefundresponse();
|
|
42112
42119
|
init_entityroute();
|
|
42113
|
-
init_entitysalesinvoice();
|
|
42114
|
-
init_entitysalesinvoiceresponse();
|
|
42115
42120
|
init_entitysettlement();
|
|
42116
42121
|
init_entityterminal();
|
|
42117
42122
|
init_entitywebhook();
|
|
@@ -42189,6 +42194,8 @@ var init_models = __esm(() => {
|
|
|
42189
42194
|
init_salesinvoicerecipientresponse();
|
|
42190
42195
|
init_salesinvoicerecipienttype();
|
|
42191
42196
|
init_salesinvoicerecipienttyperesponse();
|
|
42197
|
+
init_salesinvoicerequest();
|
|
42198
|
+
init_salesinvoiceresponse();
|
|
42192
42199
|
init_salesinvoicestatus();
|
|
42193
42200
|
init_salesinvoicestatusresponse();
|
|
42194
42201
|
init_salesinvoicevatmode();
|
|
@@ -42707,20 +42714,20 @@ var init_createsalesinvoice = __esm(() => {
|
|
|
42707
42714
|
init_models();
|
|
42708
42715
|
CreateSalesInvoiceRequest$inboundSchema = objectType({
|
|
42709
42716
|
"idempotency-key": stringType().optional(),
|
|
42710
|
-
"
|
|
42717
|
+
"sales-invoice-request": SalesInvoiceRequest$inboundSchema.optional()
|
|
42711
42718
|
}).transform((v2) => {
|
|
42712
42719
|
return remap(v2, {
|
|
42713
42720
|
"idempotency-key": "idempotencyKey",
|
|
42714
|
-
"
|
|
42721
|
+
"sales-invoice-request": "salesInvoiceRequest"
|
|
42715
42722
|
});
|
|
42716
42723
|
});
|
|
42717
42724
|
CreateSalesInvoiceRequest$outboundSchema = objectType({
|
|
42718
42725
|
idempotencyKey: stringType().optional(),
|
|
42719
|
-
|
|
42726
|
+
salesInvoiceRequest: SalesInvoiceRequest$outboundSchema.optional()
|
|
42720
42727
|
}).transform((v2) => {
|
|
42721
42728
|
return remap(v2, {
|
|
42722
42729
|
idempotencyKey: "idempotency-key",
|
|
42723
|
-
|
|
42730
|
+
salesInvoiceRequest: "sales-invoice-request"
|
|
42724
42731
|
});
|
|
42725
42732
|
});
|
|
42726
42733
|
});
|
|
@@ -45469,14 +45476,14 @@ var init_listsalesinvoices = __esm(() => {
|
|
|
45469
45476
|
});
|
|
45470
45477
|
});
|
|
45471
45478
|
ListSalesInvoicesEmbedded$inboundSchema = objectType({
|
|
45472
|
-
sales_invoices: arrayType(
|
|
45479
|
+
sales_invoices: arrayType(SalesInvoiceResponse$inboundSchema).optional()
|
|
45473
45480
|
}).transform((v2) => {
|
|
45474
45481
|
return remap(v2, {
|
|
45475
45482
|
sales_invoices: "salesInvoices"
|
|
45476
45483
|
});
|
|
45477
45484
|
});
|
|
45478
45485
|
ListSalesInvoicesEmbedded$outboundSchema = objectType({
|
|
45479
|
-
salesInvoices: arrayType(
|
|
45486
|
+
salesInvoices: arrayType(SalesInvoiceResponse$outboundSchema).optional()
|
|
45480
45487
|
}).transform((v2) => {
|
|
45481
45488
|
return remap(v2, {
|
|
45482
45489
|
salesInvoices: "sales_invoices"
|
|
@@ -55186,7 +55193,7 @@ async function $do67(client, request, options) {
|
|
|
55186
55193
|
return [parsed, { status: "invalid" }];
|
|
55187
55194
|
}
|
|
55188
55195
|
const payload = parsed.value;
|
|
55189
|
-
const body = encodeJSON("body", payload?.["
|
|
55196
|
+
const body = encodeJSON("body", payload?.["sales-invoice-request"], {
|
|
55190
55197
|
explode: true
|
|
55191
55198
|
});
|
|
55192
55199
|
const path = pathToFunc("/sales-invoices")();
|
|
@@ -55243,7 +55250,7 @@ async function $do67(client, request, options) {
|
|
|
55243
55250
|
const responseFields = {
|
|
55244
55251
|
HttpMeta: { Response: response, Request: req }
|
|
55245
55252
|
};
|
|
55246
|
-
const [result] = await match(json(201,
|
|
55253
|
+
const [result] = await match(json(201, SalesInvoiceResponse$inboundSchema, {
|
|
55247
55254
|
ctype: "application/hal+json"
|
|
55248
55255
|
}), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
55249
55256
|
ctype: "application/hal+json"
|
|
@@ -55500,7 +55507,7 @@ async function $do69(client, request, options) {
|
|
|
55500
55507
|
const responseFields = {
|
|
55501
55508
|
HttpMeta: { Response: response, Request: req }
|
|
55502
55509
|
};
|
|
55503
|
-
const [result] = await match(json(200,
|
|
55510
|
+
const [result] = await match(json(200, SalesInvoiceResponse$inboundSchema, {
|
|
55504
55511
|
ctype: "application/hal+json"
|
|
55505
55512
|
}), jsonErr(404, ErrorResponse$inboundSchema, {
|
|
55506
55513
|
ctype: "application/hal+json"
|
|
@@ -55756,7 +55763,7 @@ async function $do71(client, request, options) {
|
|
|
55756
55763
|
const responseFields = {
|
|
55757
55764
|
HttpMeta: { Response: response, Request: req }
|
|
55758
55765
|
};
|
|
55759
|
-
const [result] = await match(json(200,
|
|
55766
|
+
const [result] = await match(json(200, SalesInvoiceResponse$inboundSchema, {
|
|
55760
55767
|
ctype: "application/hal+json"
|
|
55761
55768
|
}), jsonErr([404, 422], ErrorResponse$inboundSchema, {
|
|
55762
55769
|
ctype: "application/hal+json"
|
|
@@ -58992,7 +58999,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
58992
58999
|
function createMCPServer(deps) {
|
|
58993
59000
|
const server = new McpServer({
|
|
58994
59001
|
name: "Client",
|
|
58995
|
-
version: "0.8.
|
|
59002
|
+
version: "0.8.6"
|
|
58996
59003
|
});
|
|
58997
59004
|
const client = new ClientCore({
|
|
58998
59005
|
security: deps.security,
|
|
@@ -60420,7 +60427,7 @@ var routes = an({
|
|
|
60420
60427
|
var app = He(routes, {
|
|
60421
60428
|
name: "mcp",
|
|
60422
60429
|
versionInfo: {
|
|
60423
|
-
currentVersion: "0.8.
|
|
60430
|
+
currentVersion: "0.8.6"
|
|
60424
60431
|
}
|
|
60425
60432
|
});
|
|
60426
60433
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60428,5 +60435,5 @@ export {
|
|
|
60428
60435
|
app
|
|
60429
60436
|
};
|
|
60430
60437
|
|
|
60431
|
-
//# debugId=
|
|
60438
|
+
//# debugId=3F6E182B963A45FD64756E2164756E21
|
|
60432
60439
|
//# sourceMappingURL=mcp-server.js.map
|