mollie-api-typescript 0.2.7 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/bin/mcp-server.js +73 -90
- package/bin/mcp-server.js.map +17 -16
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/url.js +1 -1
- package/dist/commonjs/lib/url.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/entitysalesinvoice.d.ts +4 -2
- package/dist/commonjs/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoice.js.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts +4 -2
- package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/{orderlinecategories.d.ts → linecategories.d.ts} +8 -8
- package/dist/commonjs/models/linecategories.d.ts.map +1 -0
- package/dist/commonjs/models/{orderlinecategories.js → linecategories.js} +12 -12
- package/dist/commonjs/models/linecategories.js.map +1 -0
- package/dist/commonjs/models/linecategoriesresponse.d.ts +26 -0
- package/dist/commonjs/models/linecategoriesresponse.d.ts.map +1 -0
- package/dist/commonjs/models/linecategoriesresponse.js +72 -0
- package/dist/commonjs/models/linecategoriesresponse.js.map +1 -0
- package/dist/commonjs/models/operations/listmethods.d.ts +1 -1
- package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmethods.js +2 -2
- package/dist/commonjs/models/operations/listmethods.js.map +1 -1
- package/dist/commonjs/models/paymentlineitem.d.ts +2 -33
- package/dist/commonjs/models/paymentlineitem.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlineitem.js +4 -24
- package/dist/commonjs/models/paymentlineitem.js.map +1 -1
- package/dist/commonjs/models/paymentlineitemresponse.d.ts +2 -33
- package/dist/commonjs/models/paymentlineitemresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentlineitemresponse.js +4 -25
- package/dist/commonjs/models/paymentlineitemresponse.js.map +1 -1
- package/dist/commonjs/models/paymentrequest.d.ts +2 -33
- package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/paymentrequest.js +4 -24
- package/dist/commonjs/models/paymentrequest.js.map +1 -1
- package/dist/commonjs/models/paymentresponse.d.ts +2 -33
- package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
- package/dist/commonjs/models/paymentresponse.js +4 -24
- package/dist/commonjs/models/paymentresponse.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/url.js +1 -1
- package/dist/esm/lib/url.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/entitysalesinvoice.d.ts +4 -2
- package/dist/esm/models/entitysalesinvoice.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoice.js.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts +4 -2
- package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +1 -1
- package/dist/esm/models/entitysalesinvoiceresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/{orderlinecategories.d.ts → linecategories.d.ts} +8 -8
- package/dist/esm/models/linecategories.d.ts.map +1 -0
- package/dist/esm/models/linecategories.js +28 -0
- package/dist/esm/models/linecategories.js.map +1 -0
- package/dist/esm/models/linecategoriesresponse.d.ts +26 -0
- package/dist/esm/models/linecategoriesresponse.d.ts.map +1 -0
- package/dist/esm/models/linecategoriesresponse.js +36 -0
- package/dist/esm/models/linecategoriesresponse.js.map +1 -0
- package/dist/esm/models/operations/listmethods.d.ts +1 -1
- package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
- package/dist/esm/models/operations/listmethods.js +2 -2
- package/dist/esm/models/operations/listmethods.js.map +1 -1
- package/dist/esm/models/paymentlineitem.d.ts +2 -33
- package/dist/esm/models/paymentlineitem.d.ts.map +1 -1
- package/dist/esm/models/paymentlineitem.js +3 -23
- package/dist/esm/models/paymentlineitem.js.map +1 -1
- package/dist/esm/models/paymentlineitemresponse.d.ts +2 -33
- package/dist/esm/models/paymentlineitemresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentlineitemresponse.js +3 -24
- package/dist/esm/models/paymentlineitemresponse.js.map +1 -1
- package/dist/esm/models/paymentrequest.d.ts +2 -33
- package/dist/esm/models/paymentrequest.d.ts.map +1 -1
- package/dist/esm/models/paymentrequest.js +3 -23
- package/dist/esm/models/paymentrequest.js.map +1 -1
- package/dist/esm/models/paymentresponse.d.ts +2 -33
- package/dist/esm/models/paymentresponse.d.ts.map +1 -1
- package/dist/esm/models/paymentresponse.js +3 -23
- package/dist/esm/models/paymentresponse.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/entitysalesinvoice.ts +4 -2
- package/src/models/entitysalesinvoiceresponse.ts +4 -2
- package/src/models/index.ts +2 -1
- package/src/models/linecategories.ts +37 -0
- package/src/models/linecategoriesresponse.ts +52 -0
- package/src/models/operations/listmethods.ts +3 -3
- package/src/models/paymentlineitem.ts +8 -35
- package/src/models/paymentlineitemresponse.ts +8 -36
- package/src/models/paymentrequest.ts +8 -33
- package/src/models/paymentresponse.ts +8 -35
- package/dist/commonjs/models/orderlinecategories.d.ts.map +0 -1
- package/dist/commonjs/models/orderlinecategories.js.map +0 -1
- package/dist/esm/models/orderlinecategories.d.ts.map +0 -1
- package/dist/esm/models/orderlinecategories.js +0 -28
- package/dist/esm/models/orderlinecategories.js.map +0 -1
- package/src/models/orderlinecategories.ts +0 -37
package/README.md
CHANGED
|
@@ -63,10 +63,7 @@ bun add mollie-api-typescript
|
|
|
63
63
|
### Yarn
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
|
-
yarn add mollie-api-typescript
|
|
67
|
-
|
|
68
|
-
# Note that Yarn does not install peer dependencies automatically. You will need
|
|
69
|
-
# to install zod as shown above.
|
|
66
|
+
yarn add mollie-api-typescript
|
|
70
67
|
```
|
|
71
68
|
|
|
72
69
|
> [!NOTE]
|
package/bin/mcp-server.js
CHANGED
|
@@ -34253,7 +34253,7 @@ var init_base64 = __esm(() => {
|
|
|
34253
34253
|
|
|
34254
34254
|
// src/lib/url.ts
|
|
34255
34255
|
function pathToFunc(pathPattern, options) {
|
|
34256
|
-
const paramRE = /\{([a-zA-Z0-9_]
|
|
34256
|
+
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
34257
34257
|
return function buildURLPath(params = {}) {
|
|
34258
34258
|
return pathPattern.replace(paramRE, function(_2, placeholder) {
|
|
34259
34259
|
if (!hasOwn.call(params, placeholder)) {
|
|
@@ -34295,9 +34295,9 @@ var init_config = __esm(() => {
|
|
|
34295
34295
|
SDK_METADATA = {
|
|
34296
34296
|
language: "typescript",
|
|
34297
34297
|
openapiDocVersion: "1.0.0",
|
|
34298
|
-
sdkVersion: "0.2.
|
|
34299
|
-
genVersion: "2.
|
|
34300
|
-
userAgent: "speakeasy-sdk/typescript 0.2.
|
|
34298
|
+
sdkVersion: "0.2.9",
|
|
34299
|
+
genVersion: "2.716.16",
|
|
34300
|
+
userAgent: "speakeasy-sdk/typescript 0.2.9 2.716.16 1.0.0 mollie-api-typescript"
|
|
34301
34301
|
};
|
|
34302
34302
|
});
|
|
34303
34303
|
|
|
@@ -40707,6 +40707,32 @@ var init_paymentaddress = __esm(() => {
|
|
|
40707
40707
|
})(PaymentAddress$ ||= {});
|
|
40708
40708
|
});
|
|
40709
40709
|
|
|
40710
|
+
// src/models/linecategoriesresponse.ts
|
|
40711
|
+
var LineCategoriesResponse, LineCategoriesResponse$inboundSchema, LineCategoriesResponse$outboundSchema, LineCategoriesResponse$;
|
|
40712
|
+
var init_linecategoriesresponse = __esm(() => {
|
|
40713
|
+
init_esm();
|
|
40714
|
+
LineCategoriesResponse = {
|
|
40715
|
+
Eco: "eco",
|
|
40716
|
+
Gift: "gift",
|
|
40717
|
+
Meal: "meal",
|
|
40718
|
+
SportCulture: "sport_culture",
|
|
40719
|
+
Additional: "additional",
|
|
40720
|
+
Consume: "consume"
|
|
40721
|
+
};
|
|
40722
|
+
LineCategoriesResponse$inboundSchema = unionType([
|
|
40723
|
+
nativeEnumType(LineCategoriesResponse),
|
|
40724
|
+
stringType().transform(catchUnrecognizedEnum)
|
|
40725
|
+
]);
|
|
40726
|
+
LineCategoriesResponse$outboundSchema = unionType([
|
|
40727
|
+
nativeEnumType(LineCategoriesResponse),
|
|
40728
|
+
stringType().and(custom())
|
|
40729
|
+
]);
|
|
40730
|
+
((LineCategoriesResponse$) => {
|
|
40731
|
+
LineCategoriesResponse$.inboundSchema = LineCategoriesResponse$inboundSchema;
|
|
40732
|
+
LineCategoriesResponse$.outboundSchema = LineCategoriesResponse$outboundSchema;
|
|
40733
|
+
})(LineCategoriesResponse$ ||= {});
|
|
40734
|
+
});
|
|
40735
|
+
|
|
40710
40736
|
// src/models/paymentlinetyperesponse.ts
|
|
40711
40737
|
var PaymentLineTypeResponse, PaymentLineTypeResponse$inboundSchema, PaymentLineTypeResponse$outboundSchema, PaymentLineTypeResponse$;
|
|
40712
40738
|
var init_paymentlinetyperesponse = __esm(() => {
|
|
@@ -40736,23 +40762,12 @@ var init_paymentlinetyperesponse = __esm(() => {
|
|
|
40736
40762
|
});
|
|
40737
40763
|
|
|
40738
40764
|
// src/models/paymentlineitemresponse.ts
|
|
40739
|
-
var
|
|
40765
|
+
var PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema, PaymentLineItemResponse$;
|
|
40740
40766
|
var init_paymentlineitemresponse = __esm(() => {
|
|
40741
40767
|
init_esm();
|
|
40742
40768
|
init_amount();
|
|
40769
|
+
init_linecategoriesresponse();
|
|
40743
40770
|
init_paymentlinetyperesponse();
|
|
40744
|
-
PaymentLineItemResponseCategory = {
|
|
40745
|
-
Meal: "meal",
|
|
40746
|
-
Eco: "eco",
|
|
40747
|
-
Gift: "gift",
|
|
40748
|
-
SportCulture: "sport_culture"
|
|
40749
|
-
};
|
|
40750
|
-
PaymentLineItemResponseCategory$inboundSchema = nativeEnumType(PaymentLineItemResponseCategory);
|
|
40751
|
-
PaymentLineItemResponseCategory$outboundSchema = PaymentLineItemResponseCategory$inboundSchema;
|
|
40752
|
-
((PaymentLineItemResponseCategory$) => {
|
|
40753
|
-
PaymentLineItemResponseCategory$.inboundSchema = PaymentLineItemResponseCategory$inboundSchema;
|
|
40754
|
-
PaymentLineItemResponseCategory$.outboundSchema = PaymentLineItemResponseCategory$outboundSchema;
|
|
40755
|
-
})(PaymentLineItemResponseCategory$ ||= {});
|
|
40756
40771
|
PaymentLineItemResponse$inboundSchema = objectType({
|
|
40757
40772
|
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
40758
40773
|
description: stringType(),
|
|
@@ -40764,7 +40779,7 @@ var init_paymentlineitemresponse = __esm(() => {
|
|
|
40764
40779
|
vatRate: stringType().optional(),
|
|
40765
40780
|
vatAmount: Amount$inboundSchema.optional(),
|
|
40766
40781
|
sku: stringType().optional(),
|
|
40767
|
-
categories: arrayType(
|
|
40782
|
+
categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
|
|
40768
40783
|
imageUrl: stringType().optional(),
|
|
40769
40784
|
productUrl: stringType().optional()
|
|
40770
40785
|
});
|
|
@@ -40779,7 +40794,7 @@ var init_paymentlineitemresponse = __esm(() => {
|
|
|
40779
40794
|
vatRate: stringType().optional(),
|
|
40780
40795
|
vatAmount: Amount$outboundSchema.optional(),
|
|
40781
40796
|
sku: stringType().optional(),
|
|
40782
|
-
categories: arrayType(
|
|
40797
|
+
categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
|
|
40783
40798
|
imageUrl: stringType().optional(),
|
|
40784
40799
|
productUrl: stringType().optional()
|
|
40785
40800
|
});
|
|
@@ -41024,6 +41039,26 @@ var init_errorresponse = __esm(() => {
|
|
|
41024
41039
|
})(ErrorResponseLinks$ ||= {});
|
|
41025
41040
|
});
|
|
41026
41041
|
|
|
41042
|
+
// src/models/linecategories.ts
|
|
41043
|
+
var LineCategories, LineCategories$inboundSchema, LineCategories$outboundSchema, LineCategories$;
|
|
41044
|
+
var init_linecategories = __esm(() => {
|
|
41045
|
+
init_esm();
|
|
41046
|
+
LineCategories = {
|
|
41047
|
+
Eco: "eco",
|
|
41048
|
+
Gift: "gift",
|
|
41049
|
+
Meal: "meal",
|
|
41050
|
+
SportCulture: "sport_culture",
|
|
41051
|
+
Additional: "additional",
|
|
41052
|
+
Consume: "consume"
|
|
41053
|
+
};
|
|
41054
|
+
LineCategories$inboundSchema = nativeEnumType(LineCategories);
|
|
41055
|
+
LineCategories$outboundSchema = LineCategories$inboundSchema;
|
|
41056
|
+
((LineCategories$) => {
|
|
41057
|
+
LineCategories$.inboundSchema = LineCategories$inboundSchema;
|
|
41058
|
+
LineCategories$.outboundSchema = LineCategories$outboundSchema;
|
|
41059
|
+
})(LineCategories$ ||= {});
|
|
41060
|
+
});
|
|
41061
|
+
|
|
41027
41062
|
// src/models/listlinks.ts
|
|
41028
41063
|
var ListLinks$inboundSchema, ListLinks$outboundSchema, ListLinks$;
|
|
41029
41064
|
var init_listlinks = __esm(() => {
|
|
@@ -41329,26 +41364,6 @@ var init_method = __esm(() => {
|
|
|
41329
41364
|
})(Method$ ||= {});
|
|
41330
41365
|
});
|
|
41331
41366
|
|
|
41332
|
-
// src/models/orderlinecategories.ts
|
|
41333
|
-
var OrderLineCategories, OrderLineCategories$inboundSchema, OrderLineCategories$outboundSchema, OrderLineCategories$;
|
|
41334
|
-
var init_orderlinecategories = __esm(() => {
|
|
41335
|
-
init_esm();
|
|
41336
|
-
OrderLineCategories = {
|
|
41337
|
-
Eco: "eco",
|
|
41338
|
-
Gift: "gift",
|
|
41339
|
-
Meal: "meal",
|
|
41340
|
-
SportCulture: "sport_culture",
|
|
41341
|
-
Additional: "additional",
|
|
41342
|
-
Consume: "consume"
|
|
41343
|
-
};
|
|
41344
|
-
OrderLineCategories$inboundSchema = nativeEnumType(OrderLineCategories);
|
|
41345
|
-
OrderLineCategories$outboundSchema = OrderLineCategories$inboundSchema;
|
|
41346
|
-
((OrderLineCategories$) => {
|
|
41347
|
-
OrderLineCategories$.inboundSchema = OrderLineCategories$inboundSchema;
|
|
41348
|
-
OrderLineCategories$.outboundSchema = OrderLineCategories$outboundSchema;
|
|
41349
|
-
})(OrderLineCategories$ ||= {});
|
|
41350
|
-
});
|
|
41351
|
-
|
|
41352
41367
|
// src/models/paymentdetailscardauditionresponse.ts
|
|
41353
41368
|
var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema, PaymentDetailsCardAuditionResponse$;
|
|
41354
41369
|
var init_paymentdetailscardauditionresponse = __esm(() => {
|
|
@@ -41641,23 +41656,12 @@ var init_paymentlinetype = __esm(() => {
|
|
|
41641
41656
|
});
|
|
41642
41657
|
|
|
41643
41658
|
// src/models/paymentlineitem.ts
|
|
41644
|
-
var
|
|
41659
|
+
var PaymentLineItem$inboundSchema, PaymentLineItem$outboundSchema, PaymentLineItem$;
|
|
41645
41660
|
var init_paymentlineitem = __esm(() => {
|
|
41646
41661
|
init_esm();
|
|
41647
41662
|
init_amount();
|
|
41663
|
+
init_linecategories();
|
|
41648
41664
|
init_paymentlinetype();
|
|
41649
|
-
PaymentLineItemCategory = {
|
|
41650
|
-
Meal: "meal",
|
|
41651
|
-
Eco: "eco",
|
|
41652
|
-
Gift: "gift",
|
|
41653
|
-
SportCulture: "sport_culture"
|
|
41654
|
-
};
|
|
41655
|
-
PaymentLineItemCategory$inboundSchema = nativeEnumType(PaymentLineItemCategory);
|
|
41656
|
-
PaymentLineItemCategory$outboundSchema = PaymentLineItemCategory$inboundSchema;
|
|
41657
|
-
((PaymentLineItemCategory$) => {
|
|
41658
|
-
PaymentLineItemCategory$.inboundSchema = PaymentLineItemCategory$inboundSchema;
|
|
41659
|
-
PaymentLineItemCategory$.outboundSchema = PaymentLineItemCategory$outboundSchema;
|
|
41660
|
-
})(PaymentLineItemCategory$ ||= {});
|
|
41661
41665
|
PaymentLineItem$inboundSchema = objectType({
|
|
41662
41666
|
type: PaymentLineType$inboundSchema.optional(),
|
|
41663
41667
|
description: stringType(),
|
|
@@ -41669,7 +41673,7 @@ var init_paymentlineitem = __esm(() => {
|
|
|
41669
41673
|
vatRate: stringType().optional(),
|
|
41670
41674
|
vatAmount: Amount$inboundSchema.optional(),
|
|
41671
41675
|
sku: stringType().optional(),
|
|
41672
|
-
categories: arrayType(
|
|
41676
|
+
categories: arrayType(LineCategories$inboundSchema).optional(),
|
|
41673
41677
|
imageUrl: stringType().optional(),
|
|
41674
41678
|
productUrl: stringType().optional()
|
|
41675
41679
|
});
|
|
@@ -41684,7 +41688,7 @@ var init_paymentlineitem = __esm(() => {
|
|
|
41684
41688
|
vatRate: stringType().optional(),
|
|
41685
41689
|
vatAmount: Amount$outboundSchema.optional(),
|
|
41686
41690
|
sku: stringType().optional(),
|
|
41687
|
-
categories: arrayType(
|
|
41691
|
+
categories: arrayType(LineCategories$outboundSchema).optional(),
|
|
41688
41692
|
imageUrl: stringType().optional(),
|
|
41689
41693
|
productUrl: stringType().optional()
|
|
41690
41694
|
});
|
|
@@ -41784,13 +41788,14 @@ var init_sequencetype = __esm(() => {
|
|
|
41784
41788
|
});
|
|
41785
41789
|
|
|
41786
41790
|
// src/models/paymentrequest.ts
|
|
41787
|
-
var
|
|
41791
|
+
var PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestLine$, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, PaymentRequestApplicationFee$, Company$inboundSchema, Company$outboundSchema, Company$, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema, PaymentRequest$;
|
|
41788
41792
|
var init_paymentrequest = __esm(() => {
|
|
41789
41793
|
init_esm();
|
|
41790
41794
|
init_rfcdate();
|
|
41791
41795
|
init_amount();
|
|
41792
41796
|
init_capturemode();
|
|
41793
41797
|
init_entitypaymentroute();
|
|
41798
|
+
init_linecategories();
|
|
41794
41799
|
init_locale();
|
|
41795
41800
|
init_metadata();
|
|
41796
41801
|
init_method();
|
|
@@ -41798,18 +41803,6 @@ var init_paymentrequest = __esm(() => {
|
|
|
41798
41803
|
init_paymentlinetype();
|
|
41799
41804
|
init_recurringlineitem();
|
|
41800
41805
|
init_sequencetype();
|
|
41801
|
-
PaymentRequestCategory = {
|
|
41802
|
-
Meal: "meal",
|
|
41803
|
-
Eco: "eco",
|
|
41804
|
-
Gift: "gift",
|
|
41805
|
-
SportCulture: "sport_culture"
|
|
41806
|
-
};
|
|
41807
|
-
PaymentRequestCategory$inboundSchema = nativeEnumType(PaymentRequestCategory);
|
|
41808
|
-
PaymentRequestCategory$outboundSchema = PaymentRequestCategory$inboundSchema;
|
|
41809
|
-
((PaymentRequestCategory$) => {
|
|
41810
|
-
PaymentRequestCategory$.inboundSchema = PaymentRequestCategory$inboundSchema;
|
|
41811
|
-
PaymentRequestCategory$.outboundSchema = PaymentRequestCategory$outboundSchema;
|
|
41812
|
-
})(PaymentRequestCategory$ ||= {});
|
|
41813
41806
|
PaymentRequestLine$inboundSchema = objectType({
|
|
41814
41807
|
type: PaymentLineType$inboundSchema.optional(),
|
|
41815
41808
|
description: stringType(),
|
|
@@ -41821,7 +41814,7 @@ var init_paymentrequest = __esm(() => {
|
|
|
41821
41814
|
vatRate: stringType().optional(),
|
|
41822
41815
|
vatAmount: Amount$inboundSchema.optional(),
|
|
41823
41816
|
sku: stringType().optional(),
|
|
41824
|
-
categories: arrayType(
|
|
41817
|
+
categories: arrayType(LineCategories$inboundSchema).optional(),
|
|
41825
41818
|
imageUrl: stringType().optional(),
|
|
41826
41819
|
productUrl: stringType().optional(),
|
|
41827
41820
|
recurring: RecurringLineItem$inboundSchema.optional()
|
|
@@ -41837,7 +41830,7 @@ var init_paymentrequest = __esm(() => {
|
|
|
41837
41830
|
vatRate: stringType().optional(),
|
|
41838
41831
|
vatAmount: Amount$outboundSchema.optional(),
|
|
41839
41832
|
sku: stringType().optional(),
|
|
41840
|
-
categories: arrayType(
|
|
41833
|
+
categories: arrayType(LineCategories$outboundSchema).optional(),
|
|
41841
41834
|
imageUrl: stringType().optional(),
|
|
41842
41835
|
productUrl: stringType().optional(),
|
|
41843
41836
|
recurring: RecurringLineItem$outboundSchema.optional()
|
|
@@ -42161,7 +42154,7 @@ var init_statusreason = __esm(() => {
|
|
|
42161
42154
|
});
|
|
42162
42155
|
|
|
42163
42156
|
// src/models/paymentresponse.ts
|
|
42164
|
-
var
|
|
42157
|
+
var PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseLine$, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseApplicationFee$, Receipt$inboundSchema, Receipt$outboundSchema, Receipt$, QrCode$inboundSchema, QrCode$outboundSchema, QrCode$, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseDetails$, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponseLinks$, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema, PaymentResponse$;
|
|
42165
42158
|
var init_paymentresponse = __esm(() => {
|
|
42166
42159
|
init_esm();
|
|
42167
42160
|
init_primitives();
|
|
@@ -42170,6 +42163,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
42170
42163
|
init_amountnullable();
|
|
42171
42164
|
init_capturemoderesponse();
|
|
42172
42165
|
init_entitypaymentrouteresponse();
|
|
42166
|
+
init_linecategoriesresponse();
|
|
42173
42167
|
init_localeresponse();
|
|
42174
42168
|
init_metadata();
|
|
42175
42169
|
init_methodresponse();
|
|
@@ -42191,18 +42185,6 @@ var init_paymentresponse = __esm(() => {
|
|
|
42191
42185
|
init_sequencetyperesponse();
|
|
42192
42186
|
init_statusreason();
|
|
42193
42187
|
init_url2();
|
|
42194
|
-
PaymentResponseCategory = {
|
|
42195
|
-
Meal: "meal",
|
|
42196
|
-
Eco: "eco",
|
|
42197
|
-
Gift: "gift",
|
|
42198
|
-
SportCulture: "sport_culture"
|
|
42199
|
-
};
|
|
42200
|
-
PaymentResponseCategory$inboundSchema = nativeEnumType(PaymentResponseCategory);
|
|
42201
|
-
PaymentResponseCategory$outboundSchema = PaymentResponseCategory$inboundSchema;
|
|
42202
|
-
((PaymentResponseCategory$) => {
|
|
42203
|
-
PaymentResponseCategory$.inboundSchema = PaymentResponseCategory$inboundSchema;
|
|
42204
|
-
PaymentResponseCategory$.outboundSchema = PaymentResponseCategory$outboundSchema;
|
|
42205
|
-
})(PaymentResponseCategory$ ||= {});
|
|
42206
42188
|
PaymentResponseLine$inboundSchema = objectType({
|
|
42207
42189
|
type: PaymentLineTypeResponse$inboundSchema.optional(),
|
|
42208
42190
|
description: stringType(),
|
|
@@ -42214,7 +42196,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
42214
42196
|
vatRate: stringType().optional(),
|
|
42215
42197
|
vatAmount: Amount$inboundSchema.optional(),
|
|
42216
42198
|
sku: stringType().optional(),
|
|
42217
|
-
categories: arrayType(
|
|
42199
|
+
categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
|
|
42218
42200
|
imageUrl: stringType().optional(),
|
|
42219
42201
|
productUrl: stringType().optional(),
|
|
42220
42202
|
recurring: RecurringLineItem$inboundSchema.optional()
|
|
@@ -42230,7 +42212,7 @@ var init_paymentresponse = __esm(() => {
|
|
|
42230
42212
|
vatRate: stringType().optional(),
|
|
42231
42213
|
vatAmount: Amount$outboundSchema.optional(),
|
|
42232
42214
|
sku: stringType().optional(),
|
|
42233
|
-
categories: arrayType(
|
|
42215
|
+
categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
|
|
42234
42216
|
imageUrl: stringType().optional(),
|
|
42235
42217
|
productUrl: stringType().optional(),
|
|
42236
42218
|
recurring: RecurringLineItem$outboundSchema.optional()
|
|
@@ -43049,6 +43031,8 @@ var init_models = __esm(() => {
|
|
|
43049
43031
|
init_entitywebhookevent();
|
|
43050
43032
|
init_errorresponse();
|
|
43051
43033
|
init_invoicestatus();
|
|
43034
|
+
init_linecategories();
|
|
43035
|
+
init_linecategoriesresponse();
|
|
43052
43036
|
init_listlinks();
|
|
43053
43037
|
init_listsort();
|
|
43054
43038
|
init_locale();
|
|
@@ -43065,7 +43049,6 @@ var init_models = __esm(() => {
|
|
|
43065
43049
|
init_methodstatus();
|
|
43066
43050
|
init_mode();
|
|
43067
43051
|
init_onboardingstatus();
|
|
43068
|
-
init_orderlinecategories();
|
|
43069
43052
|
init_organizationvatregulation();
|
|
43070
43053
|
init_paymentaddress();
|
|
43071
43054
|
init_paymentdetailscardauditionresponse();
|
|
@@ -46185,7 +46168,7 @@ var init_listmethods = __esm(() => {
|
|
|
46185
46168
|
resource: Resource$inboundSchema.optional(),
|
|
46186
46169
|
billingCountry: stringType().optional(),
|
|
46187
46170
|
includeWallets: IncludeWallets$inboundSchema.optional(),
|
|
46188
|
-
orderLineCategories:
|
|
46171
|
+
orderLineCategories: LineCategories$inboundSchema.optional(),
|
|
46189
46172
|
profileId: stringType().optional(),
|
|
46190
46173
|
include: nullableType(stringType()).optional(),
|
|
46191
46174
|
testmode: nullableType(booleanType()).optional(),
|
|
@@ -46202,7 +46185,7 @@ var init_listmethods = __esm(() => {
|
|
|
46202
46185
|
resource: Resource$outboundSchema.optional(),
|
|
46203
46186
|
billingCountry: stringType().optional(),
|
|
46204
46187
|
includeWallets: IncludeWallets$outboundSchema.optional(),
|
|
46205
|
-
orderLineCategories:
|
|
46188
|
+
orderLineCategories: LineCategories$outboundSchema.optional(),
|
|
46206
46189
|
profileId: stringType().optional(),
|
|
46207
46190
|
include: nullableType(stringType()).optional(),
|
|
46208
46191
|
testmode: nullableType(booleanType()).optional(),
|
|
@@ -60000,7 +59983,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
|
|
|
60000
59983
|
function createMCPServer(deps) {
|
|
60001
59984
|
const server = new McpServer({
|
|
60002
59985
|
name: "Client",
|
|
60003
|
-
version: "0.2.
|
|
59986
|
+
version: "0.2.9"
|
|
60004
59987
|
});
|
|
60005
59988
|
const client = new ClientCore({
|
|
60006
59989
|
security: deps.security,
|
|
@@ -61389,7 +61372,7 @@ var routes = an({
|
|
|
61389
61372
|
var app = He(routes, {
|
|
61390
61373
|
name: "mcp",
|
|
61391
61374
|
versionInfo: {
|
|
61392
|
-
currentVersion: "0.2.
|
|
61375
|
+
currentVersion: "0.2.9"
|
|
61393
61376
|
}
|
|
61394
61377
|
});
|
|
61395
61378
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -61397,5 +61380,5 @@ export {
|
|
|
61397
61380
|
app
|
|
61398
61381
|
};
|
|
61399
61382
|
|
|
61400
|
-
//# debugId=
|
|
61383
|
+
//# debugId=854CE418D53E4D7764756E2164756E21
|
|
61401
61384
|
//# sourceMappingURL=mcp-server.js.map
|