@shipengine/js-api 2.3.1 → 2.4.0

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/index.js CHANGED
@@ -127,6 +127,8 @@ var CustomsNonDeliveryType = /* @__PURE__ */ ((CustomsNonDeliveryType2) => {
127
127
  })(CustomsNonDeliveryType || {});
128
128
  var InsuranceProviderType = /* @__PURE__ */ ((InsuranceProviderType2) => {
129
129
  InsuranceProviderType2["FUNDING_SOURCE"] = "funding_source";
130
+ InsuranceProviderType2["PARCELGUARD"] = "parcelguard";
131
+ InsuranceProviderType2["X_COVER"] = "x_cover";
130
132
  InsuranceProviderType2["SHIPSURANCE"] = "shipsurance";
131
133
  InsuranceProviderType2["CARRIER"] = "carrier";
132
134
  InsuranceProviderType2["THIRD_PARTY"] = "third_party";
package/index.mjs CHANGED
@@ -123,6 +123,8 @@ var CustomsNonDeliveryType = /* @__PURE__ */ ((CustomsNonDeliveryType2) => {
123
123
  })(CustomsNonDeliveryType || {});
124
124
  var InsuranceProviderType = /* @__PURE__ */ ((InsuranceProviderType2) => {
125
125
  InsuranceProviderType2["FUNDING_SOURCE"] = "funding_source";
126
+ InsuranceProviderType2["PARCELGUARD"] = "parcelguard";
127
+ InsuranceProviderType2["X_COVER"] = "x_cover";
126
128
  InsuranceProviderType2["SHIPSURANCE"] = "shipsurance";
127
129
  InsuranceProviderType2["CARRIER"] = "carrier";
128
130
  InsuranceProviderType2["THIRD_PARTY"] = "third_party";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "2.3.1",
3
+ "version": "2.4.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -74,6 +74,8 @@ export type DangerousGoodsRegulationLevel = "lightly_regulated" | "fully_regulat
74
74
  export type DangerousGoodsTransportMean = "ground" | "water" | "cargo_aircraft_only" | "passenger_aircraft";
75
75
  export declare enum InsuranceProviderType {
76
76
  FUNDING_SOURCE = "funding_source",
77
+ PARCELGUARD = "parcelguard",
78
+ X_COVER = "x_cover",
77
79
  SHIPSURANCE = "shipsurance",
78
80
  CARRIER = "carrier",
79
81
  THIRD_PARTY = "third_party",
@@ -172,6 +174,7 @@ export interface Shipment {
172
174
  billToCountryCode?: string;
173
175
  billToParty?: BillToParties;
174
176
  billToPostalCode?: string;
177
+ canadaDeliveredDuty?: "sender_prepay" | null;
175
178
  collectOnDelivery?: {
176
179
  paymentAmount: Money;
177
180
  paymentType: PaymentTypes;