@emilgroup/tenant-sdk-node 1.9.0 → 1.15.1-beta.2
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/.openapi-generator/FILES +1 -2
- package/README.md +2 -2
- package/api/custom-schema-api.ts +36 -22
- package/api/data-report-api.ts +50 -36
- package/api/delete-organization-invitations-api.ts +165 -0
- package/api/invite-users-api.ts +32 -18
- package/api/list-organization-invitations-api.ts +32 -18
- package/api/organizations-api.ts +28 -14
- package/api/roles-api.ts +22 -22
- package/api/settings-api.ts +4 -4
- package/api/users-api.ts +32 -18
- package/api.ts +2 -0
- package/dist/api/custom-schema-api.d.ts +28 -19
- package/dist/api/custom-schema-api.js +26 -20
- package/dist/api/data-report-api.d.ts +38 -29
- package/dist/api/data-report-api.js +35 -29
- package/dist/api/delete-organization-invitations-api.d.ts +96 -0
- package/dist/api/delete-organization-invitations-api.js +227 -0
- package/dist/api/invite-users-api.d.ts +24 -15
- package/dist/api/invite-users-api.js +22 -16
- package/dist/api/list-organization-invitations-api.d.ts +24 -15
- package/dist/api/list-organization-invitations-api.js +22 -16
- package/dist/api/organizations-api.d.ts +20 -11
- package/dist/api/organizations-api.js +18 -12
- package/dist/api/roles-api.d.ts +22 -22
- package/dist/api/roles-api.js +13 -13
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +4 -4
- package/dist/api/users-api.d.ts +24 -15
- package/dist/api/users-api.js +22 -16
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/batch-delete-request-dto.d.ts +2 -2
- package/dist/models/create-data-report-request-dto.d.ts +1 -1
- package/dist/models/create-role-request-dto.d.ts +2 -2
- package/dist/models/custom-field-dto.d.ts +43 -11
- package/dist/models/custom-field-dto.js +5 -2
- package/dist/models/data-report-class.d.ts +1 -1
- package/dist/models/disable-users-request-dto.d.ts +2 -2
- package/dist/models/enable-users-request-dto.d.ts +2 -2
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/invite-class.d.ts +7 -0
- package/dist/models/invite-org-request-dto.d.ts +1 -1
- package/dist/models/invite-users-request-dto.d.ts +6 -0
- package/dist/models/run-data-report-response-class.d.ts +2 -2
- package/dist/models/update-data-report-request-dto.d.ts +1 -1
- package/dist/models/update-role-request-dto.d.ts +2 -2
- package/dist/models/user-class.d.ts +7 -6
- package/models/batch-delete-request-dto.ts +2 -2
- package/models/create-data-report-request-dto.ts +1 -1
- package/models/create-role-request-dto.ts +2 -2
- package/models/custom-field-dto.ts +44 -12
- package/models/data-report-class.ts +1 -1
- package/models/disable-users-request-dto.ts +2 -2
- package/models/enable-users-request-dto.ts +2 -2
- package/models/index.ts +0 -2
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/invite-class.ts +7 -0
- package/models/invite-org-request-dto.ts +1 -1
- package/models/invite-users-request-dto.ts +6 -0
- package/models/run-data-report-response-class.ts +2 -2
- package/models/update-data-report-request-dto.ts +1 -1
- package/models/update-role-request-dto.ts +2 -2
- package/models/user-class.ts +7 -6
- package/package.json +2 -2
- package/dist/models/custom-field-option-dto.d.ts +0 -30
- package/dist/models/custom-field-option-dto.js +0 -15
- package/dist/models/set-user-setting-response-class.d.ts +0 -36
- package/dist/models/set-user-setting-response-class.js +0 -15
- package/models/custom-field-option-dto.ts +0 -36
- package/models/set-user-setting-response-class.ts +0 -42
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { DeleteResponseClass } from '../models';
|
|
25
|
+
// URLSearchParams not necessarily used
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { URL, URLSearchParams } from 'url';
|
|
28
|
+
const FormData = require('form-data');
|
|
29
|
+
/**
|
|
30
|
+
* DeleteOrganizationInvitationsApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
37
|
+
* @summary Delete the organization invitation
|
|
38
|
+
* @param {number} id
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteOrgInvitation: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
// verify required parameter 'id' is not null or undefined
|
|
45
|
+
assertParamExists('deleteOrgInvitation', 'id', id)
|
|
46
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations/{id}`
|
|
47
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
48
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50
|
+
let baseOptions;
|
|
51
|
+
let baseAccessToken;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
baseAccessToken = configuration.accessToken;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
// authentication bearer required
|
|
62
|
+
// http bearer authentication required
|
|
63
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
|
+
|
|
65
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
66
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
72
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
73
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
url: toPathString(localVarUrlObj),
|
|
77
|
+
options: localVarRequestOptions,
|
|
78
|
+
};
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* DeleteOrganizationInvitationsApi - functional programming interface
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export const DeleteOrganizationInvitationsApiFp = function(configuration?: Configuration) {
|
|
88
|
+
const localVarAxiosParamCreator = DeleteOrganizationInvitationsApiAxiosParamCreator(configuration)
|
|
89
|
+
return {
|
|
90
|
+
/**
|
|
91
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
92
|
+
* @summary Delete the organization invitation
|
|
93
|
+
* @param {number} id
|
|
94
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
async deleteOrgInvitation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
99
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrgInvitation(id, authorization, options);
|
|
100
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
101
|
+
},
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* DeleteOrganizationInvitationsApi - factory interface
|
|
107
|
+
* @export
|
|
108
|
+
*/
|
|
109
|
+
export const DeleteOrganizationInvitationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
110
|
+
const localVarFp = DeleteOrganizationInvitationsApiFp(configuration)
|
|
111
|
+
return {
|
|
112
|
+
/**
|
|
113
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
114
|
+
* @summary Delete the organization invitation
|
|
115
|
+
* @param {number} id
|
|
116
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
deleteOrgInvitation(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
121
|
+
return localVarFp.deleteOrgInvitation(id, authorization, options).then((request) => request(axios, basePath));
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Request parameters for deleteOrgInvitation operation in DeleteOrganizationInvitationsApi.
|
|
128
|
+
* @export
|
|
129
|
+
* @interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest
|
|
130
|
+
*/
|
|
131
|
+
export interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest {
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {number}
|
|
135
|
+
* @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
|
|
136
|
+
*/
|
|
137
|
+
readonly id: number
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
|
|
143
|
+
*/
|
|
144
|
+
readonly authorization?: string
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* DeleteOrganizationInvitationsApi - object-oriented interface
|
|
149
|
+
* @export
|
|
150
|
+
* @class DeleteOrganizationInvitationsApi
|
|
151
|
+
* @extends {BaseAPI}
|
|
152
|
+
*/
|
|
153
|
+
export class DeleteOrganizationInvitationsApi extends BaseAPI {
|
|
154
|
+
/**
|
|
155
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
156
|
+
* @summary Delete the organization invitation
|
|
157
|
+
* @param {DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest} requestParameters Request parameters.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
* @memberof DeleteOrganizationInvitationsApi
|
|
161
|
+
*/
|
|
162
|
+
public deleteOrgInvitation(requestParameters: DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig) {
|
|
163
|
+
return DeleteOrganizationInvitationsApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
164
|
+
}
|
|
165
|
+
}
|
package/api/invite-users-api.ts
CHANGED
|
@@ -233,19 +233,20 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
233
233
|
};
|
|
234
234
|
},
|
|
235
235
|
/**
|
|
236
|
-
* Returns a list of invited users you have previously created.
|
|
236
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
237
237
|
* @summary List invited users
|
|
238
238
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
239
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
240
240
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
241
241
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
242
|
-
* @param {any} [search]
|
|
242
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
243
243
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
244
244
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
245
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
245
246
|
* @param {*} [options] Override http request option.
|
|
246
247
|
* @throws {RequiredError}
|
|
247
248
|
*/
|
|
248
|
-
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
|
+
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
250
|
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
250
251
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
252
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -288,6 +289,10 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
288
289
|
localVarQueryParameter['expand'] = expand;
|
|
289
290
|
}
|
|
290
291
|
|
|
292
|
+
if (filters !== undefined) {
|
|
293
|
+
localVarQueryParameter['filters'] = filters;
|
|
294
|
+
}
|
|
295
|
+
|
|
291
296
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
292
297
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
293
298
|
}
|
|
@@ -362,20 +367,21 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
|
|
|
362
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
363
368
|
},
|
|
364
369
|
/**
|
|
365
|
-
* Returns a list of invited users you have previously created.
|
|
370
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
366
371
|
* @summary List invited users
|
|
367
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
368
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
373
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
369
374
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
370
375
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
371
|
-
* @param {any} [search]
|
|
376
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
372
377
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
373
378
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
379
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
374
380
|
* @param {*} [options] Override http request option.
|
|
375
381
|
* @throws {RequiredError}
|
|
376
382
|
*/
|
|
377
|
-
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>> {
|
|
378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
383
|
+
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>> {
|
|
384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
379
385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
386
|
},
|
|
381
387
|
}
|
|
@@ -433,20 +439,21 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
|
|
|
433
439
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
434
440
|
},
|
|
435
441
|
/**
|
|
436
|
-
* Returns a list of invited users you have previously created.
|
|
442
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
437
443
|
* @summary List invited users
|
|
438
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
439
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
445
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
440
446
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
441
447
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
442
|
-
* @param {any} [search]
|
|
448
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
443
449
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
444
450
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
451
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
445
452
|
* @param {*} [options] Override http request option.
|
|
446
453
|
* @throws {RequiredError}
|
|
447
454
|
*/
|
|
448
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
449
|
-
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
455
|
+
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
456
|
+
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
450
457
|
},
|
|
451
458
|
};
|
|
452
459
|
};
|
|
@@ -549,7 +556,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
549
556
|
readonly authorization?: string
|
|
550
557
|
|
|
551
558
|
/**
|
|
552
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
559
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
553
560
|
* @type {any}
|
|
554
561
|
* @memberof InviteUsersApiListInvites
|
|
555
562
|
*/
|
|
@@ -570,7 +577,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
570
577
|
readonly filter?: any
|
|
571
578
|
|
|
572
579
|
/**
|
|
573
|
-
*
|
|
580
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
574
581
|
* @type {any}
|
|
575
582
|
* @memberof InviteUsersApiListInvites
|
|
576
583
|
*/
|
|
@@ -589,6 +596,13 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
589
596
|
* @memberof InviteUsersApiListInvites
|
|
590
597
|
*/
|
|
591
598
|
readonly expand?: any
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
602
|
+
* @type {any}
|
|
603
|
+
* @memberof InviteUsersApiListInvites
|
|
604
|
+
*/
|
|
605
|
+
readonly filters?: any
|
|
592
606
|
}
|
|
593
607
|
|
|
594
608
|
/**
|
|
@@ -647,7 +661,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
647
661
|
}
|
|
648
662
|
|
|
649
663
|
/**
|
|
650
|
-
* Returns a list of invited users you have previously created.
|
|
664
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
651
665
|
* @summary List invited users
|
|
652
666
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
653
667
|
* @param {*} [options] Override http request option.
|
|
@@ -655,6 +669,6 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
655
669
|
* @memberof InviteUsersApi
|
|
656
670
|
*/
|
|
657
671
|
public listInvites(requestParameters: InviteUsersApiListInvitesRequest = {}, options?: AxiosRequestConfig) {
|
|
658
|
-
return InviteUsersApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
672
|
+
return InviteUsersApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
659
673
|
}
|
|
660
674
|
}
|
|
@@ -33,19 +33,20 @@ const FormData = require('form-data');
|
|
|
33
33
|
export const ListOrganizationInvitationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
|
-
* Returns a list of organization invitations you have previously created.
|
|
36
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
37
37
|
* @summary List organization invitations
|
|
38
38
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
39
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
40
40
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
41
41
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
42
|
-
* @param {any} [search]
|
|
42
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
43
43
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
44
44
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
45
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
45
46
|
* @param {*} [options] Override http request option.
|
|
46
47
|
* @throws {RequiredError}
|
|
47
48
|
*/
|
|
48
|
-
listOrgInvitations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
listOrgInvitations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
50
|
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
50
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -88,6 +89,10 @@ export const ListOrganizationInvitationsApiAxiosParamCreator = function (configu
|
|
|
88
89
|
localVarQueryParameter['expand'] = expand;
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
if (filters !== undefined) {
|
|
93
|
+
localVarQueryParameter['filters'] = filters;
|
|
94
|
+
}
|
|
95
|
+
|
|
91
96
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
92
97
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
93
98
|
}
|
|
@@ -114,20 +119,21 @@ export const ListOrganizationInvitationsApiFp = function(configuration?: Configu
|
|
|
114
119
|
const localVarAxiosParamCreator = ListOrganizationInvitationsApiAxiosParamCreator(configuration)
|
|
115
120
|
return {
|
|
116
121
|
/**
|
|
117
|
-
* Returns a list of organization invitations you have previously created.
|
|
122
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
118
123
|
* @summary List organization invitations
|
|
119
124
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
120
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
125
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
121
126
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
122
127
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
123
|
-
* @param {any} [search]
|
|
128
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
124
129
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
125
130
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
131
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
126
132
|
* @param {*} [options] Override http request option.
|
|
127
133
|
* @throws {RequiredError}
|
|
128
134
|
*/
|
|
129
|
-
async listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
|
|
130
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
135
|
+
async listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>> {
|
|
136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
131
137
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
138
|
},
|
|
133
139
|
}
|
|
@@ -141,20 +147,21 @@ export const ListOrganizationInvitationsApiFactory = function (configuration?: C
|
|
|
141
147
|
const localVarFp = ListOrganizationInvitationsApiFp(configuration)
|
|
142
148
|
return {
|
|
143
149
|
/**
|
|
144
|
-
* Returns a list of organization invitations you have previously created.
|
|
150
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
151
|
* @summary List organization invitations
|
|
146
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
153
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
148
154
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
149
155
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
150
|
-
* @param {any} [search]
|
|
156
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
151
157
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
152
158
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
159
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
153
160
|
* @param {*} [options] Override http request option.
|
|
154
161
|
* @throws {RequiredError}
|
|
155
162
|
*/
|
|
156
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
157
|
-
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
163
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
164
|
+
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
158
165
|
},
|
|
159
166
|
};
|
|
160
167
|
};
|
|
@@ -173,7 +180,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
173
180
|
readonly authorization?: string
|
|
174
181
|
|
|
175
182
|
/**
|
|
176
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
183
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
184
|
* @type {any}
|
|
178
185
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
179
186
|
*/
|
|
@@ -194,7 +201,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
194
201
|
readonly filter?: any
|
|
195
202
|
|
|
196
203
|
/**
|
|
197
|
-
*
|
|
204
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
198
205
|
* @type {any}
|
|
199
206
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
200
207
|
*/
|
|
@@ -213,6 +220,13 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
213
220
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
214
221
|
*/
|
|
215
222
|
readonly expand?: any
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
226
|
+
* @type {any}
|
|
227
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
228
|
+
*/
|
|
229
|
+
readonly filters?: any
|
|
216
230
|
}
|
|
217
231
|
|
|
218
232
|
/**
|
|
@@ -223,7 +237,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
223
237
|
*/
|
|
224
238
|
export class ListOrganizationInvitationsApi extends BaseAPI {
|
|
225
239
|
/**
|
|
226
|
-
* Returns a list of organization invitations you have previously created.
|
|
240
|
+
* Returns a list of organization invitations you have previously created. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
227
241
|
* @summary List organization invitations
|
|
228
242
|
* @param {ListOrganizationInvitationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
229
243
|
* @param {*} [options] Override http request option.
|
|
@@ -231,6 +245,6 @@ export class ListOrganizationInvitationsApi extends BaseAPI {
|
|
|
231
245
|
* @memberof ListOrganizationInvitationsApi
|
|
232
246
|
*/
|
|
233
247
|
public listOrgInvitations(requestParameters: ListOrganizationInvitationsApiListOrgInvitationsRequest = {}, options?: AxiosRequestConfig) {
|
|
234
|
-
return ListOrganizationInvitationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
248
|
+
return ListOrganizationInvitationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
235
249
|
}
|
|
236
250
|
}
|
package/api/organizations-api.ts
CHANGED
|
@@ -87,16 +87,17 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
87
87
|
* This will fetch list of organizations
|
|
88
88
|
* @summary List organizations
|
|
89
89
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
90
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
91
91
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
92
92
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
93
|
-
* @param {any} [search]
|
|
93
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
94
94
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
95
95
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
96
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
96
97
|
* @param {*} [options] Override http request option.
|
|
97
98
|
* @throws {RequiredError}
|
|
98
99
|
*/
|
|
99
|
-
listOrganizations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
|
+
listOrganizations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
101
|
const localVarPath = `/tenantservice/v1/organizations`;
|
|
101
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -139,6 +140,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
139
140
|
localVarQueryParameter['expand'] = expand;
|
|
140
141
|
}
|
|
141
142
|
|
|
143
|
+
if (filters !== undefined) {
|
|
144
|
+
localVarQueryParameter['filters'] = filters;
|
|
145
|
+
}
|
|
146
|
+
|
|
142
147
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
143
148
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
144
149
|
}
|
|
@@ -231,17 +236,18 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
|
|
|
231
236
|
* This will fetch list of organizations
|
|
232
237
|
* @summary List organizations
|
|
233
238
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
234
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
239
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
235
240
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
236
241
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
237
|
-
* @param {any} [search]
|
|
242
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
238
243
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
239
244
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
245
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
240
246
|
* @param {*} [options] Override http request option.
|
|
241
247
|
* @throws {RequiredError}
|
|
242
248
|
*/
|
|
243
|
-
async listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>> {
|
|
244
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
249
|
+
async listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrganizationsResponseClass>> {
|
|
250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
245
251
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
246
252
|
},
|
|
247
253
|
/**
|
|
@@ -282,17 +288,18 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
|
|
|
282
288
|
* This will fetch list of organizations
|
|
283
289
|
* @summary List organizations
|
|
284
290
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
285
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
291
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
286
292
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
287
293
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
288
|
-
* @param {any} [search]
|
|
294
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
289
295
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
290
296
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
297
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
291
298
|
* @param {*} [options] Override http request option.
|
|
292
299
|
* @throws {RequiredError}
|
|
293
300
|
*/
|
|
294
|
-
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass> {
|
|
295
|
-
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
301
|
+
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass> {
|
|
302
|
+
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
296
303
|
},
|
|
297
304
|
/**
|
|
298
305
|
* Update organization data
|
|
@@ -344,7 +351,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
344
351
|
readonly authorization?: string
|
|
345
352
|
|
|
346
353
|
/**
|
|
347
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
354
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
348
355
|
* @type {any}
|
|
349
356
|
* @memberof OrganizationsApiListOrganizations
|
|
350
357
|
*/
|
|
@@ -365,7 +372,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
365
372
|
readonly filter?: any
|
|
366
373
|
|
|
367
374
|
/**
|
|
368
|
-
*
|
|
375
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
369
376
|
* @type {any}
|
|
370
377
|
* @memberof OrganizationsApiListOrganizations
|
|
371
378
|
*/
|
|
@@ -384,6 +391,13 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
384
391
|
* @memberof OrganizationsApiListOrganizations
|
|
385
392
|
*/
|
|
386
393
|
readonly expand?: any
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
397
|
+
* @type {any}
|
|
398
|
+
* @memberof OrganizationsApiListOrganizations
|
|
399
|
+
*/
|
|
400
|
+
readonly filters?: any
|
|
387
401
|
}
|
|
388
402
|
|
|
389
403
|
/**
|
|
@@ -442,7 +456,7 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
442
456
|
* @memberof OrganizationsApi
|
|
443
457
|
*/
|
|
444
458
|
public listOrganizations(requestParameters: OrganizationsApiListOrganizationsRequest = {}, options?: AxiosRequestConfig) {
|
|
445
|
-
return OrganizationsApiFp(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
459
|
+
return OrganizationsApiFp(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
446
460
|
}
|
|
447
461
|
|
|
448
462
|
/**
|