@shippo/shippo-mcp 0.8.34 → 0.8.43
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 +175 -71
- package/bin/mcp-server.js.map +18 -18
- package/esm/funcs/batchesCreate.d.ts +9 -0
- package/esm/funcs/batchesCreate.d.ts.map +1 -1
- package/esm/funcs/batchesCreate.js +9 -0
- package/esm/funcs/batchesCreate.js.map +1 -1
- package/esm/funcs/batchesGet.d.ts +5 -4
- package/esm/funcs/batchesGet.d.ts.map +1 -1
- package/esm/funcs/batchesGet.js +5 -4
- package/esm/funcs/batchesGet.js.map +1 -1
- 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/mcp-server/tools/batchesCreate.d.ts.map +1 -1
- package/esm/mcp-server/tools/batchesCreate.js +11 -1
- package/esm/mcp-server/tools/batchesCreate.js.map +1 -1
- package/esm/mcp-server/tools/batchesGet.d.ts.map +1 -1
- package/esm/mcp-server/tools/batchesGet.js +6 -4
- package/esm/mcp-server/tools/batchesGet.js.map +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/order.d.ts +39 -11
- package/esm/models/order.d.ts.map +1 -1
- package/esm/models/order.js +36 -11
- package/esm/models/order.js.map +1 -1
- package/esm/models/ordercreaterequest.d.ts +10 -10
- package/esm/models/ordercreaterequest.d.ts.map +1 -1
- package/esm/models/ordercreaterequest.js +10 -10
- package/esm/models/ordercreaterequest.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 +3 -3
- package/package.json +1 -1
- package/src/funcs/batchesCreate.ts +9 -0
- package/src/funcs/batchesGet.ts +5 -4
- 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/mcp-server/tools/batchesCreate.ts +11 -1
- package/src/mcp-server/tools/batchesGet.ts +6 -4
- package/src/models/defaultparceltemplate.ts +81 -21
- package/src/models/order.ts +84 -22
- package/src/models/ordercreaterequest.ts +20 -20
- 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.43",
|
|
46627
46627
|
genVersion: "2.770.0",
|
|
46628
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.8.
|
|
46628
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.8.43 2.770.0 2018-02-08 @shippo/shippo-mcp"
|
|
46629
46629
|
};
|
|
46630
46630
|
});
|
|
46631
46631
|
|
|
@@ -49968,7 +49968,17 @@ var init_batchesCreate2 = __esm(() => {
|
|
|
49968
49968
|
name: "batches-create",
|
|
49969
49969
|
description: `Create a batch
|
|
49970
49970
|
|
|
49971
|
-
Creates a new batch object for purchasing shipping labels for many shipments at once. Batches are created asynchronously. This means that the API response won't include your batch shipments yet. You need to retrieve the batch later to verify that all batch shipments are valid
|
|
49971
|
+
Creates a new batch object for purchasing shipping labels for many shipments at once. Batches are created asynchronously. This means that the API response won't include your batch shipments yet. You need to retrieve the batch later to verify that all batch shipments are valid.
|
|
49972
|
+
|
|
49973
|
+
**IMPORTANT: There is NO batches-list endpoint in the Shippo API.**
|
|
49974
|
+
You must store the batch \`object_id\` returned from this endpoint to retrieve batches later using \`batches-get\`.
|
|
49975
|
+
|
|
49976
|
+
**Workflow:**
|
|
49977
|
+
1. Create batch → Save the returned \`object_id\`
|
|
49978
|
+
2. Retrieve batch status using \`batches-get\` with the saved ID
|
|
49979
|
+
3. Add/remove shipments as needed
|
|
49980
|
+
4. Purchase the batch when ready
|
|
49981
|
+
`,
|
|
49972
49982
|
annotations: {
|
|
49973
49983
|
title: "",
|
|
49974
49984
|
destructiveHint: false,
|
|
@@ -50113,10 +50123,12 @@ var init_batchesGet2 = __esm(() => {
|
|
|
50113
50123
|
name: "batches-get",
|
|
50114
50124
|
description: `Retrieve a batch
|
|
50115
50125
|
|
|
50116
|
-
Returns a batch using an object ID.
|
|
50117
|
-
|
|
50118
|
-
|
|
50119
|
-
|
|
50126
|
+
Returns a batch using an object ID. Batch shipments are displayed 100 at a time. You can iterate through each \`page\` using the \`?page=\` query parameter. You can also filter based on batch shipment status, for example, by passing a query param like \`?object_results=creation_failed\`.
|
|
50127
|
+
|
|
50128
|
+
**IMPORTANT: There is NO batches-list endpoint in the Shippo API.**
|
|
50129
|
+
You must know the batch \`object_id\` (returned when you created the batch) to retrieve it.
|
|
50130
|
+
Store batch IDs when creating batches if you need to access them later.
|
|
50131
|
+
`,
|
|
50120
50132
|
annotations: {
|
|
50121
50133
|
title: "",
|
|
50122
50134
|
destructiveHint: false,
|
|
@@ -53853,35 +53865,59 @@ var init_orderstatusenum = __esm(() => {
|
|
|
53853
53865
|
});
|
|
53854
53866
|
|
|
53855
53867
|
// src/models/order.ts
|
|
53856
|
-
var OrderTransaction$zodSchema, Order$zodSchema;
|
|
53868
|
+
var OrderAddressFrom$zodSchema, OrderTransaction$zodSchema, Order$zodSchema;
|
|
53857
53869
|
var init_order = __esm(() => {
|
|
53858
53870
|
init_zod();
|
|
53859
53871
|
init_address();
|
|
53872
|
+
init_addressvalidationresults();
|
|
53860
53873
|
init_lineitem();
|
|
53861
53874
|
init_ordershopappenum();
|
|
53862
53875
|
init_orderstatusenum();
|
|
53863
53876
|
init_weightunitenum();
|
|
53877
|
+
OrderAddressFrom$zodSchema = objectType({
|
|
53878
|
+
city: stringType().optional(),
|
|
53879
|
+
company: stringType().optional(),
|
|
53880
|
+
country: stringType(),
|
|
53881
|
+
email: stringType().optional(),
|
|
53882
|
+
is_complete: booleanType().optional(),
|
|
53883
|
+
is_residential: booleanType().nullable().optional(),
|
|
53884
|
+
metadata: stringType().optional(),
|
|
53885
|
+
name: stringType().optional(),
|
|
53886
|
+
object_created: stringType().datetime({ offset: true }).optional(),
|
|
53887
|
+
object_id: stringType().optional(),
|
|
53888
|
+
object_owner: stringType().optional(),
|
|
53889
|
+
object_updated: stringType().datetime({ offset: true }).optional(),
|
|
53890
|
+
phone: stringType().optional(),
|
|
53891
|
+
state: stringType().optional(),
|
|
53892
|
+
street1: stringType().optional(),
|
|
53893
|
+
street2: stringType().optional(),
|
|
53894
|
+
street3: stringType().optional(),
|
|
53895
|
+
street_no: stringType().optional(),
|
|
53896
|
+
test: booleanType().nullable().optional(),
|
|
53897
|
+
validation_results: AddressValidationResults$zodSchema.optional(),
|
|
53898
|
+
zip: stringType().optional()
|
|
53899
|
+
}).describe('<a href="#tag/Addresses">Address</a> object of the sender / seller. Will be returned expanded by default.');
|
|
53864
53900
|
OrderTransaction$zodSchema = objectType({});
|
|
53865
53901
|
Order$zodSchema = objectType({
|
|
53866
|
-
currency: stringType().optional(),
|
|
53867
|
-
from_address:
|
|
53902
|
+
currency: stringType().nullable().optional(),
|
|
53903
|
+
from_address: lazyType(() => OrderAddressFrom$zodSchema).nullable().optional(),
|
|
53868
53904
|
line_items: arrayType(LineItem$zodSchema).optional(),
|
|
53869
|
-
notes: stringType().optional(),
|
|
53905
|
+
notes: stringType().nullable().optional(),
|
|
53870
53906
|
object_id: stringType().optional(),
|
|
53871
53907
|
object_owner: stringType().optional(),
|
|
53872
|
-
order_number: stringType().optional(),
|
|
53908
|
+
order_number: stringType().nullable().optional(),
|
|
53873
53909
|
order_status: OrderStatusEnum$zodSchema.optional(),
|
|
53874
53910
|
placed_at: stringType(),
|
|
53875
|
-
shipping_cost: stringType().optional(),
|
|
53876
|
-
shipping_cost_currency: stringType().optional(),
|
|
53877
|
-
shipping_method: stringType().optional(),
|
|
53911
|
+
shipping_cost: stringType().nullable().optional(),
|
|
53912
|
+
shipping_cost_currency: stringType().nullable().optional(),
|
|
53913
|
+
shipping_method: stringType().nullable().optional(),
|
|
53878
53914
|
shop_app: OrderShopAppEnum$zodSchema.optional(),
|
|
53879
|
-
subtotal_price: stringType().optional(),
|
|
53915
|
+
subtotal_price: stringType().nullable().optional(),
|
|
53880
53916
|
to_address: Address$zodSchema,
|
|
53881
|
-
total_price: stringType().optional(),
|
|
53882
|
-
total_tax: stringType().optional(),
|
|
53917
|
+
total_price: stringType().nullable().optional(),
|
|
53918
|
+
total_tax: stringType().nullable().optional(),
|
|
53883
53919
|
transactions: arrayType(lazyType(() => OrderTransaction$zodSchema)).optional(),
|
|
53884
|
-
weight: stringType().optional(),
|
|
53920
|
+
weight: stringType().nullable().optional(),
|
|
53885
53921
|
weight_unit: WeightUnitEnum$zodSchema.optional()
|
|
53886
53922
|
});
|
|
53887
53923
|
});
|
|
@@ -53933,21 +53969,21 @@ var init_ordercreaterequest = __esm(() => {
|
|
|
53933
53969
|
init_orderstatusenum();
|
|
53934
53970
|
init_weightunitenum();
|
|
53935
53971
|
OrderCreateRequest$zodSchema = objectType({
|
|
53936
|
-
currency: stringType().optional(),
|
|
53972
|
+
currency: stringType().nullable().optional(),
|
|
53937
53973
|
from_address: AddressCreateRequest$zodSchema.optional(),
|
|
53938
53974
|
line_items: arrayType(LineItemBase$zodSchema).optional(),
|
|
53939
|
-
notes: stringType().optional(),
|
|
53940
|
-
order_number: stringType().optional(),
|
|
53975
|
+
notes: stringType().nullable().optional(),
|
|
53976
|
+
order_number: stringType().nullable().optional(),
|
|
53941
53977
|
order_status: OrderStatusEnum$zodSchema.optional(),
|
|
53942
53978
|
placed_at: stringType(),
|
|
53943
|
-
shipping_cost: stringType().optional(),
|
|
53944
|
-
shipping_cost_currency: stringType().optional(),
|
|
53945
|
-
shipping_method: stringType().optional(),
|
|
53946
|
-
subtotal_price: stringType().optional(),
|
|
53979
|
+
shipping_cost: stringType().nullable().optional(),
|
|
53980
|
+
shipping_cost_currency: stringType().nullable().optional(),
|
|
53981
|
+
shipping_method: stringType().nullable().optional(),
|
|
53982
|
+
subtotal_price: stringType().nullable().optional(),
|
|
53947
53983
|
to_address: AddressCreateRequest$zodSchema,
|
|
53948
|
-
total_price: stringType().optional(),
|
|
53949
|
-
total_tax: stringType().optional(),
|
|
53950
|
-
weight: stringType().optional(),
|
|
53984
|
+
total_price: stringType().nullable().optional(),
|
|
53985
|
+
total_tax: stringType().nullable().optional(),
|
|
53986
|
+
weight: stringType().nullable().optional(),
|
|
53951
53987
|
weight_unit: WeightUnitEnum$zodSchema.optional()
|
|
53952
53988
|
});
|
|
53953
53989
|
});
|
|
@@ -55382,25 +55418,47 @@ Clears the currently configured default parcel template for live rates.`,
|
|
|
55382
55418
|
});
|
|
55383
55419
|
|
|
55384
55420
|
// src/models/defaultparceltemplate.ts
|
|
55385
|
-
var TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema, DefaultParcelTemplate$zodSchema;
|
|
55421
|
+
var DefaultParcelTemplateDistanceUnitEnum$zodSchema, DefaultParcelTemplateWeightUnitEnum$zodSchema, DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema, TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema, DefaultParcelTemplate$zodSchema;
|
|
55386
55422
|
var init_defaultparceltemplate = __esm(() => {
|
|
55387
55423
|
init_zod();
|
|
55388
|
-
init_carrierparceltemplate();
|
|
55389
55424
|
init_distanceunitenum();
|
|
55390
|
-
|
|
55391
|
-
|
|
55425
|
+
DefaultParcelTemplateDistanceUnitEnum$zodSchema = enumType([
|
|
55426
|
+
"cm",
|
|
55427
|
+
"in",
|
|
55428
|
+
"ft",
|
|
55429
|
+
"m",
|
|
55430
|
+
"mm",
|
|
55431
|
+
"yd"
|
|
55432
|
+
]).describe("The measure unit used for length, width and height.");
|
|
55433
|
+
DefaultParcelTemplateWeightUnitEnum$zodSchema = enumType([
|
|
55434
|
+
"g",
|
|
55435
|
+
"kg",
|
|
55436
|
+
"lb",
|
|
55437
|
+
"oz"
|
|
55438
|
+
]).describe("The unit used for weight.");
|
|
55439
|
+
DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
55440
|
+
carrier: stringType().optional(),
|
|
55392
55441
|
distance_unit: DistanceUnitEnum$zodSchema.optional(),
|
|
55393
55442
|
height: stringType().optional(),
|
|
55443
|
+
is_variable_dimensions: booleanType().optional(),
|
|
55394
55444
|
length: stringType().optional(),
|
|
55395
55445
|
name: stringType().optional(),
|
|
55446
|
+
token: stringType().optional(),
|
|
55447
|
+
width: stringType().optional()
|
|
55448
|
+
});
|
|
55449
|
+
TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
55450
|
+
distance_unit: DefaultParcelTemplateDistanceUnitEnum$zodSchema.nullable().optional(),
|
|
55451
|
+
height: stringType().nullable().optional(),
|
|
55452
|
+
length: stringType().nullable().optional(),
|
|
55453
|
+
name: stringType().nullable().optional(),
|
|
55396
55454
|
object_created: stringType().optional(),
|
|
55397
55455
|
object_id: stringType().optional(),
|
|
55398
55456
|
object_owner: stringType().optional(),
|
|
55399
55457
|
object_updated: stringType().optional(),
|
|
55400
|
-
template:
|
|
55401
|
-
weight: stringType().optional(),
|
|
55402
|
-
weight_unit:
|
|
55403
|
-
width: stringType().optional()
|
|
55458
|
+
template: lazyType(() => DefaultParcelTemplateCarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema).nullable().optional(),
|
|
55459
|
+
weight: stringType().nullable().optional(),
|
|
55460
|
+
weight_unit: DefaultParcelTemplateWeightUnitEnum$zodSchema.nullable().optional(),
|
|
55461
|
+
width: stringType().nullable().optional()
|
|
55404
55462
|
});
|
|
55405
55463
|
DefaultParcelTemplate$zodSchema = objectType({
|
|
55406
55464
|
result: lazyType(() => TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema).nullable().optional()
|
|
@@ -56528,7 +56586,7 @@ var init_servicegroup = __esm(() => {
|
|
|
56528
56586
|
is_active: booleanType().optional(),
|
|
56529
56587
|
name: stringType(),
|
|
56530
56588
|
object_id: stringType(),
|
|
56531
|
-
rate_adjustment: numberType().int().optional(),
|
|
56589
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56532
56590
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema).nullable(),
|
|
56533
56591
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56534
56592
|
});
|
|
@@ -56565,7 +56623,7 @@ var init_servicegroupcreaterequest = __esm(() => {
|
|
|
56565
56623
|
free_shipping_threshold_currency: stringType().nullable().optional(),
|
|
56566
56624
|
free_shipping_threshold_min: stringType().nullable().optional(),
|
|
56567
56625
|
name: stringType(),
|
|
56568
|
-
rate_adjustment: numberType().int().optional(),
|
|
56626
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56569
56627
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
|
|
56570
56628
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56571
56629
|
});
|
|
@@ -56959,7 +57017,7 @@ var init_servicegroupupdaterequest = __esm(() => {
|
|
|
56959
57017
|
is_active: booleanType(),
|
|
56960
57018
|
name: stringType(),
|
|
56961
57019
|
object_id: stringType(),
|
|
56962
|
-
rate_adjustment: numberType().int().optional(),
|
|
57020
|
+
rate_adjustment: numberType().int().nullable().optional(),
|
|
56963
57021
|
service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
|
|
56964
57022
|
type: ServiceGroupTypeEnum$zodSchema
|
|
56965
57023
|
});
|
|
@@ -59508,25 +59566,47 @@ Test transactions will always show \`tracking_status: "UNKNOWN"\` because they d
|
|
|
59508
59566
|
});
|
|
59509
59567
|
|
|
59510
59568
|
// src/models/userparceltemplate.ts
|
|
59511
|
-
var UserParcelTemplate$zodSchema;
|
|
59569
|
+
var UserParcelTemplateDistanceUnitEnum$zodSchema, UserParcelTemplateWeightUnitEnum$zodSchema, CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema, UserParcelTemplate$zodSchema;
|
|
59512
59570
|
var init_userparceltemplate = __esm(() => {
|
|
59513
59571
|
init_zod();
|
|
59514
|
-
init_carrierparceltemplate();
|
|
59515
59572
|
init_distanceunitenum();
|
|
59516
|
-
|
|
59517
|
-
|
|
59573
|
+
UserParcelTemplateDistanceUnitEnum$zodSchema = enumType([
|
|
59574
|
+
"cm",
|
|
59575
|
+
"in",
|
|
59576
|
+
"ft",
|
|
59577
|
+
"m",
|
|
59578
|
+
"mm",
|
|
59579
|
+
"yd"
|
|
59580
|
+
]).describe("The measure unit used for length, width and height.");
|
|
59581
|
+
UserParcelTemplateWeightUnitEnum$zodSchema = enumType([
|
|
59582
|
+
"g",
|
|
59583
|
+
"kg",
|
|
59584
|
+
"lb",
|
|
59585
|
+
"oz"
|
|
59586
|
+
]).describe("The unit used for weight.");
|
|
59587
|
+
CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema = objectType({
|
|
59588
|
+
carrier: stringType().optional(),
|
|
59518
59589
|
distance_unit: DistanceUnitEnum$zodSchema.optional(),
|
|
59519
59590
|
height: stringType().optional(),
|
|
59591
|
+
is_variable_dimensions: booleanType().optional(),
|
|
59520
59592
|
length: stringType().optional(),
|
|
59521
59593
|
name: stringType().optional(),
|
|
59594
|
+
token: stringType().optional(),
|
|
59595
|
+
width: stringType().optional()
|
|
59596
|
+
});
|
|
59597
|
+
UserParcelTemplate$zodSchema = objectType({
|
|
59598
|
+
distance_unit: UserParcelTemplateDistanceUnitEnum$zodSchema.nullable().optional(),
|
|
59599
|
+
height: stringType().nullable().optional(),
|
|
59600
|
+
length: stringType().nullable().optional(),
|
|
59601
|
+
name: stringType().nullable().optional(),
|
|
59522
59602
|
object_created: stringType().optional(),
|
|
59523
59603
|
object_id: stringType().optional(),
|
|
59524
59604
|
object_owner: stringType().optional(),
|
|
59525
59605
|
object_updated: stringType().optional(),
|
|
59526
|
-
template:
|
|
59527
|
-
weight: stringType().optional(),
|
|
59528
|
-
weight_unit:
|
|
59529
|
-
width: stringType().optional()
|
|
59606
|
+
template: lazyType(() => CarrierParcelTemplateRepresentsTheFieldsOfATemplateBeforeSavingItToTheDb$zodSchema).nullable().optional(),
|
|
59607
|
+
weight: stringType().nullable().optional(),
|
|
59608
|
+
weight_unit: UserParcelTemplateWeightUnitEnum$zodSchema.nullable().optional(),
|
|
59609
|
+
width: stringType().nullable().optional()
|
|
59530
59610
|
});
|
|
59531
59611
|
});
|
|
59532
59612
|
|
|
@@ -59561,19 +59641,31 @@ var init_userparceltemplatewithcarriertemplatecreaterequest = __esm(() => {
|
|
|
59561
59641
|
});
|
|
59562
59642
|
|
|
59563
59643
|
// src/models/userparceltemplatewithoutcarriertemplatecreaterequest.ts
|
|
59564
|
-
var UserParcelTemplateWithoutCarrierTemplateCreateRequest$zodSchema;
|
|
59644
|
+
var UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema, UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema, UserParcelTemplateWithoutCarrierTemplateCreateRequest$zodSchema;
|
|
59565
59645
|
var init_userparceltemplatewithoutcarriertemplatecreaterequest = __esm(() => {
|
|
59566
59646
|
init_zod();
|
|
59567
|
-
|
|
59568
|
-
|
|
59647
|
+
UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema = enumType([
|
|
59648
|
+
"cm",
|
|
59649
|
+
"in",
|
|
59650
|
+
"ft",
|
|
59651
|
+
"m",
|
|
59652
|
+
"mm",
|
|
59653
|
+
"yd"
|
|
59654
|
+
]).describe("The measure unit used for length, width and height.");
|
|
59655
|
+
UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema = enumType([
|
|
59656
|
+
"g",
|
|
59657
|
+
"kg",
|
|
59658
|
+
"lb",
|
|
59659
|
+
"oz"
|
|
59660
|
+
]).describe("The unit used for weight.");
|
|
59569
59661
|
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()
|
|
59662
|
+
distance_unit: UserParcelTemplateWithoutCarrierTemplateCreateRequestDistanceUnitEnum$zodSchema.nullable(),
|
|
59663
|
+
height: stringType().nullable(),
|
|
59664
|
+
length: stringType().nullable(),
|
|
59665
|
+
name: stringType().nullable(),
|
|
59666
|
+
weight: stringType().nullable().optional(),
|
|
59667
|
+
weight_unit: UserParcelTemplateWithoutCarrierTemplateCreateRequestWeightUnitEnum$zodSchema.nullable().optional(),
|
|
59668
|
+
width: stringType().nullable()
|
|
59577
59669
|
});
|
|
59578
59670
|
});
|
|
59579
59671
|
|
|
@@ -60122,19 +60214,31 @@ Returns a list all of all user parcel template objects.`,
|
|
|
60122
60214
|
});
|
|
60123
60215
|
|
|
60124
60216
|
// src/models/userparceltemplateupdaterequest.ts
|
|
60125
|
-
var UserParcelTemplateUpdateRequest$zodSchema;
|
|
60217
|
+
var UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema, UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema, UserParcelTemplateUpdateRequest$zodSchema;
|
|
60126
60218
|
var init_userparceltemplateupdaterequest = __esm(() => {
|
|
60127
60219
|
init_zod();
|
|
60128
|
-
|
|
60129
|
-
|
|
60220
|
+
UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema = enumType([
|
|
60221
|
+
"cm",
|
|
60222
|
+
"in",
|
|
60223
|
+
"ft",
|
|
60224
|
+
"m",
|
|
60225
|
+
"mm",
|
|
60226
|
+
"yd"
|
|
60227
|
+
]).describe("The measure unit used for length, width and height.");
|
|
60228
|
+
UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema = enumType([
|
|
60229
|
+
"g",
|
|
60230
|
+
"kg",
|
|
60231
|
+
"lb",
|
|
60232
|
+
"oz"
|
|
60233
|
+
]).describe("The unit used for weight.");
|
|
60130
60234
|
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()
|
|
60235
|
+
distance_unit: UserParcelTemplateUpdateRequestDistanceUnitEnum$zodSchema.nullable(),
|
|
60236
|
+
height: stringType().nullable(),
|
|
60237
|
+
length: stringType().nullable(),
|
|
60238
|
+
name: stringType().nullable(),
|
|
60239
|
+
weight: stringType().nullable().optional(),
|
|
60240
|
+
weight_unit: UserParcelTemplateUpdateRequestWeightUnitEnum$zodSchema.nullable().optional(),
|
|
60241
|
+
width: stringType().nullable()
|
|
60138
60242
|
});
|
|
60139
60243
|
});
|
|
60140
60244
|
|
|
@@ -60994,7 +61098,7 @@ Updates an existing webhook using the webhook object ID.`,
|
|
|
60994
61098
|
function createMCPServer(deps) {
|
|
60995
61099
|
const server = new McpServer({
|
|
60996
61100
|
name: "ShippoSDK",
|
|
60997
|
-
version: "0.8.
|
|
61101
|
+
version: "0.8.43"
|
|
60998
61102
|
});
|
|
60999
61103
|
const getClient = deps.getSDK || (() => new ShippoSDKCore({
|
|
61000
61104
|
security: deps.security,
|
|
@@ -62386,7 +62490,7 @@ var routes = ln({
|
|
|
62386
62490
|
var app = _e(routes, {
|
|
62387
62491
|
name: "mcp",
|
|
62388
62492
|
versionInfo: {
|
|
62389
|
-
currentVersion: "0.8.
|
|
62493
|
+
currentVersion: "0.8.43"
|
|
62390
62494
|
}
|
|
62391
62495
|
});
|
|
62392
62496
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -62394,5 +62498,5 @@ export {
|
|
|
62394
62498
|
app
|
|
62395
62499
|
};
|
|
62396
62500
|
|
|
62397
|
-
//# debugId=
|
|
62501
|
+
//# debugId=1F132A9300610C2A64756E2164756E21
|
|
62398
62502
|
//# sourceMappingURL=mcp-server.js.map
|