@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,20 +12,14 @@
12
12
  import type { LinkableAccountType } from './linkable-account-type';
13
13
  /**
14
14
  * Info About Linkable Carrier
15
- * @export
16
- * @interface LinkableCarrier
17
15
  */
18
16
  export interface LinkableCarrier {
19
17
  /**
20
18
  * The carrier identifier for the offering, provided by the carrier.
21
- * @type {string}
22
- * @memberof LinkableCarrier
23
19
  */
24
20
  'carrierId'?: string;
25
21
  /**
26
22
  * A list of LinkableAccountType
27
- * @type {Array<LinkableAccountType>}
28
- * @memberof LinkableCarrier
29
23
  */
30
24
  'linkableAccountTypes'?: Array<LinkableAccountType>;
31
25
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Liquid Volume.
14
- * @export
15
- * @interface LiquidVolume
16
14
  */
17
15
  export interface LiquidVolume {
18
16
  /**
19
17
  * The unit of measurement.
20
- * @type {string}
21
- * @memberof LiquidVolume
22
18
  */
23
19
  'unit': LiquidVolumeUnitEnum;
24
20
  /**
25
21
  * The measurement value.
26
- * @type {number}
27
- * @memberof LiquidVolume
28
22
  */
29
23
  'value': number;
30
24
  }
@@ -11,32 +11,22 @@
11
11
  */
12
12
  /**
13
13
  * The location where the person, business or institution is located.
14
- * @export
15
- * @interface Location
16
14
  */
17
15
  export interface Location {
18
16
  /**
19
17
  * The state, county or region where the person, business or institution is located.
20
- * @type {string}
21
- * @memberof Location
22
18
  */
23
19
  'stateOrRegion'?: string;
24
20
  /**
25
21
  * The city or town where the person, business or institution is located.
26
- * @type {string}
27
- * @memberof Location
28
22
  */
29
23
  'city'?: string;
30
24
  /**
31
25
  * The two digit country code. Follows ISO 3166-1 alpha-2 format.
32
- * @type {string}
33
- * @memberof Location
34
26
  */
35
27
  'countryCode'?: string;
36
28
  /**
37
29
  * The postal code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
38
- * @type {string}
39
- * @memberof Location
40
30
  */
41
31
  'postalCode'?: string;
42
32
  }
@@ -11,26 +11,18 @@
11
11
  */
12
12
  /**
13
13
  * Error response returned when the request is unsuccessful.
14
- * @export
15
- * @interface ModelError
16
14
  */
17
15
  export interface ModelError {
18
16
  /**
19
17
  * An error code that identifies the type of error that occurred.
20
- * @type {string}
21
- * @memberof ModelError
22
18
  */
23
19
  'code': string;
24
20
  /**
25
21
  * A message that describes the error condition.
26
- * @type {string}
27
- * @memberof ModelError
28
22
  */
29
23
  'message': string;
30
24
  /**
31
25
  * Additional details that can help the caller understand or fix the issue.
32
- * @type {string}
33
- * @memberof ModelError
34
26
  */
35
27
  'details'?: string;
36
28
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The type of NDR action shipper wants to take for a particular shipment.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const NdrAction: {
18
16
  readonly Reschedule: "RESCHEDULE";
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Additional information required for the NDR action that has been filed. If the NDR Action is RESCHEDULE, rescheduleDate is a required field. Otherwise, if the NDR Action is REATTEMPT, additionalAddressNotes is a required field.
14
- * @export
15
- * @interface NdrRequestData
16
14
  */
17
15
  export interface NdrRequestData {
18
16
  /**
19
17
  * The date on which the Seller wants to reschedule shipment delivery, in ISO-8601 date/time format
20
- * @type {string}
21
- * @memberof NdrRequestData
22
18
  */
23
19
  'rescheduleDate'?: string;
24
20
  /**
25
21
  * Address notes to re-attempt delivery with.
26
- * @type {string}
27
- * @memberof NdrRequestData
28
22
  */
29
23
  'additionalAddressNotes'?: string;
30
24
  }
@@ -21,86 +21,31 @@ import type { ShipperInstruction } from './shipper-instruction';
21
21
  import type { TaxDetail } from './tax-detail';
22
22
  /**
23
23
  * The request schema for the OneClickShipment operation. When the channelType is not Amazon, shipTo is required and when channelType is Amazon shipTo is ignored.
24
- * @export
25
- * @interface OneClickShipmentRequest
26
24
  */
27
25
  export interface OneClickShipmentRequest {
28
- /**
29
- *
30
- * @type {Address}
31
- * @memberof OneClickShipmentRequest
32
- */
33
26
  'shipTo'?: Address;
34
- /**
35
- *
36
- * @type {Address}
37
- * @memberof OneClickShipmentRequest
38
- */
39
27
  'shipFrom': Address;
40
- /**
41
- *
42
- * @type {Address}
43
- * @memberof OneClickShipmentRequest
44
- */
45
28
  'returnTo'?: Address;
46
29
  /**
47
30
  * The ship date and time (the requested pickup). This defaults to the current date and time.
48
- * @type {string}
49
- * @memberof OneClickShipmentRequest
50
31
  */
51
32
  'shipDate'?: string;
52
- /**
53
- *
54
- * @type {GoodsOwner}
55
- * @memberof OneClickShipmentRequest
56
- */
57
33
  'goodsOwner'?: GoodsOwner;
58
34
  /**
59
35
  * A list of packages to be shipped through a shipping service offering.
60
- * @type {Array<Package>}
61
- * @memberof OneClickShipmentRequest
62
36
  */
63
37
  'packages': Array<Package>;
64
38
  /**
65
39
  * The value-added services to be added to a shipping service purchase.
66
- * @type {Array<OneClickShipmentValueAddedService>}
67
- * @memberof OneClickShipmentRequest
68
40
  */
69
41
  'valueAddedServicesDetails'?: Array<OneClickShipmentValueAddedService>;
70
42
  /**
71
43
  * A list of tax detail information.
72
- * @type {Array<TaxDetail>}
73
- * @memberof OneClickShipmentRequest
74
44
  */
75
45
  'taxDetails'?: Array<TaxDetail>;
76
- /**
77
- *
78
- * @type {ChannelDetails}
79
- * @memberof OneClickShipmentRequest
80
- */
81
46
  'channelDetails': ChannelDetails;
82
- /**
83
- *
84
- * @type {RequestedDocumentSpecification}
85
- * @memberof OneClickShipmentRequest
86
- */
87
47
  'labelSpecifications': RequestedDocumentSpecification;
88
- /**
89
- *
90
- * @type {ServiceSelection}
91
- * @memberof OneClickShipmentRequest
92
- */
93
48
  'serviceSelection': ServiceSelection;
94
- /**
95
- *
96
- * @type {ShipperInstruction}
97
- * @memberof OneClickShipmentRequest
98
- */
99
49
  'shipperInstruction'?: ShipperInstruction;
100
- /**
101
- *
102
- * @type {AccessPointDetails}
103
- * @memberof OneClickShipmentRequest
104
- */
105
50
  'destinationAccessPointDetails'?: AccessPointDetails;
106
51
  }
@@ -12,14 +12,7 @@
12
12
  import type { OneClickShipmentResult } from './one-click-shipment-result';
13
13
  /**
14
14
  * The response schema for the OneClickShipment operation.
15
- * @export
16
- * @interface OneClickShipmentResponse
17
15
  */
18
16
  export interface OneClickShipmentResponse {
19
- /**
20
- *
21
- * @type {OneClickShipmentResult}
22
- * @memberof OneClickShipmentResponse
23
- */
24
17
  'payload'?: OneClickShipmentResult;
25
18
  }
@@ -16,44 +16,18 @@ import type { Promise } from './promise';
16
16
  import type { Service } from './service';
17
17
  /**
18
18
  * The payload for the OneClickShipment API.
19
- * @export
20
- * @interface OneClickShipmentResult
21
19
  */
22
20
  export interface OneClickShipmentResult {
23
21
  /**
24
22
  * The unique shipment identifier provided by a shipping service.
25
- * @type {string}
26
- * @memberof OneClickShipmentResult
27
23
  */
28
24
  'shipmentId': string;
29
25
  /**
30
26
  * A list of post-purchase details about a package that will be shipped using a shipping service.
31
- * @type {Array<PackageDocumentDetail>}
32
- * @memberof OneClickShipmentResult
33
27
  */
34
28
  'packageDocumentDetails': Array<PackageDocumentDetail>;
35
- /**
36
- *
37
- * @type {Promise}
38
- * @memberof OneClickShipmentResult
39
- */
40
29
  'promise': Promise;
41
- /**
42
- *
43
- * @type {Carrier}
44
- * @memberof OneClickShipmentResult
45
- */
46
30
  'carrier': Carrier;
47
- /**
48
- *
49
- * @type {Service}
50
- * @memberof OneClickShipmentResult
51
- */
52
31
  'service': Service;
53
- /**
54
- *
55
- * @type {Currency}
56
- * @memberof OneClickShipmentResult
57
- */
58
32
  'totalCharge': Currency;
59
33
  }
@@ -12,20 +12,11 @@
12
12
  import type { Currency } from './currency';
13
13
  /**
14
14
  * A value-added service to be applied to a shipping service purchase.
15
- * @export
16
- * @interface OneClickShipmentValueAddedService
17
15
  */
18
16
  export interface OneClickShipmentValueAddedService {
19
17
  /**
20
18
  * The identifier of the selected value-added service.
21
- * @type {string}
22
- * @memberof OneClickShipmentValueAddedService
23
19
  */
24
20
  'id': string;
25
- /**
26
- *
27
- * @type {Currency}
28
- * @memberof OneClickShipmentValueAddedService
29
- */
30
21
  'amount'?: Currency;
31
22
  }
@@ -12,26 +12,12 @@
12
12
  import type { TimeOfDay } from './time-of-day';
13
13
  /**
14
14
  * The hours in which the access point shall remain operational
15
- * @export
16
- * @interface OperatingHours
17
15
  */
18
16
  export interface OperatingHours {
19
- /**
20
- *
21
- * @type {TimeOfDay}
22
- * @memberof OperatingHours
23
- */
24
17
  'closingTime'?: TimeOfDay;
25
- /**
26
- *
27
- * @type {TimeOfDay}
28
- * @memberof OperatingHours
29
- */
30
18
  'openingTime'?: TimeOfDay;
31
19
  /**
32
20
  * midDayClosures operating hours array
33
- * @type {Array<TimeOfDay>}
34
- * @memberof OperatingHours
35
21
  */
36
22
  'midDayClosures'?: Array<TimeOfDay>;
37
23
  }
@@ -12,26 +12,18 @@
12
12
  import type { PackageDocument } from './package-document';
13
13
  /**
14
14
  * The post-purchase details of a package that will be shipped using a shipping service.
15
- * @export
16
- * @interface PackageDocumentDetail
17
15
  */
18
16
  export interface PackageDocumentDetail {
19
17
  /**
20
18
  * A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.
21
- * @type {string}
22
- * @memberof PackageDocumentDetail
23
19
  */
24
20
  'packageClientReferenceId': string;
25
21
  /**
26
22
  * A list of documents related to a package.
27
- * @type {Array<PackageDocument>}
28
- * @memberof PackageDocumentDetail
29
23
  */
30
24
  'packageDocuments': Array<PackageDocument>;
31
25
  /**
32
26
  * The carrier generated identifier for a package in a purchased shipment.
33
- * @type {string}
34
- * @memberof PackageDocumentDetail
35
27
  */
36
28
  'trackingId'?: string;
37
29
  }
@@ -13,26 +13,12 @@ import type { DocumentFormat } from './document-format';
13
13
  import type { DocumentType } from './document-type';
14
14
  /**
15
15
  * A document related to a package.
16
- * @export
17
- * @interface PackageDocument
18
16
  */
19
17
  export interface PackageDocument {
20
- /**
21
- *
22
- * @type {DocumentType}
23
- * @memberof PackageDocument
24
- */
25
18
  'type': DocumentType;
26
- /**
27
- *
28
- * @type {DocumentFormat}
29
- * @memberof PackageDocument
30
- */
31
19
  'format': DocumentFormat;
32
20
  /**
33
21
  * A Base64 encoded string of the file contents.
34
- * @type {string}
35
- * @memberof PackageDocument
36
22
  */
37
23
  'contents': string;
38
24
  }
@@ -16,56 +16,29 @@ import type { Item } from './item';
16
16
  import type { Weight } from './weight';
17
17
  /**
18
18
  * A package to be shipped through a shipping service offering.
19
- * @export
20
- * @interface Package
21
19
  */
22
20
  export interface Package {
23
- /**
24
- *
25
- * @type {Dimensions}
26
- * @memberof Package
27
- */
28
21
  'dimensions': Dimensions;
29
- /**
30
- *
31
- * @type {Weight}
32
- * @memberof Package
33
- */
34
22
  'weight': Weight;
35
- /**
36
- *
37
- * @type {Currency}
38
- * @memberof Package
39
- */
40
23
  'insuredValue': Currency;
41
24
  /**
42
25
  * When true, the package contains hazardous materials. Defaults to false.
43
- * @type {boolean}
44
- * @memberof Package
45
26
  */
46
27
  'isHazmat'?: boolean;
47
28
  /**
48
29
  * The seller name displayed on the label.
49
- * @type {string}
50
- * @memberof Package
51
30
  */
52
31
  'sellerDisplayName'?: string;
53
32
  /**
54
33
  * A list of charges based on the shipping service charges applied on a package.
55
- * @type {Array<ChargeComponent>}
56
- * @memberof Package
57
34
  */
58
35
  'charges'?: Array<ChargeComponent>;
59
36
  /**
60
37
  * A client provided unique identifier for a package being shipped. This value should be saved by the client to pass as a parameter to the getShipmentDocuments operation.
61
- * @type {string}
62
- * @memberof Package
63
38
  */
64
39
  'packageClientReferenceId': string;
65
40
  /**
66
41
  * A list of items.
67
- * @type {Array<Item>}
68
- * @memberof Package
69
42
  */
70
43
  'items': Array<Item>;
71
44
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Payment type of the purchase.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const PaymentType: {
18
16
  readonly PayThroughAmazon: "PAY_THROUGH_AMAZON";
@@ -12,32 +12,22 @@
12
12
  import type { SupportedDocumentDetail } from './supported-document-detail';
13
13
  /**
14
14
  * The format options available for a label.
15
- * @export
16
- * @interface PrintOption
17
15
  */
18
16
  export interface PrintOption {
19
17
  /**
20
18
  * A list of the supported DPI options for a document.
21
- * @type {Array<number>}
22
- * @memberof PrintOption
23
19
  */
24
20
  'supportedDPIs'?: Array<number>;
25
21
  /**
26
22
  * A list of the supported page layout options for a document.
27
- * @type {Array<string>}
28
- * @memberof PrintOption
29
23
  */
30
24
  'supportedPageLayouts': Array<string>;
31
25
  /**
32
26
  * A list of the supported needFileJoining boolean values for a document.
33
- * @type {Array<boolean>}
34
- * @memberof PrintOption
35
27
  */
36
28
  'supportedFileJoiningOptions': Array<boolean>;
37
29
  /**
38
30
  * A list of the supported documented details.
39
- * @type {Array<SupportedDocumentDetail>}
40
- * @memberof PrintOption
41
31
  */
42
32
  'supportedDocumentDetails': Array<SupportedDocumentDetail>;
43
33
  }
@@ -12,20 +12,8 @@
12
12
  import type { TimeWindow } from './time-window';
13
13
  /**
14
14
  * The time windows promised for pickup and delivery events.
15
- * @export
16
- * @interface Promise
17
15
  */
18
16
  export interface Promise {
19
- /**
20
- *
21
- * @type {TimeWindow}
22
- * @memberof Promise
23
- */
24
17
  'deliveryWindow'?: TimeWindow;
25
- /**
26
- *
27
- * @type {TimeWindow}
28
- * @memberof Promise
29
- */
30
18
  'pickupWindow'?: TimeWindow;
31
19
  }
@@ -13,38 +13,23 @@ import type { RequestedDocumentSpecification } from './requested-document-specif
13
13
  import type { RequestedValueAddedService } from './requested-value-added-service';
14
14
  /**
15
15
  * The request schema for the purchaseShipment operation.
16
- * @export
17
- * @interface PurchaseShipmentRequest
18
16
  */
19
17
  export interface PurchaseShipmentRequest {
20
18
  /**
21
19
  * A unique token generated to identify a getRates operation.
22
- * @type {string}
23
- * @memberof PurchaseShipmentRequest
24
20
  */
25
21
  'requestToken': string;
26
22
  /**
27
23
  * An identifier for the rate (shipment offering) provided by a shipping service provider.
28
- * @type {string}
29
- * @memberof PurchaseShipmentRequest
30
24
  */
31
25
  'rateId': string;
32
- /**
33
- *
34
- * @type {RequestedDocumentSpecification}
35
- * @memberof PurchaseShipmentRequest
36
- */
37
26
  'requestedDocumentSpecification': RequestedDocumentSpecification;
38
27
  /**
39
28
  * The value-added services to be added to a shipping service purchase.
40
- * @type {Array<RequestedValueAddedService>}
41
- * @memberof PurchaseShipmentRequest
42
29
  */
43
30
  'requestedValueAddedServices'?: Array<RequestedValueAddedService>;
44
31
  /**
45
32
  * The additional inputs required to purchase a shipping offering, in JSON format. The JSON provided here must adhere to the JSON schema that is returned in the response to the getAdditionalInputs operation. Additional inputs are only required when indicated by the requiresAdditionalInputs property in the response to the getRates operation.
46
- * @type {{ [key: string]: object; }}
47
- * @memberof PurchaseShipmentRequest
48
33
  */
49
34
  'additionalInputs'?: {
50
35
  [key: string]: object;
@@ -12,14 +12,7 @@
12
12
  import type { PurchaseShipmentResult } from './purchase-shipment-result';
13
13
  /**
14
14
  * The response schema for the purchaseShipment operation.
15
- * @export
16
- * @interface PurchaseShipmentResponse
17
15
  */
18
16
  export interface PurchaseShipmentResponse {
19
- /**
20
- *
21
- * @type {PurchaseShipmentResult}
22
- * @memberof PurchaseShipmentResponse
23
- */
24
17
  'payload'?: PurchaseShipmentResult;
25
18
  }
@@ -14,32 +14,16 @@ import type { PackageDocumentDetail } from './package-document-detail';
14
14
  import type { Promise } from './promise';
15
15
  /**
16
16
  * The payload for the purchaseShipment operation.
17
- * @export
18
- * @interface PurchaseShipmentResult
19
17
  */
20
18
  export interface PurchaseShipmentResult {
21
19
  /**
22
20
  * The unique shipment identifier provided by a shipping service.
23
- * @type {string}
24
- * @memberof PurchaseShipmentResult
25
21
  */
26
22
  'shipmentId': string;
27
23
  /**
28
24
  * A list of post-purchase details about a package that will be shipped using a shipping service.
29
- * @type {Array<PackageDocumentDetail>}
30
- * @memberof PurchaseShipmentResult
31
25
  */
32
26
  'packageDocumentDetails': Array<PackageDocumentDetail>;
33
- /**
34
- *
35
- * @type {Promise}
36
- * @memberof PurchaseShipmentResult
37
- */
38
27
  'promise': Promise;
39
- /**
40
- *
41
- * @type {Benefits}
42
- * @memberof PurchaseShipmentResult
43
- */
44
28
  'benefits'?: Benefits;
45
29
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Unique ID for the rateItem.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const RateItemID: {
18
16
  readonly BaseRate: "BASE_RATE";
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Type of the rateItem.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const RateItemType: {
18
16
  readonly Mandatory: "MANDATORY";
@@ -14,32 +14,13 @@ import type { RateItemID } from './rate-item-id';
14
14
  import type { RateItemType } from './rate-item-type';
15
15
  /**
16
16
  * Rate Item for shipping (base cost, transaction fee, confirmation, insurance, etc.) Data source definition:
17
- * @export
18
- * @interface RateItem
19
17
  */
20
18
  export interface RateItem {
21
- /**
22
- *
23
- * @type {RateItemID}
24
- * @memberof RateItem
25
- */
26
19
  'rateItemID'?: RateItemID;
27
- /**
28
- *
29
- * @type {RateItemType}
30
- * @memberof RateItem
31
- */
32
20
  'rateItemType'?: RateItemType;
33
- /**
34
- *
35
- * @type {Currency}
36
- * @memberof RateItem
37
- */
38
21
  'rateItemCharge'?: Currency;
39
22
  /**
40
23
  * Used for the localization.
41
- * @type {string}
42
- * @memberof RateItem
43
24
  */
44
25
  'rateItemNameLocalization'?: string;
45
26
  }