@shipengine/connect-carrier-api 4.0.1 → 4.1.1

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 (215) hide show
  1. package/lib/app/build-app-deployment.js +3 -3
  2. package/lib/app/build-app-deployment.js.map +1 -1
  3. package/lib/app/carrier-app-definition.d.ts +1 -0
  4. package/lib/app/metadata/auth-identifier.js +3 -0
  5. package/lib/app/metadata/auth-identifier.js.map +1 -1
  6. package/lib/app/metadata/auth-specification.js +12 -0
  7. package/lib/app/metadata/auth-specification.js.map +1 -1
  8. package/lib/app/metadata/monoauth.js +68 -0
  9. package/lib/app/metadata/monoauth.js.map +1 -1
  10. package/lib/app/native-rating-data-validator.js +3 -4
  11. package/lib/app/native-rating-data-validator.js.map +1 -1
  12. package/lib/models/addresses/address-base.js +30 -0
  13. package/lib/models/addresses/address-base.js.map +1 -1
  14. package/lib/models/addresses/pudo-location.js +4 -0
  15. package/lib/models/addresses/pudo-location.js.map +1 -1
  16. package/lib/models/addresses/service-point-address.js +2 -0
  17. package/lib/models/addresses/service-point-address.js.map +1 -1
  18. package/lib/models/addresses/ship-from.js +2 -0
  19. package/lib/models/addresses/ship-from.js.map +1 -1
  20. package/lib/models/addresses/ship-to.js +2 -0
  21. package/lib/models/addresses/ship-to.js.map +1 -1
  22. package/lib/models/advanced-options.js +16 -0
  23. package/lib/models/advanced-options.js.map +1 -1
  24. package/lib/models/authorization.js +4 -0
  25. package/lib/models/authorization.js.map +1 -1
  26. package/lib/models/bill-to.js +4 -0
  27. package/lib/models/bill-to.js.map +1 -1
  28. package/lib/models/billing/billing-line-item.js +12 -0
  29. package/lib/models/billing/billing-line-item.js.map +1 -1
  30. package/lib/models/collect-on-delivery.js +4 -0
  31. package/lib/models/collect-on-delivery.js.map +1 -1
  32. package/lib/models/currency.js +4 -0
  33. package/lib/models/currency.js.map +1 -1
  34. package/lib/models/customs/customs-charges.js +10 -0
  35. package/lib/models/customs/customs-charges.js.map +1 -1
  36. package/lib/models/customs/customs-item.js +22 -0
  37. package/lib/models/customs/customs-item.js.map +1 -1
  38. package/lib/models/customs/customs.js +20 -0
  39. package/lib/models/customs/customs.js.map +1 -1
  40. package/lib/models/documents/document.js +6 -0
  41. package/lib/models/documents/document.js.map +1 -1
  42. package/lib/models/errors/detailed-error.js +5 -0
  43. package/lib/models/errors/detailed-error.js.map +1 -1
  44. package/lib/models/fulfillment-plans/fulfillment-plan-details.js +6 -0
  45. package/lib/models/fulfillment-plans/fulfillment-plan-details.js.map +1 -1
  46. package/lib/models/fulfillment-plans/fulfillment-plan-items.js +8 -0
  47. package/lib/models/fulfillment-plans/fulfillment-plan-items.js.map +1 -1
  48. package/lib/models/fulfillment-plans/raw-external-source.js +2 -0
  49. package/lib/models/fulfillment-plans/raw-external-source.js.map +1 -1
  50. package/lib/models/identifier.js +2 -0
  51. package/lib/models/identifier.js.map +1 -1
  52. package/lib/models/importer-records/importer-of-record.d.ts +1 -1
  53. package/lib/models/importer-records/importer-of-record.js +22 -0
  54. package/lib/models/importer-records/importer-of-record.js.map +1 -1
  55. package/lib/models/labels/form-download.js +2 -0
  56. package/lib/models/labels/form-download.js.map +1 -1
  57. package/lib/models/labels/label-download.js +2 -0
  58. package/lib/models/labels/label-download.js.map +1 -1
  59. package/lib/models/labels/label-message.js +3 -0
  60. package/lib/models/labels/label-message.js.map +1 -1
  61. package/lib/models/labels/label-package.js +6 -0
  62. package/lib/models/labels/label-package.js.map +1 -1
  63. package/lib/models/labels/return-label-details.js +2 -0
  64. package/lib/models/labels/return-label-details.js.map +1 -1
  65. package/lib/models/labels/void-request.js +4 -0
  66. package/lib/models/labels/void-request.js.map +1 -1
  67. package/lib/models/labels/void-response.js +8 -0
  68. package/lib/models/labels/void-response.js.map +1 -1
  69. package/lib/models/manifests/label.js +4 -0
  70. package/lib/models/manifests/label.js.map +1 -1
  71. package/lib/models/manifests/manifest-request-shipment.js +1 -0
  72. package/lib/models/manifests/manifest-request-shipment.js.map +1 -1
  73. package/lib/models/manifests/manifest.js +9 -0
  74. package/lib/models/manifests/manifest.js.map +1 -1
  75. package/lib/models/package.js +14 -0
  76. package/lib/models/package.js.map +1 -1
  77. package/lib/models/pickup/cancellation-details.js +6 -0
  78. package/lib/models/pickup/cancellation-details.js.map +1 -1
  79. package/lib/models/pickup/pickup-confirmation.js +6 -0
  80. package/lib/models/pickup/pickup-confirmation.js.map +1 -1
  81. package/lib/models/pickup/pickup-contact-details.js +10 -0
  82. package/lib/models/pickup/pickup-contact-details.js.map +1 -1
  83. package/lib/models/pickup/pickup-location-details.js +6 -0
  84. package/lib/models/pickup/pickup-location-details.js.map +1 -1
  85. package/lib/models/pickup/pickup-package.js +14 -0
  86. package/lib/models/pickup/pickup-package.js.map +1 -1
  87. package/lib/models/pickup/pickup-shipment-details.js +4 -0
  88. package/lib/models/pickup/pickup-shipment-details.js.map +1 -1
  89. package/lib/models/pickup/pickup-window.js +8 -0
  90. package/lib/models/pickup/pickup-window.js.map +1 -1
  91. package/lib/models/pickup/shipment-identifier.js +4 -0
  92. package/lib/models/pickup/shipment-identifier.js.map +1 -1
  93. package/lib/models/pickup/shipped-package.js +20 -0
  94. package/lib/models/pickup/shipped-package.js.map +1 -1
  95. package/lib/models/pickup/shipped-shipment.d.ts +0 -2
  96. package/lib/models/pickup/shipped-shipment.js +12 -0
  97. package/lib/models/pickup/shipped-shipment.js.map +1 -1
  98. package/lib/models/rates/rate.js +26 -0
  99. package/lib/models/rates/rate.js.map +1 -1
  100. package/lib/models/registration/credentials.js +4 -0
  101. package/lib/models/registration/credentials.js.map +1 -1
  102. package/lib/models/relay-points/opening-times.js +7 -0
  103. package/lib/models/relay-points/opening-times.js.map +1 -1
  104. package/lib/models/relay-points/relay-point-address.js +7 -0
  105. package/lib/models/relay-points/relay-point-address.js.map +1 -1
  106. package/lib/models/relay-points/relay-point-details.js +2 -0
  107. package/lib/models/relay-points/relay-point-details.js.map +1 -1
  108. package/lib/models/relay-points/relay-point.js +4 -0
  109. package/lib/models/relay-points/relay-point.js.map +1 -1
  110. package/lib/models/resource-download.js +4 -0
  111. package/lib/models/resource-download.js.map +1 -1
  112. package/lib/models/service-points/hours-of-operation.js +4 -0
  113. package/lib/models/service-points/hours-of-operation.js.map +1 -1
  114. package/lib/models/service-points/search-radius.js +8 -0
  115. package/lib/models/service-points/search-radius.js.map +1 -1
  116. package/lib/models/service-points/service-point-response-address.js +2 -0
  117. package/lib/models/service-points/service-point-response-address.js.map +1 -1
  118. package/lib/models/service-points/service-point.js +10 -0
  119. package/lib/models/service-points/service-point.js.map +1 -1
  120. package/lib/models/service-points/weekly-hours-of-operation.js +7 -0
  121. package/lib/models/service-points/weekly-hours-of-operation.js.map +1 -1
  122. package/lib/models/taxes/tax-identifier.js +10 -0
  123. package/lib/models/taxes/tax-identifier.js.map +1 -1
  124. package/lib/models/time-window.js +14 -0
  125. package/lib/models/time-window.js.map +1 -1
  126. package/lib/models/tracking/imported-tracking-event.js +12 -0
  127. package/lib/models/tracking/imported-tracking-event.js.map +1 -1
  128. package/lib/models/tracking/lat-long.js +4 -0
  129. package/lib/models/tracking/lat-long.js.map +1 -1
  130. package/lib/models/tracking/service.js +4 -0
  131. package/lib/models/tracking/service.js.map +1 -1
  132. package/lib/models/tracking/track-event.js +24 -0
  133. package/lib/models/tracking/track-event.js.map +1 -1
  134. package/lib/models/tracking/tracking-attribute.js +2 -0
  135. package/lib/models/tracking/tracking-attribute.js.map +1 -1
  136. package/lib/models/tracking/tracking-identifier.js +2 -0
  137. package/lib/models/tracking/tracking-identifier.js.map +1 -1
  138. package/lib/models/tracking/tracking-info.js +36 -0
  139. package/lib/models/tracking/tracking-info.js.map +1 -1
  140. package/lib/models/units/dimension-details.js +8 -0
  141. package/lib/models/units/dimension-details.js.map +1 -1
  142. package/lib/models/units/dimensions.js +3 -0
  143. package/lib/models/units/dimensions.js.map +1 -1
  144. package/lib/models/units/weight-details.js +8 -0
  145. package/lib/models/units/weight-details.js.map +1 -1
  146. package/lib/requests/base-request.js +3 -0
  147. package/lib/requests/base-request.js.map +1 -1
  148. package/lib/requests/cancel-notification-request.js +4 -0
  149. package/lib/requests/cancel-notification-request.js.map +1 -1
  150. package/lib/requests/cancel-pickup-request.js +7 -0
  151. package/lib/requests/cancel-pickup-request.js.map +1 -1
  152. package/lib/requests/create-label-request.js +35 -0
  153. package/lib/requests/create-label-request.js.map +1 -1
  154. package/lib/requests/create-manifest-request.js +6 -0
  155. package/lib/requests/create-manifest-request.js.map +1 -1
  156. package/lib/requests/create-notification-request.js +6 -0
  157. package/lib/requests/create-notification-request.js.map +1 -1
  158. package/lib/requests/get-manifest-request.js +10 -0
  159. package/lib/requests/get-manifest-request.js.map +1 -1
  160. package/lib/requests/get-rates-request.js +20 -0
  161. package/lib/requests/get-rates-request.js.map +1 -1
  162. package/lib/requests/get-relay-points-request.js +4 -0
  163. package/lib/requests/get-relay-points-request.js.map +1 -1
  164. package/lib/requests/get-service-point-request.js +4 -0
  165. package/lib/requests/get-service-point-request.js.map +1 -1
  166. package/lib/requests/get-service-points-request.js +8 -0
  167. package/lib/requests/get-service-points-request.js.map +1 -1
  168. package/lib/requests/register-request.js +1 -0
  169. package/lib/requests/register-request.js.map +1 -1
  170. package/lib/requests/schedule-pickup-request.js +4 -0
  171. package/lib/requests/schedule-pickup-request.js.map +1 -1
  172. package/lib/requests/tracking-request.js +4 -0
  173. package/lib/requests/tracking-request.js.map +1 -1
  174. package/lib/requests/void-labels-request.js +2 -0
  175. package/lib/requests/void-labels-request.js.map +1 -1
  176. package/lib/responses/base-response.js +1 -0
  177. package/lib/responses/base-response.js.map +1 -1
  178. package/lib/responses/cancel-notification-response.js +4 -0
  179. package/lib/responses/cancel-notification-response.js.map +1 -1
  180. package/lib/responses/cancel-pickup-response.js +4 -0
  181. package/lib/responses/cancel-pickup-response.js.map +1 -1
  182. package/lib/responses/create-label-response.js +17 -0
  183. package/lib/responses/create-label-response.js.map +1 -1
  184. package/lib/responses/create-manifest-response.js +8 -0
  185. package/lib/responses/create-manifest-response.js.map +1 -1
  186. package/lib/responses/create-notification-response.js +3 -0
  187. package/lib/responses/create-notification-response.js.map +1 -1
  188. package/lib/responses/error-response.js +1 -0
  189. package/lib/responses/error-response.js.map +1 -1
  190. package/lib/responses/get-rates-response.js +1 -0
  191. package/lib/responses/get-rates-response.js.map +1 -1
  192. package/lib/responses/get-relay-points-response.js +1 -0
  193. package/lib/responses/get-relay-points-response.js.map +1 -1
  194. package/lib/responses/get-service-point-response.js +2 -0
  195. package/lib/responses/get-service-point-response.js.map +1 -1
  196. package/lib/responses/get-service-points-response.js +2 -0
  197. package/lib/responses/get-service-points-response.js.map +1 -1
  198. package/lib/responses/normalize-tracking-data-response.js +7 -0
  199. package/lib/responses/normalize-tracking-data-response.js.map +1 -1
  200. package/lib/responses/register-response.js +2 -0
  201. package/lib/responses/register-response.js.map +1 -1
  202. package/lib/responses/schedule-pickup-response.js +5 -0
  203. package/lib/responses/schedule-pickup-response.js.map +1 -1
  204. package/lib/responses/tracking-response.js +1 -0
  205. package/lib/responses/tracking-response.js.map +1 -1
  206. package/lib/responses/validate-inbound-data-response.js +2 -0
  207. package/lib/responses/validate-inbound-data-response.js.map +1 -1
  208. package/lib/responses/void-labels-response.js +2 -0
  209. package/lib/responses/void-labels-response.js.map +1 -1
  210. package/package.json +4 -3
  211. package/spec.json +233 -116
  212. package/src/app/carrier-app-definition.ts +1 -0
  213. package/src/models/importer-records/importer-of-record.ts +1 -1
  214. package/src/models/pickup/shipped-shipment.ts +0 -2
  215. package/tsconfig.tsbuildinfo +1 -1
