@sp-api-sdk/fba-inventory-api-v1 3.0.22 → 4.1.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 (86) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +528 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +782 -0
  5. package/dist/index.d.ts +782 -0
  6. package/dist/index.js +497 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/fba-inventory-api.js +0 -355
  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/add-inventory-request.js +0 -15
  16. package/dist/cjs/api-model/models/add-inventory-response.js +0 -15
  17. package/dist/cjs/api-model/models/create-inventory-item-request.js +0 -15
  18. package/dist/cjs/api-model/models/create-inventory-item-response.js +0 -15
  19. package/dist/cjs/api-model/models/delete-inventory-item-response.js +0 -15
  20. package/dist/cjs/api-model/models/get-inventory-summaries-response.js +0 -15
  21. package/dist/cjs/api-model/models/get-inventory-summaries-result.js +0 -15
  22. package/dist/cjs/api-model/models/granularity.js +0 -15
  23. package/dist/cjs/api-model/models/index.js +0 -33
  24. package/dist/cjs/api-model/models/inventory-details.js +0 -15
  25. package/dist/cjs/api-model/models/inventory-item.js +0 -15
  26. package/dist/cjs/api-model/models/inventory-summary.js +0 -15
  27. package/dist/cjs/api-model/models/model-error.js +0 -15
  28. package/dist/cjs/api-model/models/pagination.js +0 -15
  29. package/dist/cjs/api-model/models/researching-quantity-entry.js +0 -21
  30. package/dist/cjs/api-model/models/researching-quantity.js +0 -15
  31. package/dist/cjs/api-model/models/reserved-quantity.js +0 -15
  32. package/dist/cjs/api-model/models/unfulfillable-quantity.js +0 -15
  33. package/dist/cjs/client.js +0 -21
  34. package/dist/cjs/index.js +0 -19
  35. package/dist/es/api-model/api/fba-inventory-api.js +0 -345
  36. package/dist/es/api-model/api.js +0 -14
  37. package/dist/es/api-model/base.js +0 -44
  38. package/dist/es/api-model/common.js +0 -110
  39. package/dist/es/api-model/configuration.js +0 -94
  40. package/dist/es/api-model/index.js +0 -16
  41. package/dist/es/api-model/models/add-inventory-request.js +0 -14
  42. package/dist/es/api-model/models/add-inventory-response.js +0 -14
  43. package/dist/es/api-model/models/create-inventory-item-request.js +0 -14
  44. package/dist/es/api-model/models/create-inventory-item-response.js +0 -14
  45. package/dist/es/api-model/models/delete-inventory-item-response.js +0 -14
  46. package/dist/es/api-model/models/get-inventory-summaries-response.js +0 -14
  47. package/dist/es/api-model/models/get-inventory-summaries-result.js +0 -14
  48. package/dist/es/api-model/models/granularity.js +0 -14
  49. package/dist/es/api-model/models/index.js +0 -17
  50. package/dist/es/api-model/models/inventory-details.js +0 -14
  51. package/dist/es/api-model/models/inventory-item.js +0 -14
  52. package/dist/es/api-model/models/inventory-summary.js +0 -14
  53. package/dist/es/api-model/models/model-error.js +0 -14
  54. package/dist/es/api-model/models/pagination.js +0 -14
  55. package/dist/es/api-model/models/researching-quantity-entry.js +0 -18
  56. package/dist/es/api-model/models/researching-quantity.js +0 -14
  57. package/dist/es/api-model/models/reserved-quantity.js +0 -14
  58. package/dist/es/api-model/models/unfulfillable-quantity.js +0 -14
  59. package/dist/es/client.js +0 -17
  60. package/dist/es/index.js +0 -3
  61. package/dist/types/api-model/api/fba-inventory-api.d.ts +0 -247
  62. package/dist/types/api-model/api.d.ts +0 -12
  63. package/dist/types/api-model/base.d.ts +0 -42
  64. package/dist/types/api-model/common.d.ts +0 -34
  65. package/dist/types/api-model/configuration.d.ts +0 -98
  66. package/dist/types/api-model/index.d.ts +0 -14
  67. package/dist/types/api-model/models/add-inventory-request.d.ts +0 -21
  68. package/dist/types/api-model/models/add-inventory-response.d.ts +0 -20
  69. package/dist/types/api-model/models/create-inventory-item-request.d.ts +0 -28
  70. package/dist/types/api-model/models/create-inventory-item-response.d.ts +0 -20
  71. package/dist/types/api-model/models/delete-inventory-item-response.d.ts +0 -20
  72. package/dist/types/api-model/models/get-inventory-summaries-response.d.ts +0 -24
  73. package/dist/types/api-model/models/get-inventory-summaries-result.d.ts +0 -23
  74. package/dist/types/api-model/models/granularity.d.ts +0 -24
  75. package/dist/types/api-model/models/index.d.ts +0 -17
  76. package/dist/types/api-model/models/inventory-details.d.ts +0 -38
  77. package/dist/types/api-model/models/inventory-item.d.ts +0 -28
  78. package/dist/types/api-model/models/inventory-summary.d.ts +0 -50
  79. package/dist/types/api-model/models/model-error.d.ts +0 -28
  80. package/dist/types/api-model/models/pagination.d.ts +0 -20
  81. package/dist/types/api-model/models/researching-quantity-entry.d.ts +0 -30
  82. package/dist/types/api-model/models/researching-quantity.d.ts +0 -25
  83. package/dist/types/api-model/models/reserved-quantity.d.ts +0 -32
  84. package/dist/types/api-model/models/unfulfillable-quantity.d.ts +0 -44
  85. package/dist/types/client.d.ts +0 -6
  86. package/dist/types/index.d.ts +0 -3
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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,21 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { InventoryItem } from './inventory-item';
13
- /**
14
- * The object with the list of Inventory to be added
15
- */
16
- export interface AddInventoryRequest {
17
- /**
18
- * List of Inventory to be added
19
- */
20
- 'inventoryItems'?: Array<InventoryItem>;
21
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The response schema for the AddInventory operation.
14
- */
15
- export interface AddInventoryResponse {
16
- /**
17
- * A list of error responses returned when a request is unsuccessful.
18
- */
19
- 'errors'?: Array<Error>;
20
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * An item to be created in the inventory.
14
- */
15
- export interface CreateInventoryItemRequest {
16
- /**
17
- * The seller SKU of the item.
18
- */
19
- 'sellerSku': string;
20
- /**
21
- * The marketplaceId.
22
- */
23
- 'marketplaceId': string;
24
- /**
25
- * The name of the item.
26
- */
27
- 'productName': string;
28
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The response schema for the CreateInventoryItem operation.
14
- */
15
- export interface CreateInventoryItemResponse {
16
- /**
17
- * A list of error responses returned when a request is unsuccessful.
18
- */
19
- 'errors'?: Array<Error>;
20
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The response schema for the DeleteInventoryItem operation.
14
- */
15
- export interface DeleteInventoryItemResponse {
16
- /**
17
- * A list of error responses returned when a request is unsuccessful.
18
- */
19
- 'errors'?: Array<Error>;
20
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { GetInventorySummariesResult } from './get-inventory-summaries-result';
13
- import type { Pagination } from './pagination';
14
- /**
15
- * The Response schema.
16
- */
17
- export interface GetInventorySummariesResponse {
18
- 'payload'?: GetInventorySummariesResult;
19
- 'pagination'?: Pagination;
20
- /**
21
- * A list of error responses returned when a request is unsuccessful.
22
- */
23
- 'errors'?: Array<Error>;
24
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { Granularity } from './granularity';
13
- import type { InventorySummary } from './inventory-summary';
14
- /**
15
- * The payload schema for the getInventorySummaries operation.
16
- */
17
- export interface GetInventorySummariesResult {
18
- 'granularity': Granularity;
19
- /**
20
- * A list of inventory summaries.
21
- */
22
- 'inventorySummaries': Array<InventorySummary>;
23
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.
14
- */
15
- export interface Granularity {
16
- /**
17
- * The granularity type for the inventory aggregation level.
18
- */
19
- 'granularityType'?: string;
20
- /**
21
- * The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId.
22
- */
23
- 'granularityId'?: string;
24
- }
@@ -1,17 +0,0 @@
1
- export * from './add-inventory-request';
2
- export * from './add-inventory-response';
3
- export * from './create-inventory-item-request';
4
- export * from './create-inventory-item-response';
5
- export * from './delete-inventory-item-response';
6
- export * from './get-inventory-summaries-response';
7
- export * from './get-inventory-summaries-result';
8
- export * from './granularity';
9
- export * from './inventory-details';
10
- export * from './inventory-item';
11
- export * from './inventory-summary';
12
- export * from './model-error';
13
- export * from './pagination';
14
- export * from './researching-quantity';
15
- export * from './researching-quantity-entry';
16
- export * from './reserved-quantity';
17
- export * from './unfulfillable-quantity';
@@ -1,38 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { ResearchingQuantity } from './researching-quantity';
13
- import type { ReservedQuantity } from './reserved-quantity';
14
- import type { UnfulfillableQuantity } from './unfulfillable-quantity';
15
- /**
16
- * Summarized inventory details. This object will not appear if the details parameter in the request is false.
17
- */
18
- export interface InventoryDetails {
19
- /**
20
- * The item quantity that can be picked, packed, and shipped.
21
- */
22
- 'fulfillableQuantity'?: number;
23
- /**
24
- * The number of units in an inbound shipment for which you have notified Amazon.
25
- */
26
- 'inboundWorkingQuantity'?: number;
27
- /**
28
- * The number of units in an inbound shipment that you have notified Amazon about and have provided a tracking number.
29
- */
30
- 'inboundShippedQuantity'?: number;
31
- /**
32
- * The number of units that have not yet been received at an Amazon fulfillment center for processing, but are part of an inbound shipment with some units that have already been received and processed.
33
- */
34
- 'inboundReceivingQuantity'?: number;
35
- 'reservedQuantity'?: ReservedQuantity;
36
- 'researchingQuantity'?: ResearchingQuantity;
37
- 'unfulfillableQuantity'?: UnfulfillableQuantity;
38
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * An item in the list of inventory to be added.
14
- */
15
- export interface InventoryItem {
16
- /**
17
- * The seller SKU of the item.
18
- */
19
- 'sellerSku': string;
20
- /**
21
- * The marketplaceId.
22
- */
23
- 'marketplaceId': string;
24
- /**
25
- * The quantity of item to add.
26
- */
27
- 'quantity': number;
28
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { InventoryDetails } from './inventory-details';
13
- /**
14
- * Inventory summary for a specific item.
15
- */
16
- export interface InventorySummary {
17
- /**
18
- * The Amazon Standard Identification Number (ASIN) of an item.
19
- */
20
- 'asin'?: string;
21
- /**
22
- * Amazon\'s fulfillment network SKU identifier.
23
- */
24
- 'fnSku'?: string;
25
- /**
26
- * The seller SKU of the item.
27
- */
28
- 'sellerSku'?: string;
29
- /**
30
- * The condition of the item as described by the seller (for example, New Item).
31
- */
32
- 'condition'?: string;
33
- 'inventoryDetails'?: InventoryDetails;
34
- /**
35
- * The date and time that any quantity was last updated.
36
- */
37
- 'lastUpdatedTime'?: string;
38
- /**
39
- * The localized language product title of the item within the specific marketplace.
40
- */
41
- 'productName'?: string;
42
- /**
43
- * The total number of units in an inbound shipment or in Amazon fulfillment centers.
44
- */
45
- 'totalQuantity'?: number;
46
- /**
47
- * A list of seller-enrolled stores that apply to this seller SKU.
48
- */
49
- 'stores'?: Array<string>;
50
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * An error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition in a human-readable form.
22
- */
23
- 'message'?: string;
24
- /**
25
- * Additional information that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It\'s a form of traffic management.
14
- */
15
- export interface Pagination {
16
- /**
17
- * A generated string used to retrieve the next page of the result. If nextToken is returned, pass the value of nextToken to the next request. If nextToken is not returned, there are no more items to return.
18
- */
19
- 'nextToken'?: string;
20
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The misplaced or warehouse damaged inventory that is actively being confirmed at our fulfillment centers.
14
- */
15
- export interface ResearchingQuantityEntry {
16
- /**
17
- * The duration of the research.
18
- */
19
- 'name': ResearchingQuantityEntryNameEnum;
20
- /**
21
- * The number of units.
22
- */
23
- 'quantity': number;
24
- }
25
- export declare const ResearchingQuantityEntryNameEnum: {
26
- readonly ResearchingQuantityInShortTerm: "researchingQuantityInShortTerm";
27
- readonly ResearchingQuantityInMidTerm: "researchingQuantityInMidTerm";
28
- readonly ResearchingQuantityInLongTerm: "researchingQuantityInLongTerm";
29
- };
30
- export type ResearchingQuantityEntryNameEnum = typeof ResearchingQuantityEntryNameEnum[keyof typeof ResearchingQuantityEntryNameEnum];
@@ -1,25 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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 { ResearchingQuantityEntry } from './researching-quantity-entry';
13
- /**
14
- * The number of misplaced or warehouse damaged units that are actively being confirmed at our fulfillment centers.
15
- */
16
- export interface ResearchingQuantity {
17
- /**
18
- * The total number of units currently being researched in Amazon\'s fulfillment network.
19
- */
20
- 'totalResearchingQuantity'?: number;
21
- /**
22
- * A list of quantity details for items currently being researched.
23
- */
24
- 'researchingQuantityBreakdown'?: Array<ResearchingQuantityEntry>;
25
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The quantity of reserved inventory.
14
- */
15
- export interface ReservedQuantity {
16
- /**
17
- * The total number of units in Amazon\'s fulfillment network that are currently being picked, packed, and shipped; or are sidelined for measurement, sampling, or other internal processes.
18
- */
19
- 'totalReservedQuantity'?: number;
20
- /**
21
- * The number of units reserved for customer orders.
22
- */
23
- 'pendingCustomerOrderQuantity'?: number;
24
- /**
25
- * The number of units being transferred from one fulfillment center to another.
26
- */
27
- 'pendingTransshipmentQuantity'?: number;
28
- /**
29
- * The number of units that have been sidelined at the fulfillment center for additional processing.
30
- */
31
- 'fcProcessingQuantity'?: number;
32
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Selling Partner API for FBA Inventory
3
- * The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon\'s fulfillment network.
4
- *
5
- * The version of the OpenAPI document: v1
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
- * The quantity of unfulfillable inventory.
14
- */
15
- export interface UnfulfillableQuantity {
16
- /**
17
- * The total number of units in Amazon\'s fulfillment network in unsellable condition.
18
- */
19
- 'totalUnfulfillableQuantity'?: number;
20
- /**
21
- * The number of units in customer damaged disposition.
22
- */
23
- 'customerDamagedQuantity'?: number;
24
- /**
25
- * The number of units in warehouse damaged disposition.
26
- */
27
- 'warehouseDamagedQuantity'?: number;
28
- /**
29
- * The number of units in distributor damaged disposition.
30
- */
31
- 'distributorDamagedQuantity'?: number;
32
- /**
33
- * The number of units in carrier damaged disposition.
34
- */
35
- 'carrierDamagedQuantity'?: number;
36
- /**
37
- * The number of units in defective disposition.
38
- */
39
- 'defectiveQuantity'?: number;
40
- /**
41
- * The number of units in expired disposition.
42
- */
43
- 'expiredQuantity'?: number;
44
- }
@@ -1,6 +0,0 @@
1
- import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { FbaInventoryApi } from './api-model';
3
- export declare const clientRateLimits: RateLimit[];
4
- export declare class FbaInventoryApiClient extends FbaInventoryApi {
5
- constructor(configuration: ClientConfiguration);
6
- }