@shipengine/connect-carrier-api 4.0.1 → 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.
- package/lib/app/build-app-deployment.js +3 -3
- package/lib/app/build-app-deployment.js.map +1 -1
- package/lib/app/carrier-app-definition.d.ts +1 -0
- package/lib/app/metadata/auth-identifier.js +3 -0
- package/lib/app/metadata/auth-identifier.js.map +1 -1
- package/lib/app/metadata/auth-specification.js +12 -0
- package/lib/app/metadata/auth-specification.js.map +1 -1
- package/lib/app/metadata/monoauth.js +68 -0
- package/lib/app/metadata/monoauth.js.map +1 -1
- package/lib/app/native-rating-data-validator.js +3 -4
- package/lib/app/native-rating-data-validator.js.map +1 -1
- package/lib/models/addresses/address-base.js +30 -0
- package/lib/models/addresses/address-base.js.map +1 -1
- package/lib/models/addresses/pudo-location.js +4 -0
- package/lib/models/addresses/pudo-location.js.map +1 -1
- package/lib/models/addresses/service-point-address.js +2 -0
- package/lib/models/addresses/service-point-address.js.map +1 -1
- package/lib/models/addresses/ship-from.js +2 -0
- package/lib/models/addresses/ship-from.js.map +1 -1
- package/lib/models/addresses/ship-to.js +2 -0
- package/lib/models/addresses/ship-to.js.map +1 -1
- package/lib/models/advanced-options.js +16 -0
- package/lib/models/advanced-options.js.map +1 -1
- package/lib/models/authorization.js +4 -0
- package/lib/models/authorization.js.map +1 -1
- package/lib/models/bill-to.js +4 -0
- package/lib/models/bill-to.js.map +1 -1
- package/lib/models/billing/billing-line-item.js +12 -0
- package/lib/models/billing/billing-line-item.js.map +1 -1
- package/lib/models/collect-on-delivery.js +4 -0
- package/lib/models/collect-on-delivery.js.map +1 -1
- package/lib/models/currency.js +4 -0
- package/lib/models/currency.js.map +1 -1
- package/lib/models/customs/customs-charges.js +10 -0
- package/lib/models/customs/customs-charges.js.map +1 -1
- package/lib/models/customs/customs-item.js +22 -0
- package/lib/models/customs/customs-item.js.map +1 -1
- package/lib/models/customs/customs.js +20 -0
- package/lib/models/customs/customs.js.map +1 -1
- package/lib/models/documents/document.js +6 -0
- package/lib/models/documents/document.js.map +1 -1
- package/lib/models/errors/detailed-error.js +5 -0
- package/lib/models/errors/detailed-error.js.map +1 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-details.js +6 -0
- package/lib/models/fulfillment-plans/fulfillment-plan-details.js.map +1 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-items.js +8 -0
- package/lib/models/fulfillment-plans/fulfillment-plan-items.js.map +1 -1
- package/lib/models/fulfillment-plans/raw-external-source.js +2 -0
- package/lib/models/fulfillment-plans/raw-external-source.js.map +1 -1
- package/lib/models/identifier.js +2 -0
- package/lib/models/identifier.js.map +1 -1
- package/lib/models/importer-records/importer-of-record.js +22 -0
- package/lib/models/importer-records/importer-of-record.js.map +1 -1
- package/lib/models/labels/form-download.js +2 -0
- package/lib/models/labels/form-download.js.map +1 -1
- package/lib/models/labels/label-download.js +2 -0
- package/lib/models/labels/label-download.js.map +1 -1
- package/lib/models/labels/label-message.js +3 -0
- package/lib/models/labels/label-message.js.map +1 -1
- package/lib/models/labels/label-package.js +6 -0
- package/lib/models/labels/label-package.js.map +1 -1
- package/lib/models/labels/return-label-details.js +2 -0
- package/lib/models/labels/return-label-details.js.map +1 -1
- package/lib/models/labels/void-request.js +4 -0
- package/lib/models/labels/void-request.js.map +1 -1
- package/lib/models/labels/void-response.js +8 -0
- package/lib/models/labels/void-response.js.map +1 -1
- package/lib/models/manifests/label.js +4 -0
- package/lib/models/manifests/label.js.map +1 -1
- package/lib/models/manifests/manifest-request-shipment.js +1 -0
- package/lib/models/manifests/manifest-request-shipment.js.map +1 -1
- package/lib/models/manifests/manifest.js +9 -0
- package/lib/models/manifests/manifest.js.map +1 -1
- package/lib/models/package.js +14 -0
- package/lib/models/package.js.map +1 -1
- package/lib/models/pickup/cancellation-details.js +6 -0
- package/lib/models/pickup/cancellation-details.js.map +1 -1
- package/lib/models/pickup/pickup-confirmation.js +6 -0
- package/lib/models/pickup/pickup-confirmation.js.map +1 -1
- package/lib/models/pickup/pickup-contact-details.js +10 -0
- package/lib/models/pickup/pickup-contact-details.js.map +1 -1
- package/lib/models/pickup/pickup-location-details.js +6 -0
- package/lib/models/pickup/pickup-location-details.js.map +1 -1
- package/lib/models/pickup/pickup-package.js +14 -0
- package/lib/models/pickup/pickup-package.js.map +1 -1
- package/lib/models/pickup/pickup-shipment-details.js +4 -0
- package/lib/models/pickup/pickup-shipment-details.js.map +1 -1
- package/lib/models/pickup/pickup-window.js +8 -0
- package/lib/models/pickup/pickup-window.js.map +1 -1
- package/lib/models/pickup/shipment-identifier.js +4 -0
- package/lib/models/pickup/shipment-identifier.js.map +1 -1
- package/lib/models/pickup/shipped-package.js +20 -0
- package/lib/models/pickup/shipped-package.js.map +1 -1
- package/lib/models/pickup/shipped-shipment.d.ts +0 -2
- package/lib/models/pickup/shipped-shipment.js +12 -0
- package/lib/models/pickup/shipped-shipment.js.map +1 -1
- package/lib/models/rates/rate.js +26 -0
- package/lib/models/rates/rate.js.map +1 -1
- package/lib/models/registration/credentials.js +4 -0
- package/lib/models/registration/credentials.js.map +1 -1
- package/lib/models/relay-points/opening-times.js +7 -0
- package/lib/models/relay-points/opening-times.js.map +1 -1
- package/lib/models/relay-points/relay-point-address.js +7 -0
- package/lib/models/relay-points/relay-point-address.js.map +1 -1
- package/lib/models/relay-points/relay-point-details.js +2 -0
- package/lib/models/relay-points/relay-point-details.js.map +1 -1
- package/lib/models/relay-points/relay-point.js +4 -0
- package/lib/models/relay-points/relay-point.js.map +1 -1
- package/lib/models/resource-download.js +4 -0
- package/lib/models/resource-download.js.map +1 -1
- package/lib/models/service-points/hours-of-operation.js +4 -0
- package/lib/models/service-points/hours-of-operation.js.map +1 -1
- package/lib/models/service-points/search-radius.js +8 -0
- package/lib/models/service-points/search-radius.js.map +1 -1
- package/lib/models/service-points/service-point-response-address.js +2 -0
- package/lib/models/service-points/service-point-response-address.js.map +1 -1
- package/lib/models/service-points/service-point.js +10 -0
- package/lib/models/service-points/service-point.js.map +1 -1
- package/lib/models/service-points/weekly-hours-of-operation.js +7 -0
- package/lib/models/service-points/weekly-hours-of-operation.js.map +1 -1
- package/lib/models/taxes/tax-identifier.js +10 -0
- package/lib/models/taxes/tax-identifier.js.map +1 -1
- package/lib/models/time-window.js +14 -0
- package/lib/models/time-window.js.map +1 -1
- package/lib/models/tracking/imported-tracking-event.js +12 -0
- package/lib/models/tracking/imported-tracking-event.js.map +1 -1
- package/lib/models/tracking/lat-long.js +4 -0
- package/lib/models/tracking/lat-long.js.map +1 -1
- package/lib/models/tracking/service.js +4 -0
- package/lib/models/tracking/service.js.map +1 -1
- package/lib/models/tracking/track-event.js +24 -0
- package/lib/models/tracking/track-event.js.map +1 -1
- package/lib/models/tracking/tracking-attribute.js +2 -0
- package/lib/models/tracking/tracking-attribute.js.map +1 -1
- package/lib/models/tracking/tracking-identifier.js +2 -0
- package/lib/models/tracking/tracking-identifier.js.map +1 -1
- package/lib/models/tracking/tracking-info.js +36 -0
- package/lib/models/tracking/tracking-info.js.map +1 -1
- package/lib/models/units/dimension-details.js +8 -0
- package/lib/models/units/dimension-details.js.map +1 -1
- package/lib/models/units/dimensions.js +3 -0
- package/lib/models/units/dimensions.js.map +1 -1
- package/lib/models/units/weight-details.js +8 -0
- package/lib/models/units/weight-details.js.map +1 -1
- package/lib/requests/base-request.js +3 -0
- package/lib/requests/base-request.js.map +1 -1
- package/lib/requests/cancel-notification-request.js +4 -0
- package/lib/requests/cancel-notification-request.js.map +1 -1
- package/lib/requests/cancel-pickup-request.js +7 -0
- package/lib/requests/cancel-pickup-request.js.map +1 -1
- package/lib/requests/create-label-request.js +35 -0
- package/lib/requests/create-label-request.js.map +1 -1
- package/lib/requests/create-manifest-request.js +6 -0
- package/lib/requests/create-manifest-request.js.map +1 -1
- package/lib/requests/create-notification-request.js +6 -0
- package/lib/requests/create-notification-request.js.map +1 -1
- package/lib/requests/get-manifest-request.js +10 -0
- package/lib/requests/get-manifest-request.js.map +1 -1
- package/lib/requests/get-rates-request.js +20 -0
- package/lib/requests/get-rates-request.js.map +1 -1
- package/lib/requests/get-relay-points-request.js +4 -0
- package/lib/requests/get-relay-points-request.js.map +1 -1
- package/lib/requests/get-service-point-request.js +4 -0
- package/lib/requests/get-service-point-request.js.map +1 -1
- package/lib/requests/get-service-points-request.js +8 -0
- package/lib/requests/get-service-points-request.js.map +1 -1
- package/lib/requests/register-request.js +1 -0
- package/lib/requests/register-request.js.map +1 -1
- package/lib/requests/schedule-pickup-request.js +4 -0
- package/lib/requests/schedule-pickup-request.js.map +1 -1
- package/lib/requests/tracking-request.js +4 -0
- package/lib/requests/tracking-request.js.map +1 -1
- package/lib/requests/void-labels-request.js +2 -0
- package/lib/requests/void-labels-request.js.map +1 -1
- package/lib/responses/base-response.js +1 -0
- package/lib/responses/base-response.js.map +1 -1
- package/lib/responses/cancel-notification-response.js +4 -0
- package/lib/responses/cancel-notification-response.js.map +1 -1
- package/lib/responses/cancel-pickup-response.js +4 -0
- package/lib/responses/cancel-pickup-response.js.map +1 -1
- package/lib/responses/create-label-response.js +17 -0
- package/lib/responses/create-label-response.js.map +1 -1
- package/lib/responses/create-manifest-response.js +8 -0
- package/lib/responses/create-manifest-response.js.map +1 -1
- package/lib/responses/create-notification-response.js +3 -0
- package/lib/responses/create-notification-response.js.map +1 -1
- package/lib/responses/error-response.js +1 -0
- package/lib/responses/error-response.js.map +1 -1
- package/lib/responses/get-rates-response.js +1 -0
- package/lib/responses/get-rates-response.js.map +1 -1
- package/lib/responses/get-relay-points-response.js +1 -0
- package/lib/responses/get-relay-points-response.js.map +1 -1
- package/lib/responses/get-service-point-response.js +2 -0
- package/lib/responses/get-service-point-response.js.map +1 -1
- package/lib/responses/get-service-points-response.js +2 -0
- package/lib/responses/get-service-points-response.js.map +1 -1
- package/lib/responses/normalize-tracking-data-response.js +7 -0
- package/lib/responses/normalize-tracking-data-response.js.map +1 -1
- package/lib/responses/register-response.js +2 -0
- package/lib/responses/register-response.js.map +1 -1
- package/lib/responses/schedule-pickup-response.js +5 -0
- package/lib/responses/schedule-pickup-response.js.map +1 -1
- package/lib/responses/tracking-response.js +1 -0
- package/lib/responses/tracking-response.js.map +1 -1
- package/lib/responses/validate-inbound-data-response.js +2 -0
- package/lib/responses/validate-inbound-data-response.js.map +1 -1
- package/lib/responses/void-labels-response.js +2 -0
- package/lib/responses/void-labels-response.js.map +1 -1
- package/package.json +3 -3
- package/src/app/carrier-app-definition.ts +1 -0
- package/src/models/pickup/shipped-shipment.ts +0 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-request.js","sourceRoot":"","sources":["../../src/requests/base-request.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"base-request.js","sourceRoot":"","sources":["../../src/requests/base-request.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;IACtB,cAAc,CAAU;IACxB,aAAa,CAAiB;IAC9B,QAAQ,CAA0B;CACnC;AAJD,kCAIC"}
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CancelNotificationRequest = void 0;
|
|
4
4
|
const base_request_1 = require("./base-request");
|
|
5
5
|
class CancelNotificationRequest extends base_request_1.BaseRequest {
|
|
6
|
+
/** @description The id of the notification */
|
|
7
|
+
notification_id;
|
|
8
|
+
/** @description The shipment to which the notification pertains */
|
|
9
|
+
shipment_information;
|
|
6
10
|
}
|
|
7
11
|
exports.CancelNotificationRequest = CancelNotificationRequest;
|
|
8
12
|
//# sourceMappingURL=cancel-notification-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-notification-request.js","sourceRoot":"","sources":["../../src/requests/cancel-notification-request.ts"],"names":[],"mappings":";;;AACA,iDAA6C;AAE7C,MAAa,yBAA0B,SAAQ,0BAAW;
|
|
1
|
+
{"version":3,"file":"cancel-notification-request.js","sourceRoot":"","sources":["../../src/requests/cancel-notification-request.ts"],"names":[],"mappings":";;;AACA,iDAA6C;AAE7C,MAAa,yBAA0B,SAAQ,0BAAW;IACxD,8CAA8C;IAC9C,eAAe,CAAU;IACzB,mEAAmE;IACnE,oBAAoB,CAAmB;CACxC;AALD,8DAKC"}
|
|
@@ -4,6 +4,13 @@ exports.CancelPickupRequest = void 0;
|
|
|
4
4
|
const base_request_1 = require("./base-request");
|
|
5
5
|
/** @description Basic structure for a request to cancel pickup */
|
|
6
6
|
class CancelPickupRequest extends base_request_1.BaseRequest {
|
|
7
|
+
confirmation;
|
|
8
|
+
location;
|
|
9
|
+
cancellation_details;
|
|
10
|
+
contact;
|
|
11
|
+
pickup_details;
|
|
12
|
+
pickup_windows;
|
|
13
|
+
custom_properties;
|
|
7
14
|
}
|
|
8
15
|
exports.CancelPickupRequest = CancelPickupRequest;
|
|
9
16
|
//# sourceMappingURL=cancel-pickup-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-pickup-request.js","sourceRoot":"","sources":["../../src/requests/cancel-pickup-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAU7C,kEAAkE;AAClE,MAAa,mBAAoB,SAAQ,0BAAW;
|
|
1
|
+
{"version":3,"file":"cancel-pickup-request.js","sourceRoot":"","sources":["../../src/requests/cancel-pickup-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAU7C,kEAAkE;AAClE,MAAa,mBAAoB,SAAQ,0BAAW;IAClD,YAAY,CAAsB;IAClC,QAAQ,CAAyB;IACjC,oBAAoB,CAAuB;IAC3C,OAAO,CAAwB;IAC/B,cAAc,CAAyB;IACvC,cAAc,CAAkB;IAChC,iBAAiB,CAA6B;CAC/C;AARD,kDAQC"}
|
|
@@ -4,6 +4,41 @@ exports.CreateLabelRequest = void 0;
|
|
|
4
4
|
const base_request_1 = require("./base-request");
|
|
5
5
|
/** @description Basic structure for a request to create a label */
|
|
6
6
|
class CreateLabelRequest extends base_request_1.BaseRequest {
|
|
7
|
+
service_code;
|
|
8
|
+
ship_datetime;
|
|
9
|
+
confirmation;
|
|
10
|
+
label_format;
|
|
11
|
+
label_layout;
|
|
12
|
+
/** @description Whether the request is for a test */
|
|
13
|
+
is_test_label;
|
|
14
|
+
/** @description Any additional options a shipment may require, including custom options */
|
|
15
|
+
advanced_options;
|
|
16
|
+
insurance_provider;
|
|
17
|
+
/** @description Whether the shipment is a return */
|
|
18
|
+
is_return_label;
|
|
19
|
+
packages;
|
|
20
|
+
ship_to;
|
|
21
|
+
ship_from;
|
|
22
|
+
pickup_location;
|
|
23
|
+
relay_points;
|
|
24
|
+
ship_from_display;
|
|
25
|
+
/** @description Whether the shipment requires next day shipping */
|
|
26
|
+
next_day;
|
|
27
|
+
/** @description Whether the shipment is international */
|
|
28
|
+
international;
|
|
29
|
+
reference;
|
|
30
|
+
return_details;
|
|
31
|
+
fulfillment_plan_details;
|
|
32
|
+
attachments;
|
|
33
|
+
/** @description The carrier pickup window is the time designated when the carrier will pickup your package from the initial location */
|
|
34
|
+
carrier_pickup_window;
|
|
35
|
+
/** @description Unique identifier for the carrier rate */
|
|
36
|
+
carrier_rate_id;
|
|
37
|
+
/** @description Display schemes that the label will be returned in. Label is returned by default */
|
|
38
|
+
display_schemes;
|
|
39
|
+
customs;
|
|
40
|
+
/** @description Bill the shipping charges to this entity. If null, it should be assumed the "shipper" is responsible for the shipping charges. */
|
|
41
|
+
bill_shipping_to;
|
|
7
42
|
}
|
|
8
43
|
exports.CreateLabelRequest = CreateLabelRequest;
|
|
9
44
|
//# sourceMappingURL=create-label-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-label-request.js","sourceRoot":"","sources":["../../src/requests/create-label-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAsB7C,mEAAmE;AACnE,MAAa,kBAAmB,SAAQ,0BAAW;
|
|
1
|
+
{"version":3,"file":"create-label-request.js","sourceRoot":"","sources":["../../src/requests/create-label-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAsB7C,mEAAmE;AACnE,MAAa,kBAAmB,SAAQ,0BAAW;IACjD,YAAY,CAAU;IACtB,aAAa,CAAU;IACvB,YAAY,CAAqB;IACjC,YAAY,CAAkB;IAC9B,YAAY,CAAgB;IAC5B,qDAAqD;IACrD,aAAa,CAAW;IACxB,2FAA2F;IAC3F,gBAAgB,CAAmB;IACnC,kBAAkB,CAAsB;IACxC,oDAAoD;IACpD,eAAe,CAAW;IAC1B,QAAQ,CAAa;IACrB,OAAO,CAAU;IACjB,SAAS,CAAY;IACrB,eAAe,CAAgB;IAC/B,YAAY,CAAqB;IACjC,iBAAiB,CAAmB;IACpC,mEAAmE;IACnE,QAAQ,CAAW;IACnB,yDAAyD;IACzD,aAAa,CAAW;IACxB,SAAS,CAAU;IACnB,cAAc,CAAsB;IACpC,wBAAwB,CAA0B;IAClD,WAAW,CAAc;IACzB,wIAAwI;IACxI,qBAAqB,CAAc;IACnC,0DAA0D;IAC1D,eAAe,CAAU;IACzB,oGAAoG;IACpG,eAAe,CAAmB;IAClC,OAAO,CAAW;IAClB,kJAAkJ;IAClJ,gBAAgB,CAAU;CAC3B;AApCD,gDAoCC"}
|
|
@@ -4,6 +4,12 @@ exports.CreateManifestRequest = void 0;
|
|
|
4
4
|
const base_request_1 = require("./base-request");
|
|
5
5
|
/** @description Basic structure for a request to create manifests */
|
|
6
6
|
class CreateManifestRequest extends base_request_1.BaseRequest {
|
|
7
|
+
ship_from;
|
|
8
|
+
included_labels;
|
|
9
|
+
excluded_labels;
|
|
10
|
+
open_datetime;
|
|
11
|
+
close_datetime;
|
|
12
|
+
advanced_options;
|
|
7
13
|
}
|
|
8
14
|
exports.CreateManifestRequest = CreateManifestRequest;
|
|
9
15
|
//# sourceMappingURL=create-manifest-request.js.map
|