@emilgroup/tenant-sdk-node 1.16.1-beta.0 → 1.17.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-node@1.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.17.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.17.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/invite-users-api.ts
CHANGED
|
@@ -233,20 +233,20 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
233
233
|
};
|
|
234
234
|
},
|
|
235
235
|
/**
|
|
236
|
-
* Returns a list of invited users you have previously created.
|
|
236
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
237
237
|
* @summary List invited users
|
|
238
238
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
239
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
240
240
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
241
|
-
* @param {
|
|
241
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
242
242
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
243
|
-
* @param {
|
|
244
|
-
* @param {
|
|
245
|
-
* @param {
|
|
243
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
244
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
245
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
*/
|
|
249
|
-
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
249
|
+
listInvites: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
250
250
|
const localVarPath = `/tenantservice/v1/users/invites`;
|
|
251
251
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
252
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -367,20 +367,20 @@ export const InviteUsersApiFp = function(configuration?: Configuration) {
|
|
|
367
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
370
|
-
* Returns a list of invited users you have previously created.
|
|
370
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
371
371
|
* @summary List invited users
|
|
372
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
373
373
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
374
374
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
375
|
-
* @param {
|
|
375
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
376
376
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
379
|
-
* @param {
|
|
377
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
378
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
379
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
380
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
|
-
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
383
|
+
async listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvitesResponseClass>> {
|
|
384
384
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
385
385
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
386
386
|
},
|
|
@@ -439,20 +439,20 @@ export const InviteUsersApiFactory = function (configuration?: Configuration, ba
|
|
|
439
439
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
440
440
|
},
|
|
441
441
|
/**
|
|
442
|
-
* Returns a list of invited users you have previously created.
|
|
442
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
443
443
|
* @summary List invited users
|
|
444
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
445
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
446
446
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
447
|
-
* @param {
|
|
447
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
448
448
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
449
|
-
* @param {
|
|
450
|
-
* @param {
|
|
451
|
-
* @param {
|
|
449
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
450
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
451
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
452
452
|
* @param {*} [options] Override http request option.
|
|
453
453
|
* @throws {RequiredError}
|
|
454
454
|
*/
|
|
455
|
-
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
455
|
+
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass> {
|
|
456
456
|
return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
457
457
|
},
|
|
458
458
|
};
|
|
@@ -570,11 +570,11 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
570
570
|
readonly pageToken?: any
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
* Filter the response by one or multiple fields.
|
|
574
|
-
* @type {
|
|
573
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
574
|
+
* @type {string}
|
|
575
575
|
* @memberof InviteUsersApiListInvites
|
|
576
576
|
*/
|
|
577
|
-
readonly filter?:
|
|
577
|
+
readonly filter?: string
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -584,25 +584,25 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
584
584
|
readonly search?: any
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
|
-
*
|
|
588
|
-
* @type {
|
|
587
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email, expiresOn</i>
|
|
588
|
+
* @type {string}
|
|
589
589
|
* @memberof InviteUsersApiListInvites
|
|
590
590
|
*/
|
|
591
|
-
readonly order?:
|
|
591
|
+
readonly order?: string
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
*
|
|
595
|
-
* @type {
|
|
594
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, organizations<i>
|
|
595
|
+
* @type {string}
|
|
596
596
|
* @memberof InviteUsersApiListInvites
|
|
597
597
|
*/
|
|
598
|
-
readonly expand?:
|
|
598
|
+
readonly expand?: string
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
|
-
* Filters the response by one or multiple fields.
|
|
602
|
-
* @type {
|
|
601
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, email, token, organizationId, ern</i>
|
|
602
|
+
* @type {string}
|
|
603
603
|
* @memberof InviteUsersApiListInvites
|
|
604
604
|
*/
|
|
605
|
-
readonly filters?:
|
|
605
|
+
readonly filters?: string
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
/**
|
|
@@ -661,7 +661,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
/**
|
|
664
|
-
* Returns a list of invited users you have previously created.
|
|
664
|
+
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
665
665
|
* @summary List invited users
|
|
666
666
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
667
667
|
* @param {*} [options] Override http request option.
|
package/api/users-api.ts
CHANGED
|
@@ -433,20 +433,20 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
433
433
|
};
|
|
434
434
|
},
|
|
435
435
|
/**
|
|
436
|
-
* Returns a list of users you have previously created.
|
|
436
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
437
437
|
* @summary List users
|
|
438
438
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
439
439
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
440
440
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
441
|
-
* @param {
|
|
441
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
442
442
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
443
|
-
* @param {
|
|
444
|
-
* @param {
|
|
445
|
-
* @param {
|
|
443
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
444
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
445
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
447
447
|
* @throws {RequiredError}
|
|
448
448
|
*/
|
|
449
|
-
listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
449
|
+
listUsers: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
450
450
|
const localVarPath = `/tenantservice/v1/users`;
|
|
451
451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
452
452
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -610,20 +610,20 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
610
610
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
611
611
|
},
|
|
612
612
|
/**
|
|
613
|
-
* Returns a list of users you have previously created.
|
|
613
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
614
614
|
* @summary List users
|
|
615
615
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
616
616
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
617
617
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
618
|
-
* @param {
|
|
618
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
619
619
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
620
|
-
* @param {
|
|
621
|
-
* @param {
|
|
622
|
-
* @param {
|
|
620
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
621
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
622
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
624
624
|
* @throws {RequiredError}
|
|
625
625
|
*/
|
|
626
|
-
async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
626
|
+
async listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsersResponseClass>> {
|
|
627
627
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
628
628
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
629
629
|
},
|
|
@@ -721,20 +721,20 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
721
721
|
return localVarFp.getUser(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
|
|
722
722
|
},
|
|
723
723
|
/**
|
|
724
|
-
* Returns a list of users you have previously created.
|
|
724
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
725
725
|
* @summary List users
|
|
726
726
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
727
727
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
728
728
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
729
|
-
* @param {
|
|
729
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
730
730
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
731
|
-
* @param {
|
|
732
|
-
* @param {
|
|
733
|
-
* @param {
|
|
731
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
732
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
733
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
734
734
|
* @param {*} [options] Override http request option.
|
|
735
735
|
* @throws {RequiredError}
|
|
736
736
|
*/
|
|
737
|
-
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
737
|
+
listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass> {
|
|
738
738
|
return localVarFp.listUsers(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
739
739
|
},
|
|
740
740
|
};
|
|
@@ -957,11 +957,11 @@ export interface UsersApiListUsersRequest {
|
|
|
957
957
|
readonly pageToken?: any
|
|
958
958
|
|
|
959
959
|
/**
|
|
960
|
-
* Filter the response by one or multiple fields.
|
|
961
|
-
* @type {
|
|
960
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
961
|
+
* @type {string}
|
|
962
962
|
* @memberof UsersApiListUsers
|
|
963
963
|
*/
|
|
964
|
-
readonly filter?:
|
|
964
|
+
readonly filter?: string
|
|
965
965
|
|
|
966
966
|
/**
|
|
967
967
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -971,25 +971,25 @@ export interface UsersApiListUsersRequest {
|
|
|
971
971
|
readonly search?: any
|
|
972
972
|
|
|
973
973
|
/**
|
|
974
|
-
*
|
|
975
|
-
* @type {
|
|
974
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: email</i>
|
|
975
|
+
* @type {string}
|
|
976
976
|
* @memberof UsersApiListUsers
|
|
977
977
|
*/
|
|
978
|
-
readonly order?:
|
|
978
|
+
readonly order?: string
|
|
979
979
|
|
|
980
980
|
/**
|
|
981
|
-
*
|
|
982
|
-
* @type {
|
|
981
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: roles, subscriptions, organizations<i>
|
|
982
|
+
* @type {string}
|
|
983
983
|
* @memberof UsersApiListUsers
|
|
984
984
|
*/
|
|
985
|
-
readonly expand?:
|
|
985
|
+
readonly expand?: string
|
|
986
986
|
|
|
987
987
|
/**
|
|
988
|
-
* Filters the response by one or multiple fields.
|
|
989
|
-
* @type {
|
|
988
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern</i>
|
|
989
|
+
* @type {string}
|
|
990
990
|
* @memberof UsersApiListUsers
|
|
991
991
|
*/
|
|
992
|
-
readonly filters?:
|
|
992
|
+
readonly filters?: string
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
/**
|
|
@@ -1088,7 +1088,7 @@ export class UsersApi extends BaseAPI {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
1091
|
-
* Returns a list of users you have previously created.
|
|
1091
|
+
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
1092
1092
|
* @summary List users
|
|
1093
1093
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
1094
1094
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -41,7 +41,7 @@ export const COLLECTION_FORMATS = {
|
|
|
41
41
|
|
|
42
42
|
export interface LoginClass {
|
|
43
43
|
accessToken: string;
|
|
44
|
-
permissions:
|
|
44
|
+
permissions: string;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export enum Environment {
|
|
@@ -79,7 +79,7 @@ export class BaseAPI {
|
|
|
79
79
|
protected configuration: Configuration;
|
|
80
80
|
private username?: string;
|
|
81
81
|
private password?: string;
|
|
82
|
-
private permissions
|
|
82
|
+
private permissions?: string;
|
|
83
83
|
|
|
84
84
|
constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
|
|
85
85
|
if (configuration) {
|
|
@@ -151,7 +151,7 @@ export class BaseAPI {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
getPermissions(): Array<string> {
|
|
154
|
-
return this.permissions;
|
|
154
|
+
return this.permissions.split(',');
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
async authorize(username: string, password: string): Promise<void> {
|
|
@@ -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.
|
|
@@ -292,16 +292,16 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
292
292
|
});
|
|
293
293
|
},
|
|
294
294
|
/**
|
|
295
|
-
* Returns a list of invited users you have previously created.
|
|
295
|
+
* 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.
|
|
296
296
|
* @summary List invited users
|
|
297
297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
298
298
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
299
299
|
* @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.
|
|
300
|
-
* @param {
|
|
300
|
+
* @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>
|
|
301
301
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {
|
|
302
|
+
* @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>
|
|
303
|
+
* @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>
|
|
304
|
+
* @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>
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
*/
|
|
@@ -458,16 +458,16 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
458
458
|
});
|
|
459
459
|
},
|
|
460
460
|
/**
|
|
461
|
-
* Returns a list of invited users you have previously created.
|
|
461
|
+
* 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.
|
|
462
462
|
* @summary List invited users
|
|
463
463
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
464
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
465
465
|
* @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.
|
|
466
|
-
* @param {
|
|
466
|
+
* @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>
|
|
467
467
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
468
|
-
* @param {
|
|
469
|
-
* @param {
|
|
470
|
-
* @param {
|
|
468
|
+
* @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>
|
|
469
|
+
* @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>
|
|
470
|
+
* @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>
|
|
471
471
|
* @param {*} [options] Override http request option.
|
|
472
472
|
* @throws {RequiredError}
|
|
473
473
|
*/
|
|
@@ -539,16 +539,16 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
539
539
|
return localVarFp.inviteUsers(inviteUsersRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
540
540
|
},
|
|
541
541
|
/**
|
|
542
|
-
* Returns a list of invited users you have previously created.
|
|
542
|
+
* 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.
|
|
543
543
|
* @summary List invited users
|
|
544
544
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
545
545
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
546
546
|
* @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.
|
|
547
|
-
* @param {
|
|
547
|
+
* @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>
|
|
548
548
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
549
|
-
* @param {
|
|
550
|
-
* @param {
|
|
551
|
-
* @param {
|
|
549
|
+
* @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>
|
|
550
|
+
* @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>
|
|
551
|
+
* @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>
|
|
552
552
|
* @param {*} [options] Override http request option.
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
*/
|
|
@@ -618,7 +618,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
618
618
|
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
619
|
};
|
|
620
620
|
/**
|
|
621
|
-
* Returns a list of invited users you have previously created.
|
|
621
|
+
* 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.
|
|
622
622
|
* @summary List invited users
|
|
623
623
|
* @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
|
|
624
624
|
* @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
|
@@ -491,16 +491,16 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
491
491
|
});
|
|
492
492
|
},
|
|
493
493
|
/**
|
|
494
|
-
* Returns a list of users you have previously created.
|
|
494
|
+
* 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.
|
|
495
495
|
* @summary List users
|
|
496
496
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
497
497
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
498
498
|
* @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.
|
|
499
|
-
* @param {
|
|
499
|
+
* @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>
|
|
500
500
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
501
|
-
* @param {
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {
|
|
501
|
+
* @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>
|
|
502
|
+
* @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>
|
|
503
|
+
* @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>
|
|
504
504
|
* @param {*} [options] Override http request option.
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
*/
|
|
@@ -736,16 +736,16 @@ var UsersApiFp = function (configuration) {
|
|
|
736
736
|
});
|
|
737
737
|
},
|
|
738
738
|
/**
|
|
739
|
-
* Returns a list of users you have previously created.
|
|
739
|
+
* 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.
|
|
740
740
|
* @summary List users
|
|
741
741
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
742
742
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
743
743
|
* @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.
|
|
744
|
-
* @param {
|
|
744
|
+
* @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>
|
|
745
745
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
746
|
-
* @param {
|
|
747
|
-
* @param {
|
|
748
|
-
* @param {
|
|
746
|
+
* @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>
|
|
747
|
+
* @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>
|
|
748
|
+
* @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>
|
|
749
749
|
* @param {*} [options] Override http request option.
|
|
750
750
|
* @throws {RequiredError}
|
|
751
751
|
*/
|
|
@@ -856,16 +856,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
856
856
|
return localVarFp.getUser(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
857
857
|
},
|
|
858
858
|
/**
|
|
859
|
-
* Returns a list of users you have previously created.
|
|
859
|
+
* 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.
|
|
860
860
|
* @summary List users
|
|
861
861
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
862
862
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
863
863
|
* @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.
|
|
864
|
-
* @param {
|
|
864
|
+
* @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>
|
|
865
865
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
866
|
-
* @param {
|
|
867
|
-
* @param {
|
|
868
|
-
* @param {
|
|
866
|
+
* @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>
|
|
867
|
+
* @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>
|
|
868
|
+
* @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>
|
|
869
869
|
* @param {*} [options] Override http request option.
|
|
870
870
|
* @throws {RequiredError}
|
|
871
871
|
*/
|
|
@@ -975,7 +975,7 @@ var UsersApi = /** @class */ (function (_super) {
|
|
|
975
975
|
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); });
|
|
976
976
|
};
|
|
977
977
|
/**
|
|
978
|
-
* Returns a list of users you have previously created.
|
|
978
|
+
* 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.
|
|
979
979
|
* @summary List users
|
|
980
980
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
981
981
|
* @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",
|
|
@@ -53,7 +53,7 @@ export declare class BaseAPI {
|
|
|
53
53
|
protected configuration: Configuration;
|
|
54
54
|
private username?;
|
|
55
55
|
private password?;
|
|
56
|
-
private permissions
|
|
56
|
+
private permissions?;
|
|
57
57
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
58
58
|
initialize(env?: Environment): Promise<void>;
|
|
59
59
|
private loadCredentials;
|
package/dist/base.js
CHANGED
|
@@ -150,7 +150,6 @@ var BaseAPI = /** @class */ (function () {
|
|
|
150
150
|
if (axios === void 0) { axios = axios_1.default; }
|
|
151
151
|
this.basePath = basePath;
|
|
152
152
|
this.axios = axios;
|
|
153
|
-
this.permissions = [];
|
|
154
153
|
if (configuration) {
|
|
155
154
|
this.configuration = configuration;
|
|
156
155
|
this.basePath = configuration.basePath || this.basePath;
|
|
@@ -244,7 +243,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
244
243
|
this.configuration.basePath = env;
|
|
245
244
|
};
|
|
246
245
|
BaseAPI.prototype.getPermissions = function () {
|
|
247
|
-
return this.permissions;
|
|
246
|
+
return this.permissions.split(',');
|
|
248
247
|
};
|
|
249
248
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
250
249
|
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}
|