@shipengine/connect-carrier-api 4.11.1 → 4.11.3

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.
@@ -12,6 +12,7 @@ export declare enum ServiceAttributesEnum {
12
12
  DeliveryWindow = "DeliveryWindow",
13
13
  PickupOnLabelCreation = "PickupOnLabelCreation",
14
14
  PaperlessLabel = "PaperlessLabel",
15
- InboundTrackingUpdates = "InboundTrackingUpdates"
15
+ InboundTrackingUpdates = "InboundTrackingUpdates",
16
+ NonZeroRating = "NonZeroRating"
16
17
  }
17
18
  export declare const ServiceAttributesEnumSchema: Joi.StringSchema;
@@ -18,6 +18,7 @@ var ServiceAttributesEnum;
18
18
  ServiceAttributesEnum["PickupOnLabelCreation"] = "PickupOnLabelCreation";
19
19
  ServiceAttributesEnum["PaperlessLabel"] = "PaperlessLabel";
20
20
  ServiceAttributesEnum["InboundTrackingUpdates"] = "InboundTrackingUpdates";
21
+ ServiceAttributesEnum["NonZeroRating"] = "NonZeroRating";
21
22
  })(ServiceAttributesEnum || (exports.ServiceAttributesEnum = ServiceAttributesEnum = {}));
22
23
  exports.ServiceAttributesEnumSchema = joi_1.default.string().valid(...Object.values(ServiceAttributesEnum));
23
24
  //# sourceMappingURL=services-attributes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"services-attributes.js","sourceRoot":"","sources":["../../../src/app/metadata/services-attributes.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,sDAA6B,CAAA;IAC7B,8CAAqB,CAAA;IACrB,oEAA2C,CAAA;IAC3C,8EAAqD,CAAA;IACrD,4DAAmC,CAAA;IACnC,8DAAqC,CAAA;IACrC,0DAAiC,CAAA;IACjC,oCAAW,CAAA;IACX,0DAAiC,CAAA;IACjC,wEAA+C,CAAA;IAC/C,0DAAiC,CAAA;IACjC,0EAAiD,CAAA;AACnD,CAAC,EAdW,qBAAqB,qCAArB,qBAAqB,QAchC;AAEY,QAAA,2BAA2B,GAAG,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAC3D,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CACxC,CAAC"}
