@shipengine/connect-carrier-api 4.27.0-beta → 4.27.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.
Files changed (34) hide show
  1. package/lib/models/advanced-options.d.ts +3 -5
  2. package/lib/models/advanced-options.js +2 -4
  3. package/lib/models/advanced-options.js.map +1 -1
  4. package/lib/models/cpsc-certificate-schema.d.ts +2 -0
  5. package/lib/models/cpsc-certificate-schema.js +10 -0
  6. package/lib/models/cpsc-certificate-schema.js.map +1 -0
  7. package/lib/models/cpsc-certificate.d.ts +11 -0
  8. package/lib/models/cpsc-certificate.js +16 -0
  9. package/lib/models/cpsc-certificate.js.map +1 -0
  10. package/lib/models/index.d.ts +3 -0
  11. package/lib/models/index.js +3 -0
  12. package/lib/models/index.js.map +1 -1
  13. package/lib/models/manufacturer-product-identifier-type.d.ts +15 -0
  14. package/lib/models/manufacturer-product-identifier-type.js +20 -0
  15. package/lib/models/manufacturer-product-identifier-type.js.map +1 -0
  16. package/lib/models/pickup/shipped-products-schema.js +7 -0
  17. package/lib/models/pickup/shipped-products-schema.js.map +1 -1
  18. package/lib/models/pickup/shipped-products.d.ts +8 -0
  19. package/lib/models/pickup/shipped-products.js +6 -0
  20. package/lib/models/pickup/shipped-products.js.map +1 -1
  21. package/lib/models/products.d.ts +8 -0
  22. package/lib/models/products.js +6 -0
  23. package/lib/models/products.js.map +1 -1
  24. package/package.json +1 -1
  25. package/spec.json +6150 -6113
  26. package/src/models/advanced-options.ts +3 -6
  27. package/src/models/cpsc-certificate-schema.ts +6 -0
  28. package/src/models/cpsc-certificate.ts +11 -0
  29. package/src/models/index.ts +3 -0
  30. package/src/models/manufacturer-product-identifier-type.ts +15 -0
  31. package/src/models/pickup/shipped-products-schema.ts +7 -0
  32. package/src/models/pickup/shipped-products.ts +8 -0
  33. package/src/models/products.ts +8 -0
  34. package/tsconfig.tsbuildinfo +1 -1
@@ -2,7 +2,6 @@ import { CollectOnDelivery } from './collect-on-delivery';
2
2
  import { Currency } from './currency';
3
3
  import { DangerousGoodsContact } from './dangerous-good/dangerous-goods-contact';
4
4
  import { WindsorFrameworkDetails } from './windsor-framework/windsor_framework_details';
5
- import { MovementIndicator } from './windsor-framework/movement_indicator';
6
5
  import { AccessibilityTypes } from './accessibility-types';
7
6
  import { Signatory } from './signatory';
8
7
  import { RegulationLevelTypes } from './dangerous-good/regulation-level-types';
@@ -62,11 +61,10 @@ export declare class AdvancedOptions {
62
61
  fragile?: boolean;
63
62
  /** @description A unique ID representing a specific carrier service-level or automation rule within the carrier's/aggregator's system. */
64
63
  service_configuration_id?: string;
65
- /** @description Instructs the carrier to deliver the package only to the exact address provided. */
64
+ /** @description Indicates whether the recipient should be notified of events related to the shipment. */
66
65
  delivery_as_addressed?: boolean;
67
- /** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
66
+ /** @description Instructs the carrier to deliver the package only to the exact address provided. */
68
67
  return_after_first_attempt?: boolean;
69
- /** @description Indicates the type of movement for the shipment. */
70
- movement_indicator?: MovementIndicator;
68
+ /** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
71
69
  [key: string]: any;
72
70
  }
@@ -55,12 +55,10 @@ class AdvancedOptions {
55
55
  fragile;
56
56
  /** @description A unique ID representing a specific carrier service-level or automation rule within the carrier's/aggregator's system. */
57
57
  service_configuration_id;
58
- /** @description Instructs the carrier to deliver the package only to the exact address provided. */
58
+ /** @description Indicates whether the recipient should be notified of events related to the shipment. */
59
59
  delivery_as_addressed;
60
- /** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
60
+ /** @description Instructs the carrier to deliver the package only to the exact address provided. */
61
61
  return_after_first_attempt;
62
- /** @description Indicates the type of movement for the shipment. */
63
- movement_indicator;
64
62
  }
