@@ -18,11 +18,13 @@ const withTenant = (sdk: CoreSdk, managementKey?: string) => ({
1818 name : string ,
1919 selfProvisioningDomains ?: string [ ] ,
2020 customAttributes ?: Record < string , AttributesTypes > ,
21+ enforceSSO ?: boolean ,
22+ disabled ?: boolean ,
2123 ) : Promise < SdkResponse < CreateTenantResponse > > =>
2224 transformResponse (
2325 sdk . httpClient . post (
2426 apiPaths . tenant . create ,
25- { name, selfProvisioningDomains, customAttributes } ,
27+ { name, selfProvisioningDomains, customAttributes, enforceSSO , disabled } ,
2628 { token : managementKey } ,
2729 ) ,
2830 ) ,
@@ -31,11 +33,13 @@ const withTenant = (sdk: CoreSdk, managementKey?: string) => ({
3133 name : string ,
3234 selfProvisioningDomains ?: string [ ] ,
3335 customAttributes ?: Record < string , AttributesTypes > ,
36+ enforceSSO ?: boolean ,
37+ disabled ?: boolean ,
3438 ) : Promise < SdkResponse < never > > =>
3539 transformResponse (
3640 sdk . httpClient . post (
3741 apiPaths . tenant . create ,
38- { id, name, selfProvisioningDomains, customAttributes } ,
42+ { id, name, selfProvisioningDomains, customAttributes, enforceSSO , disabled } ,
3943 { token : managementKey } ,
4044 ) ,
4145 ) ,
@@ -44,11 +48,13 @@ const withTenant = (sdk: CoreSdk, managementKey?: string) => ({
4448 name : string ,
4549 selfProvisioningDomains ?: string [ ] ,
4650 customAttributes ?: Record < string , AttributesTypes > ,
51+ enforceSSO ?: boolean ,
52+ disabled ?: boolean ,
4753 ) : Promise < SdkResponse < never > > =>
4854 transformResponse (
4955 sdk . httpClient . post (
5056 apiPaths . tenant . update ,
51- { id, name, selfProvisioningDomains, customAttributes } ,
57+ { id, name, selfProvisioningDomains, customAttributes, enforceSSO , disabled } ,
5258 { token : managementKey } ,
5359 ) ,
5460 ) ,
0 commit comments