@shipengine/js-api 2.1.2 → 2.2.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
@@ -126,6 +126,7 @@ var CustomsNonDeliveryType = /* @__PURE__ */ ((CustomsNonDeliveryType2) => {
126
126
  return CustomsNonDeliveryType2;
127
127
  })(CustomsNonDeliveryType || {});
128
128
  var InsuranceProviderType = /* @__PURE__ */ ((InsuranceProviderType2) => {
129
+ InsuranceProviderType2["FUNDING_SOURCE"] = "funding_source";
129
130
  InsuranceProviderType2["SHIPSURANCE"] = "shipsurance";
130
131
  InsuranceProviderType2["CARRIER"] = "carrier";
131
132
  InsuranceProviderType2["THIRD_PARTY"] = "third_party";
package/index.mjs CHANGED
@@ -122,6 +122,7 @@ var CustomsNonDeliveryType = /* @__PURE__ */ ((CustomsNonDeliveryType2) => {
122
122
  return CustomsNonDeliveryType2;
123
123
  })(CustomsNonDeliveryType || {});
124
124
  var InsuranceProviderType = /* @__PURE__ */ ((InsuranceProviderType2) => {
125
+ InsuranceProviderType2["FUNDING_SOURCE"] = "funding_source";
125
126
  InsuranceProviderType2["SHIPSURANCE"] = "shipsurance";
126
127
  InsuranceProviderType2["CARRIER"] = "carrier";
127
128
  InsuranceProviderType2["THIRD_PARTY"] = "third_party";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -73,6 +73,7 @@ export type DangerousGoodsPackagingInstructionSection = "section_1" | "section_2
73
73
  export type DangerousGoodsRegulationLevel = "lightly_regulated" | "fully_regulated" | "limited_quantities" | "excepted_quantity";
74
74
  export type DangerousGoodsTransportMean = "ground" | "water" | "cargo_aircraft_only" | "passenger_aircraft";
75
75
  export declare enum InsuranceProviderType {
76
+ FUNDING_SOURCE = "funding_source",
76
77
  SHIPSURANCE = "shipsurance",
77
78
  CARRIER = "carrier",
78
79
  THIRD_PARTY = "third_party",
@@ -197,7 +198,7 @@ export interface Shipment {
197
198
  shipperRelease?: boolean;
198
199
  thirdPartyConsignee?: boolean;
199
200
  useUpsGroundFreightPricing?: boolean;
200
- windsorFrameworkDetails: WindsorFrameworkDetails;
201
+ windsorFrameworkDetails?: WindsorFrameworkDetails;
201
202
  };
202
203
  carrierId: string;
203
204
  comparisonRateType?: string;