@emilgroup/tenant-sdk 1.17.1-beta.1 → 1.19.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 (76) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +659 -0
  4. package/api/dashboard-group-api.ts +659 -0
  5. package/api/invite-users-api.ts +31 -31
  6. package/api/users-api.ts +31 -31
  7. package/api.ts +4 -0
  8. package/base.ts +3 -3
  9. package/dist/api/dashboard-api.d.ts +365 -0
  10. package/dist/api/dashboard-api.js +616 -0
  11. package/dist/api/dashboard-group-api.d.ts +365 -0
  12. package/dist/api/dashboard-group-api.js +616 -0
  13. package/dist/api/invite-users-api.d.ts +31 -31
  14. package/dist/api/invite-users-api.js +16 -16
  15. package/dist/api/users-api.d.ts +31 -31
  16. package/dist/api/users-api.js +16 -16
  17. package/dist/api.d.ts +2 -0
  18. package/dist/api.js +2 -0
  19. package/dist/base.d.ts +2 -2
  20. package/dist/base.js +1 -2
  21. package/dist/models/create-dashboard-group-request-dto.d.ts +30 -0
  22. package/dist/models/create-dashboard-group-request-dto.js +15 -0
  23. package/dist/models/create-dashboard-group-response-class.d.ts +25 -0
  24. package/dist/models/create-dashboard-group-response-class.js +15 -0
  25. package/dist/models/create-dashboard-request-dto.d.ts +48 -0
  26. package/dist/models/create-dashboard-request-dto.js +15 -0
  27. package/dist/models/create-dashboard-response-class.d.ts +25 -0
  28. package/dist/models/create-dashboard-response-class.js +15 -0
  29. package/dist/models/dashboard-class.d.ts +84 -0
  30. package/dist/models/dashboard-class.js +15 -0
  31. package/dist/models/dashboard-group-class.d.ts +66 -0
  32. package/dist/models/dashboard-group-class.js +15 -0
  33. package/dist/models/get-dashboard-group-response-class.d.ts +25 -0
  34. package/dist/models/get-dashboard-group-response-class.js +15 -0
  35. package/dist/models/get-dashboard-response-class.d.ts +25 -0
  36. package/dist/models/get-dashboard-response-class.js +15 -0
  37. package/dist/models/index.d.ts +14 -0
  38. package/dist/models/index.js +14 -0
  39. package/dist/models/invite-class.d.ts +6 -0
  40. package/dist/models/invite-org-request-dto.d.ts +3 -3
  41. package/dist/models/invite-user-request-dto.d.ts +3 -3
  42. package/dist/models/invite-users-request-dto.d.ts +3 -3
  43. package/dist/models/list-dashboard-groups-response-class.d.ts +31 -0
  44. package/dist/models/list-dashboard-groups-response-class.js +15 -0
  45. package/dist/models/list-dashboards-response-class.d.ts +31 -0
  46. package/dist/models/list-dashboards-response-class.js +15 -0
  47. package/dist/models/update-dashboard-group-request-dto.d.ts +30 -0
  48. package/dist/models/update-dashboard-group-request-dto.js +15 -0
  49. package/dist/models/update-dashboard-group-response-class.d.ts +25 -0
  50. package/dist/models/update-dashboard-group-response-class.js +15 -0
  51. package/dist/models/update-dashboard-request-dto.d.ts +48 -0
  52. package/dist/models/update-dashboard-request-dto.js +15 -0
  53. package/dist/models/update-dashboard-response-class.d.ts +25 -0
  54. package/dist/models/update-dashboard-response-class.js +15 -0
  55. package/dist/models/user-class.d.ts +6 -0
  56. package/models/create-dashboard-group-request-dto.ts +36 -0
  57. package/models/create-dashboard-group-response-class.ts +31 -0
  58. package/models/create-dashboard-request-dto.ts +54 -0
  59. package/models/create-dashboard-response-class.ts +31 -0
  60. package/models/dashboard-class.ts +90 -0
  61. package/models/dashboard-group-class.ts +72 -0
  62. package/models/get-dashboard-group-response-class.ts +31 -0
  63. package/models/get-dashboard-response-class.ts +31 -0
  64. package/models/index.ts +14 -0
  65. package/models/invite-class.ts +6 -0
  66. package/models/invite-org-request-dto.ts +3 -3
  67. package/models/invite-user-request-dto.ts +3 -3
  68. package/models/invite-users-request-dto.ts +3 -3
  69. package/models/list-dashboard-groups-response-class.ts +37 -0
  70. package/models/list-dashboards-response-class.ts +37 -0
  71. package/models/update-dashboard-group-request-dto.ts +36 -0
  72. package/models/update-dashboard-group-response-class.ts +31 -0
  73. package/models/update-dashboard-request-dto.ts +54 -0
  74. package/models/update-dashboard-response-class.ts +31 -0
  75. package/models/user-class.ts +6 -0
  76. package/package.json +1 -1