1
+ {"version":3,"file":"services-attributes.js","sourceRoot":"","sources":["../../../src/app/metadata/services-attributes.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,IAAY,qBAeX;AAfD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,sDAA6B,CAAA;IAC7B,8CAAqB,CAAA;IACrB,oEAA2C,CAAA;IAC3C,8EAAqD,CAAA;IACrD,4DAAmC,CAAA;IACnC,8DAAqC,CAAA;IACrC,0DAAiC,CAAA;IACjC,oCAAW,CAAA;IACX,0DAAiC,CAAA;IACjC,wEAA+C,CAAA;IAC/C,0DAAiC,CAAA;IACjC,0EAAiD,CAAA;IACjD,wDAA+B,CAAA;AACjC,CAAC,EAfW,qBAAqB,qCAArB,qBAAqB,QAehC;AAEY,QAAA,2BAA2B,GAAG,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAC3D,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CACxC,CAAC"}
@@ -17,8 +17,5 @@ exports.CustomsItemSchema = joi_1.default.object({
17
17
  product_url: joi_1.default.string().optional(),
18
18
  vat_rate: joi_1.default.number().optional(),
19
19
  mid_code: joi_1.default.string().optional(),
20
- return_reason: joi_1.default.string().optional(),
21
- brand_name: joi_1.default.string().optional(),
22
- size: joi_1.default.string().optional(),
23
20
  });
24
21
  //# sourceMappingURL=customs-item-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customs-item-schema.js","sourceRoot":"","sources":["../../../src/models/customs/customs-item-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,wDAAoD;AACpD,0EAAqE;AAExD,QAAA,iBAAiB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC1C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,gCAAc,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,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC"}
1
+ {"version":3,"file":"customs-item-schema.js","sourceRoot":"","sources":["../../../src/models/customs/customs-item-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,wDAAoD;AACpD,0EAAqE;AAExD,QAAA,iBAAiB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC1C,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,KAAK,EAAE,gCAAc,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;CAClC,CAAC,CAAC"}
@@ -24,10 +24,4 @@ export declare class CustomsItem {
24
24
  vat_rate?: number;
25
25
  /** @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
26
  mid_code?: string;
27
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
28
- return_reason?: string;
29
- /** @description Name of the product brand. */
30
- brand_name?: string;
31
- /** @description Size of the product (used only for clothes and shoes etc.). */
32
- size?: string;
33
27
  }
@@ -25,12 +25,6 @@ class CustomsItem {
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 Relevant for return shipments only. Description of the reason why the product is being returned. */
29
- return_reason;
30
- /** @description Name of the product brand. */
31
- brand_name;
32
- /** @description Size of the product (used only for clothes and shoes etc.). */
33
- size;
34
28
  }
35
29
  exports.CustomsItem = CustomsItem;
36
30
  //# sourceMappingURL=customs-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customs-item.js","sourceRoot":"","sources":["../../../src/models/customs/customs-item.ts"],"names":[],"mappings":";;;AAGA,0FAA0F;AAC1F,MAAa,WAAW;IACtB,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,oHAAoH;IACpH,aAAa,CAAU;IACvB,8CAA8C;IAC9C,UAAU,CAAU;IACpB,+EAA+E;IAC/E,IAAI,CAAU;CACf;AA7BD,kCA6BC"}
1
+ {"version":3,"file":"customs-item.js","sourceRoot":"","sources":["../../../src/models/customs/customs-item.ts"],"names":[],"mappings":";;;AAGA,0FAA0F;AAC1F,MAAa,WAAW;IACtB,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;CACnB;AAvBD,kCAuBC"}
@@ -18,8 +18,5 @@ exports.ShippedProductsSchema = joi_1.default.object({
18
18
  vat_rate: joi_1.default.number().optional(),
19
19
  mid_code: joi_1.default.string().optional(),
20
20
  dangerous_goods: joi_1.default.object().optional(),
21
- return_reason: joi_1.default.string().optional(),
22
- brand_name: joi_1.default.string().optional(),
23
- size: joi_1.default.string().optional(),
24
21
  });
25
22
  //# 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;IACxC,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,UAAU,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,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;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"}
@@ -26,10 +26,4 @@ export declare class ShippedProducts {
26
26
  mid_code?: string;
27
27
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
28
28
  dangerous_goods?: DangerousGoods[];
29
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
30
- return_reason?: string;
31
- /** @description Name of the product brand. */
32
- brand_name?: string;
33
- /** @description Size of the product (used only for clothes and shoes etc.). */
34
- size?: string;
35
29
  }
@@ -27,12 +27,6 @@ class ShippedProducts {
27
27
  mid_code;
28
28
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
29
29
  dangerous_goods;
30
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
31
- return_reason;
32
- /** @description Name of the product brand. */
33
- brand_name;
34
- /** @description Size of the product (used only for clothes and shoes etc.). */
35
- size;
36
30
  }
37
31
  exports.ShippedProducts = ShippedProducts;
38
32
  //# 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;IACnC,oHAAoH;IACpH,aAAa,CAAU;IACvB,8CAA8C;IAC9C,UAAU,CAAU;IACpB,+EAA+E;IAC/E,IAAI,CAAU;CACf;AA/BD,0CA+BC"}
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;CACpC;AAzBD,0CAyBC"}
@@ -27,10 +27,4 @@ export declare class Products {
27
27
  mid_code?: string;
28
28
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
29
29
  dangerous_goods?: DangerousGoods[];
30
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
31
- return_reason?: string;
32
- /** @description Name of the product brand. */
33
- brand_name?: string;
34
- /** @description Size of the product (used only for clothes and shoes etc.). */
35
- size?: string;
36
30
  }
@@ -27,12 +27,6 @@ class Products {
27
27
  mid_code;
28
28
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
29
29
  dangerous_goods;
30
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
31
- return_reason;
32
- /** @description Name of the product brand. */
33
- brand_name;
34
- /** @description Size of the product (used only for clothes and shoes etc.). */
35
- size;
36
30
  }
37
31
  exports.Products = Products;
38
32
  //# sourceMappingURL=products.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/models/products.ts"],"names":[],"mappings":";;;AAIA,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,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,oHAAoH;IACpH,aAAa,CAAU;IACvB,8CAA8C;IAC9C,UAAU,CAAU;IACpB,+EAA+E;IAC/E,IAAI,CAAU;CACf;AA/BD,4BA+BC"}
1
+ {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/models/products.ts"],"names":[],"mappings":";;;AAIA,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,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;CACpC;AAzBD,4BAyBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "4.11.1",
3
+ "version": "4.11.3",
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",
@@ -44,7 +44,7 @@
44
44
  "tslib": "^2.6.2"
45
45
  },
46
46
  "peerDependencies": {
47
- "@shipengine/connect-runtime": "^4.6.3",
47
+ "@shipengine/connect-runtime": "^4.8.0",
48
48
  "express": "^4.18.2",
49
49
  "winston": "^3.8.2"
50
50
  }
package/spec.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Shipping API",
5
5
  "description": "This API specification describes the canonical ShipEngine Shipping API connector module.",
6
- "version": "1.24.1"
6
+ "version": "1.24.2"
7
7
  },
8
8
  "paths": {
9
9
  "/Register": {
@@ -3310,21 +3310,6 @@
3310
3310
  },
3311
3311
  "description": "List of dangerous Goods model associated with this package passed to the carrier.",
3312
3312
  "nullable": true
3313
- },
3314
- "return_reason": {
3315
- "type": "string",
3316
- "description": "Relevant for return shipments only. Description of the reason why the product is being returned.",
3317
- "nullable": true
3318
- },
3319
- "brand": {
3320
- "type": "string",
3321
- "description": "Name of the product brand.",
3322
- "nullable": true
3323
- },
3324
- "size": {
3325
- "type": "string",
3326
- "description": "Size of the product (used only for clothes and shoes etc.).",
3327
- "nullable": true
3328
3313
  }
3329
3314
  },
