@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.
- package/.openapi-generator/FILES +16 -0
- package/README.md +2 -2
- package/api/dashboard-api.ts +659 -0
- package/api/dashboard-group-api.ts +659 -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 +616 -0
- package/dist/api/dashboard-group-api.d.ts +365 -0
- package/dist/api/dashboard-group-api.js +616 -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
|
@@ -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.
|
|
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 {
|
|
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 {
|
|
240
|
-
* @param {
|
|
241
|
-
* @param {
|
|
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?:
|
|
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.
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
371
|
-
* @param {
|
|
371
|
+
* @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>
|
|
372
372
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
373
|
-
* @param {
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {
|
|
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.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
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.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
375
|
+
* @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>
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
*/
|
|
379
|
-
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
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.
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
443
|
-
* @param {
|
|
443
|
+
* @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>
|
|
444
444
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
445
|
-
* @param {
|
|
446
|
-
* @param {
|
|
447
|
-
* @param {
|
|
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.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
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.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
447
|
+
* @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>
|
|
448
448
|
* @param {*} [options] Override http request option.
|
|
449
449
|
* @throws {RequiredError}
|
|
450
450
|
*/
|
|
451
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
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.
|
|
570
|
-
* @type {
|
|
569
|
+
* 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>
|
|
570
|
+
* @type {string}
|
|
571
571
|
* @memberof InviteUsersApiListInvites
|
|
572
572
|
*/
|
|
573
|
-
readonly filter?:
|
|
573
|
+
readonly filter?: string
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
576
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -580,25 +580,25 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
580
580
|
readonly search?: any
|
|
581
581
|
|
|
582
582
|
/**
|
|
583
|
-
*
|
|
584
|
-
* @type {
|
|
583
|
+
* 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>
|
|
584
|
+
* @type {string}
|
|
585
585
|
* @memberof InviteUsersApiListInvites
|
|
586
586
|
*/
|
|
587
|
-
readonly order?:
|
|
587
|
+
readonly order?: string
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
|
-
*
|
|
591
|
-
* @type {
|
|
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.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
591
|
+
* @type {string}
|
|
592
592
|
* @memberof InviteUsersApiListInvites
|
|
593
593
|
*/
|
|
594
|
-
readonly expand?:
|
|
594
|
+
readonly expand?: string
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* Filters the response by one or multiple fields.
|
|
598
|
-
* @type {
|
|
597
|
+
* 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>
|
|
598
|
+
* @type {string}
|
|
599
599
|
* @memberof InviteUsersApiListInvites
|
|
600
600
|
*/
|
|
601
|
-
readonly filters?:
|
|
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.
|
|
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.
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
437
|
-
* @param {
|
|
437
|
+
* @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>
|
|
438
438
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
439
|
-
* @param {
|
|
440
|
-
* @param {
|
|
441
|
-
* @param {
|
|
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.<br/> <br/> <i>Allowed values: email</i>
|
|
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.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
441
|
+
* @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>
|
|
442
442
|
* @param {*} [options] Override http request option.
|
|
443
443
|
* @throws {RequiredError}
|
|
444
444
|
*/
|
|
445
|
-
listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
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.
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
614
|
-
* @param {
|
|
614
|
+
* @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>
|
|
615
615
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
616
|
-
* @param {
|
|
617
|
-
* @param {
|
|
618
|
-
* @param {
|
|
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.<br/> <br/> <i>Allowed values: email</i>
|
|
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.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
618
|
+
* @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>
|
|
619
619
|
* @param {*} [options] Override http request option.
|
|
620
620
|
* @throws {RequiredError}
|
|
621
621
|
*/
|
|
622
|
-
async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
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.
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
725
|
-
* @param {
|
|
725
|
+
* @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>
|
|
726
726
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
727
|
-
* @param {
|
|
728
|
-
* @param {
|
|
729
|
-
* @param {
|
|
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.<br/> <br/> <i>Allowed values: email</i>
|
|
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.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
729
|
+
* @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>
|
|
730
730
|
* @param {*} [options] Override http request option.
|
|
731
731
|
* @throws {RequiredError}
|
|
732
732
|
*/
|
|
733
|
-
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
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.
|
|
957
|
-
* @type {
|
|
956
|
+
* 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>
|
|
957
|
+
* @type {string}
|
|
958
958
|
* @memberof UsersApiListUsers
|
|
959
959
|
*/
|
|
960
|
-
readonly filter?:
|
|
960
|
+
readonly filter?: string
|
|
961
961
|
|
|
962
962
|
/**
|
|
963
963
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -967,25 +967,25 @@ export interface UsersApiListUsersRequest {
|
|
|
967
967
|
readonly search?: any
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
|
-
*
|
|
971
|
-
* @type {
|
|
970
|
+
* 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>
|
|
971
|
+
* @type {string}
|
|
972
972
|
* @memberof UsersApiListUsers
|
|
973
973
|
*/
|
|
974
|
-
readonly order?:
|
|
974
|
+
readonly order?: string
|
|
975
975
|
|
|
976
976
|
/**
|
|
977
|
-
*
|
|
978
|
-
* @type {
|
|
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.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
978
|
+
* @type {string}
|
|
979
979
|
* @memberof UsersApiListUsers
|
|
980
980
|
*/
|
|
981
|
-
readonly expand?:
|
|
981
|
+
readonly expand?: string
|
|
982
982
|
|
|
983
983
|
/**
|
|
984
|
-
* Filters the response by one or multiple fields.
|
|
985
|
-
* @type {
|
|
984
|
+
* 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>
|
|
985
|
+
* @type {string}
|
|
986
986
|
* @memberof UsersApiListUsers
|
|
987
987
|
*/
|
|
988
|
-
readonly filters?:
|
|
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.
|
|
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:
|
|
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
|
|
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> {
|