@@ -229,20 +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. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
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
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
- * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
238
238
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
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
- * @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.
239
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
240
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, organizations<i>
241
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
242
242
  * @param {*} [options] Override http request option.
243
243
  * @throws {RequiredError}
244
244
  */
245
- listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
245
+ listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
246
246
  const localVarPath = `/tenantservice/v1/users/invites`;
247
247
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
248
248
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -363,20 +363,20 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
363
363
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
364
364
  },
365
365
  /**
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.
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.
367
367
  * @summary List invited users
368
368
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
369
369
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
370
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
371
- * @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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
372
372
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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.
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.
373
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email, expiresOn&lt;/i&gt;
374
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, organizations&lt;i&gt;
375
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
376
376
  * @param {*} [options] Override http request option.
377
377
  * @throws {RequiredError}
378
378
  */
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>> {
379
+ async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>> {
380
380
  const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
381
381
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
382
382
  },
@@ -435,20 +435,20 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
435
435
  return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
436
436
  },
437
437
  /**
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.
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.
439
439
  * @summary List invited users
440
440
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
441
441
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
442
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
443
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
443
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
444
444
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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.
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.
445
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email, expiresOn&lt;/i&gt;
446
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, organizations&lt;i&gt;
447
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
448
448
  * @param {*} [options] Override http request option.
449
449
  * @throws {RequiredError}
450
450
  */
451
- listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListInvitesResponseClass> {
451
+ listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass> {
452
452
  return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
453
453
  },
454
454
  };
@@ -566,11 +566,11 @@ export interface InviteUsersApiListInvitesRequest {
566
566
  readonly pageToken?: any
567
567
 
568
568
  /**
569
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
570
- * @type {any}
569
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
570
+ * @type {string}
571
571
  * @memberof InviteUsersApiListInvites
572
572
  */
573
- readonly filter?: any
573
+ readonly filter?: string
574
574
 
575
575
  /**
576
576
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
@@ -580,25 +580,25 @@ export interface InviteUsersApiListInvitesRequest {
580
580
  readonly search?: any
581
581
 
582
582
  /**
583
- * 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.
584
- * @type {any}
583
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email, expiresOn&lt;/i&gt;
584
+ * @type {string}
585
585
  * @memberof InviteUsersApiListInvites
586
586
  */
587
- readonly order?: any
587
+ readonly order?: string
588
588
 
589
589
  /**
590
- * 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.
591
- * @type {any}
590
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, organizations&lt;i&gt;
591
+ * @type {string}
592
592
  * @memberof InviteUsersApiListInvites
593
593
  */
594
- readonly expand?: any
594
+ readonly expand?: string
595
595
 
596
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}
597
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, email, token, organizationId, ern&lt;/i&gt;
598
+ * @type {string}
599
599
  * @memberof InviteUsersApiListInvites
600
600
  */
601
- readonly filters?: any
601
+ readonly filters?: string
602
602
  }
603
603
 
604
604
  /**
@@ -657,7 +657,7 @@ export class InviteUsersApi extends BaseAPI {
657
657
  }
658
658
 
659
659
  /**
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.
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.
661
661
  * @summary List invited users
662
662
  * @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
663
663
  * @param {*} [options] Override http request option.
package/api/users-api.ts CHANGED
@@ -429,20 +429,20 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
429
429
  };
430
430
  },
431
431
  /**
432
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
432
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
433
433
  * @summary List users
434
434
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
435
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
436
436
  * @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.
437
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
437
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
438
438
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
439
- * @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
- * @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.
441
- * @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.
439
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
440
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
441
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
442
442
  * @param {*} [options] Override http request option.
443
443
  * @throws {RequiredError}
444
444
  */
445
- listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
445
+ listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
446
446
  const localVarPath = `/tenantservice/v1/users`;
447
447
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
448
448
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -606,20 +606,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
606
606
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
607
607
  },