3330
3315
  "additionalProperties": false,
@@ -4137,21 +4122,6 @@
4137
4122
  },
4138
4123
  "description": "List of dangerous Goods model associated with this package passed to the carrier.",
4139
4124
  "nullable": true
4140
- },
4141
- "return_reason": {
4142
- "type": "string",
4143
- "description": "Relevant for return shipments only. Description of the reason why the product is being returned.",
4144
- "nullable": true
4145
- },
4146
- "brand": {
4147
- "type": "string",
4148
- "description": "Name of the product brand.",
4149
- "nullable": true
4150
- },
4151
- "size": {
4152
- "type": "string",
4153
- "description": "Size of the product (used only for clothes and shoes etc.).",
4154
- "nullable": true
4155
4125
  }
4156
4126
  },
4157
4127
  "additionalProperties": false,
@@ -14,6 +14,7 @@ export enum ServiceAttributesEnum {
14
14
  PickupOnLabelCreation = 'PickupOnLabelCreation',
15
15
  PaperlessLabel = 'PaperlessLabel',
16
16
  InboundTrackingUpdates = 'InboundTrackingUpdates',
17
+ NonZeroRating = 'NonZeroRating',
17
18
  }
18
19
 
19
20
  export const ServiceAttributesEnumSchema = Joi.string().valid(
@@ -14,7 +14,4 @@ export const CustomsItemSchema = Joi.object({
14
14
  product_url: Joi.string().optional(),
15
15
  vat_rate: Joi.number().optional(),
16
16
  mid_code: Joi.string().optional(),
17
- return_reason: Joi.string().optional(),
18
- brand_name: Joi.string().optional(),
19
- size: Joi.string().optional(),
20
17
  });
@@ -25,10 +25,4 @@ export class CustomsItem {
25
25
  vat_rate?: number;
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?: string;
28
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
29
- return_reason?: string;
30
- /** @description Name of the product brand. */
31
- brand_name?: string;
32
- /** @description Size of the product (used only for clothes and shoes etc.). */
33
- size?: string;
34
28
  }
@@ -15,7 +15,4 @@ export const ShippedProductsSchema = Joi.object({
15
15
  vat_rate: Joi.number().optional(),
16
16
  mid_code: Joi.string().optional(),
17
17
  dangerous_goods: Joi.object().optional(),
18
- return_reason: Joi.string().optional(),
19
- brand_name: Joi.string().optional(),
20
- size: Joi.string().optional(),
21
18
  });
@@ -27,10 +27,4 @@ export class ShippedProducts {
27
27
  mid_code?: string;
28
28
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
29
29
  dangerous_goods?: DangerousGoods[];
30
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
31
- return_reason?: string;
32
- /** @description Name of the product brand. */
33
- brand_name?: string;
34
- /** @description Size of the product (used only for clothes and shoes etc.). */
35
- size?: string;
36
30
  }
@@ -28,10 +28,4 @@ export class Products {
28
28
  mid_code?: string;
29
29
  /** @description List of dangerous goods model associated with this package passed to the carrier. */
30
30
  dangerous_goods?: DangerousGoods[];
31
- /** @description Relevant for return shipments only. Description of the reason why the product is being returned. */
32
- return_reason?: string;
33
- /** @description Name of the product brand. */
34
- brand_name?: string;
35
- /** @description Size of the product (used only for clothes and shoes etc.). */
36
- size?: string;
37
31
  }