@shipengine/connect-carrier-api 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/README.md +10 -18
  2. package/lib/app/build-app-deployment.js +3 -3
  3. package/lib/app/build-app-deployment.js.map +1 -1
  4. package/lib/app/carrier-app-definition.d.ts +1 -0
  5. package/lib/app/metadata/auth-identifier.js +3 -0
  6. package/lib/app/metadata/auth-identifier.js.map +1 -1
  7. package/lib/app/metadata/auth-specification.js +12 -0
  8. package/lib/app/metadata/auth-specification.js.map +1 -1
  9. package/lib/app/metadata/monoauth.js +68 -0
  10. package/lib/app/metadata/monoauth.js.map +1 -1
  11. package/lib/app/native-rating-data-validator.js +3 -4
  12. package/lib/app/native-rating-data-validator.js.map +1 -1
  13. package/lib/carrier-app.d.ts +7 -0
  14. package/lib/carrier-app.js +15 -0
  15. package/lib/carrier-app.js.map +1 -0
  16. package/lib/index.d.ts +1 -0
  17. package/lib/index.js +1 -0
  18. package/lib/index.js.map +1 -1
  19. package/lib/models/addresses/address-base.js +30 -0
  20. package/lib/models/addresses/address-base.js.map +1 -1
  21. package/lib/models/addresses/pudo-location.js +4 -0
  22. package/lib/models/addresses/pudo-location.js.map +1 -1
  23. package/lib/models/addresses/service-point-address.js +2 -0
  24. package/lib/models/addresses/service-point-address.js.map +1 -1
  25. package/lib/models/addresses/ship-from.js +2 -0
  26. package/lib/models/addresses/ship-from.js.map +1 -1
  27. package/lib/models/addresses/ship-to.js +2 -0
  28. package/lib/models/addresses/ship-to.js.map +1 -1
  29. package/lib/models/advanced-options.js +16 -0
  30. package/lib/models/advanced-options.js.map +1 -1
  31. package/lib/models/authorization.js +4 -0
  32. package/lib/models/authorization.js.map +1 -1
  33. package/lib/models/bill-to.js +4 -0
  34. package/lib/models/bill-to.js.map +1 -1
  35. package/lib/models/billing/billing-line-item.js +12 -0
  36. package/lib/models/billing/billing-line-item.js.map +1 -1
  37. package/lib/models/collect-on-delivery.js +4 -0
  38. package/lib/models/collect-on-delivery.js.map +1 -1
  39. package/lib/models/currency.js +4 -0
  40. package/lib/models/currency.js.map +1 -1
  41. package/lib/models/customs/customs-charges.js +10 -0
  42. package/lib/models/customs/customs-charges.js.map +1 -1
  43. package/lib/models/customs/customs-item.js +22 -0
  44. package/lib/models/customs/customs-item.js.map +1 -1
  45. package/lib/models/customs/customs.js +20 -0
  46. package/lib/models/customs/customs.js.map +1 -1
  47. package/lib/models/documents/document.js +6 -0
  48. package/lib/models/documents/document.js.map +1 -1
  49. package/lib/models/errors/detailed-error.js +5 -0
  50. package/lib/models/errors/detailed-error.js.map +1 -1
  51. package/lib/models/fulfillment-plans/fulfillment-plan-details.js +6 -0
  52. package/lib/models/fulfillment-plans/fulfillment-plan-details.js.map +1 -1
  53. package/lib/models/fulfillment-plans/fulfillment-plan-items.js +8 -0
  54. package/lib/models/fulfillment-plans/fulfillment-plan-items.js.map +1 -1
  55. package/lib/models/fulfillment-plans/raw-external-source.js +2 -0
  56. package/lib/models/fulfillment-plans/raw-external-source.js.map +1 -1
  57. package/lib/models/identifier.js +2 -0
  58. package/lib/models/identifier.js.map +1 -1
  59. package/lib/models/importer-records/importer-of-record.js +22 -0
  60. package/lib/models/importer-records/importer-of-record.js.map +1 -1
  61. package/lib/models/labels/form-download.js +2 -0
  62. package/lib/models/labels/form-download.js.map +1 -1
  63. package/lib/models/labels/label-download.js +2 -0
  64. package/lib/models/labels/label-download.js.map +1 -1
  65. package/lib/models/labels/label-message.js +3 -0
  66. package/lib/models/labels/label-message.js.map +1 -1
  67. package/lib/models/labels/label-package.js +6 -0
  68. package/lib/models/labels/label-package.js.map +1 -1
  69. package/lib/models/labels/return-label-details.js +2 -0
  70. package/lib/models/labels/return-label-details.js.map +1 -1
  71. package/lib/models/labels/void-request.js +4 -0
  72. package/lib/models/labels/void-request.js.map +1 -1
  73. package/lib/models/labels/void-response.js +8 -0
  74. package/lib/models/labels/void-response.js.map +1 -1
  75. package/lib/models/manifests/label.js +4 -0
  76. package/lib/models/manifests/label.js.map +1 -1
  77. package/lib/models/manifests/manifest-request-shipment.js +1 -0
  78. package/lib/models/manifests/manifest-request-shipment.js.map +1 -1
  79. package/lib/models/manifests/manifest.js +9 -0
  80. package/lib/models/manifests/manifest.js.map +1 -1
  81. package/lib/models/package.js +14 -0
  82. package/lib/models/package.js.map +1 -1
  83. package/lib/models/pickup/cancellation-details.js +6 -0
  84. package/lib/models/pickup/cancellation-details.js.map +1 -1
  85. package/lib/models/pickup/pickup-confirmation.js +6 -0
  86. package/lib/models/pickup/pickup-confirmation.js.map +1 -1
  87. package/lib/models/pickup/pickup-contact-details.js +10 -0
  88. package/lib/models/pickup/pickup-contact-details.js.map +1 -1
  89. package/lib/models/pickup/pickup-location-details.js +6 -0
  90. package/lib/models/pickup/pickup-location-details.js.map +1 -1
  91. package/lib/models/pickup/pickup-package.js +14 -0
  92. package/lib/models/pickup/pickup-package.js.map +1 -1
  93. package/lib/models/pickup/pickup-shipment-details.js +4 -0
  94. package/lib/models/pickup/pickup-shipment-details.js.map +1 -1
  95. package/lib/models/pickup/pickup-window.js +8 -0
  96. package/lib/models/pickup/pickup-window.js.map +1 -1
  97. package/lib/models/pickup/shipment-identifier.js +4 -0
  98. package/lib/models/pickup/shipment-identifier.js.map +1 -1
  99. package/lib/models/pickup/shipped-package.js +20 -0
  100. package/lib/models/pickup/shipped-package.js.map +1 -1
  101. package/lib/models/pickup/shipped-shipment.d.ts +0 -2
  102. package/lib/models/pickup/shipped-shipment.js +12 -0
  103. package/lib/models/pickup/shipped-shipment.js.map +1 -1
  104. package/lib/models/rates/rate.js +26 -0
  105. package/lib/models/rates/rate.js.map +1 -1
  106. package/lib/models/registration/credentials.js +4 -0
  107. package/lib/models/registration/credentials.js.map +1 -1
  108. package/lib/models/relay-points/opening-times.js +7 -0
  109. package/lib/models/relay-points/opening-times.js.map +1 -1
  110. package/lib/models/relay-points/relay-point-address.js +7 -0
  111. package/lib/models/relay-points/relay-point-address.js.map +1 -1
  112. package/lib/models/relay-points/relay-point-details.js +2 -0
  113. package/lib/models/relay-points/relay-point-details.js.map +1 -1
  114. package/lib/models/relay-points/relay-point.js +4 -0
  115. package/lib/models/relay-points/relay-point.js.map +1 -1
  116. package/lib/models/resource-download.js +4 -0
  117. package/lib/models/resource-download.js.map +1 -1
  118. package/lib/models/service-points/hours-of-operation.js +4 -0
  119. package/lib/models/service-points/hours-of-operation.js.map +1 -1
  120. package/lib/models/service-points/search-radius.js +8 -0
  121. package/lib/models/service-points/search-radius.js.map +1 -1
  122. package/lib/models/service-points/service-point-response-address.js +2 -0
  123. package/lib/models/service-points/service-point-response-address.js.map +1 -1
  124. package/lib/models/service-points/service-point.js +10 -0
  125. package/lib/models/service-points/service-point.js.map +1 -1
  126. package/lib/models/service-points/weekly-hours-of-operation.js +7 -0
  127. package/lib/models/service-points/weekly-hours-of-operation.js.map +1 -1
  128. package/lib/models/taxes/tax-identifier.js +10 -0
  129. package/lib/models/taxes/tax-identifier.js.map +1 -1
  130. package/lib/models/time-window.js +14 -0
  131. package/lib/models/time-window.js.map +1 -1
  132. package/lib/models/tracking/imported-tracking-event.js +12 -0
  133. package/lib/models/tracking/imported-tracking-event.js.map +1 -1
  134. package/lib/models/tracking/lat-long.js +4 -0
  135. package/lib/models/tracking/lat-long.js.map +1 -1
  136. package/lib/models/tracking/service.js +4 -0
  137. package/lib/models/tracking/service.js.map +1 -1
  138. package/lib/models/tracking/track-event.js +24 -0
  139. package/lib/models/tracking/track-event.js.map +1 -1
  140. package/lib/models/tracking/tracking-attribute.js +2 -0
  141. package/lib/models/tracking/tracking-attribute.js.map +1 -1
  142. package/lib/models/tracking/tracking-identifier.js +2 -0
  143. package/lib/models/tracking/tracking-identifier.js.map +1 -1
  144. package/lib/models/tracking/tracking-info.js +36 -0
  145. package/lib/models/tracking/tracking-info.js.map +1 -1
  146. package/lib/models/units/dimension-details.js +8 -0
  147. package/lib/models/units/dimension-details.js.map +1 -1
  148. package/lib/models/units/dimensions.js +3 -0
  149. package/lib/models/units/dimensions.js.map +1 -1
  150. package/lib/models/units/weight-details.js +8 -0
  151. package/lib/models/units/weight-details.js.map +1 -1
  152. package/lib/requests/base-request.js +3 -0
  153. package/lib/requests/base-request.js.map +1 -1
  154. package/lib/requests/cancel-notification-request.js +4 -0
  155. package/lib/requests/cancel-notification-request.js.map +1 -1
  156. package/lib/requests/cancel-pickup-request.js +7 -0
  157. package/lib/requests/cancel-pickup-request.js.map +1 -1
  158. package/lib/requests/create-label-request.js +35 -0
  159. package/lib/requests/create-label-request.js.map +1 -1
  160. package/lib/requests/create-manifest-request.js +6 -0
  161. package/lib/requests/create-manifest-request.js.map +1 -1
  162. package/lib/requests/create-notification-request.js +6 -0
  163. package/lib/requests/create-notification-request.js.map +1 -1
  164. package/lib/requests/get-manifest-request.js +10 -0
  165. package/lib/requests/get-manifest-request.js.map +1 -1
  166. package/lib/requests/get-rates-request.js +20 -0
  167. package/lib/requests/get-rates-request.js.map +1 -1
  168. package/lib/requests/get-relay-points-request.js +4 -0
  169. package/lib/requests/get-relay-points-request.js.map +1 -1
  170. package/lib/requests/get-service-point-request.js +4 -0
  171. package/lib/requests/get-service-point-request.js.map +1 -1
  172. package/lib/requests/get-service-points-request.js +8 -0
  173. package/lib/requests/get-service-points-request.js.map +1 -1
  174. package/lib/requests/register-request.js +1 -0
  175. package/lib/requests/register-request.js.map +1 -1
  176. package/lib/requests/schedule-pickup-request.js +4 -0
  177. package/lib/requests/schedule-pickup-request.js.map +1 -1
  178. package/lib/requests/tracking-request.js +4 -0
  179. package/lib/requests/tracking-request.js.map +1 -1
  180. package/lib/requests/void-labels-request.js +2 -0
  181. package/lib/requests/void-labels-request.js.map +1 -1
  182. package/lib/responses/base-response.js +1 -0
  183. package/lib/responses/base-response.js.map +1 -1
  184. package/lib/responses/cancel-notification-response.js +4 -0
  185. package/lib/responses/cancel-notification-response.js.map +1 -1
  186. package/lib/responses/cancel-pickup-response.js +4 -0
  187. package/lib/responses/cancel-pickup-response.js.map +1 -1
  188. package/lib/responses/create-label-response.js +17 -0
  189. package/lib/responses/create-label-response.js.map +1 -1
  190. package/lib/responses/create-manifest-response.js +8 -0
  191. package/lib/responses/create-manifest-response.js.map +1 -1
  192. package/lib/responses/create-notification-response.js +3 -0
  193. package/lib/responses/create-notification-response.js.map +1 -1
  194. package/lib/responses/error-response.js +1 -0
  195. package/lib/responses/error-response.js.map +1 -1
  196. package/lib/responses/get-rates-response.js +1 -0
  197. package/lib/responses/get-rates-response.js.map +1 -1
  198. package/lib/responses/get-relay-points-response.js +1 -0
  199. package/lib/responses/get-relay-points-response.js.map +1 -1
  200. package/lib/responses/get-service-point-response.js +2 -0
  201. package/lib/responses/get-service-point-response.js.map +1 -1
  202. package/lib/responses/get-service-points-response.js +2 -0
  203. package/lib/responses/get-service-points-response.js.map +1 -1
  204. package/lib/responses/normalize-tracking-data-response.js +7 -0
  205. package/lib/responses/normalize-tracking-data-response.js.map +1 -1
  206. package/lib/responses/register-response.js +2 -0
  207. package/lib/responses/register-response.js.map +1 -1
  208. package/lib/responses/schedule-pickup-response.js +5 -0
  209. package/lib/responses/schedule-pickup-response.js.map +1 -1
  210. package/lib/responses/tracking-response.js +1 -0
  211. package/lib/responses/tracking-response.js.map +1 -1
  212. package/lib/responses/validate-inbound-data-response.js +2 -0
  213. package/lib/responses/validate-inbound-data-response.js.map +1 -1
  214. package/lib/responses/void-labels-response.js +2 -0
  215. package/lib/responses/void-labels-response.js.map +1 -1
  216. package/package.json +3 -3
  217. package/src/app/carrier-app-definition.ts +1 -0
  218. package/src/carrier-app.ts +11 -0
  219. package/src/index.ts +1 -0
  220. package/src/models/pickup/shipped-shipment.ts +0 -2
  221. package/tsconfig.tsbuildinfo +1 -1
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;AAGA,8CAA8C;AAC9C,MAAa,IAAI;CA2BhB;AA3BD,oBA2BC"}
1
+ {"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;AAGA,8CAA8C;AAC9C,MAAa,IAAI;IACf,4NAA4N;IAC5N,YAAY,CAAU;IACtB,wDAAwD;IACxD,aAAa,CAAU;IACvB,8DAA8D;IAC9D,2BAA2B,CAAU;IACrC,qDAAqD;IACrD,kBAAkB,CAAqB;IACvC,iFAAiF;IACjF,cAAc,CAAY;IAC1B,mFAAmF;IACnF,gBAAgB,CAAY;IAC5B,+CAA+C;IAC/C,eAAe,CAAW;IAC1B,wIAAwI;IACxI,qBAAqB,CAAc;IACnC,0HAA0H;IAC1H,eAAe,CAAc;IAC7B,0DAA0D;IAC1D,eAAe,CAAU;IACzB,2JAA2J;IAC3J,mBAAmB,CAAU;IAC7B,iDAAiD;IACjD,YAAY,CAAU;IACtB,6CAA6C;IAC7C,IAAI,CAAU;CACf;AA3BD,oBA2BC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Credentials = void 0;
4
4
  /** @description Basic structure for credentials */
5
5
  class Credentials {
6
+ /** @description The username, used as the unique identifier for the account */
7
+ username;
8
+ /** @description The password that will be sent in future requests */
9
+ password;
6
10
  }
7
11
  exports.Credentials = Credentials;
8
12
  //# sourceMappingURL=credentials.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/models/registration/credentials.ts"],"names":[],"mappings":";;;AAAA,mDAAmD;AACnD,MAAa,WAAW;CAKvB;AALD,kCAKC"}
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/models/registration/credentials.ts"],"names":[],"mappings":";;;AAAA,mDAAmD;AACnD,MAAa,WAAW;IACtB,+EAA+E;IAC/E,QAAQ,CAAU;IAClB,qEAAqE;IACrE,QAAQ,CAAU;CACnB;AALD,kCAKC"}
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpeningTimes = void 0;
4
4
  /** @description The times each day that the relay point is open, for example: "11:00-13:00, 14:30-19:30" */
5
5
  class OpeningTimes {
6
+ monday;
7
+ tuesday;
8
+ wednesday;
9
+ thursday;
10
+ friday;
11
+ saturday;
12
+ sunday;
6
13
  }
7
14
  exports.OpeningTimes = OpeningTimes;
8
15
  //# sourceMappingURL=opening-times.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"opening-times.js","sourceRoot":"","sources":["../../../src/models/relay-points/opening-times.ts"],"names":[],"mappings":";;;AAAA,4GAA4G;AAC5G,MAAa,YAAY;CAQxB;AARD,oCAQC"}
1
+ {"version":3,"file":"opening-times.js","sourceRoot":"","sources":["../../../src/models/relay-points/opening-times.ts"],"names":[],"mappings":";;;AAAA,4GAA4G;AAC5G,MAAa,YAAY;IACvB,MAAM,CAAU;IAChB,OAAO,CAAU;IACjB,SAAS,CAAU;IACnB,QAAQ,CAAU;IAClB,MAAM,CAAU;IAChB,QAAQ,CAAU;IAClB,MAAM,CAAU;CACjB;AARD,oCAQC"}
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RelayPointAddress = void 0;
4
4
  /** @description The address information corresponding to a specific relay point */
5
5
  class RelayPointAddress {
6
+ relay_point_id;
7
+ company_name;
8
+ address_lines;
9
+ city_locality;
10
+ state_province;
11
+ postal_code;
12
+ country_code;
6
13
  }
7
14
  exports.RelayPointAddress = RelayPointAddress;
8
15
  //# sourceMappingURL=relay-point-address.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"relay-point-address.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-address.ts"],"names":[],"mappings":";;;AAAA,mFAAmF;AACnF,MAAa,iBAAiB;CAQ7B;AARD,8CAQC"}
1
+ {"version":3,"file":"relay-point-address.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-address.ts"],"names":[],"mappings":";;;AAAA,mFAAmF;AACnF,MAAa,iBAAiB;IAC5B,cAAc,CAAU;IACxB,YAAY,CAAU;IACtB,aAAa,CAAY;IACzB,aAAa,CAAU;IACvB,cAAc,CAAU;IACxB,WAAW,CAAU;IACrB,YAAY,CAAU;CACvB;AARD,8CAQC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RelayPointDetails = void 0;
4
4
  /** @description Details of the relay points to be used to create labels */
5
5
  class RelayPointDetails {
6
+ ship_to;
7
+ ship_from;
6
8
  }
7
9
  exports.RelayPointDetails = RelayPointDetails;
8
10
  //# sourceMappingURL=relay-point-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"relay-point-details.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-details.ts"],"names":[],"mappings":";;;AAEA,2EAA2E;AAC3E,MAAa,iBAAiB;CAG7B;AAHD,8CAGC"}
1
+ {"version":3,"file":"relay-point-details.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-details.ts"],"names":[],"mappings":";;;AAEA,2EAA2E;AAC3E,MAAa,iBAAiB;IAC5B,OAAO,CAAqB;IAC5B,SAAS,CAAqB;CAC/B;AAHD,8CAGC"}
@@ -4,6 +4,10 @@ exports.RelayPoint = void 0;
4
4
  const relay_point_address_1 = require("./relay-point-address");
