@shippo/shippo-mcp 0.8.34 → 0.8.39
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 +112 -44
- package/bin/mcp-server.js.map +12 -12
- 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/defaultparceltemplate.d.ts +25 -6
- package/esm/models/defaultparceltemplate.d.ts.map +1 -1
- package/esm/models/defaultparceltemplate.js +37 -7
- package/esm/models/defaultparceltemplate.js.map +1 -1
- package/esm/models/servicegroup.d.ts +1 -1
- package/esm/models/servicegroup.d.ts.map +1 -1
- package/esm/models/servicegroup.js +1 -1
- package/esm/models/servicegroup.js.map +1 -1
- package/esm/models/servicegroupcreaterequest.d.ts +1 -1
- package/esm/models/servicegroupcreaterequest.d.ts.map +1 -1
- package/esm/models/servicegroupcreaterequest.js +1 -1
- package/esm/models/servicegroupcreaterequest.js.map +1 -1
- package/esm/models/servicegroupupdaterequest.d.ts +1 -1
- package/esm/models/servicegroupupdaterequest.d.ts.map +1 -1
- package/esm/models/servicegroupupdaterequest.js +1 -1
- package/esm/models/servicegroupupdaterequest.js.map +1 -1
- package/esm/models/userparceltemplate.d.ts +25 -6
- package/esm/models/userparceltemplate.d.ts.map +1 -1
- package/esm/models/userparceltemplate.js +36 -7
- package/esm/models/userparceltemplate.js.map +1 -1
- package/esm/models/userparceltemplateupdaterequest.d.ts +17 -9
- package/esm/models/userparceltemplateupdaterequest.d.ts.map +1 -1
- package/esm/models/userparceltemplateupdaterequest.js +29 -9
- package/esm/models/userparceltemplateupdaterequest.js.map +1 -1
- package/esm/models/userparceltemplatewithoutcarriertemplatecreaterequest.d.ts +17 -9
- package/esm/models/userparceltemplatewithoutcarriertemplatecreaterequest.d.ts.map +1 -1
- package/esm/models/userparceltemplatewithoutcarriertemplatecreaterequest.js +29 -9
- package/esm/models/userparceltemplatewithoutcarriertemplatecreaterequest.js.map +1 -1
- 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/defaultparceltemplate.ts +81 -21
- package/src/models/servicegroup.ts +2 -2
- package/src/models/servicegroupcreaterequest.ts +2 -2
- package/src/models/servicegroupupdaterequest.ts +2 -2
- package/src/models/userparceltemplate.ts +80 -21
- package/src/models/userparceltemplateupdaterequest.ts +51 -19
- package/src/models/userparceltemplatewithoutcarriertemplatecreaterequest.ts +57 -19
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.39",
|
|
46627
46627
|
genVersion: "2.770.0",
|
|
46628
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.8.
|
|
46628
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.8.39 2.770.0 2018-02-08 @shippo/shippo-mcp"
|
|
46629
46629
|
};
|
|
46630
46630
|
});
|
|
46631
46631
|
|
|
@@ -55382,25 +55382,47 @@ Clears the currently configured default parcel template for live rates.`,
|
|
|
55382
55382
|
});
|
|
55383
55383
|
|
|
55384
55384
|
// src/models/defaultparceltemplate.ts
|
|
55385
|
-
var TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema, DefaultParcelTemplate$zodSchema;
|
|
55385
|
+
var DefaultParcelTemplateDistanceUnitEnum$zodSchema, DefaultParcelTemplateWeightUnitEnum$zodSchema, DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema, TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema, DefaultParcelTemplate$zodSchema;
|
|
55386
55386
|
var init_defaultparceltemplate = __esm(() => {
|
|
55387
55387
|
init_zod();
|
|
55388
|
-
init_carrierparceltemplate();
|
|
55389
55388
|
init_distanceunitenum();
|
|
55390
|
-
|
|
55391
|
-
|
|
55389
|
+
DefaultParcelTemplateDistanceUnitEnum$zodSchema = enumType([
|
|
55390
|
+
"cm",
|
|
55391
|
+
"in",
|
|
55392
|
+
"ft",
|
|
55393
|
+
"m",
|
|
55394
|
+
"mm",
|
|
55395
|
+
"yd"
|
|
55396
|
+
]).describe("The measure unit used for length, width and height.");
|
|
55397
|
+
DefaultParcelTemplateWeightUnitEnum$zodSchema = enumType([
|
|
55398
|
+
"g",
|
|
55399
|
+
"kg",
|
|
55400
|
+
"lb",
|
|
55401
|
+
"oz"
|
|
55402
|
+
]).describe("The unit used for weight.");
|
|
55403
|
+
DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
55404
|
+
carrier: stringType().optional(),
|
|
55392
55405
|
distance_unit: DistanceUnitEnum$zodSchema.optional(),
|
|
55393
55406
|
height: stringType().optional(),
|
|
55407
|
+
is_variable_dimensions: booleanType().optional(),
|
|
55394
55408
|
length: stringType().optional(),
|
|
55395
55409
|
name: stringType().optional(),
|
|
55410
|
+
token: stringType().optional(),
|
|
55411
|
+
width: stringType().optional()
|
|
55412
|
+
});
|
|
55413
|
+
TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
55414
|
+
distance_unit: DefaultParcelTemplateDistanceUnitEnum$zodSchema.nullable().optional(),
|
|
55415
|
+
height: stringType().nullable().optional(),
|
|
55416
|
+
length: stringType().nullable().optional(),
|
|
55417
|
+
name: stringType().nullable().optional(),
|
|
55396
55418
|
object_created: stringType().optional(),
|
|
55397
55419
|
object_id: stringType().optional(),
|
|
55398
55420
|
object_owner: stringType().optional(),
|
|
55399
55421
|
object_updated: stringType().optional(),
|
|
55400
|
-
template:
|
|
55401
|
-
weight: stringType().optional(),
|
|
55402
|
-
weight_unit:
|
|
55403
|
-
width: stringType().optional()
|
|
55422
|
+
template: lazyType(() => DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema).nullable().optional(),
|
|
55423
|
+
weight: stringType().nullable().optional(),
|
|
55424
|
+
weight_unit: DefaultParcelTemplateWeightUnitEnum$zodSchema.nullable().optional(),
|
|
55425
|
+
width: stringType().nullable().optional()
|
|
55404
55426
|
});
|
|
55405
55427
|
DefaultParcelTemplate$zodSchema = objectType({
|
|
55406
55428
|
result: lazyType(() => TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema).nullable().optional()
|
|
@@ -56528,7 +56550,7 @@ var init_servicegroup = __esm(() => {
|
|
|
56528
56550
|
is_active: booleanType().optional(),
|
|
56529
56551
|
name: stringType(),
|
|
56530
56552
|
object_id: stringType(),
|
|
56531
|
-
rate_adjustment: numberType().int().optional(),
|
|
56553
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56532
56554
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema).nullable(),
|
|
56533
56555
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56534
56556
|
});
|
|
@@ -56565,7 +56587,7 @@ var init_servicegroupcreaterequest = __esm(() => {
|
|
|
56565
56587
|
free_shipping_threshold_currency: stringType().nullable().optional(),
|
|
56566
56588
|
free_shipping_threshold_min: stringType().nullable().optional(),
|
|
56567
56589
|
name: stringType(),
|
|
56568
|
-
rate_adjustment: numberType().int().optional(),
|
|
56590
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56569
56591
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
|
|
56570
56592
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56571
56593
|
});
|
|
@@ -56959,7 +56981,7 @@ var init_servicegroupupdaterequest = __esm(() => {
|
|
|
56959
56981
|
is_active: booleanType(),
|
|
56960
56982
|
name: stringType(),
|
|
56961
56983
|
object_id: stringType(),
|
|
56962
|
-
rate_adjustment: numberType().int().optional(),
|
|
56984
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56963
56985
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
|
|
56964
56986
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56965
56987
|
});
|
|
@@ -59508,25 +59530,47 @@ Test transactions will always show \`tracking_status: "UNKNOWN"\` because they d
|
|
|
59508
59530
|
});
|
|
59509
59531
|
|
|
59510
59532
|
// src/models/userparceltemplate.ts
|
|
59511
|
-
var UserParcelTemplate$zodSchema;
|
|
59533
|
+
var UserParcelTemplateDistanceUnitEnum$zodSchema, UserParcelTemplateWeightUnitEnum$zodSchema, CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema, UserParcelTemplate$zodSchema;
|
|
59512
59534
|
var init_userparceltemplate = __esm(() => {
|
|
59513
59535
|
init_zod();
|
|
59514
|
-
init_carrierparceltemplate();
|
|
59515
59536
|
init_distanceunitenum();
|
|
59516
|
-
|
|
59517
|
-
|
|
59537
|
+
UserParcelTemplateDistanceUnitEnum$zodSchema = enumType([
|
|
59538
|
+
"cm",
|
|
59539
|
+
"in",
|
|
59540
|
+
"ft",
|
|
59541
|
+
"m",
|
|
59542
|
+
"mm",
|
|
59543
|
+
"yd"
|
|
59544
|
+
]).describe("The measure unit used for length, width and height.");
|
|
59545
|
+
UserParcelTemplateWeightUnitEnum$zodSchema = enumType([
|
|
59546
|
+
"g",
|
|
59547
|
+
"kg",
|
|
59548
|
+
"lb",
|
|
59549
|
+
"oz"
|
|
59550
|
+
]).describe("The unit used for weight.");
|
|
59551
|
+
CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
59552
|
+
carrier: stringType().optional(),
|
|
59518
59553
|
distance_unit: DistanceUnitEnum$zodSchema.optional(),
|
|
59519
59554
|
height: stringType().optional(),
|
|
59555
|
+
is_variable_dimensions: booleanType().optional(),
|
|
59520
59556
|
length: stringType().optional(),
|
|
59521
59557
|
name: stringType().optional(),
|
|
59558
|
+
token: stringType().optional(),
|
|
59559
|
+
width: stringType().optional()
|
|
59560
|
+
});
|
|
59561
|
+
UserParcelTemplate$zodSchema = objectType({
|
|
59562
|
+
distance_unit: UserParcelTemplateDistanceUnitEnum$zodSchema.nullable().optional(),
|
|
59563
|
+
height: stringType().nullable().optional(),
|
|
59564
|
+
length: stringType().nullable().optional(),
|
|
59565
|
+
name: stringType().nullable().optional(),
|
|
59522
59566
|
object_created: stringType().optional(),
|
|
59523
59567
|
object_id: stringType().optional(),
|
|
59524
59568
|
object_owner: stringType().optional(),
|
|
59525
59569
|
object_updated: stringType().optional(),
|
|
59526
|
-
template:
|
|
59527
|
-
weight: stringType().optional(),
|
|
59528
|
-
weight_unit:
|
|
59529
|
-
width: stringType().optional()
|
|
59570
|
+
template: lazyType(() => CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema).nullable().optional(),
|
|
59571
|
+
weight: stringType().nullable().optional(),
|
|
59572
|
+
weight_unit: UserParcelTemplateWeightUnitEnum$zodSchema.nullable().optional(),
|
|
59573
|
+
width: stringType().nullable().optional()
|
|
59530
59574
|
});
|
|
59531
59575
|
});
|
|
59532
59576
|
|
|
@@ -59561,19 +59605,31 @@ var init_userparceltemplatewithcarriertemplatecreaterequest = __esm(() => {
|
|
|
59561
59605
|
});
|
|
59562
59606
|
|
|
59563
59607
|
// src/models/userparceltemplatewithoutcarriertemplatecreaterequest.ts
|
|
59564
|
-
var UserParcelTemplateWithoutCarrierTemplateCreateRequest$zodSchema;
|
|
59608
|
+
var UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema, UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema, UserParcelTemplateWithoutCarrierTemplateCreateRequest$zodSchema;
|
|
59565
59609
|
var init_userparceltemplatewithoutcarriertemplatecreaterequest = __esm(() => {
|
|
59566
59610
|
init_zod();
|
|
59567
|
-
|
|
59568
|
-
|
|
59611
|
+
UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema = enumType([
|
|
59612
|
+
"cm",
|
|
59613
|
+
"in",
|
|
59614
|
+
"ft",
|
|
59615
|
+
"m",
|
|
59616
|
+
"mm",
|
|
59617
|
+
"yd"
|
|
59618
|
+
]).describe("The measure unit used for length, width and height.");
|
|
59619
|
+
UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema = enumType([
|
|
59620
|
+
"g",
|
|
59621
|
+
"kg",
|
|
59622
|
+
"lb",
|
|
59623
|
+
"oz"
|
|
59624
|
+
]).describe("The unit used for weight.");
|
|
59569
59625
|
UserParcelTemplateWithoutCarrierTemplateCreateRequest$zodSchema = objectType({
|
|
59570
|
-
distance_unit:
|
|
59571
|
-
height: stringType(),
|
|
59572
|
-
length: stringType(),
|
|
59573
|
-
name: stringType(),
|
|
59574
|
-
weight: stringType().optional(),
|
|
59575
|
-
weight_unit:
|
|
59576
|
-
width: stringType()
|
|
59626
|
+
distance_unit: UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema.nullable(),
|
|
59627
|
+
height: stringType().nullable(),
|
|
59628
|
+
length: stringType().nullable(),
|
|
59629
|
+
name: stringType().nullable(),
|
|
59630
|
+
weight: stringType().nullable().optional(),
|
|
59631
|
+
weight_unit: UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema.nullable().optional(),
|
|
59632
|
+
width: stringType().nullable()
|
|
59577
59633
|
});
|
|
59578
59634
|
});
|
|
59579
59635
|
|
|
@@ -60122,19 +60178,31 @@ Returns a list all of all user parcel template objects.`,
|
|
|
60122
60178
|
});
|
|
60123
60179
|
|
|
60124
60180
|
// src/models/userparceltemplateupdaterequest.ts
|
|
60125
|
-
var UserParcelTemplateUpdateRequest$zodSchema;
|
|
60181
|
+
var UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema, UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema, UserParcelTemplateUpdateRequest$zodSchema;
|
|
60126
60182
|
var init_userparceltemplateupdaterequest = __esm(() => {
|
|
60127
60183
|
init_zod();
|
|
60128
|
-
|
|
60129
|
-
|
|
60184
|
+
UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema = enumType([
|
|
60185
|
+
"cm",
|
|
60186
|
+
"in",
|
|
60187
|
+
"ft",
|
|
60188
|
+
"m",
|
|
60189
|
+
"mm",
|
|
60190
|
+
"yd"
|
|
60191
|
+
]).describe("The measure unit used for length, width and height.");
|
|
60192
|
+
UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema = enumType([
|
|
60193
|
+
"g",
|
|
60194
|
+
"kg",
|
|
60195
|
+
"lb",
|
|
60196
|
+
"oz"
|
|
60197
|
+
]).describe("The unit used for weight.");
|
|
60130
60198
|
UserParcelTemplateUpdateRequest$zodSchema = objectType({
|
|
60131
|
-
distance_unit:
|
|
60132
|
-
height: stringType(),
|
|
60133
|
-
length: stringType(),
|
|
60134
|
-
name: stringType(),
|
|
60135
|
-
weight: stringType().optional(),
|
|
60136
|
-
weight_unit:
|
|
60137
|
-
width: stringType()
|
|
60199
|
+
distance_unit: UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema.nullable(),
|
|
60200
|
+
height: stringType().nullable(),
|
|
60201
|
+
length: stringType().nullable(),
|
|
60202
|
+
name: stringType().nullable(),
|
|
60203
|
+
weight: stringType().nullable().optional(),
|
|
60204
|
+
weight_unit: UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema.nullable().optional(),
|
|
60205
|
+
width: stringType().nullable()
|
|
60138
60206
|
});
|
|
60139
60207
|
});
|
|
60140
60208
|
|
|
@@ -60994,7 +61062,7 @@ Updates an existing webhook using the webhook object ID.`,
|
|
|
60994
61062
|
function createMCPServer(deps) {
|
|
60995
61063
|
const server = new McpServer({
|
|
60996
61064
|
name: "ShippoSDK",
|
|
60997
|
-
version: "0.8.
|
|
61065
|
+
version: "0.8.39"
|
|
60998
61066
|
});
|
|
60999
61067
|
const getClient = deps.getSDK || (() => new ShippoSDKCore({
|
|
61000
61068
|
security: deps.security,
|
|
@@ -62386,7 +62454,7 @@ var routes = ln({
|
|
|
62386
62454
|
var app = _e(routes, {
|
|
62387
62455
|
name: "mcp",
|
|
62388
62456
|
versionInfo: {
|
|
62389
|
-
currentVersion: "0.8.
|
|
62457
|
+
currentVersion: "0.8.39"
|
|
62390
62458
|
}
|
|
62391
62459
|
});
|
|
62392
62460
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -62394,5 +62462,5 @@ export {
|
|
|
62394
62462
|
app
|
|
62395
62463
|
};
|
|
62396
62464
|
|
|
62397
|
-
//# debugId=
|
|
62465
|
+
//# debugId=2953EB7A367B100264756E2164756E21
|
|
62398
62466
|
//# sourceMappingURL=mcp-server.js.map
|