@emilgroup/tenant-sdk-node 1.15.0 → 1.16.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.
Files changed (70) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +18 -2
  3. package/api/custom-schema-api.ts +36 -22
  4. package/api/data-report-api.ts +50 -36
  5. package/api/invite-users-api.ts +32 -18
  6. package/api/list-organization-invitations-api.ts +32 -18
  7. package/api/organizations-api.ts +28 -14
  8. package/api/roles-api.ts +22 -22
  9. package/api/settings-api.ts +4 -4
  10. package/api/users-api.ts +32 -18
  11. package/configuration.ts +1 -1
  12. package/dist/api/custom-schema-api.d.ts +28 -19
  13. package/dist/api/custom-schema-api.js +26 -20
  14. package/dist/api/data-report-api.d.ts +38 -29
  15. package/dist/api/data-report-api.js +35 -29
  16. package/dist/api/invite-users-api.d.ts +24 -15
  17. package/dist/api/invite-users-api.js +22 -16
  18. package/dist/api/list-organization-invitations-api.d.ts +24 -15
  19. package/dist/api/list-organization-invitations-api.js +22 -16
  20. package/dist/api/organizations-api.d.ts +20 -11
  21. package/dist/api/organizations-api.js +18 -12
  22. package/dist/api/roles-api.d.ts +22 -22
  23. package/dist/api/roles-api.js +13 -13
  24. package/dist/api/settings-api.d.ts +4 -4
  25. package/dist/api/settings-api.js +4 -4
  26. package/dist/api/users-api.d.ts +24 -15
  27. package/dist/api/users-api.js +22 -16
  28. package/dist/configuration.js +0 -7
  29. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  30. package/dist/models/create-data-report-request-dto.d.ts +1 -1
  31. package/dist/models/create-role-request-dto.d.ts +2 -2
  32. package/dist/models/custom-field-dto.d.ts +37 -4
  33. package/dist/models/custom-field-dto.js +5 -2
  34. package/dist/models/data-report-class.d.ts +1 -1
  35. package/dist/models/disable-users-request-dto.d.ts +2 -2
  36. package/dist/models/enable-users-request-dto.d.ts +2 -2
  37. package/dist/models/index.d.ts +0 -1
  38. package/dist/models/index.js +0 -1
  39. package/dist/models/inline-response200.d.ts +6 -6
  40. package/dist/models/inline-response503.d.ts +6 -6
  41. package/dist/models/invite-class.d.ts +7 -0
  42. package/dist/models/invite-org-request-dto.d.ts +1 -1
  43. package/dist/models/invite-users-request-dto.d.ts +6 -0
  44. package/dist/models/organization-class.d.ts +6 -0
  45. package/dist/models/run-data-report-response-class.d.ts +2 -2
  46. package/dist/models/update-data-report-request-dto.d.ts +1 -1
  47. package/dist/models/update-role-request-dto.d.ts +2 -2
  48. package/dist/models/user-class.d.ts +7 -6
  49. package/models/batch-delete-request-dto.ts +2 -2
  50. package/models/create-data-report-request-dto.ts +1 -1
  51. package/models/create-role-request-dto.ts +2 -2
  52. package/models/custom-field-dto.ts +38 -5
  53. package/models/data-report-class.ts +1 -1
  54. package/models/disable-users-request-dto.ts +2 -2
  55. package/models/enable-users-request-dto.ts +2 -2
  56. package/models/index.ts +0 -1
  57. package/models/inline-response200.ts +6 -6
  58. package/models/inline-response503.ts +6 -6
  59. package/models/invite-class.ts +7 -0
  60. package/models/invite-org-request-dto.ts +1 -1
  61. package/models/invite-users-request-dto.ts +6 -0
  62. package/models/organization-class.ts +6 -0
  63. package/models/run-data-report-response-class.ts +2 -2
  64. package/models/update-data-report-request-dto.ts +1 -1
  65. package/models/update-role-request-dto.ts +2 -2
  66. package/models/user-class.ts +7 -6
  67. package/package.json +1 -1
  68. package/dist/models/set-user-setting-response-class.d.ts +0 -36
  69. package/dist/models/set-user-setting-response-class.js +0 -15
  70. package/models/set-user-setting-response-class.ts +0 -42
@@ -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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
376
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
448
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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 100. Default: 10.
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
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
580
+ * To search the list by any field, pass search&#x3D;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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
42
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
128
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
156
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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 100. Default: 10.
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
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
204
+ * To search the list by any field, pass search&#x3D;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. The organization invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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
  }
@@ -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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
93
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
242
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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 100. Default: 10.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
294
+ * @param {any} [search] To search the list by any field, pass search&#x3D;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 100. Default: 10.
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
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
375
+ * To search the list by any field, pass search&#x3D;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
  /**
package/api/roles-api.ts CHANGED
@@ -33,19 +33,19 @@ const FormData = require('form-data');
33
33
  export const RolesApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
36
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
37
37
  * @summary List roles
38
38
  * @param {string} [authorization] Bearer Token
39
39
  * @param {number} [pageSize] Page size
40
40
  * @param {string} [pageToken] Page token
41
- * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
41
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
42
42
  * @param {string} [search] Search query
43
- * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
44
- * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
43
+ * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
44
+ * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
45
45
  * @param {*} [options] Override http request option.
46
46
  * @throws {RequiredError}
47
47
  */
