flexinet-api 0.0.576-prerelease0 → 0.0.577-prerelease0
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.
- package/README.md +2 -2
- package/api.ts +88 -0
- package/dist/api.d.ts +41 -0
- package/dist/api.js +80 -0
- package/dist/esm/api.d.ts +41 -0
- package/dist/esm/api.js +80 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## flexinet-api@0.0.
|
|
1
|
+
## flexinet-api@0.0.577-prerelease0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install flexinet-api@0.0.
|
|
39
|
+
npm install flexinet-api@0.0.577-prerelease0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -9502,6 +9502,55 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9502
9502
|
|
|
9503
9503
|
|
|
9504
9504
|
|
|
9505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9507
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9508
|
+
|
|
9509
|
+
return {
|
|
9510
|
+
url: toPathString(localVarUrlObj),
|
|
9511
|
+
options: localVarRequestOptions,
|
|
9512
|
+
};
|
|
9513
|
+
},
|
|
9514
|
+
/**
|
|
9515
|
+
* List all users
|
|
9516
|
+
* @summary List users
|
|
9517
|
+
* @param {string} [nextToken] This is the pagination token
|
|
9518
|
+
* @param {string} [search] search string
|
|
9519
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
9520
|
+
* @param {*} [options] Override http request option.
|
|
9521
|
+
* @throws {RequiredError}
|
|
9522
|
+
*/
|
|
9523
|
+
listCustomerUsers: async (nextToken?: string, search?: string, userIDs?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9524
|
+
const localVarPath = `/users`;
|
|
9525
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9526
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9527
|
+
let baseOptions;
|
|
9528
|
+
if (configuration) {
|
|
9529
|
+
baseOptions = configuration.baseOptions;
|
|
9530
|
+
}
|
|
9531
|
+
|
|
9532
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9533
|
+
const localVarHeaderParameter = {} as any;
|
|
9534
|
+
const localVarQueryParameter = {} as any;
|
|
9535
|
+
|
|
9536
|
+
// authentication customerJWT required
|
|
9537
|
+
// http bearer authentication required
|
|
9538
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9539
|
+
|
|
9540
|
+
if (nextToken !== undefined) {
|
|
9541
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
9542
|
+
}
|
|
9543
|
+
|
|
9544
|
+
if (search !== undefined) {
|
|
9545
|
+
localVarQueryParameter['search'] = search;
|
|
9546
|
+
}
|
|
9547
|
+
|
|
9548
|
+
if (userIDs) {
|
|
9549
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
9550
|
+
}
|
|
9551
|
+
|
|
9552
|
+
|
|
9553
|
+
|
|
9505
9554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9506
9555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9507
9556
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9653,6 +9702,19 @@ export const UserApiFp = function(configuration?: Configuration) {
|
|
|
9653
9702
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserSubordinates(id, options);
|
|
9654
9703
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9655
9704
|
},
|
|
9705
|
+
/**
|
|
9706
|
+
* List all users
|
|
9707
|
+
* @summary List users
|
|
9708
|
+
* @param {string} [nextToken] This is the pagination token
|
|
9709
|
+
* @param {string} [search] search string
|
|
9710
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
9711
|
+
* @param {*} [options] Override http request option.
|
|
9712
|
+
* @throws {RequiredError}
|
|
9713
|
+
*/
|
|
9714
|
+
async listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>> {
|
|
9715
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
|
|
9716
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9717
|
+
},
|
|
9656
9718
|
/**
|
|
9657
9719
|
* List all users
|
|
9658
9720
|
* @summary List users
|
|
@@ -9719,6 +9781,18 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9719
9781
|
getUserSubordinates(id: string, options?: any): AxiosPromise<Array<User>> {
|
|
9720
9782
|
return localVarFp.getUserSubordinates(id, options).then((request) => request(axios, basePath));
|
|
9721
9783
|
},
|
|
9784
|
+
/**
|
|
9785
|
+
* List all users
|
|
9786
|
+
* @summary List users
|
|
9787
|
+
* @param {string} [nextToken] This is the pagination token
|
|
9788
|
+
* @param {string} [search] search string
|
|
9789
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
9790
|
+
* @param {*} [options] Override http request option.
|
|
9791
|
+
* @throws {RequiredError}
|
|
9792
|
+
*/
|
|
9793
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserListResponse> {
|
|
9794
|
+
return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
|
|
9795
|
+
},
|
|
9722
9796
|
/**
|
|
9723
9797
|
* List all users
|
|
9724
9798
|
* @summary List users
|
|
@@ -9789,6 +9863,20 @@ export class UserApi extends BaseAPI {
|
|
|
9789
9863
|
return UserApiFp(this.configuration).getUserSubordinates(id, options).then((request) => request(this.axios, this.basePath));
|
|
9790
9864
|
}
|
|
9791
9865
|
|
|
9866
|
+
/**
|
|
9867
|
+
* List all users
|
|
9868
|
+
* @summary List users
|
|
9869
|
+
* @param {string} [nextToken] This is the pagination token
|
|
9870
|
+
* @param {string} [search] search string
|
|
9871
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
9872
|
+
* @param {*} [options] Override http request option.
|
|
9873
|
+
* @throws {RequiredError}
|
|
9874
|
+
* @memberof UserApi
|
|
9875
|
+
*/
|
|
9876
|
+
public listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) {
|
|
9877
|
+
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
9878
|
+
}
|
|
9879
|
+
|
|
9792
9880
|
/**
|
|
9793
9881
|
* List all users
|
|
9794
9882
|
* @summary List users
|
package/dist/api.d.ts
CHANGED
|
@@ -6169,6 +6169,16 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6169
6169
|
* @throws {RequiredError}
|
|
6170
6170
|
*/
|
|
6171
6171
|
getUserSubordinates: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6172
|
+
/**
|
|
6173
|
+
* List all users
|
|
6174
|
+
* @summary List users
|
|
6175
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6176
|
+
* @param {string} [search] search string
|
|
6177
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6178
|
+
* @param {*} [options] Override http request option.
|
|
6179
|
+
* @throws {RequiredError}
|
|
6180
|
+
*/
|
|
6181
|
+
listCustomerUsers: (nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6172
6182
|
/**
|
|
6173
6183
|
* List all users
|
|
6174
6184
|
* @summary List users
|
|
@@ -6219,6 +6229,16 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
6219
6229
|
* @throws {RequiredError}
|
|
6220
6230
|
*/
|
|
6221
6231
|
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<User>>>;
|
|
6232
|
+
/**
|
|
6233
|
+
* List all users
|
|
6234
|
+
* @summary List users
|
|
6235
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6236
|
+
* @param {string} [search] search string
|
|
6237
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6238
|
+
* @param {*} [options] Override http request option.
|
|
6239
|
+
* @throws {RequiredError}
|
|
6240
|
+
*/
|
|
6241
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>>;
|
|
6222
6242
|
/**
|
|
6223
6243
|
* List all users
|
|
6224
6244
|
* @summary List users
|
|
@@ -6269,6 +6289,16 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6269
6289
|
* @throws {RequiredError}
|
|
6270
6290
|
*/
|
|
6271
6291
|
getUserSubordinates(id: string, options?: any): AxiosPromise<Array<User>>;
|
|
6292
|
+
/**
|
|
6293
|
+
* List all users
|
|
6294
|
+
* @summary List users
|
|
6295
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6296
|
+
* @param {string} [search] search string
|
|
6297
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6298
|
+
* @param {*} [options] Override http request option.
|
|
6299
|
+
* @throws {RequiredError}
|
|
6300
|
+
*/
|
|
6301
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserListResponse>;
|
|
6272
6302
|
/**
|
|
6273
6303
|
* List all users
|
|
6274
6304
|
* @summary List users
|
|
@@ -6324,6 +6354,17 @@ export declare class UserApi extends BaseAPI {
|
|
|
6324
6354
|
* @memberof UserApi
|
|
6325
6355
|
*/
|
|
6326
6356
|
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<User[], any>>;
|
|
6357
|
+
/**
|
|
6358
|
+
* List all users
|
|
6359
|
+
* @summary List users
|
|
6360
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6361
|
+
* @param {string} [search] search string
|
|
6362
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6363
|
+
* @param {*} [options] Override http request option.
|
|
6364
|
+
* @throws {RequiredError}
|
|
6365
|
+
* @memberof UserApi
|
|
6366
|
+
*/
|
|
6367
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserListResponse, any>>;
|
|
6327
6368
|
/**
|
|
6328
6369
|
* List all users
|
|
6329
6370
|
* @summary List users
|
package/dist/api.js
CHANGED
|
@@ -5929,6 +5929,46 @@ const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5929
5929
|
options: localVarRequestOptions,
|
|
5930
5930
|
};
|
|
5931
5931
|
}),
|
|
5932
|
+
/**
|
|
5933
|
+
* List all users
|
|
5934
|
+
* @summary List users
|
|
5935
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5936
|
+
* @param {string} [search] search string
|
|
5937
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5938
|
+
* @param {*} [options] Override http request option.
|
|
5939
|
+
* @throws {RequiredError}
|
|
5940
|
+
*/
|
|
5941
|
+
listCustomerUsers: (nextToken, search, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5942
|
+
const localVarPath = `/users`;
|
|
5943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5944
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5945
|
+
let baseOptions;
|
|
5946
|
+
if (configuration) {
|
|
5947
|
+
baseOptions = configuration.baseOptions;
|
|
5948
|
+
}
|
|
5949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5950
|
+
const localVarHeaderParameter = {};
|
|
5951
|
+
const localVarQueryParameter = {};
|
|
5952
|
+
// authentication customerJWT required
|
|
5953
|
+
// http bearer authentication required
|
|
5954
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
5955
|
+
if (nextToken !== undefined) {
|
|
5956
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
5957
|
+
}
|
|
5958
|
+
if (search !== undefined) {
|
|
5959
|
+
localVarQueryParameter['search'] = search;
|
|
5960
|
+
}
|
|
5961
|
+
if (userIDs) {
|
|
5962
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5963
|
+
}
|
|
5964
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5965
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5966
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5967
|
+
return {
|
|
5968
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5969
|
+
options: localVarRequestOptions,
|
|
5970
|
+
};
|
|
5971
|
+
}),
|
|
5932
5972
|
/**
|
|
5933
5973
|
* List all users
|
|
5934
5974
|
* @summary List users
|
|
@@ -6059,6 +6099,21 @@ const UserApiFp = function (configuration) {
|
|
|
6059
6099
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6060
6100
|
});
|
|
6061
6101
|
},
|
|
6102
|
+
/**
|
|
6103
|
+
* List all users
|
|
6104
|
+
* @summary List users
|
|
6105
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6106
|
+
* @param {string} [search] search string
|
|
6107
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6108
|
+
* @param {*} [options] Override http request option.
|
|
6109
|
+
* @throws {RequiredError}
|
|
6110
|
+
*/
|
|
6111
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6113
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
|
|
6114
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6115
|
+
});
|
|
6116
|
+
},
|
|
6062
6117
|
/**
|
|
6063
6118
|
* List all users
|
|
6064
6119
|
* @summary List users
|
|
@@ -6129,6 +6184,18 @@ const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
6129
6184
|
getUserSubordinates(id, options) {
|
|
6130
6185
|
return localVarFp.getUserSubordinates(id, options).then((request) => request(axios, basePath));
|
|
6131
6186
|
},
|
|
6187
|
+
/**
|
|
6188
|
+
* List all users
|
|
6189
|
+
* @summary List users
|
|
6190
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6191
|
+
* @param {string} [search] search string
|
|
6192
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6193
|
+
* @param {*} [options] Override http request option.
|
|
6194
|
+
* @throws {RequiredError}
|
|
6195
|
+
*/
|
|
6196
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6197
|
+
return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
|
|
6198
|
+
},
|
|
6132
6199
|
/**
|
|
6133
6200
|
* List all users
|
|
6134
6201
|
* @summary List users
|
|
@@ -6196,6 +6263,19 @@ class UserApi extends base_1.BaseAPI {
|
|
|
6196
6263
|
getUserSubordinates(id, options) {
|
|
6197
6264
|
return (0, exports.UserApiFp)(this.configuration).getUserSubordinates(id, options).then((request) => request(this.axios, this.basePath));
|
|
6198
6265
|
}
|
|
6266
|
+
/**
|
|
6267
|
+
* List all users
|
|
6268
|
+
* @summary List users
|
|
6269
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6270
|
+
* @param {string} [search] search string
|
|
6271
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6272
|
+
* @param {*} [options] Override http request option.
|
|
6273
|
+
* @throws {RequiredError}
|
|
6274
|
+
* @memberof UserApi
|
|
6275
|
+
*/
|
|
6276
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6277
|
+
return (0, exports.UserApiFp)(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
6278
|
+
}
|
|
6199
6279
|
/**
|
|
6200
6280
|
* List all users
|
|
6201
6281
|
* @summary List users
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -6169,6 +6169,16 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6169
6169
|
* @throws {RequiredError}
|
|
6170
6170
|
*/
|
|
6171
6171
|
getUserSubordinates: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6172
|
+
/**
|
|
6173
|
+
* List all users
|
|
6174
|
+
* @summary List users
|
|
6175
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6176
|
+
* @param {string} [search] search string
|
|
6177
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6178
|
+
* @param {*} [options] Override http request option.
|
|
6179
|
+
* @throws {RequiredError}
|
|
6180
|
+
*/
|
|
6181
|
+
listCustomerUsers: (nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6172
6182
|
/**
|
|
6173
6183
|
* List all users
|
|
6174
6184
|
* @summary List users
|
|
@@ -6219,6 +6229,16 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
6219
6229
|
* @throws {RequiredError}
|
|
6220
6230
|
*/
|
|
6221
6231
|
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<User>>>;
|
|
6232
|
+
/**
|
|
6233
|
+
* List all users
|
|
6234
|
+
* @summary List users
|
|
6235
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6236
|
+
* @param {string} [search] search string
|
|
6237
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6238
|
+
* @param {*} [options] Override http request option.
|
|
6239
|
+
* @throws {RequiredError}
|
|
6240
|
+
*/
|
|
6241
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserListResponse>>;
|
|
6222
6242
|
/**
|
|
6223
6243
|
* List all users
|
|
6224
6244
|
* @summary List users
|
|
@@ -6269,6 +6289,16 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6269
6289
|
* @throws {RequiredError}
|
|
6270
6290
|
*/
|
|
6271
6291
|
getUserSubordinates(id: string, options?: any): AxiosPromise<Array<User>>;
|
|
6292
|
+
/**
|
|
6293
|
+
* List all users
|
|
6294
|
+
* @summary List users
|
|
6295
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6296
|
+
* @param {string} [search] search string
|
|
6297
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6298
|
+
* @param {*} [options] Override http request option.
|
|
6299
|
+
* @throws {RequiredError}
|
|
6300
|
+
*/
|
|
6301
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: any): AxiosPromise<UserListResponse>;
|
|
6272
6302
|
/**
|
|
6273
6303
|
* List all users
|
|
6274
6304
|
* @summary List users
|
|
@@ -6324,6 +6354,17 @@ export declare class UserApi extends BaseAPI {
|
|
|
6324
6354
|
* @memberof UserApi
|
|
6325
6355
|
*/
|
|
6326
6356
|
getUserSubordinates(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<User[], any>>;
|
|
6357
|
+
/**
|
|
6358
|
+
* List all users
|
|
6359
|
+
* @summary List users
|
|
6360
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6361
|
+
* @param {string} [search] search string
|
|
6362
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6363
|
+
* @param {*} [options] Override http request option.
|
|
6364
|
+
* @throws {RequiredError}
|
|
6365
|
+
* @memberof UserApi
|
|
6366
|
+
*/
|
|
6367
|
+
listCustomerUsers(nextToken?: string, search?: string, userIDs?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserListResponse, any>>;
|
|
6327
6368
|
/**
|
|
6328
6369
|
* List all users
|
|
6329
6370
|
* @summary List users
|
package/dist/esm/api.js
CHANGED
|
@@ -5860,6 +5860,46 @@ export const UserApiAxiosParamCreator = function (configuration) {
|
|
|
5860
5860
|
options: localVarRequestOptions,
|
|
5861
5861
|
};
|
|
5862
5862
|
}),
|
|
5863
|
+
/**
|
|
5864
|
+
* List all users
|
|
5865
|
+
* @summary List users
|
|
5866
|
+
* @param {string} [nextToken] This is the pagination token
|
|
5867
|
+
* @param {string} [search] search string
|
|
5868
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
5869
|
+
* @param {*} [options] Override http request option.
|
|
5870
|
+
* @throws {RequiredError}
|
|
5871
|
+
*/
|
|
5872
|
+
listCustomerUsers: (nextToken, search, userIDs, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5873
|
+
const localVarPath = `/users`;
|
|
5874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5876
|
+
let baseOptions;
|
|
5877
|
+
if (configuration) {
|
|
5878
|
+
baseOptions = configuration.baseOptions;
|
|
5879
|
+
}
|
|
5880
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5881
|
+
const localVarHeaderParameter = {};
|
|
5882
|
+
const localVarQueryParameter = {};
|
|
5883
|
+
// authentication customerJWT required
|
|
5884
|
+
// http bearer authentication required
|
|
5885
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5886
|
+
if (nextToken !== undefined) {
|
|
5887
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
5888
|
+
}
|
|
5889
|
+
if (search !== undefined) {
|
|
5890
|
+
localVarQueryParameter['search'] = search;
|
|
5891
|
+
}
|
|
5892
|
+
if (userIDs) {
|
|
5893
|
+
localVarQueryParameter['userIDs'] = userIDs;
|
|
5894
|
+
}
|
|
5895
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5897
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5898
|
+
return {
|
|
5899
|
+
url: toPathString(localVarUrlObj),
|
|
5900
|
+
options: localVarRequestOptions,
|
|
5901
|
+
};
|
|
5902
|
+
}),
|
|
5863
5903
|
/**
|
|
5864
5904
|
* List all users
|
|
5865
5905
|
* @summary List users
|
|
@@ -5989,6 +6029,21 @@ export const UserApiFp = function (configuration) {
|
|
|
5989
6029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5990
6030
|
});
|
|
5991
6031
|
},
|
|
6032
|
+
/**
|
|
6033
|
+
* List all users
|
|
6034
|
+
* @summary List users
|
|
6035
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6036
|
+
* @param {string} [search] search string
|
|
6037
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6038
|
+
* @param {*} [options] Override http request option.
|
|
6039
|
+
* @throws {RequiredError}
|
|
6040
|
+
*/
|
|
6041
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6042
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6043
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCustomerUsers(nextToken, search, userIDs, options);
|
|
6044
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6045
|
+
});
|
|
6046
|
+
},
|
|
5992
6047
|
/**
|
|
5993
6048
|
* List all users
|
|
5994
6049
|
* @summary List users
|
|
@@ -6058,6 +6113,18 @@ export const UserApiFactory = function (configuration, basePath, axios) {
|
|
|
6058
6113
|
getUserSubordinates(id, options) {
|
|
6059
6114
|
return localVarFp.getUserSubordinates(id, options).then((request) => request(axios, basePath));
|
|
6060
6115
|
},
|
|
6116
|
+
/**
|
|
6117
|
+
* List all users
|
|
6118
|
+
* @summary List users
|
|
6119
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6120
|
+
* @param {string} [search] search string
|
|
6121
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6122
|
+
* @param {*} [options] Override http request option.
|
|
6123
|
+
* @throws {RequiredError}
|
|
6124
|
+
*/
|
|
6125
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6126
|
+
return localVarFp.listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(axios, basePath));
|
|
6127
|
+
},
|
|
6061
6128
|
/**
|
|
6062
6129
|
* List all users
|
|
6063
6130
|
* @summary List users
|
|
@@ -6124,6 +6191,19 @@ export class UserApi extends BaseAPI {
|
|
|
6124
6191
|
getUserSubordinates(id, options) {
|
|
6125
6192
|
return UserApiFp(this.configuration).getUserSubordinates(id, options).then((request) => request(this.axios, this.basePath));
|
|
6126
6193
|
}
|
|
6194
|
+
/**
|
|
6195
|
+
* List all users
|
|
6196
|
+
* @summary List users
|
|
6197
|
+
* @param {string} [nextToken] This is the pagination token
|
|
6198
|
+
* @param {string} [search] search string
|
|
6199
|
+
* @param {Array<string>} [userIDs] user ids to filter by
|
|
6200
|
+
* @param {*} [options] Override http request option.
|
|
6201
|
+
* @throws {RequiredError}
|
|
6202
|
+
* @memberof UserApi
|
|
6203
|
+
*/
|
|
6204
|
+
listCustomerUsers(nextToken, search, userIDs, options) {
|
|
6205
|
+
return UserApiFp(this.configuration).listCustomerUsers(nextToken, search, userIDs, options).then((request) => request(this.axios, this.basePath));
|
|
6206
|
+
}
|
|
6127
6207
|
/**
|
|
6128
6208
|
* List all users
|
|
6129
6209
|
* @summary List users
|