65
63
  exports.AdvancedOptions = AdvancedOptions;
66
64
  //# sourceMappingURL=advanced-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;AAWA,wDAAwD;AACxD,MAAa,eAAe;IAC1B,0DAA0D;IAC1D,sBAAsB,CAAW;IACjC,yDAAyD;IACzD,gBAAgB,CAAW;IAC3B,iEAAiE;IACjE,UAAU,CAAW;IACrB,oEAAoE;IACpE,cAAc,CAAW;IACzB,8EAA8E;IAC9E,qBAAqB,CAAW;IAChC,6DAA6D;IAC7D,iBAAiB,CAAW;IAC5B,iGAAiG;IACjG,GAAG,CAAY;IACf,wFAAwF;IACxF,mBAAmB,CAAW;IAC9B,iGAAiG;IACjG,mBAAmB,CAAqB;IACxC,8IAA8I;IAC9I,mBAAmB,CAAW;IAC9B,iFAAiF;IACjF,eAAe,CAAW;IAC1B,2DAA2D;IAC3D,uBAAuB,CAAyB;IAChD,+HAA+H;IAC/H,gBAAgB,CAAW;IAC3B,yGAAyG;IACzG,kBAAkB,CAAW;IAC7B,qDAAqD;IACrD,yBAAyB,CAA2B;IACpD,+GAA+G;IAC/G,aAAa,CAAsB;IACnC,oHAAoH;IACpH,SAAS,CAAa;IACtB,wEAAwE;IACxE,gBAAgB,CAAwB;IACxC,0FAA0F;IAC1F,cAAc,CAAsB;IACpC,yFAAyF;IACzF,MAAM,CAAW;IACjB,uHAAuH;IACvH,kBAAkB,CAAW;IAC7B,qFAAqF;IACrF,QAAQ,CAAW;IACnB,kHAAkH;IAClH,WAAW,CAAW;IACtB,0GAA0G;IAC1G,0BAA0B,CAA4B;IACtD,qEAAqE;IACrE,OAAO,CAAW;IAClB,0IAA0I;IAC1I,wBAAwB,CAAU;IAClC,oGAAoG;IACpG,qBAAqB,CAAW;IAChC,+HAA+H;IAC/H,0BAA0B,CAAW;IAErC,oEAAoE;IACpE,kBAAkB,CAAqB;CAExC;AA7DD,0CA6DC"}