5
5
  /** @description Basic structure for a relay point */
6
6
  class RelayPoint extends relay_point_address_1.RelayPointAddress {
7
+ phone;
8
+ longitude;
9
+ latitude;
10
+ opening_times;
7
11
  }
8
12
  exports.RelayPoint = RelayPoint;
9
13
  //# sourceMappingURL=relay-point.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"relay-point.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAG1D,qDAAqD;AACrD,MAAa,UAAW,SAAQ,uCAAiB;CAKhD;AALD,gCAKC"}
1
+ {"version":3,"file":"relay-point.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point.ts"],"names":[],"mappings":";;;AAAA,+DAA0D;AAG1D,qDAAqD;AACrD,MAAa,UAAW,SAAQ,uCAAiB;IAC/C,KAAK,CAAU;IACf,SAAS,CAAU;IACnB,QAAQ,CAAU;IAClB,aAAa,CAAgB;CAC9B;AALD,gCAKC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResourceDownload = void 0;
4
4
  /** @description Basic structure for a resource to download */
5
5
  class ResourceDownload {
6
+ /** @deprecated This property is not used by the platform */
7
+ href;
8
+ /** @description Base64 encoded data for the resource */
9
+ data;
6
10
  }
7
11
  exports.ResourceDownload = ResourceDownload;
