@emilgroup/tenant-sdk-node 1.22.0 → 1.22.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +5 -11
- package/README.md +2 -2
- package/api/dashboard-api.ts +99 -0
- package/api/data-report-api.ts +0 -97
- package/api/invite-organizations-api.ts +15 -15
- package/api/invite-users-api.ts +42 -145
- package/api/roles-api.ts +4 -0
- package/api/users-api.ts +18 -447
- package/dist/api/dashboard-api.d.ts +52 -0
- package/dist/api/dashboard-api.js +88 -0
- package/dist/api/data-report-api.d.ts +0 -51
- package/dist/api/data-report-api.js +0 -88
- package/dist/api/invite-organizations-api.d.ts +9 -9
- package/dist/api/invite-organizations-api.js +12 -12
- package/dist/api/invite-users-api.d.ts +30 -86
- package/dist/api/invite-users-api.js +33 -125
- package/dist/api/roles-api.d.ts +4 -0
- package/dist/api/roles-api.js +4 -0
- package/dist/api/users-api.d.ts +15 -242
- package/dist/api/users-api.js +15 -382
- package/dist/models/{assign-user-roles-request-dto.d.ts → create-tenant-db-config-request-dto.d.ts} +10 -10
- package/dist/models/{enable-user-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -7
- package/dist/models/index.d.ts +5 -11
- package/dist/models/index.js +5 -11
- package/dist/models/invite-class.d.ts +12 -12
- package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
- package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
- package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
- package/dist/models/user-class.d.ts +8 -8
- package/models/{assign-user-roles-request-dto.ts → create-tenant-db-config-request-dto.ts} +10 -10
- package/models/{enable-user-response-class.ts → get-embedded-url-response-class.ts} +6 -7
- package/models/index.ts +5 -11
- package/models/invite-class.ts +12 -12
- package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
- package/models/invite-user-request-dto-rest.ts +55 -0
- package/models/invite-users-request-dto-rest.ts +55 -0
- package/models/user-class.ts +8 -8
- package/package.json +1 -1
- package/dist/models/assign-user-roles-response-class.d.ts +0 -25
- package/dist/models/create-permission-request-dto.d.ts +0 -42
- package/dist/models/create-role-request-dto.d.ts +0 -36
- package/dist/models/disable-user-response-class.d.ts +0 -25
- package/dist/models/enable-user-response-class.js +0 -15
- package/dist/models/invite-org-request-dto.js +0 -15
- package/dist/models/invite-user-request-dto.d.ts +0 -43
- package/dist/models/invite-user-request-dto.js +0 -15
- package/dist/models/invite-users-request-dto.d.ts +0 -36
- package/dist/models/invite-users-request-dto.js +0 -15
- package/dist/models/partner-invitation-data-dto.d.ts +0 -36
- package/dist/models/partner-invitation-data-dto.js +0 -15
- package/dist/models/update-role-request-dto.d.ts +0 -42
- package/dist/models/update-role-request-dto.js +0 -15
- package/models/assign-user-roles-response-class.ts +0 -31
- package/models/create-permission-request-dto.ts +0 -48
- package/models/create-role-request-dto.ts +0 -42
- package/models/disable-user-response-class.ts +0 -31
- package/models/invite-user-request-dto.ts +0 -49
- package/models/invite-users-request-dto.ts +0 -42
- package/models/partner-invitation-data-dto.ts +0 -42
- package/models/update-role-request-dto.ts +0 -48
- /package/dist/models/{assign-user-roles-request-dto.js → create-tenant-db-config-request-dto.js} +0 -0
- /package/dist/models/{assign-user-roles-response-class.js → get-embedded-url-response-class.js} +0 -0
- /package/dist/models/{create-permission-request-dto.js → invite-org-request-dto-rest.js} +0 -0
- /package/dist/models/{create-role-request-dto.js → invite-user-request-dto-rest.js} +0 -0
- /package/dist/models/{disable-user-response-class.js → invite-users-request-dto-rest.js} +0 -0
|
@@ -14,10 +14,9 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { BatchDeleteRequestDto } from '../models';
|
|
16
16
|
import { BatchDeleteResponseClass } from '../models';
|
|
17
|
-
import {
|
|
18
|
-
import { InviteUserRequestDto } from '../models';
|
|
17
|
+
import { InviteUserRequestDtoRest } from '../models';
|
|
19
18
|
import { InviteUserResponseClass } from '../models';
|
|
20
|
-
import {
|
|
19
|
+
import { InviteUsersRequestDtoRest } from '../models';
|
|
21
20
|
import { InviteUsersResponseClass } from '../models';
|
|
22
21
|
import { ListInvitesResponseClass } from '../models';
|
|
23
22
|
/**
|
|
@@ -25,15 +24,6 @@ import { ListInvitesResponseClass } from '../models';
|
|
|
25
24
|
* @export
|
|
26
25
|
*/
|
|
27
26
|
export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
-
/**
|
|
29
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
30
|
-
* @summary Delete the invited user
|
|
31
|
-
* @param {number} id
|
|
32
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
deleteInvite: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
27
|
/**
|
|
38
28
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
39
29
|
* @summary Delete invited users.
|
|
@@ -46,32 +36,32 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
|
|
|
46
36
|
/**
|
|
47
37
|
* This send an email to invite a user with the specific role/roles.
|
|
48
38
|
* @summary Invite a user
|
|
49
|
-
* @param {
|
|
39
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
50
40
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
41
|
* @param {*} [options] Override http request option.
|
|
52
42
|
* @throws {RequiredError}
|
|
53
43
|
*/
|
|
54
|
-
inviteUser: (
|
|
44
|
+
inviteUser: (inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
45
|
/**
|
|
56
46
|
* This send bulk emails to invite users with the specific role/roles.
|
|
57
47
|
* @summary Invite batch of users
|
|
58
|
-
* @param {
|
|
48
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
59
49
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
60
50
|
* @param {*} [options] Override http request option.
|
|
61
51
|
* @throws {RequiredError}
|
|
62
52
|
*/
|
|
63
|
-
inviteUsers: (
|
|
53
|
+
inviteUsers: (inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
54
|
/**
|
|
65
55
|
* 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
56
|
* @summary List invited users
|
|
67
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
68
58
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
69
59
|
* @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 {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>
|
|
60
|
+
* @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, partnerCode</i>
|
|
71
61
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
72
62
|
* @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:
|
|
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>
|
|
63
|
+
* @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: organizations<i>
|
|
64
|
+
* @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, partnerCode</i>
|
|
75
65
|
* @param {*} [options] Override http request option.
|
|
76
66
|
* @throws {RequiredError}
|
|
77
67
|
*/
|
|
@@ -82,15 +72,6 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
|
|
|
82
72
|
* @export
|
|
83
73
|
*/
|
|
84
74
|
export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
85
|
-
/**
|
|
86
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
87
|
-
* @summary Delete the invited user
|
|
88
|
-
* @param {number} id
|
|
89
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
-
* @param {*} [options] Override http request option.
|
|
91
|
-
* @throws {RequiredError}
|
|
92
|
-
*/
|
|
93
|
-
deleteInvite(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
94
75
|
/**
|
|
95
76
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
96
77
|
* @summary Delete invited users.
|
|
@@ -103,32 +84,32 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
|
103
84
|
/**
|
|
104
85
|
* This send an email to invite a user with the specific role/roles.
|
|
105
86
|
* @summary Invite a user
|
|
106
|
-
* @param {
|
|
87
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
107
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
89
|
* @param {*} [options] Override http request option.
|
|
109
90
|
* @throws {RequiredError}
|
|
110
91
|
*/
|
|
111
|
-
inviteUser(
|
|
92
|
+
inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUserResponseClass>>;
|
|
112
93
|
/**
|
|
113
94
|
* This send bulk emails to invite users with the specific role/roles.
|
|
114
95
|
* @summary Invite batch of users
|
|
115
|
-
* @param {
|
|
96
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
116
97
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
117
98
|
* @param {*} [options] Override http request option.
|
|
118
99
|
* @throws {RequiredError}
|
|
119
100
|
*/
|
|
120
|
-
inviteUsers(
|
|
101
|
+
inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteUsersResponseClass>>;
|
|
121
102
|
/**
|
|
122
103
|
* 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
104
|
* @summary List invited users
|
|
124
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
106
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
126
107
|
* @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 {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>
|
|
108
|
+
* @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, partnerCode</i>
|
|
128
109
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
129
110
|
* @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:
|
|
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>
|
|
111
|
+
* @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: organizations<i>
|
|
112
|
+
* @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, partnerCode</i>
|
|
132
113
|
* @param {*} [options] Override http request option.
|
|
133
114
|
* @throws {RequiredError}
|
|
134
115
|
*/
|
|
@@ -139,15 +120,6 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
|
|
|
139
120
|
* @export
|
|
140
121
|
*/
|
|
141
122
|
export declare const InviteUsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
142
|
-
/**
|
|
143
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
144
|
-
* @summary Delete the invited user
|
|
145
|
-
* @param {number} id
|
|
146
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
-
* @param {*} [options] Override http request option.
|
|
148
|
-
* @throws {RequiredError}
|
|
149
|
-
*/
|
|
150
|
-
deleteInvite(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
151
123
|
/**
|
|
152
124
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
153
125
|
* @summary Delete invited users.
|
|
@@ -160,56 +132,37 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
|
|
|
160
132
|
/**
|
|
161
133
|
* This send an email to invite a user with the specific role/roles.
|
|
162
134
|
* @summary Invite a user
|
|
163
|
-
* @param {
|
|
135
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
164
136
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
137
|
* @param {*} [options] Override http request option.
|
|
166
138
|
* @throws {RequiredError}
|
|
167
139
|
*/
|
|
168
|
-
inviteUser(
|
|
140
|
+
inviteUser(inviteUserRequestDtoRest: InviteUserRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUserResponseClass>;
|
|
169
141
|
/**
|
|
170
142
|
* This send bulk emails to invite users with the specific role/roles.
|
|
171
143
|
* @summary Invite batch of users
|
|
172
|
-
* @param {
|
|
144
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
173
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
146
|
* @param {*} [options] Override http request option.
|
|
175
147
|
* @throws {RequiredError}
|
|
176
148
|
*/
|
|
177
|
-
inviteUsers(
|
|
149
|
+
inviteUsers(inviteUsersRequestDtoRest: InviteUsersRequestDtoRest, authorization?: string, options?: any): AxiosPromise<InviteUsersResponseClass>;
|
|
178
150
|
/**
|
|
179
151
|
* 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
152
|
* @summary List invited users
|
|
181
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
154
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
155
|
* @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 {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>
|
|
156
|
+
* @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, partnerCode</i>
|
|
185
157
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
158
|
* @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:
|
|
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>
|
|
159
|
+
* @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: organizations<i>
|
|
160
|
+
* @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, partnerCode</i>
|
|
189
161
|
* @param {*} [options] Override http request option.
|
|
190
162
|
* @throws {RequiredError}
|
|
191
163
|
*/
|
|
192
164
|
listInvites(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvitesResponseClass>;
|
|
193
165
|
};
|
|
194
|
-
/**
|
|
195
|
-
* Request parameters for deleteInvite operation in InviteUsersApi.
|
|
196
|
-
* @export
|
|
197
|
-
* @interface InviteUsersApiDeleteInviteRequest
|
|
198
|
-
*/
|
|
199
|
-
export interface InviteUsersApiDeleteInviteRequest {
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @type {number}
|
|
203
|
-
* @memberof InviteUsersApiDeleteInvite
|
|
204
|
-
*/
|
|
205
|
-
readonly id: number;
|
|
206
|
-
/**
|
|
207
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
|
-
* @type {string}
|
|
209
|
-
* @memberof InviteUsersApiDeleteInvite
|
|
210
|
-
*/
|
|
211
|
-
readonly authorization?: string;
|
|
212
|
-
}
|
|
213
166
|
/**
|
|
214
167
|
* Request parameters for deleteInvites operation in InviteUsersApi.
|
|
215
168
|
* @export
|
|
@@ -237,10 +190,10 @@ export interface InviteUsersApiDeleteInvitesRequest {
|
|
|
237
190
|
export interface InviteUsersApiInviteUserRequest {
|
|
238
191
|
/**
|
|
239
192
|
*
|
|
240
|
-
* @type {
|
|
193
|
+
* @type {InviteUserRequestDtoRest}
|
|
241
194
|
* @memberof InviteUsersApiInviteUser
|
|
242
195
|
*/
|
|
243
|
-
readonly
|
|
196
|
+
readonly inviteUserRequestDtoRest: InviteUserRequestDtoRest;
|
|
244
197
|
/**
|
|
245
198
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
199
|
* @type {string}
|
|
@@ -256,10 +209,10 @@ export interface InviteUsersApiInviteUserRequest {
|
|
|
256
209
|
export interface InviteUsersApiInviteUsersRequest {
|
|
257
210
|
/**
|
|
258
211
|
*
|
|
259
|
-
* @type {
|
|
212
|
+
* @type {InviteUsersRequestDtoRest}
|
|
260
213
|
* @memberof InviteUsersApiInviteUsers
|
|
261
214
|
*/
|
|
262
|
-
readonly
|
|
215
|
+
readonly inviteUsersRequestDtoRest: InviteUsersRequestDtoRest;
|
|
263
216
|
/**
|
|
264
217
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
265
218
|
* @type {string}
|
|
@@ -292,7 +245,7 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
292
245
|
*/
|
|
293
246
|
readonly pageToken?: any;
|
|
294
247
|
/**
|
|
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>
|
|
248
|
+
* 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, partnerCode</i>
|
|
296
249
|
* @type {string}
|
|
297
250
|
* @memberof InviteUsersApiListInvites
|
|
298
251
|
*/
|
|
@@ -310,13 +263,13 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
310
263
|
*/
|
|
311
264
|
readonly order?: string;
|
|
312
265
|
/**
|
|
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:
|
|
266
|
+
* 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: organizations<i>
|
|
314
267
|
* @type {string}
|
|
315
268
|
* @memberof InviteUsersApiListInvites
|
|
316
269
|
*/
|
|
317
270
|
readonly expand?: string;
|
|
318
271
|
/**
|
|
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>
|
|
272
|
+
* 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, partnerCode</i>
|
|
320
273
|
* @type {string}
|
|
321
274
|
* @memberof InviteUsersApiListInvites
|
|
322
275
|
*/
|
|
@@ -329,15 +282,6 @@ export interface InviteUsersApiListInvitesRequest {
|
|
|
329
282
|
* @extends {BaseAPI}
|
|
330
283
|
*/
|
|
331
284
|
export declare class InviteUsersApi extends BaseAPI {
|
|
332
|
-
/**
|
|
333
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
334
|
-
* @summary Delete the invited user
|
|
335
|
-
* @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
|
|
336
|
-
* @param {*} [options] Override http request option.
|
|
337
|
-
* @throws {RequiredError}
|
|
338
|
-
* @memberof InviteUsersApi
|
|
339
|
-
*/
|
|
340
|
-
deleteInvite(requestParameters: InviteUsersApiDeleteInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
341
285
|
/**
|
|
342
286
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
343
287
|
* @summary Delete invited users.
|
|
@@ -96,54 +96,6 @@ var FormData = require('form-data');
|
|
|
96
96
|
var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
-
/**
|
|
100
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
101
|
-
* @summary Delete the invited user
|
|
102
|
-
* @param {number} id
|
|
103
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
deleteInvite: function (id, authorization, options) {
|
|
108
|
-
if (options === void 0) { options = {}; }
|
|
109
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
-
return __generator(this, function (_a) {
|
|
112
|
-
switch (_a.label) {
|
|
113
|
-
case 0:
|
|
114
|
-
// verify required parameter 'id' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('deleteInvite', 'id', id);
|
|
116
|
-
localVarPath = "/tenantservice/v1/users/invites/{id}"
|
|
117
|
-
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
118
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
|
-
if (configuration) {
|
|
120
|
-
baseOptions = configuration.baseOptions;
|
|
121
|
-
baseAccessToken = configuration.accessToken;
|
|
122
|
-
}
|
|
123
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
124
|
-
localVarHeaderParameter = {};
|
|
125
|
-
localVarQueryParameter = {};
|
|
126
|
-
// authentication bearer required
|
|
127
|
-
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
|
-
case 1:
|
|
130
|
-
// authentication bearer required
|
|
131
|
-
// http bearer authentication required
|
|
132
|
-
_a.sent();
|
|
133
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
|
-
}
|
|
136
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
return [2 /*return*/, {
|
|
140
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
|
-
options: localVarRequestOptions,
|
|
142
|
-
}];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
},
|
|
147
99
|
/**
|
|
148
100
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
149
101
|
* @summary Delete invited users.
|
|
@@ -196,20 +148,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
196
148
|
/**
|
|
197
149
|
* This send an email to invite a user with the specific role/roles.
|
|
198
150
|
* @summary Invite a user
|
|
199
|
-
* @param {
|
|
151
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
200
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
153
|
* @param {*} [options] Override http request option.
|
|
202
154
|
* @throws {RequiredError}
|
|
203
155
|
*/
|
|
204
|
-
inviteUser: function (
|
|
156
|
+
inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
|
|
205
157
|
if (options === void 0) { options = {}; }
|
|
206
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
160
|
return __generator(this, function (_a) {
|
|
209
161
|
switch (_a.label) {
|
|
210
162
|
case 0:
|
|
211
|
-
// verify required parameter '
|
|
212
|
-
(0, common_1.assertParamExists)('inviteUser', '
|
|
163
|
+
// verify required parameter 'inviteUserRequestDtoRest' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDtoRest', inviteUserRequestDtoRest);
|
|
213
165
|
localVarPath = "/tenantservice/v1/users/invites";
|
|
214
166
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
215
167
|
if (configuration) {
|
|
@@ -233,7 +185,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
233
185
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
186
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
187
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDtoRest, localVarRequestOptions, configuration);
|
|
237
189
|
return [2 /*return*/, {
|
|
238
190
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
239
191
|
options: localVarRequestOptions,
|
|
@@ -245,20 +197,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
245
197
|
/**
|
|
246
198
|
* This send bulk emails to invite users with the specific role/roles.
|
|
247
199
|
* @summary Invite batch of users
|
|
248
|
-
* @param {
|
|
200
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
249
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
202
|
* @param {*} [options] Override http request option.
|
|
251
203
|
* @throws {RequiredError}
|
|
252
204
|
*/
|
|
253
|
-
inviteUsers: function (
|
|
205
|
+
inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
|
|
254
206
|
if (options === void 0) { options = {}; }
|
|
255
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
256
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
257
209
|
return __generator(this, function (_a) {
|
|
258
210
|
switch (_a.label) {
|
|
259
211
|
case 0:
|
|
260
|
-
// verify required parameter '
|
|
261
|
-
(0, common_1.assertParamExists)('inviteUsers', '
|
|
212
|
+
// verify required parameter 'inviteUsersRequestDtoRest' is not null or undefined
|
|
213
|
+
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDtoRest', inviteUsersRequestDtoRest);
|
|
262
214
|
localVarPath = "/tenantservice/v1/users/invites/batch";
|
|
263
215
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
264
216
|
if (configuration) {
|
|
@@ -282,7 +234,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
282
234
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
283
235
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
236
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
285
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
237
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDtoRest, localVarRequestOptions, configuration);
|
|
286
238
|
return [2 /*return*/, {
|
|
287
239
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
288
240
|
options: localVarRequestOptions,
|
|
@@ -297,11 +249,11 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
297
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
298
250
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
299
251
|
* @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 {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>
|
|
252
|
+
* @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, partnerCode</i>
|
|
301
253
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
302
254
|
* @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:
|
|
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>
|
|
255
|
+
* @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: organizations<i>
|
|
256
|
+
* @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, partnerCode</i>
|
|
305
257
|
* @param {*} [options] Override http request option.
|
|
306
258
|
* @throws {RequiredError}
|
|
307
259
|
*/
|
|
@@ -373,27 +325,6 @@ exports.InviteUsersApiAxiosParamCreator = InviteUsersApiAxiosParamCreator;
|
|
|
373
325
|
var InviteUsersApiFp = function (configuration) {
|
|
374
326
|
var localVarAxiosParamCreator = (0, exports.InviteUsersApiAxiosParamCreator)(configuration);
|
|
375
327
|
return {
|
|
376
|
-
/**
|
|
377
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
378
|
-
* @summary Delete the invited user
|
|
379
|
-
* @param {number} id
|
|
380
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
381
|
-
* @param {*} [options] Override http request option.
|
|
382
|
-
* @throws {RequiredError}
|
|
383
|
-
*/
|
|
384
|
-
deleteInvite: function (id, authorization, options) {
|
|
385
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
386
|
-
var localVarAxiosArgs;
|
|
387
|
-
return __generator(this, function (_a) {
|
|
388
|
-
switch (_a.label) {
|
|
389
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(id, authorization, options)];
|
|
390
|
-
case 1:
|
|
391
|
-
localVarAxiosArgs = _a.sent();
|
|
392
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
393
|
-
}
|
|
394
|
-
});
|
|
395
|
-
});
|
|
396
|
-
},
|
|
397
328
|
/**
|
|
398
329
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
399
330
|
* @summary Delete invited users.
|
|
@@ -418,17 +349,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
418
349
|
/**
|
|
419
350
|
* This send an email to invite a user with the specific role/roles.
|
|
420
351
|
* @summary Invite a user
|
|
421
|
-
* @param {
|
|
352
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
422
353
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
354
|
* @param {*} [options] Override http request option.
|
|
424
355
|
* @throws {RequiredError}
|
|
425
356
|
*/
|
|
426
|
-
inviteUser: function (
|
|
357
|
+
inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
|
|
427
358
|
return __awaiter(this, void 0, void 0, function () {
|
|
428
359
|
var localVarAxiosArgs;
|
|
429
360
|
return __generator(this, function (_a) {
|
|
430
361
|
switch (_a.label) {
|
|
431
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(
|
|
362
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(inviteUserRequestDtoRest, authorization, options)];
|
|
432
363
|
case 1:
|
|
433
364
|
localVarAxiosArgs = _a.sent();
|
|
434
365
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -439,17 +370,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
439
370
|
/**
|
|
440
371
|
* This send bulk emails to invite users with the specific role/roles.
|
|
441
372
|
* @summary Invite batch of users
|
|
442
|
-
* @param {
|
|
373
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
443
374
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
444
375
|
* @param {*} [options] Override http request option.
|
|
445
376
|
* @throws {RequiredError}
|
|
446
377
|
*/
|
|
447
|
-
inviteUsers: function (
|
|
378
|
+
inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
|
|
448
379
|
return __awaiter(this, void 0, void 0, function () {
|
|
449
380
|
var localVarAxiosArgs;
|
|
450
381
|
return __generator(this, function (_a) {
|
|
451
382
|
switch (_a.label) {
|
|
452
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(
|
|
383
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(inviteUsersRequestDtoRest, authorization, options)];
|
|
453
384
|
case 1:
|
|
454
385
|
localVarAxiosArgs = _a.sent();
|
|
455
386
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -463,11 +394,11 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
463
394
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
395
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
465
396
|
* @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 {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>
|
|
397
|
+
* @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, partnerCode</i>
|
|
467
398
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
468
399
|
* @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:
|
|
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>
|
|
400
|
+
* @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: organizations<i>
|
|
401
|
+
* @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, partnerCode</i>
|
|
471
402
|
* @param {*} [options] Override http request option.
|
|
472
403
|
* @throws {RequiredError}
|
|
473
404
|
*/
|
|
@@ -494,17 +425,6 @@ exports.InviteUsersApiFp = InviteUsersApiFp;
|
|
|
494
425
|
var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
495
426
|
var localVarFp = (0, exports.InviteUsersApiFp)(configuration);
|
|
496
427
|
return {
|
|
497
|
-
/**
|
|
498
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
499
|
-
* @summary Delete the invited user
|
|
500
|
-
* @param {number} id
|
|
501
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
502
|
-
* @param {*} [options] Override http request option.
|
|
503
|
-
* @throws {RequiredError}
|
|
504
|
-
*/
|
|
505
|
-
deleteInvite: function (id, authorization, options) {
|
|
506
|
-
return localVarFp.deleteInvite(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
507
|
-
},
|
|
508
428
|
/**
|
|
509
429
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
510
430
|
* @summary Delete invited users.
|
|
@@ -519,24 +439,24 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
519
439
|
/**
|
|
520
440
|
* This send an email to invite a user with the specific role/roles.
|
|
521
441
|
* @summary Invite a user
|
|
522
|
-
* @param {
|
|
442
|
+
* @param {InviteUserRequestDtoRest} inviteUserRequestDtoRest
|
|
523
443
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
524
444
|
* @param {*} [options] Override http request option.
|
|
525
445
|
* @throws {RequiredError}
|
|
526
446
|
*/
|
|
527
|
-
inviteUser: function (
|
|
528
|
-
return localVarFp.inviteUser(
|
|
447
|
+
inviteUser: function (inviteUserRequestDtoRest, authorization, options) {
|
|
448
|
+
return localVarFp.inviteUser(inviteUserRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
529
449
|
},
|
|
530
450
|
/**
|
|
531
451
|
* This send bulk emails to invite users with the specific role/roles.
|
|
532
452
|
* @summary Invite batch of users
|
|
533
|
-
* @param {
|
|
453
|
+
* @param {InviteUsersRequestDtoRest} inviteUsersRequestDtoRest
|
|
534
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
535
455
|
* @param {*} [options] Override http request option.
|
|
536
456
|
* @throws {RequiredError}
|
|
537
457
|
*/
|
|
538
|
-
inviteUsers: function (
|
|
539
|
-
return localVarFp.inviteUsers(
|
|
458
|
+
inviteUsers: function (inviteUsersRequestDtoRest, authorization, options) {
|
|
459
|
+
return localVarFp.inviteUsers(inviteUsersRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
540
460
|
},
|
|
541
461
|
/**
|
|
542
462
|
* 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.
|
|
@@ -544,11 +464,11 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
544
464
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
545
465
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
546
466
|
* @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 {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
|
+
* @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, partnerCode</i>
|
|
548
468
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
549
469
|
* @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:
|
|
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>
|
|
470
|
+
* @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: organizations<i>
|
|
471
|
+
* @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, partnerCode</i>
|
|
552
472
|
* @param {*} [options] Override http request option.
|
|
553
473
|
* @throws {RequiredError}
|
|
554
474
|
*/
|
|
@@ -569,18 +489,6 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
569
489
|
function InviteUsersApi() {
|
|
570
490
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
571
491
|
}
|
|
572
|
-
/**
|
|
573
|
-
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
574
|
-
* @summary Delete the invited user
|
|
575
|
-
* @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
|
|
576
|
-
* @param {*} [options] Override http request option.
|
|
577
|
-
* @throws {RequiredError}
|
|
578
|
-
* @memberof InviteUsersApi
|
|
579
|
-
*/
|
|
580
|
-
InviteUsersApi.prototype.deleteInvite = function (requestParameters, options) {
|
|
581
|
-
var _this = this;
|
|
582
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
583
|
-
};
|
|
584
492
|
/**
|
|
585
493
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
586
494
|
* @summary Delete invited users.
|
|
@@ -603,7 +511,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
603
511
|
*/
|
|
604
512
|
InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
|
|
605
513
|
var _this = this;
|
|
606
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.
|
|
514
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
607
515
|
};
|
|
608
516
|
/**
|
|
609
517
|
* This send bulk emails to invite users with the specific role/roles.
|
|
@@ -615,7 +523,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
615
523
|
*/
|
|
616
524
|
InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
|
|
617
525
|
var _this = this;
|
|
618
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.
|
|
526
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
527
|
};
|
|
620
528
|
/**
|
|
621
529
|
* 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.
|