@emilgroup/tenant-sdk 1.42.1-beta.26 → 1.42.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 +953 -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 +928 -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@1.42.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.28 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.42.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.42.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';
|
|
@@ -211,6 +213,47 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
211
213
|
|
|
212
214
|
|
|
213
215
|
|
|
216
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
219
|
+
|
|
220
|
+
return {
|
|
221
|
+
url: toPathString(localVarUrlObj),
|
|
222
|
+
options: localVarRequestOptions,
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
227
|
+
* @summary Read the values an SSO connection is created with
|
|
228
|
+
* @param {string} [authorization] Bearer Token
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
getSsoConnectionSetup: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
233
|
+
const localVarPath = `/tenantservice/v1/sso-connection`;
|
|
234
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
235
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
236
|
+
let baseOptions;
|
|
237
|
+
let baseAccessToken;
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
baseAccessToken = configuration.accessToken;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
244
|
+
const localVarHeaderParameter = {} as any;
|
|
245
|
+
const localVarQueryParameter = {} as any;
|
|
246
|
+
|
|
247
|
+
// authentication bearer required
|
|
248
|
+
// http bearer authentication required
|
|
249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
250
|
+
|
|
251
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
214
257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
215
258
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
259
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -379,6 +422,17 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
379
422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
380
423
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
424
|
},
|
|
425
|
+
/**
|
|
426
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
427
|
+
* @summary Read the values an SSO connection is created with
|
|
428
|
+
* @param {string} [authorization] Bearer Token
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
async getSsoConnectionSetup(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionSetupResponseClass>> {
|
|
433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnectionSetup(authorization, options);
|
|
434
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
435
|
+
},
|
|
382
436
|
/**
|
|
383
437
|
* 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\"
|
|
384
438
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -458,6 +512,16 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
458
512
|
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
459
513
|
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
460
514
|
},
|
|
515
|
+
/**
|
|
516
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
517
|
+
* @summary Read the values an SSO connection is created with
|
|
518
|
+
* @param {string} [authorization] Bearer Token
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
getSsoConnectionSetup(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionSetupResponseClass> {
|
|
523
|
+
return localVarFp.getSsoConnectionSetup(authorization, options).then((request) => request(axios, basePath));
|
|
524
|
+
},
|
|
461
525
|
/**
|
|
462
526
|
* 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\"
|
|
463
527
|
* @summary Edit the tenant\'s SSO connection
|
|
@@ -562,6 +626,20 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
|
562
626
|
readonly authorization?: string
|
|
563
627
|
}
|
|
564
628
|
|
|
629
|
+
/**
|
|
630
|
+
* Request parameters for getSsoConnectionSetup operation in SSOConnectionApi.
|
|
631
|
+
* @export
|
|
632
|
+
* @interface SSOConnectionApiGetSsoConnectionSetupRequest
|
|
633
|
+
*/
|
|
634
|
+
export interface SSOConnectionApiGetSsoConnectionSetupRequest {
|
|
635
|
+
/**
|
|
636
|
+
* Bearer Token
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof SSOConnectionApiGetSsoConnectionSetup
|
|
639
|
+
*/
|
|
640
|
+
readonly authorization?: string
|
|
641
|
+
}
|
|
642
|
+
|
|
565
643
|
/**
|
|
566
644
|
* Request parameters for updateSsoConnection operation in SSOConnectionApi.
|
|
567
645
|
* @export
|
|
@@ -673,6 +751,18 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
673
751
|
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
674
752
|
}
|
|
675
753
|
|
|
754
|
+
/**
|
|
755
|
+
* Returns what the creation form with required data. **Required Permissions** \"tenant-management.settings.create\"
|
|
756
|
+
* @summary Read the values an SSO connection is created with
|
|
757
|
+
* @param {SSOConnectionApiGetSsoConnectionSetupRequest} requestParameters Request parameters.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
* @memberof SSOConnectionApi
|
|
761
|
+
*/
|
|
762
|
+
public getSsoConnectionSetup(requestParameters: SSOConnectionApiGetSsoConnectionSetupRequest = {}, options?: AxiosRequestConfig) {
|
|
763
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnectionSetup(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
764
|
+
}
|
|
765
|
+
|
|
676
766
|
/**
|
|
677
767
|
* 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\"
|
|
678
768
|
* @summary Edit the tenant\'s SSO connection
|