@shipengine/connect-carrier-api 4.27.0 → 4.29.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/models/addresses/index.d.ts +1 -0
- package/lib/models/addresses/index.js +1 -0
- package/lib/models/addresses/index.js.map +1 -1
- package/lib/models/addresses/ship-from.d.ts +3 -0
- package/lib/models/addresses/ship-from.js +2 -0
- package/lib/models/addresses/ship-from.js.map +1 -1
- package/lib/models/advanced-options.d.ts +5 -3
- package/lib/models/advanced-options.js +4 -2
- package/lib/models/advanced-options.js.map +1 -1
- package/package.json +1 -1
- package/spec.json +6160 -6149
- package/src/models/addresses/index.ts +1 -0
- package/src/models/addresses/ship-from.ts +3 -0
- package/src/models/advanced-options.ts +6 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./address-base"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./address-residential-indicator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./geolocation-item"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ship-from"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ship-from-display"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ship-to"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/addresses/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,0EAAgD;AAChD,sDAA4B;AAC5B,8DAAoC;AACpC,oDAA0B;AAC1B,0DAAgC;AAChC,iEAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/addresses/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,0EAAgD;AAChD,6DAAmC;AACnC,sDAA4B;AAC5B,8DAAoC;AACpC,oDAA0B;AAC1B,0DAAgC;AAChC,iEAAuC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { AddressBase } from './address-base';
|
|
2
2
|
import { TaxIdentifier } from '../taxes/tax-identifier';
|
|
3
|
+
import { GeolocationItem } from './geolocation-item';
|
|
3
4
|
/** @description The address for where the shipment will be shipped from */
|
|
4
5
|
export declare class ShipFrom extends AddressBase {
|
|
5
6
|
/** @description Tax IDs associated with the exporter */
|
|
6
7
|
tax_identifiers?: TaxIdentifier[];
|
|
8
|
+
/** @description List of Geolocation objects to help identify the location. */
|
|
9
|
+
geolocation?: GeolocationItem[];
|
|
7
10
|
}
|
|
@@ -6,6 +6,8 @@ const address_base_1 = require("./address-base");
|
|
|
6
6
|
class ShipFrom extends address_base_1.AddressBase {
|
|
7
7
|
/** @description Tax IDs associated with the exporter */
|
|
8
8
|
tax_identifiers;
|
|
9
|
+
/** @description List of Geolocation objects to help identify the location. */
|
|
10
|
+
geolocation;
|
|
9
11
|
}
|
|
10
12
|
exports.ShipFrom = ShipFrom;
|
|
11
13
|
//# sourceMappingURL=ship-from.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ship-from.js","sourceRoot":"","sources":["../../../src/models/addresses/ship-from.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;
|
|
1
|
+
{"version":3,"file":"ship-from.js","sourceRoot":"","sources":["../../../src/models/addresses/ship-from.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAI7C,2EAA2E;AAC3E,MAAa,QAAS,SAAQ,0BAAW;IACvC,wDAAwD;IACxD,eAAe,CAAmB;IAClC,8EAA8E;IAC9E,WAAW,CAAqB;CACjC;AALD,4BAKC"}
|
|
@@ -2,6 +2,7 @@ import { CollectOnDelivery } from './collect-on-delivery';
|
|
|
2
2
|
import { Currency } from './currency';
|
|
3
3
|
import { DangerousGoodsContact } from './dangerous-good/dangerous-goods-contact';
|
|
4
4
|
import { WindsorFrameworkDetails } from './windsor-framework/windsor_framework_details';
|
|
5
|
+
import { MovementIndicator } from './windsor-framework/movement_indicator';
|
|
5
6
|
import { AccessibilityTypes } from './accessibility-types';
|
|
6
7
|
import { Signatory } from './signatory';
|
|
7
8
|
import { RegulationLevelTypes } from './dangerous-good/regulation-level-types';
|
|
@@ -61,10 +62,11 @@ export declare class AdvancedOptions {
|
|
|
61
62
|
fragile?: boolean;
|
|
62
63
|
/** @description A unique ID representing a specific carrier service-level or automation rule within the carrier's/aggregator's system. */
|
|
63
64
|
service_configuration_id?: string;
|
|
64
|
-
/** @description Indicates whether the recipient should be notified of events related to the shipment. */
|
|
65
|
-
delivery_as_addressed?: boolean;
|
|
66
65
|
/** @description Instructs the carrier to deliver the package only to the exact address provided. */
|
|
67
|
-
|
|
66
|
+
delivery_as_addressed?: boolean;
|
|
68
67
|
/** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
|
|
68
|
+
return_after_first_attempt?: boolean;
|
|
69
|
+
/** @description Indicates the type of movement for the shipment. */
|
|
70
|
+
movement_indicator?: MovementIndicator;
|
|
69
71
|
[key: string]: any;
|
|
70
72
|
}
|
|
@@ -55,10 +55,12 @@ class AdvancedOptions {
|
|
|
55
55
|
fragile;
|
|
56
56
|
/** @description A unique ID representing a specific carrier service-level or automation rule within the carrier's/aggregator's system. */
|
|
57
57
|
service_configuration_id;
|
|
58
|
-
/** @description Indicates whether the recipient should be notified of events related to the shipment. */
|
|
59
|
-
delivery_as_addressed;
|
|
60
58
|
/** @description Instructs the carrier to deliver the package only to the exact address provided. */
|
|
59
|
+
delivery_as_addressed;
|
|
60
|
+
/** @description Ensures the shipment is immediately flagged for return to the sender if the initial delivery attempt fails. */
|
|
61
61
|
return_after_first_attempt;
|
|
62
|
+
/** @description Indicates the type of movement for the shipment. */
|
|
63
|
+
movement_indicator;
|
|
62
64
|
}
|
|
63
65
|
exports.AdvancedOptions = AdvancedOptions;
|
|
64
66
|
//# sourceMappingURL=advanced-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"advanced-options.js","sourceRoot":"","sources":["../../src/models/advanced-options.ts"],"names":[],"mappings":";;;AAWA,wDAAwD;AACxD,MAAa,eAAe;IAC1B,0DAA0D;IAC1D,sBAAsB,CAAW;IACjC,yDAAyD;IACzD,gBAAgB,CAAW;IAC3B,iEAAiE;IACjE,UAAU,CAAW;IACrB,oEAAoE;IACpE,cAAc,CAAW;IACzB,8EAA8E;IAC9E,qBAAqB,CAAW;IAChC,6DAA6D;IAC7D,iBAAiB,CAAW;IAC5B,iGAAiG;IACjG,GAAG,CAAY;IACf,wFAAwF;IACxF,mBAAmB,CAAW;IAC9B,iGAAiG;IACjG,mBAAmB,CAAqB;IACxC,8IAA8I;IAC9I,mBAAmB,CAAW;IAC9B,iFAAiF;IACjF,eAAe,CAAW;IAC1B,2DAA2D;IAC3D,uBAAuB,CAAyB;IAChD,+HAA+H;IAC/H,gBAAgB,CAAW;IAC3B,yGAAyG;IACzG,kBAAkB,CAAW;IAC7B,qDAAqD;IACrD,yBAAyB,CAA2B;IACpD,+GAA+G;IAC/G,aAAa,CAAsB;IACnC,oHAAoH;IACpH,SAAS,CAAa;IACtB,wEAAwE;IACxE,gBAAgB,CAAwB;IACxC,0FAA0F;IAC1F,cAAc,CAAsB;IACpC,yFAAyF;IACzF,MAAM,CAAW;IACjB,uHAAuH;IACvH,kBAAkB,CAAW;IAC7B,qFAAqF;IACrF,QAAQ,CAAW;IACnB,kHAAkH;IAClH,WAAW,CAAW;IACtB,0GAA0G;IAC1G,0BAA0B,CAA4B;IACtD,qEAAqE;IACrE,OAAO,CAAW;IAClB,0IAA0I;IAC1I,wBAAwB,CAAU;IAClC,oGAAoG;IACpG,qBAAqB,CAAW;IAChC,+HAA+H;IAC/H,0BAA0B,CAAW;IAErC,oEAAoE;IACpE,kBAAkB,CAAqB;CAExC;AA7DD,0CA6DC"}
|
package/package.json
CHANGED