1
+ {"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;AAUA,wDAAwD;AACxD,MAAa,eAAe;IAC1B,0DAA0D;IAC1D,sBAAsB,CAAW;IACjC,yDAAyD;IACzD,gBAAgB,CAAW;IAC3B,iEAAiE;IACjE,UAAU,CAAW;IACrB,oEAAoE;IACpE,cAAc,CAAW;IACzB,8EAA8E;IAC9E,qBAAqB,CAAW;IAChC,6DAA6D;IAC7D,iBAAiB,CAAW;IAC5B,iGAAiG;IACjG,GAAG,CAAY;IACf,wFAAwF;IACxF,mBAAmB,CAAW;IAC9B,iGAAiG;IACjG,mBAAmB,CAAqB;IACxC,8IAA8I;IAC9I,mBAAmB,CAAW;IAC9B,iFAAiF;IACjF,eAAe,CAAW;IAC1B,2DAA2D;IAC3D,uBAAuB,CAAyB;IAChD,+HAA+H;IAC/H,gBAAgB,CAAW;IAC3B,yGAAyG;IACzG,kBAAkB,CAAW;IAC7B,qDAAqD;IACrD,yBAAyB,CAA2B;IACpD,+GAA+G;IAC/G,aAAa,CAAsB;IACnC,oHAAoH;IACpH,SAAS,CAAa;IACtB,wEAAwE;IACxE,gBAAgB,CAAwB;IACxC,0FAA0F;IAC1F,cAAc,CAAsB;IACpC,yFAAyF;IACzF,MAAM,CAAW;IACjB,uHAAuH;IACvH,kBAAkB,CAAW;IAC7B,qFAAqF;IACrF,QAAQ,CAAW;IACnB,kHAAkH;IAClH,WAAW,CAAW;IACtB,0GAA0G;IAC1G,0BAA0B,CAA4B;IACtD,qEAAqE;IACrE,OAAO,CAAW;IAClB,0IAA0I;IAC1I,wBAAwB,CAAU;IAClC,yGAAyG;IACzG,qBAAqB,CAAW;IAChC,oGAAoG;IACpG,0BAA0B,CAAW;CAGtC;AA3DD,0CA2DC"}
@@ -0,0 +1,2 @@
1
+ import Joi from 'joi';
2
+ export declare const CpscCertificateSchema: Joi.ObjectSchema<any>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CpscCertificateSchema = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ exports.CpscCertificateSchema = joi_1.default.object({
7
+ certifier_id: joi_1.default.string().optional(),
8
+ certificate_version_id: joi_1.default.string().optional(),
9
+ });
10
+ //# sourceMappingURL=cpsc-certificate-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsc-certificate-schema.js","sourceRoot":"","sources":["../../src/models/cpsc-certificate-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAET,QAAA,qBAAqB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC9C,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,sBAAsB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @description CPSC (U.S. Consumer Product Safety Commission) eFiling Certificate of Compliance
3
+ * reference data for the Reference (Abbreviated) PGA Message Set. Used for products
4
+ * preregistered in the CPSC Product Registry.
5
+ */
6
+ export declare class CpscCertificate {
7
+ /** @description A unique identifier created by the importer ultimately responsible for certifying the product certificates. Maximum length of 50 characters. */
8
+ certifier_id?: string;
9
+ /** @description A unique identifier for the specific version of the product certificate. Maximum length of 50 characters. */
10
+ certificate_version_id?: string;
11
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CpscCertificate = void 0;
4
+ /**
5
+ * @description CPSC (U.S. Consumer Product Safety Commission) eFiling Certificate of Compliance
6
+ * reference data for the Reference (Abbreviated) PGA Message Set. Used for products
7
+ * preregistered in the CPSC Product Registry.
8
+ */
9
+ class CpscCertificate {
10
+ /** @description A unique identifier created by the importer ultimately responsible for certifying the product certificates. Maximum length of 50 characters. */
11
+ certifier_id;
12
+ /** @description A unique identifier for the specific version of the product certificate. Maximum length of 50 characters. */
13
+ certificate_version_id;
14
+ }
15
+ exports.CpscCertificate = CpscCertificate;
16
+ //# sourceMappingURL=cpsc-certificate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsc-certificate.js","sourceRoot":"","sources":["../../src/models/cpsc-certificate.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,MAAa,eAAe;IAC1B,gKAAgK;IAChK,YAAY,CAAU;IACtB,6HAA6H;IAC7H,sBAAsB,CAAU;CACjC;AALD,0CAKC"}
@@ -5,6 +5,8 @@ export * from './cod-payment-type';
5
5
  export * from './collect-on-delivery';
6
6
  export * from './billing';
7
7
  export * from './confirmation-types';
8
+ export * from './cpsc-certificate';
9
+ export * from './cpsc-certificate-schema';
8
10
  export * from './currency-schema';
9
11
  export * from './currency';
10
12
  export * from './customs';
@@ -20,6 +22,7 @@ export * from './inbound-content-types';
20
22
  export * from './insurance-providers';
21
23
  export * from './labels';
22
24
  export * from './manifests';
25
+ export * from './manufacturer-product-identifier-type';
23
26
  export * from './native-rating';
24
27
  export * from './package';
25
28
  export * from './pickup';
@@ -8,6 +8,8 @@ tslib_1.__exportStar(require("./cod-payment-type"), exports);
8
8
  tslib_1.__exportStar(require("./collect-on-delivery"), exports);
9
9
  tslib_1.__exportStar(require("./billing"), exports);
10
10
  tslib_1.__exportStar(require("./confirmation-types"), exports);
11
+ tslib_1.__exportStar(require("./cpsc-certificate"), exports);
12
+ tslib_1.__exportStar(require("./cpsc-certificate-schema"), exports);
11
13
  tslib_1.__exportStar(require("./currency-schema"), exports);
12
14
  tslib_1.__exportStar(require("./currency"), exports);
13
15
  tslib_1.__exportStar(require("./customs"), exports);
@@ -23,6 +25,7 @@ tslib_1.__exportStar(require("./inbound-content-types"), exports);
23
25
  tslib_1.__exportStar(require("./insurance-providers"), exports);
24
26
  tslib_1.__exportStar(require("./labels"), exports);
25
27
  tslib_1.__exportStar(require("./manifests"), exports);
28
+ tslib_1.__exportStar(require("./manufacturer-product-identifier-type"), exports);
26
29
  tslib_1.__exportStar(require("./native-rating"), exports);
27
30
  tslib_1.__exportStar(require("./package"), exports);
28
31
  tslib_1.__exportStar(require("./pickup"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,6DAAmC;AACnC,0DAAgC;AAChC,6DAAmC;AACnC,gEAAsC;AACtC,oDAA0B;AAC1B,+DAAqC;AACrC,4DAAkC;AAClC,qDAA2B;AAC3B,oDAA0B;AAC1B,kEAAwC;AACxC,2DAAiC;AACjC,sDAA4B;AAC5B,mDAAyB;AACzB,8DAAoC;AACpC,8DAAoC;AACpC,uDAA6B;AAC7B,yEAA+C;AAC/C,kEAAwC;AACxC,gEAAsC;AACtC,mDAAyB;AACzB,sDAA4B;AAC5B,0DAAgC;AAChC,oDAA0B;AAC1B,mDAAyB;AACzB,kDAAwB;AACxB,yDAA+B;AAC/B,yDAA+B;AAC/B,qEAA2C;AAC3C,8DAAoC;AACpC,kDAAwB;AACxB,+DAAqC;AACrC,wDAA8B;AAC9B,qDAA2B;AAC3B,kDAAwB;AACxB,oDAA0B;AAC1B,qEAA2C;AAC3C,kEAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;AAAA,sDAA4B;AAC5B,6DAAmC;AACnC,0DAAgC;AAChC,6DAAmC;AACnC,gEAAsC;AACtC,oDAA0B;AAC1B,+DAAqC;AACrC,6DAAmC;AACnC,oEAA0C;AAC1C,4DAAkC;AAClC,qDAA2B;AAC3B,oDAA0B;AAC1B,kEAAwC;AACxC,2DAAiC;AACjC,sDAA4B;AAC5B,mDAAyB;AACzB,8DAAoC;AACpC,8DAAoC;AACpC,uDAA6B;AAC7B,yEAA+C;AAC/C,kEAAwC;AACxC,gEAAsC;AACtC,mDAAyB;AACzB,sDAA4B;AAC5B,iFAAuD;AACvD,0DAAgC;AAChC,oDAA0B;AAC1B,mDAAyB;AACzB,kDAAwB;AACxB,yDAA+B;AAC/B,yDAA+B;AAC/B,qEAA2C;AAC3C,8DAAoC;AACpC,kDAAwB;AACxB,+DAAqC;AACrC,wDAA8B;AAC9B,qDAA2B;AAC3B,kDAAwB;AACxB,oDAA0B;AAC1B,qEAA2C;AAC3C,kEAAwC"}
@@ -0,0 +1,15 @@
1
+ /** @description The type of a manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier. Custom denotes a code that is unique to the manufacturer's own system and does not follow an internationally recognised standard. */
2
+ export declare enum ManufacturerProductIdentifierType {
3
+ /** @description CUSTOM */
4
+ CUSTOM = "CUSTOM",
5
+ /** @description GTIN */
6
+ GTIN = "GTIN",
7
+ /** @description EAN */
8
+ EAN = "EAN",
9
+ /** @description ISBN */
10
+ ISBN = "ISBN",
11
+ /** @description UPC */
12
+ UPC = "UPC",
13
+ /** @description MPN */
14
+ MPN = "MPN"
15
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ManufacturerProductIdentifierType = void 0;
4
+ /** @description The type of a manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier. Custom denotes a code that is unique to the manufacturer's own system and does not follow an internationally recognised standard. */
5
+ var ManufacturerProductIdentifierType;
6
+ (function (ManufacturerProductIdentifierType) {
7
+ /** @description CUSTOM */
8
+ ManufacturerProductIdentifierType["CUSTOM"] = "CUSTOM";
9
+ /** @description GTIN */
10
+ ManufacturerProductIdentifierType["GTIN"] = "GTIN";
11
+ /** @description EAN */
12
+ ManufacturerProductIdentifierType["EAN"] = "EAN";
13
+ /** @description ISBN */
14
+ ManufacturerProductIdentifierType["ISBN"] = "ISBN";
15
+ /** @description UPC */
16
+ ManufacturerProductIdentifierType["UPC"] = "UPC";
17
+ /** @description MPN */
18
+ ManufacturerProductIdentifierType["MPN"] = "MPN";
19
+ })(ManufacturerProductIdentifierType || (exports.ManufacturerProductIdentifierType = ManufacturerProductIdentifierType = {}));
20
+ //# sourceMappingURL=manufacturer-product-identifier-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manufacturer-product-identifier-type.js","sourceRoot":"","sources":["../../src/models/manufacturer-product-identifier-type.ts"],"names":[],"mappings":";;;AAAA,sQAAsQ;AACtQ,IAAY,iCAaX;AAbD,WAAY,iCAAiC;IAC3C,0BAA0B;IAC1B,sDAAiB,CAAA;IACjB,wBAAwB;IACxB,kDAAa,CAAA;IACb,uBAAuB;IACvB,gDAAW,CAAA;IACX,wBAAwB;IACxB,kDAAa,CAAA;IACb,uBAAuB;IACvB,gDAAW,CAAA;IACX,uBAAuB;IACvB,gDAAW,CAAA;AACb,CAAC,EAbW,iCAAiC,iDAAjC,iCAAiC,QAa5C"}
@@ -5,6 +5,8 @@ const tslib_1 = require("tslib");
5
5
  const joi_1 = tslib_1.__importDefault(require("joi"));
6
6
  const connect_carrier_api_1 = require("@shipengine/connect-carrier-api");
7
7
  const weight_details_schema_1 = require("../units/weight-details-schema");
8
+ const manufacturer_product_identifier_type_1 = require("../manufacturer-product-identifier-type");
9
+ const cpsc_certificate_schema_1 = require("../cpsc-certificate-schema");
8
10
  exports.ShippedProductsSchema = joi_1.default.object({
9
11
  description: joi_1.default.string().optional(),
10
12
  quantity: joi_1.default.number().optional(),
@@ -17,6 +19,11 @@ exports.ShippedProductsSchema = joi_1.default.object({
17
19
  product_url: joi_1.default.string().optional(),
18
20
  vat_rate: joi_1.default.number().optional(),
19
21
  mid_code: joi_1.default.string().optional(),
22
+ manufacturer_product_id_type: joi_1.default.string()
23
+ .valid(...Object.values(manufacturer_product_identifier_type_1.ManufacturerProductIdentifierType))
24
+ .optional(),
25
+ manufacturer_product_id: joi_1.default.string().optional(),
20
26
  dangerous_goods: joi_1.default.object().optional(),
27
+ cpsc_certificates: joi_1.default.array().items(cpsc_certificate_schema_1.CpscCertificateSchema).optional(),
21
28
  });
22
29
  //# sourceMappingURL=shipped-products-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipped-products-schema.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-products-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,yEAAiE;AACjE,0EAAqE;AAExD,QAAA,qBAAqB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,oCAAc,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,sBAAsB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/C,GAAG,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,2CAAmB,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC"}
1
+ {"version":3,"file":"shipped-products-schema.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-products-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,yEAAiE;AACjE,0EAAqE;AACrE,kGAA4F;AAC5F,wEAAmE;AAEtD,QAAA,qBAAqB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,oCAAc,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,sBAAsB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/C,GAAG,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,2CAAmB,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,4BAA4B,EAAE,aAAG,CAAC,MAAM,EAAE;SACvC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,wEAAiC,CAAC,CAAC;SAC1D,QAAQ,EAAE;IACb,uBAAuB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,iBAAiB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,+CAAqB,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { Currency, WeightDetails } from '@shipengine/connect-carrier-api';
2
2
  import { DangerousGoods } from '../dangerous-good/dangerous-goods';
3
+ import { ManufacturerProductIdentifierType } from '../manufacturer-product-identifier-type';
4
+ import { CpscCertificate } from '../cpsc-certificate';
3
5
  /** @description Basic structure for a product from a shipped shipment*/
4
6
  export declare class ShippedProducts {
5
7
  /** @description A user specified free form string describing this customs item. If the field is absent the user has not specified a description */
@@ -24,8 +26,14 @@ export declare class ShippedProducts {
24
26
  vat_rate?: number;
25
27
  /** @description The Manufacturer Identification Code (MID). It is ussed as an alternative to the full name and address of a manufacturer, shipper or exporter and is always required for U.S. formal customs entries. */
26
28
  mid_code?: string;
29
+ /** @description The type of the manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier that identifies this item. Used to support full customs clearance. */
30
+ manufacturer_product_id_type?: ManufacturerProductIdentifierType;
31
+ /** @description The manufacturer product identifier value. */
32
+ manufacturer_product_id?: string;
27
33
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
28
34
  dangerous_goods?: DangerousGoods[];
35
+ /** @description CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference data for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set. */
36
+ cpsc_certificates?: CpscCertificate[];
29
37
  /** @description Additional details for product. */
30
38
  [key: string]: any;
31
39
  }
@@ -25,8 +25,14 @@ class ShippedProducts {
25
25
  vat_rate;
26
26
  /** @description The Manufacturer Identification Code (MID). It is ussed as an alternative to the full name and address of a manufacturer, shipper or exporter and is always required for U.S. formal customs entries. */
27
27
  mid_code;
28
+ /** @description The type of the manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier that identifies this item. Used to support full customs clearance. */
29
+ manufacturer_product_id_type;
30
+ /** @description The manufacturer product identifier value. */
31
+ manufacturer_product_id;
28
32
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
29
33
  dangerous_goods;
34
+ /** @description CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference data for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set. */
35
+ cpsc_certificates;
30
36
  }
31
37
  exports.ShippedProducts = ShippedProducts;
32
38
  //# sourceMappingURL=shipped-products.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipped-products.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-products.ts"],"names":[],"mappings":";;;AAGA,wEAAwE;AACxE,MAAa,eAAe;IAC1B,mJAAmJ;IACnJ,WAAW,CAAU;IACrB,4GAA4G;IAC5G,QAAQ,CAAU;IAClB,mKAAmK;IACnK,KAAK,CAAY;IACjB,sFAAsF;IACtF,iBAAiB,CAAU;IAC3B,8GAA8G;IAC9G,sBAAsB,CAAU;IAChC,oGAAoG;IACpG,GAAG,CAAU;IACb,gHAAgH;IAChH,eAAe,CAAU;IACzB,sEAAsE;IACtE,WAAW,CAAiB;IAC5B,0LAA0L;IAC1L,WAAW,CAAU;IACrB,oHAAoH;IACpH,QAAQ,CAAU;IAClB,yNAAyN;IACzN,QAAQ,CAAU;IAClB,qGAAqG;IACrG,eAAe,CAAoB;CAGpC;AA3BD,0CA2BC"}
1
+ {"version":3,"file":"shipped-products.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-products.ts"],"names":[],"mappings":";;;AAKA,wEAAwE;AACxE,MAAa,eAAe;IAC1B,mJAAmJ;IACnJ,WAAW,CAAU;IACrB,4GAA4G;IAC5G,QAAQ,CAAU;IAClB,mKAAmK;IACnK,KAAK,CAAY;IACjB,sFAAsF;IACtF,iBAAiB,CAAU;IAC3B,8GAA8G;IAC9G,sBAAsB,CAAU;IAChC,oGAAoG;IACpG,GAAG,CAAU;IACb,gHAAgH;IAChH,eAAe,CAAU;IACzB,sEAAsE;IACtE,WAAW,CAAiB;IAC5B,0LAA0L;IAC1L,WAAW,CAAU;IACrB,oHAAoH;IACpH,QAAQ,CAAU;IAClB,yNAAyN;IACzN,QAAQ,CAAU;IAClB,wMAAwM;IACxM,4BAA4B,CAAqC;IACjE,8DAA8D;IAC9D,uBAAuB,CAAU;IACjC,qGAAqG;IACrG,eAAe,CAAoB;IACnC,wLAAwL;IACxL,iBAAiB,CAAqB;CAGvC;AAjCD,0CAiCC"}
@@ -2,6 +2,8 @@ import { WeightDetails } from './units/weight-details';
2
2
  import { Currency } from './currency';
3
3
  import { DangerousGoods } from './dangerous-good/dangerous-goods';
4
4
  import { UnitOfMeasureTypes } from './customs/unit-of-measure-types';
5
+ import { ManufacturerProductIdentifierType } from './manufacturer-product-identifier-type';
6
+ import { CpscCertificate } from './cpsc-certificate';
5
7
  /** @description Basic structure for a product */
6
8
  export declare class Products {
7
9
  /** @description A user specified free form string describing this customs item. If the field is absent the user has not specified a description */
@@ -30,6 +32,12 @@ export declare class Products {
30
32
  mid_code?: string;
31
33
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
32
34
  dangerous_goods?: DangerousGoods[];
35
+ /** @description The type of the manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier that identifies this item. Used to support full customs clearance. */
36
+ manufacturer_product_id_type?: ManufacturerProductIdentifierType;
37
+ /** @description The manufacturer product identifier value. */
38
+ manufacturer_product_id?: string;
39
+ /** @description CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference data for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set. */
40
+ cpsc_certificates?: CpscCertificate[];
33
41
  /** @description Additional details for product. */
34
42
  [key: string]: any;
35
43
  }
@@ -29,6 +29,12 @@ class Products {
29
29
  mid_code;
30
30
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
31
31
  dangerous_goods;
32
+ /** @description The type of the manufacturer product identifier. A product code assigned by a manufacturer, producer, or supplier that identifies this item. Used to support full customs clearance. */
33
+ manufacturer_product_id_type;
34
+ /** @description The manufacturer product identifier value. */
35
+ manufacturer_product_id;
36
+ /** @description CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference data for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set. */
37
+ cpsc_certificates;
32
38
  }
33
39
  exports.Products = Products;
34
40
  //# sourceMappingURL=products.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/models/products.ts"],"names":[],"mappings":";;;AAKA,iDAAiD;AACjD,MAAa,QAAQ;IACnB,mJAAmJ;IACnJ,WAAW,CAAU;IACrB,4GAA4G;IAC5G,QAAQ,CAAU;IAClB,mKAAmK;IACnK,KAAK,CAAY;IACjB,sFAAsF;IACtF,iBAAiB,CAAU;IAC3B,8GAA8G;IAC9G,sBAAsB,CAAU;IAChC,2EAA2E;IAC3E,eAAe,CAAsB;IACrC,oGAAoG;IACpG,GAAG,CAAU;IACb,gHAAgH;IAChH,eAAe,CAAU;IACzB,sEAAsE;IACtE,WAAW,CAAiB;IAC5B,0LAA0L;IAC1L,WAAW,CAAU;IACrB,oHAAoH;IACpH,QAAQ,CAAU;IAClB,yNAAyN;IACzN,QAAQ,CAAU;IAClB,qGAAqG;IACrG,eAAe,CAAoB;CAGpC;AA7BD,4BA6BC"}
1
+ {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/models/products.ts"],"names":[],"mappings":";;;AAOA,iDAAiD;AACjD,MAAa,QAAQ;IACnB,mJAAmJ;IACnJ,WAAW,CAAU;IACrB,4GAA4G;IAC5G,QAAQ,CAAU;IAClB,mKAAmK;IACnK,KAAK,CAAY;IACjB,sFAAsF;IACtF,iBAAiB,CAAU;IAC3B,8GAA8G;IAC9G,sBAAsB,CAAU;IAChC,2EAA2E;IAC3E,eAAe,CAAsB;IACrC,oGAAoG;IACpG,GAAG,CAAU;IACb,gHAAgH;IAChH,eAAe,CAAU;IACzB,sEAAsE;IACtE,WAAW,CAAiB;IAC5B,0LAA0L;IAC1L,WAAW,CAAU;IACrB,oHAAoH;IACpH,QAAQ,CAAU;IAClB,yNAAyN;IACzN,QAAQ,CAAU;IAClB,qGAAqG;IACrG,eAAe,CAAoB;IACnC,wMAAwM;IACxM,4BAA4B,CAAqC;IACjE,8DAA8D;IAC9D,uBAAuB,CAAU;IACjC,wLAAwL;IACxL,iBAAiB,CAAqB;CAGvC;AAnCD,4BAmCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "4.27.0-beta",
3
+ "version": "4.27.0",
4
4
  "description": "This is the typescript/javascript definitions for carrier api",
5
5
  "homepage": "https://connect.shipengine.com",
6
6
  "main": "./lib/index.js",