@emilgroup/tenant-sdk-node 1.0.3 → 1.2.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 +2 -15
- package/README.md +2 -2
- package/api/custom-schema-api.ts +16 -16
- package/api/invite-organizations-api.ts +8 -8
- package/api/invite-users-api.ts +20 -20
- package/api/organizations-api.ts +128 -8
- package/api/users-api.ts +36 -36
- package/api.ts +0 -4
- package/base.ts +3 -3
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +12 -12
- package/dist/api/invite-organizations-api.d.ts +8 -8
- package/dist/api/invite-organizations-api.js +6 -6
- package/dist/api/invite-users-api.d.ts +20 -20
- package/dist/api/invite-users-api.js +15 -15
- package/dist/api/organizations-api.d.ts +74 -8
- package/dist/api/organizations-api.js +105 -6
- package/dist/api/users-api.d.ts +36 -36
- package/dist/api/users-api.js +27 -27
- package/dist/api.d.ts +0 -2
- package/dist/api.js +0 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/create-custom-schema-request-dto.js +2 -1
- package/dist/models/index.d.ts +2 -13
- package/dist/models/index.js +2 -13
- package/dist/models/invite-org-request-dto.d.ts +0 -12
- package/dist/models/invite-org-request-dto.js +0 -6
- package/dist/models/org-invitation-class.d.ts +0 -12
- package/dist/models/org-invitation-class.js +0 -6
- package/dist/models/organization-class.d.ts +18 -12
- package/dist/models/organization-class.js +0 -6
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/update-custom-schema-request-dto.js +2 -1
- package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
- package/dist/models/{get-data-report-response-class.d.ts → update-organization-response-class.d.ts} +7 -7
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/index.ts +2 -13
- package/models/invite-org-request-dto.ts +0 -15
- package/models/org-invitation-class.ts +0 -15
- package/models/organization-class.ts +18 -15
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/models/update-organization-request-dto-rest.ts +66 -0
- package/models/{create-data-report-response-class.ts → update-organization-response-class.ts} +7 -7
- package/package.json +2 -2
- package/api/data-report-api.ts +0 -677
- package/api/data-report-executor-api.ts +0 -165
- package/dist/api/data-report-api.d.ts +0 -380
- package/dist/api/data-report-api.js +0 -636
- package/dist/api/data-report-executor-api.d.ts +0 -93
- package/dist/api/data-report-executor-api.js +0 -224
- package/dist/models/create-data-report-request-dto.d.ts +0 -61
- package/dist/models/create-data-report-response-class.d.ts +0 -25
- package/dist/models/data-report-class.d.ts +0 -79
- package/dist/models/data-report-class.js +0 -15
- package/dist/models/data-report-filter-class.d.ts +0 -72
- package/dist/models/data-report-filter-class.js +0 -15
- package/dist/models/data-report-filter-dto.d.ts +0 -48
- package/dist/models/data-report-filter-dto.js +0 -15
- package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
- package/dist/models/data-report-filter-single-value-dto.js +0 -15
- package/dist/models/data-report-filter-value-dto.d.ts +0 -31
- package/dist/models/data-report-filter-value-dto.js +0 -15
- package/dist/models/get-data-report-response-class.js +0 -15
- package/dist/models/list-data-reports-response-class.d.ts +0 -31
- package/dist/models/list-data-reports-response-class.js +0 -15
- package/dist/models/run-data-report-request-dto.d.ts +0 -31
- package/dist/models/run-data-report-request-dto.js +0 -15
- package/dist/models/run-data-report-response-class.d.ts +0 -24
- package/dist/models/run-data-report-response-class.js +0 -15
- package/dist/models/update-data-report-request-dto.d.ts +0 -61
- package/dist/models/update-data-report-request-dto.js +0 -15
- package/dist/models/update-data-report-response-class.d.ts +0 -25
- package/dist/models/update-data-report-response-class.js +0 -15
- package/models/create-data-report-request-dto.ts +0 -67
- package/models/data-report-class.ts +0 -85
- package/models/data-report-filter-class.ts +0 -78
- package/models/data-report-filter-dto.ts +0 -54
- package/models/data-report-filter-single-value-dto.ts +0 -48
- package/models/data-report-filter-value-dto.ts +0 -37
- package/models/get-data-report-response-class.ts +0 -31
- package/models/list-data-reports-response-class.ts +0 -37
- package/models/run-data-report-request-dto.ts +0 -37
- package/models/run-data-report-response-class.ts +0 -30
- package/models/update-data-report-request-dto.ts +0 -67
- package/models/update-data-report-response-class.ts +0 -31
- /package/dist/models/{create-data-report-request-dto.js → update-organization-request-dto-rest.js} +0 -0
- /package/dist/models/{create-data-report-response-class.js → update-organization-response-class.js} +0 -0
package/dist/api/users-api.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34
34
|
*
|
|
35
35
|
* @param {number} id
|
|
36
36
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
37
|
-
* @param {string} [authorization] Bearer Token
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
@@ -42,7 +42,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @param {number} id
|
|
45
|
-
* @param {string} [authorization] Bearer Token
|
|
45
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
@@ -50,7 +50,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
53
|
-
* @param {string} [authorization] Bearer Token
|
|
53
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
@@ -58,7 +58,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @param {number} id
|
|
61
|
-
* @param {string} [authorization] Bearer Token
|
|
61
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
@@ -66,7 +66,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
69
|
-
* @param {string} [authorization] Bearer Token
|
|
69
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
@@ -74,7 +74,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @param {number} id
|
|
77
|
-
* @param {string} [authorization] Bearer Token
|
|
77
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
85
|
-
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
@@ -91,7 +91,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
91
91
|
*
|
|
92
92
|
* @param {string} code
|
|
93
93
|
* @param {string} code2 code
|
|
94
|
-
* @param {string} [authorization] Bearer Token
|
|
94
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
95
|
* @param {string} [expand] Fields to expand response by
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
@@ -100,7 +100,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
100
100
|
/**
|
|
101
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
|
-
* @param {string} [authorization] Bearer Token
|
|
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 100. 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
106
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -121,7 +121,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
*
|
|
122
122
|
* @param {number} id
|
|
123
123
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
124
|
-
* @param {string} [authorization] Bearer Token
|
|
124
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
*/
|
|
@@ -129,7 +129,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
* @param {number} id
|
|
132
|
-
* @param {string} [authorization] Bearer Token
|
|
132
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
@@ -137,7 +137,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
137
137
|
/**
|
|
138
138
|
*
|
|
139
139
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
140
|
-
* @param {string} [authorization] Bearer Token
|
|
140
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
@@ -145,7 +145,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @param {number} id
|
|
148
|
-
* @param {string} [authorization] Bearer Token
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
@@ -153,7 +153,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
155
155
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
156
|
-
* @param {string} [authorization] Bearer Token
|
|
156
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
@@ -161,7 +161,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @param {number} id
|
|
164
|
-
* @param {string} [authorization] Bearer Token
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
165
|
* @param {*} [options] Override http request option.
|
|
166
166
|
* @throws {RequiredError}
|
|
167
167
|
*/
|
|
@@ -169,7 +169,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
172
|
-
* @param {string} [authorization] Bearer Token
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
173
|
* @param {*} [options] Override http request option.
|
|
174
174
|
* @throws {RequiredError}
|
|
175
175
|
*/
|
|
@@ -178,7 +178,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
178
178
|
*
|
|
179
179
|
* @param {string} code
|
|
180
180
|
* @param {string} code2 code
|
|
181
|
-
* @param {string} [authorization] Bearer Token
|
|
181
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {string} [expand] Fields to expand response by
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
@@ -187,7 +187,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
187
187
|
/**
|
|
188
188
|
* 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.
|
|
189
189
|
* @summary List users
|
|
190
|
-
* @param {string} [authorization] Bearer Token
|
|
190
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
191
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
192
192
|
* @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.
|
|
193
193
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -208,7 +208,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
208
208
|
*
|
|
209
209
|
* @param {number} id
|
|
210
210
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
211
|
-
* @param {string} [authorization] Bearer Token
|
|
211
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
@@ -216,7 +216,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @param {number} id
|
|
219
|
-
* @param {string} [authorization] Bearer Token
|
|
219
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
220
220
|
* @param {*} [options] Override http request option.
|
|
221
221
|
* @throws {RequiredError}
|
|
222
222
|
*/
|
|
@@ -224,7 +224,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
227
|
-
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
*/
|
|
@@ -232,7 +232,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
232
232
|
/**
|
|
233
233
|
*
|
|
234
234
|
* @param {number} id
|
|
235
|
-
* @param {string} [authorization] Bearer Token
|
|
235
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
236
236
|
* @param {*} [options] Override http request option.
|
|
237
237
|
* @throws {RequiredError}
|
|
238
238
|
*/
|
|
@@ -240,7 +240,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
240
240
|
/**
|
|
241
241
|
*
|
|
242
242
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
243
|
-
* @param {string} [authorization] Bearer Token
|
|
243
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
@@ -248,7 +248,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
248
248
|
/**
|
|
249
249
|
*
|
|
250
250
|
* @param {number} id
|
|
251
|
-
* @param {string} [authorization] Bearer Token
|
|
251
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @param {*} [options] Override http request option.
|
|
253
253
|
* @throws {RequiredError}
|
|
254
254
|
*/
|
|
@@ -256,7 +256,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
256
256
|
/**
|
|
257
257
|
*
|
|
258
258
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
259
|
-
* @param {string} [authorization] Bearer Token
|
|
259
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
260
|
* @param {*} [options] Override http request option.
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
*/
|
|
@@ -265,7 +265,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
265
265
|
*
|
|
266
266
|
* @param {string} code
|
|
267
267
|
* @param {string} code2 code
|
|
268
|
-
* @param {string} [authorization] Bearer Token
|
|
268
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
269
|
* @param {string} [expand] Fields to expand response by
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
271
271
|
* @throws {RequiredError}
|
|
@@ -274,7 +274,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
274
274
|
/**
|
|
275
275
|
* 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.
|
|
276
276
|
* @summary List users
|
|
277
|
-
* @param {string} [authorization] Bearer Token
|
|
277
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
278
278
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
279
279
|
* @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.
|
|
280
280
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -305,7 +305,7 @@ export interface UsersApiAssignUserRolesRequest {
|
|
|
305
305
|
*/
|
|
306
306
|
readonly assignUserRolesRequestDto: AssignUserRolesRequestDto;
|
|
307
307
|
/**
|
|
308
|
-
* Bearer Token
|
|
308
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
309
|
* @type {string}
|
|
310
310
|
* @memberof UsersApiAssignUserRoles
|
|
311
311
|
*/
|
|
@@ -324,7 +324,7 @@ export interface UsersApiDeleteUserRequest {
|
|
|
324
324
|
*/
|
|
325
325
|
readonly id: number;
|
|
326
326
|
/**
|
|
327
|
-
* Bearer Token
|
|
327
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
328
|
* @type {string}
|
|
329
329
|
* @memberof UsersApiDeleteUser
|
|
330
330
|
*/
|
|
@@ -343,7 +343,7 @@ export interface UsersApiDeleteUsersRequest {
|
|
|
343
343
|
*/
|
|
344
344
|
readonly batchDeleteRequestDto: BatchDeleteRequestDto;
|
|
345
345
|
/**
|
|
346
|
-
* Bearer Token
|
|
346
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
347
347
|
* @type {string}
|
|
348
348
|
* @memberof UsersApiDeleteUsers
|
|
349
349
|
*/
|
|
@@ -362,7 +362,7 @@ export interface UsersApiDisableUserRequest {
|
|
|
362
362
|
*/
|
|
363
363
|
readonly id: number;
|
|
364
364
|
/**
|
|
365
|
-
* Bearer Token
|
|
365
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
366
366
|
* @type {string}
|
|
367
367
|
* @memberof UsersApiDisableUser
|
|
368
368
|
*/
|
|
@@ -381,7 +381,7 @@ export interface UsersApiDisableUsersRequest {
|
|
|
381
381
|
*/
|
|
382
382
|
readonly disableUsersRequestDto: DisableUsersRequestDto;
|
|
383
383
|
/**
|
|
384
|
-
* Bearer Token
|
|
384
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
385
|
* @type {string}
|
|
386
386
|
* @memberof UsersApiDisableUsers
|
|
387
387
|
*/
|
|
@@ -400,7 +400,7 @@ export interface UsersApiEnableUserRequest {
|
|
|
400
400
|
*/
|
|
401
401
|
readonly id: number;
|
|
402
402
|
/**
|
|
403
|
-
* Bearer Token
|
|
403
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
404
|
* @type {string}
|
|
405
405
|
* @memberof UsersApiEnableUser
|
|
406
406
|
*/
|
|
@@ -419,7 +419,7 @@ export interface UsersApiEnableUsersRequest {
|
|
|
419
419
|
*/
|
|
420
420
|
readonly enableUsersRequestDto: EnableUsersRequestDto;
|
|
421
421
|
/**
|
|
422
|
-
* Bearer Token
|
|
422
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
423
|
* @type {string}
|
|
424
424
|
* @memberof UsersApiEnableUsers
|
|
425
425
|
*/
|
|
@@ -444,7 +444,7 @@ export interface UsersApiGetUserRequest {
|
|
|
444
444
|
*/
|
|
445
445
|
readonly code2: string;
|
|
446
446
|
/**
|
|
447
|
-
* Bearer Token
|
|
447
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
448
448
|
* @type {string}
|
|
449
449
|
* @memberof UsersApiGetUser
|
|
450
450
|
*/
|
|
@@ -463,7 +463,7 @@ export interface UsersApiGetUserRequest {
|
|
|
463
463
|
*/
|
|
464
464
|
export interface UsersApiListUsersRequest {
|
|
465
465
|
/**
|
|
466
|
-
* Bearer Token
|
|
466
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @type {string}
|
|
468
468
|
* @memberof UsersApiListUsers
|
|
469
469
|
*/
|
package/dist/api/users-api.js
CHANGED
|
@@ -100,7 +100,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
*
|
|
101
101
|
* @param {number} id
|
|
102
102
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
@@ -151,7 +151,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
151
151
|
/**
|
|
152
152
|
*
|
|
153
153
|
* @param {number} id
|
|
154
|
-
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
155
|
* @param {*} [options] Override http request option.
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
@@ -198,7 +198,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
/**
|
|
199
199
|
*
|
|
200
200
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
201
|
-
* @param {string} [authorization] Bearer Token
|
|
201
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
@@ -246,7 +246,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
/**
|
|
247
247
|
*
|
|
248
248
|
* @param {number} id
|
|
249
|
-
* @param {string} [authorization] Bearer Token
|
|
249
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
252
252
|
*/
|
|
@@ -293,7 +293,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
293
293
|
/**
|
|
294
294
|
*
|
|
295
295
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
296
|
-
* @param {string} [authorization] Bearer Token
|
|
296
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
297
297
|
* @param {*} [options] Override http request option.
|
|
298
298
|
* @throws {RequiredError}
|
|
299
299
|
*/
|
|
@@ -341,7 +341,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
341
341
|
/**
|
|
342
342
|
*
|
|
343
343
|
* @param {number} id
|
|
344
|
-
* @param {string} [authorization] Bearer Token
|
|
344
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
345
345
|
* @param {*} [options] Override http request option.
|
|
346
346
|
* @throws {RequiredError}
|
|
347
347
|
*/
|
|
@@ -388,7 +388,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
388
388
|
/**
|
|
389
389
|
*
|
|
390
390
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
391
|
-
* @param {string} [authorization] Bearer Token
|
|
391
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
392
392
|
* @param {*} [options] Override http request option.
|
|
393
393
|
* @throws {RequiredError}
|
|
394
394
|
*/
|
|
@@ -437,7 +437,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
437
437
|
*
|
|
438
438
|
* @param {string} code
|
|
439
439
|
* @param {string} code2 code
|
|
440
|
-
* @param {string} [authorization] Bearer Token
|
|
440
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
441
|
* @param {string} [expand] Fields to expand response by
|
|
442
442
|
* @param {*} [options] Override http request option.
|
|
443
443
|
* @throws {RequiredError}
|
|
@@ -493,7 +493,7 @@ var UsersApiAxiosParamCreator = function (configuration) {
|
|
|
493
493
|
/**
|
|
494
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
|
-
* @param {string} [authorization] Bearer Token
|
|
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 100. 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
499
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -572,7 +572,7 @@ var UsersApiFp = function (configuration) {
|
|
|
572
572
|
*
|
|
573
573
|
* @param {number} id
|
|
574
574
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
575
|
-
* @param {string} [authorization] Bearer Token
|
|
575
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
576
576
|
* @param {*} [options] Override http request option.
|
|
577
577
|
* @throws {RequiredError}
|
|
578
578
|
*/
|
|
@@ -592,7 +592,7 @@ var UsersApiFp = function (configuration) {
|
|
|
592
592
|
/**
|
|
593
593
|
*
|
|
594
594
|
* @param {number} id
|
|
595
|
-
* @param {string} [authorization] Bearer Token
|
|
595
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
596
596
|
* @param {*} [options] Override http request option.
|
|
597
597
|
* @throws {RequiredError}
|
|
598
598
|
*/
|
|
@@ -612,7 +612,7 @@ var UsersApiFp = function (configuration) {
|
|
|
612
612
|
/**
|
|
613
613
|
*
|
|
614
614
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
615
|
-
* @param {string} [authorization] Bearer Token
|
|
615
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
616
616
|
* @param {*} [options] Override http request option.
|
|
617
617
|
* @throws {RequiredError}
|
|
618
618
|
*/
|
|
@@ -632,7 +632,7 @@ var UsersApiFp = function (configuration) {
|
|
|
632
632
|
/**
|
|
633
633
|
*
|
|
634
634
|
* @param {number} id
|
|
635
|
-
* @param {string} [authorization] Bearer Token
|
|
635
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
636
636
|
* @param {*} [options] Override http request option.
|
|
637
637
|
* @throws {RequiredError}
|
|
638
638
|
*/
|
|
@@ -652,7 +652,7 @@ var UsersApiFp = function (configuration) {
|
|
|
652
652
|
/**
|
|
653
653
|
*
|
|
654
654
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
655
|
-
* @param {string} [authorization] Bearer Token
|
|
655
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
656
656
|
* @param {*} [options] Override http request option.
|
|
657
657
|
* @throws {RequiredError}
|
|
658
658
|
*/
|
|
@@ -672,7 +672,7 @@ var UsersApiFp = function (configuration) {
|
|
|
672
672
|
/**
|
|
673
673
|
*
|
|
674
674
|
* @param {number} id
|
|
675
|
-
* @param {string} [authorization] Bearer Token
|
|
675
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
676
676
|
* @param {*} [options] Override http request option.
|
|
677
677
|
* @throws {RequiredError}
|
|
678
678
|
*/
|
|
@@ -692,7 +692,7 @@ var UsersApiFp = function (configuration) {
|
|
|
692
692
|
/**
|
|
693
693
|
*
|
|
694
694
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
695
|
-
* @param {string} [authorization] Bearer Token
|
|
695
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
696
696
|
* @param {*} [options] Override http request option.
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
*/
|
|
@@ -713,7 +713,7 @@ var UsersApiFp = function (configuration) {
|
|
|
713
713
|
*
|
|
714
714
|
* @param {string} code
|
|
715
715
|
* @param {string} code2 code
|
|
716
|
-
* @param {string} [authorization] Bearer Token
|
|
716
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
717
717
|
* @param {string} [expand] Fields to expand response by
|
|
718
718
|
* @param {*} [options] Override http request option.
|
|
719
719
|
* @throws {RequiredError}
|
|
@@ -734,7 +734,7 @@ var UsersApiFp = function (configuration) {
|
|
|
734
734
|
/**
|
|
735
735
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
736
736
|
* @summary List users
|
|
737
|
-
* @param {string} [authorization] Bearer Token
|
|
737
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
738
738
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
739
739
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
740
740
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -771,7 +771,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
771
771
|
*
|
|
772
772
|
* @param {number} id
|
|
773
773
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
774
|
-
* @param {string} [authorization] Bearer Token
|
|
774
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
775
775
|
* @param {*} [options] Override http request option.
|
|
776
776
|
* @throws {RequiredError}
|
|
777
777
|
*/
|
|
@@ -781,7 +781,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
781
781
|
/**
|
|
782
782
|
*
|
|
783
783
|
* @param {number} id
|
|
784
|
-
* @param {string} [authorization] Bearer Token
|
|
784
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
785
785
|
* @param {*} [options] Override http request option.
|
|
786
786
|
* @throws {RequiredError}
|
|
787
787
|
*/
|
|
@@ -791,7 +791,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
791
791
|
/**
|
|
792
792
|
*
|
|
793
793
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
794
|
-
* @param {string} [authorization] Bearer Token
|
|
794
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
795
795
|
* @param {*} [options] Override http request option.
|
|
796
796
|
* @throws {RequiredError}
|
|
797
797
|
*/
|
|
@@ -801,7 +801,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
801
801
|
/**
|
|
802
802
|
*
|
|
803
803
|
* @param {number} id
|
|
804
|
-
* @param {string} [authorization] Bearer Token
|
|
804
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
805
805
|
* @param {*} [options] Override http request option.
|
|
806
806
|
* @throws {RequiredError}
|
|
807
807
|
*/
|
|
@@ -811,7 +811,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
811
811
|
/**
|
|
812
812
|
*
|
|
813
813
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
814
|
-
* @param {string} [authorization] Bearer Token
|
|
814
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
815
815
|
* @param {*} [options] Override http request option.
|
|
816
816
|
* @throws {RequiredError}
|
|
817
817
|
*/
|
|
@@ -821,7 +821,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
821
821
|
/**
|
|
822
822
|
*
|
|
823
823
|
* @param {number} id
|
|
824
|
-
* @param {string} [authorization] Bearer Token
|
|
824
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
825
825
|
* @param {*} [options] Override http request option.
|
|
826
826
|
* @throws {RequiredError}
|
|
827
827
|
*/
|
|
@@ -831,7 +831,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
831
831
|
/**
|
|
832
832
|
*
|
|
833
833
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
834
|
-
* @param {string} [authorization] Bearer Token
|
|
834
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
835
835
|
* @param {*} [options] Override http request option.
|
|
836
836
|
* @throws {RequiredError}
|
|
837
837
|
*/
|
|
@@ -842,7 +842,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
842
842
|
*
|
|
843
843
|
* @param {string} code
|
|
844
844
|
* @param {string} code2 code
|
|
845
|
-
* @param {string} [authorization] Bearer Token
|
|
845
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
846
846
|
* @param {string} [expand] Fields to expand response by
|
|
847
847
|
* @param {*} [options] Override http request option.
|
|
848
848
|
* @throws {RequiredError}
|
|
@@ -853,7 +853,7 @@ var UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
853
853
|
/**
|
|
854
854
|
* 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.
|
|
855
855
|
* @summary List users
|
|
856
|
-
* @param {string} [authorization] Bearer Token
|
|
856
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
857
857
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
858
858
|
* @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.
|
|
859
859
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
package/dist/api.d.ts
CHANGED
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/custom-schema-api';
|
|
13
|
-
export * from './api/data-report-api';
|
|
14
|
-
export * from './api/data-report-executor-api';
|
|
15
13
|
export * from './api/invite-organizations-api';
|
|
16
14
|
export * from './api/invite-users-api';
|
|
17
15
|
export * from './api/organizations-api';
|
package/dist/api.js
CHANGED
|
@@ -28,8 +28,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/custom-schema-api"), exports);
|
|
31
|
-
__exportStar(require("./api/data-report-api"), exports);
|
|
32
|
-
__exportStar(require("./api/data-report-executor-api"), exports);
|
|
33
31
|
__exportStar(require("./api/invite-organizations-api"), exports);
|
|
34
32
|
__exportStar(require("./api/invite-users-api"), exports);
|
|
35
33
|
__exportStar(require("./api/organizations-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare class BaseAPI {
|
|
|
59
59
|
private readEnvVariables;
|
|
60
60
|
selectEnvironment(env: Environment): void;
|
|
61
61
|
authorize(username: string, password: string): Promise<void>;
|
|
62
|
-
|
|
62
|
+
refreshTokenInternal(): Promise<string>;
|
|
63
63
|
private extractRefreshToken;
|
|
64
64
|
getConfiguration(): Configuration;
|
|
65
65
|
private attachInterceptor;
|
package/dist/base.js
CHANGED
|
@@ -270,7 +270,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
|
-
BaseAPI.prototype.
|
|
273
|
+
BaseAPI.prototype.refreshTokenInternal = function () {
|
|
274
274
|
return __awaiter(this, void 0, void 0, function () {
|
|
275
275
|
var _a, username, refreshToken, options, accessToken;
|
|
276
276
|
return __generator(this, function (_b) {
|
|
@@ -324,7 +324,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
324
324
|
_a.label = 1;
|
|
325
325
|
case 1:
|
|
326
326
|
_a.trys.push([1, 3, , 4]);
|
|
327
|
-
return [4 /*yield*/, this.
|
|
327
|
+
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
328
328
|
case 2:
|
|
329
329
|
tokenString = _a.sent();
|
|
330
330
|
accessToken = "Bearer ".concat(tokenString);
|
|
@@ -351,7 +351,7 @@ var BaseAPI = /** @class */ (function () {
|
|
|
351
351
|
_a.label = 6;
|
|
352
352
|
case 6:
|
|
353
353
|
_a.trys.push([6, 8, , 9]);
|
|
354
|
-
return [4 /*yield*/, this.
|
|
354
|
+
return [4 /*yield*/, this.refreshTokenInternal()];
|
|
355
355
|
case 7:
|
|
356
356
|
tokenString = _a.sent();
|
|
357
357
|
accessToken = "Bearer ".concat(tokenString);
|
|
@@ -40,5 +40,6 @@ export declare const CreateCustomSchemaRequestDtoEntityEnum: {
|
|
|
40
40
|
readonly Claim: "claim";
|
|
41
41
|
readonly Invoice: "invoice";
|
|
42
42
|
readonly Payment: "payment";
|
|
43
|
+
readonly Organization: "organization";
|
|
43
44
|
};
|
|
44
45
|
export type CreateCustomSchemaRequestDtoEntityEnum = typeof CreateCustomSchemaRequestDtoEntityEnum[keyof typeof CreateCustomSchemaRequestDtoEntityEnum];
|