@sp-api-sdk/fulfillment-inbound-api-v0 4.1.15 → 5.0.0

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 (127) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +881 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/{types/api-model/api/fulfillment-inbound-api.d.ts → index.d.cts} +965 -35
  5. package/dist/index.d.ts +1358 -0
  6. package/dist/index.js +825 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/fulfillment-inbound-api.js +0 -574
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/address.js +0 -15
  16. package/dist/cjs/api-model/models/amazon-prep-fees-details.js +0 -15
  17. package/dist/cjs/api-model/models/amount.js +0 -15
  18. package/dist/cjs/api-model/models/asinprep-instructions.js +0 -15
  19. package/dist/cjs/api-model/models/barcode-instruction.js +0 -24
  20. package/dist/cjs/api-model/models/bill-of-lading-download-url.js +0 -15
  21. package/dist/cjs/api-model/models/box-contents-fee-details.js +0 -15
  22. package/dist/cjs/api-model/models/box-contents-source.js +0 -25
  23. package/dist/cjs/api-model/models/currency-code.js +0 -23
  24. package/dist/cjs/api-model/models/error-reason.js +0 -23
  25. package/dist/cjs/api-model/models/get-bill-of-lading-response.js +0 -15
  26. package/dist/cjs/api-model/models/get-labels-response.js +0 -15
  27. package/dist/cjs/api-model/models/get-prep-instructions-response.js +0 -15
  28. package/dist/cjs/api-model/models/get-prep-instructions-result.js +0 -15
  29. package/dist/cjs/api-model/models/get-shipment-items-response.js +0 -15
  30. package/dist/cjs/api-model/models/get-shipment-items-result.js +0 -15
  31. package/dist/cjs/api-model/models/get-shipments-response.js +0 -15
  32. package/dist/cjs/api-model/models/get-shipments-result.js +0 -15
  33. package/dist/cjs/api-model/models/inbound-shipment-info.js +0 -15
  34. package/dist/cjs/api-model/models/inbound-shipment-item.js +0 -15
  35. package/dist/cjs/api-model/models/index.js +0 -47
  36. package/dist/cjs/api-model/models/invalid-asin.js +0 -15
  37. package/dist/cjs/api-model/models/invalid-sku.js +0 -15
  38. package/dist/cjs/api-model/models/label-download-url.js +0 -15
  39. package/dist/cjs/api-model/models/label-prep-type.js +0 -24
  40. package/dist/cjs/api-model/models/model-error.js +0 -15
  41. package/dist/cjs/api-model/models/prep-details.js +0 -15
  42. package/dist/cjs/api-model/models/prep-guidance.js +0 -24
  43. package/dist/cjs/api-model/models/prep-instruction.js +0 -37
  44. package/dist/cjs/api-model/models/prep-owner.js +0 -23
  45. package/dist/cjs/api-model/models/shipment-status.js +0 -31
  46. package/dist/cjs/api-model/models/skuprep-instructions.js +0 -15
  47. package/dist/cjs/client.js +0 -56
  48. package/dist/cjs/index.js +0 -19
  49. package/dist/es/api-model/api/fulfillment-inbound-api.js +0 -564
  50. package/dist/es/api-model/api.js +0 -14
  51. package/dist/es/api-model/base.js +0 -44
  52. package/dist/es/api-model/common.js +0 -110
  53. package/dist/es/api-model/configuration.js +0 -94
  54. package/dist/es/api-model/index.js +0 -16
  55. package/dist/es/api-model/models/address.js +0 -14
  56. package/dist/es/api-model/models/amazon-prep-fees-details.js +0 -14
  57. package/dist/es/api-model/models/amount.js +0 -14
  58. package/dist/es/api-model/models/asinprep-instructions.js +0 -14
  59. package/dist/es/api-model/models/barcode-instruction.js +0 -21
  60. package/dist/es/api-model/models/bill-of-lading-download-url.js +0 -14
  61. package/dist/es/api-model/models/box-contents-fee-details.js +0 -14
  62. package/dist/es/api-model/models/box-contents-source.js +0 -22
  63. package/dist/es/api-model/models/currency-code.js +0 -20
  64. package/dist/es/api-model/models/error-reason.js +0 -20
  65. package/dist/es/api-model/models/get-bill-of-lading-response.js +0 -14
  66. package/dist/es/api-model/models/get-labels-response.js +0 -14
  67. package/dist/es/api-model/models/get-prep-instructions-response.js +0 -14
  68. package/dist/es/api-model/models/get-prep-instructions-result.js +0 -14
  69. package/dist/es/api-model/models/get-shipment-items-response.js +0 -14
  70. package/dist/es/api-model/models/get-shipment-items-result.js +0 -14
  71. package/dist/es/api-model/models/get-shipments-response.js +0 -14
  72. package/dist/es/api-model/models/get-shipments-result.js +0 -14
  73. package/dist/es/api-model/models/inbound-shipment-info.js +0 -14
  74. package/dist/es/api-model/models/inbound-shipment-item.js +0 -14
  75. package/dist/es/api-model/models/index.js +0 -31
  76. package/dist/es/api-model/models/invalid-asin.js +0 -14
  77. package/dist/es/api-model/models/invalid-sku.js +0 -14
  78. package/dist/es/api-model/models/label-download-url.js +0 -14
  79. package/dist/es/api-model/models/label-prep-type.js +0 -21
  80. package/dist/es/api-model/models/model-error.js +0 -14
  81. package/dist/es/api-model/models/prep-details.js +0 -14
  82. package/dist/es/api-model/models/prep-guidance.js +0 -21
  83. package/dist/es/api-model/models/prep-instruction.js +0 -34
  84. package/dist/es/api-model/models/prep-owner.js +0 -20
  85. package/dist/es/api-model/models/shipment-status.js +0 -28
  86. package/dist/es/api-model/models/skuprep-instructions.js +0 -14
  87. package/dist/es/client.js +0 -52
  88. package/dist/es/index.js +0 -3
  89. package/dist/types/api-model/api.d.ts +0 -12
  90. package/dist/types/api-model/base.d.ts +0 -42
  91. package/dist/types/api-model/common.d.ts +0 -34
  92. package/dist/types/api-model/configuration.d.ts +0 -98
  93. package/dist/types/api-model/index.d.ts +0 -14
  94. package/dist/types/api-model/models/address.d.ts +0 -48
  95. package/dist/types/api-model/models/amazon-prep-fees-details.d.ts +0 -20
  96. package/dist/types/api-model/models/amount.d.ts +0 -22
  97. package/dist/types/api-model/models/asinprep-instructions.d.ts +0 -29
  98. package/dist/types/api-model/models/barcode-instruction.d.ts +0 -20
  99. package/dist/types/api-model/models/bill-of-lading-download-url.d.ts +0 -20
  100. package/dist/types/api-model/models/box-contents-fee-details.d.ts +0 -23
  101. package/dist/types/api-model/models/box-contents-source.d.ts +0 -21
  102. package/dist/types/api-model/models/currency-code.d.ts +0 -19
  103. package/dist/types/api-model/models/error-reason.d.ts +0 -19
  104. package/dist/types/api-model/models/get-bill-of-lading-response.d.ts +0 -22
  105. package/dist/types/api-model/models/get-labels-response.d.ts +0 -22
  106. package/dist/types/api-model/models/get-prep-instructions-response.d.ts +0 -22
  107. package/dist/types/api-model/models/get-prep-instructions-result.d.ts +0 -36
  108. package/dist/types/api-model/models/get-shipment-items-response.d.ts +0 -22
  109. package/dist/types/api-model/models/get-shipment-items-result.d.ts +0 -25
  110. package/dist/types/api-model/models/get-shipments-response.d.ts +0 -22
  111. package/dist/types/api-model/models/get-shipments-result.d.ts +0 -25
  112. package/dist/types/api-model/models/inbound-shipment-info.d.ts +0 -46
  113. package/dist/types/api-model/models/inbound-shipment-item.d.ts +0 -49
  114. package/dist/types/api-model/models/index.d.ts +0 -31
  115. package/dist/types/api-model/models/invalid-asin.d.ts +0 -22
  116. package/dist/types/api-model/models/invalid-sku.d.ts +0 -22
  117. package/dist/types/api-model/models/label-download-url.d.ts +0 -20
  118. package/dist/types/api-model/models/label-prep-type.d.ts +0 -20
  119. package/dist/types/api-model/models/model-error.d.ts +0 -28
  120. package/dist/types/api-model/models/prep-details.d.ts +0 -20
  121. package/dist/types/api-model/models/prep-guidance.d.ts +0 -20
  122. package/dist/types/api-model/models/prep-instruction.d.ts +0 -33
  123. package/dist/types/api-model/models/prep-owner.d.ts +0 -19
  124. package/dist/types/api-model/models/shipment-status.d.ts +0 -27
  125. package/dist/types/api-model/models/skuprep-instructions.d.ts +0 -38
  126. package/dist/types/client.d.ts +0 -6
  127. package/dist/types/index.d.ts +0 -3
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,21 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * The type of label preparation that is required for the inbound shipment.
16
- */
17
- export const LabelPrepType = {
18
- NoLabel: 'NO_LABEL',
19
- SellerLabel: 'SELLER_LABEL',
20
- AmazonLabel: 'AMAZON_LABEL',
21
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,21 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Item preparation instructions.
16
- */
17
- export const PrepGuidance = {
18
- ConsultHelpDocuments: 'ConsultHelpDocuments',
19
- NoAdditionalPrepRequired: 'NoAdditionalPrepRequired',
20
- SeePrepInstructionsList: 'SeePrepInstructionsList',
21
- };
@@ -1,34 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Preparation instructions for shipping an item to Amazon\'s fulfillment network. For more information about preparing items for shipment to Amazon\'s fulfillment network, see the Seller Central Help for your marketplace.
16
- */
17
- export const PrepInstruction = {
18
- Polybagging: 'Polybagging',
19
- BubbleWrapping: 'BubbleWrapping',
20
- Taping: 'Taping',
21
- BlackShrinkWrapping: 'BlackShrinkWrapping',
22
- Labeling: 'Labeling',
23
- HangGarment: 'HangGarment',
24
- SetCreation: 'SetCreation',
25
- Boxing: 'Boxing',
26
- RemoveFromHanger: 'RemoveFromHanger',
27
- Debundle: 'Debundle',
28
- SuffocationStickering: 'SuffocationStickering',
29
- CapSealing: 'CapSealing',
30
- SetStickering: 'SetStickering',
31
- BlankStickering: 'BlankStickering',
32
- ShipsInProductPackaging: 'ShipsInProductPackaging',
33
- NoPrep: 'NoPrep',
34
- };
@@ -1,20 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Indicates who will prepare the item.
16
- */
17
- export const PrepOwner = {
18
- Amazon: 'AMAZON',
19
- Seller: 'SELLER',
20
- };
@@ -1,28 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Indicates the status of the inbound shipment. When used with the createInboundShipment operation, WORKING is the only valid value. When used with the updateInboundShipment operation, possible values are WORKING, SHIPPED or CANCELLED.
16
- */
17
- export const ShipmentStatus = {
18
- Working: 'WORKING',
19
- Shipped: 'SHIPPED',
20
- Receiving: 'RECEIVING',
21
- Cancelled: 'CANCELLED',
22
- Deleted: 'DELETED',
23
- Closed: 'CLOSED',
24
- Error: 'ERROR',
25
- InTransit: 'IN_TRANSIT',
26
- Delivered: 'DELIVERED',
27
- CheckedIn: 'CHECKED_IN',
28
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Fulfillment Inbound
5
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
package/dist/es/client.js DELETED
@@ -1,52 +0,0 @@
1
- import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, FulfillmentInboundApi } from './api-model';
3
- export const clientRateLimits = [
4
- {
5
- method: 'get',
6
- // eslint-disable-next-line prefer-regex-literals
7
- urlRegex: new RegExp('^/fba/inbound/v0/prepInstructions$'),
8
- rate: 2,
9
- burst: 30,
10
- },
11
- {
12
- method: 'get',
13
- // eslint-disable-next-line prefer-regex-literals
14
- urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/labels$'),
15
- rate: 2,
16
- burst: 30,
17
- },
18
- {
19
- method: 'get',
20
- // eslint-disable-next-line prefer-regex-literals
21
- urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/billOfLading$'),
22
- rate: 2,
23
- burst: 30,
24
- },
25
- {
26
- method: 'get',
27
- // eslint-disable-next-line prefer-regex-literals
28
- urlRegex: new RegExp('^/fba/inbound/v0/shipments$'),
29
- rate: 2,
30
- burst: 30,
31
- },
32
- {
33
- method: 'get',
34
- // eslint-disable-next-line prefer-regex-literals
35
- urlRegex: new RegExp('^/fba/inbound/v0/shipments/[^/]*/items$'),
36
- rate: 2,
37
- burst: 30,
38
- },
39
- {
40
- method: 'get',
41
- // eslint-disable-next-line prefer-regex-literals
42
- urlRegex: new RegExp('^/fba/inbound/v0/shipmentItems$'),
43
- rate: 2,
44
- burst: 30,
45
- },
46
- ];
47
- export class FulfillmentInboundApiClient extends FulfillmentInboundApi {
48
- constructor(configuration) {
49
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
50
- super(new Configuration(), endpoint, axios);
51
- }
52
- }
package/dist/es/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export * from './api-model/models';
@@ -1,12 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from './api/fulfillment-inbound-api';
@@ -1,42 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- export declare const BASE_PATH: string;
15
- export declare const COLLECTION_FORMATS: {
16
- csv: string;
17
- ssv: string;
18
- tsv: string;
19
- pipes: string;
20
- };
21
- export interface RequestArgs {
22
- url: string;
23
- options: RawAxiosRequestConfig;
24
- }
25
- export declare class BaseAPI {
26
- protected basePath: string;
27
- protected axios: AxiosInstance;
28
- protected configuration: Configuration | undefined;
29
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
- }
31
- export declare class RequiredError extends Error {
32
- field: string;
33
- constructor(field: string, msg?: string);
34
- }
35
- interface ServerMap {
36
- [key: string]: {
37
- url: string;
38
- description: string;
39
- }[];
40
- }
41
- export declare const operationServerMap: ServerMap;
42
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
15
- export declare const DUMMY_BASE_URL = "https://example.com";
16
- /**
17
- *
18
- * @throws {RequiredError}
19
- */
20
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
- /**
27
- * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
- * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
- * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
- */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
- export declare const toPathString: (url: URL) => string;
34
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -1,98 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,48 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Specific details to identify a place.
14
- */
15
- export interface Address {
16
- /**
17
- * Name of the individual or business.
18
- */
19
- 'Name': string;
20
- /**
21
- * The street address information.
22
- */
23
- 'AddressLine1': string;
24
- /**
25
- * Additional street address information, if required.
26
- */
27
- 'AddressLine2'?: string;
28
- /**
29
- * The district or county.
30
- */
31
- 'DistrictOrCounty'?: string;
32
- /**
33
- * The city.
34
- */
35
- 'City': string;
36
- /**
37
- * The state or province code. If state or province codes are used in your marketplace, it is recommended that you include one with your request. This helps Amazon to select the most appropriate Amazon fulfillment center for your inbound shipment plan.
38
- */
39
- 'StateOrProvinceCode': string;
40
- /**
41
- * The country code in two-character ISO 3166-1 alpha-2 format.
42
- */
43
- 'CountryCode': string;
44
- /**
45
- * The postal code. If postal codes are used in your marketplace, we recommended that you include one with your request. This helps Amazon select the most appropriate Amazon fulfillment center for the inbound shipment plan.
46
- */
47
- 'PostalCode': string;
48
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Amount } from './amount';
13
- import type { PrepInstruction } from './prep-instruction';
14
- /**
15
- * The fees for Amazon to prep goods for shipment.
16
- */
17
- export interface AmazonPrepFeesDetails {
18
- 'PrepInstruction'?: PrepInstruction;
19
- 'FeePerUnit'?: Amount;
20
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CurrencyCode } from './currency-code';
13
- /**
14
- * The monetary value.
15
- */
16
- export interface Amount {
17
- 'CurrencyCode': CurrencyCode;
18
- /**
19
- * Number format that supports decimal.
20
- */
21
- 'Value': number;
22
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BarcodeInstruction } from './barcode-instruction';
13
- import type { PrepGuidance } from './prep-guidance';
14
- import type { PrepInstruction } from './prep-instruction';
15
- /**
16
- * Item preparation instructions to help with item sourcing decisions.
17
- */
18
- export interface ASINPrepInstructions {
19
- /**
20
- * The Amazon Standard Identification Number (ASIN) of the item.
21
- */
22
- 'ASIN'?: string;
23
- 'BarcodeInstruction'?: BarcodeInstruction;
24
- 'PrepGuidance'?: PrepGuidance;
25
- /**
26
- * A list of preparation instructions to help with item sourcing decisions.
27
- */
28
- 'PrepInstructionList'?: Array<PrepInstruction>;
29
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Labeling requirements for the item. For more information about FBA labeling requirements, see the Seller Central Help for your marketplace.
14
- */
15
- export declare const BarcodeInstruction: {
16
- readonly RequiresFnskuLabel: "RequiresFNSKULabel";
17
- readonly CanUseOriginalBarcode: "CanUseOriginalBarcode";
18
- readonly MustProvideSellerSku: "MustProvideSellerSKU";
19
- };
20
- export type BarcodeInstruction = typeof BarcodeInstruction[keyof typeof BarcodeInstruction];
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Download URL for the bill of lading.
14
- */
15
- export interface BillOfLadingDownloadURL {
16
- /**
17
- * URL to download the bill of lading for the package. Note: The URL will only be valid for 15 seconds
18
- */
19
- 'DownloadURL'?: string;
20
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Amount } from './amount';
13
- /**
14
- * The manual processing fee per unit and total fee for a shipment.
15
- */
16
- export interface BoxContentsFeeDetails {
17
- /**
18
- * The item quantity.
19
- */
20
- 'TotalUnits'?: number;
21
- 'FeePerUnit'?: Amount;
22
- 'TotalFee'?: Amount;
23
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Selling Partner API for Fulfillment Inbound
3
- * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Where the seller provided box contents information for a shipment.
14
- */
15
- export declare const BoxContentsSource: {
16
- readonly None: "NONE";
17
- readonly Feed: "FEED";
18
- readonly _2DBarcode: "2D_BARCODE";
19
- readonly Interactive: "INTERACTIVE";
20
- };
21
- export type BoxContentsSource = typeof BoxContentsSource[keyof typeof BoxContentsSource];