@emilgroup/tenant-sdk 1.17.1-beta.1 → 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/README.md +2 -2
- package/api/invite-users-api.ts +31 -31
- package/api/users-api.ts +31 -31
- package/base.ts +3 -3
- 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/base.d.ts +2 -2
- package/dist/base.js +1 -2
- 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/user-class.d.ts +6 -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/user-class.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk@1.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.18.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.18.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
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/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> {
|
|
@@ -62,20 +62,20 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
|
|
|
62
62
|
*/
|
|
63
63
|
inviteUsers: (inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
64
|
/**
|
|
65
|
-
* Returns a list of invited users you have previously created.
|
|
65
|
+
* 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.
|
|
66
66
|
* @summary List invited users
|
|
67
67
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
68
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
69
69
|
* @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.
|
|
70
|
-
* @param {
|
|
70
|
+
* @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>
|
|
71
71
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {
|
|
74
|
-
* @param {
|
|
72
|
+
* @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>
|
|
73
|
+
* @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>
|
|
74
|
+
* @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>
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
listInvites: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
78
|
+
listInvites: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
79
|
};
|
|
80
80
|
/**
|
|
81
81
|
* InviteUsersApi - functional programming interface
|
|
@@ -119,20 +119,20 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
|
119
119
|
*/
|
|
120
120
|
inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
|
|
121
121
|
/**
|
|
122
|
-
* Returns a list of invited users you have previously created.
|
|
122
|
+
* 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.
|
|
123
123
|
* @summary List invited users
|
|
124
124
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
125
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
126
126
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
127
|
-
* @param {
|
|
127
|
+
* @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>
|
|
128
128
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
129
|
-
* @param {
|
|
130
|
-
* @param {
|
|
131
|
-
* @param {
|
|
129
|
+
* @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>
|
|
130
|
+
* @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>
|
|
131
|
+
* @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>
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
135
|
+
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>>;
|
|
136
136
|
};
|
|
137
137
|
/**
|
|
138
138
|
* InviteUsersApi - factory interface
|
|
@@ -176,20 +176,20 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
|
|
|
176
176
|
*/
|
|
177
177
|
inviteUsers(inviteUsersRequestDto: InviteUsersRequestDto, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
|
|
178
178
|
/**
|
|
179
|
-
* Returns a list of invited users you have previously created.
|
|
179
|
+
* 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.
|
|
180
180
|
* @summary List invited users
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
183
|
* @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.
|
|
184
|
-
* @param {
|
|
184
|
+
* @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>
|
|
185
185
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
186
|
+
* @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>
|
|
187
|
+
* @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>
|
|
188
|
+
* @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>
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
192
|
+
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass>;
|
|
193
193
|
};
|
|
194
194
|
/**
|
|
195
195
|
* Request parameters for deleteInvite operation in InviteUsersApi.
|
|
@@ -292,11 +292,11 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
292
292
|
*/
|
|
293
293
|
readonly pageToken?: any;
|
|
294
294
|
/**
|
|
295
|
-
* Filter the response by one or multiple fields.
|
|
296
|
-
* @type {
|
|
295
|
+
* 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>
|
|
296
|
+
* @type {string}
|
|
297
297
|
* @memberof InviteUsersApiListInvites
|
|
298
298
|
*/
|
|
299
|
-
readonly filter?:
|
|
299
|
+
readonly filter?: string;
|
|
300
300
|
/**
|
|
301
301
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
302
302
|
* @type {any}
|
|
@@ -304,23 +304,23 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
304
304
|
*/
|
|
305
305
|
readonly search?: any;
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
308
|
-
* @type {
|
|
307
|
+
* 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>
|
|
308
|
+
* @type {string}
|
|
309
309
|
* @memberof InviteUsersApiListInvites
|
|
310
310
|
*/
|
|
311
|
-
readonly order?:
|
|
311
|
+
readonly order?: string;
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {
|
|
313
|
+
* 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>
|
|
314
|
+
* @type {string}
|
|
315
315
|
* @memberof InviteUsersApiListInvites
|
|
316
316
|
*/
|
|
317
|
-
readonly expand?:
|
|
317
|
+
readonly expand?: string;
|
|
318
318
|
/**
|
|
319
|
-
* Filters the response by one or multiple fields.
|
|
320
|
-
* @type {
|
|
319
|
+
* 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>
|
|
320
|
+
* @type {string}
|
|
321
321
|
* @memberof InviteUsersApiListInvites
|
|
322
322
|
*/
|
|
323
|
-
readonly filters?:
|
|
323
|
+
readonly filters?: string;
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
326
|
* InviteUsersApi - object-oriented interface
|
|
@@ -366,7 +366,7 @@ export declare class InviteUsersApi extends BaseAPI {
|
|
|
366
366
|
*/
|
|
367
367
|
inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteUsersResponseClass, any>>;
|
|
368
368
|
/**
|
|
369
|
-
* Returns a list of invited users you have previously created.
|
|
369
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
370
370
|
* @summary List invited users
|
|
371
371
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
@@ -288,16 +288,16 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
288
288
|
});
|
|
289
289
|
},
|
|
290
290
|
/**
|
|
291
|
-
* Returns a list of invited users you have previously created.
|
|
291
|
+
* 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.
|
|
292
292
|
* @summary List invited users
|
|
293
293
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
294
294
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
295
295
|
* @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.
|
|
296
|
-
* @param {
|
|
296
|
+
* @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>
|
|
297
297
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
298
|
-
* @param {
|
|
299
|
-
* @param {
|
|
300
|
-
* @param {
|
|
298
|
+
* @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>
|
|
299
|
+
* @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>
|
|
300
|
+
* @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>
|
|
301
301
|
* @param {*} [options] Override http request option.
|
|
302
302
|
* @throws {RequiredError}
|
|
303
303
|
*/
|
|
@@ -454,16 +454,16 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
454
454
|
});
|
|
455
455
|
},
|
|
456
456
|
/**
|
|
457
|
-
* Returns a list of invited users you have previously created.
|
|
457
|
+
* 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.
|
|
458
458
|
* @summary List invited users
|
|
459
459
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
460
460
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
461
461
|
* @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.
|
|
462
|
-
* @param {
|
|
462
|
+
* @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>
|
|
463
463
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
464
|
-
* @param {
|
|
465
|
-
* @param {
|
|
466
|
-
* @param {
|
|
464
|
+
* @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>
|
|
465
|
+
* @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>
|
|
466
|
+
* @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>
|
|
467
467
|
* @param {*} [options] Override http request option.
|
|
468
468
|
* @throws {RequiredError}
|
|
469
469
|
*/
|
|
@@ -535,16 +535,16 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
535
535
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
536
536
|
},
|
|
537
537
|
/**
|
|
538
|
-
* Returns a list of invited users you have previously created.
|
|
538
|
+
* 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.
|
|
539
539
|
* @summary List invited users
|
|
540
540
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
541
541
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
542
542
|
* @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.
|
|
543
|
-
* @param {
|
|
543
|
+
* @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>
|
|
544
544
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
545
|
-
* @param {
|
|
546
|
-
* @param {
|
|
547
|
-
* @param {
|
|
545
|
+
* @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>
|
|
546
|
+
* @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>
|
|
547
|
+
* @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>
|
|
548
548
|
* @param {*} [options] Override http request option.
|
|
549
549
|
* @throws {RequiredError}
|
|
550
550
|
*/
|
|
@@ -614,7 +614,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
614
614
|
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
615
615
|
};
|
|
616
616
|
/**
|
|
617
|
-
* Returns a list of invited users you have previously created.
|
|
617
|
+
* 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.
|
|
618
618
|
* @summary List invited users
|
|
619
619
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
620
620
|
* @param {*} [options] Override http request option.
|
package/dist/api/users-api.d.ts
CHANGED
|
@@ -98,20 +98,20 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
98
98
|
*/
|
|
99
99
|
getUser: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
100
|
/**
|
|
101
|
-
* Returns a list of users you have previously created.
|
|
101
|
+
* 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.
|
|
102
102
|
* @summary List users
|
|
103
103
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
105
105
|
* @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.
|
|
106
|
-
* @param {
|
|
106
|
+
* @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>
|
|
107
107
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
108
|
+
* @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>
|
|
109
|
+
* @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>
|
|
110
|
+
* @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>
|
|
111
111
|
* @param {*} [options] Override http request option.
|
|
112
112
|
* @throws {RequiredError}
|
|
113
113
|
*/
|
|
114
|
-
listUsers: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
114
|
+
listUsers: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
115
115
|
};
|
|
116
116
|
/**
|
|
117
117
|
* UsersApi - functional programming interface
|
|
@@ -186,20 +186,20 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
186
186
|
*/
|
|
187
187
|
getUser(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>>;
|
|
188
188
|
/**
|
|
189
|
-
* Returns a list of users you have previously created.
|
|
189
|
+
* 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.
|
|
190
190
|
* @summary List users
|
|
191
191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
192
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
193
193
|
* @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.
|
|
194
|
-
* @param {
|
|
194
|
+
* @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>
|
|
195
195
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
196
|
-
* @param {
|
|
197
|
-
* @param {
|
|
198
|
-
* @param {
|
|
196
|
+
* @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>
|
|
197
|
+
* @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>
|
|
198
|
+
* @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>
|
|
199
199
|
* @param {*} [options] Override http request option.
|
|
200
200
|
* @throws {RequiredError}
|
|
201
201
|
*/
|
|
202
|
-
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
202
|
+
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>>;
|
|
203
203
|
};
|
|
204
204
|
/**
|
|
205
205
|
* UsersApi - factory interface
|
|
@@ -274,20 +274,20 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
274
274
|
*/
|
|
275
275
|
getUser(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass>;
|
|
276
276
|
/**
|
|
277
|
-
* Returns a list of users you have previously created.
|
|
277
|
+
* 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.
|
|
278
278
|
* @summary List users
|
|
279
279
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
280
280
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
281
281
|
* @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.
|
|
282
|
-
* @param {
|
|
282
|
+
* @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>
|
|
283
283
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
284
|
-
* @param {
|
|
285
|
-
* @param {
|
|
286
|
-
* @param {
|
|
284
|
+
* @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>
|
|
285
|
+
* @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>
|
|
286
|
+
* @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>
|
|
287
287
|
* @param {*} [options] Override http request option.
|
|
288
288
|
* @throws {RequiredError}
|
|
289
289
|
*/
|
|
290
|
-
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
290
|
+
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass>;
|
|
291
291
|
};
|
|
292
292
|
/**
|
|
293
293
|
* Request parameters for assignUserRoles operation in UsersApi.
|
|
@@ -484,11 +484,11 @@ export interface UsersApiListUsersRequest {
|
|
|
484
484
|
*/
|
|
485
485
|
readonly pageToken?: any;
|
|
486
486
|
/**
|
|
487
|
-
* Filter the response by one or multiple fields.
|
|
488
|
-
* @type {
|
|
487
|
+
* 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>
|
|
488
|
+
* @type {string}
|
|
489
489
|
* @memberof UsersApiListUsers
|
|
490
490
|
*/
|
|
491
|
-
readonly filter?:
|
|
491
|
+
readonly filter?: string;
|
|
492
492
|
/**
|
|
493
493
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
494
494
|
* @type {any}
|
|
@@ -496,23 +496,23 @@ export interface UsersApiListUsersRequest {
|
|
|
496
496
|
*/
|
|
497
497
|
readonly search?: any;
|
|
498
498
|
/**
|
|
499
|
-
*
|
|
500
|
-
* @type {
|
|
499
|
+
* 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>
|
|
500
|
+
* @type {string}
|
|
501
501
|
* @memberof UsersApiListUsers
|
|
502
502
|
*/
|
|
503
|
-
readonly order?:
|
|
503
|
+
readonly order?: string;
|
|
504
504
|
/**
|
|
505
|
-
*
|
|
506
|
-
* @type {
|
|
505
|
+
* 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>
|
|
506
|
+
* @type {string}
|
|
507
507
|
* @memberof UsersApiListUsers
|
|
508
508
|
*/
|
|
509
|
-
readonly expand?:
|
|
509
|
+
readonly expand?: string;
|
|
510
510
|
/**
|
|
511
|
-
* Filters the response by one or multiple fields.
|
|
512
|
-
* @type {
|
|
511
|
+
* 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>
|
|
512
|
+
* @type {string}
|
|
513
513
|
* @memberof UsersApiListUsers
|
|
514
514
|
*/
|
|
515
|
-
readonly filters?:
|
|
515
|
+
readonly filters?: string;
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
518
|
* UsersApi - object-oriented interface
|
|
@@ -586,7 +586,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
586
586
|
*/
|
|
587
587
|
getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserResponseClass, any>>;
|
|
588
588
|
/**
|
|
589
|
-
* Returns a list of users you have previously created.
|
|
589
|
+
* 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.
|
|
590
590
|
* @summary List users
|
|
591
591
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
592
592
|
* @param {*} [options] Override http request option.
|
package/dist/api/users-api.js
CHANGED
|
@@ -487,16 +487,16 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
487
487
|
});
|
|
488
488
|
},
|
|
489
489
|
/**
|
|
490
|
-
* Returns a list of users you have previously created.
|
|
490
|
+
* 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.
|
|
491
491
|
* @summary List users
|
|
492
492
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
493
493
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
494
494
|
* @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.
|
|
495
|
-
* @param {
|
|
495
|
+
* @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>
|
|
496
496
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
497
|
-
* @param {
|
|
498
|
-
* @param {
|
|
499
|
-
* @param {
|
|
497
|
+
* @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>
|
|
498
|
+
* @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>
|
|
499
|
+
* @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>
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
501
501
|
* @throws {RequiredError}
|
|
502
502
|
*/
|
|
@@ -732,16 +732,16 @@ var UsersApiFp = function (configuration) {
|
|
|
732
732
|
});
|
|
733
733
|
},
|
|
734
734
|
/**
|
|
735
|
-
* Returns a list of users you have previously created.
|
|
735
|
+
* 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.
|
|
736
736
|
* @summary List users
|
|
737
737
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
738
738
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
739
739
|
* @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.
|
|
740
|
-
* @param {
|
|
740
|
+
* @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>
|
|
741
741
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
742
|
-
* @param {
|
|
743
|
-
* @param {
|
|
744
|
-
* @param {
|
|
742
|
+
* @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>
|
|
743
|
+
* @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>
|
|
744
|
+
* @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>
|
|
745
745
|
* @param {*} [options] Override http request option.
|
|
746
746
|
* @throws {RequiredError}
|
|
747
747
|
*/
|
|
@@ -852,16 +852,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
852
852
|
return localVarFp.getUser(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
853
853
|
},
|
|
854
854
|
/**
|
|
855
|
-
* Returns a list of users you have previously created.
|
|
855
|
+
* 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.
|
|
856
856
|
* @summary List users
|
|
857
857
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
858
858
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
859
859
|
* @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.
|
|
860
|
-
* @param {
|
|
860
|
+
* @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>
|
|
861
861
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
862
|
-
* @param {
|
|
863
|
-
* @param {
|
|
864
|
-
* @param {
|
|
862
|
+
* @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>
|
|
863
|
+
* @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>
|
|
864
|
+
* @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>
|
|
865
865
|
* @param {*} [options] Override http request option.
|
|
866
866
|
* @throws {RequiredError}
|
|
867
867
|
*/
|
|
@@ -971,7 +971,7 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
971
971
|
return (0, exports.UsersApiFp)(this.configuration).getUser(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
972
972
|
};
|
|
973
973
|
/**
|
|
974
|
-
* Returns a list of users you have previously created.
|
|
974
|
+
* 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.
|
|
975
975
|
* @summary List users
|
|
976
976
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
977
977
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
24
24
|
};
|
|
25
25
|
export interface LoginClass {
|
|
26
26
|
accessToken: string;
|
|
27
|
-
permissions:
|
|
27
|
+
permissions: string;
|
|
28
28
|
}
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
@@ -52,7 +52,7 @@ export declare class BaseAPI {
|
|
|
52
52
|
protected axios: AxiosInstance;
|
|
53
53
|
protected configuration: Configuration | undefined;
|
|
54
54
|
private tokenData?;
|
|
55
|
-
private permissions
|
|
55
|
+
private permissions?;
|
|
56
56
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
57
57
|
selectEnvironment(env: Environment): void;
|
|
58
58
|
selectBasePath(path: string): void;
|
package/dist/base.js
CHANGED
|
@@ -121,7 +121,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
121
121
|
if (axios === void 0) { axios = axios_1.default; }
|
|
122
122
|
this.basePath = basePath;
|
|
123
123
|
this.axios = axios;
|
|
124
|
-
this.permissions = [];
|
|
125
124
|
this.loadTokenData();
|
|
126
125
|
if (configuration) {
|
|
127
126
|
this.configuration = configuration;
|
|
@@ -145,7 +144,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
145
144
|
this.configuration.basePath = path;
|
|
146
145
|
};
|
|
147
146
|
BaseAPI.prototype.getPermissions = function () {
|
|
148
|
-
return this.permissions;
|
|
147
|
+
return this.permissions.split(',');
|
|
149
148
|
};
|
|
150
149
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
151
150
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -53,6 +53,12 @@ export interface InviteClass {
|
|
|
53
53
|
* @memberof InviteClass
|
|
54
54
|
*/
|
|
55
55
|
'updatedAt': string;
|
|
56
|
+
/**
|
|
57
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof InviteClass
|
|
60
|
+
*/
|
|
61
|
+
'ern': string;
|
|
56
62
|
/**
|
|
57
63
|
* Organization associated with the user
|
|
58
64
|
* @type {OrganizationClass}
|
|
@@ -22,11 +22,11 @@ export interface InviteOrgRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'email': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<
|
|
25
|
+
* Role ids to be assigned.
|
|
26
|
+
* @type {Array<number>}
|
|
27
27
|
* @memberof InviteOrgRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'roleIds': Array<number>;
|
|
30
30
|
/**
|
|
31
31
|
* Name of the invited organization.
|
|
32
32
|
* @type {string}
|
|
@@ -28,9 +28,9 @@ export interface InviteUserRequestDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'organizationId'?: number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<
|
|
31
|
+
* Role ids to be assigned.
|
|
32
|
+
* @type {Array<number>}
|
|
33
33
|
* @memberof InviteUserRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'
|
|
35
|
+
'roleIds': Array<number>;
|
|
36
36
|
}
|
|
@@ -22,11 +22,11 @@ export interface InviteUsersRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'emails': Array<string>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<
|
|
25
|
+
* Role ids to be assigned.
|
|
26
|
+
* @type {Array<number>}
|
|
27
27
|
* @memberof InviteUsersRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'
|
|
29
|
+
'roleIds': Array<number>;
|
|
30
30
|
/**
|
|
31
31
|
* Organization associated with the users.
|
|
32
32
|
* @type {number}
|
|
@@ -90,6 +90,12 @@ export interface UserClass {
|
|
|
90
90
|
* @memberof UserClass
|
|
91
91
|
*/
|
|
92
92
|
'updatedAt': string;
|
|
93
|
+
/**
|
|
94
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof UserClass
|
|
97
|
+
*/
|
|
98
|
+
'ern': string;
|
|
93
99
|
/**
|
|
94
100
|
* Organization associated with the user
|
|
95
101
|
* @type {OrganizationClass}
|
package/models/invite-class.ts
CHANGED
|
@@ -58,6 +58,12 @@ export interface InviteClass {
|
|
|
58
58
|
* @memberof InviteClass
|
|
59
59
|
*/
|
|
60
60
|
'updatedAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof InviteClass
|
|
65
|
+
*/
|
|
66
|
+
'ern': string;
|
|
61
67
|
/**
|
|
62
68
|
* Organization associated with the user
|
|
63
69
|
* @type {OrganizationClass}
|
|
@@ -27,11 +27,11 @@ export interface InviteOrgRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'email': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<
|
|
30
|
+
* Role ids to be assigned.
|
|
31
|
+
* @type {Array<number>}
|
|
32
32
|
* @memberof InviteOrgRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'roleIds': Array<number>;
|
|
35
35
|
/**
|
|
36
36
|
* Name of the invited organization.
|
|
37
37
|
* @type {string}
|
|
@@ -33,10 +33,10 @@ export interface InviteUserRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'organizationId'?: number;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {Array<
|
|
36
|
+
* Role ids to be assigned.
|
|
37
|
+
* @type {Array<number>}
|
|
38
38
|
* @memberof InviteUserRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'
|
|
40
|
+
'roleIds': Array<number>;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -27,11 +27,11 @@ export interface InviteUsersRequestDto {
|
|
|
27
27
|
*/
|
|
28
28
|
'emails': Array<string>;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Array<
|
|
30
|
+
* Role ids to be assigned.
|
|
31
|
+
* @type {Array<number>}
|
|
32
32
|
* @memberof InviteUsersRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'
|
|
34
|
+
'roleIds': Array<number>;
|
|
35
35
|
/**
|
|
36
36
|
* Organization associated with the users.
|
|
37
37
|
* @type {number}
|
package/models/user-class.ts
CHANGED
|
@@ -95,6 +95,12 @@ export interface UserClass {
|
|
|
95
95
|
* @memberof UserClass
|
|
96
96
|
*/
|
|
97
97
|
'updatedAt': string;
|
|
98
|
+
/**
|
|
99
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof UserClass
|
|
102
|
+
*/
|
|
103
|
+
'ern': string;
|
|
98
104
|
/**
|
|
99
105
|
* Organization associated with the user
|
|
100
106
|
* @type {OrganizationClass}
|