@alicloud/eiam20211201 1.0.0 → 1.1.0

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/dist/client.d.ts CHANGED
@@ -986,6 +986,47 @@ export declare class DisableApplicationProvisioningResponse extends $tea.Model {
986
986
  [key: string]: any;
987
987
  });
988
988
  }
989
+ export declare class DisableApplicationSsoRequest extends $tea.Model {
990
+ applicationId?: string;
991
+ instanceId?: string;
992
+ static names(): {
993
+ [key: string]: string;
994
+ };
995
+ static types(): {
996
+ [key: string]: any;
997
+ };
998
+ constructor(map?: {
999
+ [key: string]: any;
1000
+ });
1001
+ }
1002
+ export declare class DisableApplicationSsoResponseBody extends $tea.Model {
1003
+ requestId?: string;
1004
+ static names(): {
1005
+ [key: string]: string;
1006
+ };
1007
+ static types(): {
1008
+ [key: string]: any;
1009
+ };
1010
+ constructor(map?: {
1011
+ [key: string]: any;
1012
+ });
1013
+ }
1014
+ export declare class DisableApplicationSsoResponse extends $tea.Model {
1015
+ headers: {
1016
+ [key: string]: string;
1017
+ };
1018
+ statusCode: number;
1019
+ body: DisableApplicationSsoResponseBody;
1020
+ static names(): {
1021
+ [key: string]: string;
1022
+ };
1023
+ static types(): {
1024
+ [key: string]: any;
1025
+ };
1026
+ constructor(map?: {
1027
+ [key: string]: any;
1028
+ });
1029
+ }
989
1030
  export declare class DisableUserRequest extends $tea.Model {
990
1031
  instanceId?: string;
991
1032
  userId?: string;
@@ -1192,6 +1233,47 @@ export declare class EnableApplicationProvisioningResponse extends $tea.Model {
1192
1233
  [key: string]: any;
1193
1234
  });
1194
1235
  }
1236
+ export declare class EnableApplicationSsoRequest extends $tea.Model {
1237
+ applicationId?: string;
1238
+ instanceId?: string;
1239
+ static names(): {
1240
+ [key: string]: string;
1241
+ };
1242
+ static types(): {
1243
+ [key: string]: any;
1244
+ };
1245
+ constructor(map?: {
1246
+ [key: string]: any;
1247
+ });
1248
+ }
1249
+ export declare class EnableApplicationSsoResponseBody extends $tea.Model {
1250
+ requestId?: string;
1251
+ static names(): {
1252
+ [key: string]: string;
1253
+ };
1254
+ static types(): {
1255
+ [key: string]: any;
1256
+ };
1257
+ constructor(map?: {
1258
+ [key: string]: any;
1259
+ });
1260
+ }
1261
+ export declare class EnableApplicationSsoResponse extends $tea.Model {
1262
+ headers: {
1263
+ [key: string]: string;
1264
+ };
1265
+ statusCode: number;
1266
+ body: EnableApplicationSsoResponseBody;
1267
+ static names(): {
1268
+ [key: string]: string;
1269
+ };
1270
+ static types(): {
1271
+ [key: string]: any;
1272
+ };
1273
+ constructor(map?: {
1274
+ [key: string]: any;
1275
+ });
1276
+ }
1195
1277
  export declare class EnableUserRequest extends $tea.Model {
1196
1278
  instanceId?: string;
1197
1279
  userId?: string;
@@ -1443,6 +1525,47 @@ export declare class GetApplicationSsoConfigResponse extends $tea.Model {
1443
1525
  [key: string]: any;
1444
1526
  });
1445
1527
  }
