@shipengine/connect-carrier-api 2.12.6 → 2.12.9
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-native-rating-routes.js +7 -7
- package/lib/app/build-native-rating-routes.js.map +1 -1
- package/lib/app/carrier-app.js +3 -3
- package/lib/app/carrier-app.js.map +1 -1
- package/lib/app/create-get-rates-handler.js +7 -7
- package/lib/app/create-get-rates-handler.js.map +1 -1
- package/lib/app/internal/carrier-specification.d.ts +2 -2
- package/lib/app/internal/carrier-specification.js +2 -2
- package/lib/app/internal/carrier-specification.js.map +1 -1
- package/lib/app/internal/route.d.ts +1 -1
- package/lib/app/metadata/confirmation-type.d.ts +1 -1
- package/lib/app/metadata/custom-validators/file-exists.js +1 -1
- package/lib/app/metadata/custom-validators/file-exists.js.map +1 -1
- package/lib/app/metadata/monoauth.d.ts +1 -1
- package/lib/app/metadata/shipping-option.d.ts +2 -2
- package/lib/app/native-rating/base-rate-context.js +2 -2
- package/lib/app/native-rating/base-rate-context.js.map +1 -1
- package/lib/app/native-rating/data-validator.js +5 -5
- package/lib/app/native-rating/data-validator.js.map +1 -1
- package/lib/app/native-rating/get-rates.d.ts +1 -1
- package/lib/app/native-rating/get-variables.d.ts +1 -1
- package/lib/app/native-rating/get-zone.d.ts +1 -1
- package/lib/models/customs/customs-content-types.d.ts +1 -1
- package/lib/models/customs/customs-content-types.js +1 -1
- package/lib/models/customs/customs-content-types.js.map +1 -1
- package/lib/models/customs/customs.d.ts +6 -0
- package/lib/models/customs/customs.js.map +1 -1
- package/lib/models/importer-records/ImporterRecords.d.ts +21 -0
- package/lib/models/importer-records/ImporterRecords.js +8 -0
- package/lib/models/importer-records/ImporterRecords.js.map +1 -0
- package/package.json +3 -3
- package/spec.json +62 -2
- package/src/models/customs/customs-content-types.ts +1 -1
- package/src/models/customs/customs.ts +6 -1
- package/src/models/importer-records/ImporterRecords.ts +21 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -3,6 +3,7 @@ import { CustomsNonDelivery } from './customs-non-delivery';
|
|
|
3
3
|
import { CustomsItem } from './customs-item';
|
|
4
4
|
import { Currency } from '../currency';
|
|
5
5
|
import { TermsOfTradeCode } from '../inconterms/terms-of-trade-code';
|
|
6
|
+
import { ImporterRecord } from '../importer-records/ImporterRecords';
|
|
6
7
|
|
|
7
8
|
/** @description Basic structure for a customs declaration */
|
|
8
9
|
export class Customs {
|
|
@@ -18,8 +19,10 @@ export class Customs {
|
|
|
18
19
|
duties_paid?: Currency;
|
|
19
20
|
/** @description Declaration statement to be placed on the commercial invoice */
|
|
20
21
|
declaration?: string;
|
|
21
|
-
|
|
22
|
+
/** @description Incoterms specify who is responsible for paying for and managing the shipment*/
|
|
22
23
|
termsOfTradeCode?: TermsOfTradeCode;
|
|
24
|
+
/** @description The owner or purchaser of the products being imported into a destination country.*/
|
|
25
|
+
importerRecord?: ImporterRecord;
|
|
23
26
|
/** @description Freight charge for international shipments. */
|
|
24
27
|
freight_charge?: Currency;
|
|
25
28
|
/** @description Other charge for international shipments. */
|
|
@@ -28,4 +31,6 @@ export class Customs {
|
|
|
28
31
|
insurance_charge?: Currency;
|
|
29
32
|
/** @description Discount for international shipments. */
|
|
30
33
|
discount?: Currency;
|
|
34
|
+
/**@description: text explanation for the content */
|
|
35
|
+
contents_explanation?: String;
|
|
31
36
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** @description Basic structure for a Importer Records */
|
|
2
|
+
export class ImporterRecord {
|
|
3
|
+
/** @description Indicates Name of the owner or purchaser of the products being imported into a destination country */
|
|
4
|
+
name?: string;
|
|
5
|
+
/** @description Indicates Company Name of the owner or purchaser of the products being imported into a destination country*/
|
|
6
|
+
company_name?: string;
|
|
7
|
+
/** @description Indicates address line one of the owner or purchaser of the products being imported into a destination country*/
|
|
8
|
+
address_line1!: string;
|
|
9
|
+
/** @description Indicates address of the owner or purchaser of the products being imported into a destination country*/
|
|
10
|
+
address_line2?: string;
|
|
11
|
+
/** @description Indicates City or Locality of the owner or purchaser of the products being imported into a destination country */
|
|
12
|
+
city_locality?: string;
|
|
13
|
+
/** @description Indicates statate or providence of the owner or purchaser of the products being imported into a destination country */
|
|
14
|
+
state_province?: string;
|
|
15
|
+
/** @description : Indicates postal code of the owner or purchaser of the products being imported into a destination country*/
|
|
16
|
+
postal_code?: string;
|
|
17
|
+
/** @description : Indicates country code of the owner or purchaser of the products being imported into a destination country*/
|
|
18
|
+
country_code?: string;
|
|
19
|
+
/** @description : Indicates phone number of the owner or purchaser of the products being imported into a destination country*/
|
|
20
|
+
phone?: string;
|
|
21
|
+
}
|