@shipengine/connect-carrier-api 2.4.0 → 2.4.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.
Files changed (37) hide show
  1. package/lib/app/constants.d.ts +1 -1
  2. package/lib/app/constants.js +1 -1
  3. package/lib/app/constants.js.map +1 -1
  4. package/lib/models/relay-points/index.d.ts +2 -0
  5. package/lib/models/relay-points/index.js +2 -0
  6. package/lib/models/relay-points/index.js.map +1 -1
  7. package/lib/models/relay-points/opening-times.d.ts +1 -0
  8. package/lib/models/relay-points/opening-times.js +1 -0
  9. package/lib/models/relay-points/opening-times.js.map +1 -1
  10. package/lib/models/relay-points/relay-point-address.d.ts +12 -0
  11. package/lib/models/relay-points/relay-point-address.js +19 -0
  12. package/lib/models/relay-points/relay-point-address.js.map +1 -0
  13. package/lib/models/relay-points/relay-point-details.d.ts +8 -0
  14. package/lib/models/relay-points/relay-point-details.js +15 -0
  15. package/lib/models/relay-points/relay-point-details.js.map +1 -0
  16. package/lib/models/relay-points/relay-point.d.ts +4 -10
  17. package/lib/models/relay-points/relay-point.js +6 -12
  18. package/lib/models/relay-points/relay-point.js.map +1 -1
  19. package/lib/requests/create-label-request.d.ts +2 -2
  20. package/lib/requests/get-relay-points-request.d.ts +1 -0
  21. package/lib/requests/get-relay-points-request.js +1 -0
  22. package/lib/requests/get-relay-points-request.js.map +1 -1
  23. package/lib/responses/create-label-response.d.ts +2 -1
  24. package/lib/responses/create-label-response.js +1 -0
  25. package/lib/responses/create-label-response.js.map +1 -1
  26. package/package.json +1 -1
  27. package/spec.json +562 -82
  28. package/src/app/constants.ts +1 -1
  29. package/src/models/relay-points/index.ts +2 -0
  30. package/src/models/relay-points/opening-times.ts +1 -0
  31. package/src/models/relay-points/relay-point-address.ts +22 -0
  32. package/src/models/relay-points/relay-point-details.ts +13 -0
  33. package/src/models/relay-points/relay-point.ts +8 -21
  34. package/src/requests/create-label-request.ts +2 -2
  35. package/src/requests/get-relay-points-request.ts +1 -0
  36. package/src/responses/create-label-response.ts +4 -0
  37. package/tsconfig.tsbuildinfo +1 -1
@@ -12,5 +12,5 @@ export declare enum ApiEndpoints {
12
12
  CancelNotification = "/CancelNotification",
13
13
  ValidateInboundData = "/ValidateInboundData",
14
14
  NormalizeTrackingData = "/NormalizeTrackingData",
15
- GetRelayPoints = "/RelayPoints"
15
+ GetRelayPoints = "/GetRelayPoints"
16
16
  }
@@ -16,6 +16,6 @@ var ApiEndpoints;
16
16
  ApiEndpoints["CancelNotification"] = "/CancelNotification";
17
17
  ApiEndpoints["ValidateInboundData"] = "/ValidateInboundData";
18
18
  ApiEndpoints["NormalizeTrackingData"] = "/NormalizeTrackingData";
19
- ApiEndpoints["GetRelayPoints"] = "/RelayPoints";
19
+ ApiEndpoints["GetRelayPoints"] = "/GetRelayPoints";
20
20
  })(ApiEndpoints = exports.ApiEndpoints || (exports.ApiEndpoints = {}));
