@emilgroup/tenant-sdk 1.9.0 → 1.15.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +161 -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/base.ts +1 -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 +223 -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/base.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 +1 -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,161 @@
|
|
|
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
|
+
/**
|
|
26
|
+
* DeleteOrganizationInvitationsApi - axios parameter creator
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const DeleteOrganizationInvitationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
33
|
+
* @summary Delete the organization invitation
|
|
34
|
+
* @param {number} id
|
|
35
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
deleteOrgInvitation: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
|
+
// verify required parameter 'id' is not null or undefined
|
|
41
|
+
assertParamExists('deleteOrgInvitation', 'id', id)
|
|
42
|
+
const localVarPath = `/tenantservice/v1/invitations/organizations/{id}`
|
|
43
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
let baseAccessToken;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
baseAccessToken = configuration.accessToken;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
54
|
+
const localVarHeaderParameter = {} as any;
|
|
55
|
+
const localVarQueryParameter = {} as any;
|
|
56
|
+
|
|
57
|
+
// authentication bearer required
|
|
58
|
+
// http bearer authentication required
|
|
59
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
60
|
+
|
|
61
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
62
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
url: toPathString(localVarUrlObj),
|
|
73
|
+
options: localVarRequestOptions,
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* DeleteOrganizationInvitationsApi - functional programming interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export const DeleteOrganizationInvitationsApiFp = function(configuration?: Configuration) {
|
|
84
|
+
const localVarAxiosParamCreator = DeleteOrganizationInvitationsApiAxiosParamCreator(configuration)
|
|
85
|
+
return {
|
|
86
|
+
/**
|
|
87
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
88
|
+
* @summary Delete the organization invitation
|
|
89
|
+
* @param {number} id
|
|
90
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
async deleteOrgInvitation(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
95
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrgInvitation(id, authorization, options);
|
|
96
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
97
|
+
},
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* DeleteOrganizationInvitationsApi - factory interface
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const DeleteOrganizationInvitationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
106
|
+
const localVarFp = DeleteOrganizationInvitationsApiFp(configuration)
|
|
107
|
+
return {
|
|
108
|
+
/**
|
|
109
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
110
|
+
* @summary Delete the organization invitation
|
|
111
|
+
* @param {number} id
|
|
112
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
deleteOrgInvitation(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
117
|
+
return localVarFp.deleteOrgInvitation(id, authorization, options).then((request) => request(axios, basePath));
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Request parameters for deleteOrgInvitation operation in DeleteOrganizationInvitationsApi.
|
|
124
|
+
* @export
|
|
125
|
+
* @interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest
|
|
126
|
+
*/
|
|
127
|
+
export interface DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
|
|
132
|
+
*/
|
|
133
|
+
readonly id: number
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof DeleteOrganizationInvitationsApiDeleteOrgInvitation
|
|
139
|
+
*/
|
|
140
|
+
readonly authorization?: string
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* DeleteOrganizationInvitationsApi - object-oriented interface
|
|
145
|
+
* @export
|
|
146
|
+
* @class DeleteOrganizationInvitationsApi
|
|
147
|
+
* @extends {BaseAPI}
|
|
148
|
+
*/
|
|
149
|
+
export class DeleteOrganizationInvitationsApi extends BaseAPI {
|
|
150
|
+
/**
|
|
151
|
+
* Permanently deletes the organization invitation. Supply the unique id that was returned when you created the organization invitation and this will delete it.
|
|
152
|
+
* @summary Delete the organization invitation
|
|
153
|
+
* @param {DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest} requestParameters Request parameters.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
* @memberof DeleteOrganizationInvitationsApi
|
|
157
|
+
*/
|
|
158
|
+
public deleteOrgInvitation(requestParameters: DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig) {
|
|
159
|
+
return DeleteOrganizationInvitationsApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
160
|
+
}
|
|
161
|
+
}
|
package/api/invite-users-api.ts
CHANGED
|
@@ -229,19 +229,20 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
229
229
|
};
|
|
230
230
|
},
|
|
231
231
|
/**
|
|
232
|
-
* Returns a list of invited users you have previously created.
|
|
232
|
+
* 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.
|
|
233
233
|
* @summary List invited users
|
|
234
234
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
235
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
235
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
236
236
|
* @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.
|
|
237
237
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
238
|
-
* @param {any} [search]
|
|
238
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
239
239
|
* @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.
|
|
240
240
|
* @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.
|
|
241
|
+
* @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.
|
|
241
242
|
* @param {*} [options] Override http request option.
|
|
242
243
|
* @throws {RequiredError}
|
|
243
244
|
*/
|
|
244
|
-
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
245
|
+
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
245
246
|
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
246
247
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
248
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -284,6 +285,10 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
284
285
|
localVarQueryParameter['expand'] = expand;
|
|
285
286
|
}
|
|
286
287
|
|
|
288
|
+
if (filters !== undefined) {
|
|
289
|
+
localVarQueryParameter['filters'] = filters;
|
|
290
|
+
}
|
|
291
|
+
|
|
287
292
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
288
293
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
289
294
|
}
|
|
@@ -358,20 +363,21 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
|
|
|
358
363
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
359
364
|
},
|
|
360
365
|
/**
|
|
361
|
-
* Returns a list of invited users you have previously created.
|
|
366
|
+
* 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.
|
|
362
367
|
* @summary List invited users
|
|
363
368
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
364
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
369
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
365
370
|
* @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.
|
|
366
371
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
367
|
-
* @param {any} [search]
|
|
372
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
368
373
|
* @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.
|
|
369
374
|
* @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.
|
|
375
|
+
* @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.
|
|
370
376
|
* @param {*} [options] Override http request option.
|
|
371
377
|
* @throws {RequiredError}
|
|
372
378
|
*/
|
|
373
|
-
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>> {
|
|
374
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
379
|
+
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>> {
|
|
380
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
375
381
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
382
|
},
|
|
377
383
|
}
|
|
@@ -429,20 +435,21 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
|
|
|
429
435
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
430
436
|
},
|
|
431
437
|
/**
|
|
432
|
-
* Returns a list of invited users you have previously created.
|
|
438
|
+
* 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.
|
|
433
439
|
* @summary List invited users
|
|
434
440
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
435
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
441
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
436
442
|
* @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.
|
|
437
443
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
438
|
-
* @param {any} [search]
|
|
444
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
439
445
|
* @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.
|
|
440
446
|
* @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.
|
|
447
|
+
* @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.
|
|
441
448
|
* @param {*} [options] Override http request option.
|
|
442
449
|
* @throws {RequiredError}
|
|
443
450
|
*/
|
|
444
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
445
|
-
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
451
|
+
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
452
|
+
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
446
453
|
},
|
|
447
454
|
};
|
|
448
455
|
};
|
|
@@ -545,7 +552,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
545
552
|
readonly authorization?: string
|
|
546
553
|
|
|
547
554
|
/**
|
|
548
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
555
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
549
556
|
* @type {any}
|
|
550
557
|
* @memberof InviteUsersApiListInvites
|
|
551
558
|
*/
|
|
@@ -566,7 +573,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
566
573
|
readonly filter?: any
|
|
567
574
|
|
|
568
575
|
/**
|
|
569
|
-
*
|
|
576
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
570
577
|
* @type {any}
|
|
571
578
|
* @memberof InviteUsersApiListInvites
|
|
572
579
|
*/
|
|
@@ -585,6 +592,13 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
585
592
|
* @memberof InviteUsersApiListInvites
|
|
586
593
|
*/
|
|
587
594
|
readonly expand?: any
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* 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.
|
|
598
|
+
* @type {any}
|
|
599
|
+
* @memberof InviteUsersApiListInvites
|
|
600
|
+
*/
|
|
601
|
+
readonly filters?: any
|
|
588
602
|
}
|
|
589
603
|
|
|
590
604
|
/**
|
|
@@ -643,7 +657,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
643
657
|
}
|
|
644
658
|
|
|
645
659
|
/**
|
|
646
|
-
* Returns a list of invited users you have previously created.
|
|
660
|
+
* 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.
|
|
647
661
|
* @summary List invited users
|
|
648
662
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
649
663
|
* @param {*} [options] Override http request option.
|
|
@@ -651,6 +665,6 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
651
665
|
* @memberof InviteUsersApi
|
|
652
666
|
*/
|
|
653
667
|
public listInvites(requestParameters: InviteUsersApiListInvitesRequest = {}, options?: AxiosRequestConfig) {
|
|
654
|
-
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));
|
|
668
|
+
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));
|
|
655
669
|
}
|
|
656
670
|
}
|
|
@@ -29,19 +29,20 @@ import { ListOrgInvitationsResponseClass } from '../models';
|
|
|
29
29
|
export const ListOrganizationInvitationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
30
|
return {
|
|
31
31
|
/**
|
|
32
|
-
* Returns a list of organization invitations you have previously created.
|
|
32
|
+
* 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.
|
|
33
33
|
* @summary List organization invitations
|
|
34
34
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
35
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
35
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
36
36
|
* @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.
|
|
37
37
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
38
|
-
* @param {any} [search]
|
|
38
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
39
39
|
* @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.
|
|
40
40
|
* @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.
|
|
41
|
+
* @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.
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
listOrgInvitations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
listOrgInvitations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
46
|
const localVarPath = `/tenantservice/v1/invitations/organizations`;
|
|
46
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
48
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -84,6 +85,10 @@ export const ListOrganizationInvitationsApiAxiosParamCreator = function (configu
|
|
|
84
85
|
localVarQueryParameter['expand'] = expand;
|
|
85
86
|
}
|
|
86
87
|
|
|
88
|
+
if (filters !== undefined) {
|
|
89
|
+
localVarQueryParameter['filters'] = filters;
|
|
90
|
+
}
|
|
91
|
+
|
|
87
92
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
88
93
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
89
94
|
}
|
|
@@ -110,20 +115,21 @@ export const ListOrganizationInvitationsApiFp = function(configuration?: Configu
|
|
|
110
115
|
const localVarAxiosParamCreator = ListOrganizationInvitationsApiAxiosParamCreator(configuration)
|
|
111
116
|
return {
|
|
112
117
|
/**
|
|
113
|
-
* Returns a list of organization invitations you have previously created.
|
|
118
|
+
* 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.
|
|
114
119
|
* @summary List organization invitations
|
|
115
120
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
121
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
117
122
|
* @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.
|
|
118
123
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
119
|
-
* @param {any} [search]
|
|
124
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
120
125
|
* @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.
|
|
121
126
|
* @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.
|
|
127
|
+
* @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.
|
|
122
128
|
* @param {*} [options] Override http request option.
|
|
123
129
|
* @throws {RequiredError}
|
|
124
130
|
*/
|
|
125
|
-
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>> {
|
|
126
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
131
|
+
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>> {
|
|
132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
127
133
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
128
134
|
},
|
|
129
135
|
}
|
|
@@ -137,20 +143,21 @@ export const ListOrganizationInvitationsApiFactory = function (configuration?: C
|
|
|
137
143
|
const localVarFp = ListOrganizationInvitationsApiFp(configuration)
|
|
138
144
|
return {
|
|
139
145
|
/**
|
|
140
|
-
* Returns a list of organization invitations you have previously created.
|
|
146
|
+
* 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.
|
|
141
147
|
* @summary List organization invitations
|
|
142
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
149
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
144
150
|
* @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.
|
|
145
151
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
146
|
-
* @param {any} [search]
|
|
152
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
147
153
|
* @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.
|
|
148
154
|
* @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.
|
|
155
|
+
* @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.
|
|
149
156
|
* @param {*} [options] Override http request option.
|
|
150
157
|
* @throws {RequiredError}
|
|
151
158
|
*/
|
|
152
|
-
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
153
|
-
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
159
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass> {
|
|
160
|
+
return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
154
161
|
},
|
|
155
162
|
};
|
|
156
163
|
};
|
|
@@ -169,7 +176,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
169
176
|
readonly authorization?: string
|
|
170
177
|
|
|
171
178
|
/**
|
|
172
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
179
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
173
180
|
* @type {any}
|
|
174
181
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
175
182
|
*/
|
|
@@ -190,7 +197,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
190
197
|
readonly filter?: any
|
|
191
198
|
|
|
192
199
|
/**
|
|
193
|
-
*
|
|
200
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
194
201
|
* @type {any}
|
|
195
202
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
196
203
|
*/
|
|
@@ -209,6 +216,13 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
209
216
|
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
210
217
|
*/
|
|
211
218
|
readonly expand?: any
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* 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.
|
|
222
|
+
* @type {any}
|
|
223
|
+
* @memberof ListOrganizationInvitationsApiListOrgInvitations
|
|
224
|
+
*/
|
|
225
|
+
readonly filters?: any
|
|
212
226
|
}
|
|
213
227
|
|
|
214
228
|
/**
|
|
@@ -219,7 +233,7 @@ export interface ListOrganizationInvitationsApiListOrgInvitationsRequest {
|
|
|
219
233
|
*/
|
|
220
234
|
export class ListOrganizationInvitationsApi extends BaseAPI {
|
|
221
235
|
/**
|
|
222
|
-
* Returns a list of organization invitations you have previously created.
|
|
236
|
+
* 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.
|
|
223
237
|
* @summary List organization invitations
|
|
224
238
|
* @param {ListOrganizationInvitationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
225
239
|
* @param {*} [options] Override http request option.
|
|
@@ -227,6 +241,6 @@ export class ListOrganizationInvitationsApi extends BaseAPI {
|
|
|
227
241
|
* @memberof ListOrganizationInvitationsApi
|
|
228
242
|
*/
|
|
229
243
|
public listOrgInvitations(requestParameters: ListOrganizationInvitationsApiListOrgInvitationsRequest = {}, options?: AxiosRequestConfig) {
|
|
230
|
-
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));
|
|
244
|
+
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));
|
|
231
245
|
}
|
|
232
246
|
}
|
package/api/organizations-api.ts
CHANGED
|
@@ -83,16 +83,17 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
83
83
|
* This will fetch list of organizations
|
|
84
84
|
* @summary List organizations
|
|
85
85
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
86
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
87
87
|
* @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.
|
|
88
88
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
89
|
-
* @param {any} [search]
|
|
89
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
90
90
|
* @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.
|
|
91
91
|
* @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.
|
|
92
|
+
* @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.
|
|
92
93
|
* @param {*} [options] Override http request option.
|
|
93
94
|
* @throws {RequiredError}
|
|
94
95
|
*/
|
|
95
|
-
listOrganizations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
|
+
listOrganizations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
96
97
|
const localVarPath = `/tenantservice/v1/organizations`;
|
|
97
98
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
99
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -135,6 +136,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
135
136
|
localVarQueryParameter['expand'] = expand;
|
|
136
137
|
}
|
|
137
138
|
|
|
139
|
+
if (filters !== undefined) {
|
|
140
|
+
localVarQueryParameter['filters'] = filters;
|
|
141
|
+
}
|
|
142
|
+
|
|
138
143
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
139
144
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
140
145
|
}
|
|
@@ -227,17 +232,18 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
|
|
|
227
232
|
* This will fetch list of organizations
|
|
228
233
|
* @summary List organizations
|
|
229
234
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
230
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
235
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
231
236
|
* @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.
|
|
232
237
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
233
|
-
* @param {any} [search]
|
|
238
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
234
239
|
* @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.
|
|
235
240
|
* @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.
|
|
241
|
+
* @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.
|
|
236
242
|
* @param {*} [options] Override http request option.
|
|
237
243
|
* @throws {RequiredError}
|
|
238
244
|
*/
|
|
239
|
-
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>> {
|
|
240
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
245
|
+
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>> {
|
|
246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
241
247
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
242
248
|
},
|
|
243
249
|
/**
|
|
@@ -278,17 +284,18 @@ export const OrganizationsApiFactory = function (configuration?: Configuration,
|
|
|
278
284
|
* This will fetch list of organizations
|
|
279
285
|
* @summary List organizations
|
|
280
286
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
281
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
287
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
282
288
|
* @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.
|
|
283
289
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
284
|
-
* @param {any} [search]
|
|
290
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
285
291
|
* @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.
|
|
286
292
|
* @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.
|
|
293
|
+
* @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.
|
|
287
294
|
* @param {*} [options] Override http request option.
|
|
288
295
|
* @throws {RequiredError}
|
|
289
296
|
*/
|
|
290
|
-
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass> {
|
|
291
|
-
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
297
|
+
listOrganizations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListOrganizationsResponseClass> {
|
|
298
|
+
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
292
299
|
},
|
|
293
300
|
/**
|
|
294
301
|
* Update organization data
|
|
@@ -340,7 +347,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
340
347
|
readonly authorization?: string
|
|
341
348
|
|
|
342
349
|
/**
|
|
343
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
350
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
344
351
|
* @type {any}
|
|
345
352
|
* @memberof OrganizationsApiListOrganizations
|
|
346
353
|
*/
|
|
@@ -361,7 +368,7 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
361
368
|
readonly filter?: any
|
|
362
369
|
|
|
363
370
|
/**
|
|
364
|
-
*
|
|
371
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
365
372
|
* @type {any}
|
|
366
373
|
* @memberof OrganizationsApiListOrganizations
|
|
367
374
|
*/
|
|
@@ -380,6 +387,13 @@ export interface OrganizationsApiListOrganizationsRequest {
|
|
|
380
387
|
* @memberof OrganizationsApiListOrganizations
|
|
381
388
|
*/
|
|
382
389
|
readonly expand?: any
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* 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.
|
|
393
|
+
* @type {any}
|
|
394
|
+
* @memberof OrganizationsApiListOrganizations
|
|
395
|
+
*/
|
|
396
|
+
readonly filters?: any
|
|
383
397
|
}
|
|
384
398
|
|
|
385
399
|
/**
|
|
@@ -438,7 +452,7 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
438
452
|
* @memberof OrganizationsApi
|
|
439
453
|
*/
|
|
440
454
|
public listOrganizations(requestParameters: OrganizationsApiListOrganizationsRequest = {}, options?: AxiosRequestConfig) {
|
|
441
|
-
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));
|
|
455
|
+
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));
|
|
442
456
|
}
|
|
443
457
|
|
|
444
458
|
/**
|