@@ -3,6 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DetailedError = void 0;
4
4
  /** @deprecated Please Use Runtime Errors */
5
5
  class DetailedError {
6
+ standardized_error_code;
7
+ external_error_code;
8
+ message;
9
+ external_http_status_code;
10
+ raw_external_context;
6
11
  }
7
12
  exports.DetailedError = DetailedError;
8
13
  //# sourceMappingURL=detailed-error.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"detailed-error.js","sourceRoot":"","sources":["../../../src/models/errors/detailed-error.ts"],"names":[],"mappings":";;;AAEA,4CAA4C;AAC5C,MAAa,aAAa;CAMzB;AAND,sCAMC"}
1
+ {"version":3,"file":"detailed-error.js","sourceRoot":"","sources":["../../../src/models/errors/detailed-error.ts"],"names":[],"mappings":";;;AAEA,4CAA4C;AAC5C,MAAa,aAAa;IACxB,uBAAuB,CAAyB;IAChD,mBAAmB,CAAU;IAC7B,OAAO,CAAU;IACjB,yBAAyB,CAAU;IACnC,oBAAoB,CAAU;CAC/B;AAND,sCAMC"}
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FulfillmentPlanDetails = void 0;
4
4
  /** @description This model contains information about the fulfillment plan. */
5
5
  class FulfillmentPlanDetails {
6
+ /** @description A list of identifiers for the sales order. */
7
+ external_sales_order_identifiers;
8
+ /** @description Information about the fulfillment plan item. */
9
+ items;
10
+ /** @description This model represents a raw external source of information */
11
+ raw_external_source;
6
12
  }