21
21
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/app/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAeX;AAfD,WAAY,YAAY;IACtB,sCAAsB,CAAA;IACtB,4CAA4B,CAAA;IAC5B,0CAA0B,CAAA;IAC1B,sCAAsB,CAAA;IACtB,kDAAkC,CAAA;IAClC,4CAA4B,CAAA;IAC5B,kDAAkC,CAAA;IAClC,8CAA8B,CAAA;IAC9B,gCAAgB,CAAA;IAChB,0DAA0C,CAAA;IAC1C,0DAA0C,CAAA;IAC1C,4DAA4C,CAAA;IAC5C,gEAAgD,CAAA;IAChD,+CAA+B,CAAA;AACjC,CAAC,EAfW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAevB"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/app/constants.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAeX;AAfD,WAAY,YAAY;IACtB,sCAAsB,CAAA;IACtB,4CAA4B,CAAA;IAC5B,0CAA0B,CAAA;IAC1B,sCAAsB,CAAA;IACtB,kDAAkC,CAAA;IAClC,4CAA4B,CAAA;IAC5B,kDAAkC,CAAA;IAClC,8CAA8B,CAAA;IAC9B,gCAAgB,CAAA;IAChB,0DAA0C,CAAA;IAC1C,0DAA0C,CAAA;IAC1C,4DAA4C,CAAA;IAC5C,gEAAgD,CAAA;IAChD,kDAAkC,CAAA;AACpC,CAAC,EAfW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAevB"}
@@ -1,2 +1,4 @@
1
1
  export * from './relay-point';
2
2
  export * from './opening-times';
3
+ export * from './relay-point-address';
4
+ export * from './relay-point-details';
@@ -3,4 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./relay-point"), exports);
5
5
  tslib_1.__exportStar(require("./opening-times"), exports);
6
+ tslib_1.__exportStar(require("./relay-point-address"), exports);
7
+ tslib_1.__exportStar(require("./relay-point-details"), exports);
6
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/relay-points/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,0DAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/relay-points/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B;AAC9B,0DAAgC;AAChC,gEAAsC;AACtC,gEAAsC"}
@@ -1,4 +1,5 @@
1
1
  import Joi from 'joi';
