@emilgroup/tenant-sdk-node 1.16.1-beta.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +16 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +663 -0
- package/api/dashboard-group-api.ts +663 -0
- package/api/invite-users-api.ts +31 -31
- package/api/users-api.ts +31 -31
- package/api.ts +4 -0
- package/base.ts +3 -3
- package/dist/api/dashboard-api.d.ts +365 -0
- package/dist/api/dashboard-api.js +620 -0
- package/dist/api/dashboard-group-api.d.ts +365 -0
- package/dist/api/dashboard-group-api.js +620 -0
- package/dist/api/invite-users-api.d.ts +31 -31
- package/dist/api/invite-users-api.js +16 -16
- package/dist/api/users-api.d.ts +31 -31
- package/dist/api/users-api.js +16 -16
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -2
- package/dist/models/create-dashboard-group-request-dto.d.ts +30 -0
- package/dist/models/create-dashboard-group-request-dto.js +15 -0
- package/dist/models/create-dashboard-group-response-class.d.ts +25 -0
- package/dist/models/create-dashboard-group-response-class.js +15 -0
- package/dist/models/create-dashboard-request-dto.d.ts +48 -0
- package/dist/models/create-dashboard-request-dto.js +15 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-dashboard-response-class.js +15 -0
- package/dist/models/dashboard-class.d.ts +84 -0
- package/dist/models/dashboard-class.js +15 -0
- package/dist/models/dashboard-group-class.d.ts +66 -0
- package/dist/models/dashboard-group-class.js +15 -0
- package/dist/models/get-dashboard-group-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-group-response-class.js +15 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/invite-class.d.ts +6 -0
- package/dist/models/invite-org-request-dto.d.ts +3 -3
- package/dist/models/invite-user-request-dto.d.ts +3 -3
- package/dist/models/invite-users-request-dto.d.ts +3 -3
- package/dist/models/list-dashboard-groups-response-class.d.ts +31 -0
- package/dist/models/list-dashboard-groups-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/update-dashboard-group-request-dto.d.ts +30 -0
- package/dist/models/update-dashboard-group-request-dto.js +15 -0
- package/dist/models/update-dashboard-group-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-group-response-class.js +15 -0
- package/dist/models/update-dashboard-request-dto.d.ts +48 -0
- package/dist/models/update-dashboard-request-dto.js +15 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/user-class.d.ts +6 -0
- package/models/create-dashboard-group-request-dto.ts +36 -0
- package/models/create-dashboard-group-response-class.ts +31 -0
- package/models/create-dashboard-request-dto.ts +54 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/dashboard-class.ts +90 -0
- package/models/dashboard-group-class.ts +72 -0
- package/models/get-dashboard-group-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/invite-class.ts +6 -0
- package/models/invite-org-request-dto.ts +3 -3
- package/models/invite-user-request-dto.ts +3 -3
- package/models/invite-users-request-dto.ts +3 -3
- package/models/list-dashboard-groups-response-class.ts +37 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/update-dashboard-group-request-dto.ts +36 -0
- package/models/update-dashboard-group-response-class.ts +31 -0
- package/models/update-dashboard-request-dto.ts +54 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/user-class.ts +6 -0
- package/package.json +1 -1
package/api/invite-users-api.ts
CHANGED
|
@@ -233,20 +233,20 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
233
233
|
};
|
|
234
234
|
},
|
|
235
235
|
/**
|
|
236
|
-
* Returns a list of invited users you have previously created.
|
|
236
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
237
237
|
* @summary List invited users
|
|
238
238
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
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
|
-
* @param {
|
|
241
|
+
* @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>
|
|
242
242
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
243
|
-
* @param {
|
|
244
|
-
* @param {
|
|
245
|
-
* @param {
|
|
243
|
+
* @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>
|
|
244
|
+
* @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>
|
|
245
|
+
* @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>
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
*/
|
|
249
|
-
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
249
|
+
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
250
250
|
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
251
251
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
252
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -367,20 +367,20 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
|
|
|
367
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
370
|
-
* Returns a list of invited users you have previously created.
|
|
370
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
371
371
|
* @summary List invited users
|
|
372
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
373
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
374
374
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
375
|
-
* @param {
|
|
375
|
+
* @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>
|
|
376
376
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
379
|
-
* @param {
|
|
377
|
+
* @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>
|
|
378
|
+
* @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>
|
|
379
|
+
* @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>
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
383
|
+
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>> {
|
|
384
384
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
385
385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
386
|
},
|
|
@@ -439,20 +439,20 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
|
|
|
439
439
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
440
440
|
},
|
|
441
441
|
/**
|
|
442
|
-
* Returns a list of invited users you have previously created.
|
|
442
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
443
443
|
* @summary List invited users
|
|
444
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
445
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
446
446
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
447
|
-
* @param {
|
|
447
|
+
* @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>
|
|
448
448
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {
|
|
451
|
-
* @param {
|
|
449
|
+
* @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>
|
|
450
|
+
* @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>
|
|
451
|
+
* @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>
|
|
452
452
|
* @param {*} [options] Override http request option.
|
|
453
453
|
* @throws {RequiredError}
|
|
454
454
|
*/
|
|
455
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
455
|
+
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
456
456
|
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
457
457
|
},
|
|
458
458
|
};
|
|
@@ -570,11 +570,11 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
570
570
|
readonly pageToken?: any
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
* Filter the response by one or multiple fields.
|
|
574
|
-
* @type {
|
|
573
|
+
* 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>
|
|
574
|
+
* @type {string}
|
|
575
575
|
* @memberof InviteUsersApiListInvites
|
|
576
576
|
*/
|
|
577
|
-
readonly filter?:
|
|
577
|
+
readonly filter?: string
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -584,25 +584,25 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
584
584
|
readonly search?: any
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
|
-
*
|
|
588
|
-
* @type {
|
|
587
|
+
* 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>
|
|
588
|
+
* @type {string}
|
|
589
589
|
* @memberof InviteUsersApiListInvites
|
|
590
590
|
*/
|
|
591
|
-
readonly order?:
|
|
591
|
+
readonly order?: string
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
*
|
|
595
|
-
* @type {
|
|
594
|
+
* 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>
|
|
595
|
+
* @type {string}
|
|
596
596
|
* @memberof InviteUsersApiListInvites
|
|
597
597
|
*/
|
|
598
|
-
readonly expand?:
|
|
598
|
+
readonly expand?: string
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* Filters the response by one or multiple fields.
|
|
602
|
-
* @type {
|
|
601
|
+
* 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>
|
|
602
|
+
* @type {string}
|
|
603
603
|
* @memberof InviteUsersApiListInvites
|
|
604
604
|
*/
|
|
605
|
-
readonly filters?:
|
|
605
|
+
readonly filters?: string
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
/**
|
|
@@ -661,7 +661,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
|
-
* Returns a list of invited users you have previously created.
|
|
664
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
665
665
|
* @summary List invited users
|
|
666
666
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
667
667
|
* @param {*} [options] Override http request option.
|
package/api/users-api.ts
CHANGED
|
@@ -433,20 +433,20 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
433
433
|
};
|
|
434
434
|
},
|
|
435
435
|
/**
|
|
436
|
-
* Returns a list of users you have previously created.
|
|
436
|
+
* 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.
|
|
437
437
|
* @summary List users
|
|
438
438
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
439
439
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
440
440
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
441
|
-
* @param {
|
|
441
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
442
442
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
443
|
-
* @param {
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {
|
|
443
|
+
* @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</i>
|
|
444
|
+
* @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, subscriptions, organizations<i>
|
|
445
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
447
447
|
* @throws {RequiredError}
|
|
448
448
|
*/
|
|
449
|
-
listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
449
|
+
listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
450
450
|
const localVarPath = `/tenantservice/v1/users`;
|
|
451
451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
452
452
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -610,20 +610,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
610
610
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
611
611
|
},
|
|
612
612
|
/**
|
|
613
|
-
* Returns a list of users you have previously created.
|
|
613
|
+
* 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.
|
|
614
614
|
* @summary List users
|
|
615
615
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
616
616
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
617
617
|
* @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.
|
|
618
|
-
* @param {
|
|
618
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
619
619
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
620
|
-
* @param {
|
|
621
|
-
* @param {
|
|
622
|
-
* @param {
|
|
620
|
+
* @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</i>
|
|
621
|
+
* @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, subscriptions, organizations<i>
|
|
622
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
624
624
|
* @throws {RequiredError}
|
|
625
625
|
*/
|
|
626
|
-
async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
626
|
+
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>> {
|
|
627
627
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
628
628
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
629
629
|
},
|
|
@@ -721,20 +721,20 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
721
721
|
return localVarFp.getUser(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
|
|
722
722
|
},
|
|
723
723
|
/**
|
|
724
|
-
* Returns a list of users you have previously created.
|
|
724
|
+
* 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.
|
|
725
725
|
* @summary List users
|
|
726
726
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
727
727
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
728
728
|
* @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.
|
|
729
|
-
* @param {
|
|
729
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
730
730
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {
|
|
733
|
-
* @param {
|
|
731
|
+
* @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</i>
|
|
732
|
+
* @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, subscriptions, organizations<i>
|
|
733
|
+
* @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, code, email, sub, status, organizationId, ern</i>
|
|
734
734
|
* @param {*} [options] Override http request option.
|
|
735
735
|
* @throws {RequiredError}
|
|
736
736
|
*/
|
|
737
|
-
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
737
|
+
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass> {
|
|
738
738
|
return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
739
739
|
},
|
|
740
740
|
};
|
|
@@ -957,11 +957,11 @@ export interface UsersApiListUsersRequest {
|
|
|
957
957
|
readonly pageToken?: any
|
|
958
958
|
|
|
959
959
|
/**
|
|
960
|
-
* Filter the response by one or multiple fields.
|
|
961
|
-
* @type {
|
|
960
|
+
* 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, code, email, sub, status, organizationId, ern</i>
|
|
961
|
+
* @type {string}
|
|
962
962
|
* @memberof UsersApiListUsers
|
|
963
963
|
*/
|
|
964
|
-
readonly filter?:
|
|
964
|
+
readonly filter?: string
|
|
965
965
|
|
|
966
966
|
/**
|
|
967
967
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -971,25 +971,25 @@ export interface UsersApiListUsersRequest {
|
|
|
971
971
|
readonly search?: any
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
|
-
*
|
|
975
|
-
* @type {
|
|
974
|
+
* 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</i>
|
|
975
|
+
* @type {string}
|
|
976
976
|
* @memberof UsersApiListUsers
|
|
977
977
|
*/
|
|
978
|
-
readonly order?:
|
|
978
|
+
readonly order?: string
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
*
|
|
982
|
-
* @type {
|
|
981
|
+
* 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, subscriptions, organizations<i>
|
|
982
|
+
* @type {string}
|
|
983
983
|
* @memberof UsersApiListUsers
|
|
984
984
|
*/
|
|
985
|
-
readonly expand?:
|
|
985
|
+
readonly expand?: string
|
|
986
986
|
|
|
987
987
|
/**
|
|
988
|
-
* Filters the response by one or multiple fields.
|
|
989
|
-
* @type {
|
|
988
|
+
* 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, code, email, sub, status, organizationId, ern</i>
|
|
989
|
+
* @type {string}
|
|
990
990
|
* @memberof UsersApiListUsers
|
|
991
991
|
*/
|
|
992
|
-
readonly filters?:
|
|
992
|
+
readonly filters?: string
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
/**
|
|
@@ -1088,7 +1088,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
|
-
* Returns a list of users you have previously created.
|
|
1091
|
+
* 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.
|
|
1092
1092
|
* @summary List users
|
|
1093
1093
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
1094
1094
|
* @param {*} [options] Override http request option.
|
package/api.ts
CHANGED
|
@@ -25,6 +25,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { CustomSchemaApi } from './api';
|
|
28
|
+
import { DashboardApi } from './api';
|
|
29
|
+
import { DashboardGroupApi } from './api';
|
|
28
30
|
import { DataReportApi } from './api';
|
|
29
31
|
import { DataReportExecutorApi } from './api';
|
|
30
32
|
import { DefaultApi } from './api';
|
|
@@ -40,6 +42,8 @@ import { UsersApi } from './api';
|
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
export * from './api/custom-schema-api';
|
|
45
|
+
export * from './api/dashboard-api';
|
|
46
|
+
export * from './api/dashboard-group-api';
|
|
43
47
|
export * from './api/data-report-api';
|
|
44
48
|
export * from './api/data-report-executor-api';
|
|
45
49
|
export * from './api/default-api';
|
package/base.ts
CHANGED
|
@@ -41,7 +41,7 @@ export const COLLECTION_FORMATS = {
|
|
|
41
41
|
|
|
42
42
|
export interface LoginClass {
|
|
43
43
|
accessToken: string;
|
|
44
|
-
permissions:
|
|
44
|
+
permissions: string;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export enum Environment {
|
|
@@ -79,7 +79,7 @@ export class BaseAPI {
|
|
|
79
79
|
protected configuration: Configuration;
|
|
80
80
|
private username?: string;
|
|
81
81
|
private password?: string;
|
|
82
|
-
private permissions
|
|
82
|
+
private permissions?: string;
|
|
83
83
|
|
|
84
84
|
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
|
85
85
|
if (configuration) {
|
|
@@ -151,7 +151,7 @@ export class BaseAPI {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
getPermissions(): Array<string> {
|
|
154
|
-
return this.permissions;
|
|
154
|
+
return this.permissions.split(',');
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
async authorize(username: string, password: string): Promise<void> {
|