@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 4.0.2

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 (121) hide show
  1. package/dist/cjs/api-model/api/fulfillment-outbound-api.js +0 -20
  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/additional-location-info.js +0 -2
  6. package/dist/cjs/api-model/models/current-status.js +0 -2
  7. package/dist/cjs/api-model/models/event-code.js +0 -2
  8. package/dist/cjs/api-model/models/fulfillment-action.js +0 -2
  9. package/dist/cjs/api-model/models/fulfillment-order-status.js +0 -2
  10. package/dist/cjs/api-model/models/fulfillment-policy.js +0 -2
  11. package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
  12. package/dist/cjs/api-model/models/invalid-item-reason-code.js +0 -2
  13. package/dist/cjs/api-model/models/return-item-disposition.js +0 -2
  14. package/dist/cjs/api-model/models/shipping-speed-category.js +0 -2
  15. package/dist/es/api-model/api/fulfillment-outbound-api.js +0 -20
  16. package/dist/es/api-model/base.js +0 -19
  17. package/dist/es/api-model/common.js +0 -37
  18. package/dist/es/api-model/configuration.js +0 -17
  19. package/dist/es/api-model/models/additional-location-info.js +0 -2
  20. package/dist/es/api-model/models/current-status.js +0 -2
  21. package/dist/es/api-model/models/event-code.js +0 -2
  22. package/dist/es/api-model/models/fulfillment-action.js +0 -2
  23. package/dist/es/api-model/models/fulfillment-order-status.js +0 -2
  24. package/dist/es/api-model/models/fulfillment-policy.js +0 -2
  25. package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
  26. package/dist/es/api-model/models/invalid-item-reason-code.js +0 -2
  27. package/dist/es/api-model/models/return-item-disposition.js +0 -2
  28. package/dist/es/api-model/models/shipping-speed-category.js +0 -2
  29. package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +0 -100
  30. package/dist/types/api-model/base.d.ts +0 -24
  31. package/dist/types/api-model/common.d.ts +0 -37
  32. package/dist/types/api-model/configuration.d.ts +0 -17
  33. package/dist/types/api-model/models/additional-location-info.d.ts +0 -2
  34. package/dist/types/api-model/models/address.d.ts +0 -22
  35. package/dist/types/api-model/models/amount.d.ts +0 -6
  36. package/dist/types/api-model/models/cancel-fulfillment-order-response.d.ts +0 -4
  37. package/dist/types/api-model/models/codsettings.d.ts +0 -24
  38. package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +0 -29
  39. package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +0 -57
  40. package/dist/types/api-model/models/create-fulfillment-order-response.d.ts +0 -4
  41. package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +0 -4
  42. package/dist/types/api-model/models/create-fulfillment-return-response.d.ts +0 -9
  43. package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +0 -8
  44. package/dist/types/api-model/models/create-return-item.d.ts +0 -12
  45. package/dist/types/api-model/models/current-status.d.ts +0 -2
  46. package/dist/types/api-model/models/date-range.d.ts +0 -6
  47. package/dist/types/api-model/models/delivery-document.d.ts +0 -6
  48. package/dist/types/api-model/models/delivery-information.d.ts +0 -9
  49. package/dist/types/api-model/models/delivery-message.d.ts +0 -6
  50. package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
  51. package/dist/types/api-model/models/delivery-policy.d.ts +0 -7
  52. package/dist/types/api-model/models/delivery-preferences.d.ts +0 -9
  53. package/dist/types/api-model/models/delivery-window.d.ts +0 -6
  54. package/dist/types/api-model/models/destination.d.ts +0 -9
  55. package/dist/types/api-model/models/drop-off-location.d.ts +0 -6
  56. package/dist/types/api-model/models/event-code.d.ts +0 -2
  57. package/dist/types/api-model/models/feature-settings.d.ts +0 -6
  58. package/dist/types/api-model/models/feature-sku.d.ts +0 -12
  59. package/dist/types/api-model/models/feature.d.ts +0 -8
  60. package/dist/types/api-model/models/fee.d.ts +0 -9
  61. package/dist/types/api-model/models/fulfillment-action.d.ts +0 -2
  62. package/dist/types/api-model/models/fulfillment-order-item.d.ts +0 -39
  63. package/dist/types/api-model/models/fulfillment-order-status.d.ts +0 -2
  64. package/dist/types/api-model/models/fulfillment-order.d.ts +0 -55
  65. package/dist/types/api-model/models/fulfillment-policy.d.ts +0 -2
  66. package/dist/types/api-model/models/fulfillment-preview-item.d.ts +0 -15
  67. package/dist/types/api-model/models/fulfillment-preview-shipment.d.ts +0 -14
  68. package/dist/types/api-model/models/fulfillment-preview.d.ts +0 -33
  69. package/dist/types/api-model/models/fulfillment-return-item-status.d.ts +0 -2
  70. package/dist/types/api-model/models/fulfillment-shipment-item.d.ts +0 -14
  71. package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +0 -20
  72. package/dist/types/api-model/models/fulfillment-shipment.d.ts +0 -18
  73. package/dist/types/api-model/models/get-delivery-offers-product.d.ts +0 -12
  74. package/dist/types/api-model/models/get-delivery-offers-request.d.ts +0 -12
  75. package/dist/types/api-model/models/get-delivery-offers-response.d.ts +0 -9
  76. package/dist/types/api-model/models/get-delivery-offers-result.d.ts +0 -4
  77. package/dist/types/api-model/models/get-delivery-offers-terms.d.ts +0 -12
  78. package/dist/types/api-model/models/get-feature-inventory-response.d.ts +0 -9
  79. package/dist/types/api-model/models/get-feature-inventory-result.d.ts +0 -10
  80. package/dist/types/api-model/models/get-feature-sku-response.d.ts +0 -9
  81. package/dist/types/api-model/models/get-feature-sku-result.d.ts +0 -15
  82. package/dist/types/api-model/models/get-features-response.d.ts +0 -9
  83. package/dist/types/api-model/models/get-features-result.d.ts +0 -4
  84. package/dist/types/api-model/models/get-fulfillment-order-response.d.ts +0 -9
  85. package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +0 -17
  86. package/dist/types/api-model/models/get-fulfillment-preview-item.d.ts +0 -13
  87. package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +0 -19
  88. package/dist/types/api-model/models/get-fulfillment-preview-response.d.ts +0 -9
  89. package/dist/types/api-model/models/get-fulfillment-preview-result.d.ts +0 -4
  90. package/dist/types/api-model/models/get-package-tracking-details-response.d.ts +0 -9
  91. package/dist/types/api-model/models/invalid-item-reason-code.d.ts +0 -2
  92. package/dist/types/api-model/models/invalid-item-reason.d.ts +0 -9
  93. package/dist/types/api-model/models/invalid-return-item.d.ts +0 -11
  94. package/dist/types/api-model/models/list-all-fulfillment-orders-response.d.ts +0 -9
  95. package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +0 -6
  96. package/dist/types/api-model/models/list-return-reason-codes-response.d.ts +0 -9
  97. package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +0 -4
  98. package/dist/types/api-model/models/locker-details.d.ts +0 -6
  99. package/dist/types/api-model/models/model-error.d.ts +0 -8
  100. package/dist/types/api-model/models/money.d.ts +0 -6
  101. package/dist/types/api-model/models/origin.d.ts +0 -4
  102. package/dist/types/api-model/models/package-tracking-details.d.ts +0 -44
  103. package/dist/types/api-model/models/payment-information.d.ts +0 -8
  104. package/dist/types/api-model/models/product-identifier.d.ts +0 -4
  105. package/dist/types/api-model/models/reason-code-details.d.ts +0 -8
  106. package/dist/types/api-model/models/return-authorization.d.ts +0 -15
  107. package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
  108. package/dist/types/api-model/models/return-item.d.ts +0 -30
  109. package/dist/types/api-model/models/scheduled-delivery-info.d.ts +0 -6
  110. package/dist/types/api-model/models/shipping-speed-category.d.ts +0 -2
  111. package/dist/types/api-model/models/submit-fulfillment-order-status-update-request.d.ts +0 -7
  112. package/dist/types/api-model/models/submit-fulfillment-order-status-update-response.d.ts +0 -4
  113. package/dist/types/api-model/models/tracking-address.d.ts +0 -8
  114. package/dist/types/api-model/models/tracking-event.d.ts +0 -16
  115. package/dist/types/api-model/models/unfulfillable-preview-item.d.ts +0 -10
  116. package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +0 -31
  117. package/dist/types/api-model/models/update-fulfillment-order-request.d.ts +0 -38
  118. package/dist/types/api-model/models/update-fulfillment-order-response.d.ts +0 -4
  119. package/dist/types/api-model/models/variable-precision-address.d.ts +0 -18
  120. package/dist/types/api-model/models/weight.d.ts +0 -6
  121. 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,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * Additional location information.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const AdditionalLocationInfo: {
18
16
  readonly AsInstructed: "AS_INSTRUCTED";
@@ -11,68 +11,46 @@
11
11
  */
12
12
  /**
13
13
  * A physical address.
14
- * @export
15
- * @interface Address
16
14
  */
17
15
  export interface Address {
18
16
  /**
19
17
  * The name of the person, business or institution at the address.
20
- * @type {string}
21
- * @memberof Address
22
18
  */
23
19
  'name': string;
24
20
  /**
25
21
  * The first line of the address.
26
- * @type {string}
27
- * @memberof Address
28
22
  */
29
23
  'addressLine1': string;
30
24
  /**
31
25
  * Additional address information, if required.
32
- * @type {string}
33
- * @memberof Address
34
26
  */
35
27
  'addressLine2'?: string;
36
28
  /**
37
29
  * Additional address information, if required.
38
- * @type {string}
39
- * @memberof Address
40
30
  */
41
31
  'addressLine3'?: string;
42
32
  /**
43
33
  * The city where the person, business, or institution is located. This property is required in all countries except Japan. It should not be used in Japan.
44
- * @type {string}
45
- * @memberof Address
46
34
  */
47
35
  'city'?: string;
48
36
  /**
49
37
  * The district or county where the person, business, or institution is located.
50
- * @type {string}
51
- * @memberof Address
52
38
  */
53
39
  'districtOrCounty'?: string;
54
40
  /**
55
41
  * The state or region where the person, business or institution is located.
56
- * @type {string}
57
- * @memberof Address
58
42
  */
59
43
  'stateOrRegion': string;
60
44
  /**
61
45
  * The postal code of the address.
62
- * @type {string}
63
- * @memberof Address
64
46
  */
65
47
  'postalCode': string;
66
48
  /**
67
49
  * The two digit country code. In ISO 3166-1 alpha-2 format.
68
- * @type {string}
69
- * @memberof Address
70
50
  */
71
51
  'countryCode': string;
72
52
  /**
73
53
  * The phone number of the person, business, or institution located at the address.
74
- * @type {string}
75
- * @memberof Address
76
54
  */
77
55
  'phone'?: string;
78
56
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * A quantity based on unit of measure.
14
- * @export
15
- * @interface Amount
16
14
  */
17
15
  export interface Amount {
18
16
  /**
19
17
  * The unit of measure for the amount.
20
- * @type {string}
21
- * @memberof Amount
22
18
  */
23
19
  'unitOfMeasure': AmountUnitOfMeasureEnum;
24
20
  /**
25
21
  * A decimal number with no loss of precision. Useful when precision loss is unacceptable, as with currencies. Follows RFC7159 for number representation.
26
- * @type {string}
27
- * @memberof Amount
28
22
  */
29
23
  'value': string;
30
24
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The response schema for the `cancelFulfillmentOrder` operation.
14
- * @export
15
- * @interface CancelFulfillmentOrderResponse
16
14
  */
17
15
  export interface CancelFulfillmentOrderResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CancelFulfillmentOrderResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -12,38 +12,14 @@
12
12
  import type { Money } from './money';
13
13
  /**
14
14
  * The COD (Cash On Delivery) charges that you associate with a COD fulfillment order.
15
- * @export
16
- * @interface CODSettings
17
15
  */
18
16
  export interface CODSettings {
19
17
  /**
20
18
  * When true, this fulfillment order requires a COD (Cash On Delivery) payment.
21
- * @type {boolean}
22
- * @memberof CODSettings
23
19
  */
24
20
  'isCodRequired': boolean;
25
- /**
26
- *
27
- * @type {Money}
28
- * @memberof CODSettings
29
- */
30
21
  'codCharge'?: Money;
31
- /**
32
- *
33
- * @type {Money}
34
- * @memberof CODSettings
35
- */
36
22
  'codChargeTax'?: Money;
37
- /**
38
- *
39
- * @type {Money}
40
- * @memberof CODSettings
41
- */
42
23
  'shippingCharge'?: Money;
43
- /**
44
- *
45
- * @type {Money}
46
- * @memberof CODSettings
47
- */
48
24
  'shippingChargeTax'?: Money;
49
25
  }
@@ -12,62 +12,33 @@
12
12
  import type { Money } from './money';
13
13
  /**
14
14
  * Item information for creating a fulfillment order.
15
- * @export
16
- * @interface CreateFulfillmentOrderItem
17
15
  */
18
16
  export interface CreateFulfillmentOrderItem {
19
17
  /**
20
18
  * The seller SKU of the item.
21
- * @type {string}
22
- * @memberof CreateFulfillmentOrderItem
23
19
  */
24
20
  'sellerSku': string;
25
21
  /**
26
22
  * A fulfillment order item identifier that the seller creates to track fulfillment order items. Used to disambiguate multiple fulfillment items that have the same `SellerSKU`. For example, the seller might assign different `SellerFulfillmentOrderItemId` values to two items in a fulfillment order that share the same `SellerSKU` but have different `GiftMessage` values.
27
- * @type {string}
28
- * @memberof CreateFulfillmentOrderItem
29
23
  */
30
24
  'sellerFulfillmentOrderItemId': string;
31
25
  /**
32
26
  * The item quantity.
33
- * @type {number}
34
- * @memberof CreateFulfillmentOrderItem
35
27
  */
36
28
  'quantity': number;
37
29
  /**
38
30
  * A message to the gift recipient, if applicable.
39
- * @type {string}
40
- * @memberof CreateFulfillmentOrderItem
41
31
  */
42
32
  'giftMessage'?: string;
43
33
  /**
44
34
  * Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
45
- * @type {string}
46
- * @memberof CreateFulfillmentOrderItem
47
35
  */
48
36
  'displayableComment'?: string;
49
37
  /**
50
38
  * Amazon\'s fulfillment network SKU of the item.
51
- * @type {string}
52
- * @memberof CreateFulfillmentOrderItem
53
39
  */
54
40
  'fulfillmentNetworkSku'?: string;
55
- /**
56
- *
57
- * @type {Money}
58
- * @memberof CreateFulfillmentOrderItem
59
- */
60
41
  'perUnitDeclaredValue'?: Money;
61
- /**
62
- *
63
- * @type {Money}
64
- * @memberof CreateFulfillmentOrderItem
65
- */
66
42
  'perUnitPrice'?: Money;
67
- /**
68
- *
69
- * @type {Money}
70
- * @memberof CreateFulfillmentOrderItem
71
- */
72
43
  'perUnitTax'?: Money;
73
44
  }
@@ -21,110 +21,53 @@ import type { PaymentInformation } from './payment-information';
21
21
  import type { ShippingSpeedCategory } from './shipping-speed-category';
22
22
  /**
23
23
  * The request body schema for the `createFulfillmentOrder` operation.
24
- * @export
25
- * @interface CreateFulfillmentOrderRequest
26
24
  */
27
25
  export interface CreateFulfillmentOrderRequest {
28
26
  /**
29
27
  * The marketplace the fulfillment order is placed against.
30
- * @type {string}
31
- * @memberof CreateFulfillmentOrderRequest
32
28
  */
33
29
  'marketplaceId'?: string;
34
30
  /**
35
31
  * A fulfillment order identifier that the seller creates to track their fulfillment order. The `SellerFulfillmentOrderId` must be unique for each fulfillment order that a seller creates. If the seller\'s system already creates unique order identifiers, then these might be good values for them to use.
36
- * @type {string}
37
- * @memberof CreateFulfillmentOrderRequest
38
32
  */
39
33
  'sellerFulfillmentOrderId': string;
40
34
  /**
41
35
  * A fulfillment order identifier that the seller creates. This value displays as the order identifier in recipient-facing materials such as the outbound shipment packing slip. The value of `DisplayableOrderId` should match the order identifier that the seller provides to the recipient. The seller can use the `SellerFulfillmentOrderId` for this value or they can specify an alternate value if they want the recipient to reference an alternate order identifier. The value must be an alpha-numeric or ISO 8859-1 compliant string from one to 40 characters in length. Cannot contain two spaces in a row. Leading and trailing white space is removed.
42
- * @type {string}
43
- * @memberof CreateFulfillmentOrderRequest
44
36
  */
45
37
  'displayableOrderId': string;
46
38
  /**
47
39
  * Date timestamp
48
- * @type {string}
49
- * @memberof CreateFulfillmentOrderRequest
50
40
  */
51
41
  'displayableOrderDate': string;
52
42
  /**
53
43
  * Order-specific text that appears in recipient-facing materials such as the outbound shipment packing slip.
54
- * @type {string}
55
- * @memberof CreateFulfillmentOrderRequest
56
44
  */
57
45
  'displayableOrderComment': string;
58
- /**
59
- *
60
- * @type {ShippingSpeedCategory}
61
- * @memberof CreateFulfillmentOrderRequest
62
- */
63
46
  'shippingSpeedCategory': ShippingSpeedCategory;
64
- /**
65
- *
66
- * @type {DeliveryWindow}
67
- * @memberof CreateFulfillmentOrderRequest
68
- */
69
47
  'deliveryWindow'?: DeliveryWindow;
70
- /**
71
- *
72
- * @type {Address}
73
- * @memberof CreateFulfillmentOrderRequest
74
- */
75
48
  'destinationAddress': Address;
76
- /**
77
- *
78
- * @type {DeliveryPreferences}
79
- * @memberof CreateFulfillmentOrderRequest
80
- */
81
49
  'deliveryPreferences'?: DeliveryPreferences;
82
- /**
83
- *
84
- * @type {FulfillmentAction}
85
- * @memberof CreateFulfillmentOrderRequest
86
- */
87
50
  'fulfillmentAction'?: FulfillmentAction;
88
- /**
89
- *
90
- * @type {FulfillmentPolicy}
91
- * @memberof CreateFulfillmentOrderRequest
92
- */
93
51
  'fulfillmentPolicy'?: FulfillmentPolicy;
94
- /**
95
- *
96
- * @type {CODSettings}
97
- * @memberof CreateFulfillmentOrderRequest
98
- */
99
52
  'codSettings'?: CODSettings;
100
53
  /**
101
54
  * The two-character country code for the country from which the fulfillment order ships. Must be in ISO 3166-1 alpha-2 format.
102
- * @type {string}
103
- * @memberof CreateFulfillmentOrderRequest
104
55
  */
105
56
  'shipFromCountryCode'?: string;
106
57
  /**
107
58
  * A list of email addresses that the seller provides that are used by Amazon to send ship-complete notifications to recipients on behalf of the seller.
108
- * @type {Array<string>}
109
- * @memberof CreateFulfillmentOrderRequest
110
59
  */
111
60
  'notificationEmails'?: Array<string>;
112
61
  /**
113
62
  * A list of features and their fulfillment policies to apply to the order.
114
- * @type {Array<FeatureSettings>}
115
- * @memberof CreateFulfillmentOrderRequest
116
63
  */
117
64
  'featureConstraints'?: Array<FeatureSettings>;
118
65
  /**
119
66
  * An array of item information for creating a fulfillment order.
120
- * @type {Array<CreateFulfillmentOrderItem>}
121
- * @memberof CreateFulfillmentOrderRequest
122
67
  */
123
68
  'items': Array<CreateFulfillmentOrderItem>;
124
69
  /**
125
70
  * An array of various payment attributes related to this fulfillment order.
126
- * @type {Array<PaymentInformation>}
127
- * @memberof CreateFulfillmentOrderRequest
128
71
  */
129
72
  'paymentInformation'?: Array<PaymentInformation>;
130
73
  }
@@ -11,14 +11,10 @@
11
11
  */
12
12
  /**
13
13
  * The response schema for the `createFulfillmentOrder` operation.
14
- * @export
15
- * @interface CreateFulfillmentOrderResponse
16
14
  */
17
15
  export interface CreateFulfillmentOrderResponse {
18
16
  /**
19
17
  * A list of error responses returned when a request is unsuccessful.
20
- * @type {Array<Error>}
21
- * @memberof CreateFulfillmentOrderResponse
22
18
  */
23
19
  'errors'?: Array<Error>;
24
20
  }
@@ -12,14 +12,10 @@
12
12
  import type { CreateReturnItem } from './create-return-item';
13
13
  /**
14
14
  * The `createFulfillmentReturn` operation creates a fulfillment return for items that were fulfilled using the `createFulfillmentOrder` operation. For calls to `createFulfillmentReturn`, you must include `ReturnReasonCode` values returned by a previous call to the `listReturnReasonCodes` operation.
15
- * @export
16
- * @interface CreateFulfillmentReturnRequest
17
15
  */
18
16
  export interface CreateFulfillmentReturnRequest {
19
17
  /**
20
18
  * An array of items to be returned.
21
- * @type {Array<CreateReturnItem>}
22
- * @memberof CreateFulfillmentReturnRequest
23
19
  */
24
20
  'items': Array<CreateReturnItem>;
25
21
  }
@@ -12,20 +12,11 @@
12
12
  import type { CreateFulfillmentReturnResult } from './create-fulfillment-return-result';
13
13
  /**
14
14
  * The response schema for the `createFulfillmentReturn` operation.
15
- * @export
16
- * @interface CreateFulfillmentReturnResponse
17
15
  */
18
16
  export interface CreateFulfillmentReturnResponse {
19
- /**
20
- *
21
- * @type {CreateFulfillmentReturnResult}
22
- * @memberof CreateFulfillmentReturnResponse
23
- */
24
17
  'payload'?: CreateFulfillmentReturnResult;
25
18
  /**
26
19
  * A list of error responses returned when a request is unsuccessful.
27
- * @type {Array<Error>}
28
- * @memberof CreateFulfillmentReturnResponse
29
20
  */
30
21
  'errors'?: Array<Error>;
31
22
  }
@@ -14,26 +14,18 @@ import type { ReturnAuthorization } from './return-authorization';
14
14
  import type { ReturnItem } from './return-item';
15
15
  /**
16
16
  * The result for the createFulfillmentReturn operation.
17
- * @export
18
- * @interface CreateFulfillmentReturnResult
19
17
  */
20
18
  export interface CreateFulfillmentReturnResult {
21
19
  /**
22
20
  * An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.
23
- * @type {Array<ReturnItem>}
24
- * @memberof CreateFulfillmentReturnResult
25
21
  */
26
22
  'returnItems'?: Array<ReturnItem>;
27
23
  /**
28
24
  * An array of invalid return item information.
29
- * @type {Array<InvalidReturnItem>}
30
- * @memberof CreateFulfillmentReturnResult
31
25
  */
32
26
  'invalidReturnItems'?: Array<InvalidReturnItem>;
33
27
  /**
34
28
  * An array of return authorization information.
35
- * @type {Array<ReturnAuthorization>}
36
- * @memberof CreateFulfillmentReturnResult
37
29
  */
38
30
  'returnAuthorizations'?: Array<ReturnAuthorization>;
39
31
  }
@@ -11,38 +11,26 @@
11
11
  */
12
12
  /**
13
13
  * An item that Amazon accepted for return.
14
- * @export
15
- * @interface CreateReturnItem
16
14
  */
17
15
  export interface CreateReturnItem {
18
16
  /**
19
17
  * An identifier assigned by the seller to the return item.
20
- * @type {string}
21
- * @memberof CreateReturnItem
22
18
  */
23
19
  'sellerReturnItemId': string;
24
20
  /**
25
21
  * The identifier assigned to the item by the seller when the fulfillment order was created.
26
- * @type {string}
27
- * @memberof CreateReturnItem
28
22
  */
29
23
  'sellerFulfillmentOrderItemId': string;
30
24
  /**
31
25
  * The identifier for the shipment that is associated with the return item.
32
- * @type {string}
33
- * @memberof CreateReturnItem
34
26
  */
35
27
  'amazonShipmentId': string;
36
28
  /**
37
29
  * The return reason code assigned to the return item by the seller.
38
- * @type {string}
39
- * @memberof CreateReturnItem
40
30
  */
41
31
  'returnReasonCode': string;
42
32
  /**
43
33
  * An optional comment about the return item.
44
- * @type {string}
45
- * @memberof CreateReturnItem
46
34
  */
47
35
  'returnComment'?: string;
48
36
  }
@@ -11,8 +11,6 @@
11
11
  */
12
12
  /**
13
13
  * The current delivery status of the package.
14
- * @export
15
- * @enum {string}
16
14
  */
17
15
  export declare const CurrentStatus: {
18
16
  readonly InTransit: "IN_TRANSIT";
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * The time range within which something (for example, a delivery) will occur.
14
- * @export
15
- * @interface DateRange
16
14
  */
17
15
  export interface DateRange {
18
16
  /**
19
17
  * Date timestamp
20
- * @type {string}
21
- * @memberof DateRange
22
18
  */
23
19
  'earliest': string;
24
20
  /**
25
21
  * Date timestamp
26
- * @type {string}
27
- * @memberof DateRange
28
22
  */
29
23
  'latest': string;
30
24
  }
@@ -11,20 +11,14 @@
11
11
  */
12
12
  /**
13
13
  * A delivery document for a package.
14
- * @export
15
- * @interface DeliveryDocument
16
14
  */
17
15
  export interface DeliveryDocument {
18
16
  /**
19
17
  * The delivery document type. Values are `SIGNATURE` and `DELIVERY_IMAGE`.
20
- * @type {string}
21
- * @memberof DeliveryDocument
22
18
  */
23
19
  'documentType': string;
24
20
  /**
25
21
  * A URL that you can use to download the document. This URL has a `Content-Type` header. Note that the URL expires after one hour. To get a new URL, you must call the API again.
26
- * @type {string}
27
- * @memberof DeliveryDocument
28
22
  */
29
23
  'url'?: string;
30
24
  }
@@ -13,20 +13,11 @@ import type { DeliveryDocument } from './delivery-document';
13
13
  import type { DropOffLocation } from './drop-off-location';
14
14
  /**
15
15
  * The delivery information for the package. This information is available after the package is delivered.
16
- * @export
17
- * @interface DeliveryInformation
18
16
  */
19
17
  export interface DeliveryInformation {
20
18
  /**
21
19
  * A list of delivery documents for a package.
22
- * @type {Array<DeliveryDocument>}
23
- * @memberof DeliveryInformation
24
20
  */
25
21
  'deliveryDocumentList'?: Array<DeliveryDocument>;
26
- /**
27
- *
28
- * @type {DropOffLocation}
29
- * @memberof DeliveryInformation
30
- */
31
22
  'dropOffLocation'?: DropOffLocation;
32
23
  }