@sp-api-sdk/vendor-direct-fulfillment-inventory-api-v1 1.6.16

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 (57) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -0
  3. package/dist/cjs/index.js +6 -0
  4. package/dist/cjs/src/api-model/api/update-inventory-api.js +125 -0
  5. package/dist/cjs/src/api-model/api.js +17 -0
  6. package/dist/cjs/src/api-model/base.js +62 -0
  7. package/dist/cjs/src/api-model/common.js +137 -0
  8. package/dist/cjs/src/api-model/configuration.js +42 -0
  9. package/dist/cjs/src/api-model/index.js +19 -0
  10. package/dist/cjs/src/api-model/models/index.js +11 -0
  11. package/dist/cjs/src/api-model/models/inventory-update.js +15 -0
  12. package/dist/cjs/src/api-model/models/item-details.js +15 -0
  13. package/dist/cjs/src/api-model/models/item-quantity.js +15 -0
  14. package/dist/cjs/src/api-model/models/model-error.js +15 -0
  15. package/dist/cjs/src/api-model/models/party-identification.js +15 -0
  16. package/dist/cjs/src/api-model/models/submit-inventory-update-request.js +15 -0
  17. package/dist/cjs/src/api-model/models/submit-inventory-update-response.js +15 -0
  18. package/dist/cjs/src/api-model/models/transaction-reference.js +15 -0
  19. package/dist/cjs/src/client.js +35 -0
  20. package/dist/cjs/src/error.js +10 -0
  21. package/dist/es/index.js +3 -0
  22. package/dist/es/src/api-model/api/update-inventory-api.js +117 -0
  23. package/dist/es/src/api-model/api.js +14 -0
  24. package/dist/es/src/api-model/base.js +56 -0
  25. package/dist/es/src/api-model/common.js +125 -0
  26. package/dist/es/src/api-model/configuration.js +38 -0
  27. package/dist/es/src/api-model/index.js +16 -0
  28. package/dist/es/src/api-model/models/index.js +8 -0
  29. package/dist/es/src/api-model/models/inventory-update.js +14 -0
  30. package/dist/es/src/api-model/models/item-details.js +14 -0
  31. package/dist/es/src/api-model/models/item-quantity.js +14 -0
  32. package/dist/es/src/api-model/models/model-error.js +14 -0
  33. package/dist/es/src/api-model/models/party-identification.js +14 -0
  34. package/dist/es/src/api-model/models/submit-inventory-update-request.js +14 -0
  35. package/dist/es/src/api-model/models/submit-inventory-update-response.js +14 -0
  36. package/dist/es/src/api-model/models/transaction-reference.js +14 -0
  37. package/dist/es/src/client.js +31 -0
  38. package/dist/es/src/error.js +6 -0
  39. package/dist/types/index.d.ts +3 -0
  40. package/dist/types/src/api-model/api/update-inventory-api.d.ts +93 -0
  41. package/dist/types/src/api-model/api.d.ts +12 -0
  42. package/dist/types/src/api-model/base.d.ts +55 -0
  43. package/dist/types/src/api-model/common.d.ts +65 -0
  44. package/dist/types/src/api-model/configuration.d.ts +83 -0
  45. package/dist/types/src/api-model/index.d.ts +14 -0
  46. package/dist/types/src/api-model/models/index.d.ts +8 -0
  47. package/dist/types/src/api-model/models/inventory-update.d.ts +38 -0
  48. package/dist/types/src/api-model/models/item-details.d.ts +43 -0
  49. package/dist/types/src/api-model/models/item-quantity.d.ts +30 -0
  50. package/dist/types/src/api-model/models/model-error.d.ts +36 -0
  51. package/dist/types/src/api-model/models/party-identification.d.ts +24 -0
  52. package/dist/types/src/api-model/models/submit-inventory-update-request.d.ts +25 -0
  53. package/dist/types/src/api-model/models/submit-inventory-update-response.d.ts +31 -0
  54. package/dist/types/src/api-model/models/transaction-reference.d.ts +24 -0
  55. package/dist/types/src/client.d.ts +13 -0
  56. package/dist/types/src/error.d.ts +3 -0
  57. package/package.json +53 -0
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 class Configuration {
15
+ constructor(param = {}) {
16
+ this.apiKey = param.apiKey;
17
+ this.username = param.username;
18
+ this.password = param.password;
19
+ this.accessToken = param.accessToken;
20
+ this.basePath = param.basePath;
21
+ this.baseOptions = param.baseOptions;
22
+ this.formDataCtor = param.formDataCtor;
23
+ }
24
+ /**
25
+ * Check if the given MIME is a JSON MIME.
26
+ * JSON MIME examples:
27
+ * application/json
28
+ * application/json; charset=UTF8
29
+ * APPLICATION/JSON
30
+ * application/vnd.company+json
31
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
32
+ * @return True if the given MIME is JSON, false otherwise.
33
+ */
34
+ isJsonMime(mime) {
35
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
36
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
37
+ }
38
+ }
@@ -0,0 +1,16 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 * from "./api";
15
+ export * from "./configuration";
16
+ export * from "./models";
@@ -0,0 +1,8 @@
1
+ export * from './inventory-update';
2
+ export * from './item-details';
3
+ export * from './item-quantity';
4
+ export * from './model-error';
5
+ export * from './party-identification';
6
+ export * from './submit-inventory-update-request';
7
+ export * from './submit-inventory-update-response';
8
+ export * from './transaction-reference';
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Selling Partner API for Direct Fulfillment Inventory Updates
5
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
6
+ *
7
+ * The version of the OpenAPI document: v1
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 {};
@@ -0,0 +1,31 @@
1
+ /* eslint-disable prefer-regex-literals */
2
+ import { endpoints, awsRegionByCode, createAxiosInstance } from '@sp-api-sdk/common';
3
+ import { Configuration, UpdateInventoryApi } from './api-model';
4
+ import { VendorDirectFulfillmentInventoryApiError } from './error';
5
+ export const RATE_LIMITS = [
6
+ {
7
+ method: 'post',
8
+ urlRegex: new RegExp('^/vendor/directFulfillment/inventory/v1/warehouses/[^/]*/items$'),
9
+ rate: 10,
10
+ burst: 10,
11
+ },
12
+ ];
13
+ export class VendorDirectFulfillmentInventoryApiClient extends UpdateInventoryApi {
14
+ constructor(parameters) {
15
+ const region = awsRegionByCode[parameters.region] ?? parameters.region;
16
+ const { rateLimiting, ...clientParameters } = parameters;
17
+ const axiosParameters = { ...clientParameters, region };
18
+ if (rateLimiting?.retry) {
19
+ axiosParameters.rateLimits = RATE_LIMITS;
20
+ axiosParameters.onRetry = rateLimiting.onRetry;
21
+ }
22
+ const axiosInstance = createAxiosInstance(axiosParameters);
23
+ const configuration = new Configuration();
24
+ const environment = parameters.sandbox ? 'sandbox' : 'production';
25
+ const endpoint = endpoints[environment][region];
26
+ if (!endpoint) {
27
+ throw new VendorDirectFulfillmentInventoryApiError(`Unknown region : ${region}`);
28
+ }
29
+ super(configuration, endpoint, axiosInstance);
30
+ }
31
+ }
@@ -0,0 +1,6 @@
1
+ export class VendorDirectFulfillmentInventoryApiError extends Error {
2
+ constructor(message) {
3
+ super(message);
4
+ this.name = 'VendorDirectFulfillmentInventoryApiError';
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './src/client';
2
+ export * from './src/error';
3
+ export * from './src/api-model/models';
@@ -0,0 +1,93 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Inventory Updates
3
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
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 { AxiosPromise, AxiosInstance } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { SubmitInventoryUpdateRequest } from '../models';
16
+ import { SubmitInventoryUpdateResponse } from '../models';
17
+ /**
18
+ * UpdateInventoryApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const UpdateInventoryApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
22
+ /**
23
+ * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
24
+ * @param {string} warehouseId Identifier for the warehouse for which to update inventory.
25
+ * @param {SubmitInventoryUpdateRequest} body
26
+ * @param {*} [options] Override http request option.
27
+ * @throws {RequiredError}
28
+ */
29
+ submitInventoryUpdate: (warehouseId: string, body: SubmitInventoryUpdateRequest, options?: any) => Promise<RequestArgs>;
30
+ };
31
+ /**
32
+ * UpdateInventoryApi - functional programming interface
33
+ * @export
34
+ */
35
+ export declare const UpdateInventoryApiFp: (configuration?: Configuration | undefined) => {
36
+ /**
37
+ * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
38
+ * @param {string} warehouseId Identifier for the warehouse for which to update inventory.
39
+ * @param {SubmitInventoryUpdateRequest} body
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ submitInventoryUpdate(warehouseId: string, body: SubmitInventoryUpdateRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SubmitInventoryUpdateResponse>>;
44
+ };
45
+ /**
46
+ * UpdateInventoryApi - factory interface
47
+ * @export
48
+ */
49
+ export declare const UpdateInventoryApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
50
+ /**
51
+ * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
52
+ * @param {string} warehouseId Identifier for the warehouse for which to update inventory.
53
+ * @param {SubmitInventoryUpdateRequest} body
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ */
57
+ submitInventoryUpdate(warehouseId: string, body: SubmitInventoryUpdateRequest, options?: any): AxiosPromise<SubmitInventoryUpdateResponse>;
58
+ };
59
+ /**
60
+ * Request parameters for submitInventoryUpdate operation in UpdateInventoryApi.
61
+ * @export
62
+ * @interface UpdateInventoryApiSubmitInventoryUpdateRequest
63
+ */
64
+ export interface UpdateInventoryApiSubmitInventoryUpdateRequest {
65
+ /**
66
+ * Identifier for the warehouse for which to update inventory.
67
+ * @type {string}
68
+ * @memberof UpdateInventoryApiSubmitInventoryUpdate
69
+ */
70
+ readonly warehouseId: string;
71
+ /**
72
+ *
73
+ * @type {SubmitInventoryUpdateRequest}
74
+ * @memberof UpdateInventoryApiSubmitInventoryUpdate
75
+ */
76
+ readonly body: SubmitInventoryUpdateRequest;
77
+ }
78
+ /**
79
+ * UpdateInventoryApi - object-oriented interface
80
+ * @export
81
+ * @class UpdateInventoryApi
82
+ * @extends {BaseAPI}
83
+ */
84
+ export declare class UpdateInventoryApi extends BaseAPI {
85
+ /**
86
+ * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
87
+ * @param {UpdateInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ * @memberof UpdateInventoryApi
91
+ */
92
+ submitInventoryUpdate(requestParameters: UpdateInventoryApiSubmitInventoryUpdateRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInventoryUpdateResponse>>;
93
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Inventory Updates
3
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
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/update-inventory-api';
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Inventory Updates
3
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
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 { Configuration } from "./configuration";
13
+ import { AxiosInstance } from 'axios';
14
+ export declare const BASE_PATH: string;
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const COLLECTION_FORMATS: {
20
+ csv: string;
21
+ ssv: string;
22
+ tsv: string;
23
+ pipes: string;
24
+ };
25
+ /**
26
+ *
27
+ * @export
28
+ * @interface RequestArgs
29
+ */
30
+ export interface RequestArgs {
31
+ url: string;
32
+ options: any;
33
+ }
34
+ /**
35
+ *
36
+ * @export
37
+ * @class BaseAPI
38
+ */
39
+ export declare class BaseAPI {
40
+ protected basePath: string;
41
+ protected axios: AxiosInstance;
42
+ protected configuration: Configuration | undefined;
43
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
44
+ }
45
+ /**
46
+ *
47
+ * @export
48
+ * @class RequiredError
49
+ * @extends {Error}
50
+ */
51
+ export declare class RequiredError extends Error {
52
+ field: string;
53
+ name: "RequiredError";
54
+ constructor(field: string, msg?: string);
55
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Selling Partner API for Direct Fulfillment Inventory Updates
3
+ * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
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 { Configuration } from "./configuration";
13
+ import { RequestArgs } from "./base";
14
+ import { AxiosInstance } from 'axios';
15
+ /**
16
+ *
17
+ * @export
18
+ */
19
+ export declare const DUMMY_BASE_URL = "https://example.com";
20
+ /**
21
+ *
22
+ * @throws {RequiredError}
23
+ * @export
24
+ */
25
+ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
26
+ /**
27
+ *
28
+ * @export
29
+ */
30
+ export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration | undefined) => Promise<void>;
31
+ /**
32
+ *
33
+ * @export
34
+ */
35
+ export declare const setBasicAuthToObject: (object: any, configuration?: Configuration | undefined) => void;
36
+ /**
37
+ *
38
+ * @export
39
+ */
40
+ export declare const setBearerAuthToObject: (object: any, configuration?: Configuration | undefined) => Promise<void>;
41
+ /**
42
+ *
43
+ * @export
44
+ */
45
+ export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration | undefined) => Promise<void>;
46
+ /**
47
+ *
48
+ * @export
49
+ */
50
+ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
51
+ /**
52
+ *
53
+ * @export
54
+ */
55
+ export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration | undefined) => any;
56
+ /**
57
+ *
58
+ * @export
59
+ */
60
+ export declare const toPathString: (url: URL) => string;
61
+ /**
62
+ *
63
+ * @export
64
+ */
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;