@emilgroup/tenant-sdk-node 1.39.1-beta.26 → 1.39.1-beta.28
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 +14 -0
- package/README.md +2 -2
- package/api/ssoconnection-api.ts +90 -0
- package/api/test-tenant-pool-api.ts +957 -0
- package/api.ts +2 -0
- package/dist/api/ssoconnection-api.d.ts +47 -0
- package/dist/api/ssoconnection-api.js +87 -0
- package/dist/api/test-tenant-pool-api.d.ts +506 -0
- package/dist/api/test-tenant-pool-api.js +932 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/checkout-request-dto.d.ts +36 -0
- package/dist/models/checkout-request-dto.js +15 -0
- package/dist/models/checkout-response-class.d.ts +36 -0
- package/dist/models/checkout-response-class.js +15 -0
- package/dist/models/cleanup-registry-entity-dto.d.ts +36 -0
- package/dist/models/cleanup-registry-entity-dto.js +15 -0
- package/dist/models/cleanup-registry-request-dto.d.ts +25 -0
- package/dist/models/cleanup-registry-request-dto.js +15 -0
- package/dist/models/cleanup-registry-response-class.d.ts +31 -0
- package/dist/models/cleanup-registry-response-class.js +15 -0
- package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-setup-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/oidc-sso-setup-class.d.ts +31 -0
- package/dist/models/oidc-sso-setup-class.js +15 -0
- package/dist/models/pool-tenant-response-class.d.ts +54 -0
- package/dist/models/pool-tenant-response-class.js +15 -0
- package/dist/models/register-pool-tenant-request-dto.d.ts +30 -0
- package/dist/models/register-pool-tenant-request-dto.js +15 -0
- package/dist/models/saml-sso-setup-class.d.ts +37 -0
- package/dist/models/saml-sso-setup-class.js +15 -0
- package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
- package/dist/models/sso-attribute-mapping-template-class.js +15 -0
- package/dist/models/sso-connection-setup-class.d.ts +32 -0
- package/dist/models/sso-connection-setup-class.js +15 -0
- package/dist/models/update-tags-body-dto.d.ts +24 -0
- package/dist/models/update-tags-body-dto.js +15 -0
- package/models/checkout-request-dto.ts +42 -0
- package/models/checkout-response-class.ts +42 -0
- package/models/cleanup-registry-entity-dto.ts +42 -0
- package/models/cleanup-registry-request-dto.ts +31 -0
- package/models/cleanup-registry-response-class.ts +37 -0
- package/models/get-sso-connection-setup-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/oidc-sso-setup-class.ts +37 -0
- package/models/pool-tenant-response-class.ts +60 -0
- package/models/register-pool-tenant-request-dto.ts +36 -0
- package/models/saml-sso-setup-class.ts +43 -0
- package/models/sso-attribute-mapping-template-class.ts +42 -0
- package/models/sso-connection-setup-class.ts +38 -0
- package/models/update-tags-body-dto.ts +30 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -43,6 +43,7 @@ import { ReportScheduleLogsApi } from './api';
|
|
|
43
43
|
import { RolesApi } from './api';
|
|
44
44
|
import { SSOConnectionApi } from './api';
|
|
45
45
|
import { SettingsApi } from './api';
|
|
46
|
+
import { TestTenantPoolApi } from './api';
|
|
46
47
|
import { UserControllerRestApi } from './api';
|
|
47
48
|
import { UserGroupApi } from './api';
|
|
48
49
|
import { UsersApi } from './api';
|
|
@@ -67,6 +68,7 @@ export * from './api/report-schedule-logs-api';
|
|
|
67
68
|
export * from './api/roles-api';
|
|
68
69
|
export * from './api/ssoconnection-api';
|
|
69
70
|
export * from './api/settings-api';
|
|
71
|
+
export * from './api/test-tenant-pool-api';
|
|
70
72
|
export * from './api/user-controller-rest-api';
|
|
71
73
|
export * from './api/user-group-api';
|
|
72
74
|
export * from './api/users-api';
|
|
@@ -16,6 +16,7 @@ import { CreateSsoConnectionRequestDto } from '../models';
|
|
|
16
16
|
import { CreateSsoConnectionResponseClass } from '../models';
|
|
17
17
|
import { DeleteResponseClass } from '../models';
|
|
18
18
|
import { GetSsoConnectionResponseClass } from '../models';
|
|
19
|
+
import { GetSsoConnectionSetupResponseClass } from '../models';
|
|
19
20
|
import { UpdateSsoConnectionBodyDto } from '../models';
|
|
20
21
|
import { UpdateSsoConnectionResponseClass } from '../models';
|
|
21
22
|
import { UpdateSsoConnectionStatusBodyDto } from '../models';
|
|
@@ -60,6 +61,14 @@ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configu
|
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
63
|
getSsoConnection: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
66
|
+
* @summary Read the values an SSO connection is created with
|
|
67
|
+
* @param {string} [authorization] Bearer Token
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getSsoConnectionSetup: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
72
|
/**
|
|
64
73
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
65
74
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -121,6 +130,14 @@ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
|
|
|
121
130
|
* @throws {RequiredError}
|
|
122
131
|
*/
|
|
123
132
|
getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>>;
|
|
133
|
+
/**
|
|
134
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
135
|
+
* @summary Read the values an SSO connection is created with
|
|
136
|
+
* @param {string} [authorization] Bearer Token
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>>;
|
|
124
141
|
/**
|
|
125
142
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
126
143
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -182,6 +199,14 @@ export declare const SSOConnectionApiFactory: (configuration?: Configuration, ba
|
|
|
182
199
|
* @throws {RequiredError}
|
|
183
200
|
*/
|
|
184
201
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass>;
|
|
202
|
+
/**
|
|
203
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
204
|
+
* @summary Read the values an SSO connection is created with
|
|
205
|
+
* @param {string} [authorization] Bearer Token
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass>;
|
|
185
210
|
/**
|
|
186
211
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
187
212
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -273,6 +298,19 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
273
298
|
*/
|
|
274
299
|
readonly authorization?: string;
|
|
275
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
303
|
+
* @export
|
|
304
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
307
|
+
/**
|
|
308
|
+
* Bearer Token
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
311
|
+
*/
|
|
312
|
+
readonly authorization?: string;
|
|
313
|
+
}
|
|
276
314
|
/**
|
|
277
315
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
278
316
|
* @export
|
|
@@ -366,6 +404,15 @@ export declare class SSOConnectionApi extends BaseAPI {
|
|
|
366
404
|
* @memberof SSOConnectionApi
|
|
367
405
|
*/
|
|
368
406
|
getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionResponseClass, any, {}>>;
|
|
407
|
+
/**
|
|
408
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
409
|
+
* @summary Read the values an SSO connection is created with
|
|
410
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
* @memberof SSOConnectionApi
|
|
414
|
+
*/
|
|
415
|
+
getSsoConnectionSetup(requestParameters?: SSOConnectionApiGetSsoConnectionSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionSetupResponseClass, any, {}>>;
|
|
369
416
|
/**
|
|
370
417
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
371
418
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -285,6 +285,50 @@ var SSOConnectionApiAxiosParamCreator = function (configuration) {
|
|
|
285
285
|
});
|
|
286
286
|
});
|
|
287
287
|
},
|
|
288
|
+
/**
|
|
289
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
290
|
+
* @summary Read the values an SSO connection is created with
|
|
291
|
+
* @param {string} [authorization] Bearer Token
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
296
|
+
if (options === void 0) { options = {}; }
|
|
297
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
298
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
299
|
+
return __generator(this, function (_a) {
|
|
300
|
+
switch (_a.label) {
|
|
301
|
+
case 0:
|
|
302
|
+
localVarPath = "/tenantservice/v1/sso-connection";
|
|
303
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
baseAccessToken = configuration.accessToken;
|
|
307
|
+
}
|
|
308
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
309
|
+
localVarHeaderParameter = {};
|
|
310
|
+
localVarQueryParameter = {};
|
|
311
|
+
// authentication bearer required
|
|
312
|
+
// http bearer authentication required
|
|
313
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
314
|
+
case 1:
|
|
315
|
+
// authentication bearer required
|
|
316
|
+
// http bearer authentication required
|
|
317
|
+
_a.sent();
|
|
318
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
319
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
320
|
+
}
|
|
321
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
322
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
324
|
+
return [2 /*return*/, {
|
|
325
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions,
|
|
327
|
+
}];
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
},
|
|
288
332
|
/**
|
|
289
333
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
290
334
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -484,6 +528,26 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
484
528
|
});
|
|
485
529
|
});
|
|
486
530
|
},
|
|
531
|
+
/**
|
|
532
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
533
|
+
* @summary Read the values an SSO connection is created with
|
|
534
|
+
* @param {string} [authorization] Bearer Token
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
*/
|
|
538
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
540
|
+
var localVarAxiosArgs;
|
|
541
|
+
return __generator(this, function (_a) {
|
|
542
|
+
switch (_a.label) {
|
|
543
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options)];
|
|
544
|
+
case 1:
|
|
545
|
+
localVarAxiosArgs = _a.sent();
|
|
546
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
});
|
|
550
|
+
},
|
|
487
551
|
/**
|
|
488
552
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
489
553
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -581,6 +645,16 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
581
645
|
getSsoConnection: function (code, authorization, options) {
|
|
582
646
|
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
583
647
|
},
|
|
648
|
+
/**
|
|
649
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
650
|
+
* @summary Read the values an SSO connection is created with
|
|
651
|
+
* @param {string} [authorization] Bearer Token
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
getSsoConnectionSetup: function (authorization, options) {
|
|
656
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
657
|
+
},
|
|
584
658
|
/**
|
|
585
659
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
586
660
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -668,6 +742,19 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
668
742
|
var _this = this;
|
|
669
743
|
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
670
744
|
};
|
|
745
|
+
/**
|
|
746
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
747
|
+
* @summary Read the values an SSO connection is created with
|
|
748
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
* @memberof SSOConnectionApi
|
|
752
|
+
*/
|
|
753
|
+
SSOConnectionApi.prototype.getSsoConnectionSetup = function (requestParameters, options) {
|
|
754
|
+
var _this = this;
|
|
755
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
756
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
757
|
+
};
|
|
671
758
|
/**
|
|
672
759
|
* Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
|
|
673
760
|
* @summary Edit the tenant\'s SSO connection
|