7
13
  exports.FulfillmentPlanDetails = FulfillmentPlanDetails;
8
14
  //# sourceMappingURL=fulfillment-plan-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-plan-details.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-details.ts"],"names":[],"mappings":";;;AAIA,+EAA+E;AAC/E,MAAa,sBAAsB;CAOlC;AAPD,wDAOC"}
1
+ {"version":3,"file":"fulfillment-plan-details.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-details.ts"],"names":[],"mappings":";;;AAIA,+EAA+E;AAC/E,MAAa,sBAAsB;IACjC,8DAA8D;IAC9D,gCAAgC,CAAgB;IAChD,gEAAgE;IAChE,KAAK,CAA0B;IAC/B,8EAA8E;IAC9E,mBAAmB,CAAqB;CACzC;AAPD,wDAOC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FulfillmentPlanItems = void 0;
4
4
  /** @description Information about the fulfillment plan for a set of items */
5
5
  class FulfillmentPlanItems {
6
+ /** @description A list of identifiers for the sales order */
7
+ external_sales_order_identifiers;
8
+ /** @description A list of identifiers specific to the selling channel */
9
+ external_product_identifiers;
10
+ /** @description The name of the item */
11
+ name;
12
+ /** @description The number of items */
13
+ quantity;
6
14
  }
7
15
  exports.FulfillmentPlanItems = FulfillmentPlanItems;
8
16
  //# sourceMappingURL=fulfillment-plan-items.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fulfillment-plan-items.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-items.ts"],"names":[],"mappings":";;;AAEA,6EAA6E;AAC7E,MAAa,oBAAoB;CAShC;AATD,oDASC"}
1
+ {"version":3,"file":"fulfillment-plan-items.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-items.ts"],"names":[],"mappings":";;;AAEA,6EAA6E;AAC7E,MAAa,oBAAoB;IAC/B,6DAA6D;IAC7D,gCAAgC,CAAgB;IAChD,yEAAyE;IACzE,4BAA4B,CAAgB;IAC5C,wCAAwC;IACxC,IAAI,CAAU;IACd,uCAAuC;IACvC,QAAQ,CAAU;CACnB;AATD,oDASC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RawExternalSource = void 0;
4
4
  /** @description This model represents a raw external source of information. */
5
5
  class RawExternalSource {
6
+ /** @description Canonical representation of the fulfillment plan's and/or sales order's original source */
7
+ marketplace_code;
6
8
  }
7
9
  exports.RawExternalSource = RawExternalSource;
8
10
  //# sourceMappingURL=raw-external-source.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"raw-external-source.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/raw-external-source.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,MAAa,iBAAiB;CAG7B;AAHD,8CAGC"}
