@sp-api-sdk/orders-api-v0 5.0.0 → 5.1.1

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 (103) hide show
  1. package/dist/cjs/api-model/api/orders-api.js +48 -64
  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/association-type.js +0 -2
  6. package/dist/cjs/api-model/models/constraint-type.js +0 -2
  7. package/dist/cjs/api-model/models/easy-ship-shipment-status.js +0 -2
  8. package/dist/cjs/api-model/models/electronic-invoice-status.js +0 -2
  9. package/dist/cjs/api-model/models/index.js +0 -1
  10. package/dist/cjs/api-model/models/other-delivery-attributes.js +0 -2
  11. package/dist/cjs/api-model/models/shipment-status.js +0 -2
  12. package/dist/cjs/api-model/models/verification-status.js +0 -2
  13. package/dist/es/api-model/api/orders-api.js +48 -64
  14. package/dist/es/api-model/base.js +0 -19
  15. package/dist/es/api-model/common.js +0 -37
  16. package/dist/es/api-model/configuration.js +0 -17
  17. package/dist/es/api-model/models/association-type.js +0 -2
  18. package/dist/es/api-model/models/constraint-type.js +0 -2
  19. package/dist/es/api-model/models/easy-ship-shipment-status.js +0 -2
  20. package/dist/es/api-model/models/electronic-invoice-status.js +0 -2
  21. package/dist/es/api-model/models/index.js +0 -1
  22. package/dist/es/api-model/models/other-delivery-attributes.js +0 -2
  23. package/dist/es/api-model/models/shipment-status.js +0 -2
  24. package/dist/es/api-model/models/verification-status.js +0 -2
  25. package/dist/types/api-model/api/orders-api.d.ts +52 -160
  26. package/dist/types/api-model/base.d.ts +0 -24
  27. package/dist/types/api-model/common.d.ts +0 -37
  28. package/dist/types/api-model/configuration.d.ts +0 -17
  29. package/dist/types/api-model/models/address-extended-fields.d.ts +0 -10
  30. package/dist/types/api-model/models/address.d.ts +0 -35
  31. package/dist/types/api-model/models/amazon-programs.d.ts +2 -6
  32. package/dist/types/api-model/models/associated-item.d.ts +0 -11
  33. package/dist/types/api-model/models/association-type.d.ts +0 -2
  34. package/dist/types/api-model/models/automated-shipping-settings.d.ts +0 -8
  35. package/dist/types/api-model/models/business-hours.d.ts +0 -6
  36. package/dist/types/api-model/models/buyer-customized-info-detail.d.ts +0 -4
  37. package/dist/types/api-model/models/buyer-info.d.ts +0 -15
  38. package/dist/types/api-model/models/buyer-requested-cancel.d.ts +0 -6
  39. package/dist/types/api-model/models/buyer-tax-info.d.ts +0 -8
  40. package/dist/types/api-model/models/buyer-tax-information.d.ts +0 -10
  41. package/dist/types/api-model/models/confirm-shipment-error-response.d.ts +0 -4
  42. package/dist/types/api-model/models/confirm-shipment-order-item.d.ts +0 -8
  43. package/dist/types/api-model/models/confirm-shipment-request.d.ts +0 -11
  44. package/dist/types/api-model/models/constraint-type.d.ts +0 -2
  45. package/dist/types/api-model/models/delivery-preferences.d.ts +0 -13
  46. package/dist/types/api-model/models/easy-ship-shipment-status.d.ts +0 -2
  47. package/dist/types/api-model/models/electronic-invoice-status.d.ts +0 -2
  48. package/dist/types/api-model/models/exception-dates.d.ts +0 -8
  49. package/dist/types/api-model/models/fulfillment-instruction.d.ts +0 -4
  50. package/dist/types/api-model/models/get-order-address-response.d.ts +0 -9
  51. package/dist/types/api-model/models/get-order-buyer-info-response.d.ts +0 -9
  52. package/dist/types/api-model/models/get-order-items-buyer-info-response.d.ts +0 -9
  53. package/dist/types/api-model/models/get-order-items-response.d.ts +0 -9
  54. package/dist/types/api-model/models/get-order-regulated-info-response.d.ts +0 -9
  55. package/dist/types/api-model/models/get-order-response.d.ts +0 -9
  56. package/dist/types/api-model/models/get-orders-response.d.ts +0 -9
  57. package/dist/types/api-model/models/index.d.ts +0 -1
  58. package/dist/types/api-model/models/item-buyer-info.d.ts +0 -21
  59. package/dist/types/api-model/models/marketplace-tax-info.d.ts +0 -4
  60. package/dist/types/api-model/models/measurement.d.ts +0 -6
  61. package/dist/types/api-model/models/model-error.d.ts +0 -8
  62. package/dist/types/api-model/models/money.d.ts +0 -6
  63. package/dist/types/api-model/models/open-interval.d.ts +0 -12
  64. package/dist/types/api-model/models/open-time-interval.d.ts +0 -6
  65. package/dist/types/api-model/models/order-address.d.ts +0 -16
  66. package/dist/types/api-model/models/order-buyer-info.d.ts +0 -17
  67. package/dist/types/api-model/models/order-item-buyer-info.d.ts +0 -23
  68. package/dist/types/api-model/models/order-item.d.ts +0 -146
  69. package/dist/types/api-model/models/order-items-buyer-info-list.d.ts +0 -8
  70. package/dist/types/api-model/models/order-items-inner.d.ts +0 -9
  71. package/dist/types/api-model/models/order-items-list.d.ts +0 -8
  72. package/dist/types/api-model/models/order-regulated-info.d.ts +0 -16
  73. package/dist/types/api-model/models/order.d.ts +0 -126
  74. package/dist/types/api-model/models/orders-list.d.ts +1 -11
  75. package/dist/types/api-model/models/other-delivery-attributes.d.ts +0 -2
  76. package/dist/types/api-model/models/package-detail.d.ts +1 -19
  77. package/dist/types/api-model/models/payment-execution-detail-item.d.ts +0 -9
  78. package/dist/types/api-model/models/points-granted-detail.d.ts +0 -9
  79. package/dist/types/api-model/models/preferred-delivery-time.d.ts +0 -6
  80. package/dist/types/api-model/models/prescription-detail.d.ts +0 -16
  81. package/dist/types/api-model/models/product-info-detail.d.ts +0 -4
  82. package/dist/types/api-model/models/regulated-information-field.d.ts +0 -10
  83. package/dist/types/api-model/models/regulated-information.d.ts +0 -4
  84. package/dist/types/api-model/models/regulated-order-verification-status.d.ts +0 -22
  85. package/dist/types/api-model/models/rejection-reason.d.ts +0 -6
  86. package/dist/types/api-model/models/shipment-status.d.ts +0 -2
  87. package/dist/types/api-model/models/shipping-constraints.d.ts +0 -22
  88. package/dist/types/api-model/models/substitution-option.d.ts +0 -15
  89. package/dist/types/api-model/models/substitution-preferences.d.ts +0 -6
  90. package/dist/types/api-model/models/tax-classification.d.ts +0 -6
  91. package/dist/types/api-model/models/tax-collection.d.ts +0 -6
  92. package/dist/types/api-model/models/update-shipment-status-error-response.d.ts +0 -4
  93. package/dist/types/api-model/models/update-shipment-status-request.d.ts +0 -11
  94. package/dist/types/api-model/models/update-verification-status-error-response.d.ts +0 -4
  95. package/dist/types/api-model/models/update-verification-status-request-body.d.ts +0 -16
  96. package/dist/types/api-model/models/update-verification-status-request.d.ts +0 -7
  97. package/dist/types/api-model/models/valid-verification-detail.d.ts +0 -6
  98. package/dist/types/api-model/models/verification-details.d.ts +0 -7
  99. package/dist/types/api-model/models/verification-status.d.ts +0 -2
  100. package/package.json +25 -4
  101. package/dist/cjs/api-model/models/export-info.js +0 -15
  102. package/dist/es/api-model/models/export-info.js +0 -14
  103. package/dist/types/api-model/models/export-info.d.ts +0 -31
