@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/.openapi-generator/FILES
CHANGED
|
@@ -22,6 +22,7 @@ api/report-schedule-logs-api.ts
|
|
|
22
22
|
api/roles-api.ts
|
|
23
23
|
api/settings-api.ts
|
|
24
24
|
api/ssoconnection-api.ts
|
|
25
|
+
api/test-tenant-pool-api.ts
|
|
25
26
|
api/user-controller-rest-api.ts
|
|
26
27
|
api/user-group-api.ts
|
|
27
28
|
api/users-api.ts
|
|
@@ -37,6 +38,11 @@ models/assign-user-roles-request-dto.ts
|
|
|
37
38
|
models/assign-user-roles-response-class.ts
|
|
38
39
|
models/batch-delete-request-dto.ts
|
|
39
40
|
models/batch-delete-response-class.ts
|
|
41
|
+
models/checkout-request-dto.ts
|
|
42
|
+
models/checkout-response-class.ts
|
|
43
|
+
models/cleanup-registry-entity-dto.ts
|
|
44
|
+
models/cleanup-registry-request-dto.ts
|
|
45
|
+
models/cleanup-registry-response-class.ts
|
|
40
46
|
models/create-admin-tenant-request-dto.ts
|
|
41
47
|
models/create-custom-schema-request-dto.ts
|
|
42
48
|
models/create-custom-schema-response-class.ts
|
|
@@ -89,6 +95,7 @@ models/get-organization-response-class.ts
|
|
|
89
95
|
models/get-report-schedule-response-class.ts
|
|
90
96
|
models/get-settings-response-class.ts
|
|
91
97
|
models/get-sso-connection-response-class.ts
|
|
98
|
+
models/get-sso-connection-setup-response-class.ts
|
|
92
99
|
models/get-user-group-response-class.ts
|
|
93
100
|
models/get-user-response-class.ts
|
|
94
101
|
models/index.ts
|
|
@@ -119,14 +126,17 @@ models/list-user-groups-response-class.ts
|
|
|
119
126
|
models/list-users-response-class.ts
|
|
120
127
|
models/oidc-sso-details-input-dto.ts
|
|
121
128
|
models/oidc-sso-details-update-dto.ts
|
|
129
|
+
models/oidc-sso-setup-class.ts
|
|
122
130
|
models/org-invitation-class.ts
|
|
123
131
|
models/org-invitation-response-class.ts
|
|
124
132
|
models/organization-class.ts
|
|
125
133
|
models/organization-migration-class.ts
|
|
126
134
|
models/permission-class.ts
|
|
135
|
+
models/pool-tenant-response-class.ts
|
|
127
136
|
models/publish-dashboard-request-dto.ts
|
|
128
137
|
models/quick-sight-analysis-parameter-class.ts
|
|
129
138
|
models/re-invite-org-request-dto.ts
|
|
139
|
+
models/register-pool-tenant-request-dto.ts
|
|
130
140
|
models/remove-users-from-group-request-dto.ts
|
|
131
141
|
models/report-schedule-class.ts
|
|
132
142
|
models/report-schedule-log-class.ts
|
|
@@ -140,6 +150,7 @@ models/role-class.ts
|
|
|
140
150
|
models/run-data-report-request-dto.ts
|
|
141
151
|
models/run-data-report-response-class.ts
|
|
142
152
|
models/saml-sso-details-dto.ts
|
|
153
|
+
models/saml-sso-setup-class.ts
|
|
143
154
|
models/set-setting-grpc-request-dto.ts
|
|
144
155
|
models/set-setting-request-dto.ts
|
|
145
156
|
models/set-tenant-setting-response-class.ts
|
|
@@ -148,7 +159,9 @@ models/shared-oidc-sso-details-class.ts
|
|
|
148
159
|
models/shared-saml-sso-details-class.ts
|
|
149
160
|
models/shared-sso-attribute-mapping-class.ts
|
|
150
161
|
models/sso-attribute-mapping-dto.ts
|
|
162
|
+
models/sso-attribute-mapping-template-class.ts
|
|
151
163
|
models/sso-connection-class.ts
|
|
164
|
+
models/sso-connection-setup-class.ts
|
|
152
165
|
models/subscription-class.ts
|
|
153
166
|
models/tenant-admin-user-dto.ts
|
|
154
167
|
models/tenant-settings-class.ts
|
|
@@ -168,6 +181,7 @@ models/update-sso-connection-body-dto.ts
|
|
|
168
181
|
models/update-sso-connection-response-class.ts
|
|
169
182
|
models/update-sso-connection-status-body-dto.ts
|
|
170
183
|
models/update-sso-connection-status-response-class.ts
|
|
184
|
+
models/update-tags-body-dto.ts
|
|
171
185
|
models/update-user-group-request-dto.ts
|
|
172
186
|
models/update-user-group-response-class.ts
|
|
173
187
|
models/user-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.28 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.28
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoconnection-api.ts
CHANGED
|
@@ -29,6 +29,8 @@ import { DeleteResponseClass } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetSsoConnectionResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
|
+
import { GetSsoConnectionSetupResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
32
34
|
import { UpdateSsoConnectionBodyDto } from '../models';
|
|
33
35
|
// @ts-ignore
|
|
34
36
|
import { UpdateSsoConnectionResponseClass } from '../models';
|
|
@@ -215,6 +217,47 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
215
217
|
|
|
216
218
|
|
|
217
219
|
|
|
220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
223
|
+
|
|
224
|
+
return {
|
|
225
|
+
url: toPathString(localVarUrlObj),
|
|
226
|
+
options: localVarRequestOptions,
|
|
227
|
+
};
|
|
228
|
+
},
|
|
229
|
+
/**
|
|
230
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
231
|
+
* @summary Read the values an SSO connection is created with
|
|
232
|
+
* @param {string} [authorization] Bearer Token
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
getSsoConnectionSetup: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
237
|
+
const localVarPath = `/tenantservice/v1/sso-connection`;
|
|
238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
240
|
+
let baseOptions;
|
|
241
|
+
let baseAccessToken;
|
|
242
|
+
if (configuration) {
|
|
243
|
+
baseOptions = configuration.baseOptions;
|
|
244
|
+
baseAccessToken = configuration.accessToken;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
248
|
+
const localVarHeaderParameter = {} as any;
|
|
249
|
+
const localVarQueryParameter = {} as any;
|
|
250
|
+
|
|
251
|
+
// authentication bearer required
|
|
252
|
+
// http bearer authentication required
|
|
253
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
254
|
+
|
|
255
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
256
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
218
261
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
262
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
263
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -383,6 +426,17 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
383
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
384
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
428
|
},
|
|
429
|
+
/**
|
|
430
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
431
|
+
* @summary Read the values an SSO connection is created with
|
|
432
|
+
* @param {string} [authorization] Bearer Token
|
|
433
|
+
* @param {*} [options] Override http request option.
|
|
434
|
+
* @throws {RequiredError}
|
|
435
|
+
*/
|
|
436
|
+
async getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>> {
|
|
437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options);
|
|
438
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
|
+
},
|
|
386
440
|
/**
|
|
387
441
|
* 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\"
|
|
388
442
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -462,6 +516,16 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
462
516
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
463
517
|
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
464
518
|
},
|
|
519
|
+
/**
|
|
520
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
521
|
+
* @summary Read the values an SSO connection is created with
|
|
522
|
+
* @param {string} [authorization] Bearer Token
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass> {
|
|
527
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then((request) => request(axios, basePath));
|
|
528
|
+
},
|
|
465
529
|
/**
|
|
466
530
|
* 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\"
|
|
467
531
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -566,6 +630,20 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
566
630
|
readonly authorization?: string
|
|
567
631
|
}
|
|
568
632
|
|
|
633
|
+
/**
|
|
634
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
635
|
+
* @export
|
|
636
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
637
|
+
*/
|
|
638
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
639
|
+
/**
|
|
640
|
+
* Bearer Token
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
643
|
+
*/
|
|
644
|
+
readonly authorization?: string
|
|
645
|
+
}
|
|
646
|
+
|
|
569
647
|
/**
|
|
570
648
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
571
649
|
* @export
|
|
@@ -677,6 +755,18 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
677
755
|
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
678
756
|
}
|
|
679
757
|
|
|
758
|
+
/**
|
|
759
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
760
|
+
* @summary Read the values an SSO connection is created with
|
|
761
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @throws {RequiredError}
|
|
764
|
+
* @memberof SSOConnectionApi
|
|
765
|
+
*/
|
|
766
|
+
public getSsoConnectionSetup(requestParameters: SSOConnectionApiGetSsoConnectionSetupRequest = {}, options?: AxiosRequestConfig) {
|
|
767
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
768
|
+
}
|
|
769
|
+
|
|
680
770
|
/**
|
|
681
771
|
* 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\"
|
|
682
772
|
* @summary Edit the tenant\'s SSO connection
|