@shipengine/connect-carrier-api 4.26.4 → 4.26.6
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/address-base-schema.js +14 -2
- package/lib/models/addresses/address-base-schema.js.map +1 -1
- package/lib/models/addresses/address-base.d.ts +30 -2
- package/lib/models/addresses/address-base.js +27 -2
- package/lib/models/addresses/address-base.js.map +1 -1
- package/lib/models/addresses/index.d.ts +0 -1
- package/lib/models/addresses/index.js +0 -1
- package/lib/models/addresses/index.js.map +1 -1
- package/lib/models/addresses/pudo-location-schema.js +0 -10
- package/lib/models/addresses/pudo-location-schema.js.map +1 -1
- package/lib/models/addresses/pudo-location.d.ts +3 -16
- package/lib/models/addresses/pudo-location.js +3 -16
- package/lib/models/addresses/pudo-location.js.map +1 -1
- package/lib/models/customs/customs-content-types.d.ts +5 -1
- package/lib/models/customs/customs-content-types.js +4 -0
- package/lib/models/customs/customs-content-types.js.map +1 -1
- package/lib/models/documents/uploads/document-upload-shipment.d.ts +2 -0
- package/lib/models/documents/uploads/document-upload-shipment.js +2 -0
- package/lib/models/documents/uploads/document-upload-shipment.js.map +1 -1
- package/package.json +1 -1
- package/spec.json +14 -26
- package/src/models/addresses/address-base-schema.ts +14 -2
- package/src/models/addresses/address-base.ts +28 -2
- package/src/models/addresses/index.ts +0 -1
- package/src/models/addresses/pudo-location-schema.ts +0 -10
- package/src/models/addresses/pudo-location.ts +3 -16
- package/src/models/customs/customs-content-types.ts +4 -0
- package/src/models/documents/uploads/document-upload-shipment.ts +2 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/lib/models/addresses/address-common-schema.d.ts +0 -2
- package/lib/models/addresses/address-common-schema.js +0 -21
- package/lib/models/addresses/address-common-schema.js.map +0 -1
- package/lib/models/addresses/address-common.d.ts +0 -31
- package/lib/models/addresses/address-common.js +0 -33
- package/lib/models/addresses/address-common.js.map +0 -1
- package/src/models/addresses/address-common-schema.ts +0 -17
- package/src/models/addresses/address-common.ts +0 -30
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddressCommonSchema = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
6
|
-
exports.AddressCommonSchema = joi_1.default.object({
|
|
7
|
-
name: joi_1.default.string().optional().empty(),
|
|
8
|
-
first_name: joi_1.default.string().optional().empty(),
|
|
9
|
-
last_name: joi_1.default.string().optional().empty(),
|
|
10
|
-
email: joi_1.default.string().email().optional().empty(),
|
|
11
|
-
phone_number: joi_1.default.string().optional().empty(),
|
|
12
|
-
company_name: joi_1.default.string().optional().empty(),
|
|
13
|
-
address_lines: joi_1.default.array().items(joi_1.default.string()).optional(),
|
|
14
|
-
city_locality: joi_1.default.string().optional().empty(),
|
|
15
|
-
state_province: joi_1.default.string().optional().empty(),
|
|
16
|
-
address_residential_indicator: joi_1.default.string().optional().empty(),
|
|
17
|
-
is_eu: joi_1.default.boolean().optional(),
|
|
18
|
-
address_metadata: joi_1.default.object().optional().empty(),
|
|
19
|
-
instructions: joi_1.default.string().optional().empty(),
|
|
20
|
-
});
|
|
21
|
-
//# sourceMappingURL=address-common-schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"address-common-schema.js","sourceRoot":"","sources":["../../../src/models/addresses/address-common-schema.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAET,QAAA,mBAAmB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACrC,UAAU,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC3C,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1C,KAAK,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC9C,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC7C,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,aAAG,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzD,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC9C,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC/C,6BAA6B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC9D,KAAK,EAAE,aAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,gBAAgB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACjD,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CAC9C,CAAC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AddressResidentialIndicator } from './address-residential-indicator';
|
|
2
|
-
export declare class AddressCommon {
|
|
3
|
-
/** @description The full name of the contact associated with the address */
|
|
4
|
-
name?: string;
|
|
5
|
-
/** @description The first name of the contact associated with the address */
|
|
6
|
-
first_name?: string;
|
|
7
|
-
/** @description The last name of the contact associated with the address */
|
|
8
|
-
last_name?: string;
|
|
9
|
-
/** @description The email of the contact associated with the address */
|
|
10
|
-
email?: string;
|
|
11
|
-
/** @description The phone number of the contact associated with the address (No Newline Characters) */
|
|
12
|
-
phone_number?: string;
|
|
13
|
-
/** @description The name of the company associated with this address (No Newline Characters) max length 100 characters */
|
|
14
|
-
company_name?: string;
|
|
15
|
-
/** @description The address lines of the address (No Newline Characters) max length 100 characters */
|
|
16
|
-
address_lines?: string[];
|
|
17
|
-
/** @description City or locality (No Newline Characters) */
|
|
18
|
-
city_locality?: string;
|
|
19
|
-
/** @description State or province (No Newline Characters) */
|
|
20
|
-
state_province?: string;
|
|
21
|
-
/** @description Whether the address is residential or commercial */
|
|
22
|
-
address_residential_indicator?: AddressResidentialIndicator;
|
|
23
|
-
/** @description Whether the country of the shipment address is a member of the EU */
|
|
24
|
-
is_eu?: boolean;
|
|
25
|
-
/** @description Additional metadata provided for specific requests */
|
|
26
|
-
address_metadata?: {
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
29
|
-
/** @description Instructions to help the carrier navigate to the address */
|
|
30
|
-
instructions?: string;
|
|
31
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddressCommon = void 0;
|
|
4
|
-
class AddressCommon {
|
|
5
|
-
/** @description The full name of the contact associated with the address */
|
|
6
|
-
name;
|
|
7
|
-
/** @description The first name of the contact associated with the address */
|
|
8
|
-
first_name;
|
|
9
|
-
/** @description The last name of the contact associated with the address */
|
|
10
|
-
last_name;
|
|
11
|
-
/** @description The email of the contact associated with the address */
|
|
12
|
-
email;
|
|
13
|
-
/** @description The phone number of the contact associated with the address (No Newline Characters) */
|
|
14
|
-
phone_number;
|
|
15
|
-
/** @description The name of the company associated with this address (No Newline Characters) max length 100 characters */
|
|
16
|
-
company_name;
|
|
17
|
-
/** @description The address lines of the address (No Newline Characters) max length 100 characters */
|
|
18
|
-
address_lines;
|
|
19
|
-
/** @description City or locality (No Newline Characters) */
|
|
20
|
-
city_locality;
|
|
21
|
-
/** @description State or province (No Newline Characters) */
|
|
22
|
-
state_province;
|
|
23
|
-
/** @description Whether the address is residential or commercial */
|
|
24
|
-
address_residential_indicator;
|
|
25
|
-
/** @description Whether the country of the shipment address is a member of the EU */
|
|
26
|
-
is_eu;
|
|
27
|
-
/** @description Additional metadata provided for specific requests */
|
|
28
|
-
address_metadata;
|
|
29
|
-
/** @description Instructions to help the carrier navigate to the address */
|
|
30
|
-
instructions;
|
|
31
|
-
}
|
|
32
|
-
exports.AddressCommon = AddressCommon;
|
|
33
|
-
//# sourceMappingURL=address-common.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"address-common.js","sourceRoot":"","sources":["../../../src/models/addresses/address-common.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IACxB,4EAA4E;IAC5E,IAAI,CAAU;IACd,6EAA6E;IAC7E,UAAU,CAAU;IACpB,4EAA4E;IAC5E,SAAS,CAAU;IACnB,wEAAwE;IACxE,KAAK,CAAU;IACf,uGAAuG;IACvG,YAAY,CAAU;IACtB,0HAA0H;IAC1H,YAAY,CAAU;IACtB,sGAAsG;IACtG,aAAa,CAAY;IACzB,4DAA4D;IAC5D,aAAa,CAAU;IACvB,6DAA6D;IAC7D,cAAc,CAAU;IACxB,oEAAoE;IACpE,6BAA6B,CAA+B;IAC5D,qFAAqF;IACrF,KAAK,CAAW;IAChB,sEAAsE;IACtE,gBAAgB,CAA6B;IAC7C,4EAA4E;IAC5E,YAAY,CAAU;CACvB;AA3BD,sCA2BC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Joi from 'joi';
|
|
2
|
-
|
|
3
|
-
export const AddressCommonSchema = Joi.object({
|
|
4
|
-
name: Joi.string().optional().empty(),
|
|
5
|
-
first_name: Joi.string().optional().empty(),
|
|
6
|
-
last_name: Joi.string().optional().empty(),
|
|
7
|
-
email: Joi.string().email().optional().empty(),
|
|
8
|
-
phone_number: Joi.string().optional().empty(),
|
|
9
|
-
company_name: Joi.string().optional().empty(),
|
|
10
|
-
address_lines: Joi.array().items(Joi.string()).optional(),
|
|
11
|
-
city_locality: Joi.string().optional().empty(),
|
|
12
|
-
state_province: Joi.string().optional().empty(),
|
|
13
|
-
address_residential_indicator: Joi.string().optional().empty(),
|
|
14
|
-
is_eu: Joi.boolean().optional(),
|
|
15
|
-
address_metadata: Joi.object().optional().empty(),
|
|
16
|
-
instructions: Joi.string().optional().empty(),
|
|
17
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AddressResidentialIndicator } from './address-residential-indicator';
|
|
2
|
-
|
|
3
|
-
export class AddressCommon {
|
|
4
|
-
/** @description The full name of the contact associated with the address */
|
|
5
|
-
name?: string;
|
|
6
|
-
/** @description The first name of the contact associated with the address */
|
|
7
|
-
first_name?: string;
|
|
8
|
-
/** @description The last name of the contact associated with the address */
|
|
9
|
-
last_name?: string;
|
|
10
|
-
/** @description The email of the contact associated with the address */
|
|
11
|
-
email?: string;
|
|
12
|
-
/** @description The phone number of the contact associated with the address (No Newline Characters) */
|
|
13
|
-
phone_number?: string;
|
|
14
|
-
/** @description The name of the company associated with this address (No Newline Characters) max length 100 characters */
|
|
15
|
-
company_name?: string;
|
|
16
|
-
/** @description The address lines of the address (No Newline Characters) max length 100 characters */
|
|
17
|
-
address_lines?: string[];
|
|
18
|
-
/** @description City or locality (No Newline Characters) */
|
|
19
|
-
city_locality?: string;
|
|
20
|
-
/** @description State or province (No Newline Characters) */
|
|
21
|
-
state_province?: string;
|
|
22
|
-
/** @description Whether the address is residential or commercial */
|
|
23
|
-
address_residential_indicator?: AddressResidentialIndicator;
|
|
24
|
-
/** @description Whether the country of the shipment address is a member of the EU */
|
|
25
|
-
is_eu?: boolean;
|
|
26
|
-
/** @description Additional metadata provided for specific requests */
|
|
27
|
-
address_metadata?: { [key: string]: string };
|
|
28
|
-
/** @description Instructions to help the carrier navigate to the address */
|
|
29
|
-
instructions?: string;
|
|
30
|
-
}
|