2
+ /** @description The times each day that the relay point is open, for example: "11:00-13:00, 14:30-19:30" */
2
3
  export declare class OpeningTimes {
3
4
  monday: string;
4
5
  tuesday: string;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpeningTimesSchema = exports.OpeningTimes = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ /** @description The times each day that the relay point is open, for example: "11:00-13:00, 14:30-19:30" */
6
7
  class OpeningTimes {
7
8
  }
8
9
  exports.OpeningTimes = OpeningTimes;
@@ -1 +1 @@
1
- {"version":3,"file":"opening-times.js","sourceRoot":"","sources":["../../../src/models/relay-points/opening-times.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,MAAa,YAAY;CAQxB;AARD,oCAQC;AAEY,QAAA,kBAAkB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACvC,OAAO,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACxC,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1C,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACzC,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACvC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACzC,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CACxC,CAAC,CAAC"}
1
+ {"version":3,"file":"opening-times.js","sourceRoot":"","sources":["../../../src/models/relay-points/opening-times.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,4GAA4G;AAC5G,MAAa,YAAY;CAQxB;AARD,oCAQC;AAEY,QAAA,kBAAkB,GAAG,aAAG,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACvC,OAAO,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACxC,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1C,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACzC,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACvC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IACzC,MAAM,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;CACxC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import Joi from 'joi';
2
+ /** @description The address information corresponding to a specific relay point */
3
+ export declare class RelayPointAddress {
4
+ relay_point_id: string;
5
+ company_name?: string;
6
+ address_lines: string[];
7
+ city_locality: string;
8
+ state_province: string;
9
+ postal_code: string;
10
+ country_code: string;
11
+ }
12
+ export declare const RelayPointAddressSchema: Joi.ObjectSchema<any>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelayPointAddressSchema = exports.RelayPointAddress = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ /** @description The address information corresponding to a specific relay point */
7
+ class RelayPointAddress {
8
+ }
9
+ exports.RelayPointAddress = RelayPointAddress;
10
+ exports.RelayPointAddressSchema = joi_1.default.object({
11
+ relay_point_id: joi_1.default.string().required(),
12
+ company_name: joi_1.default.string().optional().empty(),
13
+ address_lines: joi_1.default.array().items(joi_1.default.string()).required(),
14
+ city_locality: joi_1.default.string().required(),
15
+ state_province: joi_1.default.string().required(),
16
+ postal_code: joi_1.default.string().required(),
17
+ country_code: joi_1.default.string().required(),
18
+ });
19
+ //# sourceMappingURL=relay-point-address.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relay-point-address.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-address.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,mFAAmF;AACnF,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAEY,QAAA,uBAAuB,GAAG,aAAG,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,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;IACtC,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import Joi from 'joi';
2
+ import { RelayPointAddress } from './relay-point-address';
3
+ /** @description Details of the relay points to be used to create labels */
4
+ export declare class RelayPointDetails {
5
+ ship_to: RelayPointAddress;
6
+ ship_from: RelayPointAddress;
7
+ }
8
+ export declare const RelayPointDetailsSchema: Joi.ObjectSchema<any>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelayPointDetailsSchema = exports.RelayPointDetails = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ const relay_point_address_1 = require("./relay-point-address");
7
+ /** @description Details of the relay points to be used to create labels */
8
+ class RelayPointDetails {
9
+ }
10
+ exports.RelayPointDetails = RelayPointDetails;
11
+ exports.RelayPointDetailsSchema = joi_1.default.object({
12
+ ship_to: relay_point_address_1.RelayPointAddressSchema.required(),
13
+ ship_from: relay_point_address_1.RelayPointAddressSchema.required(),
14
+ });
15
+ //# sourceMappingURL=relay-point-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relay-point-details.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point-details.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,+DAAmF;AAEnF,2EAA2E;AAC3E,MAAa,iBAAiB;CAG7B;AAHD,8CAGC;AAEY,QAAA,uBAAuB,GAAG,aAAG,CAAC,MAAM,CAAC;IAChD,OAAO,EAAE,6CAAuB,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,6CAAuB,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC"}
@@ -1,17 +1,11 @@
1
1
  import Joi from 'joi';
2
+ import { RelayPointAddress } from './relay-point-address';
2
3
  import { OpeningTimes } from './opening-times';
3
4
  /** @description Basic structure for a relay point */
4
- export declare class RelayPoint {
5
- relay_point_id: string;
6
- company_name?: string;
7
- address_line1: string;
8
- city_locality: string;
9
- state_province: string;
10
- postal_code: string;
11
- country_code: string;
5
+ export declare class RelayPoint extends RelayPointAddress {
12
6
  phone?: string;
13
- long?: number;
14
- lat?: number;
7
+ longitude?: number;
8
+ latitude?: number;
15
9
  opening_times: OpeningTimes;
16
10
  }
17
11
  export declare const RelayPointSchema: Joi.ObjectSchema<any>;
@@ -3,22 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RelayPointSchema = exports.RelayPoint = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const joi_1 = tslib_1.__importDefault(require("joi"));
6
+ const relay_point_address_1 = require("./relay-point-address");
6
7
  const opening_times_1 = require("./opening-times");
7
8
  /** @description Basic structure for a relay point */
8
- class RelayPoint {
9
+ class RelayPoint extends relay_point_address_1.RelayPointAddress {
9
10
  }
10
11
  exports.RelayPoint = RelayPoint;
11
- exports.RelayPointSchema = joi_1.default.object({
12
- relay_point_id: joi_1.default.string().required(),
13
- company_name: joi_1.default.string().optional().empty(),
14
- address_line1: joi_1.default.string().required(),
15
- city_locality: joi_1.default.string().required(),
16
- state_province: joi_1.default.string().required(),
17
- postal_code: joi_1.default.string().required(),
18
- country_code: joi_1.default.string().required(),
19
- phone: joi_1.default.string().required(),
20
- long: joi_1.default.number().optional(),
21
- lat: joi_1.default.number().optional(),
12
+ exports.RelayPointSchema = relay_point_address_1.RelayPointAddressSchema.keys({
13
+ phone: joi_1.default.string().optional(),
14
+ longitude: joi_1.default.number().optional(),
15
+ latitude: joi_1.default.number().optional(),
22
16
  opening_times: opening_times_1.OpeningTimesSchema.required(),
23
17
  });
24
18
  //# 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,sDAAsB;AACtB,mDAAmE;AAEnE,qDAAqD;AACrD,MAAa,UAAU;CAYtB;AAZD,gCAYC;AAEY,QAAA,gBAAgB,GAAG,aAAG,CAAC,MAAM,CAAC;IACzC,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC7C,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,WAAW,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,KAAK,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,IAAI,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,GAAG,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,aAAa,EAAE,kCAAkB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
1
+ {"version":3,"file":"relay-point.js","sourceRoot":"","sources":["../../../src/models/relay-points/relay-point.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AACtB,+DAAmF;AACnF,mDAAmE;AAEnE,qDAAqD;AACrD,MAAa,UAAW,SAAQ,uCAAiB;CAKhD;AALD,gCAKC;AAEY,QAAA,gBAAgB,GAAG,6CAAuB,CAAC,IAAI,CAAC;IAC3D,KAAK,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,SAAS,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,kCAAkB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { BaseRequest } from './base-request';
2
- import { AdvancedOptions, ConfirmationTypes, FulfillmentPlanDetails, InsuranceProviders, DocumentFormat, LabelLayouts, Package, ReturnLabelDetails, ShipFrom, PudoLocation, ShipFromDisplay, ShipTo, Document, TimeWindow, RelayPoint } from '../models';
2
+ import { AdvancedOptions, ConfirmationTypes, FulfillmentPlanDetails, InsuranceProviders, DocumentFormat, LabelLayouts, Package, ReturnLabelDetails, ShipFrom, PudoLocation, ShipFromDisplay, ShipTo, Document, TimeWindow, RelayPointDetails } from '../models';
3
3
  /** @description Basic structure for a request to create a label */
4
4
  export declare class CreateLabelRequest extends BaseRequest {
5
5
  service_code?: string;
@@ -18,7 +18,7 @@ export declare class CreateLabelRequest extends BaseRequest {
18
18
  ship_to: ShipTo;
19
19
  ship_from: ShipFrom;
20
20
  pickup_location?: PudoLocation;
21
- relay_points?: RelayPoint[];
21
+ relay_points?: RelayPointDetails;
22
22
  ship_from_display?: ShipFromDisplay;
23
23
  /** @description Whether the shipment requires next day shipping */
24
24
  next_day?: boolean;
@@ -1,4 +1,5 @@
1
1
  import { BaseRequest } from './base-request';
2
+ /** @description Basic structure for a request to get relay points */
2
3
  export declare class GetRelayPointsRequest extends BaseRequest {
3
4
  service_code: string;
4
5
  postal_code: string;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetRelayPointsRequest = void 0;
4
4
  const base_request_1 = require("./base-request");
5
+ /** @description Basic structure for a request to get relay points */
5
6
  class GetRelayPointsRequest extends base_request_1.BaseRequest {
6
7
  }
7
8
  exports.GetRelayPointsRequest = GetRelayPointsRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"get-relay-points-request.js","sourceRoot":"","sources":["../../src/requests/get-relay-points-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAE7C,MAAa,qBAAsB,SAAQ,0BAAW;CAIrD;AAJD,sDAIC"}
1
+ {"version":3,"file":"get-relay-points-request.js","sourceRoot":"","sources":["../../src/requests/get-relay-points-request.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAE7C,qEAAqE;AACrE,MAAa,qBAAsB,SAAQ,0BAAW;CAIrD;AAJD,sDAIC"}
@@ -1,5 +1,5 @@
1
1
  import { BaseResponse } from './base-response';
2
- import { LabelDownload, FormDownload, Document, BillingLineItem, LabelPackage, Identifier, TimeWindow } from '../models';
2
+ import { LabelDownload, FormDownload, Document, BillingLineItem, LabelPackage, Identifier, TimeWindow, RelayPointDetails } from '../models';
3
3
  import Joi from 'joi';
4
4
  /** @description Basic structure for a response to create a label */
5
5
  export declare class CreateLabelResponse extends BaseResponse {
@@ -18,5 +18,6 @@ export declare class CreateLabelResponse extends BaseResponse {
18
18
  carrier_pickup_window?: TimeWindow;
19
19
  /** @description The delivery window is the time designated when the carrier will drop off the package to the recipient */
20
20
  delivery_window?: TimeWindow;
21
+ relay_points?: RelayPointDetails;
21
22
  }
22
23
  export declare const CreateLabelResponseSchema: Joi.ObjectSchema<any>;
@@ -23,5 +23,6 @@ exports.CreateLabelResponseSchema = base_response_1.BaseResponseSchema.keys({
23
23
  consolidator_service_code: joi_1.default.string().optional().empty(),
24
24
  carrier_pickup_window: models_1.TimeWindowSchema.optional(),
25
25
  delivery_window: models_1.TimeWindowSchema.optional(),
26
+ relay_points: models_1.RelayPointDetailsSchema.optional(),
26
27
  });
27
28
  //# sourceMappingURL=create-label-response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-label-response.js","sourceRoot":"","sources":["../../src/responses/create-label-response.ts"],"names":[],"mappings":";;;;AAAA,mDAAmE;AACnE,sCAemB;AACnB,sDAAsB;AAEtB,oEAAoE;AACpE,MAAa,mBAAoB,SAAQ,4BAAY;CAgBpD;AAhBD,kDAgBC;AAEY,QAAA,yBAAyB,GAAG,kCAAkB,CAAC,IAAI,CAAC;IAC/D,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,4BAAmB,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,2BAAkB,CAAC,QAAQ,EAAE;IAC5C,SAAS,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,uBAAc,CAAC;IACvD,QAAQ,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,2BAAkB,CAAC;IAC1D,kBAAkB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,8BAAqB,CAAC;IACvE,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,SAAS,EAAE,aAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,uBAAuB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,yBAAgB,CAAC;IACvE,2BAA2B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IACtE,yBAAyB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1D,qBAAqB,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,yBAAgB,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
1
+ {"version":3,"file":"create-label-response.js","sourceRoot":"","sources":["../../src/responses/create-label-response.ts"],"names":[],"mappings":";;;;AAAA,mDAAmE;AACnE,sCAiBmB;AACnB,sDAAsB;AAEtB,oEAAoE;AACpE,MAAa,mBAAoB,SAAQ,4BAAY;CAiBpD;AAjBD,kDAiBC;AAEY,QAAA,yBAAyB,GAAG,kCAAkB,CAAC,IAAI,CAAC;IAC/D,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,4BAAmB,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,2BAAkB,CAAC,QAAQ,EAAE;IAC5C,SAAS,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,uBAAc,CAAC;IACvD,QAAQ,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,2BAAkB,CAAC;IAC1D,kBAAkB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,8BAAqB,CAAC;IACvE,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,SAAS,EAAE,aAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,uBAAuB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,yBAAgB,CAAC;IACvE,2BAA2B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IACtE,yBAAyB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1D,qBAAqB,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,gCAAuB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "2.4.0",
3
+ "version": "2.4.3",
4
4
  "description": "This is the typescript/javascript definitions for carrier api",
5
5
  "homepage": "https://github.com/ShipEngine/connect",
6
6
  "main": "./lib/index.js",