@shippo/shippo-mcp 0.8.10 → 0.8.24

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.
Files changed (54) hide show
  1. package/bin/mcp-server.js +55 -39
  2. package/bin/mcp-server.js.map +15 -15
  3. package/esm/lib/config.d.ts +3 -3
  4. package/esm/lib/config.js +3 -3
  5. package/esm/mcp-server/mcp-server.js +1 -1
  6. package/esm/mcp-server/server.js +1 -1
  7. package/esm/models/address.d.ts +1 -1
  8. package/esm/models/address.d.ts.map +1 -1
  9. package/esm/models/address.js +1 -1
  10. package/esm/models/address.js.map +1 -1
  11. package/esm/models/customsitem.d.ts +5 -5
  12. package/esm/models/customsitem.d.ts.map +1 -1
  13. package/esm/models/customsitem.js +5 -5
  14. package/esm/models/customsitem.js.map +1 -1
  15. package/esm/models/customsitemcreaterequest.d.ts +5 -5
  16. package/esm/models/customsitemcreaterequest.d.ts.map +1 -1
  17. package/esm/models/customsitemcreaterequest.js +5 -5
  18. package/esm/models/customsitemcreaterequest.js.map +1 -1
  19. package/esm/models/defaultparceltemplate.d.ts +19 -2
  20. package/esm/models/defaultparceltemplate.d.ts.map +1 -1
  21. package/esm/models/defaultparceltemplate.js +18 -2
  22. package/esm/models/defaultparceltemplate.js.map +1 -1
  23. package/esm/models/parcel.d.ts +1 -1
  24. package/esm/models/parcel.d.ts.map +1 -1
  25. package/esm/models/parcel.js +1 -1
  26. package/esm/models/parcel.js.map +1 -1
  27. package/esm/models/servicegroup.d.ts +3 -3
  28. package/esm/models/servicegroup.d.ts.map +1 -1
  29. package/esm/models/servicegroup.js +4 -3
  30. package/esm/models/servicegroup.js.map +1 -1
  31. package/esm/models/servicegroupcreaterequest.d.ts +2 -2
  32. package/esm/models/servicegroupcreaterequest.d.ts.map +1 -1
  33. package/esm/models/servicegroupcreaterequest.js +2 -2
  34. package/esm/models/servicegroupcreaterequest.js.map +1 -1
  35. package/esm/models/servicegroupupdaterequest.d.ts +2 -2
  36. package/esm/models/servicegroupupdaterequest.d.ts.map +1 -1
  37. package/esm/models/servicegroupupdaterequest.js +2 -2
  38. package/esm/models/servicegroupupdaterequest.js.map +1 -1
  39. package/esm/models/userparceltemplate.js +2 -2
  40. package/esm/models/userparceltemplate.js.map +1 -1
  41. package/manifest.json +1 -1
  42. package/package.json +1 -1
  43. package/src/lib/config.ts +3 -3
  44. package/src/mcp-server/mcp-server.ts +1 -1
  45. package/src/mcp-server/server.ts +1 -1
  46. package/src/models/address.ts +2 -2
  47. package/src/models/customsitem.ts +10 -10
  48. package/src/models/customsitemcreaterequest.ts +10 -10
  49. package/src/models/defaultparceltemplate.ts +49 -5
  50. package/src/models/parcel.ts +2 -2
  51. package/src/models/servicegroup.ts +7 -6
  52. package/src/models/servicegroupcreaterequest.ts +4 -4
  53. package/src/models/servicegroupupdaterequest.ts +4 -4
  54. package/src/models/userparceltemplate.ts +2 -2
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.10",
46627
- genVersion: "2.769.1",
46628
- userAgent: "speakeasy-sdk/mcp-typescript 0.8.10 2.769.1 2018-02-08 @shippo/shippo-mcp"
46626
+ sdkVersion: "0.8.24",
46627
+ genVersion: "2.770.0",
46628
+ userAgent: "speakeasy-sdk/mcp-typescript 0.8.24 2.770.0 2018-02-08 @shippo/shippo-mcp"
46629
46629
  };
46630
46630
  });
46631
46631
 
@@ -48052,7 +48052,7 @@ var init_address = __esm(() => {
48052
48052
  street2: stringType().optional(),
48053
48053
  street3: stringType().optional(),
48054
48054
  street_no: stringType().optional(),
48055
- test: booleanType().optional(),
48055
+ test: booleanType().nullable().optional(),
48056
48056
  validation_results: AddressValidationResults$zodSchema.optional(),
48057
48057
  zip: stringType().optional()
48058
48058
  }).describe("Address represents the address as retrieved from the database");