8
12
  //# sourceMappingURL=resource-download.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-download.js","sourceRoot":"","sources":["../../src/models/resource-download.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,MAAa,gBAAgB;CAK5B;AALD,4CAKC"}
1
+ {"version":3,"file":"resource-download.js","sourceRoot":"","sources":["../../src/models/resource-download.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,MAAa,gBAAgB;IAC3B,4DAA4D;IAC5D,IAAI,CAAU;IACd,wDAAwD;IACxD,IAAI,CAAU;CACf;AALD,4CAKC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HoursOfOperation = void 0;
4
4
  /** @description Indicates a specific time window that a service point is open */
5
5
  class HoursOfOperation {
6
+ /** @description The open time expressed in ISO 8601 time only format */
7
+ open;
8
+ /** @description The close time expressed in ISO 8601 time only format */
9
+ close;
6
10
  }
7
11
  exports.HoursOfOperation = HoursOfOperation;
8
12
  //# sourceMappingURL=hours-of-operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"hours-of-operation.js","sourceRoot":"","sources":["../../../src/models/service-points/hours-of-operation.ts"],"names":[],"mappings":";;;AAAA,iFAAiF;AACjF,MAAa,gBAAgB;CAK5B;AALD,4CAKC"}
1
+ {"version":3,"file":"hours-of-operation.js","sourceRoot":"","sources":["../../../src/models/service-points/hours-of-operation.ts"],"names":[],"mappings":";;;AAAA,iFAAiF;AACjF,MAAa,gBAAgB;IAC3B,wEAAwE;IACxE,IAAI,CAAU;IACd,yEAAyE;IACzE,KAAK,CAAU;CAChB;AALD,4CAKC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SearchRadius = void 0;
4
4
  /** @description Basic structure for service point search radius */
5
5
  class SearchRadius {
6
+ /** @description Search radius in miles */
7
+ radius_in_miles;
8
+ /** @description Search radius in kilometers */
9
+ radius_in_kilometers;
10
+ /** @description Search radius in the original unit */
11
+ source_radius;
12
+ /** @description Search radius unit */
13
+ source_radius_unit;
6
14
  }
7
15
  exports.SearchRadius = SearchRadius;
8
16
  //# sourceMappingURL=search-radius.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-radius.js","sourceRoot":"","sources":["../../../src/models/service-points/search-radius.ts"],"names":[],"mappings":";;;AAEA,mEAAmE;AACnE,MAAa,YAAY;CASxB;AATD,oCASC"}
1
+ {"version":3,"file":"search-radius.js","sourceRoot":"","sources":["../../../src/models/service-points/search-radius.ts"],"names":[],"mappings":";;;AAEA,mEAAmE;AACnE,MAAa,YAAY;IACvB,0CAA0C;IAC1C,eAAe,CAAU;IACzB,+CAA+C;IAC/C,oBAAoB,CAAU;IAC9B,sDAAsD;IACtD,aAAa,CAAU;IACvB,sCAAsC;IACtC,kBAAkB,CAAoB;CACvC;AATD,oCASC"}
@@ -4,6 +4,8 @@ exports.ServicePointResponseAddress = void 0;
4
4
  const service_point_address_1 = require("../addresses/service-point-address");
5
5
  /** @description The address information corresponding to a specific service point */
6
6
  class ServicePointResponseAddress extends service_point_address_1.ServicePointAddress {
7
+ /** @description Description of the location */
8
+ description;
7
9
  }
8
10
  exports.ServicePointResponseAddress = ServicePointResponseAddress;
9
11
  //# sourceMappingURL=service-point-response-address.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-point-response-address.js","sourceRoot":"","sources":["../../../src/models/service-points/service-point-response-address.ts"],"names":[],"mappings":";;;AAAA,8EAAyE;AAEzE,qFAAqF;AACrF,MAAa,2BAA4B,SAAQ,2CAAmB;CAGnE;AAHD,kEAGC"}
1
+ {"version":3,"file":"service-point-response-address.js","sourceRoot":"","sources":["../../../src/models/service-points/service-point-response-address.ts"],"names":[],"mappings":";;;AAAA,8EAAyE;AAEzE,qFAAqF;AACrF,MAAa,2BAA4B,SAAQ,2CAAmB;IAClE,+CAA+C;IAC/C,WAAW,CAAU;CACtB;AAHD,kEAGC"}
@@ -3,6 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ServicePoint = void 0;
4
4
  /** @description Basic structure for a service point */
5
5
  class ServicePoint {
6
+ /** @description The identifier for the carrier's service point */
7
+ service_point_id;
8
+ /** @description The address where the service point is located */
9
+ address;
10
+ /** @description Weekly hours of operation for the service point */
11
+ hours_of_operation;
12
+ /** @description Features supported by the service point */
13
+ features;
14
+ /** @description Location type like PUDOs, parcelshops, postoffices, lockers, retailers own stores etc. */
15
+ type;
6
16
  }
7
17
  exports.ServicePoint = ServicePoint;
8
18
  //# sourceMappingURL=service-point.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service-point.js","sourceRoot":"","sources":["../../../src/models/service-points/service-point.ts"],"names":[],"mappings":";;;AAKA,uDAAuD;AACvD,MAAa,YAAY;CAWxB;AAXD,oCAWC"}
1
+ {"version":3,"file":"service-point.js","sourceRoot":"","sources":["../../../src/models/service-points/service-point.ts"],"names":[],"mappings":";;;AAKA,uDAAuD;AACvD,MAAa,YAAY;IACvB,kEAAkE;IAClE,gBAAgB,CAAU;IAC1B,kEAAkE;IAClE,OAAO,CAA+B;IACtC,mEAAmE;IACnE,kBAAkB,CAA0B;IAC5C,2DAA2D;IAC3D,QAAQ,CAA8B;IACtC,0GAA0G;IAC1G,IAAI,CAAgC;CACrC;AAXD,oCAWC"}
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WeeklyHoursOfOperation = void 0;
4
4
  /** @description The times during the week that the relay point is open */
5
5
  class WeeklyHoursOfOperation {
6
+ monday;
7
+ tuesday;
8
+ wednesday;
9
+ thursday;
10
+ friday;
11
+ saturday;
12
+ sunday;
6
13
  }
7
14
  exports.WeeklyHoursOfOperation = WeeklyHoursOfOperation;
8
15
  //# sourceMappingURL=weekly-hours-of-operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"weekly-hours-of-operation.js","sourceRoot":"","sources":["../../../src/models/service-points/weekly-hours-of-operation.ts"],"names":[],"mappings":";;;AAEA,0EAA0E;AAC1E,MAAa,sBAAsB;CAQlC;AARD,wDAQC"}
1
+ {"version":3,"file":"weekly-hours-of-operation.js","sourceRoot":"","sources":["../../../src/models/service-points/weekly-hours-of-operation.ts"],"names":[],"mappings":";;;AAEA,0EAA0E;AAC1E,MAAa,sBAAsB;IACjC,MAAM,CAAsB;IAC5B,OAAO,CAAsB;IAC7B,SAAS,CAAsB;IAC/B,QAAQ,CAAsB;IAC9B,MAAM,CAAsB;IAC5B,QAAQ,CAAsB;IAC9B,MAAM,CAAsB;CAC7B;AARD,wDAQC"}
@@ -3,6 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TaxIdentifier = void 0;
4
4
  /** @description Entity representing a Tax Identification number, type, and country of registration */
5
5
  class TaxIdentifier {
6
+ /** @description Identification number */
7
+ id;
8
+ /** @description The Tax ID type */
9
+ type;
10
+ /** @deprecated This property has been deprecated, please use registration_country instead */
11
+ registration_county;
12
+ /** @description The country where the Tax ID is registered with */
13
+ registration_country;
14
+ /** @description Description of the tax ID that may give the customs agent more context */
15
+ description;
6
16
  }
7
17
  exports.TaxIdentifier = TaxIdentifier;
8
18
  //# sourceMappingURL=tax-identifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tax-identifier.js","sourceRoot":"","sources":["../../../src/models/taxes/tax-identifier.ts"],"names":[],"mappings":";;;AAEA,sGAAsG;AACtG,MAAa,aAAa;CAWzB;AAXD,sCAWC"}
1
+ {"version":3,"file":"tax-identifier.js","sourceRoot":"","sources":["../../../src/models/taxes/tax-identifier.ts"],"names":[],"mappings":";;;AAEA,sGAAsG;AACtG,MAAa,aAAa;IACxB,yCAAyC;IACzC,EAAE,CAAU;IACZ,mCAAmC;IACnC,IAAI,CAAqB;IACzB,6FAA6F;IAC7F,mBAAmB,CAAU;IAC7B,mEAAmE;IACnE,oBAAoB,CAAU;IAC9B,0FAA0F;IAC1F,WAAW,CAAU;CACtB;AAXD,sCAWC"}
@@ -3,6 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TimeWindow = void 0;
4
4
  /** @description Basic structure for defining a time window */
5
5
  class TimeWindow {
6
+ /** @description The local time zone represented in IANA. See https://www.iana.org/time-zones.
7
+ * Example: America/Chicago
8
+ */
9
+ time_zone_iana;
10
+ /** @description The start of the window when the pickup could be made relative to the time_zone_iana.
11
+ * ISO 8601 format, with local offset
12
+ * Example: 2021-08-20T14:38:36.859237-05:00
13
+ */
14
+ start_window;
15
+ /** @description The end of the window when the pickup could be made relative to the time_zone_iana.
16
+ * ISO 8601 format, with local offset
17
+ * Example: 2021-08-20T14:38:36.859237-05:00
18
+ */
19
+ end_window;
6
20
  }
7
21
  exports.TimeWindow = TimeWindow;
8
22
  //# sourceMappingURL=time-window.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"time-window.js","sourceRoot":"","sources":["../../src/models/time-window.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,MAAa,UAAU;CAetB;AAfD,gCAeC"}
1
+ {"version":3,"file":"time-window.js","sourceRoot":"","sources":["../../src/models/time-window.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,MAAa,UAAU;IACrB;;OAEG;IACH,cAAc,CAAU;IACxB;;;OAGG;IACH,YAAY,CAAU;IACtB;;;OAGG;IACH,UAAU,CAAU;CACrB;AAfD,gCAeC"}
@@ -2,6 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ImportedTrackingEvent = void 0;
4
4
  class ImportedTrackingEvent {
5
+ /** @description The tracking information for the shipment */
6
+ tracking_info;
7
+ /**
8
+ * @description Optional method for updating the tracking information state, i.e. is the returned
9
+ * information the complete state of the package or should it be appended to the existing state.
10
+ * Defaults to `append` if not specified.
11
+ */
12
+ update_method;
13
+ /** @description Any error messages resulting from processing the tracking event */
14
+ error_messages;
15
+ /** @description Any warning messages resulting from processing the tracking event */
16
+ warning_messages;
5
17
  }
6
18
  exports.ImportedTrackingEvent = ImportedTrackingEvent;
7
19
  //# sourceMappingURL=imported-tracking-event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"imported-tracking-event.js","sourceRoot":"","sources":["../../../src/models/tracking/imported-tracking-event.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;CAajC;AAbD,sDAaC"}
1
+ {"version":3,"file":"imported-tracking-event.js","sourceRoot":"","sources":["../../../src/models/tracking/imported-tracking-event.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;IAChC,6DAA6D;IAC7D,aAAa,CAAgB;IAC7B;;;;OAIG;IACH,aAAa,CAAiB;IAC9B,mFAAmF;IACnF,cAAc,CAAY;IAC1B,qFAAqF;IACrF,gBAAgB,CAAY;CAC7B;AAbD,sDAaC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LatLong = void 0;
4
4
  /** @description Latitude and longitude */
5
5
  class LatLong {
6
+ /** @description The latitude of the point. Represented as signed degrees. http://www.geomidpoint.com/latlon.html */
7
+ lat;
8
+ /** @description The longitude of the point. Represented as signed degrees http://www.geomidpoint.com/latlon.html */
9
+ long;
6
10
  }
7
11
  exports.LatLong = LatLong;
8
12
  //# sourceMappingURL=lat-long.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lat-long.js","sourceRoot":"","sources":["../../../src/models/tracking/lat-long.ts"],"names":[],"mappings":";;;AAAA,0CAA0C;AAC1C,MAAa,OAAO;CAKnB;AALD,0BAKC"}
1
+ {"version":3,"file":"lat-long.js","sourceRoot":"","sources":["../../../src/models/tracking/lat-long.ts"],"names":[],"mappings":";;;AAAA,0CAA0C;AAC1C,MAAa,OAAO;IAClB,oHAAoH;IACpH,GAAG,CAAU;IACb,oHAAoH;IACpH,IAAI,CAAU;CACf;AALD,0BAKC"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Service = void 0;
4
4
  /** @description Basic structure for a tracking service */
5
5
  class Service {
6
+ /** @description The code specific to a shipping provider service. */
7
+ code;
8
+ /** @description The name of this shipping provider service. */
9
+ name;
6
10
  }
7
11
  exports.Service = Service;
8
12
  //# sourceMappingURL=service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/models/tracking/service.ts"],"names":[],"mappings":";;;AAAA,0DAA0D;AAC1D,MAAa,OAAO;CAKnB;AALD,0BAKC"}
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/models/tracking/service.ts"],"names":[],"mappings":";;;AAAA,0DAA0D;AAC1D,MAAa,OAAO;IAClB,qEAAqE;IACrE,IAAI,CAAU;IACd,+DAA+D;IAC/D,IAAI,CAAU;CACf;AALD,0BAKC"}
@@ -3,6 +3,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrackEvent = void 0;
4
4
  /** @description Basic structure for tracking events */
5
5
  class TrackEvent {
6
+ /** @description When this tracking event occurred. Formatted per https://tools.ietf.org/html/rfc3339. Must be in UTC. */
7
+ event_datetime;
8
+ /** @description Most providers do not provide tracking events in UTC, and without time zone or geo information its hard to deduce. */
9
+ event_datetime_local;
10
+ /** @description Carrier's specific event code */
11
+ event_code;
12
+ /** @description Description of the package status at this event */
13
+ description;
14
+ /** @description City or Locality for this event */
15
+ city;
16
+ /** @description State or province */
17
+ state;
18
+ /** @description Zip or postal code */
19
+ postal_code;
20
+ /** @description Country for this event */
21
+ country;
22
+ /** @description The name of the company this is being delivered to */
23
+ company;
24
+ /** @description If the event had a signer associated, normally on delivery */
25
+ signer;
26
+ /** @description Geographical location */
27
+ geo;
28
+ /** @description This represents the ShipEngine supported status codes for a shipment. UN - Unknown AC - Accepted IT - In Transit DE - Delivered EX - Exception AT - Delivery Attempted NY - Not Yet In System */
29
+ status_code;
6
30
  }
7
31
  exports.TrackEvent = TrackEvent;
8
32
  //# sourceMappingURL=track-event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"track-event.js","sourceRoot":"","sources":["../../../src/models/tracking/track-event.ts"],"names":[],"mappings":";;;AAGA,uDAAuD;AACvD,MAAa,UAAU;CAyBtB;AAzBD,gCAyBC"}
1
+ {"version":3,"file":"track-event.js","sourceRoot":"","sources":["../../../src/models/tracking/track-event.ts"],"names":[],"mappings":";;;AAGA,uDAAuD;AACvD,MAAa,UAAU;IACrB,yHAAyH;IACzH,cAAc,CAAU;IACxB,sIAAsI;IACtI,oBAAoB,CAAU;IAC9B,iDAAiD;IACjD,UAAU,CAAU;IACpB,mEAAmE;IACnE,WAAW,CAAU;IACrB,mDAAmD;IACnD,IAAI,CAAU;IACd,qCAAqC;IACrC,KAAK,CAAU;IACf,sCAAsC;IACtC,WAAW,CAAU;IACrB,0CAA0C;IAC1C,OAAO,CAAU;IACjB,sEAAsE;IACtE,OAAO,CAAU;IACjB,8EAA8E;IAC9E,MAAM,CAAU;IAChB,yCAAyC;IACzC,GAAG,CAAW;IACd,iNAAiN;IACjN,WAAW,CAA2B;CACvC;AAzBD,gCAyBC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrackingAttribute = void 0;
4
4
  /** @description Attributes from the shipping provider about a shipment necessary for tracking */
5
5
  class TrackingAttribute {
6
+ type;
7
+ value;
6
8
  }
7
9
  exports.TrackingAttribute = TrackingAttribute;
8
10
  //# sourceMappingURL=tracking-attribute.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracking-attribute.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-attribute.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACjG,MAAa,iBAAiB;CAG7B;AAHD,8CAGC"}
1
+ {"version":3,"file":"tracking-attribute.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-attribute.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACjG,MAAa,iBAAiB;IAC5B,IAAI,CAAU;IACd,KAAK,CAAU;CAChB;AAHD,8CAGC"}
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrackingIdentifier = void 0;
4
4
  /** @description Key value pair to allow for custom attributes required for tracking */
5
5
  class TrackingIdentifier {
6
+ type;
7
+ value;
6
8
  }
7
9
  exports.TrackingIdentifier = TrackingIdentifier;
8
10
  //# sourceMappingURL=tracking-identifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracking-identifier.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-identifier.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AACvF,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
1
+ {"version":3,"file":"tracking-identifier.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-identifier.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AACvF,MAAa,kBAAkB;IAC7B,IAAI,CAAU;IACd,KAAK,CAAU;CAChB;AAHD,gDAGC"}
@@ -3,6 +3,42 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrackingInfo = void 0;
4
4
  /** @description Basic structure for tracking information */
5
5
  class TrackingInfo {
6
+ /** @description The human readable name of the carrier tracking this shipment. */
7
+ carrier_name;
8
+ /** @description The carrier specific tracking identifier for this shipment. */
9
+ tracking_number;
10
+ /** @description This represents the ShipEngine supported status codes for a shipment. UN - Unknown AC - Accepted IT - In Transit DE - Delivered EX - Exception AT - Delivery Attempted NY - Not Yet In System */
11
+ standardized_status_code;
12
+ /** @description The carrier specific status code of this shipment's tracking status. */
13
+ carrier_status_code;
14
+ /** @description The human readable description of this shipment's tracking status. */
15
+ carrier_status_description;
16
+ /** @description When the package(s) in this shipment were turned over to the carrier. Formatted per https://tools.ietf.org/html/rfc3339. Must be in UTC. */
17
+ shipped_datetime;
18
+ /** @description When the package(s) in this shipment are expected to arrive at their destination. Formatted per https://tools.ietf.org/html/rfc3339. Must be in UTC. */
19
+ estimated_delivery_datetime;
20
+ /** @description When the package(s) in this shipment arrived at their destination. Formatted per https://tools.ietf.org/html/rfc3339. Must be in UTC. */
21
+ actual_delivery_datetime;
22
+ /** @description A human readable description of why the shipment is in an error state. */
23
+ shipping_problem_description;
24
+ /** @description The weight measured by the carrier of the package(s) in this shipment. */
25
+ weight;
26
+ /** @description The dimensions measured by the carrier of the package(s) in this shipment. */
27
+ dimensions;
28
+ /** @description A shipping provider specific service. */
29
+ service;
30
+ /** @description The carrier packaging code. */
31
+ packaging;
32
+ /** @description The carrier observed count of packages in this shipment. */
33
+ package_count;
34
+ /** @description A list of tracking events for this shipment */
35
+ events;
36
+ /** @description Whether or not this shipment has entered an error state. */
37
+ shipping_problem;
38
+ /** @description The unique identifying code for the type of error encountered by this shipment. */
39
+ shipping_problem_code;
40
+ /** @description The human readable explanation of the error encountered by this shipment. */
41
+ error_description;
6
42
  }
7
43
  exports.TrackingInfo = TrackingInfo;
8
44
  //# sourceMappingURL=tracking-info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracking-info.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-info.ts"],"names":[],"mappings":";;;AAKA,4DAA4D;AAC5D,MAAa,YAAY;CAqCxB;AArCD,oCAqCC"}
1
+ {"version":3,"file":"tracking-info.js","sourceRoot":"","sources":["../../../src/models/tracking/tracking-info.ts"],"names":[],"mappings":";;;AAKA,4DAA4D;AAC5D,MAAa,YAAY;IACvB,kFAAkF;IAClF,YAAY,CAAU;IACtB,+EAA+E;IAC/E,eAAe,CAAU;IACzB,iNAAiN;IACjN,wBAAwB,CAA2B;IACnD,wFAAwF;IACxF,mBAAmB,CAAU;IAC7B,sFAAsF;IACtF,0BAA0B,CAAU;IACpC,4JAA4J;IAC5J,gBAAgB,CAAU;IAC1B,wKAAwK;IACxK,2BAA2B,CAAU;IACrC,yJAAyJ;IACzJ,wBAAwB,CAAU;IAClC,0FAA0F;IAC1F,4BAA4B,CAAU;IACtC,0FAA0F;IAC1F,MAAM,CAAU;IAChB,8FAA8F;IAC9F,UAAU,CAAc;IACxB,yDAAyD;IACzD,OAAO,CAAW;IAClB,+CAA+C;IAC/C,SAAS,CAAU;IACnB,4EAA4E;IAC5E,aAAa,CAAU;IACvB,+DAA+D;IAC/D,MAAM,CAAgB;IACtB,4EAA4E;IAC5E,gBAAgB,CAAW;IAC3B,mGAAmG;IACnG,qBAAqB,CAAU;IAC/B,6FAA6F;IAC7F,iBAAiB,CAAU;CAC5B;AArCD,oCAqCC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DimensionDetails = void 0;
4
4
  /** @description Basic structure for package dimensions */
5
5
  class DimensionDetails {
6
+ /** @description This contains information about the dimensions in centimeters. This will always be present on the request */
7
+ dimensions_in_centimeters;
8
+ /** @description This contains information about the dimensions in inches. This will always be present on the request */
9
+ dimensions_in_inches;
10
+ /** @description This contains information about the dimensions in the source units. This will always be present on the request */
11
+ source_dimensions;
12
+ /** @description The source units the customer provided */
13
+ source_dimension_unit;
6
14
  }
7
15
  exports.DimensionDetails = DimensionDetails;
8
16
  //# sourceMappingURL=dimension-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dimension-details.js","sourceRoot":"","sources":["../../../src/models/units/dimension-details.ts"],"names":[],"mappings":";;;AAGA,0DAA0D;AAC1D,MAAa,gBAAgB;CAS5B;AATD,4CASC"}
1
+ {"version":3,"file":"dimension-details.js","sourceRoot":"","sources":["../../../src/models/units/dimension-details.ts"],"names":[],"mappings":";;;AAGA,0DAA0D;AAC1D,MAAa,gBAAgB;IAC3B,6HAA6H;IAC7H,yBAAyB,CAAc;IACvC,wHAAwH;IACxH,oBAAoB,CAAc;IAClC,kIAAkI;IAClI,iBAAiB,CAAc;IAC/B,0DAA0D;IAC1D,qBAAqB,CAAiB;CACvC;AATD,4CASC"}
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Dimensions = void 0;
4
4
  /** @description Basic structure for dimensions */
5
5
  class Dimensions {
6
+ length;
7
+ width;
8
+ height;
6
9
  }
7
10
  exports.Dimensions = Dimensions;
8
11
  //# sourceMappingURL=dimensions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dimensions.js","sourceRoot":"","sources":["../../../src/models/units/dimensions.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,MAAa,UAAU;CAItB;AAJD,gCAIC"}
1
+ {"version":3,"file":"dimensions.js","sourceRoot":"","sources":["../../../src/models/units/dimensions.ts"],"names":[],"mappings":";;;AAAA,kDAAkD;AAClD,MAAa,UAAU;IACrB,MAAM,CAAU;IAChB,KAAK,CAAU;IACf,MAAM,CAAU;CACjB;AAJD,gCAIC"}
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WeightDetails = void 0;
4
4
  /** @description Basic structure for weight */
5
5
  class WeightDetails {
6
+ /** @description This contains information about the weight in ounces. This will always be present on the request */
7
+ weight_in_ounces;
8
+ /** @description This contains information about the weight in grams. This will always be present on the request */
9
+ weight_in_grams;
10
+ /** @description This contains information about the weight in source unit. This will always be present on the request */
11
+ source_weight;
12
+ /** @description The source units the customer provided */
13
+ source_weight_unit;
6
14
  }
7
15
  exports.WeightDetails = WeightDetails;
8
16
  //# sourceMappingURL=weight-details.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"weight-details.js","sourceRoot":"","sources":["../../../src/models/units/weight-details.ts"],"names":[],"mappings":";;;AAEA,8CAA8C;AAC9C,MAAa,aAAa;CASzB;AATD,sCASC"}
1
+ {"version":3,"file":"weight-details.js","sourceRoot":"","sources":["../../../src/models/units/weight-details.ts"],"names":[],"mappings":";;;AAEA,8CAA8C;AAC9C,MAAa,aAAa;IACxB,oHAAoH;IACpH,gBAAgB,CAAU;IAC1B,mHAAmH;IACnH,eAAe,CAAU;IACzB,yHAAyH;IACzH,aAAa,CAAU;IACvB,0DAA0D;IAC1D,kBAAkB,CAAc;CACjC;AATD,sCASC"}
@@ -2,6 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BaseRequest = void 0;
4
4
  class BaseRequest {
5
+ transaction_id;
6
+ authorization;
7
+ metadata;
5
8
  }
6
9
  exports.BaseRequest = BaseRequest;
7
10
  //# sourceMappingURL=base-request.js.map