@sp-api-sdk/fba-inventory-api-v1 1.12.5 → 1.12.8

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.
@@ -17,7 +17,7 @@ import { GetInventorySummariesResponse } from '../models';
17
17
  * FbaInventoryApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
20
+ export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
23
23
  * @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
@@ -30,13 +30,13 @@ export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configur
30
30
  * @param {*} [options] Override http request option.
31
31
  * @throws {RequiredError}
32
32
  */
33
- getInventorySummaries: (granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean | undefined, startDateTime?: string | undefined, sellerSkus?: string[] | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ getInventorySummaries: (granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
34
  };
35
35
  /**
36
36
  * FbaInventoryApi - functional programming interface
37
37
  * @export
38
38
  */
39
- export declare const FbaInventoryApiFp: (configuration?: Configuration | undefined) => {
39
+ export declare const FbaInventoryApiFp: (configuration?: Configuration) => {
40
40
  /**
41
41
  * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
42
42
  * @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
@@ -49,13 +49,13 @@ export declare const FbaInventoryApiFp: (configuration?: Configuration | undefin
49
49
  * @param {*} [options] Override http request option.
50
50
  * @throws {RequiredError}
51
51
  */
52
- getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean | undefined, startDateTime?: string | undefined, sellerSkus?: string[] | undefined, nextToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetInventorySummariesResponse>>;
52
+ getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInventorySummariesResponse>>;
53
53
  };
54
54
  /**
55
55
  * FbaInventoryApi - factory interface
56
56
  * @export
57
57
  */
58
- export declare const FbaInventoryApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
58
+ export declare const FbaInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
59
59
  /**
60
60
  * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
61
61
  * @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
@@ -68,7 +68,7 @@ export declare const FbaInventoryApiFactory: (configuration?: Configuration | un
68
68
  * @param {*} [options] Override http request option.
69
69
  * @throws {RequiredError}
70
70
  */
71
- getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean | undefined, startDateTime?: string | undefined, sellerSkus?: string[] | undefined, nextToken?: string | undefined, options?: any): AxiosPromise<GetInventorySummariesResponse>;
71
+ getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: any): AxiosPromise<GetInventorySummariesResponse>;
72
72
  };
73
73
  /**
74
74
  * Request parameters for getInventorySummaries operation in FbaInventoryApi.
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
27
27
  *
28
28
  * @export
29
29
  */
30
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
31
31
  /**
32
32
  *
33
33
  * @export
34
34
  */
35
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
36
36
  /**
37
37
  *
38
38
  * @export
39
39
  */
40
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
41
41
  /**
42
42
  *
43
43
  * @export
44
44
  */
45
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
46
46
  /**
47
47
  *
48
48
  * @export
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
52
52
  *
53
53
  * @export
54
54
  */
55
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
56
56
  /**
57
57
  *
58
58
  * @export
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/package.json CHANGED
@@ -2,11 +2,10 @@
2
2
  "name": "@sp-api-sdk/fba-inventory-api-v1",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.",
5
- "version": "1.12.5",
5
+ "version": "1.12.8",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
9
- "typedocMain": "./index.ts",
10
9
  "license": "MIT",
11
10
  "publishConfig": {
12
11
  "access": "public"
@@ -27,8 +26,8 @@
27
26
  "test": "jest"
28
27
  },
29
28
  "dependencies": {
30
- "@sp-api-sdk/auth": "^1.9.17",
31
- "@sp-api-sdk/common": "^1.9.3",
29
+ "@sp-api-sdk/auth": "^1.9.20",
30
+ "@sp-api-sdk/common": "^1.9.6",
32
31
  "axios": "^0.27.2"
33
32
  },
34
33
  "repository": {
@@ -50,5 +49,8 @@
50
49
  "sp sdk",
51
50
  "fba inventory api"
52
51
  ],
53
- "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
52
+ "typedoc": {
53
+ "entryPoint": "./index.ts"
54
+ },
55
+ "gitHead": "c28c9ce8bfa10271bba79c0067c5c9f63a5f6dc0"
54
56
  }