1
+ {"version":3,"file":"raw-external-source.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/raw-external-source.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,MAAa,iBAAiB;IAC5B,2GAA2G;IAC3G,gBAAgB,CAAU;CAC3B;AAHD,8CAGC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Identifier = void 0;
4
4
  /** @description Key value pair to allow custom properties */
5
5
  class Identifier {
6
+ type;
7
+ value;
6
8
  }
7
9
  exports.Identifier = Identifier;
8
10
  //# sourceMappingURL=identifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"identifier.js","sourceRoot":"","sources":["../../src/models/identifier.ts"],"names":[],"mappings":";;;AAAA,6DAA6D;AAC7D,MAAa,UAAU;CAGtB;AAHD,gCAGC"}
1
+ {"version":3,"file":"identifier.js","sourceRoot":"","sources":["../../src/models/identifier.ts"],"names":[],"mappings":";;;AAAA,6DAA6D;AAC7D,MAAa,UAAU;IACrB,IAAI,CAAU;IACd,KAAK,CAAU;CAChB;AAHD,gCAGC"}
@@ -8,7 +8,7 @@ export declare class ImporterOfRecord {
8
8
  /** @description Indicates Company Name of the owner or purchaser of the products being imported into a destination country*/
9
9
  company_name?: string;
10
10
  /** @description Indicates address line one of the owner or purchaser of the products being imported into a destination country*/
11
- address_line1: string;
11
+ address_line1?: string;
12
12
  /** @description Indicates address of the owner or purchaser of the products being imported into a destination country*/
13
13
  address_line2?: string;
14
14
  /** @description Indicates City or Locality of the owner or purchaser of the products being imported into a destination country */
@@ -3,6 +3,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ImporterOfRecord = void 0;
4
4
  /** @description Basic structure for a Importer Records */
5
5
  class ImporterOfRecord {
6
+ /** @description Tax Ids associated with the party responsible for ensuring that imported goods comply with all customs and legal requirements of the country of import (importer of record) */
7
+ tax_identifiers;
8
+ /** @description Indicates Name of the owner or purchaser of the products being imported into a destination country */
9
+ name;
10
+ /** @description Indicates Company Name of the owner or purchaser of the products being imported into a destination country*/
11
+ company_name;
12
+ /** @description Indicates address line one of the owner or purchaser of the products being imported into a destination country*/
13
+ address_line1;
14
+ /** @description Indicates address of the owner or purchaser of the products being imported into a destination country*/
15
+ address_line2;
16
+ /** @description Indicates City or Locality of the owner or purchaser of the products being imported into a destination country */
17
+ city_locality;
18
+ /** @description Indicates statate or providence of the owner or purchaser of the products being imported into a destination country */
19
+ state_province;
20
+ /** @description : Indicates postal code of the owner or purchaser of the products being imported into a destination country*/
21
+ postal_code;
22
+ /** @description : Indicates country code of the owner or purchaser of the products being imported into a destination country*/
23
+ country_code;
24
+ /** @description : Indicates phone number of the owner or purchaser of the products being imported into a destination country*/
25
+ phone;
26
+ /** @description : Email associated with the party responsible for ensuring that imported goods comply with all customs and legal requirements of the country of import (importer of record)*/
27
+ email;
6
28
  }
7
29
  exports.ImporterOfRecord = ImporterOfRecord;
8
30
  //# sourceMappingURL=importer-of-record.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"importer-of-record.js","sourceRoot":"","sources":["../../../src/models/importer-records/importer-of-record.ts"],"names":[],"mappings":";;;AAEA,0DAA0D;AAC1D,MAAa,gBAAgB;CAuB5B;AAvBD,4CAuBC"}
1
+ {"version":3,"file":"importer-of-record.js","sourceRoot":"","sources":["../../../src/models/importer-records/importer-of-record.ts"],"names":[],"mappings":";;;AAEA,0DAA0D;AAC1D,MAAa,gBAAgB;IAC3B,+LAA+L;IAC/L,eAAe,CAAmB;IAClC,sHAAsH;IACtH,IAAI,CAAU;IACd,6HAA6H;IAC7H,YAAY,CAAU;IACtB,iIAAiI;IACjI,aAAa,CAAU;IACvB,yHAAyH;IACzH,aAAa,CAAU;IACvB,oIAAoI;IACpI,aAAa,CAAU;IACvB,wIAAwI;IACxI,cAAc,CAAU;IACxB,8HAA8H;IAC9H,WAAW,CAAU;IACrB,+HAA+H;IAC/H,YAAY,CAAU;IACtB,+HAA+H;IAC/H,KAAK,CAAU;IACf,8LAA8L;IAC9L,KAAK,CAAU;CAChB;AAvBD,4CAuBC"}
@@ -4,6 +4,8 @@ exports.FormDownload = void 0;
4
4
  const resource_download_1 = require("../resource-download");
5
5
  /** @description This provides any additional forms that go with the label. For example, customs forms. Exactly one of the keys should be populated. Set href is the forms should be downloaded separately. Set data if the forms are returned directly in the response. */
6
6
  class FormDownload extends resource_download_1.ResourceDownload {
7
+ /** @description The base64 encoded resource data. */
8
+ form_data;
7
9
  }
8
10
  exports.FormDownload = FormDownload;
9
11
  //# sourceMappingURL=form-download.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-download.js","sourceRoot":"","sources":["../../../src/models/labels/form-download.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,2QAA2Q;AAC3Q,MAAa,YAAa,SAAQ,oCAAgB;CAGjD;AAHD,oCAGC"}
1
+ {"version":3,"file":"form-download.js","sourceRoot":"","sources":["../../../src/models/labels/form-download.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,2QAA2Q;AAC3Q,MAAa,YAAa,SAAQ,oCAAgB;IAChD,qDAAqD;IACrD,SAAS,CAAU;CACpB;AAHD,oCAGC"}
@@ -4,6 +4,8 @@ exports.LabelDownload = void 0;
4
4
  const resource_download_1 = require("../resource-download");
5
5
  /** @description This object provides the requested label that was just created. Exactly one of the keys should be populated. Set href if the label should be downloaded separately. Set data if the label is returned directly in the response. */
6
6
  class LabelDownload extends resource_download_1.ResourceDownload {
7
+ /** @description The base64 encoded resource data. */
8
+ label_data;
7
9
  }
8
10
  exports.LabelDownload = LabelDownload;
9
11
  //# sourceMappingURL=label-download.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label-download.js","sourceRoot":"","sources":["../../../src/models/labels/label-download.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,mPAAmP;AACnP,MAAa,aAAc,SAAQ,oCAAgB;CAGlD;AAHD,sCAGC"}
1
+ {"version":3,"file":"label-download.js","sourceRoot":"","sources":["../../../src/models/labels/label-download.ts"],"names":[],"mappings":";;;AAAA,4DAAwD;AAExD,mPAAmP;AACnP,MAAa,aAAc,SAAQ,oCAAgB;IACjD,qDAAqD;IACrD,UAAU,CAAU;CACrB;AAHD,sCAGC"}
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LabelMessage = void 0;
4
4
  /** @description References or messages that appear on a label */
5
5
  class LabelMessage {
6
+ reference1;
7
+ reference2;
8
+ reference3;
6
9
  }
7
10
  exports.LabelMessage = LabelMessage;
8
11
  //# sourceMappingURL=label-message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label-message.js","sourceRoot":"","sources":["../../../src/models/labels/label-message.ts"],"names":[],"mappings":";;;AAAA,iEAAiE;AACjE,MAAa,YAAY;CAIxB;AAJD,oCAIC"}
1
+ {"version":3,"file":"label-message.js","sourceRoot":"","sources":["../../../src/models/labels/label-message.ts"],"names":[],"mappings":";;;AAAA,iEAAiE;AACjE,MAAa,YAAY;IACvB,UAAU,CAAU;IACpB,UAAU,CAAU;IACpB,UAAU,CAAU;CACrB;AAJD,oCAIC"}
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LabelPackage = void 0;
4
4
  /** @description Package information provided by the carrier */
5
5
  class LabelPackage {
6
+ /** @description Tracking number for the package */
7
+ tracking_number;
8
+ /** @description Non-tracking alternative ids associated with this package */
9
+ alternative_identifiers;
10
+ /** @description Documents associated with this package, if documents are not specified at a package level, use the Documents array at the CreateLabelResponse level. */
11
+ documents;
6
12
  }
7
13
  exports.LabelPackage = LabelPackage;
8
14
  //# sourceMappingURL=label-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label-package.js","sourceRoot":"","sources":["../../../src/models/labels/label-package.ts"],"names":[],"mappings":";;;AAGA,+DAA+D;AAC/D,MAAa,YAAY;CAOxB;AAPD,oCAOC"}
1
+ {"version":3,"file":"label-package.js","sourceRoot":"","sources":["../../../src/models/labels/label-package.ts"],"names":[],"mappings":";;;AAGA,+DAA+D;AAC/D,MAAa,YAAY;IACvB,mDAAmD;IACnD,eAAe,CAAU;IACzB,6EAA6E;IAC7E,uBAAuB,CAAgB;IACvC,wKAAwK;IACxK,SAAS,CAAc;CACxB;AAPD,oCAOC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReturnLabelDetails = void 0;
4
4
  /** @description Basic structure for a return label */
5
5
  class ReturnLabelDetails {
6
+ /** @description A return merchandise authorization (RMA) is an associated number assigned to process the return, this number is often printed on the label, and used when the original shipper processes the inbound return. */
7
+ rma_number;
6
8
  }
7
9
  exports.ReturnLabelDetails = ReturnLabelDetails;
8
10
  //# sourceMappingURL=return-label-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"return-label-details.js","sourceRoot":"","sources":["../../../src/models/labels/return-label-details.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
1
+ {"version":3,"file":"return-label-details.js","sourceRoot":"","sources":["../../../src/models/labels/return-label-details.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,MAAa,kBAAkB;IAC7B,gOAAgO;IAChO,UAAU,CAAU;CACrB;AAHD,gDAGC"}
@@ -4,6 +4,10 @@ exports.VoidRequest = void 0;
4
4
  const shipped_shipment_1 = require("../pickup/shipped-shipment");
5
5
  /** @description Basic structure for a request to void a label */
6
6
  class VoidRequest extends shipped_shipment_1.ShippedShipment {
7
+ /** @description Uniquely identifies this request to void a label. Must be returned in a void response. */
8
+ void_request_id;
9
+ /** @description The location the shipment was shipped from */
10
+ ship_from;
7
11
  }
8
12
  exports.VoidRequest = VoidRequest;
9
13
  //# sourceMappingURL=void-request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"void-request.js","sourceRoot":"","sources":["../../../src/models/labels/void-request.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D,iEAAiE;AACjE,MAAa,WAAY,SAAQ,kCAAe;CAK/C;AALD,kCAKC"}
1
+ {"version":3,"file":"void-request.js","sourceRoot":"","sources":["../../../src/models/labels/void-request.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D,iEAAiE;AACjE,MAAa,WAAY,SAAQ,kCAAe;IAC9C,0GAA0G;IAC1G,eAAe,CAAU;IACzB,8DAA8D;IAC9D,SAAS,CAAY;CACtB;AALD,kCAKC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VoidResponse = void 0;
4
4
  /** @description Basic structure for a response to void a label */
5
5
  class VoidResponse {
6
+ /** @description Id for the void response */
7
+ void_request_id;
8
+ /** @description Void message, if applicable */
9
+ message;
10
+ /** @description Any errors from attempting to void */
11
+ errors;
12
+ /** @description Individual Billing Line items which remain after voiding the label, e.g. a cancellation fee */
13
+ billing_line_items;
6
14
  }
7
15
  exports.VoidResponse = VoidResponse;
8
16
  //# sourceMappingURL=void-response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"void-response.js","sourceRoot":"","sources":["../../../src/models/labels/void-response.ts"],"names":[],"mappings":";;;AAEA,kEAAkE;AAClE,MAAa,YAAY;CASxB;AATD,oCASC"}
1
+ {"version":3,"file":"void-response.js","sourceRoot":"","sources":["../../../src/models/labels/void-response.ts"],"names":[],"mappings":";;;AAEA,kEAAkE;AAClE,MAAa,YAAY;IACvB,4CAA4C;IAC5C,eAAe,CAAU;IACzB,+CAA+C;IAC/C,OAAO,CAAU;IACjB,sDAAsD;IACtD,MAAM,CAAY;IAClB,+GAA+G;IAC/G,kBAAkB,CAAqB;CACxC;AATD,oCASC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Label = void 0;
4
4
  /** @description Basic structure of a manifest label */
5
5
  class Label {
6
+ /** @description The carrier tracking number for this shipment */
7
+ tracking_number;
8
+ /** @description The carrier specific identifier for this shipment */
9
+ carrier_transaction_id;
6
10
  }
7
11
  exports.Label = Label;
8
12
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/models/manifests/label.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,MAAa,KAAK;CAKjB;AALD,sBAKC"}
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/models/manifests/label.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,MAAa,KAAK;IAChB,iEAAiE;IACjE,eAAe,CAAU;IACzB,qEAAqE;IACrE,sBAAsB,CAAU;CACjC;AALD,sBAKC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ManifestRequestShipment = void 0;
4
4
  const shipped_shipment_1 = require("../pickup/shipped-shipment");
5
5
  class ManifestRequestShipment extends shipped_shipment_1.ShippedShipment {
6
+ manifest_request_shipment_id;
6
7
  }
7
8
  exports.ManifestRequestShipment = ManifestRequestShipment;
8
9
  //# sourceMappingURL=manifest-request-shipment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manifest-request-shipment.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest-request-shipment.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAE7D,MAAa,uBAAwB,SAAQ,kCAAe;CAE3D;AAFD,0DAEC"}
1
+ {"version":3,"file":"manifest-request-shipment.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest-request-shipment.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAE7D,MAAa,uBAAwB,SAAQ,kCAAe;IAC1D,4BAA4B,CAAU;CACvC;AAFD,0DAEC"}
@@ -3,6 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Manifest = void 0;
4
4
  /** @description This model represents a single manifest created with a shipping provider. */
5
5
  class Manifest {
6
+ /** @description The unique identifier for this manifest. */
7
+ manifest_id;
8
+ /** @description The resource and where it can be downloaded */
9
+ document_download;
10
+ /** @deprecated This property is no longer used please use the document_download */
11
+ document_href;
12
+ /** @deprecated This property is no longer used please use the document_download */
13
+ document_data;
14
+ manifest_request_shipment_ids;
6
15
  }
7
16
  exports.Manifest = Manifest;
8
17
  //# sourceMappingURL=manifest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest.ts"],"names":[],"mappings":";;;AAEA,6FAA6F;AAC7F,MAAa,QAAQ;CAUpB;AAVD,4BAUC"}
1
+ {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest.ts"],"names":[],"mappings":";;;AAEA,6FAA6F;AAC7F,MAAa,QAAQ;IACnB,4DAA4D;IAC5D,WAAW,CAAU;IACrB,+DAA+D;IAC/D,iBAAiB,CAAoB;IACrC,mFAAmF;IACnF,aAAa,CAAU;IACvB,mFAAmF;IACnF,aAAa,CAAU;IACvB,6BAA6B,CAAY;CAC1C;AAVD,4BAUC"}
@@ -3,6 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Package = void 0;
4
4
  /** @description Basic structure for a package */
5
5
  class Package {
6
+ /** @description Package code defined for the carrier in ShipEngine. */
7
+ package_code;
8
+ /** @description A summary of the content of a given package. Required to ship to and from Mexico. Maximum length of 35 characters. */
9
+ content_description;
10
+ /** @description Details about the dimensions of the package */
11
+ dimension_details;
12
+ /** @description Details about the weight of the package */
13
+ weight_details;
14
+ /** @description The insured value of this package. */
15
+ insured_value;
16
+ /** @description The message the seller requested to have on their label */
17
+ label_messages;
18
+ /** @description Basic structure for a customs declaration (Only available on international shipments) */
19
+ customs;
6
20
  }
7
21
  exports.Package = Package;
8
22
  //# sourceMappingURL=package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/models/package.ts"],"names":[],"mappings":";;;AAMA,iDAAiD;AACjD,MAAa,OAAO;CAenB;AAfD,0BAeC"}
1
+ {"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/models/package.ts"],"names":[],"mappings":";;;AAMA,iDAAiD;AACjD,MAAa,OAAO;IAClB,uEAAuE;IACvE,YAAY,CAAU;IACtB,sIAAsI;IACtI,mBAAmB,CAAU;IAC7B,+DAA+D;IAC/D,iBAAiB,CAAoB;IACrC,2DAA2D;IAC3D,cAAc,CAAiB;IAC/B,sDAAsD;IACtD,aAAa,CAAY;IACzB,2EAA2E;IAC3E,cAAc,CAAgB;IAC9B,yGAAyG;IACzG,OAAO,CAAW;CACnB;AAfD,0BAeC"}
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CancellationDetails = void 0;
4
4
  /** @description Basic structure for a cancellation */
5
5
  class CancellationDetails {
6
+ /** @description The reason the pickup has been cancelled */
7
+ reason;
8
+ /** @description Additional properties about cancellation */
9
+ cancellation_options;
10
+ /** @description Any additional info about why the customer is cancelling the pickup */
11
+ remarks;
6
12
  }
7
13
  exports.CancellationDetails = CancellationDetails;
8
14
  //# sourceMappingURL=cancellation-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cancellation-details.js","sourceRoot":"","sources":["../../../src/models/pickup/cancellation-details.ts"],"names":[],"mappings":";;;AAEA,sDAAsD;AACtD,MAAa,mBAAmB;CAO/B;AAPD,kDAOC"}
1
+ {"version":3,"file":"cancellation-details.js","sourceRoot":"","sources":["../../../src/models/pickup/cancellation-details.ts"],"names":[],"mappings":";;;AAEA,sDAAsD;AACtD,MAAa,mBAAmB;IAC9B,4DAA4D;IAC5D,MAAM,CAAsB;IAC5B,4DAA4D;IAC5D,oBAAoB,CAA6B;IACjD,uFAAuF;IACvF,OAAO,CAAU;CAClB;AAPD,kDAOC"}
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupConfirmation = void 0;
4
4
  /** @description Basic structure for a pickup confirmation */
5
5
  class PickupConfirmation {
6
+ /** @description The primary confirmation ID for this request. */
7
+ confirmation_id;
8
+ /** @description Other identifiers potentially needed in other calls. */
9
+ alternate_identifiers;
10
+ /** @description List of the shipments added for this pickup. */
11
+ shipment_identifiers;
6
12
  }
7
13
  exports.PickupConfirmation = PickupConfirmation;
8
14
  //# sourceMappingURL=pickup-confirmation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-confirmation.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-confirmation.ts"],"names":[],"mappings":";;;AAGA,6DAA6D;AAC7D,MAAa,kBAAkB;CAO9B;AAPD,gDAOC"}
1
+ {"version":3,"file":"pickup-confirmation.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-confirmation.ts"],"names":[],"mappings":";;;AAGA,6DAA6D;AAC7D,MAAa,kBAAkB;IAC7B,iEAAiE;IACjE,eAAe,CAAU;IACzB,wEAAwE;IACxE,qBAAqB,CAAgB;IACrC,gEAAgE;IAChE,oBAAoB,CAAwB;CAC7C;AAPD,gDAOC"}
@@ -3,6 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupContactDetails = void 0;
4
4
  /** @description Contact information for the person who will be present for the pickup. */
5
5
  class PickupContactDetails {
6
+ /** @description The first name of the person who will be there for the pickup. */
7
+ first_name;
8
+ /** @description The last name of the person who will be there for the pickup. */
9
+ last_name;
10
+ /** @description The e-mail address of the person who will be there for the pickup. */
11
+ email;
12
+ /** @description The phone number of the person who will be there for the pickup. */
13
+ phone_number;
14
+ /** @description The phone extension of the person who will be there for the pickup. */
15
+ phone_number_extension;
6
16
  }
7
17
  exports.PickupContactDetails = PickupContactDetails;
8
18
  //# sourceMappingURL=pickup-contact-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-contact-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-contact-details.ts"],"names":[],"mappings":";;;AAAA,0FAA0F;AAC1F,MAAa,oBAAoB;CAWhC;AAXD,oDAWC"}
1
+ {"version":3,"file":"pickup-contact-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-contact-details.ts"],"names":[],"mappings":";;;AAAA,0FAA0F;AAC1F,MAAa,oBAAoB;IAC/B,kFAAkF;IAClF,UAAU,CAAU;IACpB,iFAAiF;IACjF,SAAS,CAAU;IACnB,sFAAsF;IACtF,KAAK,CAAU;IACf,oFAAoF;IACpF,YAAY,CAAU;IACtB,uFAAuF;IACvF,sBAAsB,CAAU;CACjC;AAXD,oDAWC"}
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupLocationDetails = void 0;
4
4
  /** @description Location details for pickup */
5
5
  class PickupLocationDetails {
6
+ /** @description The address the pickup will take place */
7
+ pickup_address;
8
+ /** @description Any notes that may be helpful for a driver to find the pickup location */
9
+ location_notes;
10
+ /** @description Custom options that are used by the carrier to determine pickup locations */
11
+ pickup_options;
6
12
  }
7
13
  exports.PickupLocationDetails = PickupLocationDetails;
8
14
  //# sourceMappingURL=pickup-location-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-location-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-location-details.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAa,qBAAqB;CAOjC;AAPD,sDAOC"}
1
+ {"version":3,"file":"pickup-location-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-location-details.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAa,qBAAqB;IAChC,0DAA0D;IAC1D,cAAc,CAAY;IAC1B,0FAA0F;IAC1F,cAAc,CAAU;IACxB,6FAA6F;IAC7F,cAAc,CAA6B;CAC5C;AAPD,sDAOC"}
@@ -3,6 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupPackage = void 0;
4
4
  /** @description Basic structure for a package to be picked up */
5
5
  class PickupPackage {
6
+ /** @description The carrier tracking number for this shipment */
7
+ tracking_number;
8
+ /** @description Alternative identifiers associated with this package */
9
+ alternative_identifiers;
10
+ /** @description Details about the dimensions of the package */
11
+ dimension_details;
12
+ /** @description Details about the weight of the package */
13
+ weight_details;
14
+ /** @description The code associated with the package type */
15
+ package_code;
16
+ /** @deprectated Please use the weight_details property */
17
+ weight;
18
+ /** @deprectated Please use the dimension_details property */
19
+ dimensions;
6
20
  }
7
21
  exports.PickupPackage = PickupPackage;
8
22
  //# sourceMappingURL=pickup-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-package.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-package.ts"],"names":[],"mappings":";;;AAKA,iEAAiE;AACjE,MAAa,aAAa;CAezB;AAfD,sCAeC"}
1
+ {"version":3,"file":"pickup-package.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-package.ts"],"names":[],"mappings":";;;AAKA,iEAAiE;AACjE,MAAa,aAAa;IACxB,iEAAiE;IACjE,eAAe,CAAU;IACzB,wEAAwE;IACxE,uBAAuB,CAAgB;IACvC,+DAA+D;IAC/D,iBAAiB,CAAoB;IACrC,2DAA2D;IAC3D,cAAc,CAAiB;IAC/B,6DAA6D;IAC7D,YAAY,CAAU;IACtB,0DAA0D;IAC1D,MAAM,CAAU;IAChB,6DAA6D;IAC7D,UAAU,CAAc;CACzB;AAfD,sCAeC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupShipmentDetails = void 0;
4
4
  /** @description Details for a pickup shipment */
5
5
  class PickupShipmentDetails {
6
+ /** @description Service category for the carrier (ground, express, next_day) */
7
+ pickup_service_code;
8
+ /** @description List of shipments to be picked up */
9
+ shipments;
6
10
  }
7
11
  exports.PickupShipmentDetails = PickupShipmentDetails;
8
12
  //# sourceMappingURL=pickup-shipment-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-shipment-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-shipment-details.ts"],"names":[],"mappings":";;;AAEA,iDAAiD;AACjD,MAAa,qBAAqB;CAKjC;AALD,sDAKC"}
1
+ {"version":3,"file":"pickup-shipment-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-shipment-details.ts"],"names":[],"mappings":";;;AAEA,iDAAiD;AACjD,MAAa,qBAAqB;IAChC,gFAAgF;IAChF,mBAAmB,CAAU;IAC7B,qDAAqD;IACrD,SAAS,CAAqB;CAC/B;AALD,sDAKC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PickupWindow = void 0;
4
4
  /** @description This model represents a window of time a pickup could be made. */
5
5
  class PickupWindow {
6
+ /** @description The local time zone represented in IANA. See https://www.iana.org/time-zones */
7
+ time_zone_iana;
8
+ /** @description The local date the pickup will occur. Formatted per https://tools.ietf.org/html/rfc3339 */
9
+ pickup_date;
10
+ /** @description The time relative to the time_zone_iana that the carrier says that the pickup could occur. Formatted per https://tools.ietf.org/html/rfc3339 */
11
+ start_time;
12
+ /** @description The end of the window when the pickup could be made relative to the time_zone_iana. Formatted per https://tools.ietf.org/html/rfc3339 */
13
+ end_time;
6
14
  }
7
15
  exports.PickupWindow = PickupWindow;
8
16
  //# sourceMappingURL=pickup-window.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickup-window.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-window.ts"],"names":[],"mappings":";;;AAAA,kFAAkF;AAClF,MAAa,YAAY;CASxB;AATD,oCASC"}
1
+ {"version":3,"file":"pickup-window.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-window.ts"],"names":[],"mappings":";;;AAAA,kFAAkF;AAClF,MAAa,YAAY;IACvB,gGAAgG;IAChG,cAAc,CAAU;IACxB,2GAA2G;IAC3G,WAAW,CAAU;IACrB,gKAAgK;IAChK,UAAU,CAAU;IACpB,yJAAyJ;IACzJ,QAAQ,CAAU;CACnB;AATD,oCASC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ShipmentIdentifier = void 0;
4
4
  /** @description Identifier object for shiments */
5
5
  class ShipmentIdentifier {
6
+ /** @description The carrier tracking number for this shipment */
7
+ tracking_number;
8
+ /** @description A list of alternate identifiers that can be used to identify a shipment */
9
+ alternate_identifiers;
6
10
  }
7
11
  exports.ShipmentIdentifier = ShipmentIdentifier;
8
12
  //# sourceMappingURL=shipment-identifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipment-identifier.js","sourceRoot":"","sources":["../../../src/models/pickup/shipment-identifier.ts"],"names":[],"mappings":";;;AAEA,kDAAkD;AAClD,MAAa,kBAAkB;CAK9B;AALD,gDAKC"}
1
+ {"version":3,"file":"shipment-identifier.js","sourceRoot":"","sources":["../../../src/models/pickup/shipment-identifier.ts"],"names":[],"mappings":";;;AAEA,kDAAkD;AAClD,MAAa,kBAAkB;IAC7B,iEAAiE;IACjE,eAAe,CAAU;IACzB,2FAA2F;IAC3F,qBAAqB,CAAgB;CACtC;AALD,gDAKC"}
@@ -3,6 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ShippedPackage = void 0;
4
4
  /** @description Basic structure for a package that has been shipped */
5
5
  class ShippedPackage {
6
+ /** @description The carrier tracking number associated with this package */
7
+ tracking_number;
8
+ /** @description Alternative identifiers associated with this package */
9
+ alternative_identifiers;
10
+ /** @description Details about the dimensions of the package */
11
+ dimension_details;
12
+ /** @description Details about the weight of the package */
13
+ weight_details;
14
+ /** @description The code associated with the package type */
15
+ package_code;
16
+ /** @deprectated Please use the weight_details property */
17
+ weight;
18
+ /** @deprectated Please use the dimension_details property */
19
+ dimensions;
20
+ /** @description The insured value of this package. */
21
+ insured_value;
22
+ /** @description The message the seller requested to have on their label */
23
+ label_messages;
24
+ /** @description Basic structure for a customs declaration (Only available on international shipments) */
25
+ customs;
6
26
  }
7
27
  exports.ShippedPackage = ShippedPackage;
8
28
  //# sourceMappingURL=shipped-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipped-package.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-package.ts"],"names":[],"mappings":";;;AAQA,uEAAuE;AACvE,MAAa,cAAc;CAqB1B;AArBD,wCAqBC"}
1
+ {"version":3,"file":"shipped-package.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-package.ts"],"names":[],"mappings":";;;AAQA,uEAAuE;AACvE,MAAa,cAAc;IACzB,4EAA4E;IAC5E,eAAe,CAAU;IACzB,wEAAwE;IACxE,uBAAuB,CAAgB;IACvC,+DAA+D;IAC/D,iBAAiB,CAAoB;IACrC,2DAA2D;IAC3D,cAAc,CAAiB;IAC/B,6DAA6D;IAC7D,YAAY,CAAU;IACtB,0DAA0D;IAC1D,MAAM,CAAU;IAChB,6DAA6D;IAC7D,UAAU,CAAc;IACxB,sDAAsD;IACtD,aAAa,CAAY;IACzB,2EAA2E;IAC3E,cAAc,CAAgB;IAC9B,yGAAyG;IACzG,OAAO,CAAW;CACnB;AArBD,wCAqBC"}
@@ -6,8 +6,6 @@ import { ShippedPackage } from './shipped-package';
6
6
  import { PudoLocation } from '../../models';
7
7
  /** @description Basic structure for a shipment that has been shipped */
8
8
  export declare class ShippedShipment extends Label {
9
- /** @description The carrier tracking number associated with this package */
10
- tracking_number?: string;
11
9
  /** @description The address that a shipment will be delivered to */
12
10
  ship_to?: ShipTo;
13
11
  /** @description Non-tracking alternative ids associated with this shipment */
@@ -4,6 +4,18 @@ exports.PickupShipment = exports.ShippedShipment = void 0;
4
4
  const label_1 = require("../manifests/label");
5
5
  /** @description Basic structure for a shipment that has been shipped */
6
6
  class ShippedShipment extends label_1.Label {
7
+ /** @description The address that a shipment will be delivered to */
8
+ ship_to;
9
+ /** @description Non-tracking alternative ids associated with this shipment */
10
+ alternative_identifiers;
11
+ /** @description The service code used for this shipment */
12
+ service_code;
13
+ /** @description The list of packages associated with this shipment */
14
+ packages;
15
+ /** @description Advanced shipping options (Contains Alcohol, Non Machinable, etc) */
16
+ advanced_options;
17
+ /** @description Add pick-up location detail*/
18
+ pickup_location;
7
19
  }
8
20
  exports.ShippedShipment = ShippedShipment;
9
21
  class PickupShipment extends ShippedShipment {
@@ -1 +1 @@
1
- {"version":3,"file":"shipped-shipment.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-shipment.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAO3C,wEAAwE;AACxE,MAAa,eAAgB,SAAQ,aAAK;CAezC;AAfD,0CAeC;AAED,MAAa,cAAe,SAAQ,eAAe;CAAG;AAAtD,wCAAsD"}
1
+ {"version":3,"file":"shipped-shipment.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-shipment.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAO3C,wEAAwE;AACxE,MAAa,eAAgB,SAAQ,aAAK;IACxC,oEAAoE;IACpE,OAAO,CAAU;IACjB,8EAA8E;IAC9E,uBAAuB,CAAgB;IACvC,2DAA2D;IAC3D,YAAY,CAAU;IACtB,sEAAsE;IACtE,QAAQ,CAAoB;IAC5B,qFAAqF;IACrF,gBAAgB,CAAmB;IACnC,8CAA8C;IAC9C,eAAe,CAAgB;CAChC;AAbD,0CAaC;AAED,MAAa,cAAe,SAAQ,eAAe;CAAG;AAAtD,wCAAsD"}
@@ -3,6 +3,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Rate = void 0;
4
4
  /** @description Basic structure for a rate */
5
5
  class Rate {
6
+ /** @description The service code uniquely identifies a shipping service that you offer. Which service codes can be passed to you will be configured in ShipEngine. If this field is missing, the rate will be discarded. */
7
+ service_code;
8
+ /** @description ISO 8601 formatted date for shipment */
9
+ ship_datetime;
10
+ /** @description ISO 8601 formatted estimated delivery date */
11
+ estimated_delivery_datetime;
12
+ /** @description List of charge details for a rate */
13
+ billing_line_items;
14
+ /** @description Any error messages that resulted while trying to get the rate */
15
+ error_messages;
16
+ /** @description Any warning messages that resulted while trying to get the rate */
17
+ warning_messages;
18
+ /** @description Is the rate pre-negotiated? */
19
+ negotiated_rate;
20
+ /** @description The carrier pickup window is the time designated when the carrier will pickup your package from the initial location */
21
+ carrier_pickup_window;
22
+ /** @description The delivery window is the time designated when the carrier will drop off the package to the recipient */
23
+ delivery_window;
24
+ /** @description Unique identifier for the carrier rate */
25
+ carrier_rate_id;
26
+ /** @description DateTime after which the rate will no longer be accepted. ISO 8601 format, with local offset. Example: 2021-08-20T14:38:36.859237-05:00 */
27
+ expiration_datetime;
28
+ /** @description The Package type of this rate */
29
+ package_type;
30
+ /** @description The zone this rate is for */
31
+ zone;
6
32
  }
7
33
  exports.Rate = Rate;
8
34
  //# sourceMappingURL=rate.js.map