ce-storefront 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +24 -24
- package/bin/mcp-server.js.map +7 -7
- 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/operations/getaddressdetail.d.ts +15 -15
- package/esm/models/operations/getaddressdetail.d.ts.map +1 -1
- package/esm/models/operations/getaddressdetail.js +15 -17
- package/esm/models/operations/getaddressdetail.js.map +1 -1
- package/esm/models/operations/listaddresses.d.ts +15 -15
- package/esm/models/operations/listaddresses.d.ts.map +1 -1
- package/esm/models/operations/listaddresses.js +17 -15
- package/esm/models/operations/listaddresses.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/operations/getaddressdetail.ts +57 -66
- package/src/models/operations/listaddresses.ts +62 -57
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.9.
|
|
4029
|
+
sdkVersion: "0.9.3",
|
|
4030
4030
|
genVersion: "2.593.3",
|
|
4031
|
-
userAgent: "speakeasy-sdk/typescript 0.9.
|
|
4031
|
+
userAgent: "speakeasy-sdk/typescript 0.9.3 2.593.3 1.0 ce-storefront"
|
|
4032
4032
|
};
|
|
4033
4033
|
});
|
|
4034
4034
|
|
|
@@ -41384,7 +41384,7 @@ var init_generateotp = __esm(() => {
|
|
|
41384
41384
|
});
|
|
41385
41385
|
|
|
41386
41386
|
// src/models/operations/getaddressdetail.ts
|
|
41387
|
-
var GetAddressDetailRequest$inboundSchema, GetAddressDetailRequest$outboundSchema, GetAddressDetailRequest$,
|
|
41387
|
+
var GetAddressDetailRequest$inboundSchema, GetAddressDetailRequest$outboundSchema, GetAddressDetailRequest$, Address$inboundSchema, Address$outboundSchema, Address$, GetAddressDetailContent$inboundSchema, GetAddressDetailContent$outboundSchema, GetAddressDetailContent$, GetAddressDetailResponseBody$inboundSchema, GetAddressDetailResponseBody$outboundSchema, GetAddressDetailResponseBody$;
|
|
41388
41388
|
var init_getaddressdetail = __esm(() => {
|
|
41389
41389
|
init_lib();
|
|
41390
41390
|
init_primitives();
|
|
@@ -41410,7 +41410,7 @@ var init_getaddressdetail = __esm(() => {
|
|
|
41410
41410
|
GetAddressDetailRequest$.inboundSchema = GetAddressDetailRequest$inboundSchema;
|
|
41411
41411
|
GetAddressDetailRequest$.outboundSchema = GetAddressDetailRequest$outboundSchema;
|
|
41412
41412
|
})(GetAddressDetailRequest$ ||= {});
|
|
41413
|
-
|
|
41413
|
+
Address$inboundSchema = objectType({
|
|
41414
41414
|
id: nullableType(stringType()),
|
|
41415
41415
|
first_name: stringType(),
|
|
41416
41416
|
last_name: nullableType(stringType()),
|
|
@@ -41445,7 +41445,7 @@ var init_getaddressdetail = __esm(() => {
|
|
|
41445
41445
|
is_default_shipping: "isDefaultShipping"
|
|
41446
41446
|
});
|
|
41447
41447
|
});
|
|
41448
|
-
|
|
41448
|
+
Address$outboundSchema = objectType({
|
|
41449
41449
|
id: nullableType(stringType()),
|
|
41450
41450
|
firstName: stringType(),
|
|
41451
41451
|
lastName: nullableType(stringType()),
|
|
@@ -41480,15 +41480,15 @@ var init_getaddressdetail = __esm(() => {
|
|
|
41480
41480
|
isDefaultShipping: "is_default_shipping"
|
|
41481
41481
|
});
|
|
41482
41482
|
});
|
|
41483
|
-
((
|
|
41484
|
-
|
|
41485
|
-
|
|
41486
|
-
})(
|
|
41483
|
+
((Address$) => {
|
|
41484
|
+
Address$.inboundSchema = Address$inboundSchema;
|
|
41485
|
+
Address$.outboundSchema = Address$outboundSchema;
|
|
41486
|
+
})(Address$ ||= {});
|
|
41487
41487
|
GetAddressDetailContent$inboundSchema = objectType({
|
|
41488
|
-
address: nullableType(lazyType(() =>
|
|
41488
|
+
address: nullableType(lazyType(() => Address$inboundSchema)).optional()
|
|
41489
41489
|
});
|
|
41490
41490
|
GetAddressDetailContent$outboundSchema = objectType({
|
|
41491
|
-
address: nullableType(lazyType(() =>
|
|
41491
|
+
address: nullableType(lazyType(() => Address$outboundSchema)).optional()
|
|
41492
41492
|
});
|
|
41493
41493
|
((GetAddressDetailContent$) => {
|
|
41494
41494
|
GetAddressDetailContent$.inboundSchema = GetAddressDetailContent$inboundSchema;
|
|
@@ -42050,7 +42050,7 @@ var init_getvariantdetail = __esm(() => {
|
|
|
42050
42050
|
});
|
|
42051
42051
|
|
|
42052
42052
|
// src/models/operations/listaddresses.ts
|
|
42053
|
-
var ListAddressesRequest$inboundSchema, ListAddressesRequest$outboundSchema, ListAddressesRequest$,
|
|
42053
|
+
var ListAddressesRequest$inboundSchema, ListAddressesRequest$outboundSchema, ListAddressesRequest$, Addresses$inboundSchema, Addresses$outboundSchema, Addresses$, ListAddressesContent$inboundSchema, ListAddressesContent$outboundSchema, ListAddressesContent$, ListAddressesResponseBody$inboundSchema, ListAddressesResponseBody$outboundSchema, ListAddressesResponseBody$;
|
|
42054
42054
|
var init_listaddresses = __esm(() => {
|
|
42055
42055
|
init_lib();
|
|
42056
42056
|
init_primitives();
|
|
@@ -42077,7 +42077,7 @@ var init_listaddresses = __esm(() => {
|
|
|
42077
42077
|
ListAddressesRequest$.inboundSchema = ListAddressesRequest$inboundSchema;
|
|
42078
42078
|
ListAddressesRequest$.outboundSchema = ListAddressesRequest$outboundSchema;
|
|
42079
42079
|
})(ListAddressesRequest$ ||= {});
|
|
42080
|
-
|
|
42080
|
+
Addresses$inboundSchema = objectType({
|
|
42081
42081
|
id: nullableType(stringType()),
|
|
42082
42082
|
first_name: stringType(),
|
|
42083
42083
|
last_name: nullableType(stringType()),
|
|
@@ -42112,7 +42112,7 @@ var init_listaddresses = __esm(() => {
|
|
|
42112
42112
|
is_default_shipping: "isDefaultShipping"
|
|
42113
42113
|
});
|
|
42114
42114
|
});
|
|
42115
|
-
|
|
42115
|
+
Addresses$outboundSchema = objectType({
|
|
42116
42116
|
id: nullableType(stringType()),
|
|
42117
42117
|
firstName: stringType(),
|
|
42118
42118
|
lastName: nullableType(stringType()),
|
|
@@ -42147,16 +42147,16 @@ var init_listaddresses = __esm(() => {
|
|
|
42147
42147
|
isDefaultShipping: "is_default_shipping"
|
|
42148
42148
|
});
|
|
42149
42149
|
});
|
|
42150
|
-
((
|
|
42151
|
-
|
|
42152
|
-
|
|
42153
|
-
})(
|
|
42150
|
+
((Addresses$) => {
|
|
42151
|
+
Addresses$.inboundSchema = Addresses$inboundSchema;
|
|
42152
|
+
Addresses$.outboundSchema = Addresses$outboundSchema;
|
|
42153
|
+
})(Addresses$ ||= {});
|
|
42154
42154
|
ListAddressesContent$inboundSchema = objectType({
|
|
42155
|
-
|
|
42155
|
+
addresses: arrayType(nullableType(lazyType(() => Addresses$inboundSchema))).optional(),
|
|
42156
42156
|
pagination: Pagination$inboundSchema.optional()
|
|
42157
42157
|
});
|
|
42158
42158
|
ListAddressesContent$outboundSchema = objectType({
|
|
42159
|
-
|
|
42159
|
+
addresses: arrayType(nullableType(lazyType(() => Addresses$outboundSchema))).optional(),
|
|
42160
42160
|
pagination: Pagination$outboundSchema.optional()
|
|
42161
42161
|
});
|
|
42162
42162
|
((ListAddressesContent$) => {
|
|
@@ -50257,7 +50257,7 @@ Check shipment delivery availability in an area by pincode`,
|
|
|
50257
50257
|
function createMCPServer(deps) {
|
|
50258
50258
|
const server = new McpServer({
|
|
50259
50259
|
name: "CeStorefront",
|
|
50260
|
-
version: "0.9.
|
|
50260
|
+
version: "0.9.3"
|
|
50261
50261
|
});
|
|
50262
50262
|
const client = new CeStorefrontCore({
|
|
50263
50263
|
authorization: deps.authorization,
|
|
@@ -51593,7 +51593,7 @@ var routes = rn({
|
|
|
51593
51593
|
var app = Ve(routes, {
|
|
51594
51594
|
name: "mcp",
|
|
51595
51595
|
versionInfo: {
|
|
51596
|
-
currentVersion: "0.9.
|
|
51596
|
+
currentVersion: "0.9.3"
|
|
51597
51597
|
}
|
|
51598
51598
|
});
|
|
51599
51599
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -51601,5 +51601,5 @@ export {
|
|
|
51601
51601
|
app
|
|
51602
51602
|
};
|
|
51603
51603
|
|
|
51604
|
-
//# debugId=
|
|
51604
|
+
//# debugId=9CE7D0115624CB3064756E2164756E21
|
|
51605
51605
|
//# sourceMappingURL=mcp-server.js.map
|