1528
+ export declare class GetForgetPasswordConfigurationRequest extends $tea.Model {
1529
+ instanceId?: string;
1530
+ static names(): {
1531
+ [key: string]: string;
1532
+ };
1533
+ static types(): {
1534
+ [key: string]: any;
1535
+ };
1536
+ constructor(map?: {
1537
+ [key: string]: any;
1538
+ });
1539
+ }
1540
+ export declare class GetForgetPasswordConfigurationResponseBody extends $tea.Model {
1541
+ openForgetPasswordConfiguration?: GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration;
1542
+ requestId?: string;
1543
+ static names(): {
1544
+ [key: string]: string;
1545
+ };
1546
+ static types(): {
1547
+ [key: string]: any;
1548
+ };
1549
+ constructor(map?: {
1550
+ [key: string]: any;
1551
+ });
1552
+ }
1553
+ export declare class GetForgetPasswordConfigurationResponse extends $tea.Model {
1554
+ headers: {
1555
+ [key: string]: string;
1556
+ };
1557
+ statusCode: number;
1558
+ body: GetForgetPasswordConfigurationResponseBody;
1559
+ static names(): {
1560
+ [key: string]: string;
1561
+ };
1562
+ static types(): {
1563
+ [key: string]: any;
1564
+ };
1565
+ constructor(map?: {
1566
+ [key: string]: any;
1567
+ });
1568
+ }
1446
1569
  export declare class GetGroupRequest extends $tea.Model {
1447
1570
  groupId?: string;
1448
1571
  instanceId?: string;
@@ -3125,6 +3248,48 @@ export declare class SetApplicationSsoConfigResponse extends $tea.Model {
3125
3248
  [key: string]: any;
3126
3249
  });
3127
3250
  }
3251
+ export declare class SetForgetPasswordConfigurationRequest extends $tea.Model {
3252
+ authenticationChannels?: string[];
3253
+ forgetPasswordStatus?: string;
3254
+ instanceId?: string;
3255
+ static names(): {
3256
+ [key: string]: string;
3257
+ };
3258
+ static types(): {
3259
+ [key: string]: any;
3260
+ };
3261
+ constructor(map?: {
3262
+ [key: string]: any;
3263
+ });
3264
+ }
3265
+ export declare class SetForgetPasswordConfigurationResponseBody extends $tea.Model {
3266
+ requestId?: string;
3267
+ static names(): {
3268
+ [key: string]: string;
3269
+ };
3270
+ static types(): {
3271
+ [key: string]: any;
3272
+ };
3273
+ constructor(map?: {
3274
+ [key: string]: any;
3275
+ });
3276
+ }
3277
+ export declare class SetForgetPasswordConfigurationResponse extends $tea.Model {
3278
+ headers: {
3279
+ [key: string]: string;
3280
+ };
3281
+ statusCode: number;
3282
+ body: SetForgetPasswordConfigurationResponseBody;
3283
+ static names(): {
3284
+ [key: string]: string;
3285
+ };
3286
+ static types(): {
3287
+ [key: string]: any;
3288
+ };
3289
+ constructor(map?: {
3290
+ [key: string]: any;
3291
+ });
3292
+ }
3128
3293
  export declare class SetPasswordComplexityConfigurationRequest extends $tea.Model {
3129
3294
  instanceId?: string;
3130
3295
  passwordComplexityRules?: SetPasswordComplexityConfigurationRequestPasswordComplexityRules[];
@@ -4180,6 +4345,22 @@ export declare class GetApplicationSsoConfigResponseBodyApplicationSsoConfig ext
4180
4345
  [key: string]: any;
4181
4346
  });
4182
4347
  }
