@sp-api-sdk/shipping-api-v2 2.1.4 → 2.1.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.
Files changed (182) hide show
  1. package/dist/cjs/api-model/api/shipping-api.js +0 -89
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/access-point-type.js +0 -2
  6. package/dist/cjs/api-model/models/account-status.js +0 -2
  7. package/dist/cjs/api-model/models/account-type.js +0 -2
  8. package/dist/cjs/api-model/models/channel-type.js +0 -2
  9. package/dist/cjs/api-model/models/claim-reason.js +0 -2
  10. package/dist/cjs/api-model/models/detail-codes.js +0 -2
  11. package/dist/cjs/api-model/models/document-format.js +0 -2
  12. package/dist/cjs/api-model/models/document-type.js +0 -2
  13. package/dist/cjs/api-model/models/event-code.js +0 -2
  14. package/dist/cjs/api-model/models/generation-status.js +0 -2
  15. package/dist/cjs/api-model/models/ineligibility-reason-code.js +0 -2
  16. package/dist/cjs/api-model/models/input-type.js +0 -2
  17. package/dist/cjs/api-model/models/label-attribute.js +0 -2
  18. package/dist/cjs/api-model/models/ndr-action.js +0 -2
  19. package/dist/cjs/api-model/models/payment-type.js +0 -2
  20. package/dist/cjs/api-model/models/rate-item-id.js +0 -2
  21. package/dist/cjs/api-model/models/rate-item-type.js +0 -2
  22. package/dist/cjs/api-model/models/settlement-type.js +0 -2
  23. package/dist/cjs/api-model/models/shipment-type.js +0 -2
  24. package/dist/cjs/api-model/models/status.js +0 -2
  25. package/dist/cjs/api-model/models/tax-type.js +0 -2
  26. package/dist/es/api-model/api/shipping-api.js +0 -89
  27. package/dist/es/api-model/base.js +0 -19
  28. package/dist/es/api-model/common.js +0 -37
  29. package/dist/es/api-model/configuration.js +0 -17
  30. package/dist/es/api-model/models/access-point-type.js +0 -2
  31. package/dist/es/api-model/models/account-status.js +0 -2
  32. package/dist/es/api-model/models/account-type.js +0 -2
  33. package/dist/es/api-model/models/channel-type.js +0 -2
  34. package/dist/es/api-model/models/claim-reason.js +0 -2
  35. package/dist/es/api-model/models/detail-codes.js +0 -2
  36. package/dist/es/api-model/models/document-format.js +0 -2
  37. package/dist/es/api-model/models/document-type.js +0 -2
  38. package/dist/es/api-model/models/event-code.js +0 -2
  39. package/dist/es/api-model/models/generation-status.js +0 -2
  40. package/dist/es/api-model/models/ineligibility-reason-code.js +0 -2
  41. package/dist/es/api-model/models/input-type.js +0 -2
  42. package/dist/es/api-model/models/label-attribute.js +0 -2
  43. package/dist/es/api-model/models/ndr-action.js +0 -2
  44. package/dist/es/api-model/models/payment-type.js +0 -2
  45. package/dist/es/api-model/models/rate-item-id.js +0 -2
  46. package/dist/es/api-model/models/rate-item-type.js +0 -2
  47. package/dist/es/api-model/models/settlement-type.js +0 -2
  48. package/dist/es/api-model/models/shipment-type.js +0 -2
  49. package/dist/es/api-model/models/status.js +0 -2
  50. package/dist/es/api-model/models/tax-type.js +0 -2
  51. package/dist/types/api-model/api/shipping-api.d.ts +0 -235
  52. package/dist/types/api-model/base.d.ts +0 -24
  53. package/dist/types/api-model/common.d.ts +0 -37
  54. package/dist/types/api-model/configuration.d.ts +0 -17
  55. package/dist/types/api-model/models/access-point-details.d.ts +0 -4
  56. package/dist/types/api-model/models/access-point-type.d.ts +0 -2
  57. package/dist/types/api-model/models/access-point.d.ts +0 -31
  58. package/dist/types/api-model/models/accessibility-attributes.d.ts +0 -6
  59. package/dist/types/api-model/models/account-status.d.ts +0 -2
  60. package/dist/types/api-model/models/account-type.d.ts +0 -2
  61. package/dist/types/api-model/models/active-account.d.ts +0 -6
  62. package/dist/types/api-model/models/address.d.ts +0 -29
  63. package/dist/types/api-model/models/amazon-order-details.d.ts +0 -4
  64. package/dist/types/api-model/models/amazon-shipment-details.d.ts +0 -4
  65. package/dist/types/api-model/models/available-value-added-service-group.d.ts +0 -10
  66. package/dist/types/api-model/models/benefits.d.ts +0 -6
  67. package/dist/types/api-model/models/cancel-shipment-response.d.ts +0 -4
  68. package/dist/types/api-model/models/carrier-account-attribute.d.ts +0 -8
  69. package/dist/types/api-model/models/carrier-account-input.d.ts +0 -21
  70. package/dist/types/api-model/models/carrier-account.d.ts +0 -6
  71. package/dist/types/api-model/models/carrier.d.ts +0 -6
  72. package/dist/types/api-model/models/channel-details.d.ts +0 -17
  73. package/dist/types/api-model/models/channel-type.d.ts +0 -2
  74. package/dist/types/api-model/models/charge-component.d.ts +0 -9
  75. package/dist/types/api-model/models/claim-reason.d.ts +0 -2
  76. package/dist/types/api-model/models/client-reference-detail.d.ts +0 -6
  77. package/dist/types/api-model/models/collect-on-delivery.d.ts +0 -7
  78. package/dist/types/api-model/models/collection-forms-history-record.d.ts +0 -18
  79. package/dist/types/api-model/models/collections-form-document.d.ts +0 -6
  80. package/dist/types/api-model/models/create-claim-request.d.ts +0 -23
  81. package/dist/types/api-model/models/create-claim-response.d.ts +0 -4
  82. package/dist/types/api-model/models/currency.d.ts +0 -6
  83. package/dist/types/api-model/models/dangerous-goods-details.d.ts +0 -10
  84. package/dist/types/api-model/models/date-range.d.ts +0 -6
  85. package/dist/types/api-model/models/detail-codes.d.ts +0 -2
  86. package/dist/types/api-model/models/dimensions.d.ts +0 -10
  87. package/dist/types/api-model/models/direct-fulfillment-item-identifiers.d.ts +0 -6
  88. package/dist/types/api-model/models/direct-purchase-request.d.ts +0 -29
  89. package/dist/types/api-model/models/direct-purchase-response.d.ts +0 -7
  90. package/dist/types/api-model/models/direct-purchase-result.d.ts +0 -6
  91. package/dist/types/api-model/models/document-format.d.ts +0 -2
  92. package/dist/types/api-model/models/document-size.d.ts +0 -8
  93. package/dist/types/api-model/models/document-type.d.ts +0 -2
  94. package/dist/types/api-model/models/error-list.d.ts +0 -4
  95. package/dist/types/api-model/models/event-code.d.ts +0 -2
  96. package/dist/types/api-model/models/event.d.ts +0 -19
  97. package/dist/types/api-model/models/exception-operating-hours.d.ts +0 -12
  98. package/dist/types/api-model/models/excluded-benefit.d.ts +0 -6
  99. package/dist/types/api-model/models/generate-collection-form-request.d.ts +0 -11
  100. package/dist/types/api-model/models/generate-collection-form-response.d.ts +0 -7
  101. package/dist/types/api-model/models/generation-status.d.ts +0 -2
  102. package/dist/types/api-model/models/geocode.d.ts +0 -6
  103. package/dist/types/api-model/models/get-access-points-response.d.ts +0 -7
  104. package/dist/types/api-model/models/get-access-points-result.d.ts +0 -4
  105. package/dist/types/api-model/models/get-additional-inputs-response.d.ts +0 -4
  106. package/dist/types/api-model/models/get-carrier-account-form-inputs-response.d.ts +0 -4
  107. package/dist/types/api-model/models/get-carrier-accounts-request.d.ts +0 -4
  108. package/dist/types/api-model/models/get-carrier-accounts-response.d.ts +0 -4
  109. package/dist/types/api-model/models/get-collection-form-history-request.d.ts +0 -18
  110. package/dist/types/api-model/models/get-collection-form-history-response.d.ts +0 -6
  111. package/dist/types/api-model/models/get-collection-form-response.d.ts +0 -7
  112. package/dist/types/api-model/models/get-rates-request.d.ts +0 -52
  113. package/dist/types/api-model/models/get-rates-response.d.ts +0 -7
  114. package/dist/types/api-model/models/get-rates-result.d.ts +0 -8
  115. package/dist/types/api-model/models/get-shipment-documents-response.d.ts +0 -7
  116. package/dist/types/api-model/models/get-shipment-documents-result.d.ts +0 -14
  117. package/dist/types/api-model/models/get-tracking-response.d.ts +0 -7
  118. package/dist/types/api-model/models/get-tracking-result.d.ts +0 -15
  119. package/dist/types/api-model/models/get-unmanifested-shipments-request.d.ts +0 -4
  120. package/dist/types/api-model/models/get-unmanifested-shipments-response.d.ts +0 -4
  121. package/dist/types/api-model/models/goods-owner.d.ts +0 -4
  122. package/dist/types/api-model/models/ineligibility-reason-code.d.ts +0 -2
  123. package/dist/types/api-model/models/ineligibility-reason.d.ts +0 -9
  124. package/dist/types/api-model/models/ineligible-rate.d.ts +0 -12
  125. package/dist/types/api-model/models/input-type.d.ts +0 -2
  126. package/dist/types/api-model/models/invoice-details.d.ts +0 -6
  127. package/dist/types/api-model/models/item.d.ts +0 -44
  128. package/dist/types/api-model/models/label-attribute.d.ts +0 -2
  129. package/dist/types/api-model/models/link-carrier-account-request.d.ts +0 -10
  130. package/dist/types/api-model/models/link-carrier-account-response.d.ts +0 -9
  131. package/dist/types/api-model/models/linkable-account-type.d.ts +0 -9
  132. package/dist/types/api-model/models/linkable-carrier.d.ts +0 -6
  133. package/dist/types/api-model/models/liquid-volume.d.ts +0 -6
  134. package/dist/types/api-model/models/location.d.ts +0 -10
  135. package/dist/types/api-model/models/model-error.d.ts +0 -8
  136. package/dist/types/api-model/models/ndr-action.d.ts +0 -2
  137. package/dist/types/api-model/models/ndr-request-data.d.ts +0 -6
  138. package/dist/types/api-model/models/one-click-shipment-request.d.ts +0 -55
  139. package/dist/types/api-model/models/one-click-shipment-response.d.ts +0 -7
  140. package/dist/types/api-model/models/one-click-shipment-result.d.ts +0 -26
  141. package/dist/types/api-model/models/one-click-shipment-value-added-service.d.ts +0 -9
  142. package/dist/types/api-model/models/operating-hours.d.ts +0 -14
  143. package/dist/types/api-model/models/package-document-detail.d.ts +0 -8
  144. package/dist/types/api-model/models/package-document.d.ts +0 -14
  145. package/dist/types/api-model/models/package.d.ts +0 -27
  146. package/dist/types/api-model/models/payment-type.d.ts +0 -2
  147. package/dist/types/api-model/models/print-option.d.ts +0 -10
  148. package/dist/types/api-model/models/promise.d.ts +0 -12
  149. package/dist/types/api-model/models/purchase-shipment-request.d.ts +0 -15
  150. package/dist/types/api-model/models/purchase-shipment-response.d.ts +0 -7
  151. package/dist/types/api-model/models/purchase-shipment-result.d.ts +0 -16
  152. package/dist/types/api-model/models/rate-item-id.d.ts +0 -2
  153. package/dist/types/api-model/models/rate-item-type.d.ts +0 -2
  154. package/dist/types/api-model/models/rate-item.d.ts +0 -19
  155. package/dist/types/api-model/models/rate.d.ts +0 -45
  156. package/dist/types/api-model/models/requested-document-specification.d.ts +0 -25
  157. package/dist/types/api-model/models/requested-label-customization.d.ts +0 -4
  158. package/dist/types/api-model/models/requested-value-added-service.d.ts +0 -4
  159. package/dist/types/api-model/models/service-selection.d.ts +0 -4
  160. package/dist/types/api-model/models/service.d.ts +0 -6
  161. package/dist/types/api-model/models/settlement-type.d.ts +0 -2
  162. package/dist/types/api-model/models/shipment-type.d.ts +0 -2
  163. package/dist/types/api-model/models/shipper-instruction.d.ts +0 -4
  164. package/dist/types/api-model/models/status.d.ts +0 -2
  165. package/dist/types/api-model/models/submit-ndr-feedback-request.d.ts +0 -14
  166. package/dist/types/api-model/models/supported-document-detail.d.ts +0 -9
  167. package/dist/types/api-model/models/supported-document-specification.d.ts +0 -14
  168. package/dist/types/api-model/models/tax-detail.d.ts +0 -9
  169. package/dist/types/api-model/models/tax-type.d.ts +0 -2
  170. package/dist/types/api-model/models/time-of-day.d.ts +0 -8
  171. package/dist/types/api-model/models/time-window.d.ts +0 -6
  172. package/dist/types/api-model/models/tracking-detail-codes.d.ts +0 -6
  173. package/dist/types/api-model/models/tracking-summary.d.ts +0 -12
  174. package/dist/types/api-model/models/unlink-carrier-account-request.d.ts +0 -6
  175. package/dist/types/api-model/models/unlink-carrier-account-response.d.ts +0 -4
  176. package/dist/types/api-model/models/unmanifested-carrier-information.d.ts +0 -8
  177. package/dist/types/api-model/models/unmanifested-shipment-location.d.ts +0 -9
  178. package/dist/types/api-model/models/validation-metadata.d.ts +0 -8
  179. package/dist/types/api-model/models/value-added-service-details.d.ts +0 -7
  180. package/dist/types/api-model/models/value-added-service.d.ts +0 -11
  181. package/dist/types/api-model/models/weight.d.ts +0 -6
  182. package/package.json +25 -4
