@shipengine/connect-carrier-api 4.30.0 → 4.31.0-beta

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.
@@ -0,0 +1,4 @@
1
+ export declare enum CpscDisclaimCode {
2
+ A = "A",
3
+ B = "B"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CpscDisclaimCode = void 0;
4
+ var CpscDisclaimCode;
5
+ (function (CpscDisclaimCode) {
6
+ CpscDisclaimCode["A"] = "A";
7
+ CpscDisclaimCode["B"] = "B";
8
+ })(CpscDisclaimCode || (exports.CpscDisclaimCode = CpscDisclaimCode = {}));
9
+ //# sourceMappingURL=cpsc-disclaim-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsc-disclaim-code.js","sourceRoot":"","sources":["../../src/models/cpsc-disclaim-code.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,2BAAO,CAAA;IACP,2BAAO,CAAA;AACT,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
@@ -0,0 +1,2 @@
1
+ import Joi from 'joi';
2
+ export declare const CpscDisclaimSchema: Joi.ObjectSchema<any>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CpscDisclaimSchema = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ const cpsc_disclaim_code_1 = require("./cpsc-disclaim-code");
7
+ exports.CpscDisclaimSchema = joi_1.default.object({
8
+ disclaim_code: joi_1.default.string()
9
+ .valid(...Object.values(cpsc_disclaim_code_1.CpscDisclaimCode))
10
+ .optional(),
11
+ intended_use_code: joi_1.default.string().max(16).optional(),
12
+ intended_use_description: joi_1.default.string().max(100).optional(),
13
+ });
14
+ //# sourceMappingURL=cpsc-disclaim-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsc-disclaim-schema.js","sourceRoot":"","sources":["../../src/models/cpsc-disclaim-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,6DAAwD;AAE3C,QAAA,kBAAkB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC3C,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE;SACxB,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,qCAAgB,CAAC,CAAC;SACzC,QAAQ,EAAE;IACb,iBAAiB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,wBAAwB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { CpscDisclaimCode } from './cpsc-disclaim-code';
2
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
3
+ export declare class CpscDisclaim {
4
+ /** @description The disclaim code indicating the reason a product is exempt from CPSC regulation. */
5
+ disclaim_code?: CpscDisclaimCode;
6
+ /** @description A code identifying the intended use of the product. Maximum length of 16 characters. */
7
+ intended_use_code?: string;
8
+ /** @description A description of the intended use of the product. Maximum length of 100 characters. */
9
+ intended_use_description?: string;
10
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CpscDisclaim = void 0;
4
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
5
+ class CpscDisclaim {
6
+ /** @description The disclaim code indicating the reason a product is exempt from CPSC regulation. */
7
+ disclaim_code;
8
+ /** @description A code identifying the intended use of the product. Maximum length of 16 characters. */
9
+ intended_use_code;
10
+ /** @description A description of the intended use of the product. Maximum length of 100 characters. */
11
+ intended_use_description;
12
+ }
13
+ exports.CpscDisclaim = CpscDisclaim;
14
+ //# sourceMappingURL=cpsc-disclaim.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpsc-disclaim.js","sourceRoot":"","sources":["../../src/models/cpsc-disclaim.ts"],"names":[],"mappings":";;;AAEA,8IAA8I;AAC9I,MAAa,YAAY;IACvB,qGAAqG;IACrG,aAAa,CAAoB;IACjC,wGAAwG;IACxG,iBAAiB,CAAU;IAC3B,uGAAuG;IACvG,wBAAwB,CAAU;CACnC;AAPD,oCAOC"}
@@ -7,6 +7,9 @@ export * from './billing';
7
7
  export * from './confirmation-types';
8
8
  export * from './cpsc-certificate';
9
9
  export * from './cpsc-certificate-schema';
10
+ export * from './cpsc-disclaim';
11
+ export * from './cpsc-disclaim-code';
12
+ export * from './cpsc-disclaim-schema';
10
13
  export * from './currency-schema';
11
14
  export * from './currency';
12
15
  export * from './customs';
@@ -10,6 +10,9 @@ tslib_1.__exportStar(require("./billing"), exports);
10
10
  tslib_1.__exportStar(require("./confirmation-types"), exports);
11
11
  tslib_1.__exportStar(require("./cpsc-certificate"), exports);
12
12
  tslib_1.__exportStar(require("./cpsc-certificate-schema"), exports);
13
+ tslib_1.__exportStar(require("./cpsc-disclaim"), exports);
14
+ tslib_1.__exportStar(require("./cpsc-disclaim-code"), exports);
15
+ tslib_1.__exportStar(require("./cpsc-disclaim-schema"), exports);
13
16
  tslib_1.__exportStar(require("./currency-schema"), exports);
14
17
  tslib_1.__exportStar(require("./currency"), exports);
15
18
  tslib_1.__exportStar(require("./customs"), 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,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"}
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,0DAAgC;AAChC,+DAAqC;AACrC,iEAAuC;AACvC,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"}
@@ -7,6 +7,7 @@ const connect_carrier_api_1 = require("@shipengine/connect-carrier-api");
7
7
  const weight_details_schema_1 = require("../units/weight-details-schema");
8
8
  const manufacturer_product_identifier_type_1 = require("../manufacturer-product-identifier-type");
9
9
  const cpsc_certificate_schema_1 = require("../cpsc-certificate-schema");
10
+ const cpsc_disclaim_schema_1 = require("../cpsc-disclaim-schema");
10
11
  exports.ShippedProductsSchema = joi_1.default.object({
11
12
  description: joi_1.default.string().optional(),
12
13
  quantity: joi_1.default.number().optional(),
@@ -26,5 +27,6 @@ exports.ShippedProductsSchema = joi_1.default.object({
26
27
  manufacturer_ns_product_id: joi_1.default.string().optional(),
27
28
  dangerous_goods: joi_1.default.object().optional(),
28
29
  cpsc_certificates: joi_1.default.array().items(cpsc_certificate_schema_1.CpscCertificateSchema).optional(),
30
+ cpsc_disclaim: cpsc_disclaim_schema_1.CpscDisclaimSchema.optional(),
29
31
  });
30
32
  //# 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;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,0BAA0B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,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
+ {"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;AACnE,kEAA6D;AAEhD,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,0BAA0B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,iBAAiB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,+CAAqB,CAAC,CAAC,QAAQ,EAAE;IACtE,aAAa,EAAE,yCAAkB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
@@ -2,6 +2,7 @@ import { Currency, WeightDetails } from '@shipengine/connect-carrier-api';
2
2
  import { DangerousGoods } from '../dangerous-good/dangerous-goods';
3
3
  import { ManufacturerProductIdentifierType } from '../manufacturer-product-identifier-type';
4
4
  import { CpscCertificate } from '../cpsc-certificate';
5
+ import { CpscDisclaim } from '../cpsc-disclaim';
5
6
  /** @description Basic structure for a product from a shipped shipment*/
6
7
  export declare class ShippedProducts {
7
8
  /** @description A user specified free form string describing this customs item. If the field is absent the user has not specified a description */
@@ -36,6 +37,8 @@ export declare class ShippedProducts {
36
37
  dangerous_goods?: DangerousGoods[];
37
38
  /** @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. */
38
39
  cpsc_certificates?: CpscCertificate[];
40
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
41
+ cpsc_disclaim?: CpscDisclaim;
39
42
  /** @description Additional details for product. */
40
43
  [key: string]: any;
41
44
  }
@@ -35,6 +35,8 @@ class ShippedProducts {
35
35
  dangerous_goods;
36
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
37
  cpsc_certificates;
38
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
39
+ cpsc_disclaim;
38
40
  }
39
41
  exports.ShippedProducts = ShippedProducts;
40
42
  //# sourceMappingURL=shipped-products.js.map
@@ -1 +1 @@
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,iKAAiK;IACjK,0BAA0B,CAAU;IACpC,qGAAqG;IACrG,eAAe,CAAoB;IACnC,wLAAwL;IACxL,iBAAiB,CAAqB;CAGvC;AAnCD,0CAmCC"}
1
+ {"version":3,"file":"shipped-products.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-products.ts"],"names":[],"mappings":";;;AAMA,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,iKAAiK;IACjK,0BAA0B,CAAU;IACpC,qGAAqG;IACrG,eAAe,CAAoB;IACnC,wLAAwL;IACxL,iBAAiB,CAAqB;IACtC,8IAA8I;IAC9I,aAAa,CAAgB;CAG9B;AArCD,0CAqCC"}
@@ -4,6 +4,7 @@ import { DangerousGoods } from './dangerous-good/dangerous-goods';
4
4
  import { UnitOfMeasureTypes } from './customs/unit-of-measure-types';
5
5
  import { ManufacturerProductIdentifierType } from './manufacturer-product-identifier-type';
6
6
  import { CpscCertificate } from './cpsc-certificate';
7
+ import { CpscDisclaim } from './cpsc-disclaim';
7
8
  /** @description Basic structure for a product */
8
9
  export declare class Products {
9
10
  /** @description A user specified free form string describing this customs item. If the field is absent the user has not specified a description */
@@ -40,6 +41,8 @@ export declare class Products {
40
41
  manufacturer_ns_product_id?: string;
41
42
  /** @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. */
42
43
  cpsc_certificates?: CpscCertificate[];
44
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
45
+ cpsc_disclaim?: CpscDisclaim;
43
46
  /** @description Additional details for product. */
44
47
  [key: string]: any;
45
48
  }
@@ -37,6 +37,8 @@ class Products {
37
37
  manufacturer_ns_product_id;
38
38
  /** @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. */
39
39
  cpsc_certificates;
40
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
41
+ cpsc_disclaim;
40
42
  }
41
43
  exports.Products = Products;
42
44
  //# sourceMappingURL=products.js.map
@@ -1 +1 @@
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,iKAAiK;IACjK,0BAA0B,CAAU;IACpC,wLAAwL;IACxL,iBAAiB,CAAqB;CAGvC;AArCD,4BAqCC"}
1
+ {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/models/products.ts"],"names":[],"mappings":";;;AAQA,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,iKAAiK;IACjK,0BAA0B,CAAU;IACpC,wLAAwL;IACxL,iBAAiB,CAAqB;IACtC,8IAA8I;IAC9I,aAAa,CAAgB;CAG9B;AAvCD,4BAuCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "4.30.0",
3
+ "version": "4.31.0-beta",
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",
package/spec.json CHANGED
@@ -1422,6 +1422,26 @@
1422
1422
  ],
1423
1423
  "type": "string"
1424
1424
  },
1425
+ "CpscDisclaim": {
1426
+ "type": "object",
1427
+ "properties": {
1428
+ "disclaim_code": {
1429
+ "$ref": "#/components/schemas/DisclaimCode"
1430
+ },
1431
+ "intended_use_code": {
1432
+ "type": "string",
1433
+ "description": "The intended use code for the product. Maximum length of 16 characters.",
1434
+ "nullable": true
1435
+ },
1436
+ "intended_use_description": {
1437
+ "type": "string",
1438
+ "description": "The intended use description for the product. Maximum length of 100 characters.",
1439
+ "nullable": true
1440
+ }
1441
+ },
1442
+ "additionalProperties": false,
1443
+ "description": "CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data.\r\nUsed when a product is exempt from CPSC certificate requirements."
1444
+ },
1425
1445
  "CpscCertificate": {
1426
1446
  "type": "object",
1427
1447
  "properties": {
@@ -2391,6 +2411,14 @@
2391
2411
  "additionalProperties": false,
2392
2412
  "description": "This model represents the measurements for dimensions."
2393
2413
  },
2414
+ "DisclaimCode": {
2415
+ "enum": [
2416
+ "A",
2417
+ "B"
2418
+ ],
2419
+ "type": "string",
2420
+ "description": "The CPSC disclaim code indicating the reason a product is exempt from CPSC certificate requirements."
2421
+ },
2394
2422
  "DisplayScheme": {
2395
2423
  "enum": [
2396
2424
  "label",
@@ -3987,6 +4015,9 @@
3987
4015
  },
3988
4016
  "description": "CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference\r\ndata for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set.",
3989
4017
  "nullable": true
4018
+ },
4019
+ "cpsc_disclaim": {
4020
+ "$ref": "#/components/schemas/CpscDisclaim"
3990
4021
  }
3991
4022
  },
3992
4023
  "additionalProperties": { },
@@ -4872,6 +4903,9 @@
4872
4903
  },
4873
4904
  "description": "CPSC (U.S. Consumer Product Safety Commission) Certificate of Compliance reference\r\ndata for U.S. CPSC eFiling. Supports the Reference (Abbreviated) PGA Message Set.",
4874
4905
  "nullable": true
4906
+ },
4907
+ "cpsc_disclaim": {
4908
+ "$ref": "#/components/schemas/CpscDisclaim"
4875
4909
  }
4876
4910
  },
4877
4911
  "additionalProperties": { },
@@ -0,0 +1,4 @@
1
+ export enum CpscDisclaimCode {
2
+ A = 'A',
3
+ B = 'B',
4
+ }
@@ -0,0 +1,10 @@
1
+ import Joi from 'joi';
2
+ import { CpscDisclaimCode } from './cpsc-disclaim-code';
3
+
4
+ export const CpscDisclaimSchema = Joi.object({
5
+ disclaim_code: Joi.string()
6
+ .valid(...Object.values(CpscDisclaimCode))
7
+ .optional(),
8
+ intended_use_code: Joi.string().max(16).optional(),
9
+ intended_use_description: Joi.string().max(100).optional(),
10
+ });
@@ -0,0 +1,11 @@
1
+ import { CpscDisclaimCode } from './cpsc-disclaim-code';
2
+
3
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
4
+ export class CpscDisclaim {
5
+ /** @description The disclaim code indicating the reason a product is exempt from CPSC regulation. */
6
+ disclaim_code?: CpscDisclaimCode;
7
+ /** @description A code identifying the intended use of the product. Maximum length of 16 characters. */
8
+ intended_use_code?: string;
9
+ /** @description A description of the intended use of the product. Maximum length of 100 characters. */
10
+ intended_use_description?: string;
11
+ }
@@ -7,6 +7,9 @@ export * from './billing';
7
7
  export * from './confirmation-types';
8
8
  export * from './cpsc-certificate';
9
9
  export * from './cpsc-certificate-schema';
10
+ export * from './cpsc-disclaim';
11
+ export * from './cpsc-disclaim-code';
12
+ export * from './cpsc-disclaim-schema';
10
13
  export * from './currency-schema';
11
14
  export * from './currency';
12
15
  export * from './customs';
@@ -3,6 +3,7 @@ import { CurrencySchema } from '@shipengine/connect-carrier-api';
3
3
  import { WeightDetailsSchema } from '../units/weight-details-schema';
4
4
  import { ManufacturerProductIdentifierType } from '../manufacturer-product-identifier-type';
5
5
  import { CpscCertificateSchema } from '../cpsc-certificate-schema';
6
+ import { CpscDisclaimSchema } from '../cpsc-disclaim-schema';
6
7
 
7
8
  export const ShippedProductsSchema = Joi.object({
8
9
  description: Joi.string().optional(),
@@ -23,4 +24,5 @@ export const ShippedProductsSchema = Joi.object({
23
24
  manufacturer_ns_product_id: Joi.string().optional(),
24
25
  dangerous_goods: Joi.object().optional(),
25
26
  cpsc_certificates: Joi.array().items(CpscCertificateSchema).optional(),
27
+ cpsc_disclaim: CpscDisclaimSchema.optional(),
26
28
  });
@@ -2,6 +2,7 @@ import { Currency, WeightDetails } from '@shipengine/connect-carrier-api';
2
2
  import { DangerousGoods } from '../dangerous-good/dangerous-goods';
3
3
  import { ManufacturerProductIdentifierType } from '../manufacturer-product-identifier-type';
4
4
  import { CpscCertificate } from '../cpsc-certificate';
5
+ import { CpscDisclaim } from '../cpsc-disclaim';
5
6
 
6
7
  /** @description Basic structure for a product from a shipped shipment*/
7
8
  export class ShippedProducts {
@@ -37,6 +38,8 @@ export class ShippedProducts {
37
38
  dangerous_goods?: DangerousGoods[];
38
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. */
39
40
  cpsc_certificates?: CpscCertificate[];
41
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
42
+ cpsc_disclaim?: CpscDisclaim;
40
43
  /** @description Additional details for product. */
41
44
  [key: string]: any;
42
45
  }
@@ -4,6 +4,7 @@ import { DangerousGoods } from './dangerous-good/dangerous-goods';
4
4
  import { UnitOfMeasureTypes } from './customs/unit-of-measure-types';
5
5
  import { ManufacturerProductIdentifierType } from './manufacturer-product-identifier-type';
6
6
  import { CpscCertificate } from './cpsc-certificate';
7
+ import { CpscDisclaim } from './cpsc-disclaim';
7
8
 
8
9
  /** @description Basic structure for a product */
9
10
  export class Products {
@@ -41,6 +42,8 @@ export class Products {
41
42
  manufacturer_ns_product_id?: string;
42
43
  /** @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. */
43
44
  cpsc_certificates?: CpscCertificate[];
45
+ /** @description CPSC (U.S. Consumer Product Safety Commission) eFiling Disclaim data for products that are not subject to CPSC regulation. */
46
+ cpsc_disclaim?: CpscDisclaim;
44
47
  /** @description Additional details for product. */
45
48
  [key: string]: any;
46
49
  }