608
608
  /**
609
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
609
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
610
610
  * @summary List users
611
611
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
612
612
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
613
613
  * @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.
614
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
614
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
615
615
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
616
- * @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.
617
- * @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.
618
- * @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.
616
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
617
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
618
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
619
619
  * @param {*} [options] Override http request option.
620
620
  * @throws {RequiredError}
621
621
  */
622
- async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
622
+ async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
623
623
  const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
624
624
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
625
625
  },
@@ -717,20 +717,20 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
717
717
  return localVarFp.getUser(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
718
718
  },
719
719
  /**
720
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
720
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
721
721
  * @summary List users
722
722
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
723
723
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
724
724
  * @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.
725
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
725
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
726
726
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
727
- * @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.
728
- * @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.
729
- * @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.
727
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
728
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
729
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
730
730
  * @param {*} [options] Override http request option.
731
731
  * @throws {RequiredError}
732
732
  */
733
- listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListUsersResponseClass> {
733
+ listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass> {
734
734
  return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
735
735
  },
736
736
  };
@@ -953,11 +953,11 @@ export interface UsersApiListUsersRequest {
953
953
  readonly pageToken?: any
954
954
 
955
955
  /**
956
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
957
- * @type {any}
956
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
957
+ * @type {string}
958
958
  * @memberof UsersApiListUsers
959
959
  */
960
- readonly filter?: any
960
+ readonly filter?: string
961
961
 
962
962
  /**
963
963
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
@@ -967,25 +967,25 @@ export interface UsersApiListUsersRequest {
967
967
  readonly search?: any
968
968
 
969
969
  /**
970
- * 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.
971
- * @type {any}
970
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
971
+ * @type {string}
972
972
  * @memberof UsersApiListUsers
973
973
  */
974
- readonly order?: any
974
+ readonly order?: string
975
975
 
976
976
  /**
977
- * 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.
978
- * @type {any}
977
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
978
+ * @type {string}
979
979
  * @memberof UsersApiListUsers
980
980
  */
981
- readonly expand?: any
981
+ readonly expand?: string
982
982
 
983
983
  /**
984
- * 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.
985
- * @type {any}
984
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
985
+ * @type {string}
986
986
  * @memberof UsersApiListUsers
987
987
  */
988
- readonly filters?: any
988
+ readonly filters?: string
989
989
  }
990
990
 
991
991
  /**
@@ -1084,7 +1084,7 @@ export class UsersApi extends BaseAPI {
1084
1084
  }
1085
1085
 
1086
1086
  /**
1087
- * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1087
+ * Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1088
1088
  * @summary List users
1089
1089
  * @param {UsersApiListUsersRequest} requestParameters Request parameters.
1090
1090
  * @param {*} [options] Override http request option.
package/api.ts CHANGED
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { CustomSchemaApi } from './api';
24
+ import { DashboardApi } from './api';
25
+ import { DashboardGroupApi } from './api';
24
26
  import { DataReportApi } from './api';
25
27
  import { DataReportExecutorApi } from './api';
26
28
  import { DefaultApi } from './api';
@@ -36,6 +38,8 @@ import { UsersApi } from './api';
36
38
 
37
39
 
38
40
  export * from './api/custom-schema-api';
41
+ export * from './api/dashboard-api';
42
+ export * from './api/dashboard-group-api';
39
43
  export * from './api/data-report-api';
40
44
  export * from './api/data-report-executor-api';
41
45
  export * from './api/default-api';
package/base.ts CHANGED
@@ -34,7 +34,7 @@ export const COLLECTION_FORMATS = {
34
34
 
35
35
  export interface LoginClass {
36
36
  accessToken: string;
37
- permissions: Array<string>;
37
+ permissions: string;
38
38
  }
39
39
 
40
40
  export enum Environment {
@@ -77,7 +77,7 @@ const TOKEN_DATA = 'APP_TOKEN';
77
77
  export class BaseAPI {
78
78
  protected configuration: Configuration | undefined;
79
79
  private tokenData?: TokenData;
80
- private permissions: Array<string> = [];
80
+ private permissions?: string;
81
81
 
82
82
  constructor(configuration?: Configuration,
83
83
  protected basePath: string = BASE_PATH,
@@ -111,7 +111,7 @@ export class BaseAPI {
111
111
  }
112
112
 
113
113
  getPermissions(): Array<string> {
114
- return this.permissions;
114
+ return this.permissions.split(',');
115
115
  }
116
116
 
117
117
  async authorize(username: string, password: string): Promise<void> {