@shippo/shippo-mcp 0.8.5 → 0.8.8
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 +30 -17
- package/bin/mcp-server.js.map +10 -9
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/rate.d.ts +1 -1
- package/esm/models/rate.d.ts.map +1 -1
- package/esm/models/rate.js +1 -1
- package/esm/models/rate.js.map +1 -1
- package/esm/models/servicelevel.d.ts +2 -2
- package/esm/models/servicelevel.d.ts.map +1 -1
- package/esm/models/servicelevel.js +2 -2
- package/esm/models/servicelevel.js.map +1 -1
- package/esm/models/servicelevelwithparent.d.ts +4 -4
- package/esm/models/servicelevelwithparent.d.ts.map +1 -1
- package/esm/models/servicelevelwithparent.js +4 -4
- package/esm/models/servicelevelwithparent.js.map +1 -1
- package/esm/models/track.d.ts +8 -7
- package/esm/models/track.d.ts.map +1 -1
- package/esm/models/track.js +8 -7
- package/esm/models/track.js.map +1 -1
- package/esm/models/trackingstatustolocation.d.ts +12 -0
- package/esm/models/trackingstatustolocation.d.ts.map +1 -0
- package/esm/models/trackingstatustolocation.js +11 -0
- package/esm/models/trackingstatustolocation.js.map +1 -0
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/rate.ts +2 -2
- package/src/models/servicelevel.ts +4 -4
- package/src/models/servicelevelwithparent.ts +8 -8
- package/src/models/track.ts +18 -14
- package/src/models/trackingstatustolocation.ts +28 -0
package/bin/mcp-server.js
CHANGED
|
@@ -46623,9 +46623,9 @@ var init_config = __esm(() => {
|
|
|
46623
46623
|
SDK_METADATA = {
|
|
46624
46624
|
language: "typescript",
|
|
46625
46625
|
openapiDocVersion: "2018-02-08",
|
|
46626
|
-
sdkVersion: "0.8.
|
|
46626
|
+
sdkVersion: "0.8.8",
|
|
46627
46627
|
genVersion: "2.769.1",
|
|
46628
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.8.
|
|
46628
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.8.8 2.769.1 2018-02-08 @shippo/shippo-mcp"
|
|
46629
46629
|
};
|
|
46630
46630
|
});
|
|
46631
46631
|
|
|
@@ -55648,19 +55648,19 @@ var init_servicelevelwithparent = __esm(() => {
|
|
|
55648
55648
|
init_zod();
|
|
55649
55649
|
ParentServicelevel$zodSchema = objectType({
|
|
55650
55650
|
extended_token: stringType().optional(),
|
|
55651
|
-
name: stringType().optional(),
|
|
55651
|
+
name: stringType().nullable().optional(),
|
|
55652
55652
|
terms: stringType().optional(),
|
|
55653
|
-
token: stringType().optional()
|
|
55653
|
+
token: stringType().nullable().optional()
|
|
55654
55654
|
}).describe(`Used for some Service Levels to link to the more "generic" version of this Service Level - for example,
|
|
55655
55655
|
` + `if this Service Level is a variation specific to shipments to Europe("ups_saver_eu"), the "parent" is
|
|
55656
55656
|
` + `the fully generic version ("ups_saver"). Helpful when displaying Service Levels to users. Has the same
|
|
55657
55657
|
` + 'structure of the servicelevel - "name", "token", "terms", and "extended_token", or it is otherwise null.');
|
|
55658
55658
|
ServiceLevelWithParent$zodSchema = objectType({
|
|
55659
55659
|
extended_token: stringType().optional(),
|
|
55660
|
-
name: stringType().optional(),
|
|
55660
|
+
name: stringType().nullable().optional(),
|
|
55661
55661
|
parent_servicelevel: lazyType(() => ParentServicelevel$zodSchema).nullable().optional(),
|
|
55662
55662
|
terms: stringType().optional(),
|
|
55663
|
-
token: stringType().optional()
|
|
55663
|
+
token: stringType().nullable().optional()
|
|
55664
55664
|
}).describe("Contains details regarding the service level for the given rate.");
|
|
55665
55665
|
});
|
|
55666
55666
|
|
|
@@ -55693,7 +55693,7 @@ var init_rate = __esm(() => {
|
|
|
55693
55693
|
provider: stringType(),
|
|
55694
55694
|
provider_image_200: stringType().optional(),
|
|
55695
55695
|
provider_image_75: stringType().optional(),
|
|
55696
|
-
servicelevel: ServiceLevelWithParent$zodSchema,
|
|
55696
|
+
servicelevel: ServiceLevelWithParent$zodSchema.nullable(),
|
|
55697
55697
|
shipment: stringType(),
|
|
55698
55698
|
test: booleanType().optional(),
|
|
55699
55699
|
zone: stringType().nullable().optional()
|
|
@@ -58413,6 +58413,18 @@ var init_trackingstatuslocationbase = __esm(() => {
|
|
|
58413
58413
|
});
|
|
58414
58414
|
});
|
|
58415
58415
|
|
|
58416
|
+
// src/models/trackingstatustolocation.ts
|
|
58417
|
+
var TrackingStatusToLocation$zodSchema;
|
|
58418
|
+
var init_trackingstatustolocation = __esm(() => {
|
|
58419
|
+
init_zod();
|
|
58420
|
+
TrackingStatusToLocation$zodSchema = objectType({
|
|
58421
|
+
city: stringType().optional(),
|
|
58422
|
+
country: stringType().optional(),
|
|
58423
|
+
state: stringType().optional(),
|
|
58424
|
+
zip: stringType().optional()
|
|
58425
|
+
}).describe("The recipient address with city, state, zip and country information.");
|
|
58426
|
+
});
|
|
58427
|
+
|
|
58416
58428
|
// src/models/track.ts
|
|
58417
58429
|
var Track$zodSchema;
|
|
58418
58430
|
var init_track = __esm(() => {
|
|
@@ -58420,18 +58432,19 @@ var init_track = __esm(() => {
|
|
|
58420
58432
|
init_servicelevelwithparent();
|
|
58421
58433
|
init_trackingstatus();
|
|
58422
58434
|
init_trackingstatuslocationbase();
|
|
58435
|
+
init_trackingstatustolocation();
|
|
58423
58436
|
Track$zodSchema = objectType({
|
|
58424
58437
|
address_from: TrackingStatusLocationBase$zodSchema.optional(),
|
|
58425
|
-
address_to:
|
|
58438
|
+
address_to: TrackingStatusToLocation$zodSchema.nullable().optional(),
|
|
58426
58439
|
carrier: stringType(),
|
|
58427
|
-
eta: stringType().datetime({ offset: true }).optional(),
|
|
58440
|
+
eta: stringType().datetime({ offset: true }).nullable().optional(),
|
|
58428
58441
|
messages: arrayType(stringType()),
|
|
58429
|
-
metadata: stringType().optional(),
|
|
58430
|
-
original_eta: stringType().datetime({ offset: true }).optional(),
|
|
58431
|
-
servicelevel: ServiceLevelWithParent$zodSchema.optional(),
|
|
58432
|
-
tracking_history: arrayType(TrackingStatus$zodSchema),
|
|
58442
|
+
metadata: stringType().nullable().optional(),
|
|
58443
|
+
original_eta: stringType().datetime({ offset: true }).nullable().optional(),
|
|
58444
|
+
servicelevel: ServiceLevelWithParent$zodSchema.nullable().optional(),
|
|
58445
|
+
tracking_history: arrayType(TrackingStatus$zodSchema.nullable()),
|
|
58433
58446
|
tracking_number: stringType(),
|
|
58434
|
-
tracking_status: TrackingStatus$zodSchema.optional(),
|
|
58447
|
+
tracking_status: TrackingStatus$zodSchema.nullable().optional(),
|
|
58435
58448
|
transaction: stringType().nullable().optional()
|
|
58436
58449
|
});
|
|
58437
58450
|
});
|
|
@@ -60862,7 +60875,7 @@ Updates an existing webhook using the webhook object ID.`,
|
|
|
60862
60875
|
function createMCPServer(deps) {
|
|
60863
60876
|
const server = new McpServer({
|
|
60864
60877
|
name: "ShippoSDK",
|
|
60865
|
-
version: "0.8.
|
|
60878
|
+
version: "0.8.8"
|
|
60866
60879
|
});
|
|
60867
60880
|
const getClient = deps.getSDK || (() => new ShippoSDKCore({
|
|
60868
60881
|
security: deps.security,
|
|
@@ -62254,7 +62267,7 @@ var routes = ln({
|
|
|
62254
62267
|
var app = _e(routes, {
|
|
62255
62268
|
name: "mcp",
|
|
62256
62269
|
versionInfo: {
|
|
62257
|
-
currentVersion: "0.8.
|
|
62270
|
+
currentVersion: "0.8.8"
|
|
62258
62271
|
}
|
|
62259
62272
|
});
|
|
62260
62273
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -62262,5 +62275,5 @@ export {
|
|
|
62262
62275
|
app
|
|
62263
62276
|
};
|
|
62264
62277
|
|
|
62265
|
-
//# debugId=
|
|
62278
|
+
//# debugId=547B6EEAB987619D64756E2164756E21
|
|
62266
62279
|
//# sourceMappingURL=mcp-server.js.map
|