@@ -12,42 +12,22 @@
12
12
  import type { Configuration } from './configuration';
13
13
  import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  export declare const BASE_PATH: string;
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const COLLECTION_FORMATS: {
20
16
  csv: string;
21
17
  ssv: string;
22
18
  tsv: string;
23
19
  pipes: string;
24
20
  };
25
- /**
26
- *
27
- * @export
28
- * @interface RequestArgs
29
- */
30
21
  export interface RequestArgs {
31
22
  url: string;
32
23
  options: RawAxiosRequestConfig;
33
24
  }
34
- /**
35
- *
36
- * @export
37
- * @class BaseAPI
38
- */
39
25
  export declare class BaseAPI {
40
26
  protected basePath: string;
41
27
  protected axios: AxiosInstance;
42
28
  protected configuration: Configuration | undefined;
43
29
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
30
  }
45
- /**
46
- *
47
- * @export
48
- * @class RequiredError
49
- * @extends {Error}
50
- */
51
31
  export declare class RequiredError extends Error {
52
32
  field: string;
53
33
  constructor(field: string, msg?: string);
@@ -58,9 +38,5 @@ interface ServerMap {
58
38
  description: string;
59
39
  }[];
60
40
  }
61
- /**
62
- *
63
- * @export
64
- */
65
41
  export declare const operationServerMap: ServerMap;