4348
+ export declare class GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration extends $tea.Model {
4349
+ authenticationChannels?: string[];
4350
+ enable?: boolean;
4351
+ enableEmail?: boolean;
4352
+ enableSms?: boolean;
4353
+ forgetPasswordStatus?: string;
4354
+ static names(): {
4355
+ [key: string]: string;
4356
+ };
4357
+ static types(): {
4358
+ [key: string]: any;
4359
+ };
4360
+ constructor(map?: {
4361
+ [key: string]: any;
4362
+ });
4363
+ }
4183
4364
  export declare class GetGroupResponseBodyGroup extends $tea.Model {
4184
4365
  createTime?: number;
4185
4366
  description?: string;
@@ -5047,6 +5228,8 @@ export default class Client extends OpenApi {
5047
5228
  disableApplicationClientSecret(request: DisableApplicationClientSecretRequest): Promise<DisableApplicationClientSecretResponse>;
5048
5229
  disableApplicationProvisioningWithOptions(request: DisableApplicationProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<DisableApplicationProvisioningResponse>;
5049
5230
  disableApplicationProvisioning(request: DisableApplicationProvisioningRequest): Promise<DisableApplicationProvisioningResponse>;
5231
+ disableApplicationSsoWithOptions(request: DisableApplicationSsoRequest, runtime: $Util.RuntimeOptions): Promise<DisableApplicationSsoResponse>;
5232
+ disableApplicationSso(request: DisableApplicationSsoRequest): Promise<DisableApplicationSsoResponse>;
5050
5233
  disableUserWithOptions(request: DisableUserRequest, runtime: $Util.RuntimeOptions): Promise<DisableUserResponse>;
5051
5234
  disableUser(request: DisableUserRequest): Promise<DisableUserResponse>;
5052
5235
  enableApplicationWithOptions(request: EnableApplicationRequest, runtime: $Util.RuntimeOptions): Promise<EnableApplicationResponse>;
@@ -5057,6 +5240,8 @@ export default class Client extends OpenApi {
5057
5240
  enableApplicationClientSecret(request: EnableApplicationClientSecretRequest): Promise<EnableApplicationClientSecretResponse>;
5058
5241
  enableApplicationProvisioningWithOptions(request: EnableApplicationProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<EnableApplicationProvisioningResponse>;
5059
5242
  enableApplicationProvisioning(request: EnableApplicationProvisioningRequest): Promise<EnableApplicationProvisioningResponse>;
5243
+ enableApplicationSsoWithOptions(request: EnableApplicationSsoRequest, runtime: $Util.RuntimeOptions): Promise<EnableApplicationSsoResponse>;
5244
+ enableApplicationSso(request: EnableApplicationSsoRequest): Promise<EnableApplicationSsoResponse>;
5060
5245
  enableUserWithOptions(request: EnableUserRequest, runtime: $Util.RuntimeOptions): Promise<EnableUserResponse>;
5061
5246
  enableUser(request: EnableUserRequest): Promise<EnableUserResponse>;
5062
5247
  getApplicationWithOptions(request: GetApplicationRequest, runtime: $Util.RuntimeOptions): Promise<GetApplicationResponse>;
@@ -5069,6 +5254,8 @@ export default class Client extends OpenApi {
5069
5254
  getApplicationProvisioningScope(request: GetApplicationProvisioningScopeRequest): Promise<GetApplicationProvisioningScopeResponse>;
5070
5255
  getApplicationSsoConfigWithOptions(request: GetApplicationSsoConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetApplicationSsoConfigResponse>;
5071
5256
  getApplicationSsoConfig(request: GetApplicationSsoConfigRequest): Promise<GetApplicationSsoConfigResponse>;
5257
+ getForgetPasswordConfigurationWithOptions(request: GetForgetPasswordConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<GetForgetPasswordConfigurationResponse>;
5258
+ getForgetPasswordConfiguration(request: GetForgetPasswordConfigurationRequest): Promise<GetForgetPasswordConfigurationResponse>;
5072
5259
  getGroupWithOptions(request: GetGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetGroupResponse>;
5073
5260
  getGroup(request: GetGroupRequest): Promise<GetGroupResponse>;
5074
5261
  getInstanceWithOptions(request: GetInstanceRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceResponse>;
@@ -5173,6 +5360,8 @@ export default class Client extends OpenApi {
5173
5360
  * @return SetApplicationSsoConfigResponse
5174
5361
  */
5175
5362
  setApplicationSsoConfig(request: SetApplicationSsoConfigRequest): Promise<SetApplicationSsoConfigResponse>;
5363
+ setForgetPasswordConfigurationWithOptions(request: SetForgetPasswordConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<SetForgetPasswordConfigurationResponse>;
5364
+ setForgetPasswordConfiguration(request: SetForgetPasswordConfigurationRequest): Promise<SetForgetPasswordConfigurationResponse>;
5176
5365
  setPasswordComplexityConfigurationWithOptions(request: SetPasswordComplexityConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<SetPasswordComplexityConfigurationResponse>;
5177
5366
  setPasswordComplexityConfiguration(request: SetPasswordComplexityConfigurationRequest): Promise<SetPasswordComplexityConfigurationResponse>;
5178
5367
  setPasswordExpirationConfigurationWithOptions(request: SetPasswordExpirationConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<SetPasswordExpirationConfigurationResponse>;
package/dist/client.js CHANGED
@@ -1339,6 +1339,60 @@ class DisableApplicationProvisioningResponse extends $tea.Model {
1339
1339
  }
1340
1340
  }
1341
1341
  exports.DisableApplicationProvisioningResponse = DisableApplicationProvisioningResponse;
1342
+ class DisableApplicationSsoRequest extends $tea.Model {
1343
+ constructor(map) {
1344
+ super(map);
1345
+ }
1346
+ static names() {
1347
+ return {
1348
+ applicationId: 'ApplicationId',
1349
+ instanceId: 'InstanceId',
1350
+ };
1351
+ }
1352
+ static types() {
1353
+ return {
1354
+ applicationId: 'string',
1355
+ instanceId: 'string',
1356
+ };
1357
+ }
1358
+ }
1359
+ exports.DisableApplicationSsoRequest = DisableApplicationSsoRequest;
1360
+ class DisableApplicationSsoResponseBody extends $tea.Model {
1361
+ constructor(map) {
1362
+ super(map);
1363
+ }
1364
+ static names() {
1365
+ return {
1366
+ requestId: 'RequestId',
1367
+ };
1368
+ }
1369
+ static types() {
1370
+ return {
1371
+ requestId: 'string',
1372
+ };
1373
+ }
1374
+ }
1375
+ exports.DisableApplicationSsoResponseBody = DisableApplicationSsoResponseBody;
1376
+ class DisableApplicationSsoResponse extends $tea.Model {
1377
+ constructor(map) {
1378
+ super(map);
1379
+ }
1380
+ static names() {
1381
+ return {
1382
+ headers: 'headers',
1383
+ statusCode: 'statusCode',
1384
+ body: 'body',
1385
+ };
1386
+ }
1387
+ static types() {
1388
+ return {
1389
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1390
+ statusCode: 'number',
1391
+ body: DisableApplicationSsoResponseBody,
1392
+ };
1393
+ }
1394
+ }
1395
+ exports.DisableApplicationSsoResponse = DisableApplicationSsoResponse;
1342
1396
  class DisableUserRequest extends $tea.Model {
1343
1397
  constructor(map) {
1344
1398
  super(map);
@@ -1611,6 +1665,60 @@ class EnableApplicationProvisioningResponse extends $tea.Model {
1611
1665
  }
1612
1666
  }
1613
1667
  exports.EnableApplicationProvisioningResponse = EnableApplicationProvisioningResponse;
1668
+ class EnableApplicationSsoRequest extends $tea.Model {
1669
+ constructor(map) {
1670
+ super(map);
1671
+ }
1672
+ static names() {
1673
+ return {
1674
+ applicationId: 'ApplicationId',
1675
+ instanceId: 'InstanceId',
1676
+ };
1677
+ }
1678
+ static types() {
1679
+ return {
1680
+ applicationId: 'string',
1681
+ instanceId: 'string',
1682
+ };
1683
+ }
1684
+ }
1685
+ exports.EnableApplicationSsoRequest = EnableApplicationSsoRequest;
1686
+ class EnableApplicationSsoResponseBody extends $tea.Model {
1687
+ constructor(map) {
1688
+ super(map);
1689
+ }
1690
+ static names() {
1691
+ return {
1692
+ requestId: 'RequestId',
1693
+ };
1694
+ }
1695
+ static types() {
1696
+ return {
1697
+ requestId: 'string',
1698
+ };
1699
+ }
1700
+ }
1701
+ exports.EnableApplicationSsoResponseBody = EnableApplicationSsoResponseBody;
1702
+ class EnableApplicationSsoResponse extends $tea.Model {
1703
+ constructor(map) {
1704
+ super(map);
1705
+ }
1706
+ static names() {
1707
+ return {
1708
+ headers: 'headers',
1709
+ statusCode: 'statusCode',
1710
+ body: 'body',
1711
+ };
1712
+ }
1713
+ static types() {
1714
+ return {
1715
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1716
+ statusCode: 'number',
1717
+ body: EnableApplicationSsoResponseBody,
1718
+ };
1719
+ }
1720
+ }
1721
+ exports.EnableApplicationSsoResponse = EnableApplicationSsoResponse;
1614
1722
  class EnableUserRequest extends $tea.Model {
1615
1723
  constructor(map) {
1616
1724
  super(map);
@@ -1945,6 +2053,60 @@ class GetApplicationSsoConfigResponse extends $tea.Model {
1945
2053
  }
1946
2054
  }
1947
2055
  exports.GetApplicationSsoConfigResponse = GetApplicationSsoConfigResponse;
2056
+ class GetForgetPasswordConfigurationRequest extends $tea.Model {
2057
+ constructor(map) {
2058
+ super(map);
2059
+ }
2060
+ static names() {
2061
+ return {
2062
+ instanceId: 'InstanceId',
2063
+ };
2064
+ }
2065
+ static types() {
2066
+ return {
2067
+ instanceId: 'string',
2068
+ };
2069
+ }
2070
+ }
2071
+ exports.GetForgetPasswordConfigurationRequest = GetForgetPasswordConfigurationRequest;
2072
+ class GetForgetPasswordConfigurationResponseBody extends $tea.Model {
2073
+ constructor(map) {
2074
+ super(map);
2075
+ }
2076
+ static names() {
2077
+ return {
2078
+ openForgetPasswordConfiguration: 'OpenForgetPasswordConfiguration',
2079
+ requestId: 'RequestId',
2080
+ };
2081
+ }
2082
+ static types() {
2083
+ return {
2084
+ openForgetPasswordConfiguration: GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration,
2085
+ requestId: 'string',
2086
+ };
2087
+ }
2088
+ }
2089
+ exports.GetForgetPasswordConfigurationResponseBody = GetForgetPasswordConfigurationResponseBody;
2090
+ class GetForgetPasswordConfigurationResponse extends $tea.Model {
2091
+ constructor(map) {
2092
+ super(map);
2093
+ }
2094
+ static names() {
2095
+ return {
2096
+ headers: 'headers',
2097
+ statusCode: 'statusCode',
2098
+ body: 'body',
2099
+ };
2100
+ }
2101
+ static types() {
2102
+ return {
2103
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2104
+ statusCode: 'number',
2105
+ body: GetForgetPasswordConfigurationResponseBody,
2106
+ };
2107
+ }
2108
+ }
2109
+ exports.GetForgetPasswordConfigurationResponse = GetForgetPasswordConfigurationResponse;
1948
2110
  class GetGroupRequest extends $tea.Model {
1949
2111
  constructor(map) {
1950
2112
  super(map);
@@ -4233,6 +4395,62 @@ class SetApplicationSsoConfigResponse extends $tea.Model {
4233
4395
  }
4234
4396
  }
4235
4397
  exports.SetApplicationSsoConfigResponse = SetApplicationSsoConfigResponse;
4398
+ class SetForgetPasswordConfigurationRequest extends $tea.Model {
4399
+ constructor(map) {
4400
+ super(map);
4401
+ }
4402
+ static names() {
4403
+ return {
4404
+ authenticationChannels: 'AuthenticationChannels',
4405
+ forgetPasswordStatus: 'ForgetPasswordStatus',
4406
+ instanceId: 'InstanceId',
4407
+ };
4408
+ }
4409
+ static types() {
4410
+ return {
4411
+ authenticationChannels: { 'type': 'array', 'itemType': 'string' },
4412
+ forgetPasswordStatus: 'string',
4413
+ instanceId: 'string',
4414
+ };
4415
+ }
4416
+ }
4417
+ exports.SetForgetPasswordConfigurationRequest = SetForgetPasswordConfigurationRequest;
4418
+ class SetForgetPasswordConfigurationResponseBody extends $tea.Model {
4419
+ constructor(map) {
4420
+ super(map);
4421
+ }
4422
+ static names() {
4423
+ return {
4424
+ requestId: 'RequestId',
4425
+ };
4426
+ }
4427
+ static types() {
4428
+ return {
4429
+ requestId: 'string',
4430
+ };
4431
+ }
4432
+ }
4433
+ exports.SetForgetPasswordConfigurationResponseBody = SetForgetPasswordConfigurationResponseBody;
4434
+ class SetForgetPasswordConfigurationResponse extends $tea.Model {
4435
+ constructor(map) {
4436
+ super(map);
4437
+ }
4438
+ static names() {
4439
+ return {
4440
+ headers: 'headers',
4441
+ statusCode: 'statusCode',
4442
+ body: 'body',
4443
+ };
4444
+ }
4445
+ static types() {
4446
+ return {
4447
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4448
+ statusCode: 'number',
4449
+ body: SetForgetPasswordConfigurationResponseBody,
4450
+ };
4451
+ }
4452
+ }
4453
+ exports.SetForgetPasswordConfigurationResponse = SetForgetPasswordConfigurationResponse;
4236
4454
  class SetPasswordComplexityConfigurationRequest extends $tea.Model {
4237
4455
  constructor(map) {
4238
4456
  super(map);
@@ -5703,6 +5921,30 @@ class GetApplicationSsoConfigResponseBodyApplicationSsoConfig extends $tea.Model
5703
5921
  }
5704
5922
  }
5705
5923
  exports.GetApplicationSsoConfigResponseBodyApplicationSsoConfig = GetApplicationSsoConfigResponseBodyApplicationSsoConfig;
5924
+ class GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration extends $tea.Model {
5925
+ constructor(map) {
5926
+ super(map);
5927
+ }
5928
+ static names() {
5929
+ return {
5930
+ authenticationChannels: 'AuthenticationChannels',
5931
+ enable: 'Enable',
5932
+ enableEmail: 'EnableEmail',
5933
+ enableSms: 'EnableSms',
5934
+ forgetPasswordStatus: 'ForgetPasswordStatus',
5935
+ };
5936
+ }
5937
+ static types() {
5938
+ return {
5939
+ authenticationChannels: { 'type': 'array', 'itemType': 'string' },
5940
+ enable: 'boolean',
5941
+ enableEmail: 'boolean',
5942
+ enableSms: 'boolean',
5943
+ forgetPasswordStatus: 'string',
5944
+ };
5945
+ }
5946
+ }
5947
+ exports.GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration = GetForgetPasswordConfigurationResponseBodyOpenForgetPasswordConfiguration;
5706
5948
  class GetGroupResponseBodyGroup extends $tea.Model {
5707
5949
  constructor(map) {
5708
5950
  super(map);
@@ -7694,6 +7936,35 @@ class Client extends openapi_client_1.default {
7694
7936
  let runtime = new $Util.RuntimeOptions({});
7695
7937
  return await this.disableApplicationProvisioningWithOptions(request, runtime);
7696
7938
  }
7939
+ async disableApplicationSsoWithOptions(request, runtime) {
7940
+ tea_util_1.default.validateModel(request);
7941
+ let query = {};
7942
+ if (!tea_util_1.default.isUnset(request.applicationId)) {
7943
+ query["ApplicationId"] = request.applicationId;
7944
+ }
7945
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
7946
+ query["InstanceId"] = request.instanceId;
7947
+ }
7948
+ let req = new $OpenApi.OpenApiRequest({
7949
+ query: openapi_util_1.default.query(query),
7950
+ });
7951
+ let params = new $OpenApi.Params({
7952
+ action: "DisableApplicationSso",
7953
+ version: "2021-12-01",
7954
+ protocol: "HTTPS",
7955
+ pathname: "/",
7956
+ method: "POST",
7957
+ authType: "AK",
7958
+ style: "RPC",
7959
+ reqBodyType: "formData",
7960
+ bodyType: "json",
7961
+ });
7962
+ return $tea.cast(await this.callApi(params, req, runtime), new DisableApplicationSsoResponse({}));
7963
+ }
7964
+ async disableApplicationSso(request) {
7965
+ let runtime = new $Util.RuntimeOptions({});
7966
+ return await this.disableApplicationSsoWithOptions(request, runtime);
7967
+ }
7697
7968
  async disableUserWithOptions(request, runtime) {
7698
7969
  tea_util_1.default.validateModel(request);
7699
7970
  let query = {};
@@ -7842,6 +8113,35 @@ class Client extends openapi_client_1.default {
7842
8113
  let runtime = new $Util.RuntimeOptions({});
7843
8114
  return await this.enableApplicationProvisioningWithOptions(request, runtime);
7844
8115
  }
8116
+ async enableApplicationSsoWithOptions(request, runtime) {
8117
+ tea_util_1.default.validateModel(request);
8118
+ let query = {};
8119
+ if (!tea_util_1.default.isUnset(request.applicationId)) {
8120
+ query["ApplicationId"] = request.applicationId;
8121
+ }
8122
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
8123
+ query["InstanceId"] = request.instanceId;
8124
+ }
8125
+ let req = new $OpenApi.OpenApiRequest({
8126
+ query: openapi_util_1.default.query(query),
8127
+ });
8128
+ let params = new $OpenApi.Params({
8129
+ action: "EnableApplicationSso",
8130
+ version: "2021-12-01",
8131
+ protocol: "HTTPS",
8132
+ pathname: "/",
8133
+ method: "POST",
8134
+ authType: "AK",
8135
+ style: "RPC",
8136
+ reqBodyType: "formData",
8137
+ bodyType: "json",
8138
+ });
8139
+ return $tea.cast(await this.callApi(params, req, runtime), new EnableApplicationSsoResponse({}));
8140
+ }
8141
+ async enableApplicationSso(request) {
8142
+ let runtime = new $Util.RuntimeOptions({});
8143
+ return await this.enableApplicationSsoWithOptions(request, runtime);
8144
+ }
7845
8145
  async enableUserWithOptions(request, runtime) {
7846
8146
  tea_util_1.default.validateModel(request);
7847
8147
  let query = {};
@@ -8016,6 +8316,32 @@ class Client extends openapi_client_1.default {
8016
8316
  let runtime = new $Util.RuntimeOptions({});
8017
8317
  return await this.getApplicationSsoConfigWithOptions(request, runtime);
8018
8318
  }
8319
+ async getForgetPasswordConfigurationWithOptions(request, runtime) {
8320
+ tea_util_1.default.validateModel(request);
8321
+ let query = {};
8322
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
8323
+ query["InstanceId"] = request.instanceId;
8324
+ }
8325
+ let req = new $OpenApi.OpenApiRequest({
8326
+ query: openapi_util_1.default.query(query),
8327
+ });
8328
+ let params = new $OpenApi.Params({
8329
+ action: "GetForgetPasswordConfiguration",
8330
+ version: "2021-12-01",
8331
+ protocol: "HTTPS",
8332
+ pathname: "/",
8333
+ method: "POST",
8334
+ authType: "AK",
8335
+ style: "RPC",
8336
+ reqBodyType: "formData",
8337
+ bodyType: "json",
8338
+ });
8339
+ return $tea.cast(await this.callApi(params, req, runtime), new GetForgetPasswordConfigurationResponse({}));
8340
+ }
8341
+ async getForgetPasswordConfiguration(request) {
8342
+ let runtime = new $Util.RuntimeOptions({});
8343
+ return await this.getForgetPasswordConfigurationWithOptions(request, runtime);
8344
+ }
8019
8345
  async getGroupWithOptions(request, runtime) {
8020
8346
  tea_util_1.default.validateModel(request);
8021
8347
  let query = {};
@@ -9345,6 +9671,38 @@ class Client extends openapi_client_1.default {
9345
9671
  let runtime = new $Util.RuntimeOptions({});
9346
9672
  return await this.setApplicationSsoConfigWithOptions(request, runtime);
9347
9673
  }
9674
+ async setForgetPasswordConfigurationWithOptions(request, runtime) {
9675
+ tea_util_1.default.validateModel(request);
9676
+ let query = {};
9677
+ if (!tea_util_1.default.isUnset(request.authenticationChannels)) {
9678
+ query["AuthenticationChannels"] = request.authenticationChannels;
9679
+ }
9680
+ if (!tea_util_1.default.isUnset(request.forgetPasswordStatus)) {
9681
+ query["ForgetPasswordStatus"] = request.forgetPasswordStatus;
9682
+ }
9683
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
9684
+ query["InstanceId"] = request.instanceId;
9685
+ }
9686
+ let req = new $OpenApi.OpenApiRequest({
9687
+ query: openapi_util_1.default.query(query),
9688
+ });
9689
+ let params = new $OpenApi.Params({
9690
+ action: "SetForgetPasswordConfiguration",
9691
+ version: "2021-12-01",
9692
+ protocol: "HTTPS",
9693
+ pathname: "/",
9694
+ method: "POST",
9695
+ authType: "AK",
9696
+ style: "RPC",
9697
+ reqBodyType: "formData",
9698
+ bodyType: "json",
9699
+ });
9700
+ return $tea.cast(await this.callApi(params, req, runtime), new SetForgetPasswordConfigurationResponse({}));
9701
+ }
9702
+ async setForgetPasswordConfiguration(request) {
9703
+ let runtime = new $Util.RuntimeOptions({});
9704
+ return await this.setForgetPasswordConfigurationWithOptions(request, runtime);
9705
+ }
9348
9706
  async setPasswordComplexityConfigurationWithOptions(request, runtime) {
9349
9707
  tea_util_1.default.validateModel(request);
9350
9708
  let query = {};