48
- listRoles: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ listRoles: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
49
  const localVarPath = `/tenantservice/v1/roles`;
50
50
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
51
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -114,19 +114,19 @@ export const RolesApiFp = function(configuration?: Configuration) {
114
114
  const localVarAxiosParamCreator = RolesApiAxiosParamCreator(configuration)
115
115
  return {
116
116
  /**
117
- * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
117
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
118
118
  * @summary List roles
119
119
  * @param {string} [authorization] Bearer Token
120
120
  * @param {number} [pageSize] Page size
121
121
  * @param {string} [pageToken] Page token
122
- * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
122
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
123
123
  * @param {string} [search] Search query
124
- * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
125
- * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
124
+ * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
125
+ * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
126
126
  * @param {*} [options] Override http request option.
127
127
  * @throws {RequiredError}
128
128
  */
129
- async listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
129
+ async listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>> {
130
130
  const localVarAxiosArgs = await localVarAxiosParamCreator.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options);
131
131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
132
132
  },
@@ -141,19 +141,19 @@ export const RolesApiFactory = function (configuration?: Configuration, basePath
141
141
  const localVarFp = RolesApiFp(configuration)
142
142
  return {
143
143
  /**
144
- * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
144
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
145
  * @summary List roles
146
146
  * @param {string} [authorization] Bearer Token
147
147
  * @param {number} [pageSize] Page size
148
148
  * @param {string} [pageToken] Page token
149
- * @param {'id' | 'code' | 'label'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
149
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
150
150
  * @param {string} [search] Search query
151
- * @param {'label'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
152
- * @param {'permissions'} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
151
+ * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
152
+ * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
153
153
  * @param {*} [options] Override http request option.
154
154
  * @throws {RequiredError}
155
155
  */
156
- listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'label', search?: string, order?: 'label', expand?: 'permissions', options?: any): AxiosPromise<ListRolesResponseClass> {
156
+ listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass> {
157
157
  return localVarFp.listRoles(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
158
158
  },
159
159
  };
@@ -188,10 +188,10 @@ export interface RolesApiListRolesRequest {
188
188
 
189
189
  /**
190
190
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
191
- * @type {'id' | 'code' | 'label'}
191
+ * @type {string}
192
192
  * @memberof RolesApiListRoles
193
193
  */
194
- readonly filter?: 'id' | 'code' | 'label'
194
+ readonly filter?: string
195
195
 
196
196
  /**
197
197
  * Search query
@@ -202,17 +202,17 @@ export interface RolesApiListRolesRequest {
202
202
 
203
203
  /**
204
204
  * Order allowing you to specify the desired order of entities retrieved from the server.
205
- * @type {'label'}
205
+ * @type {string}
206
206
  * @memberof RolesApiListRoles
207
207
  */
208
- readonly order?: 'label'
208
+ readonly order?: string
209
209
 
210
210
  /**
211
211
  * You can expand roles in this endpoint. By default, permissions will be an empty array.
212
- * @type {'permissions'}
212
+ * @type {string}
213
213
  * @memberof RolesApiListRoles
214
214
  */
215
- readonly expand?: 'permissions'
215
+ readonly expand?: string
216
216
  }
217
217
 
218
218
  /**
@@ -223,7 +223,7 @@ export interface RolesApiListRolesRequest {
223
223
  */
224
224
  export class RolesApi extends BaseAPI {
225
225
  /**
226
- * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
226
+ * Returns a list of roles you have previously created. The roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
227
227
  * @summary List roles
228
228
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
229
229
  * @param {*} [options] Override http request option.
@@ -33,7 +33,7 @@ const FormData = require('form-data');
33
33
  export const SettingsApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
36
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
37
37
  * @summary Retrieve the settings
38
38
  * @param {string} keys
39
39
  * @param {string} [authorization] Bearer Token
@@ -91,7 +91,7 @@ export const SettingsApiFp = function(configuration?: Configuration) {
91
91
  const localVarAxiosParamCreator = SettingsApiAxiosParamCreator(configuration)
92
92
  return {
93
93
  /**
94
- * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
94
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
95
95
  * @summary Retrieve the settings
96
96
  * @param {string} keys
97
97
  * @param {string} [authorization] Bearer Token
@@ -113,7 +113,7 @@ export const SettingsApiFactory = function (configuration?: Configuration, baseP
113
113
  const localVarFp = SettingsApiFp(configuration)
114
114
  return {
115
115
  /**
116
- * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
116
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
117
117
  * @summary Retrieve the settings
118
118
  * @param {string} keys
119
119
  * @param {string} [authorization] Bearer Token
@@ -155,7 +155,7 @@ export interface SettingsApiGetTenantSettingsRequest {
155
155
  */
156
156
  export class SettingsApi extends BaseAPI {
157
157
  /**
158
- * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
158
+ * Retrieves the details of the settings that was previously created. Supply the unique settings code that was returned when you created it and Emil Api will return the corresponding settings information.
159
159
  * @summary Retrieve the settings
160
160
  * @param {SettingsApiGetTenantSettingsRequest} requestParameters Request parameters.
161
161
  * @param {*} [options] Override http request option.