66
42
  export {};
@@ -12,54 +12,17 @@
12
12
  import type { Configuration } from "./configuration";
13
13
  import type { RequestArgs } from "./base";
14
14
  import type { AxiosInstance, AxiosResponse } from 'axios';
15
- /**
16
- *
17
- * @export
18
- */
19
15
  export declare const DUMMY_BASE_URL = "https://example.com";
20
16
  /**
21
17
  *
22
18
  * @throws {RequiredError}
23
- * @export
24
19
  */
25
20
  export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
- /**
27
- *
28
- * @export
29
- */
30
21
  export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
- /**
32
- *
33
- * @export
34
- */
35
22
  export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
- /**
37
- *
38
- * @export
39
- */
40
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
- /**
42
- *
43
- * @export
44
- */
45
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
- /**
47
- *
48
- * @export
49
- */
50
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
- /**
52
- *
53
- * @export
54
- */
55
26
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
- /**
57
- *
58
- * @export
59
- */
60
27
  export declare const toPathString: (url: URL) => string;
61
- /**
62
- *
63
- * @export
64
- */
65
28
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -23,49 +23,32 @@ export declare class Configuration {
23
23
  /**
24
24
  * parameter for apiKey security
25
25
  * @param name security name
26
- * @memberof Configuration
27
26
  */
28
27
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
28
  /**
30
29
  * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
30
  */
35
31
  username?: string;
36
32
  /**
37
33
  * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
34
  */
42
35
  password?: string;
43
36
  /**
44
37
  * parameter for oauth2 security
45
38
  * @param name security name
46
39
  * @param scopes oauth2 scope
47
- * @memberof Configuration
48
40
  */
49
41
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
42
  /**
51
43
  * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
44
  */
56
45
  basePath?: string;
57
46
  /**
58
47
  * override server index
59
- *
60
- * @type {number}
61
- * @memberof Configuration
62
48
  */
63
49
  serverIndex?: number;
64
50
  /**
65
51
  * base options for axios calls
66
- *
67
- * @type {any}
68
- * @memberof Configuration
69
52
  */
70
53
  baseOptions?: any;
71
54
  /**
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * AccessPointDetails object
14
- * @export
15
- * @interface AccessPointDetails
16
14
  */
17
15
  export interface AccessPointDetails {
18
16
  /**
19
17
  * Unique identifier for the access point
20
- * @type {string}
21
- * @memberof AccessPointDetails
22
18
  */
23
19
  'accessPointId'?: string;
24
20
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The type of access point, like counter (HELIX), lockers, etc.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const AccessPointType: {
18
16
  readonly Helix: "HELIX";
@@ -16,68 +16,37 @@ import type { ExceptionOperatingHours } from './exception-operating-hours';
16
16
  import type { OperatingHours } from './operating-hours';
17
17
  /**
18
18
  * Access point details
19
- * @export
20
- * @interface AccessPoint
21
19
  */
22
20
  export interface AccessPoint {
23
21
  /**
24
22
  * Unique identifier for the access point
25
- * @type {string}
26
- * @memberof AccessPoint
27
23
  */
28
24
  'accessPointId'?: string;
29
25
  /**
30
26
  * Name of entity (store/hub etc) where this access point is located
31
- * @type {string}
32
- * @memberof AccessPoint
33
27
  */
34
28
  'name'?: string;
35
29
  /**
36
30
  * Timezone of access point
37
- * @type {string}
38
- * @memberof AccessPoint
39
31
  */
40
32
  'timezone'?: string;
41
- /**
42
- *
43
- * @type {AccessPointType}
44
- * @memberof AccessPoint
45
- */
46
33
  'type'?: AccessPointType;
47
- /**
48
- *
49
- * @type {AccessibilityAttributes}
50
- * @memberof AccessPoint
51
- */
52
34
  'accessibilityAttributes'?: AccessibilityAttributes;
53
- /**
54
- *
55
- * @type {Address}
56
- * @memberof AccessPoint
57
- */
58
35
  'address'?: Address;
59
36
  /**
60
37
  * Exception operating hours for Access Point
61
- * @type {Array<ExceptionOperatingHours>}
62
- * @memberof AccessPoint
63
38
  */
64
39
  'exceptionOperatingHours'?: Array<ExceptionOperatingHours>;
65
40
  /**
66
41
  * Assistance type enum for Access point i.e. STAFF_ASSISTED or SELF_ASSISTED
67
- * @type {string}
68
- * @memberof AccessPoint
69
42
  */
70
43
  'assistanceType'?: AccessPointAssistanceTypeEnum;
71
44
  /**
72
45
  * The score of access point, based on proximity to postal code and sorting preference. This can be used to sort access point results on shipper\'s end.
73
- * @type {string}
74
- * @memberof AccessPoint
75
46
  */
76
47
  'score'?: string;
77
48
  /**
78
49
  * Map of day of the week to operating hours of that day
79
- * @type {{ [key: string]: OperatingHours; }}
80
- * @memberof AccessPoint
81
50
  */
82
51
  'standardOperatingHours'?: {
83
52
  [key: string]: OperatingHours;
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Defines the accessibility details of the access point.
14
- * @export
15
- * @interface AccessibilityAttributes
16
14
  */
17
15
  export interface AccessibilityAttributes {
18
16
  /**
19
17
  * The approximate distance of access point from input postalCode\'s centroid.
20
- * @type {string}
21
- * @memberof AccessibilityAttributes
22
18
  */
23
19
  'distance'?: string;
24
20
  /**
25
21
  * The approximate (static) drive time from input postal code\'s centroid.
26
- * @type {number}
27
- * @memberof AccessibilityAttributes
28
22
  */
29
23
  'driveTime'?: number;
30
24
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Account Status.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const AccountStatus: {
18
16
  readonly Active: "ACTIVE";
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Shipper Account Type.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const AccountType: {
18
16
  readonly ShipperAccount: "SHIPPER_ACCOUNT";
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Active Account Details
14
- * @export
15
- * @interface ActiveAccount
16
14
  */
17
15
  export interface ActiveAccount {
18
16
  /**
19
17
  * Identifier for the seller\'s carrier account.
20
- * @type {string}
21
- * @memberof ActiveAccount
22
18
  */
23
19
  'accountId'?: string;
24
20
  /**
25
21
  * The carrier identifier for the offering, provided by the carrier.
26
- * @type {string}
27
- * @memberof ActiveAccount
28
22
  */
29
23
  'carrierId'?: string;
30
24
  }
@@ -12,80 +12,51 @@
12
12
  import type { Geocode } from './geocode';
13
13
  /**
14
14
  * The address.
15
- * @export
16
- * @interface Address
17
15
  */
18
16
  export interface Address {
19
17
  /**
20
18
  * The name of the person, business or institution at the address.
21
- * @type {string}
22
- * @memberof Address
23
19
  */
24
20
  'name': string;
25
21
  /**
26
22
  * The first line of the address.
27
- * @type {string}
28
- * @memberof Address
29
23
  */
30
24
  'addressLine1': string;
31
25
  /**
32
26
  * Additional address information, if required.
33
- * @type {string}
34
- * @memberof Address
35
27
  */
36
28
  'addressLine2'?: string;
37
29
  /**
38
30
  * Additional address information, if required.
39
- * @type {string}
40
- * @memberof Address
41
31
  */
42
32
  'addressLine3'?: string;
43
33
  /**
44
34
  * The name of the business or institution associated with the address.
45
- * @type {string}
46
- * @memberof Address
47
35
  */
48
36
  'companyName'?: string;
49
37
  /**
50
38
  * The state, county or region where the person, business or institution is located.
51
- * @type {string}
52
- * @memberof Address
53
39
  */
54
40
  'stateOrRegion': string;
55
41
  /**
56
42
  * The city or town where the person, business or institution is located.
57
- * @type {string}
58
- * @memberof Address
59
43
  */
60
44
  'city': string;
61
45
  /**
62
46
  * The two digit country code. Follows ISO 3166-1 alpha-2 format.
63
- * @type {string}
64
- * @memberof Address
65
47
  */
66
48
  'countryCode': string;
67
49
  /**
68
50
  * The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
69
- * @type {string}
70
- * @memberof Address
71
51
  */
72
52
  'postalCode': string;
73
53
  /**
74
54
  * The email address of the contact associated with the address.
75
- * @type {string}
76
- * @memberof Address
77
55
  */
78
56
  'email'?: string;
79
57
  /**
80
58
  * The phone number of the person, business or institution located at that address, including the country calling code.
81
- * @type {string}
82
- * @memberof Address
83
59
  */
84
60
  'phoneNumber'?: string;
85
- /**
86
- *
87
- * @type {Geocode}
88
- * @memberof Address
89
- */
90
61
  'geocode'?: Geocode;
91
62
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Amazon order information. This is required if the shipment source channel is Amazon.
14
- * @export
15
- * @interface AmazonOrderDetails
16
14
  */
17
15
  export interface AmazonOrderDetails {
18
16
  /**
19
17
  * The Amazon order ID associated with the Amazon order fulfilled by this shipment.
20
- * @type {string}
21
- * @memberof AmazonOrderDetails
22
18
  */
23
19
  'orderId': string;
24
20
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Amazon shipment information.
14
- * @export
15
- * @interface AmazonShipmentDetails
16
14
  */
17
15
  export interface AmazonShipmentDetails {
18
16
  /**
19
17
  * This attribute is required only for a Direct Fulfillment shipment. This is the encrypted shipment ID.
20
- * @type {string}
21
- * @memberof AmazonShipmentDetails
22
18
  */
23
19
  'shipmentId': string;
24
20
  }
@@ -12,32 +12,22 @@
12
12
  import type { ValueAddedService } from './value-added-service';
13
13
  /**
14
14
  * The value-added services available for purchase with a shipping service offering.
15
- * @export
16
- * @interface AvailableValueAddedServiceGroup
17
15
  */
18
16
  export interface AvailableValueAddedServiceGroup {
19
17
  /**
20
18
  * The type of the value-added service group.
21
- * @type {string}
22
- * @memberof AvailableValueAddedServiceGroup
23
19
  */
24
20
  'groupId': string;
25
21
  /**
26
22
  * The name of the value-added service group.
27
- * @type {string}
28
- * @memberof AvailableValueAddedServiceGroup
29
23
  */
30
24
  'groupDescription': string;
31
25
  /**
32
26
  * When true, one or more of the value-added services listed must be specified.
33
- * @type {boolean}
34
- * @memberof AvailableValueAddedServiceGroup
35
27
  */
36
28
  'isRequired': boolean;
37
29
  /**
38
30
  * A list of optional value-added services available for purchase with a shipping service offering.
39
- * @type {Array<ValueAddedService>}
40
- * @memberof AvailableValueAddedServiceGroup
41
31
  */
42
32
  'valueAddedServices'?: Array<ValueAddedService>;
43
33
  }
@@ -12,20 +12,14 @@
12
12
  import type { ExcludedBenefit } from './excluded-benefit';
13
13
  /**
14
14
  * Benefits that are included and excluded for each shipping offer. Benefits represents services provided by Amazon (eg. CLAIMS_PROTECTED, etc.) when sellers purchase shipping through Amazon. Benefit details will be made available for any shipment placed on or after January 1st 2024 00:00 UTC.
15
- * @export
16
- * @interface Benefits
17
15
  */
18
16
  export interface Benefits {
19
17
  /**
20
18
  * A list of included benefits.
21
- * @type {Array<string>}
22
- * @memberof Benefits
23
19
  */
24
20
  'includedBenefits': Array<string>;
25
21
  /**
26
22
  * A list of excluded benefit. Refer to the ExcludeBenefit object for further documentation
27
- * @type {Array<ExcludedBenefit>}
28
- * @memberof Benefits
29
23
  */
30
24
  'excludedBenefits': Array<ExcludedBenefit>;
31
25
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Response schema for the cancelShipment operation.
14
- * @export
15
- * @interface CancelShipmentResponse
16
14
  */
17
15
  export interface CancelShipmentResponse {
18
16
  /**
19
17
  * The payload for the cancelShipment operation.
20
- * @type {{ [key: string]: object; }}
21
- * @memberof CancelShipmentResponse
22
18
  */
23
19
  'payload'?: {
24
20
  [key: string]: object;
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Attribute Properties required by carrier
14
- * @export
15
- * @interface CarrierAccountAttribute
16
14
  */
17
15
  export interface CarrierAccountAttribute {
18
16
  /**
19
17
  * Attribute Name .
20
- * @type {string}
21
- * @memberof CarrierAccountAttribute
22
18
  */
23
19
  'attributeName'?: string;
24
20
  /**
25
21
  * Property Group.
26
- * @type {string}
27
- * @memberof CarrierAccountAttribute
28
22
  */
29
23
  'propertyGroup'?: string;
30
24
  /**
31
25
  * Value .
32
- * @type {string}
33
- * @memberof CarrierAccountAttribute
34
26
  */
35
27
  'value'?: string;
36
28
  }
@@ -13,56 +13,35 @@ import type { InputType } from './input-type';
13
13
  import type { ValidationMetadata } from './validation-metadata';
14
14
  /**
15
15
  * Info About CarrierAccountInput
16
- * @export
17
- * @interface CarrierAccountInput
18
16
  */
19
17
  export interface CarrierAccountInput {
20
18
  /**
21
19
  * descriptionLocalizationKey value .
22
- * @type {string}
23
- * @memberof CarrierAccountInput
24
20
  */
25
21
  'descriptionLocalizationKey'?: string;
26
22
  /**
27
23
  * name value .
28
- * @type {string}
29
- * @memberof CarrierAccountInput
30
24
  */
31
25
  'name'?: string;
32
26
  /**
33
27
  * groupName value .
34
- * @type {string}
35
- * @memberof CarrierAccountInput
36
28
  */
37
29
  'groupName'?: string;
38
- /**
39
- *
40
- * @type {InputType}
41
- * @memberof CarrierAccountInput
42
- */
43
30
  'inputType'?: InputType;
44
31
  /**
45
32
  * mandatory or not value .
46
- * @type {boolean}
47
- * @memberof CarrierAccountInput
48
33
  */
49
34
  'isMandatory'?: boolean;
50
35
  /**
51
36
  * is value is Confidential .
52
- * @type {boolean}
53
- * @memberof CarrierAccountInput
54
37
  */
55
38
  'isConfidential'?: boolean;
56
39
  /**
57
40
  * is value is hidden .
58
- * @type {boolean}
59
- * @memberof CarrierAccountInput
60
41
  */
61
42
  'isHidden'?: boolean;
62
43
  /**
63
44
  * A list of ValidationMetadata
64
- * @type {Array<ValidationMetadata>}
65
- * @memberof CarrierAccountInput
66
45
  */
67
46
  'validationMetadata'?: Array<ValidationMetadata>;
68
47
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Carrier Account details used to fetch rates.
14
- * @export
15
- * @interface CarrierAccount
16
14
  */
17
15
  export interface CarrierAccount {
18
16
  /**
19
17
  * Identifier for the seller\'s carrier account.
20
- * @type {string}
21
- * @memberof CarrierAccount
22
18
  */
23
19
  'carrierAccountId': string;
24
20
  /**
25
21
  * The carrier identifier for the offering, provided by the carrier.
26
- * @type {string}
27
- * @memberof CarrierAccount
28
22
  */
29
23
  'carrierId': string;
30
24
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Carrier Related Info
14
- * @export
15
- * @interface Carrier
16
14
  */
17
15
  export interface Carrier {
18
16
  /**
19
17
  * The carrier identifier for the offering, provided by the carrier.
20
- * @type {string}
21
- * @memberof Carrier
22
18
  */
23
19
  'id': string;
24
20
  /**
25
21
  * The carrier name for the offering.
26
- * @type {string}
27
- * @memberof Carrier
28
22
  */
29
23
  'name': string;
30
24
  }
@@ -14,26 +14,9 @@ import type { AmazonShipmentDetails } from './amazon-shipment-details';
14
14
  import type { ChannelType } from './channel-type';
15
15
  /**
16
16
  * Shipment source channel related information.
17
- * @export
18
- * @interface ChannelDetails
19
17
  */
20
18
  export interface ChannelDetails {
21
- /**
22
- *
23
- * @type {ChannelType}
24
- * @memberof ChannelDetails
25
- */
26
19
  'channelType': ChannelType;
27
- /**
28
- *
29
- * @type {AmazonOrderDetails}
30
- * @memberof ChannelDetails
31
- */
32
20
  'amazonOrderDetails'?: AmazonOrderDetails;
33
- /**
34
- *
35
- * @type {AmazonShipmentDetails}
36
- * @memberof ChannelDetails
37
- */
38
21
  'amazonShipmentDetails'?: AmazonShipmentDetails;
39
22
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The shipment source channel type.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const ChannelType: {
18
16
  readonly Amazon: "AMAZON";
@@ -12,20 +12,11 @@
12
12
  import type { Currency } from './currency';
13
13
  /**
14
14
  * The type and amount of a charge applied on a package.
15
- * @export
16
- * @interface ChargeComponent
17
15
  */
18
16
  export interface ChargeComponent {
19
- /**
20
- *
21
- * @type {Currency}
22
- * @memberof ChargeComponent
23
- */
24
17
  'amount'?: Currency;
25
18
  /**
26
19
  * The type of charge.
27
- * @type {string}
28
- * @memberof ChargeComponent
29
20
  */
30
21
  'chargeType'?: ChargeComponentChargeTypeEnum;
31
22
  }