@emilgroup/tenant-sdk 1.42.1-beta.134 → 1.42.1-beta.136
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 +0 -1
- package/README.md +2 -2
- package/api/custom-schema-api.ts +12 -32
- package/api/dashboard-api.ts +36 -96
- package/api/dashboard-group-api.ts +15 -40
- package/api/data-report-api.ts +12 -32
- package/api/data-report-executor-api.ts +3 -8
- package/api/delete-organization-invitations-api.ts +3 -8
- package/api/health-check-api.ts +1 -1
- package/api/invitation-controller-rest-api.ts +12 -32
- package/api/invite-organizations-api.ts +3 -8
- package/api/invite-users-api.ts +12 -32
- package/api/list-organization-invitations-api.ts +3 -8
- package/api/organization-migration-api.ts +15 -40
- package/api/organizations-api.ts +9 -24
- package/api/re-invite-an-organization-api.ts +3 -8
- package/api/report-schedule-api.ts +15 -40
- package/api/report-schedule-logs-api.ts +3 -8
- package/api/roles-api.ts +3 -8
- package/api/settings-api.ts +12 -32
- package/api/ssoconnection-api.ts +21 -56
- package/api/ssoid-pgroups-api.ts +18 -48
- package/api/user-controller-rest-api.ts +49 -108
- package/api/user-group-api.ts +24 -64
- package/api/users-api.ts +37 -76
- package/base.ts +43 -239
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/custom-schema-api.d.ts +4 -4
- package/dist/api/custom-schema-api.js +30 -52
- package/dist/api/dashboard-api.d.ts +12 -12
- package/dist/api/dashboard-api.js +95 -176
- package/dist/api/dashboard-group-api.d.ts +5 -5
- package/dist/api/dashboard-group-api.js +39 -71
- package/dist/api/data-report-api.d.ts +4 -4
- package/dist/api/data-report-api.js +30 -52
- package/dist/api/data-report-executor-api.d.ts +1 -1
- package/dist/api/data-report-executor-api.js +8 -15
- package/dist/api/delete-organization-invitations-api.d.ts +1 -1
- package/dist/api/delete-organization-invitations-api.js +8 -15
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/invitation-controller-rest-api.d.ts +4 -4
- package/dist/api/invitation-controller-rest-api.js +31 -56
- package/dist/api/invite-organizations-api.d.ts +1 -1
- package/dist/api/invite-organizations-api.js +8 -15
- package/dist/api/invite-users-api.d.ts +4 -4
- package/dist/api/invite-users-api.js +31 -56
- package/dist/api/list-organization-invitations-api.d.ts +1 -1
- package/dist/api/list-organization-invitations-api.js +7 -11
- package/dist/api/organization-migration-api.d.ts +5 -5
- package/dist/api/organization-migration-api.js +38 -67
- package/dist/api/organizations-api.d.ts +3 -3
- package/dist/api/organizations-api.js +23 -41
- package/dist/api/re-invite-an-organization-api.d.ts +1 -1
- package/dist/api/re-invite-an-organization-api.js +8 -15
- package/dist/api/report-schedule-api.d.ts +5 -5
- package/dist/api/report-schedule-api.js +38 -67
- package/dist/api/report-schedule-logs-api.d.ts +1 -1
- package/dist/api/report-schedule-logs-api.js +7 -11
- package/dist/api/roles-api.d.ts +1 -1
- package/dist/api/roles-api.js +7 -11
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +30 -52
- package/dist/api/ssoconnection-api.d.ts +7 -7
- package/dist/api/ssoconnection-api.js +56 -105
- package/dist/api/ssoid-pgroups-api.d.ts +6 -6
- package/dist/api/ssoid-pgroups-api.js +47 -86
- package/dist/api/user-controller-rest-api.d.ts +27 -31
- package/dist/api/user-controller-rest-api.js +99 -171
- package/dist/api/user-group-api.d.ts +8 -8
- package/dist/api/user-group-api.js +62 -112
- package/dist/api/users-api.d.ts +23 -27
- package/dist/api/users-api.js +68 -115
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/dist/models/create-admin-tenant-request-dto.d.ts +0 -11
- package/dist/models/create-admin-tenant-request-dto.js +0 -5
- package/dist/models/create-tenant-request-dto.d.ts +0 -11
- package/dist/models/create-tenant-request-dto.js +0 -5
- package/dist/models/dbconfig-dto.d.ts +0 -6
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/models/create-admin-tenant-request-dto.ts +0 -14
- package/models/create-tenant-request-dto.ts +0 -14
- package/models/dbconfig-dto.ts +0 -6
- package/models/index.ts +0 -1
- package/package.json +2 -2
- package/dist/models/delete-tenant-request-dto.d.ts +0 -30
- package/dist/models/delete-tenant-request-dto.js +0 -15
- package/models/delete-tenant-request-dto.ts +0 -36
package/api/data-report-api.ts
CHANGED
|
@@ -67,13 +67,8 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
67
67
|
// http bearer authentication required
|
|
68
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
73
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
74
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
75
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
76
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
70
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
77
72
|
}
|
|
78
73
|
|
|
79
74
|
|
|
@@ -125,13 +120,8 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
125
120
|
localVarQueryParameter['expand'] = expand;
|
|
126
121
|
}
|
|
127
122
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
131
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
132
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
133
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
134
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
123
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
124
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
125
|
}
|
|
136
126
|
|
|
137
127
|
|
|
@@ -206,13 +196,8 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
206
196
|
localVarQueryParameter['filters'] = filters;
|
|
207
197
|
}
|
|
208
198
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
212
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
213
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
214
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
215
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
199
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
200
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
216
201
|
}
|
|
217
202
|
|
|
218
203
|
|
|
@@ -259,13 +244,8 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
259
244
|
// http bearer authentication required
|
|
260
245
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
261
246
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
265
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
266
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
267
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
268
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
247
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
248
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
269
249
|
}
|
|
270
250
|
|
|
271
251
|
|
|
@@ -569,7 +549,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
569
549
|
* @memberof DataReportApi
|
|
570
550
|
*/
|
|
571
551
|
public createDataReport(requestParameters: DataReportApiCreateDataReportRequest, options?: AxiosRequestConfig) {
|
|
572
|
-
return DataReportApiFp(this.configuration).createDataReport(requestParameters.createDataReportRequestDto, requestParameters.authorization,
|
|
552
|
+
return DataReportApiFp(this.configuration).createDataReport(requestParameters.createDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
573
553
|
}
|
|
574
554
|
|
|
575
555
|
/**
|
|
@@ -581,7 +561,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
581
561
|
* @memberof DataReportApi
|
|
582
562
|
*/
|
|
583
563
|
public getDataReport(requestParameters: DataReportApiGetDataReportRequest, options?: AxiosRequestConfig) {
|
|
584
|
-
return DataReportApiFp(this.configuration).getDataReport(requestParameters.code, requestParameters.authorization, requestParameters.expand,
|
|
564
|
+
return DataReportApiFp(this.configuration).getDataReport(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
585
565
|
}
|
|
586
566
|
|
|
587
567
|
/**
|
|
@@ -593,7 +573,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
593
573
|
* @memberof DataReportApi
|
|
594
574
|
*/
|
|
595
575
|
public listDataReports(requestParameters: DataReportApiListDataReportsRequest = {}, options?: AxiosRequestConfig) {
|
|
596
|
-
return DataReportApiFp(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
576
|
+
return DataReportApiFp(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
597
577
|
}
|
|
598
578
|
|
|
599
579
|
/**
|
|
@@ -605,6 +585,6 @@ export class DataReportApi extends BaseAPI {
|
|
|
605
585
|
* @memberof DataReportApi
|
|
606
586
|
*/
|
|
607
587
|
public updateDataReport(requestParameters: DataReportApiUpdateDataReportRequest, options?: AxiosRequestConfig) {
|
|
608
|
-
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.code, requestParameters.updateDataReportRequestDto, requestParameters.authorization,
|
|
588
|
+
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.code, requestParameters.updateDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
609
589
|
}
|
|
610
590
|
}
|
|
@@ -58,13 +58,8 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
58
58
|
// http bearer authentication required
|
|
59
59
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
64
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
65
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
66
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
67
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
61
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
62
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
63
|
}
|
|
69
64
|
|
|
70
65
|
|
|
@@ -161,6 +156,6 @@ export class DataReportExecutorApi extends BaseAPI {
|
|
|
161
156
|
* @memberof DataReportExecutorApi
|
|
162
157
|
*/
|
|
163
158
|
public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
|
|
164
|
-
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization,
|
|
159
|
+
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
165
160
|
}
|
|
166
161
|
}
|
|
@@ -58,13 +58,8 @@ export const DeleteOrganizationInvitationsApiAxiosParamCreator = function (confi
|
|
|
58
58
|
// http bearer authentication required
|
|
59
59
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
64
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
65
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
66
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
67
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
61
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
62
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
68
63
|
}
|
|
69
64
|
|
|
70
65
|
|
|
@@ -161,6 +156,6 @@ export class DeleteOrganizationInvitationsApi extends BaseAPI {
|
|
|
161
156
|
* @memberof DeleteOrganizationInvitationsApi
|
|
162
157
|
*/
|
|
163
158
|
public deleteOrgInvitation(requestParameters: DeleteOrganizationInvitationsApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig) {
|
|
164
|
-
return DeleteOrganizationInvitationsApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization,
|
|
159
|
+
return DeleteOrganizationInvitationsApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
165
160
|
}
|
|
166
161
|
}
|
package/api/health-check-api.ts
CHANGED
|
@@ -119,6 +119,6 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
119
119
|
* @memberof HealthCheckApi
|
|
120
120
|
*/
|
|
121
121
|
public check(options?: AxiosRequestConfig) {
|
|
122
|
-
return HealthCheckApiFp(this.configuration).check(
|
|
122
|
+
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -66,13 +66,8 @@ export const InvitationControllerRestApiAxiosParamCreator = function (configurat
|
|
|
66
66
|
// http bearer authentication required
|
|
67
67
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
72
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
73
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
74
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
75
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
69
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
70
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
71
|
}
|
|
77
72
|
|
|
78
73
|
|
|
@@ -115,13 +110,8 @@ export const InvitationControllerRestApiAxiosParamCreator = function (configurat
|
|
|
115
110
|
// http bearer authentication required
|
|
116
111
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
117
112
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
121
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
122
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
123
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
124
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
113
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
114
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
125
115
|
}
|
|
126
116
|
|
|
127
117
|
|
|
@@ -199,13 +189,8 @@ export const InvitationControllerRestApiAxiosParamCreator = function (configurat
|
|
|
199
189
|
localVarQueryParameter['filters'] = filters;
|
|
200
190
|
}
|
|
201
191
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
205
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
206
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
207
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
208
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
192
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
193
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
209
194
|
}
|
|
210
195
|
|
|
211
196
|
|
|
@@ -247,13 +232,8 @@ export const InvitationControllerRestApiAxiosParamCreator = function (configurat
|
|
|
247
232
|
// http bearer authentication required
|
|
248
233
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
249
234
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
253
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
254
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
255
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
256
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
235
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
236
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
257
237
|
}
|
|
258
238
|
|
|
259
239
|
|
|
@@ -537,7 +517,7 @@ export class InvitationControllerRestApi extends BaseAPI {
|
|
|
537
517
|
* @memberof InvitationControllerRestApi
|
|
538
518
|
*/
|
|
539
519
|
public deleteOrgInvitation(requestParameters: InvitationControllerRestApiDeleteOrgInvitationRequest, options?: AxiosRequestConfig) {
|
|
540
|
-
return InvitationControllerRestApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization,
|
|
520
|
+
return InvitationControllerRestApiFp(this.configuration).deleteOrgInvitation(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
541
521
|
}
|
|
542
522
|
|
|
543
523
|
/**
|
|
@@ -549,7 +529,7 @@ export class InvitationControllerRestApi extends BaseAPI {
|
|
|
549
529
|
* @memberof InvitationControllerRestApi
|
|
550
530
|
*/
|
|
551
531
|
public inviteOrg(requestParameters: InvitationControllerRestApiInviteOrgRequest, options?: AxiosRequestConfig) {
|
|
552
|
-
return InvitationControllerRestApiFp(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization,
|
|
532
|
+
return InvitationControllerRestApiFp(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
553
533
|
}
|
|
554
534
|
|
|
555
535
|
/**
|
|
@@ -561,7 +541,7 @@ export class InvitationControllerRestApi extends BaseAPI {
|
|
|
561
541
|
* @memberof InvitationControllerRestApi
|
|
562
542
|
*/
|
|
563
543
|
public listOrgInvitations(requestParameters: InvitationControllerRestApiListOrgInvitationsRequest = {}, options?: AxiosRequestConfig) {
|
|
564
|
-
return InvitationControllerRestApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
544
|
+
return InvitationControllerRestApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
565
545
|
}
|
|
566
546
|
|
|
567
547
|
/**
|
|
@@ -572,6 +552,6 @@ export class InvitationControllerRestApi extends BaseAPI {
|
|
|
572
552
|
* @memberof InvitationControllerRestApi
|
|
573
553
|
*/
|
|
574
554
|
public reInviteOrganization(requestParameters: InvitationControllerRestApiReInviteOrganizationRequest, options?: AxiosRequestConfig) {
|
|
575
|
-
return InvitationControllerRestApiFp(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization,
|
|
555
|
+
return InvitationControllerRestApiFp(this.configuration).reInviteOrganization(requestParameters.reInviteOrgRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
576
556
|
}
|
|
577
557
|
}
|
|
@@ -59,13 +59,8 @@ export const InviteOrganizationsApiAxiosParamCreator = function (configuration?:
|
|
|
59
59
|
// http bearer authentication required
|
|
60
60
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
65
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
66
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
67
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
68
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
62
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
63
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
69
64
|
}
|
|
70
65
|
|
|
71
66
|
|
|
@@ -165,6 +160,6 @@ export class InviteOrganizationsApi extends BaseAPI {
|
|
|
165
160
|
* @memberof InviteOrganizationsApi
|
|
166
161
|
*/
|
|
167
162
|
public inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig) {
|
|
168
|
-
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization,
|
|
163
|
+
return InviteOrganizationsApiFp(this.configuration).inviteOrg(requestParameters.inviteOrgRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
169
164
|
}
|
|
170
165
|
}
|
package/api/invite-users-api.ts
CHANGED
|
@@ -69,13 +69,8 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
75
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
76
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
77
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
78
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
|
|
@@ -121,13 +116,8 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
121
116
|
// http bearer authentication required
|
|
122
117
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
118
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
127
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
128
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
129
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
130
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
119
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
120
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
121
|
}
|
|
132
122
|
|
|
133
123
|
|
|
@@ -173,13 +163,8 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
173
163
|
// http bearer authentication required
|
|
174
164
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
175
165
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
179
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
180
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
181
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
182
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
166
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
168
|
}
|
|
184
169
|
|
|
185
170
|
|
|
@@ -257,13 +242,8 @@ export const InviteUsersApiAxiosParamCreator = function (configuration?: Configu
|
|
|
257
242
|
localVarQueryParameter['filters'] = filters;
|
|
258
243
|
}
|
|
259
244
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
263
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
264
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
265
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
266
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
246
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
267
247
|
}
|
|
268
248
|
|
|
269
249
|
|
|
@@ -546,7 +526,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
546
526
|
* @memberof InviteUsersApi
|
|
547
527
|
*/
|
|
548
528
|
public deleteInvites(requestParameters: InviteUsersApiDeleteInvitesRequest, options?: AxiosRequestConfig) {
|
|
549
|
-
return InviteUsersApiFp(this.configuration).deleteInvites(requestParameters.batchDeleteRequestDto, requestParameters.authorization,
|
|
529
|
+
return InviteUsersApiFp(this.configuration).deleteInvites(requestParameters.batchDeleteRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
550
530
|
}
|
|
551
531
|
|
|
552
532
|
/**
|
|
@@ -558,7 +538,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
558
538
|
* @memberof InviteUsersApi
|
|
559
539
|
*/
|
|
560
540
|
public inviteUser(requestParameters: InviteUsersApiInviteUserRequest, options?: AxiosRequestConfig) {
|
|
561
|
-
return InviteUsersApiFp(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization,
|
|
541
|
+
return InviteUsersApiFp(this.configuration).inviteUser(requestParameters.inviteUserRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
562
542
|
}
|
|
563
543
|
|
|
564
544
|
/**
|
|
@@ -570,7 +550,7 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
570
550
|
* @memberof InviteUsersApi
|
|
571
551
|
*/
|
|
572
552
|
public inviteUsers(requestParameters: InviteUsersApiInviteUsersRequest, options?: AxiosRequestConfig) {
|
|
573
|
-
return InviteUsersApiFp(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization,
|
|
553
|
+
return InviteUsersApiFp(this.configuration).inviteUsers(requestParameters.inviteUsersRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
574
554
|
}
|
|
575
555
|
|
|
576
556
|
/**
|
|
@@ -582,6 +562,6 @@ export class InviteUsersApi extends BaseAPI {
|
|
|
582
562
|
* @memberof InviteUsersApi
|
|
583
563
|
*/
|
|
584
564
|
public listInvites(requestParameters: InviteUsersApiListInvitesRequest = {}, options?: AxiosRequestConfig) {
|
|
585
|
-
return InviteUsersApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
565
|
+
return InviteUsersApiFp(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
586
566
|
}
|
|
587
567
|
}
|
|
@@ -89,13 +89,8 @@ export const ListOrganizationInvitationsApiAxiosParamCreator = function (configu
|
|
|
89
89
|
localVarQueryParameter['filters'] = filters;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
95
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
96
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
97
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
98
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
92
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
93
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
99
94
|
}
|
|
100
95
|
|
|
101
96
|
|
|
@@ -246,6 +241,6 @@ export class ListOrganizationInvitationsApi extends BaseAPI {
|
|
|
246
241
|
* @memberof ListOrganizationInvitationsApi
|
|
247
242
|
*/
|
|
248
243
|
public listOrgInvitations(requestParameters: ListOrganizationInvitationsApiListOrgInvitationsRequest = {}, options?: AxiosRequestConfig) {
|
|
249
|
-
return ListOrganizationInvitationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
244
|
+
return ListOrganizationInvitationsApiFp(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
250
245
|
}
|
|
251
246
|
}
|
|
@@ -69,13 +69,8 @@ export const OrganizationMigrationApiAxiosParamCreator = function (configuration
|
|
|
69
69
|
// http bearer authentication required
|
|
70
70
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
75
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
76
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
77
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
78
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
72
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
|
|
@@ -121,13 +116,8 @@ export const OrganizationMigrationApiAxiosParamCreator = function (configuration
|
|
|
121
116
|
// http bearer authentication required
|
|
122
117
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
118
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
127
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
128
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
129
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
130
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
119
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
120
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
121
|
}
|
|
132
122
|
|
|
133
123
|
|
|
@@ -179,13 +169,8 @@ export const OrganizationMigrationApiAxiosParamCreator = function (configuration
|
|
|
179
169
|
localVarQueryParameter['expand'] = expand;
|
|
180
170
|
}
|
|
181
171
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
185
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
186
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
187
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
188
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
172
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
189
174
|
}
|
|
190
175
|
|
|
191
176
|
|
|
@@ -260,13 +245,8 @@ export const OrganizationMigrationApiAxiosParamCreator = function (configuration
|
|
|
260
245
|
localVarQueryParameter['filters'] = filters;
|
|
261
246
|
}
|
|
262
247
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
266
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
267
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
268
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
269
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
248
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
249
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
270
250
|
}
|
|
271
251
|
|
|
272
252
|
|
|
@@ -309,13 +289,8 @@ export const OrganizationMigrationApiAxiosParamCreator = function (configuration
|
|
|
309
289
|
// http bearer authentication required
|
|
310
290
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
311
291
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
315
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
316
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
317
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
318
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
292
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
293
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
319
294
|
}
|
|
320
295
|
|
|
321
296
|
|
|
@@ -654,7 +629,7 @@ export class OrganizationMigrationApi extends BaseAPI {
|
|
|
654
629
|
* @memberof OrganizationMigrationApi
|
|
655
630
|
*/
|
|
656
631
|
public createOrganizationMigration(requestParameters: OrganizationMigrationApiCreateOrganizationMigrationRequest, options?: AxiosRequestConfig) {
|
|
657
|
-
return OrganizationMigrationApiFp(this.configuration).createOrganizationMigration(requestParameters.createOrganizationMigrationRequestDto, requestParameters.authorization,
|
|
632
|
+
return OrganizationMigrationApiFp(this.configuration).createOrganizationMigration(requestParameters.createOrganizationMigrationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
658
633
|
}
|
|
659
634
|
|
|
660
635
|
/**
|
|
@@ -666,7 +641,7 @@ export class OrganizationMigrationApi extends BaseAPI {
|
|
|
666
641
|
* @memberof OrganizationMigrationApi
|
|
667
642
|
*/
|
|
668
643
|
public createResourcesMigration(requestParameters: OrganizationMigrationApiCreateResourcesMigrationRequest, options?: AxiosRequestConfig) {
|
|
669
|
-
return OrganizationMigrationApiFp(this.configuration).createResourcesMigration(requestParameters.createResourcesMigrationRequestDto, requestParameters.authorization,
|
|
644
|
+
return OrganizationMigrationApiFp(this.configuration).createResourcesMigration(requestParameters.createResourcesMigrationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
670
645
|
}
|
|
671
646
|
|
|
672
647
|
/**
|
|
@@ -678,7 +653,7 @@ export class OrganizationMigrationApi extends BaseAPI {
|
|
|
678
653
|
* @memberof OrganizationMigrationApi
|
|
679
654
|
*/
|
|
680
655
|
public getOrganizationMigration(requestParameters: OrganizationMigrationApiGetOrganizationMigrationRequest, options?: AxiosRequestConfig) {
|
|
681
|
-
return OrganizationMigrationApiFp(this.configuration).getOrganizationMigration(requestParameters.code, requestParameters.expand, requestParameters.authorization,
|
|
656
|
+
return OrganizationMigrationApiFp(this.configuration).getOrganizationMigration(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
682
657
|
}
|
|
683
658
|
|
|
684
659
|
/**
|
|
@@ -690,7 +665,7 @@ export class OrganizationMigrationApi extends BaseAPI {
|
|
|
690
665
|
* @memberof OrganizationMigrationApi
|
|
691
666
|
*/
|
|
692
667
|
public listOrganizationMigrations(requestParameters: OrganizationMigrationApiListOrganizationMigrationsRequest = {}, options?: AxiosRequestConfig) {
|
|
693
|
-
return OrganizationMigrationApiFp(this.configuration).listOrganizationMigrations(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization,
|
|
668
|
+
return OrganizationMigrationApiFp(this.configuration).listOrganizationMigrations(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
694
669
|
}
|
|
695
670
|
|
|
696
671
|
/**
|
|
@@ -702,6 +677,6 @@ export class OrganizationMigrationApi extends BaseAPI {
|
|
|
702
677
|
* @memberof OrganizationMigrationApi
|
|
703
678
|
*/
|
|
704
679
|
public revertOrganizationMigration(requestParameters: OrganizationMigrationApiRevertOrganizationMigrationRequest, options?: AxiosRequestConfig) {
|
|
705
|
-
return OrganizationMigrationApiFp(this.configuration).revertOrganizationMigration(requestParameters.revertOrganizationMigrationRequestDto, requestParameters.authorization,
|
|
680
|
+
return OrganizationMigrationApiFp(this.configuration).revertOrganizationMigration(requestParameters.revertOrganizationMigrationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
706
681
|
}
|
|
707
682
|
}
|