@shipengine/connect-carrier-api 2.1.24 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/app/carrier-app.d.ts +1 -0
- package/lib/app/carrier-app.js +12 -0
- package/lib/app/carrier-app.js.map +1 -1
- package/lib/models/addresses/address-base.d.ts +13 -13
- package/lib/models/addresses/address-base.js.map +1 -1
- package/lib/models/addresses/address-residential-indicator.d.ts +3 -0
- package/lib/models/addresses/address-residential-indicator.js +3 -0
- package/lib/models/addresses/address-residential-indicator.js.map +1 -1
- package/lib/models/addresses/ship-from-display.d.ts +1 -0
- package/lib/models/addresses/ship-from-display.js +1 -0
- package/lib/models/addresses/ship-from-display.js.map +1 -1
- package/lib/models/addresses/ship-from.d.ts +1 -0
- package/lib/models/addresses/ship-from.js +1 -0
- package/lib/models/addresses/ship-from.js.map +1 -1
- package/lib/models/addresses/ship-to.d.ts +1 -0
- package/lib/models/addresses/ship-to.js +1 -0
- package/lib/models/addresses/ship-to.js.map +1 -1
- package/lib/models/advanced-options.d.ts +1 -1
- package/lib/models/authorization.d.ts +2 -0
- package/lib/models/authorization.js.map +1 -1
- package/lib/models/billing/billing-categories.d.ts +1 -1
- package/lib/models/billing/billing-categories.js +1 -1
- package/lib/models/billing/billing-categories.js.map +1 -1
- package/lib/models/billing/billing-line-item.d.ts +5 -0
- package/lib/models/billing/billing-line-item.js +2 -2
- package/lib/models/billing/billing-line-item.js.map +1 -1
- package/lib/models/confirmation-types.d.ts +5 -5
- package/lib/models/confirmation-types.js +5 -5
- package/lib/models/confirmation-types.js.map +1 -1
- package/lib/models/currency.d.ts +2 -0
- package/lib/models/currency.js.map +1 -1
- package/lib/models/customs/customs-content-types.d.ts +5 -1
- package/lib/models/customs/customs-content-types.js +5 -1
- package/lib/models/customs/customs-content-types.js.map +1 -1
- package/lib/models/customs/customs-item.d.ts +9 -1
- package/lib/models/customs/customs-item.js +1 -1
- package/lib/models/customs/customs-item.js.map +1 -1
- package/lib/models/customs/customs-non-delivery.d.ts +2 -0
- package/lib/models/customs/customs-non-delivery.js +2 -0
- package/lib/models/customs/customs-non-delivery.js.map +1 -1
- package/lib/models/customs/customs.d.ts +6 -1
- package/lib/models/customs/customs.js +1 -1
- package/lib/models/customs/customs.js.map +1 -1
- package/lib/models/documents/document-type.d.ts +4 -0
- package/lib/models/documents/document-type.js +4 -0
- package/lib/models/documents/document-type.js.map +1 -1
- package/lib/models/documents/document.d.ts +3 -0
- package/lib/models/documents/document.js.map +1 -1
- package/lib/models/errors/detailed-error.d.ts +1 -1
- package/lib/models/errors/detailed-error.js +1 -1
- package/lib/models/errors/detailed-error.js.map +1 -1
- package/lib/models/errors/standardized-error-code.d.ts +1 -1
- package/lib/models/errors/standardized-error-code.js +1 -1
- package/lib/models/errors/standardized-error-code.js.map +1 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-details.d.ts +4 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-details.js +1 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-details.js.map +1 -1
- package/lib/models/fulfillment-plans/fulfillment-plan-items.d.ts +4 -4
- package/lib/models/fulfillment-plans/raw-external-source.d.ts +2 -0
- package/lib/models/fulfillment-plans/raw-external-source.js +1 -0
- package/lib/models/fulfillment-plans/raw-external-source.js.map +1 -1
- package/lib/models/labels/form-download.d.ts +2 -0
- package/lib/models/labels/form-download.js +1 -0
- package/lib/models/labels/form-download.js.map +1 -1
- package/lib/models/labels/label-download.d.ts +2 -0
- package/lib/models/labels/label-download.js +1 -0
- package/lib/models/labels/label-download.js.map +1 -1
- package/lib/models/labels/label-package.d.ts +2 -0
- package/lib/models/labels/label-package.js.map +1 -1
- package/lib/models/labels/return-label-details.d.ts +1 -0
- package/lib/models/labels/return-label-details.js.map +1 -1
- package/lib/models/labels/void-request.d.ts +2 -0
- package/lib/models/labels/void-request.js.map +1 -1
- package/lib/models/labels/void-response.d.ts +1 -1
- package/lib/models/manifests/label.d.ts +2 -0
- package/lib/models/manifests/label.js.map +1 -1
- package/lib/models/manifests/manifest.d.ts +5 -1
- package/lib/models/manifests/manifest.js +1 -1
- package/lib/models/manifests/manifest.js.map +1 -1
- package/lib/models/package.d.ts +6 -0
- package/lib/models/package.js.map +1 -1
- package/lib/models/pickup/cancellation-details.d.ts +1 -0
- package/lib/models/pickup/cancellation-details.js.map +1 -1
- package/lib/models/pickup/pickup-confirmation.d.ts +3 -0
- package/lib/models/pickup/pickup-confirmation.js.map +1 -1
- package/lib/models/pickup/pickup-contact-details.d.ts +6 -1
- package/lib/models/pickup/pickup-contact-details.js +1 -1
- package/lib/models/pickup/pickup-contact-details.js.map +1 -1
- package/lib/models/pickup/pickup-location-details.d.ts +1 -0
- package/lib/models/pickup/pickup-location-details.js.map +1 -1
- package/lib/models/pickup/pickup-package.d.ts +7 -0
- package/lib/models/pickup/pickup-package.js.map +1 -1
- package/lib/models/pickup/pickup-shipment-details.d.ts +1 -0
- package/lib/models/pickup/pickup-shipment-details.js.map +1 -1
- package/lib/models/pickup/pickup-window.d.ts +5 -1
- package/lib/models/pickup/pickup-window.js +1 -1
- package/lib/models/pickup/pickup-window.js.map +1 -1
- package/lib/models/pickup/shipment-identifier.d.ts +2 -0
- package/lib/models/pickup/shipment-identifier.js.map +1 -1
- package/lib/models/pickup/shipped-package.d.ts +7 -0
- package/lib/models/pickup/shipped-package.js.map +1 -1
- package/lib/models/pickup/shipped-shipment.d.ts +6 -0
- package/lib/models/pickup/shipped-shipment.js.map +1 -1
- package/lib/models/rates/rate.d.ts +2 -4
- package/lib/models/rates/rate.js.map +1 -1
- package/lib/models/registration/credentials.d.ts +2 -0
- package/lib/models/registration/credentials.js.map +1 -1
- package/lib/models/resource-download.d.ts +2 -0
- package/lib/models/resource-download.js.map +1 -1
- package/lib/models/taxes/tax-identifier.d.ts +1 -1
- package/lib/models/taxes/tax-identifier.js +1 -1
- package/lib/models/taxes/tax-identifier.js.map +1 -1
- package/lib/models/tracking/lat-long.d.ts +2 -2
- package/lib/models/tracking/service.d.ts +2 -0
- package/lib/models/tracking/service.js.map +1 -1
- package/lib/models/tracking/track-event.d.ts +9 -0
- package/lib/models/tracking/track-event.js.map +1 -1
- package/lib/models/tracking/tracking-info.d.ts +18 -0
- package/lib/models/tracking/tracking-info.js.map +1 -1
- package/lib/models/units/dimension-details.d.ts +4 -0
- package/lib/models/units/dimension-details.js.map +1 -1
- package/lib/models/units/weight-details.d.ts +4 -0
- package/lib/models/units/weight-details.js.map +1 -1
- package/lib/requests/create-notification-request.d.ts +3 -1
- package/lib/requests/create-notification-request.js.map +1 -1
- package/lib/responses/create-notification-response.d.ts +2 -0
- package/lib/responses/create-notification-response.js +2 -0
- package/lib/responses/create-notification-response.js.map +1 -1
- package/package.json +1 -1
- package/spec.json +355 -176
- package/src/app/carrier-app.ts +18 -0
- package/src/models/addresses/address-base.ts +13 -14
- package/src/models/addresses/address-residential-indicator.ts +3 -0
- package/src/models/addresses/ship-from-display.ts +1 -0
- package/src/models/addresses/ship-from.ts +1 -0
- package/src/models/addresses/ship-to.ts +1 -0
- package/src/models/advanced-options.ts +1 -1
- package/src/models/authorization.ts +2 -0
- package/src/models/billing/billing-categories.ts +1 -1
- package/src/models/billing/billing-line-item.ts +7 -2
- package/src/models/confirmation-types.ts +5 -5
- package/src/models/currency.ts +2 -0
- package/src/models/customs/customs-content-types.ts +5 -1
- package/src/models/customs/customs-item.ts +9 -1
- package/src/models/customs/customs-non-delivery.ts +2 -0
- package/src/models/customs/customs.ts +6 -1
- package/src/models/documents/document-type.ts +4 -0
- package/src/models/documents/document.ts +3 -0
- package/src/models/errors/detailed-error.ts +1 -1
- package/src/models/errors/standardized-error-code.ts +1 -1
- package/src/models/fulfillment-plans/fulfillment-plan-details.ts +4 -1
- package/src/models/fulfillment-plans/fulfillment-plan-items.ts +4 -4
- package/src/models/fulfillment-plans/raw-external-source.ts +2 -0
- package/src/models/labels/form-download.ts +2 -0
- package/src/models/labels/label-download.ts +2 -0
- package/src/models/labels/label-package.ts +2 -0
- package/src/models/labels/return-label-details.ts +1 -0
- package/src/models/labels/void-request.ts +2 -0
- package/src/models/labels/void-response.ts +1 -1
- package/src/models/manifests/label.ts +2 -0
- package/src/models/manifests/manifest.ts +5 -1
- package/src/models/package.ts +6 -0
- package/src/models/pickup/cancellation-details.ts +1 -0
- package/src/models/pickup/pickup-confirmation.ts +3 -0
- package/src/models/pickup/pickup-contact-details.ts +6 -1
- package/src/models/pickup/pickup-location-details.ts +1 -0
- package/src/models/pickup/pickup-package.ts +7 -0
- package/src/models/pickup/pickup-shipment-details.ts +1 -0
- package/src/models/pickup/pickup-window.ts +5 -1
- package/src/models/pickup/shipment-identifier.ts +2 -0
- package/src/models/pickup/shipped-package.ts +7 -0
- package/src/models/pickup/shipped-shipment.ts +6 -0
- package/src/models/rates/rate.ts +2 -4
- package/src/models/registration/credentials.ts +2 -0
- package/src/models/resource-download.ts +2 -0
- package/src/models/taxes/tax-identifier.ts +1 -1
- package/src/models/tracking/lat-long.ts +2 -2
- package/src/models/tracking/service.ts +2 -0
- package/src/models/tracking/track-event.ts +9 -0
- package/src/models/tracking/tracking-info.ts +18 -0
- package/src/models/units/dimension-details.ts +4 -0
- package/src/models/units/weight-details.ts +4 -0
- package/src/requests/create-notification-request.ts +3 -1
- package/src/responses/create-notification-response.ts +3 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standardized-error-code.js","sourceRoot":"","sources":["../../../src/models/errors/standardized-error-code.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"standardized-error-code.js","sourceRoot":"","sources":["../../../src/models/errors/standardized-error-code.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAC5C,IAAY,qBAcX;AAdD,WAAY,qBAAqB;IAC/B,uEAAW,CAAA;IACX,mFAAiB,CAAA;IACjB,yGAA4B,CAAA;IAC5B,6EAAc,CAAA;IACd,+FAAwB,CAAA;IACxB,mGAA0B,CAAA;IAC1B,iHAAiC,CAAA;IACjC,yGAA6B,CAAA;IAC7B,uGAA4B,CAAA;IAC5B,+FAAwB,CAAA;IACxB,+GAAgC,CAAA;IAChC,uGAA4B,CAAA;IAC5B,iGAAyB,CAAA;AAC3B,CAAC,EAdW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAchC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { Identifier } from '../identifier';
|
|
2
2
|
import { FulfillmentPlanItems } from './fulfillment-plan-items';
|
|
3
3
|
import { RawExternalSource } from './raw-external-source';
|
|
4
|
-
/** @description
|
|
4
|
+
/** @description This model contains information about the fulfillment plan. */
|
|
5
5
|
export declare class FulfillmentPlanDetails {
|
|
6
|
+
/** @description A list of identifiers for the sales order. */
|
|
6
7
|
external_sales_order_identifiers?: Identifier[];
|
|
8
|
+
/** @description Information about the fulfillment plan item. */
|
|
7
9
|
items?: FulfillmentPlanItems[];
|
|
10
|
+
/** @description This model represents a raw external source of information */
|
|
8
11
|
raw_external_source?: RawExternalSource;
|
|
9
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FulfillmentPlanDetails = void 0;
|
|
4
|
-
/** @description
|
|
4
|
+
/** @description This model contains information about the fulfillment plan. */
|
|
5
5
|
class FulfillmentPlanDetails {
|
|
6
6
|
}
|
|
7
7
|
exports.FulfillmentPlanDetails = FulfillmentPlanDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fulfillment-plan-details.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-details.ts"],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"fulfillment-plan-details.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/fulfillment-plan-details.ts"],"names":[],"mappings":";;;AAIA,+EAA+E;AAC/E,MAAa,sBAAsB;CAOlC;AAPD,wDAOC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Identifier } from '../identifier';
|
|
2
2
|
/** @description Information about the fulfillment plan for a set of items */
|
|
3
3
|
export declare class FulfillmentPlanItems {
|
|
4
|
-
/** @description
|
|
4
|
+
/** @description A list of identifiers for the sales order */
|
|
5
5
|
external_sales_order_identifiers?: Identifier[];
|
|
6
|
-
/** @description
|
|
6
|
+
/** @description A list of identifiers specific to the selling channel */
|
|
7
7
|
external_product_identifiers?: Identifier[];
|
|
8
|
-
/** @description
|
|
8
|
+
/** @description The name of the item */
|
|
9
9
|
name?: string;
|
|
10
|
-
/** @description
|
|
10
|
+
/** @description The number of items */
|
|
11
11
|
quantity?: number;
|
|
12
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RawExternalSource = void 0;
|
|
4
|
+
/** @description This model represents a raw external source of information. */
|
|
4
5
|
class RawExternalSource {
|
|
5
6
|
}
|
|
6
7
|
exports.RawExternalSource = RawExternalSource;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raw-external-source.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/raw-external-source.ts"],"names":[],"mappings":";;;AAAA,MAAa,iBAAiB;
|
|
1
|
+
{"version":3,"file":"raw-external-source.js","sourceRoot":"","sources":["../../../src/models/fulfillment-plans/raw-external-source.ts"],"names":[],"mappings":";;;AAAA,+EAA+E;AAC/E,MAAa,iBAAiB;CAG7B;AAHD,8CAGC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
import { ResourceDownload } from '../resource-download';
|
|
3
|
+
/** @description This provides any additional forms that go with the label. For example, customs forms. Exactly one of the keys should be populated. Set href is the forms should be downloaded separately. Set data if the forms are returned directly in the response. */
|
|
3
4
|
export declare class FormDownload extends ResourceDownload {
|
|
5
|
+
/** @description The base64 encoded resource data. */
|
|
4
6
|
form_data?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const FormDownloadSchema: Joi.ObjectSchema<any>;
|
|
@@ -4,6 +4,7 @@ exports.FormDownloadSchema = exports.FormDownload = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
6
6
|
const resource_download_1 = require("../resource-download");
|
|
7
|
+
/** @description This provides any additional forms that go with the label. For example, customs forms. Exactly one of the keys should be populated. Set href is the forms should be downloaded separately. Set data if the forms are returned directly in the response. */
|
|
7
8
|
class FormDownload extends resource_download_1.ResourceDownload {
|
|
8
9
|
}
|
|
9
10
|
exports.FormDownload = FormDownload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-download.js","sourceRoot":"","sources":["../../../src/models/labels/form-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,MAAa,YAAa,SAAQ,oCAAgB;
|
|
1
|
+
{"version":3,"file":"form-download.js","sourceRoot":"","sources":["../../../src/models/labels/form-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,2QAA2Q;AAC3Q,MAAa,YAAa,SAAQ,oCAAgB;CAGjD;AAHD,oCAGC;AAEY,QAAA,kBAAkB,GAAG,0CAAsB,CAAC,IAAI,CAAC;IAC5D,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CAC3C,CAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
import { ResourceDownload } from '../resource-download';
|
|
3
|
+
/** @description This object provides the requested label that was just created. Exactly one of the keys should be populated. Set href if the label should be downloaded separately. Set data if the label is returned directly in the response. */
|
|
3
4
|
export declare class LabelDownload extends ResourceDownload {
|
|
5
|
+
/** @description The base64 encoded resource data. */
|
|
4
6
|
label_data?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare const LabelDownloadSchema: Joi.ObjectSchema<any>;
|
|
@@ -4,6 +4,7 @@ exports.LabelDownloadSchema = exports.LabelDownload = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
6
6
|
const resource_download_1 = require("../resource-download");
|
|
7
|
+
/** @description This object provides the requested label that was just created. Exactly one of the keys should be populated. Set href if the label should be downloaded separately. Set data if the label is returned directly in the response. */
|
|
7
8
|
class LabelDownload extends resource_download_1.ResourceDownload {
|
|
8
9
|
}
|
|
9
10
|
exports.LabelDownload = LabelDownload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label-download.js","sourceRoot":"","sources":["../../../src/models/labels/label-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,MAAa,aAAc,SAAQ,oCAAgB;
|
|
1
|
+
{"version":3,"file":"label-download.js","sourceRoot":"","sources":["../../../src/models/labels/label-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,mPAAmP;AACnP,MAAa,aAAc,SAAQ,oCAAgB;CAGlD;AAHD,sCAGC;AAEY,QAAA,mBAAmB,GAAG,0CAAsB,CAAC,IAAI,CAAC;IAC7D,UAAU,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CAC5C,CAAC,CAAC"}
|
|
@@ -3,9 +3,11 @@ import { Document } from '../documents';
|
|
|
3
3
|
import Joi from 'joi';
|
|
4
4
|
/** @description Package information provided by the carrier */
|
|
5
5
|
export declare class LabelPackage {
|
|
6
|
+
/** @description Tracking number for the package */
|
|
6
7
|
tracking_number?: string;
|
|
7
8
|
/** @description Non-tracking alternative ids associated with this package */
|
|
8
9
|
alternative_identifiers?: Identifier[];
|
|
10
|
+
/** @description Documents associated with this package, if documents are not specified at a package level, use the Documents array at the CreateLabelResponse level. */
|
|
9
11
|
documents?: Document[];
|
|
10
12
|
}
|
|
11
13
|
export declare const LabelPackageSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label-package.js","sourceRoot":"","sources":["../../../src/models/labels/label-package.ts"],"names":[],"mappings":";;;;AAAA,8CAA6D;AAC7D,4CAAwD;AACxD,sDAAsB;AAEtB,+DAA+D;AAC/D,MAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"label-package.js","sourceRoot":"","sources":["../../../src/models/labels/label-package.ts"],"names":[],"mappings":";;;;AAAA,8CAA6D;AAC7D,4CAAwD;AACxD,sDAAsB;AAEtB,+DAA+D;AAC/D,MAAa,YAAY;CAOxB;AAPD,oCAOC;AAEY,QAAA,kBAAkB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC3C,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,uBAAuB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,6BAAgB,CAAC;IACvE,SAAS,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,0BAAc,CAAC;CACxD,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @description Basic structure for a return label */
|
|
2
2
|
export declare class ReturnLabelDetails {
|
|
3
|
+
/** @description A return merchandise authorization (RMA) is an associated number assigned to process the return, this number is often printed on the label, and used when the original shipper processes the inbound return. */
|
|
3
4
|
rma_number?: string;
|
|
4
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"return-label-details.js","sourceRoot":"","sources":["../../../src/models/labels/return-label-details.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,MAAa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"return-label-details.js","sourceRoot":"","sources":["../../../src/models/labels/return-label-details.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
|
|
@@ -2,6 +2,8 @@ import { ShippedShipment } from '../pickup/shipped-shipment';
|
|
|
2
2
|
import { ShipFrom } from '../addresses';
|
|
3
3
|
/** @description Basic structure for a request to void a label */
|
|
4
4
|
export declare class VoidRequest extends ShippedShipment {
|
|
5
|
+
/** @description Uniquely identifies this request to void a label. Must be returned in a void response. */
|
|
5
6
|
void_request_id: string;
|
|
7
|
+
/** @description The location the shipment was shipped from */
|
|
6
8
|
ship_from: ShipFrom;
|
|
7
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"void-request.js","sourceRoot":"","sources":["../../../src/models/labels/void-request.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D,iEAAiE;AACjE,MAAa,WAAY,SAAQ,kCAAe;
|
|
1
|
+
{"version":3,"file":"void-request.js","sourceRoot":"","sources":["../../../src/models/labels/void-request.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D,iEAAiE;AACjE,MAAa,WAAY,SAAQ,kCAAe;CAK/C;AALD,kCAKC"}
|
|
@@ -8,7 +8,7 @@ export declare class VoidResponse {
|
|
|
8
8
|
message?: string;
|
|
9
9
|
/** @description Any errors from attempting to void */
|
|
10
10
|
errors?: string[];
|
|
11
|
-
/** @description Individual Billing Line items which remain after voiding the label, e.g. a cancellation fee
|
|
11
|
+
/** @description Individual Billing Line items which remain after voiding the label, e.g. a cancellation fee */
|
|
12
12
|
billing_line_items?: BillingLineItem[];
|
|
13
13
|
}
|
|
14
14
|
export declare const VoidResponseSchema: Joi.ObjectSchema<any>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** @description Basic structure of a manifest label */
|
|
2
2
|
export declare class Label {
|
|
3
|
+
/** @description The carrier tracking number for this shipment */
|
|
3
4
|
tracking_number?: string;
|
|
5
|
+
/** @description The carrier specific identifier for this shipment */
|
|
4
6
|
carrier_transaction_id?: string;
|
|
5
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/models/manifests/label.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/models/manifests/label.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,MAAa,KAAK;CAKjB;AALD,sBAKC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
import { ResourceDownload } from '../resource-download';
|
|
3
|
-
/** @description
|
|
3
|
+
/** @description This model represents a single manifest created with a shipping provider. */
|
|
4
4
|
export declare class Manifest {
|
|
5
|
+
/** @description The unique identifier for this manifest. */
|
|
5
6
|
manifest_id?: string;
|
|
7
|
+
/** @description The resource and where it can be downloaded */
|
|
6
8
|
document_download?: ResourceDownload;
|
|
9
|
+
/** @deprecated This property is no longer used please use the document_download */
|
|
7
10
|
document_href?: string;
|
|
11
|
+
/** @deprecated This property is no longer used please use the document_download */
|
|
8
12
|
document_data?: string;
|
|
9
13
|
}
|
|
10
14
|
export declare const ManifestSchema: Joi.ObjectSchema<any>;
|
|
@@ -4,7 +4,7 @@ exports.ManifestSchema = exports.Manifest = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
6
6
|
const resource_download_1 = require("../resource-download");
|
|
7
|
-
/** @description
|
|
7
|
+
/** @description This model represents a single manifest created with a shipping provider. */
|
|
8
8
|
class Manifest {
|
|
9
9
|
}
|
|
10
10
|
exports.Manifest = Manifest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifests/manifest.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,4DAAgF;AAEhF,6FAA6F;AAC7F,MAAa,QAAQ;CASpB;AATD,4BASC;AAEY,QAAA,cAAc,GAAG,aAAG,CAAC,MAAM,CAAC;IACvC,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC5C,iBAAiB,EAAE,0CAAsB,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC9C,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CAC/C,CAAC,CAAC"}
|
package/lib/models/package.d.ts
CHANGED
|
@@ -5,10 +5,16 @@ import { LabelMessage } from './labels/label-message';
|
|
|
5
5
|
import { Customs } from './customs';
|
|
6
6
|
/** @description Basic structure for a package */
|
|
7
7
|
export declare class Package {
|
|
8
|
+
/** @description Package code defined for the carrier in ShipEngine. */
|
|
8
9
|
package_code?: string;
|
|
10
|
+
/** @description Details about the dimensions of the package */
|
|
9
11
|
dimension_details?: DimensionDetails;
|
|
12
|
+
/** @description Details about the weight of the package */
|
|
10
13
|
weight_details?: WeightDetails;
|
|
14
|
+
/** @description The insured value of this package. */
|
|
11
15
|
insured_value: Currency;
|
|
16
|
+
/** @description The message the seller requested to have on their label */
|
|
12
17
|
label_messages?: LabelMessage;
|
|
18
|
+
/** @description Basic structure for a customs declaration (Only available on international shipments) */
|
|
13
19
|
customs?: Customs;
|
|
14
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/models/package.ts"],"names":[],"mappings":";;;AAOA,iDAAiD;AACjD,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/models/package.ts"],"names":[],"mappings":";;;AAOA,iDAAiD;AACjD,MAAa,OAAO;CAanB;AAbD,0BAaC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CancellationReason } from './cancellation-reason';
|
|
2
2
|
/** @description Basic structure for a cancellation */
|
|
3
3
|
export declare class CancellationDetails {
|
|
4
|
+
/** @description The reason the pickup has been cancelled */
|
|
4
5
|
reason: CancellationReason;
|
|
5
6
|
/** @description Additional properties about cancellation */
|
|
6
7
|
cancellation_options?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancellation-details.js","sourceRoot":"","sources":["../../../src/models/pickup/cancellation-details.ts"],"names":[],"mappings":";;;AAEA,sDAAsD;AACtD,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"cancellation-details.js","sourceRoot":"","sources":["../../../src/models/pickup/cancellation-details.ts"],"names":[],"mappings":";;;AAEA,sDAAsD;AACtD,MAAa,mBAAmB;CAO/B;AAPD,kDAOC"}
|
|
@@ -3,8 +3,11 @@ import { Identifier } from '../identifier';
|
|
|
3
3
|
import { ShipmentIdentifier } from './shipment-identifier';
|
|
4
4
|
/** @description Basic structure for a pickup confirmation */
|
|
5
5
|
export declare class PickupConfirmation {
|
|
6
|
+
/** @description The primary confirmation ID for this request. */
|
|
6
7
|
confirmation_id?: string;
|
|
8
|
+
/** @description Other identifiers potentially needed in other calls. */
|
|
7
9
|
alternate_identifiers?: Identifier[];
|
|
10
|
+
/** @description List of the shipments added for this pickup. */
|
|
8
11
|
shipment_identifiers?: ShipmentIdentifier[];
|
|
9
12
|
}
|
|
10
13
|
export declare const PickupConfirmationSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-confirmation.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-confirmation.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,8CAA6D;AAC7D,+DAG+B;AAE/B,6DAA6D;AAC7D,MAAa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"pickup-confirmation.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-confirmation.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,8CAA6D;AAC7D,+DAG+B;AAE/B,6DAA6D;AAC7D,MAAa,kBAAkB;CAO9B;AAPD,gDAOC;AACY,QAAA,wBAAwB,GAAG,aAAG,CAAC,MAAM,CAAC;IACjD,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,qBAAqB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,6BAAgB,CAAC;IACrE,oBAAoB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,8CAAwB,CAAC;CAC7E,CAAC,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
/** @description Contact
|
|
1
|
+
/** @description Contact information for the person who will be present for the pickup. */
|
|
2
2
|
export declare class PickupContactDetails {
|
|
3
|
+
/** @description The first name of the person who will be there for the pickup. */
|
|
3
4
|
first_name: string;
|
|
5
|
+
/** @description The last name of the person who will be there for the pickup. */
|
|
4
6
|
last_name?: string;
|
|
7
|
+
/** @description The e-mail address of the person who will be there for the pickup. */
|
|
5
8
|
email: string;
|
|
9
|
+
/** @description The phone number of the person who will be there for the pickup. */
|
|
6
10
|
phone_number: string;
|
|
11
|
+
/** @description The phone extension of the person who will be there for the pickup. */
|
|
7
12
|
phone_number_extension?: string;
|
|
8
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PickupContactDetails = void 0;
|
|
4
|
-
/** @description Contact
|
|
4
|
+
/** @description Contact information for the person who will be present for the pickup. */
|
|
5
5
|
class PickupContactDetails {
|
|
6
6
|
}
|
|
7
7
|
exports.PickupContactDetails = PickupContactDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-contact-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-contact-details.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"pickup-contact-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-contact-details.ts"],"names":[],"mappings":";;;AAAA,0FAA0F;AAC1F,MAAa,oBAAoB;CAWhC;AAXD,oDAWC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ShipFrom } from '../addresses/ship-from';
|
|
2
2
|
/** @description Location details for pickup */
|
|
3
3
|
export declare class PickupLocationDetails {
|
|
4
|
+
/** @description The address the pickup will take place */
|
|
4
5
|
pickup_address?: ShipFrom;
|
|
5
6
|
/** @description Any notes that may be helpful for a driver to find the pickup location */
|
|
6
7
|
location_notes?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-location-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-location-details.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"pickup-location-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-location-details.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAa,qBAAqB;CAOjC;AAPD,sDAOC"}
|
|
@@ -4,11 +4,18 @@ import { WeightDetails } from '../units/weight-details';
|
|
|
4
4
|
import { Dimensions } from '../units/dimensions';
|
|
5
5
|
/** @description Basic structure for a package to be picked up */
|
|
6
6
|
export declare class PickupPackage {
|
|
7
|
+
/** @description The carrier tracking number for this shipment */
|
|
7
8
|
tracking_number?: string;
|
|
9
|
+
/** @description Alternative identifiers associated with this package */
|
|
8
10
|
alternative_identifiers?: Identifier[];
|
|
11
|
+
/** @description Details about the dimensions of the package */
|
|
9
12
|
dimension_details?: DimensionDetails;
|
|
13
|
+
/** @description Details about the weight of the package */
|
|
10
14
|
weight_details?: WeightDetails;
|
|
15
|
+
/** @description The code associated with the package type */
|
|
11
16
|
package_code?: string;
|
|
17
|
+
/** @deprectated Please use the weight_details property */
|
|
12
18
|
weight?: number;
|
|
19
|
+
/** @deprectated Please use the dimension_details property */
|
|
13
20
|
dimensions?: Dimensions;
|
|
14
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-package.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-package.ts"],"names":[],"mappings":";;;AAKA,iEAAiE;AACjE,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"pickup-package.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-package.ts"],"names":[],"mappings":";;;AAKA,iEAAiE;AACjE,MAAa,aAAa;CAezB;AAfD,sCAeC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ShippedShipment } from './shipped-shipment';
|
|
2
2
|
/** @description Details for a pickup shipment */
|
|
3
3
|
export declare class PickupShipmentDetails {
|
|
4
|
+
/** @description Service category for the carrier (ground, express, next_day) */
|
|
4
5
|
pickup_service_code?: string;
|
|
5
6
|
/** @description List of shipments to be picked up */
|
|
6
7
|
shipments?: ShippedShipment[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-shipment-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-shipment-details.ts"],"names":[],"mappings":";;;AAEA,iDAAiD;AACjD,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"pickup-shipment-details.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-shipment-details.ts"],"names":[],"mappings":";;;AAEA,iDAAiD;AACjD,MAAa,qBAAqB;CAKjC;AALD,sDAKC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
|
-
/** @description
|
|
2
|
+
/** @description This model represents a window of time a pickup could be made. */
|
|
3
3
|
export declare class PickupWindow {
|
|
4
|
+
/** @description The local time zone represented in IANA. See https://www.iana.org/time-zones */
|
|
4
5
|
time_zone_iana: string;
|
|
6
|
+
/** @description The local date the pickup will occur. Formatted per https://tools.ietf.org/html/rfc3339 */
|
|
5
7
|
pickup_date: string;
|
|
8
|
+
/** @description The time relative to the time_zone_iana that the carrier says that the pickup could occur. Formatted per https://tools.ietf.org/html/rfc3339 */
|
|
6
9
|
start_time?: string;
|
|
10
|
+
/** @description The end of the window when the pickup could be made relative to the time_zone_iana. Formatted per https://tools.ietf.org/html/rfc3339 */
|
|
7
11
|
end_time?: string;
|
|
8
12
|
}
|
|
9
13
|
export declare const PickupWindowSchema: Joi.ObjectSchema<any>;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PickupWindowSchema = exports.PickupWindow = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
6
|
-
/** @description
|
|
6
|
+
/** @description This model represents a window of time a pickup could be made. */
|
|
7
7
|
class PickupWindow {
|
|
8
8
|
}
|
|
9
9
|
exports.PickupWindow = PickupWindow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickup-window.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-window.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,
|
|
1
|
+
{"version":3,"file":"pickup-window.js","sourceRoot":"","sources":["../../../src/models/pickup/pickup-window.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,kFAAkF;AAClF,MAAa,YAAY;CASxB;AATD,oCASC;AACY,QAAA,kBAAkB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC3C,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;IAC9C,UAAU,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;IAC7C,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE;CAC5C,CAAC,CAAC"}
|
|
@@ -2,7 +2,9 @@ import Joi from 'joi';
|
|
|
2
2
|
import { Identifier } from '../identifier';
|
|
3
3
|
/** @description Identifier object for shiments */
|
|
4
4
|
export declare class ShipmentIdentifier {
|
|
5
|
+
/** @description The carrier tracking number for this shipment */
|
|
5
6
|
tracking_number?: string;
|
|
7
|
+
/** @description A list of alternate identifiers that can be used to identify a shipment */
|
|
6
8
|
alternate_identifiers?: Identifier[];
|
|
7
9
|
}
|
|
8
10
|
export declare const ShipmentIdentifierSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipment-identifier.js","sourceRoot":"","sources":["../../../src/models/pickup/shipment-identifier.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,8CAA6D;AAE7D,kDAAkD;AAClD,MAAa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"shipment-identifier.js","sourceRoot":"","sources":["../../../src/models/pickup/shipment-identifier.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,8CAA6D;AAE7D,kDAAkD;AAClD,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AAEY,QAAA,wBAAwB,GAAG,aAAG,CAAC,MAAM,CAAC;IACjD,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,qBAAqB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,6BAAgB,CAAC;CACtE,CAAC,CAAC"}
|
|
@@ -4,11 +4,18 @@ import { WeightDetails } from '../units/weight-details';
|
|
|
4
4
|
import { Dimensions } from '../units/dimensions';
|
|
5
5
|
/** @description Basic structure for a package that has been shipped */
|
|
6
6
|
export declare class ShippedPackage {
|
|
7
|
+
/** @description The carrier tracking number associated with this package */
|
|
7
8
|
tracking_number?: string;
|
|
9
|
+
/** @description Alternative identifiers associated with this package */
|
|
8
10
|
alternative_identifiers?: Identifier[];
|
|
11
|
+
/** @description Details about the dimensions of the package */
|
|
9
12
|
dimension_details?: DimensionDetails;
|
|
13
|
+
/** @description Details about the weight of the package */
|
|
10
14
|
weight_details?: WeightDetails;
|
|
15
|
+
/** @description The code associated with the package type */
|
|
11
16
|
package_code?: string;
|
|
17
|
+
/** @deprectated Please use the weight_details property */
|
|
12
18
|
weight?: number;
|
|
19
|
+
/** @deprectated Please use the dimension_details property */
|
|
13
20
|
dimensions?: Dimensions;
|
|
14
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shipped-package.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-package.ts"],"names":[],"mappings":";;;AAKA,uEAAuE;AACvE,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"shipped-package.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-package.ts"],"names":[],"mappings":";;;AAKA,uEAAuE;AACvE,MAAa,cAAc;CAe1B;AAfD,wCAeC"}
|
|
@@ -5,11 +5,17 @@ import { Identifier } from '../identifier';
|
|
|
5
5
|
import { ShippedPackage } from './shipped-package';
|
|
6
6
|
/** @description Basic structure for a shipment that has been shipped */
|
|
7
7
|
export declare class ShippedShipment extends Label {
|
|
8
|
+
/** @description The carrier tracking number associated with this package */
|
|
8
9
|
tracking_number?: string;
|
|
10
|
+
/** @description The address that a shipment will be delivered to */
|
|
9
11
|
ship_to?: ShipTo;
|
|
12
|
+
/** @description Non-tracking alternative ids associated with this shipment */
|
|
10
13
|
alternative_identifiers?: Identifier[];
|
|
14
|
+
/** @description The service code used for this shipment */
|
|
11
15
|
service_code?: string;
|
|
16
|
+
/** @description The list of packages associated with this shipment */
|
|
12
17
|
packages?: ShippedPackage[];
|
|
18
|
+
/** @description Advanced shipping options (Contains Alcohol, Non Machinable, etc) */
|
|
13
19
|
advanced_options?: AdvancedOptions;
|
|
14
20
|
}
|
|
15
21
|
export declare 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;AAM3C,wEAAwE;AACxE,MAAa,eAAgB,SAAQ,aAAK;
|
|
1
|
+
{"version":3,"file":"shipped-shipment.js","sourceRoot":"","sources":["../../../src/models/pickup/shipped-shipment.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAM3C,wEAAwE;AACxE,MAAa,eAAgB,SAAQ,aAAK;CAazC;AAbD,0CAaC;AAED,MAAa,cAAe,SAAQ,eAAe;CAAG;AAAtD,wCAAsD"}
|
|
@@ -3,6 +3,7 @@ import { BillingLineItem } from '../billing/billing-line-item';
|
|
|
3
3
|
import { TimeWindow } from '../time-window';
|
|
4
4
|
/** @description Basic structure for a rate */
|
|
5
5
|
export declare 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. */
|
|
6
7
|
service_code?: string;
|
|
7
8
|
/** @description ISO 8601 formatted date for shipment */
|
|
8
9
|
ship_datetime?: string;
|
|
@@ -22,10 +23,7 @@ export declare class Rate {
|
|
|
22
23
|
delivery_window?: TimeWindow;
|
|
23
24
|
/** @description Unique identifier for the carrier rate */
|
|
24
25
|
carrier_rate_id?: string;
|
|
25
|
-
/** @description DateTime after which the rate will no longer be accepted.
|
|
26
|
-
* ISO 8601 format, with local offset.
|
|
27
|
-
* Example: 2021-08-20T14:38:36.859237-05:00
|
|
28
|
-
*/
|
|
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 */
|
|
29
27
|
expiration_datetime?: string;
|
|
30
28
|
}
|
|
31
29
|
export declare const RateSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,oEAGsC;AACtC,gDAA8D;AAE9D,8CAA8C;AAC9C,MAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"rate.js","sourceRoot":"","sources":["../../../src/models/rates/rate.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,oEAGsC;AACtC,gDAA8D;AAE9D,8CAA8C;AAC9C,MAAa,IAAI;CAuBhB;AAvBD,oBAuBC;AAEY,QAAA,UAAU,GAAG,aAAG,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IACxD,2BAA2B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IACtE,kBAAkB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,yCAAqB,CAAC;IACvE,cAAc,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,EAAE,CAAC;IAC1D,gBAAgB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,EAAE,CAAC;IAC5D,eAAe,EAAE,aAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,qBAAqB,EAAE,8BAAgB,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,8BAAgB,CAAC,QAAQ,EAAE;IAC5C,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,mBAAmB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;CAC/D,CAAC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
/** @description Basic structure for credentials */
|
|
3
3
|
export declare class Credentials {
|
|
4
|
+
/** @description The username, used as the unique identifier for the account */
|
|
4
5
|
username: string;
|
|
6
|
+
/** @description The password that will be sent in future requests */
|
|
5
7
|
password: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const CredentialsSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/models/registration/credentials.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,mDAAmD;AACnD,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../src/models/registration/credentials.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,mDAAmD;AACnD,MAAa,WAAW;CAKvB;AALD,kCAKC;AAEY,QAAA,iBAAiB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC1C,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
/** @description Basic structure for a resource to download */
|
|
3
3
|
export declare class ResourceDownload {
|
|
4
|
+
/** @deprecated This property is not used by the platform */
|
|
4
5
|
href?: string;
|
|
6
|
+
/** @description Base64 encoded data for the resource */
|
|
5
7
|
data?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ResourceDownloadSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-download.js","sourceRoot":"","sources":["../../src/models/resource-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,8DAA8D;AAC9D,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"resource-download.js","sourceRoot":"","sources":["../../src/models/resource-download.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,8DAA8D;AAC9D,MAAa,gBAAgB;CAK5B;AALD,4CAKC;AAEY,QAAA,sBAAsB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACrC,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CACtC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TaxIdentifierType } from './tax-identifier-type';
|
|
2
|
-
/** @description Entity representing a Tax Identification number, type, and country of registration
|
|
2
|
+
/** @description Entity representing a Tax Identification number, type, and country of registration */
|
|
3
3
|
export declare class TaxIdentifier {
|
|
4
4
|
/** @description Identification number */
|
|
5
5
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TaxIdentifier = void 0;
|
|
4
|
-
/** @description Entity representing a Tax Identification number, type, and country of registration
|
|
4
|
+
/** @description Entity representing a Tax Identification number, type, and country of registration */
|
|
5
5
|
class TaxIdentifier {
|
|
6
6
|
}
|
|
7
7
|
exports.TaxIdentifier = TaxIdentifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tax-identifier.js","sourceRoot":"","sources":["../../../src/models/taxes/tax-identifier.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"tax-identifier.js","sourceRoot":"","sources":["../../../src/models/taxes/tax-identifier.ts"],"names":[],"mappings":";;;AAEA,sGAAsG;AACtG,MAAa,aAAa;CASzB;AATD,sCASC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
/** @description Latitude and longitude */
|
|
3
3
|
export declare class LatLong {
|
|
4
|
-
/** @description latitude */
|
|
4
|
+
/** @description The latitude of the point. Represented as signed degrees. http://www.geomidpoint.com/latlon.html */
|
|
5
5
|
lat: number;
|
|
6
|
-
/** @description longitude */
|
|
6
|
+
/** @description The longitude of the point. Represented as signed degrees http://www.geomidpoint.com/latlon.html */
|
|
7
7
|
long: number;
|
|
8
8
|
}
|
|
9
9
|
export declare const LatLongSchema: Joi.ObjectSchema<any>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
/** @description Basic structure for a tracking service */
|
|
3
3
|
export declare class Service {
|
|
4
|
+
/** @description The code specific to a shipping provider service. */
|
|
4
5
|
code?: string;
|
|
6
|
+
/** @description The name of this shipping provider service. */
|
|
5
7
|
name?: string;
|
|
6
8
|
}
|
|
7
9
|
export declare const ServiceSchema: Joi.ObjectSchema<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/models/tracking/service.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,0DAA0D;AAC1D,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../src/models/tracking/service.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,0DAA0D;AAC1D,MAAa,OAAO;CAKnB;AALD,0BAKC;AACY,QAAA,aAAa,GAAG,aAAG,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACrC,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CACtC,CAAC,CAAC"}
|