@@ -48870,15 +48870,15 @@ var init_customsitemcreaterequest = __esm(() => {
48870
48870
  init_weightunitenum();
48871
48871
  CustomsItemCreateRequest$zodSchema = objectType({
48872
48872
  description: stringType(),
48873
- eccn_ear99: stringType().optional(),
48874
- hs_code: stringType().optional(),
48873
+ eccn_ear99: stringType().nullable().optional(),
48874
+ hs_code: stringType().nullable().optional(),
48875
48875
  mass_unit: WeightUnitEnum$zodSchema,
48876
- metadata: stringType().optional(),
48876
+ metadata: stringType().nullable().optional(),
48877
48877
  net_weight: stringType(),
48878
48878
  origin_country: stringType(),
48879
48879
  quantity: numberType().int(),
48880
- sku_code: stringType().optional(),
48881
- tariff_number: stringType().optional(),
48880
+ sku_code: stringType().nullable().optional(),
48881
+ tariff_number: stringType().nullable().optional(),
48882
48882
  value_amount: stringType(),
48883
48883
  value_currency: stringType()
48884
48884
  });
@@ -52842,10 +52842,10 @@ var init_customsitem = __esm(() => {
52842
52842
  init_weightunitenum();
52843
52843
  CustomsItem$zodSchema = objectType({
52844
52844
  description: stringType(),
52845
- eccn_ear99: stringType().optional(),
52846
- hs_code: stringType().optional(),
52845
+ eccn_ear99: stringType().nullable().optional(),
52846
+ hs_code: stringType().nullable().optional(),
52847
52847
  mass_unit: WeightUnitEnum$zodSchema,
52848
- metadata: stringType().optional(),
52848
+ metadata: stringType().nullable().optional(),
52849
52849
  net_weight: stringType(),
52850
52850
  object_created: stringType().datetime({ offset: true }).optional(),
52851
52851
  object_id: stringType().optional(),
@@ -52854,8 +52854,8 @@ var init_customsitem = __esm(() => {
52854
52854
  object_updated: stringType().datetime({ offset: true }).optional(),
52855
52855
  origin_country: stringType(),
52856
52856
  quantity: numberType().int(),
52857
- sku_code: stringType().optional(),
52858
- tariff_number: stringType().optional(),
52857
+ sku_code: stringType().nullable().optional(),
52858
+ tariff_number: stringType().nullable().optional(),
52859
52859
  test: booleanType().optional(),
52860
52860
  value_amount: stringType(),
52861
52861
  value_currency: stringType()
@@ -54343,7 +54343,7 @@ var init_parcel = __esm(() => {
54343
54343
  object_state: ObjectState$zodSchema.optional(),
54344
54344
  object_updated: stringType().datetime({ offset: true }).optional(),
54345
54345
  template: ParcelTemplateEnumSet$zodSchema.nullable().optional(),
54346
- test: booleanType().optional(),
54346
+ test: booleanType().nullable().optional(),
54347
54347
  weight: stringType(),
54348
54348
  width: stringType()
54349
54349
  });
@@ -55329,36 +55329,29 @@ Clears the currently configured default parcel template for live rates.`,
55329
55329
  };
55330
55330
  });
55331
55331
 
55332
- // src/models/userparceltemplate.ts
55333
- var UserParcelTemplate$zodSchema;
55334
- var init_userparceltemplate = __esm(() => {
55332
+ // src/models/defaultparceltemplate.ts
55333
+ var TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema, DefaultParcelTemplate$zodSchema;
55334
+ var init_defaultparceltemplate = __esm(() => {
55335
55335
  init_zod();
55336
55336
  init_carrierparceltemplate();
55337
55337
  init_distanceunitenum();
55338
55338
  init_weightunitenum();
55339
- UserParcelTemplate$zodSchema = objectType({
55339
+ TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema = objectType({
55340
55340
  distance_unit: DistanceUnitEnum$zodSchema.optional(),
55341
55341
  height: stringType().optional(),
55342
55342
  length: stringType().optional(),
55343
55343
  name: stringType().optional(),
55344
- object_created: stringType().datetime({ offset: true }).optional(),
55344
+ object_created: stringType().optional(),
55345
55345
  object_id: stringType().optional(),
55346
55346
  object_owner: stringType().optional(),
55347
- object_updated: stringType().datetime({ offset: true }).optional(),
55347
+ object_updated: stringType().optional(),
55348
55348
  template: CarrierParcelTemplate$zodSchema.optional(),
55349
55349
  weight: stringType().optional(),
55350
55350
  weight_unit: WeightUnitEnum$zodSchema.optional(),
55351
55351
  width: stringType().optional()
55352
55352
  });
55353
- });
55354
-
55355
- // src/models/defaultparceltemplate.ts
55356
- var DefaultParcelTemplate$zodSchema;
55357
- var init_defaultparceltemplate = __esm(() => {
55358
- init_zod();
55359
- init_userparceltemplate();
55360
55353
  DefaultParcelTemplate$zodSchema = objectType({
55361
- result: UserParcelTemplate$zodSchema.optional()
55354
+ result: lazyType(() => TheFieldsOfAParcelTemplateBeforeSavingItToTheDb$zodSchema).nullable().optional()
55362
55355
  });
55363
55356
  });
55364
55357
 
@@ -56471,13 +56464,13 @@ var init_servicegroup = __esm(() => {
56471
56464
  description: stringType(),
56472
56465
  flat_rate: stringType().optional(),
56473
56466
  flat_rate_currency: stringType().optional(),
56474
- free_shipping_threshold_currency: stringType().optional(),
56475
- free_shipping_threshold_min: stringType().optional(),
56467
+ free_shipping_threshold_currency: stringType().nullable().optional(),
56468
+ free_shipping_threshold_min: stringType().nullable().optional(),
56476
56469
  is_active: booleanType().optional(),
56477
56470
  name: stringType(),
56478
56471
  object_id: stringType(),
56479
56472
  rate_adjustment: numberType().int().optional(),
56480
- service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
56473
+ service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema).nullable(),
56481
56474
  type: ServiceGroupTypeEnum$zodSchema
56482
56475
  });
56483
56476
  });
@@ -56509,8 +56502,8 @@ var init_servicegroupcreaterequest = __esm(() => {
56509
56502
  description: stringType(),
56510
56503
  flat_rate: stringType().optional(),
56511
56504
  flat_rate_currency: stringType().optional(),
56512
- free_shipping_threshold_currency: stringType().optional(),
56513
- free_shipping_threshold_min: stringType().optional(),
56505
+ free_shipping_threshold_currency: stringType().nullable().optional(),
56506
+ free_shipping_threshold_min: stringType().nullable().optional(),
56514
56507
  name: stringType(),
56515
56508
  rate_adjustment: numberType().int().optional(),
56516
56509
  service_levels: arrayType(ServiceGroupAccountAndServiceLevel$zodSchema),
@@ -56899,8 +56892,8 @@ var init_servicegroupupdaterequest = __esm(() => {
56899
56892
  description: stringType(),
56900
56893
  flat_rate: stringType().optional(),
56901
56894
  flat_rate_currency: stringType().optional(),
56902
- free_shipping_threshold_currency: stringType().optional(),
56903
- free_shipping_threshold_min: stringType().optional(),
56895
+ free_shipping_threshold_currency: stringType().nullable().optional(),
56896
+ free_shipping_threshold_min: stringType().nullable().optional(),
56904
56897
  is_active: booleanType(),
56905
56898
  name: stringType(),
56906
56899
  object_id: stringType(),
@@ -59438,6 +59431,29 @@ Test transactions will always show \`tracking_status: "UNKNOWN"\` because they d
59438
59431
  };
59439
59432
  });
59440
59433
 
59434
+ // src/models/userparceltemplate.ts
59435
+ var UserParcelTemplate$zodSchema;
59436
+ var init_userparceltemplate = __esm(() => {
59437
+ init_zod();
59438
+ init_carrierparceltemplate();
59439
+ init_distanceunitenum();
59440
+ init_weightunitenum();
59441
+ UserParcelTemplate$zodSchema = objectType({
59442
+ distance_unit: DistanceUnitEnum$zodSchema.optional(),
59443
+ height: stringType().optional(),
59444
+ length: stringType().optional(),
59445
+ name: stringType().optional(),
59446
+ object_created: stringType().optional(),
59447
+ object_id: stringType().optional(),
59448
+ object_owner: stringType().optional(),
59449
+ object_updated: stringType().optional(),
59450
+ template: CarrierParcelTemplate$zodSchema.optional(),
59451
+ weight: stringType().optional(),
59452
+ weight_unit: WeightUnitEnum$zodSchema.optional(),
59453
+ width: stringType().optional()
59454
+ });
59455
+ });
59456
+
59441
59457
  // src/models/createuserparceltemplateop.ts
59442
59458
  var CreateUserParcelTemplateGlobals$zodSchema, CreateUserParcelTemplateResponse$zodSchema;
59443
59459
  var init_createuserparceltemplateop = __esm(() => {
@@ -60875,7 +60891,7 @@ Updates an existing webhook using the webhook object ID.`,
60875
60891
  function createMCPServer(deps) {
60876
60892
  const server = new McpServer({
60877
60893
  name: "ShippoSDK",
60878
- version: "0.8.10"
60894
+ version: "0.8.24"
60879
60895
  });
60880
60896
  const getClient = deps.getSDK || (() => new ShippoSDKCore({
60881
60897
  security: deps.security,
@@ -62267,7 +62283,7 @@ var routes = ln({
62267
62283
  var app = _e(routes, {
62268
62284
  name: "mcp",
62269
62285
  versionInfo: {
62270
- currentVersion: "0.8.10"
62286
+ currentVersion: "0.8.24"
62271
62287
  }
62272
62288
  });
62273
62289
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -62275,5 +62291,5 @@ export {
62275
62291
  app
62276
62292
  };
62277
62293
 
62278
- //# debugId=2AB6505FACAB72D464756E2164756E21
62294
+ //# debugId=21D0A1489C67389264756E2164756E21
62279
62295
  //# sourceMappingURL=mcp-server.js.map