ce-storefront 0.10.1 → 0.10.2
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 +44 -81
- package/bin/mcp-server.js.map +18 -18
- package/docs/sdks/carts/README.md +0 -4
- package/docs/sdks/orders/README.md +6 -4
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/components/customeraddress.d.ts +2 -2
- package/esm/models/components/customeraddress.d.ts.map +1 -1
- package/esm/models/components/customeraddress.js +2 -2
- package/esm/models/components/customeraddress.js.map +1 -1
- package/esm/models/components/customeraddressinput.d.ts +2 -2
- package/esm/models/components/customeraddressinput.d.ts.map +1 -1
- package/esm/models/components/customeraddressinput.js +2 -2
- package/esm/models/components/customeraddressinput.js.map +1 -1
- package/esm/models/components/juspaypaymentgatewayparams.js +1 -1
- package/esm/models/components/juspaypaymentgatewayparams.js.map +1 -1
- package/esm/models/components/juspaypaymentinfo.d.ts +2 -2
- package/esm/models/components/juspaypaymentinfo.d.ts.map +1 -1
- package/esm/models/components/juspaypaymentinfo.js +2 -4
- package/esm/models/components/juspaypaymentinfo.js.map +1 -1
- package/esm/models/components/orderdetail.d.ts +5 -2
- package/esm/models/components/orderdetail.d.ts.map +1 -1
- package/esm/models/components/orderdetail.js +3 -2
- package/esm/models/components/orderdetail.js.map +1 -1
- package/esm/models/components/payupaymentgatewayparams.js +1 -1
- package/esm/models/components/payupaymentgatewayparams.js.map +1 -1
- package/esm/models/components/payupaymentinfo.d.ts +0 -2
- package/esm/models/components/payupaymentinfo.d.ts.map +1 -1
- package/esm/models/components/payupaymentinfo.js +0 -4
- package/esm/models/components/payupaymentinfo.js.map +1 -1
- package/esm/models/operations/createaddress.d.ts +2 -2
- package/esm/models/operations/createaddress.d.ts.map +1 -1
- package/esm/models/operations/createaddress.js +2 -2
- package/esm/models/operations/createaddress.js.map +1 -1
- package/esm/models/operations/createorder.d.ts +4 -20
- package/esm/models/operations/createorder.d.ts.map +1 -1
- package/esm/models/operations/createorder.js +8 -24
- package/esm/models/operations/createorder.js.map +1 -1
- package/esm/models/operations/getaddressdetail.d.ts +2 -2
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +2 -2
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +2 -2
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +2 -2
- package/esm/models/operations/listaddresses.js.map +1 -1
- package/esm/models/operations/retryorderpayment.d.ts +4 -20
- package/esm/models/operations/retryorderpayment.d.ts.map +1 -1
- package/esm/models/operations/retryorderpayment.js +8 -24
- package/esm/models/operations/retryorderpayment.js.map +1 -1
- package/esm/models/operations/updateaddressdetail.d.ts +2 -2
- package/esm/models/operations/updateaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/updateaddressdetail.js +2 -2
- package/esm/models/operations/updateaddressdetail.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/customeraddress.ts +4 -4
- package/src/models/components/customeraddressinput.ts +4 -4
- package/src/models/components/juspaypaymentgatewayparams.ts +1 -1
- package/src/models/components/juspaypaymentinfo.ts +4 -6
- package/src/models/components/orderdetail.ts +5 -6
- package/src/models/components/payupaymentgatewayparams.ts +1 -1
- package/src/models/components/payupaymentinfo.ts +0 -6
- package/src/models/operations/createaddress.ts +4 -4
- package/src/models/operations/createorder.ts +15 -49
- package/src/models/operations/getaddressdetail.ts +4 -4
- package/src/models/operations/listaddresses.ts +4 -4
- package/src/models/operations/retryorderpayment.ts +15 -49
- package/src/models/operations/updateaddressdetail.ts +4 -4
package/bin/mcp-server.js
CHANGED
|
@@ -4020,15 +4020,15 @@ var ServerStaging = "staging", ServerProd = "prod", ServerList, SDK_METADATA;
|
|
|
4020
4020
|
var init_config = __esm(() => {
|
|
4021
4021
|
init_url();
|
|
4022
4022
|
ServerList = {
|
|
4023
|
-
[ServerStaging]: "https://staging.api.commercengine.io/api/v1/
|
|
4023
|
+
[ServerStaging]: "https://staging.api.commercengine.io/api/v1/store_id/storefront",
|
|
4024
4024
|
[ServerProd]: "https://prod.api.commercengine.io/api/v1/{store_id}/storefront"
|
|
4025
4025
|
};
|
|
4026
4026
|
SDK_METADATA = {
|
|
4027
4027
|
language: "typescript",
|
|
4028
4028
|
openapiDocVersion: "1.0",
|
|
4029
|
-
sdkVersion: "0.10.
|
|
4029
|
+
sdkVersion: "0.10.2",
|
|
4030
4030
|
genVersion: "2.593.4",
|
|
4031
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
4031
|
+
userAgent: "speakeasy-sdk/typescript 0.10.2 2.593.4 1.0 ce-storefront"
|
|
4032
4032
|
};
|
|
4033
4033
|
});
|
|
4034
4034
|
|
|
@@ -36162,7 +36162,7 @@ var init_customeraddress = __esm(() => {
|
|
|
36162
36162
|
init_lib();
|
|
36163
36163
|
init_primitives();
|
|
36164
36164
|
CustomerAddress$inboundSchema = objectType({
|
|
36165
|
-
id: nullableType(stringType()),
|
|
36165
|
+
id: nullableType(stringType()).optional(),
|
|
36166
36166
|
first_name: stringType(),
|
|
36167
36167
|
last_name: nullableType(stringType()),
|
|
36168
36168
|
country_code: stringType(),
|
|
@@ -36193,7 +36193,7 @@ var init_customeraddress = __esm(() => {
|
|
|
36193
36193
|
});
|
|
36194
36194
|
});
|
|
36195
36195
|
CustomerAddress$outboundSchema = objectType({
|
|
36196
|
-
id: nullableType(stringType()),
|
|
36196
|
+
id: nullableType(stringType()).optional(),
|
|
36197
36197
|
firstName: stringType(),
|
|
36198
36198
|
lastName: nullableType(stringType()),
|
|
36199
36199
|
countryCode: stringType(),
|
|
@@ -36440,7 +36440,7 @@ var init_customeraddressinput = __esm(() => {
|
|
|
36440
36440
|
init_lib();
|
|
36441
36441
|
init_primitives();
|
|
36442
36442
|
CustomerAddressInput$inboundSchema = objectType({
|
|
36443
|
-
id: nullableType(stringType()),
|
|
36443
|
+
id: nullableType(stringType()).optional(),
|
|
36444
36444
|
first_name: stringType(),
|
|
36445
36445
|
last_name: nullableType(stringType()),
|
|
36446
36446
|
country_code: stringType(),
|
|
@@ -36467,7 +36467,7 @@ var init_customeraddressinput = __esm(() => {
|
|
|
36467
36467
|
});
|
|
36468
36468
|
});
|
|
36469
36469
|
CustomerAddressInput$outboundSchema = objectType({
|
|
36470
|
-
id: nullableType(stringType()),
|
|
36470
|
+
id: nullableType(stringType()).optional(),
|
|
36471
36471
|
firstName: stringType(),
|
|
36472
36472
|
lastName: nullableType(stringType()),
|
|
36473
36473
|
countryCode: stringType(),
|
|
@@ -37404,7 +37404,7 @@ var init_juspaypaymentgatewayparams = __esm(() => {
|
|
|
37404
37404
|
IntegrationType$.outboundSchema = IntegrationType$outboundSchema;
|
|
37405
37405
|
})(IntegrationType$ ||= {});
|
|
37406
37406
|
JuspayPaymentGatewayParams$inboundSchema = objectType({
|
|
37407
|
-
payment_gateway: literalType("JUSPAY").
|
|
37407
|
+
payment_gateway: literalType("JUSPAY").default("JUSPAY"),
|
|
37408
37408
|
action: Action$inboundSchema,
|
|
37409
37409
|
integration_type: IntegrationType$inboundSchema,
|
|
37410
37410
|
return_url: stringType(),
|
|
@@ -37448,10 +37448,12 @@ var init_juspaypaymentinfo = __esm(() => {
|
|
|
37448
37448
|
OneMinus31: "1-31"
|
|
37449
37449
|
};
|
|
37450
37450
|
PaymentLinks$inboundSchema = objectType({
|
|
37451
|
-
web: stringType().optional()
|
|
37451
|
+
web: stringType().optional(),
|
|
37452
|
+
expiry: nullableType(stringType()).optional()
|
|
37452
37453
|
});
|
|
37453
37454
|
PaymentLinks$outboundSchema = objectType({
|
|
37454
|
-
web: stringType().optional()
|
|
37455
|
+
web: stringType().optional(),
|
|
37456
|
+
expiry: nullableType(stringType()).optional()
|
|
37455
37457
|
});
|
|
37456
37458
|
((PaymentLinks$) => {
|
|
37457
37459
|
PaymentLinks$.inboundSchema = PaymentLinks$inboundSchema;
|
|
@@ -37548,7 +37550,6 @@ var init_juspaypaymentinfo = __esm(() => {
|
|
|
37548
37550
|
SDKPayload$.outboundSchema = SDKPayload$outboundSchema;
|
|
37549
37551
|
})(SDKPayload$ ||= {});
|
|
37550
37552
|
JuspayPaymentInfo$inboundSchema = objectType({
|
|
37551
|
-
payment_gateway: literalType("JUSPAY").optional(),
|
|
37552
37553
|
id: stringType().optional(),
|
|
37553
37554
|
status: stringType().optional(),
|
|
37554
37555
|
order_id: stringType().optional(),
|
|
@@ -37556,14 +37557,12 @@ var init_juspaypaymentinfo = __esm(() => {
|
|
|
37556
37557
|
sdk_payload: lazyType(() => SDKPayload$inboundSchema).optional()
|
|
37557
37558
|
}).transform((v2) => {
|
|
37558
37559
|
return remap(v2, {
|
|
37559
|
-
payment_gateway: "paymentGateway",
|
|
37560
37560
|
order_id: "orderId",
|
|
37561
37561
|
payment_links: "paymentLinks",
|
|
37562
37562
|
sdk_payload: "sdkPayload"
|
|
37563
37563
|
});
|
|
37564
37564
|
});
|
|
37565
37565
|
JuspayPaymentInfo$outboundSchema = objectType({
|
|
37566
|
-
paymentGateway: literalType("JUSPAY").default("JUSPAY"),
|
|
37567
37566
|
id: stringType().optional(),
|
|
37568
37567
|
status: stringType().optional(),
|
|
37569
37568
|
orderId: stringType().optional(),
|
|
@@ -37571,7 +37570,6 @@ var init_juspaypaymentinfo = __esm(() => {
|
|
|
37571
37570
|
sdkPayload: lazyType(() => SDKPayload$outboundSchema).optional()
|
|
37572
37571
|
}).transform((v2) => {
|
|
37573
37572
|
return remap(v2, {
|
|
37574
|
-
paymentGateway: "payment_gateway",
|
|
37575
37573
|
orderId: "order_id",
|
|
37576
37574
|
paymentLinks: "payment_links",
|
|
37577
37575
|
sdkPayload: "sdk_payload"
|
|
@@ -38061,7 +38059,8 @@ var init_orderdetail = __esm(() => {
|
|
|
38061
38059
|
PartiallyReturnToOrigin: "partially_return_to_origin",
|
|
38062
38060
|
Complete: "complete",
|
|
38063
38061
|
PartiallyDelivered: "partially_delivered",
|
|
38064
|
-
Cancelled: "cancelled"
|
|
38062
|
+
Cancelled: "cancelled",
|
|
38063
|
+
Pending: "pending"
|
|
38065
38064
|
};
|
|
38066
38065
|
PaymentStatus = {
|
|
38067
38066
|
Pending: "pending",
|
|
@@ -38144,7 +38143,7 @@ var init_orderdetail = __esm(() => {
|
|
|
38144
38143
|
order_date: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
38145
38144
|
status: OrderDetailStatus$inboundSchema.optional(),
|
|
38146
38145
|
payment_status: PaymentStatus$inboundSchema.optional(),
|
|
38147
|
-
payment_success_date: stringType()
|
|
38146
|
+
payment_success_date: nullableType(stringType()).optional(),
|
|
38148
38147
|
customer_email: nullableType(stringType()).optional(),
|
|
38149
38148
|
customer_phone: nullableType(stringType()).optional(),
|
|
38150
38149
|
customer_note: nullableType(stringType()).optional(),
|
|
@@ -38217,7 +38216,7 @@ var init_orderdetail = __esm(() => {
|
|
|
38217
38216
|
orderDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
38218
38217
|
status: OrderDetailStatus$outboundSchema.optional(),
|
|
38219
38218
|
paymentStatus: PaymentStatus$outboundSchema.optional(),
|
|
38220
|
-
paymentSuccessDate:
|
|
38219
|
+
paymentSuccessDate: nullableType(stringType()).optional(),
|
|
38221
38220
|
customerEmail: nullableType(stringType()).optional(),
|
|
38222
38221
|
customerPhone: nullableType(stringType()).optional(),
|
|
38223
38222
|
customerNote: nullableType(stringType()).optional(),
|
|
@@ -38635,7 +38634,7 @@ var init_payupaymentgatewayparams = __esm(() => {
|
|
|
38635
38634
|
init_lib();
|
|
38636
38635
|
init_primitives();
|
|
38637
38636
|
PayuPaymentGatewayParams$inboundSchema = objectType({
|
|
38638
|
-
payment_gateway: literalType("PAYU").
|
|
38637
|
+
payment_gateway: literalType("PAYU").default("PAYU"),
|
|
38639
38638
|
furl: stringType(),
|
|
38640
38639
|
surl: stringType()
|
|
38641
38640
|
}).transform((v2) => {
|
|
@@ -38716,7 +38715,6 @@ var init_payupaymentinfo = __esm(() => {
|
|
|
38716
38715
|
SiDetails$.outboundSchema = SiDetails$outboundSchema;
|
|
38717
38716
|
})(SiDetails$ ||= {});
|
|
38718
38717
|
PayuPaymentInfo$inboundSchema = objectType({
|
|
38719
|
-
payment_gateway: literalType("PAYU").optional(),
|
|
38720
38718
|
key: stringType().optional(),
|
|
38721
38719
|
txnid: stringType().optional(),
|
|
38722
38720
|
amount: numberType().optional(),
|
|
@@ -38732,12 +38730,10 @@ var init_payupaymentinfo = __esm(() => {
|
|
|
38732
38730
|
hash: stringType().optional()
|
|
38733
38731
|
}).transform((v2) => {
|
|
38734
38732
|
return remap(v2, {
|
|
38735
|
-
payment_gateway: "paymentGateway",
|
|
38736
38733
|
si_details: "siDetails"
|
|
38737
38734
|
});
|
|
38738
38735
|
});
|
|
38739
38736
|
PayuPaymentInfo$outboundSchema = objectType({
|
|
38740
|
-
paymentGateway: literalType("PAYU").default("PAYU"),
|
|
38741
38737
|
key: stringType().optional(),
|
|
38742
38738
|
txnid: stringType().optional(),
|
|
38743
38739
|
amount: numberType().optional(),
|
|
@@ -38753,7 +38749,6 @@ var init_payupaymentinfo = __esm(() => {
|
|
|
38753
38749
|
hash: stringType().optional()
|
|
38754
38750
|
}).transform((v2) => {
|
|
38755
38751
|
return remap(v2, {
|
|
38756
|
-
paymentGateway: "payment_gateway",
|
|
38757
38752
|
siDetails: "si_details"
|
|
38758
38753
|
});
|
|
38759
38754
|
});
|
|
@@ -40269,7 +40264,7 @@ var init_createaddress = __esm(() => {
|
|
|
40269
40264
|
init_primitives();
|
|
40270
40265
|
init_components();
|
|
40271
40266
|
CreateAddressRequestBody$inboundSchema = objectType({
|
|
40272
|
-
id: nullableType(stringType()),
|
|
40267
|
+
id: nullableType(stringType()).optional(),
|
|
40273
40268
|
first_name: stringType(),
|
|
40274
40269
|
last_name: nullableType(stringType()),
|
|
40275
40270
|
country_code: stringType(),
|
|
@@ -40300,7 +40295,7 @@ var init_createaddress = __esm(() => {
|
|
|
40300
40295
|
});
|
|
40301
40296
|
});
|
|
40302
40297
|
CreateAddressRequestBody$outboundSchema = objectType({
|
|
40303
|
-
id: nullableType(stringType()),
|
|
40298
|
+
id: nullableType(stringType()).optional(),
|
|
40304
40299
|
firstName: stringType(),
|
|
40305
40300
|
lastName: nullableType(stringType()),
|
|
40306
40301
|
countryCode: stringType(),
|
|
@@ -40692,20 +40687,12 @@ var init_createorder = __esm(() => {
|
|
|
40692
40687
|
CreateOrderRequestBody$.outboundSchema = CreateOrderRequestBody$outboundSchema;
|
|
40693
40688
|
})(CreateOrderRequestBody$ ||= {});
|
|
40694
40689
|
PaymentInfo$inboundSchema = unionType([
|
|
40695
|
-
JuspayPaymentInfo$inboundSchema
|
|
40696
|
-
|
|
40697
|
-
}))),
|
|
40698
|
-
PayuPaymentInfo$inboundSchema.and(objectType({ payment_gateway: literalType("PAYU") }).transform((v2) => ({
|
|
40699
|
-
paymentGateway: v2.payment_gateway
|
|
40700
|
-
})))
|
|
40690
|
+
JuspayPaymentInfo$inboundSchema,
|
|
40691
|
+
PayuPaymentInfo$inboundSchema
|
|
40701
40692
|
]);
|
|
40702
40693
|
PaymentInfo$outboundSchema = unionType([
|
|
40703
|
-
JuspayPaymentInfo$outboundSchema
|
|
40704
|
-
|
|
40705
|
-
}))),
|
|
40706
|
-
PayuPaymentInfo$outboundSchema.and(objectType({ paymentGateway: literalType("PAYU") }).transform((v2) => ({
|
|
40707
|
-
payment_gateway: v2.paymentGateway
|
|
40708
|
-
})))
|
|
40694
|
+
JuspayPaymentInfo$outboundSchema,
|
|
40695
|
+
PayuPaymentInfo$outboundSchema
|
|
40709
40696
|
]);
|
|
40710
40697
|
((PaymentInfo$) => {
|
|
40711
40698
|
PaymentInfo$.inboundSchema = PaymentInfo$inboundSchema;
|
|
@@ -40715,12 +40702,8 @@ var init_createorder = __esm(() => {
|
|
|
40715
40702
|
order: OrderDetail$inboundSchema,
|
|
40716
40703
|
payment_required: booleanType(),
|
|
40717
40704
|
payment_info: unionType([
|
|
40718
|
-
JuspayPaymentInfo$inboundSchema
|
|
40719
|
-
|
|
40720
|
-
}))),
|
|
40721
|
-
PayuPaymentInfo$inboundSchema.and(objectType({ payment_gateway: literalType("PAYU") }).transform((v2) => ({
|
|
40722
|
-
paymentGateway: v2.payment_gateway
|
|
40723
|
-
})))
|
|
40705
|
+
JuspayPaymentInfo$inboundSchema,
|
|
40706
|
+
PayuPaymentInfo$inboundSchema
|
|
40724
40707
|
])
|
|
40725
40708
|
}).transform((v2) => {
|
|
40726
40709
|
return remap(v2, {
|
|
@@ -40732,12 +40715,8 @@ var init_createorder = __esm(() => {
|
|
|
40732
40715
|
order: OrderDetail$outboundSchema,
|
|
40733
40716
|
paymentRequired: booleanType(),
|
|
40734
40717
|
paymentInfo: unionType([
|
|
40735
|
-
JuspayPaymentInfo$outboundSchema
|
|
40736
|
-
|
|
40737
|
-
}))),
|
|
40738
|
-
PayuPaymentInfo$outboundSchema.and(objectType({ paymentGateway: literalType("PAYU") }).transform((v2) => ({
|
|
40739
|
-
payment_gateway: v2.paymentGateway
|
|
40740
|
-
})))
|
|
40718
|
+
JuspayPaymentInfo$outboundSchema,
|
|
40719
|
+
PayuPaymentInfo$outboundSchema
|
|
40741
40720
|
])
|
|
40742
40721
|
}).transform((v2) => {
|
|
40743
40722
|
return remap(v2, {
|
|
@@ -40996,7 +40975,7 @@ var init_getaddressdetail = __esm(() => {
|
|
|
40996
40975
|
GetAddressDetailRequest$.outboundSchema = GetAddressDetailRequest$outboundSchema;
|
|
40997
40976
|
})(GetAddressDetailRequest$ ||= {});
|
|
40998
40977
|
Address$inboundSchema = objectType({
|
|
40999
|
-
id: nullableType(stringType()),
|
|
40978
|
+
id: nullableType(stringType()).optional(),
|
|
41000
40979
|
first_name: stringType(),
|
|
41001
40980
|
last_name: nullableType(stringType()),
|
|
41002
40981
|
country_code: stringType(),
|
|
@@ -41031,7 +41010,7 @@ var init_getaddressdetail = __esm(() => {
|
|
|
41031
41010
|
});
|
|
41032
41011
|
});
|
|
41033
41012
|
Address$outboundSchema = objectType({
|
|
41034
|
-
id: nullableType(stringType()),
|
|
41013
|
+
id: nullableType(stringType()).optional(),
|
|
41035
41014
|
firstName: stringType(),
|
|
41036
41015
|
lastName: nullableType(stringType()),
|
|
41037
41016
|
countryCode: stringType(),
|
|
@@ -41671,7 +41650,7 @@ var init_listaddresses = __esm(() => {
|
|
|
41671
41650
|
ListAddressesRequest$.outboundSchema = ListAddressesRequest$outboundSchema;
|
|
41672
41651
|
})(ListAddressesRequest$ ||= {});
|
|
41673
41652
|
Addresses$inboundSchema = objectType({
|
|
41674
|
-
id: nullableType(stringType()),
|
|
41653
|
+
id: nullableType(stringType()).optional(),
|
|
41675
41654
|
first_name: stringType(),
|
|
41676
41655
|
last_name: nullableType(stringType()),
|
|
41677
41656
|
country_code: stringType(),
|
|
@@ -41706,7 +41685,7 @@ var init_listaddresses = __esm(() => {
|
|
|
41706
41685
|
});
|
|
41707
41686
|
});
|
|
41708
41687
|
Addresses$outboundSchema = objectType({
|
|
41709
|
-
id: nullableType(stringType()),
|
|
41688
|
+
id: nullableType(stringType()).optional(),
|
|
41710
41689
|
firstName: stringType(),
|
|
41711
41690
|
lastName: nullableType(stringType()),
|
|
41712
41691
|
countryCode: stringType(),
|
|
@@ -43039,20 +43018,12 @@ var init_retryorderpayment = __esm(() => {
|
|
|
43039
43018
|
RetryOrderPaymentRequest$.outboundSchema = RetryOrderPaymentRequest$outboundSchema;
|
|
43040
43019
|
})(RetryOrderPaymentRequest$ ||= {});
|
|
43041
43020
|
RetryOrderPaymentPaymentInfo$inboundSchema = unionType([
|
|
43042
|
-
JuspayPaymentInfo$inboundSchema
|
|
43043
|
-
|
|
43044
|
-
}))),
|
|
43045
|
-
PayuPaymentInfo$inboundSchema.and(objectType({ payment_gateway: literalType("PAYU") }).transform((v2) => ({
|
|
43046
|
-
paymentGateway: v2.payment_gateway
|
|
43047
|
-
})))
|
|
43021
|
+
JuspayPaymentInfo$inboundSchema,
|
|
43022
|
+
PayuPaymentInfo$inboundSchema
|
|
43048
43023
|
]);
|
|
43049
43024
|
RetryOrderPaymentPaymentInfo$outboundSchema = unionType([
|
|
43050
|
-
JuspayPaymentInfo$outboundSchema
|
|
43051
|
-
|
|
43052
|
-
}))),
|
|
43053
|
-
PayuPaymentInfo$outboundSchema.and(objectType({ paymentGateway: literalType("PAYU") }).transform((v2) => ({
|
|
43054
|
-
payment_gateway: v2.paymentGateway
|
|
43055
|
-
})))
|
|
43025
|
+
JuspayPaymentInfo$outboundSchema,
|
|
43026
|
+
PayuPaymentInfo$outboundSchema
|
|
43056
43027
|
]);
|
|
43057
43028
|
((RetryOrderPaymentPaymentInfo$) => {
|
|
43058
43029
|
RetryOrderPaymentPaymentInfo$.inboundSchema = RetryOrderPaymentPaymentInfo$inboundSchema;
|
|
@@ -43062,12 +43033,8 @@ var init_retryorderpayment = __esm(() => {
|
|
|
43062
43033
|
order: OrderDetail$inboundSchema,
|
|
43063
43034
|
payment_required: booleanType(),
|
|
43064
43035
|
payment_info: unionType([
|
|
43065
|
-
JuspayPaymentInfo$inboundSchema
|
|
43066
|
-
|
|
43067
|
-
}))),
|
|
43068
|
-
PayuPaymentInfo$inboundSchema.and(objectType({ payment_gateway: literalType("PAYU") }).transform((v2) => ({
|
|
43069
|
-
paymentGateway: v2.payment_gateway
|
|
43070
|
-
})))
|
|
43036
|
+
JuspayPaymentInfo$inboundSchema,
|
|
43037
|
+
PayuPaymentInfo$inboundSchema
|
|
43071
43038
|
])
|
|
43072
43039
|
}).transform((v2) => {
|
|
43073
43040
|
return remap(v2, {
|
|
@@ -43079,12 +43046,8 @@ var init_retryorderpayment = __esm(() => {
|
|
|
43079
43046
|
order: OrderDetail$outboundSchema,
|
|
43080
43047
|
paymentRequired: booleanType(),
|
|
43081
43048
|
paymentInfo: unionType([
|
|
43082
|
-
JuspayPaymentInfo$outboundSchema
|
|
43083
|
-
|
|
43084
|
-
}))),
|
|
43085
|
-
PayuPaymentInfo$outboundSchema.and(objectType({ paymentGateway: literalType("PAYU") }).transform((v2) => ({
|
|
43086
|
-
payment_gateway: v2.paymentGateway
|
|
43087
|
-
})))
|
|
43049
|
+
JuspayPaymentInfo$outboundSchema,
|
|
43050
|
+
PayuPaymentInfo$outboundSchema
|
|
43088
43051
|
])
|
|
43089
43052
|
}).transform((v2) => {
|
|
43090
43053
|
return remap(v2, {
|
|
@@ -43207,7 +43170,7 @@ var init_updateaddressdetail = __esm(() => {
|
|
|
43207
43170
|
init_primitives();
|
|
43208
43171
|
init_components();
|
|
43209
43172
|
UpdateAddressDetailRequestBody$inboundSchema = objectType({
|
|
43210
|
-
id: nullableType(stringType()),
|
|
43173
|
+
id: nullableType(stringType()).optional(),
|
|
43211
43174
|
first_name: stringType(),
|
|
43212
43175
|
last_name: nullableType(stringType()),
|
|
43213
43176
|
country_code: stringType(),
|
|
@@ -43238,7 +43201,7 @@ var init_updateaddressdetail = __esm(() => {
|
|
|
43238
43201
|
});
|
|
43239
43202
|
});
|
|
43240
43203
|
UpdateAddressDetailRequestBody$outboundSchema = objectType({
|
|
43241
|
-
id: nullableType(stringType()),
|
|
43204
|
+
id: nullableType(stringType()).optional(),
|
|
43242
43205
|
firstName: stringType(),
|
|
43243
43206
|
lastName: nullableType(stringType()),
|
|
43244
43207
|
countryCode: stringType(),
|
|
@@ -49234,7 +49197,7 @@ Check shipment delivery availability in an area by pincode`,
|
|
|
49234
49197
|
function createMCPServer(deps) {
|
|
49235
49198
|
const server = new McpServer({
|
|
49236
49199
|
name: "CeStorefront",
|
|
49237
|
-
version: "0.10.
|
|
49200
|
+
version: "0.10.2"
|
|
49238
49201
|
});
|
|
49239
49202
|
const client = new CeStorefrontCore({
|
|
49240
49203
|
authorization: deps.authorization,
|
|
@@ -50562,7 +50525,7 @@ var routes = rn({
|
|
|
50562
50525
|
var app = Ve(routes, {
|
|
50563
50526
|
name: "mcp",
|
|
50564
50527
|
versionInfo: {
|
|
50565
|
-
currentVersion: "0.10.
|
|
50528
|
+
currentVersion: "0.10.2"
|
|
50566
50529
|
}
|
|
50567
50530
|
});
|
|
50568
50531
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -50570,5 +50533,5 @@ export {
|
|
|
50570
50533
|
app
|
|
50571
50534
|
};
|
|
50572
50535
|
|
|
50573
|
-
//# debugId=
|
|
50536
|
+
//# debugId=97031341107AED2F64756E2164756E21
|
|
50574
50537
|
//# sourceMappingURL=mcp-server.js.map
|