@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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +5 -11
  2. package/README.md +2 -2
  3. package/api/dashboard-api.ts +99 -0
  4. package/api/data-report-api.ts +0 -97
  5. package/api/invite-organizations-api.ts +15 -15
  6. package/api/invite-users-api.ts +42 -145
  7. package/api/roles-api.ts +4 -0
  8. package/api/users-api.ts +18 -447
  9. package/dist/api/dashboard-api.d.ts +52 -0
  10. package/dist/api/dashboard-api.js +88 -0
  11. package/dist/api/data-report-api.d.ts +0 -51
  12. package/dist/api/data-report-api.js +0 -88
  13. package/dist/api/invite-organizations-api.d.ts +9 -9
  14. package/dist/api/invite-organizations-api.js +12 -12
  15. package/dist/api/invite-users-api.d.ts +30 -86
  16. package/dist/api/invite-users-api.js +33 -125
  17. package/dist/api/roles-api.d.ts +4 -0
  18. package/dist/api/roles-api.js +4 -0
  19. package/dist/api/users-api.d.ts +15 -242
  20. package/dist/api/users-api.js +15 -382
  21. package/dist/models/{assign-user-roles-request-dto.d.ts → create-tenant-db-config-request-dto.d.ts} +10 -10
  22. package/dist/models/{enable-user-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -7
  23. package/dist/models/index.d.ts +5 -11
  24. package/dist/models/index.js +5 -11
  25. package/dist/models/invite-class.d.ts +12 -12
  26. package/dist/models/{invite-org-request-dto.d.ts → invite-org-request-dto-rest.d.ts} +27 -14
  27. package/dist/models/invite-user-request-dto-rest.d.ts +49 -0
  28. package/dist/models/invite-users-request-dto-rest.d.ts +49 -0
  29. package/dist/models/user-class.d.ts +8 -8
  30. package/models/{assign-user-roles-request-dto.ts → create-tenant-db-config-request-dto.ts} +10 -10
  31. package/models/{enable-user-response-class.ts → get-embedded-url-response-class.ts} +6 -7
  32. package/models/index.ts +5 -11
  33. package/models/invite-class.ts +12 -12
  34. package/models/{invite-org-request-dto.ts → invite-org-request-dto-rest.ts} +27 -14
  35. package/models/invite-user-request-dto-rest.ts +55 -0
  36. package/models/invite-users-request-dto-rest.ts +55 -0
  37. package/models/user-class.ts +8 -8
  38. package/package.json +1 -1
  39. package/dist/models/assign-user-roles-response-class.d.ts +0 -25
  40. package/dist/models/create-permission-request-dto.d.ts +0 -42
  41. package/dist/models/create-role-request-dto.d.ts +0 -36
  42. package/dist/models/disable-user-response-class.d.ts +0 -25
  43. package/dist/models/enable-user-response-class.js +0 -15
  44. package/dist/models/invite-org-request-dto.js +0 -15
  45. package/dist/models/invite-user-request-dto.d.ts +0 -43
  46. package/dist/models/invite-user-request-dto.js +0 -15
  47. package/dist/models/invite-users-request-dto.d.ts +0 -36
  48. package/dist/models/invite-users-request-dto.js +0 -15
  49. package/dist/models/partner-invitation-data-dto.d.ts +0 -36
  50. package/dist/models/partner-invitation-data-dto.js +0 -15
  51. package/dist/models/update-role-request-dto.d.ts +0 -42
  52. package/dist/models/update-role-request-dto.js +0 -15
  53. package/models/assign-user-roles-response-class.ts +0 -31
  54. package/models/create-permission-request-dto.ts +0 -48
  55. package/models/create-role-request-dto.ts +0 -42
  56. package/models/disable-user-response-class.ts +0 -31
  57. package/models/invite-user-request-dto.ts +0 -49
  58. package/models/invite-users-request-dto.ts +0 -42
  59. package/models/partner-invitation-data-dto.ts +0 -42
  60. package/models/update-role-request-dto.ts +0 -48
  61. /package/dist/models/{assign-user-roles-request-dto.js → create-tenant-db-config-request-dto.js} +0 -0
  62. /package/dist/models/{assign-user-roles-response-class.js → get-embedded-url-response-class.js} +0 -0
  63. /package/dist/models/{create-permission-request-dto.js → invite-org-request-dto-rest.js} +0 -0
  64. /package/dist/models/{create-role-request-dto.js → invite-user-request-dto-rest.js} +0 -0
  65. /package/dist/models/{disable-user-response-class.js → invite-users-request-dto-rest.js} +0 -0
@@ -29,6 +29,7 @@ export declare const RolesApiAxiosParamCreator: (configuration?: Configuration)
29
29
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
30
30
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
31
31
  * @param {*} [options] Override http request option.
32
+ * @deprecated
32
33
  * @throws {RequiredError}
33
34
  */
34
35
  listRoles: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
@@ -49,6 +50,7 @@ export declare const RolesApiFp: (configuration?: Configuration) => {
49
50
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
50
51
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
51
52
  * @param {*} [options] Override http request option.
53
+ * @deprecated
52
54
  * @throws {RequiredError}
53
55
  */
54
56
  listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRolesResponseClass>>;
@@ -69,6 +71,7 @@ export declare const RolesApiFactory: (configuration?: Configuration, basePath?:
69
71
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
70
72
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
71
73
  * @param {*} [options] Override http request option.
74
+ * @deprecated
72
75
  * @throws {RequiredError}
73
76
  */
74
77
  listRoles(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRolesResponseClass>;
@@ -134,6 +137,7 @@ export declare class RolesApi extends BaseAPI {
134
137
  * @summary List roles
135
138
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
136
139
  * @param {*} [options] Override http request option.
140
+ * @deprecated
137
141
  * @throws {RequiredError}
138
142
  * @memberof RolesApi
139
143
  */
@@ -107,6 +107,7 @@ var RolesApiAxiosParamCreator = function (configuration) {
107
107
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
108
108
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
109
109
  * @param {*} [options] Override http request option.
110
+ * @deprecated
110
111
  * @throws {RequiredError}
111
112
  */
112
113
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -185,6 +186,7 @@ var RolesApiFp = function (configuration) {
185
186
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
186
187
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
187
188
  * @param {*} [options] Override http request option.
189
+ * @deprecated
188
190
  * @throws {RequiredError}
189
191
  */
190
192
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -221,6 +223,7 @@ var RolesApiFactory = function (configuration, basePath, axios) {
221
223
  * @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.
222
224
  * @param {string} [expand] You can expand roles in this endpoint. By default, permissions will be an empty array.
223
225
  * @param {*} [options] Override http request option.
226
+ * @deprecated
224
227
  * @throws {RequiredError}
225
228
  */
226
229
  listRoles: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
@@ -245,6 +248,7 @@ var RolesApi = /** @class */ (function (_super) {
245
248
  * @summary List roles
246
249
  * @param {RolesApiListRolesRequest} requestParameters Request parameters.
247
250
  * @param {*} [options] Override http request option.
251
+ * @deprecated
248
252
  * @throws {RequiredError}
249
253
  * @memberof RolesApi
250
254
  */
@@ -12,15 +12,10 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { AssignUserRolesRequestDto } from '../models';
16
- import { AssignUserRolesResponseClass } from '../models';
17
15
  import { BatchDeleteRequestDto } from '../models';
18
16
  import { BatchDeleteResponseClass } from '../models';
19
- import { DeleteResponseClass } from '../models';
20
- import { DisableUserResponseClass } from '../models';
21
17
  import { DisableUsersRequestDto } from '../models';
22
18
  import { DisableUsersResponseClass } from '../models';
23
- import { EnableUserResponseClass } from '../models';
24
19
  import { EnableUsersRequestDto } from '../models';
25
20
  import { EnableUsersResponseClass } from '../models';
26
21
  import { GetUserResponseClass } from '../models';
@@ -32,23 +27,6 @@ import { ListUsersResponseClass } from '../models';
32
27
  * @export
33
28
  */
34
29
  export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
35
- /**
36
- *
37
- * @param {number} id
38
- * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
39
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
- * @param {*} [options] Override http request option.
41
- * @throws {RequiredError}
42
- */
43
- assignUserRoles: (id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
- /**
45
- *
46
- * @param {number} id
47
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
48
- * @param {*} [options] Override http request option.
49
- * @throws {RequiredError}
50
- */
51
- deleteUser: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
30
  /**
53
31
  *
54
32
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
@@ -57,14 +35,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
57
35
  * @throws {RequiredError}
58
36
  */
59
37
  deleteUsers: (batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
- /**
61
- *
62
- * @param {number} id
63
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
64
- * @param {*} [options] Override http request option.
65
- * @throws {RequiredError}
66
- */
67
- disableUser: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
38
  /**
69
39
  *
70
40
  * @param {DisableUsersRequestDto} disableUsersRequestDto
@@ -73,14 +43,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
73
43
  * @throws {RequiredError}
74
44
  */
75
45
  disableUsers: (disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
- /**
77
- *
78
- * @param {number} id
79
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
80
- * @param {*} [options] Override http request option.
81
- * @throws {RequiredError}
82
- */
83
- enableUser: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
46
  /**
85
47
  *
86
48
  * @param {EnableUsersRequestDto} enableUsersRequestDto
@@ -92,13 +54,12 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
92
54
  /**
93
55
  *
94
56
  * @param {string} code
95
- * @param {string} code2 code
96
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
58
  * @param {string} [expand] Fields to expand response by
98
59
  * @param {*} [options] Override http request option.
99
60
  * @throws {RequiredError}
100
61
  */
101
- getUser: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
+ getUser: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
102
63
  /**
103
64
  *
104
65
  * @param {string} code Unique identifier for the object.
@@ -114,11 +75,11 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
114
75
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
76
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
77
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
117
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
78
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
118
79
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
119
80
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
120
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
121
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
81
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
82
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
122
83
  * @param {*} [options] Override http request option.
123
84
  * @throws {RequiredError}
124
85
  */
@@ -129,23 +90,6 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
129
90
  * @export
130
91
  */
131
92
  export declare const UsersApiFp: (configuration?: Configuration) => {
132
- /**
133
- *
134
- * @param {number} id
135
- * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
136
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignUserRolesResponseClass>>;
141
- /**
142
- *
143
- * @param {number} id
144
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- deleteUser(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
149
93
  /**
150
94
  *
151
95
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
@@ -154,14 +98,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
154
98
  * @throws {RequiredError}
155
99
  */
156
100
  deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchDeleteResponseClass>>;
157
- /**
158
- *
159
- * @param {number} id
160
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
161
- * @param {*} [options] Override http request option.
162
- * @throws {RequiredError}
163
- */
164
- disableUser(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUserResponseClass>>;
165
101
  /**
166
102
  *
167
103
  * @param {DisableUsersRequestDto} disableUsersRequestDto
@@ -170,14 +106,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
170
106
  * @throws {RequiredError}
171
107
  */
172
108
  disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableUsersResponseClass>>;
173
- /**
174
- *
175
- * @param {number} id
176
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
177
- * @param {*} [options] Override http request option.
178
- * @throws {RequiredError}
179
- */
180
- enableUser(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUserResponseClass>>;
181
109
  /**
182
110
  *
183
111
  * @param {EnableUsersRequestDto} enableUsersRequestDto
@@ -189,13 +117,12 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
189
117
  /**
190
118
  *
191
119
  * @param {string} code
192
- * @param {string} code2 code
193
120
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
194
121
  * @param {string} [expand] Fields to expand response by
195
122
  * @param {*} [options] Override http request option.
196
123
  * @throws {RequiredError}
197
124
  */
198
- getUser(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>>;
125
+ getUser(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserResponseClass>>;
199
126
  /**
200
127
  *
201
128
  * @param {string} code Unique identifier for the object.
@@ -211,11 +138,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
211
138
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
212
139
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
213
140
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
214
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
141
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
215
142
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
216
143
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
217
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
218
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
144
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
145
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
219
146
  * @param {*} [options] Override http request option.
220
147
  * @throws {RequiredError}
221
148
  */
@@ -226,23 +153,6 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
226
153
  * @export
227
154
  */
228
155
  export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
229
- /**
230
- *
231
- * @param {number} id
232
- * @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
233
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
234
- * @param {*} [options] Override http request option.
235
- * @throws {RequiredError}
236
- */
237
- assignUserRoles(id: number, assignUserRolesRequestDto: AssignUserRolesRequestDto, authorization?: string, options?: any): AxiosPromise<AssignUserRolesResponseClass>;
238
- /**
239
- *
240
- * @param {number} id
241
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
242
- * @param {*} [options] Override http request option.
243
- * @throws {RequiredError}
244
- */
245
- deleteUser(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
246
156
  /**
247
157
  *
248
158
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
@@ -251,14 +161,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
251
161
  * @throws {RequiredError}
252
162
  */
253
163
  deleteUsers(batchDeleteRequestDto: BatchDeleteRequestDto, authorization?: string, options?: any): AxiosPromise<BatchDeleteResponseClass>;
254
- /**
255
- *
256
- * @param {number} id
257
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
258
- * @param {*} [options] Override http request option.
259
- * @throws {RequiredError}
260
- */
261
- disableUser(id: number, authorization?: string, options?: any): AxiosPromise<DisableUserResponseClass>;
262
164
  /**
263
165
  *
264
166
  * @param {DisableUsersRequestDto} disableUsersRequestDto
@@ -267,14 +169,6 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
267
169
  * @throws {RequiredError}
268
170
  */
269
171
  disableUsers(disableUsersRequestDto: DisableUsersRequestDto, authorization?: string, options?: any): AxiosPromise<DisableUsersResponseClass>;
270
- /**
271
- *
272
- * @param {number} id
273
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
274
- * @param {*} [options] Override http request option.
275
- * @throws {RequiredError}
276
- */
277
- enableUser(id: number, authorization?: string, options?: any): AxiosPromise<EnableUserResponseClass>;
278
172
  /**
279
173
  *
280
174
  * @param {EnableUsersRequestDto} enableUsersRequestDto
@@ -286,13 +180,12 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
286
180
  /**
287
181
  *
288
182
  * @param {string} code
289
- * @param {string} code2 code
290
183
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
291
184
  * @param {string} [expand] Fields to expand response by
292
185
  * @param {*} [options] Override http request option.
293
186
  * @throws {RequiredError}
294
187
  */
295
- getUser(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass>;
188
+ getUser(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetUserResponseClass>;
296
189
  /**
297
190
  *
298
191
  * @param {string} code Unique identifier for the object.
@@ -308,60 +201,16 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
308
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
309
202
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
310
203
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
311
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
204
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
312
205
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
313
206
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: email&lt;/i&gt;
314
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
315
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
207
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
208
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
316
209
  * @param {*} [options] Override http request option.
317
210
  * @throws {RequiredError}
318
211
  */
319
212
  listUsers(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListUsersResponseClass>;
320
213
  };
321
- /**
322
- * Request parameters for assignUserRoles operation in UsersApi.
323
- * @export
324
- * @interface UsersApiAssignUserRolesRequest
325
- */
326
- export interface UsersApiAssignUserRolesRequest {
327
- /**
328
- *
329
- * @type {number}
330
- * @memberof UsersApiAssignUserRoles
331
- */
332
- readonly id: number;
333
- /**
334
- *
335
- * @type {AssignUserRolesRequestDto}
336
- * @memberof UsersApiAssignUserRoles
337
- */
338
- readonly assignUserRolesRequestDto: AssignUserRolesRequestDto;
339
- /**
340
- * Bearer Token: provided by the login endpoint under the name accessToken.
341
- * @type {string}
342
- * @memberof UsersApiAssignUserRoles
343
- */
344
- readonly authorization?: string;
345
- }
346
- /**
347
- * Request parameters for deleteUser operation in UsersApi.
348
- * @export
349
- * @interface UsersApiDeleteUserRequest
350
- */
351
- export interface UsersApiDeleteUserRequest {
352
- /**
353
- *
354
- * @type {number}
355
- * @memberof UsersApiDeleteUser
356
- */
357
- readonly id: number;
358
- /**
359
- * Bearer Token: provided by the login endpoint under the name accessToken.
360
- * @type {string}
361
- * @memberof UsersApiDeleteUser
362
- */
363
- readonly authorization?: string;
364
- }
365
214
  /**
366
215
  * Request parameters for deleteUsers operation in UsersApi.
367
216
  * @export
@@ -381,25 +230,6 @@ export interface UsersApiDeleteUsersRequest {
381
230
  */
382
231
  readonly authorization?: string;
383
232
  }
384
- /**
385
- * Request parameters for disableUser operation in UsersApi.
386
- * @export
387
- * @interface UsersApiDisableUserRequest
388
- */
389
- export interface UsersApiDisableUserRequest {
390
- /**
391
- *
392
- * @type {number}
393
- * @memberof UsersApiDisableUser
394
- */
395
- readonly id: number;
396
- /**
397
- * Bearer Token: provided by the login endpoint under the name accessToken.
398
- * @type {string}
399
- * @memberof UsersApiDisableUser
400
- */
401
- readonly authorization?: string;
402
- }
403
233
  /**
404
234
  * Request parameters for disableUsers operation in UsersApi.
405
235
  * @export
@@ -419,25 +249,6 @@ export interface UsersApiDisableUsersRequest {
419
249
  */
420
250
  readonly authorization?: string;
421
251
  }
422
- /**
423
- * Request parameters for enableUser operation in UsersApi.
424
- * @export
425
- * @interface UsersApiEnableUserRequest
426
- */
427
- export interface UsersApiEnableUserRequest {
428
- /**
429
- *
430
- * @type {number}
431
- * @memberof UsersApiEnableUser
432
- */
433
- readonly id: number;
434
- /**
435
- * Bearer Token: provided by the login endpoint under the name accessToken.
436
- * @type {string}
437
- * @memberof UsersApiEnableUser
438
- */
439
- readonly authorization?: string;
440
- }
441
252
  /**
442
253
  * Request parameters for enableUsers operation in UsersApi.
443
254
  * @export
@@ -469,12 +280,6 @@ export interface UsersApiGetUserRequest {
469
280
  * @memberof UsersApiGetUser
470
281
  */
471
282
  readonly code: string;
472
- /**
473
- * code
474
- * @type {string}
475
- * @memberof UsersApiGetUser
476
- */
477
- readonly code2: string;
478
283
  /**
479
284
  * Bearer Token: provided by the login endpoint under the name accessToken.
480
285
  * @type {string}
@@ -538,7 +343,7 @@ export interface UsersApiListUsersRequest {
538
343
  */
539
344
  readonly pageToken?: any;
540
345
  /**
541
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
346
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
542
347
  * @type {string}
543
348
  * @memberof UsersApiListUsers
544
349
  */
@@ -556,13 +361,13 @@ export interface UsersApiListUsersRequest {
556
361
  */
557
362
  readonly order?: string;
558
363
  /**
559
- * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: roles, subscriptions, organizations&lt;i&gt;
364
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: subscriptions, organizations&lt;i&gt;
560
365
  * @type {string}
561
366
  * @memberof UsersApiListUsers
562
367
  */
563
368
  readonly expand?: string;
564
369
  /**
565
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern&lt;/i&gt;
370
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode&lt;/i&gt;
566
371
  * @type {string}
567
372
  * @memberof UsersApiListUsers
568
373
  */
@@ -575,22 +380,6 @@ export interface UsersApiListUsersRequest {
575
380
  * @extends {BaseAPI}
576
381
  */
577
382
  export declare class UsersApi extends BaseAPI {
578
- /**
579
- *
580
- * @param {UsersApiAssignUserRolesRequest} requestParameters Request parameters.
581
- * @param {*} [options] Override http request option.
582
- * @throws {RequiredError}
583
- * @memberof UsersApi
584
- */
585
- assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignUserRolesResponseClass, any>>;
586
- /**
587
- *
588
- * @param {UsersApiDeleteUserRequest} requestParameters Request parameters.
589
- * @param {*} [options] Override http request option.
590
- * @throws {RequiredError}
591
- * @memberof UsersApi
592
- */
593
- deleteUser(requestParameters: UsersApiDeleteUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
594
383
  /**
595
384
  *
596
385
  * @param {UsersApiDeleteUsersRequest} requestParameters Request parameters.
@@ -599,14 +388,6 @@ export declare class UsersApi extends BaseAPI {
599
388
  * @memberof UsersApi
600
389
  */
601
390
  deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any>>;
602
- /**
603
- *
604
- * @param {UsersApiDisableUserRequest} requestParameters Request parameters.
605
- * @param {*} [options] Override http request option.
606
- * @throws {RequiredError}
607
- * @memberof UsersApi
608
- */
609
- disableUser(requestParameters: UsersApiDisableUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableUserResponseClass, any>>;
610
391
  /**
611
392
  *
612
393
  * @param {UsersApiDisableUsersRequest} requestParameters Request parameters.
@@ -615,14 +396,6 @@ export declare class UsersApi extends BaseAPI {
615
396
  * @memberof UsersApi
616
397
  */
617
398
  disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableUsersResponseClass, any>>;
618
- /**
619
- *
620
- * @param {UsersApiEnableUserRequest} requestParameters Request parameters.
621
- * @param {*} [options] Override http request option.
622
- * @throws {RequiredError}
623
- * @memberof UsersApi
624
- */
625
- enableUser(requestParameters: UsersApiEnableUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnableUserResponseClass, any>>;
626
399
  /**
627
400
  *
628
401
  * @param {UsersApiEnableUsersRequest} requestParameters Request parameters.