@@ -12,32 +12,22 @@
12
12
  import type { Order } from './order';
13
13
  /**
14
14
  * A list of orders along with additional information to make subsequent API calls.
15
- * @export
16
- * @interface OrdersList
17
15
  */
18
16
  export interface OrdersList {
19
17
  /**
20
18
  * A list of orders.
21
- * @type {Array<Order>}
22
- * @memberof OrdersList
23
19
  */
24
20
  'Orders': Array<Order>;
25
21
  /**
26
22
  * When present and not empty, pass this string token in the next request to return the next response page.
27
- * @type {string}
28
- * @memberof OrdersList
29
23
  */
30
24
  'NextToken'?: string;
31
25
  /**
32
- * Use this date to select orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. All dates must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
33
- * @type {string}
34
- * @memberof OrdersList
26
+ * Use this date to select orders that were last updated before (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. Use [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format for all dates.
35
27
  */
36
28
  'LastUpdatedBefore'?: string;
37
29
  /**
38
30
  * Use this date to select orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
39
- * @type {string}
40
- * @memberof OrdersList
41
31
  */
42
32
  'CreatedBefore'?: string;
43
33
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Miscellaneous delivery attributes associated with the shipping address.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const OtherDeliveryAttributes: {
18
16
  readonly HasAccessPoint: "HAS_ACCESS_POINT";
@@ -12,56 +12,38 @@
12
12
  import type { ConfirmShipmentOrderItem } from './confirm-shipment-order-item';
13
13
  /**
14
14
  * Properties of packages
15
- * @export
16
- * @interface PackageDetail
17
15
  */
18
16
  export interface PackageDetail {
19
17
  /**
20
18
  * A seller-supplied identifier that uniquely identifies a package within the scope of an order. Only positive numeric values are supported.
21
- * @type {string}
22
- * @memberof PackageDetail
23
19
  */
24
20
  'packageReferenceId': string;
25
21
  /**
26
22
  * Identifies the carrier that will deliver the package. This field is required for all marketplaces. For more information, refer to the [`CarrierCode` announcement](https://developer-docs.amazon.com/sp-api/changelog/carriercode-value-required-in-shipment-confirmations-for-br-mx-ca-sg-au-in-jp-marketplaces).
27
- * @type {string}
28
- * @memberof PackageDetail
29
23
  */
30
24
  'carrierCode': string;
31
25
  /**
32
- * Carrier Name that will deliver the package. Required when `carrierCode` is \"Others\"
33
- * @type {string}
34
- * @memberof PackageDetail
26
+ * Carrier name that will deliver the package. Required when `carrierCode` is \"Other\"
35
27
  */
36
28
  'carrierName'?: string;
37
29
  /**
38
30
  * Ship method to be used for shipping the order.
39
- * @type {string}
40
- * @memberof PackageDetail
41
31
  */
42
32
  'shippingMethod'?: string;
43
33
  /**
44
34
  * The tracking number used to obtain tracking and delivery information.
45
- * @type {string}
46
- * @memberof PackageDetail
47
35
  */
48
36
  'trackingNumber': string;
49
37
  /**
50
38
  * The shipping date for the package. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format.
51
- * @type {string}
52
- * @memberof PackageDetail
53
39
  */
54
40
  'shipDate': string;
55
41
  /**
56
42
  * The unique identifier for the supply source.
57
- * @type {string}
58
- * @memberof PackageDetail
59
43
  */
60
44
  'shipFromSupplySourceId'?: string;
61
45
  /**
62
46
  * A list of order items.
63
- * @type {Array<ConfirmShipmentOrderItem>}
64
- * @memberof PackageDetail
65
47
  */
66
48
  'orderItems': Array<ConfirmShipmentOrderItem>;
67
49
  }
@@ -12,20 +12,11 @@
12
12
  import type { Money } from './money';
13
13
  /**
14
14
  * Information about a sub-payment method used to pay for a COD order.
15
- * @export
16
- * @interface PaymentExecutionDetailItem
17
15
  */
18
16
  export interface PaymentExecutionDetailItem {
19
- /**
20
- *
21
- * @type {Money}
22
- * @memberof PaymentExecutionDetailItem
23
- */
24
17
  'Payment': Money;
25
18
  /**
26
19
  * A sub-payment method for a COD order. **Possible values**: * `COD`: Cash on delivery * `GC`: Gift card * `PointsAccount`: Amazon Points * `Invoice`: Invoice
27
- * @type {string}
28
- * @memberof PaymentExecutionDetailItem
29
20
  */
30
21
  'PaymentMethod': string;
31
22
  }
@@ -12,20 +12,11 @@
12
12
  import type { Money } from './money';
13
13
  /**
14
14
  * The number of Amazon Points offered with the purchase of an item, and their monetary value.
15
- * @export
16
- * @interface PointsGrantedDetail
17
15
  */
18
16
  export interface PointsGrantedDetail {
19
17
  /**
20
18
  * The number of Amazon Points granted with the purchase of an item.
21
- * @type {number}
22
- * @memberof PointsGrantedDetail
23
19
  */
24
20
  'PointsNumber'?: number;
25
- /**
26
- *
27
- * @type {Money}
28
- * @memberof PointsGrantedDetail
29
- */
30
21
  'PointsMonetaryValue'?: Money;
31
22
  }
@@ -13,20 +13,14 @@ import type { BusinessHours } from './business-hours';
13
13
  import type { ExceptionDates } from './exception-dates';
14
14
  /**
15
15
  * The time window when the delivery is preferred.
16
- * @export
17
- * @interface PreferredDeliveryTime
18
16
  */
19
17
  export interface PreferredDeliveryTime {
20
18
  /**
21
19
  * Business hours when the business is open for deliveries.
22
- * @type {Array<BusinessHours>}
23
- * @memberof PreferredDeliveryTime
24
20
  */
25
21
  'BusinessHours'?: Array<BusinessHours>;
26
22
  /**
27
23
  * Dates when the business is closed during the next 30 days.
28
- * @type {Array<ExceptionDates>}
29
- * @memberof PreferredDeliveryTime
30
24
  */
31
25
  'ExceptionDates'?: Array<ExceptionDates>;
32
26
  }
@@ -11,50 +11,34 @@
11
11
  */
12
12
  /**
13
13
  * Information about the prescription that is used to verify a regulated product. This must be provided once per order and reflect the seller’s own records. Only approved orders can have prescriptions.
14
- * @export
15
- * @interface PrescriptionDetail
16
14
  */
17
15
  export interface PrescriptionDetail {
18
16
  /**
19
17
  * The identifier for the prescription used to verify the regulated product.
20
- * @type {string}
21
- * @memberof PrescriptionDetail
22
18
  */
23
19
  'prescriptionId': string;
24
20
  /**
25
21
  * The expiration date of the prescription used to verify the regulated product, in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
26
- * @type {string}
27
- * @memberof PrescriptionDetail
28
22
  */
29
23
  'expirationDate': string;
30
24
  /**
31
25
  * The number of units in each fill as provided in the prescription.
32
- * @type {number}
33
- * @memberof PrescriptionDetail
34
26
  */
35
27
  'writtenQuantity': number;
36
28
  /**
37
29
  * The total number of refills written in the original prescription used to verify the regulated product. If a prescription originally had no refills, this value must be 0.
38
- * @type {number}
39
- * @memberof PrescriptionDetail
40
30
  */
41
31
  'totalRefillsAuthorized': number;
42
32
  /**
43
33
  * The number of refills remaining for the prescription used to verify the regulated product. If a prescription originally had 10 total refills, this value must be `10` for the first order, `9` for the second order, and `0` for the eleventh order. If a prescription originally had no refills, this value must be 0.
44
- * @type {number}
45
- * @memberof PrescriptionDetail
46
34
  */
47
35
  'refillsRemaining': number;
48
36
  /**
49
37
  * The identifier for the clinic which provided the prescription used to verify the regulated product.
50
- * @type {string}
51
- * @memberof PrescriptionDetail
52
38
  */
53
39
  'clinicId': string;
54
40
  /**
55
41
  * The instructions for the prescription as provided by the approver of the regulated product.
56
- * @type {string}
57
- * @memberof PrescriptionDetail
58
42
  */
59
43
  'usageInstructions': string;
60
44
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * Product information on the number of items.
14
- * @export
15
- * @interface ProductInfoDetail
16
14
  */
17
15
  export interface ProductInfoDetail {
18
16
  /**
19
17
  * The total number of items that are included in the ASIN.
20
- * @type {string}
21
- * @memberof ProductInfoDetail
22
18
  */
23
19
  'NumberOfItems'?: string;
24
20
  }
@@ -11,32 +11,22 @@
11
11
  */
12
12
  /**
13
13
  * A field collected from the regulatory form.
14
- * @export
15
- * @interface RegulatedInformationField
16
14
  */
17
15
  export interface RegulatedInformationField {
18
16
  /**
19
17
  * The unique identifier of the field.
20
- * @type {string}
21
- * @memberof RegulatedInformationField
22
18
  */
23
19
  'FieldId': string;
24
20
  /**
25
21
  * The name of the field.
26
- * @type {string}
27
- * @memberof RegulatedInformationField
28
22
  */
29
23
  'FieldLabel': string;
30
24
  /**
31
25
  * The type of field.
32
- * @type {string}
33
- * @memberof RegulatedInformationField
34
26
  */
35
27
  'FieldType': RegulatedInformationFieldFieldTypeEnum;
36
28
  /**
37
29
  * The content of the field as collected in regulatory form. Note that `FileAttachment` type fields contain a URL where you can download the attachment.
38
- * @type {string}
39
- * @memberof RegulatedInformationField
40
30
  */
41
31
  'FieldValue': string;
42
32
  }
@@ -12,14 +12,10 @@
12
12
  import type { RegulatedInformationField } from './regulated-information-field';
13
13
  /**
14
14
  * The regulated information collected during purchase and used to verify the order.
15
- * @export
16
- * @interface RegulatedInformation
17
15
  */
18
16
  export interface RegulatedInformation {
19
17
  /**
20
18
  * A list of regulated information fields as collected from the regulatory form.
21
- * @type {Array<RegulatedInformationField>}
22
- * @memberof RegulatedInformation
23
19
  */
24
20
  'Fields': Array<RegulatedInformationField>;
25
21
  }
@@ -14,50 +14,28 @@ import type { ValidVerificationDetail } from './valid-verification-detail';
14
14
  import type { VerificationStatus } from './verification-status';
15
15
  /**
16
16
  * The verification status of the order, along with associated approval or rejection metadata.
17
- * @export
18
- * @interface RegulatedOrderVerificationStatus
19
17
  */
20
18
  export interface RegulatedOrderVerificationStatus {
21
- /**
22
- *
23
- * @type {VerificationStatus}
24
- * @memberof RegulatedOrderVerificationStatus
25
- */
26
19
  'Status': VerificationStatus;
27
20
  /**
28
21
  * When true, the regulated information provided in the order requires a review by the merchant.
29
- * @type {boolean}
30
- * @memberof RegulatedOrderVerificationStatus
31
22
  */
32
23
  'RequiresMerchantAction': boolean;
33
24
  /**
34
25
  * A list of valid rejection reasons that may be used to reject the order\'s regulated information.
35
- * @type {Array<RejectionReason>}
36
- * @memberof RegulatedOrderVerificationStatus
37
26
  */
38
27
  'ValidRejectionReasons': Array<RejectionReason>;
39
- /**
40
- *
41
- * @type {RejectionReason}
42
- * @memberof RegulatedOrderVerificationStatus
43
- */
44
28
  'RejectionReason'?: RejectionReason;
45
29
  /**
46
30
  * The date the order was reviewed. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
47
- * @type {string}
48
- * @memberof RegulatedOrderVerificationStatus
49
31
  */
50
32
  'ReviewDate'?: string;
51
33
  /**
52
34
  * The identifier for the order\'s regulated information reviewer.
53
- * @type {string}
54
- * @memberof RegulatedOrderVerificationStatus
55
35
  */
56
36
  'ExternalReviewerId'?: string;
57
37
  /**
58
38
  * A list of valid verification details that may be provided and the criteria required for when the verification detail can be provided.
59
- * @type {Array<ValidVerificationDetail>}
60
- * @memberof RegulatedOrderVerificationStatus
61
39
  */
62
40
  'ValidVerificationDetails'?: Array<ValidVerificationDetail>;
63
41
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The reason for rejecting the order\'s regulated information. This is only present if the order is rejected.
14
- * @export
15
- * @interface RejectionReason
16
14
  */
17
15
  export interface RejectionReason {
18
16
  /**
19
17
  * The unique identifier for the rejection reason.
20
- * @type {string}
21
- * @memberof RejectionReason
22
18
  */
23
19
  'RejectionReasonId': string;
24
20
  /**
25
21
  * The description of this rejection reason.
26
- * @type {string}
27
- * @memberof RejectionReason
28
22
  */
29
23
  'RejectionReasonDescription': string;
30
24
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The shipment status to apply.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const ShipmentStatus: {
18
16
  readonly ReadyForPickup: "ReadyForPickup";
@@ -12,32 +12,10 @@
12
12
  import type { ConstraintType } from './constraint-type';
13
13
  /**
14
14
  * Delivery constraints applicable to this order.
15
- * @export
16
- * @interface ShippingConstraints
17
15
  */
18
16
  export interface ShippingConstraints {
19
- /**
20
- *
21
- * @type {ConstraintType}
22
- * @memberof ShippingConstraints
23
- */
24
17
  'PalletDelivery'?: ConstraintType;
25
- /**
26
- *
27
- * @type {ConstraintType}
28
- * @memberof ShippingConstraints
29
- */
30
18
  'SignatureConfirmation'?: ConstraintType;
31
- /**
32
- *
33
- * @type {ConstraintType}
34
- * @memberof ShippingConstraints
35
- */
36
19
  'RecipientIdentityVerification'?: ConstraintType;
37
- /**
38
- *
39
- * @type {ConstraintType}
40
- * @memberof ShippingConstraints
41
- */
42
20
  'RecipientAgeVerification'?: ConstraintType;
43
21
  }
@@ -12,38 +12,23 @@
12
12
  import type { Measurement } from './measurement';
13
13
  /**
14
14
  * Substitution options for an order item.
15
- * @export
16
- * @interface SubstitutionOption
17
15
  */
18
16
  export interface SubstitutionOption {
19
17
  /**
20
18
  * The item\'s Amazon Standard Identification Number (ASIN).
21
- * @type {string}
22
- * @memberof SubstitutionOption
23
19
  */
24
20
  'ASIN'?: string;
25
21
  /**
26
22
  * The number of items to be picked for this substitution option.
27
- * @type {number}
28
- * @memberof SubstitutionOption
29
23
  */
30
24
  'QuantityOrdered'?: number;
31
25
  /**
32
26
  * The item\'s seller stock keeping unit (SKU).
33
- * @type {string}
34
- * @memberof SubstitutionOption
35
27
  */
36
28
  'SellerSKU'?: string;
37
29
  /**
38
30
  * The item\'s title.
39
- * @type {string}
40
- * @memberof SubstitutionOption
41
31
  */
42
32
  'Title'?: string;
43
- /**
44
- *
45
- * @type {Measurement}
46
- * @memberof SubstitutionOption
47
- */
48
33
  'Measurement'?: Measurement;
49
34
  }
@@ -12,20 +12,14 @@
12
12
  import type { SubstitutionOption } from './substitution-option';
13
13
  /**
14
14
  * Substitution preferences for an order item.
15
- * @export
16
- * @interface SubstitutionPreferences
17
15
  */
18
16
  export interface SubstitutionPreferences {
19
17
  /**
20
18
  * The type of substitution that these preferences represent.
21
- * @type {string}
22
- * @memberof SubstitutionPreferences
23
19
  */
24
20
  'SubstitutionType': SubstitutionPreferencesSubstitutionTypeEnum;
25
21
  /**
26
22
  * A collection of substitution options.
27
- * @type {Array<SubstitutionOption>}
28
- * @memberof SubstitutionPreferences
29
23
  */
30
24
  'SubstitutionOptions'?: Array<SubstitutionOption>;
31
25
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The tax classification of the order.
14
- * @export
15
- * @interface TaxClassification
16
14
  */
17
15
  export interface TaxClassification {
18
16
  /**
19
17
  * The type of tax.
20
- * @type {string}
21
- * @memberof TaxClassification
22
18
  */
23
19
  'Name'?: string;
24
20
  /**
25
21
  * The buyer\'s tax identifier.
26
- * @type {string}
27
- * @memberof TaxClassification
28
22
  */
29
23
  'Value'?: string;
30
24
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * Information about withheld taxes.
14
- * @export
15
- * @interface TaxCollection
16
14
  */
17
15
  export interface TaxCollection {
18
16
  /**
19
17
  * The tax collection model applied to the item.
20
- * @type {string}
21
- * @memberof TaxCollection
22
18
  */
23
19
  'Model'?: TaxCollectionModelEnum;
24
20
  /**
25
21
  * The party responsible for withholding the taxes and remitting them to the taxing authority.
26
- * @type {string}
27
- * @memberof TaxCollection
28
22
  */
29
23
  'ResponsibleParty'?: TaxCollectionResponsiblePartyEnum;
30
24
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The error response schema for the `UpdateShipmentStatus` operation.
14
- * @export
15
- * @interface UpdateShipmentStatusErrorResponse
16
14
  */
17
15
  export interface UpdateShipmentStatusErrorResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof UpdateShipmentStatusErrorResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -13,26 +13,15 @@ import type { OrderItemsInner } from './order-items-inner';
13
13
  import type { ShipmentStatus } from './shipment-status';
14
14
  /**
15
15
  * The request body for the `updateShipmentStatus` operation.
16
- * @export
17
- * @interface UpdateShipmentStatusRequest
18
16
  */
19
17
  export interface UpdateShipmentStatusRequest {
20
18
  /**
21
19
  * The unobfuscated marketplace identifier.
22
- * @type {string}
23
- * @memberof UpdateShipmentStatusRequest
24
20
  */
25
21
  'marketplaceId': string;
26
- /**
27
- *
28
- * @type {ShipmentStatus}
29
- * @memberof UpdateShipmentStatusRequest
30
- */
31
22
  'shipmentStatus': ShipmentStatus;
32
23
  /**
33
24
  * For partial shipment status updates, the list of order items and quantities to be updated.
34
- * @type {Array<OrderItemsInner>}
35
- * @memberof UpdateShipmentStatusRequest
36
25
  */
37
26
  'orderItems'?: Array<OrderItemsInner>;
38
27
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The error response schema for the `UpdateVerificationStatus` operation.
14
- * @export
15
- * @interface UpdateVerificationStatusErrorResponse
16
14
  */
17
15
  export interface UpdateVerificationStatusErrorResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof UpdateVerificationStatusErrorResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -13,32 +13,16 @@ import type { VerificationDetails } from './verification-details';
13
13
  import type { VerificationStatus } from './verification-status';
14
14
  /**
15
15
  * The updated values of the `VerificationStatus` field.
16
- * @export
17
- * @interface UpdateVerificationStatusRequestBody
18
16
  */
19
17
  export interface UpdateVerificationStatusRequestBody {
20
- /**
21
- *
22
- * @type {VerificationStatus}
23
- * @memberof UpdateVerificationStatusRequestBody
24
- */
25
18
  'status'?: VerificationStatus;
26
19
  /**
27
20
  * The identifier of the order\'s regulated information reviewer.
28
- * @type {string}
29
- * @memberof UpdateVerificationStatusRequestBody
30
21
  */
31
22
  'externalReviewerId': string;
32
23
  /**
33
24
  * The unique identifier of the rejection reason used for rejecting the order\'s regulated information. Only required if the new status is rejected.
34
- * @type {string}
35
- * @memberof UpdateVerificationStatusRequestBody
36
25
  */
37
26
  'rejectionReasonId'?: string;
38
- /**
39
- *
40
- * @type {VerificationDetails}
41
- * @memberof UpdateVerificationStatusRequestBody
42
- */
43
27
  'verificationDetails'?: VerificationDetails;
44
28
  }
@@ -12,14 +12,7 @@
12
12
  import type { UpdateVerificationStatusRequestBody } from './update-verification-status-request-body';
13
13
  /**
14
14
  * The request body for the `updateVerificationStatus` operation.
15
- * @export
16
- * @interface UpdateVerificationStatusRequest
17
15
  */
18
16
  export interface UpdateVerificationStatusRequest {
19
- /**
20
- *
21
- * @type {UpdateVerificationStatusRequestBody}
22
- * @memberof UpdateVerificationStatusRequest
23
- */
24
17
  'regulatedOrderVerificationStatus': UpdateVerificationStatusRequestBody;
25
18
  }
@@ -12,20 +12,14 @@
12
12
  import type { VerificationStatus } from './verification-status';
13
13
  /**
14
14
  * The types of verification details that may be provided for the order and the criteria required for when the type of verification detail can be provided. The types of verification details allowed depend on the type of regulated product and will not change order to order.
15
- * @export
16
- * @interface ValidVerificationDetail
17
15
  */
18
16
  export interface ValidVerificationDetail {
19
17
  /**
20
18
  * A supported type of verification detail. The type indicates which verification detail could be shared while updating the regulated order. Valid value: `prescriptionDetail`.
21
- * @type {string}
22
- * @memberof ValidVerificationDetail
23
19
  */
24
20
  'VerificationDetailType': string;
25
21
  /**
26
22
  * A list of valid verification statuses where the associated verification detail type may be provided. For example, if the value of this field is [\"Approved\"], calls to provide the associated verification detail will fail for orders with a `VerificationStatus` of `Pending`, `Rejected`, `Expired`, or `Cancelled`.
27
- * @type {Array<VerificationStatus>}
28
- * @memberof ValidVerificationDetail
29
23
  */
30
24
  'ValidVerificationStatuses': Array<VerificationStatus>;
31
25
  }
@@ -12,14 +12,7 @@
12
12
  import type { PrescriptionDetail } from './prescription-detail';
13
13
  /**
14
14
  * Additional information related to the verification of a regulated order.
15
- * @export
16
- * @interface VerificationDetails
17
15
  */
18
16
  export interface VerificationDetails {
19
- /**
20
- *
21
- * @type {PrescriptionDetail}
22
- * @memberof VerificationDetails
23
- */
24
17
  'prescriptionDetail'?: PrescriptionDetail;
25
18
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The verification status of the order.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const VerificationStatus: {
18
16
  readonly Pending: "Pending";