@alicloud/eiam20211201 2.3.0 → 2.5.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 +195 -0
- package/dist/client.js +624 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.d.ts +40 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js +65 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js.map +1 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.d.ts +19 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js +69 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js.map +1 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.d.ts +18 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js +58 -0
- package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.d.ts +53 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.js +64 -0
- package/dist/models/BindUserAuthnSourceMappingRequest.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.d.ts +19 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.js +69 -0
- package/dist/models/BindUserAuthnSourceMappingResponse.js.map +1 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.d.ts +18 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.js +58 -0
- package/dist/models/BindUserAuthnSourceMappingResponseBody.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.d.ts +128 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.js +120 -0
- package/dist/models/CreateCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/CreateCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.d.ts +23 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.js +60 -0
- package/dist/models/CreateCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.d.ts +33 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/DeleteCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.d.ts +31 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/DisableCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/DisableCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/DisableCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.d.ts +31 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/EnableCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/EnableCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/EnableCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.d.ts +33 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.js +60 -0
- package/dist/models/GetCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/GetCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.d.ts +107 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.js +144 -0
- package/dist/models/GetCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.d.ts +57 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js +66 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.d.ts +19 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js +69 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.d.ts +68 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js +90 -0
- package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.d.ts +55 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.js +66 -0
- package/dist/models/ListCustomPrivacyPoliciesRequest.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.d.ts +19 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.js +69 -0
- package/dist/models/ListCustomPrivacyPoliciesResponse.js.map +1 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.d.ts +108 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.js +100 -0
- package/dist/models/ListCustomPrivacyPoliciesResponseBody.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.d.ts +73 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.js +70 -0
- package/dist/models/ListUserAuthnSourceMappingsRequest.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.d.ts +19 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.js +69 -0
- package/dist/models/ListUserAuthnSourceMappingsResponse.js.map +1 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.d.ts +116 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.js +102 -0
- package/dist/models/ListUserAuthnSourceMappingsResponseBody.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.d.ts +40 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js +65 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.d.ts +19 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js +69 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js.map +1 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.d.ts +18 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js +58 -0
- package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.d.ts +53 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.js +64 -0
- package/dist/models/UnbindUserAuthnSourceMappingRequest.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.d.ts +19 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.js +69 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponse.js.map +1 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.d.ts +18 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js +58 -0
- package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.d.ts +92 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.js +118 -0
- package/dist/models/UpdateCustomPrivacyPolicyRequest.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.js +69 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponse.js.map +1 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.d.ts +18 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js +58 -0
- package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +49 -0
- package/dist/models/model.js +116 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +724 -22
- package/src/models/AddCustomPrivacyPoliciesToBrandRequest.ts +60 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponse.ts +40 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponseBody.ts +31 -0
- package/src/models/BindUserAuthnSourceMappingRequest.ts +72 -0
- package/src/models/BindUserAuthnSourceMappingResponse.ts +40 -0
- package/src/models/BindUserAuthnSourceMappingResponseBody.ts +31 -0
- package/src/models/CreateCustomPrivacyPolicyRequest.ts +185 -0
- package/src/models/CreateCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/CreateCustomPrivacyPolicyResponseBody.ts +38 -0
- package/src/models/DeleteCustomPrivacyPolicyRequest.ts +48 -0
- package/src/models/DeleteCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/DeleteCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/DisableCustomPrivacyPolicyRequest.ts +46 -0
- package/src/models/DisableCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/DisableCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/EnableCustomPrivacyPolicyRequest.ts +46 -0
- package/src/models/EnableCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/EnableCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/GetCustomPrivacyPolicyRequest.ts +48 -0
- package/src/models/GetCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/GetCustomPrivacyPolicyResponseBody.ts +179 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandRequest.ts +78 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandResponse.ts +40 -0
- package/src/models/ListCustomPrivacyPoliciesForBrandResponseBody.ts +104 -0
- package/src/models/ListCustomPrivacyPoliciesRequest.ts +76 -0
- package/src/models/ListCustomPrivacyPoliciesResponse.ts +40 -0
- package/src/models/ListCustomPrivacyPoliciesResponseBody.ts +154 -0
- package/src/models/ListUserAuthnSourceMappingsRequest.ts +98 -0
- package/src/models/ListUserAuthnSourceMappingsResponse.ts +40 -0
- package/src/models/ListUserAuthnSourceMappingsResponseBody.ts +164 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandRequest.ts +60 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponse.ts +40 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.ts +31 -0
- package/src/models/UnbindUserAuthnSourceMappingRequest.ts +72 -0
- package/src/models/UnbindUserAuthnSourceMappingResponse.ts +40 -0
- package/src/models/UnbindUserAuthnSourceMappingResponseBody.ts +31 -0
- package/src/models/UpdateCustomPrivacyPolicyRequest.ts +147 -0
- package/src/models/UpdateCustomPrivacyPolicyResponse.ts +40 -0
- package/src/models/UpdateCustomPrivacyPolicyResponseBody.ts +31 -0
- package/src/models/model.ts +49 -0
package/dist/client.js
CHANGED
|
@@ -109,6 +109,51 @@ class Client extends openapi_core_1.default {
|
|
|
109
109
|
let runtime = new $dara.RuntimeOptions({});
|
|
110
110
|
return await this.addApplicationAccountToUserWithOptions(request, runtime);
|
|
111
111
|
}
|
|
112
|
+
/**
|
|
113
|
+
* 添加条款到品牌
|
|
114
|
+
*
|
|
115
|
+
* @param request - AddCustomPrivacyPoliciesToBrandRequest
|
|
116
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
117
|
+
* @returns AddCustomPrivacyPoliciesToBrandResponse
|
|
118
|
+
*/
|
|
119
|
+
async addCustomPrivacyPoliciesToBrandWithOptions(request, runtime) {
|
|
120
|
+
request.validate();
|
|
121
|
+
let query = {};
|
|
122
|
+
if (!$dara.isNull(request.brandId)) {
|
|
123
|
+
query["BrandId"] = request.brandId;
|
|
124
|
+
}
|
|
125
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
126
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
127
|
+
}
|
|
128
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
129
|
+
query["InstanceId"] = request.instanceId;
|
|
130
|
+
}
|
|
131
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
132
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
133
|
+
});
|
|
134
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
135
|
+
action: "AddCustomPrivacyPoliciesToBrand",
|
|
136
|
+
version: "2021-12-01",
|
|
137
|
+
protocol: "HTTPS",
|
|
138
|
+
pathname: "/",
|
|
139
|
+
method: "POST",
|
|
140
|
+
authType: "AK",
|
|
141
|
+
style: "RPC",
|
|
142
|
+
reqBodyType: "formData",
|
|
143
|
+
bodyType: "json",
|
|
144
|
+
});
|
|
145
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCustomPrivacyPoliciesToBrandResponse({}));
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* 添加条款到品牌
|
|
149
|
+
*
|
|
150
|
+
* @param request - AddCustomPrivacyPoliciesToBrandRequest
|
|
151
|
+
* @returns AddCustomPrivacyPoliciesToBrandResponse
|
|
152
|
+
*/
|
|
153
|
+
async addCustomPrivacyPoliciesToBrand(request) {
|
|
154
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
155
|
+
return await this.addCustomPrivacyPoliciesToBrandWithOptions(request, runtime);
|
|
156
|
+
}
|
|
112
157
|
/**
|
|
113
158
|
* Adds an Employee Identity and Access Management (EIAM) account to multiple EIAM organizations of Identity as a Service (IDaaS). If the account already exists in the organizational unit, the system directly returns a success response.
|
|
114
159
|
*
|
|
@@ -334,6 +379,54 @@ class Client extends openapi_core_1.default {
|
|
|
334
379
|
let runtime = new $dara.RuntimeOptions({});
|
|
335
380
|
return await this.authorizeApplicationToUsersWithOptions(request, runtime);
|
|
336
381
|
}
|
|
382
|
+
/**
|
|
383
|
+
* 绑定三方登录账户
|
|
384
|
+
*
|
|
385
|
+
* @param request - BindUserAuthnSourceMappingRequest
|
|
386
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
387
|
+
* @returns BindUserAuthnSourceMappingResponse
|
|
388
|
+
*/
|
|
389
|
+
async bindUserAuthnSourceMappingWithOptions(request, runtime) {
|
|
390
|
+
request.validate();
|
|
391
|
+
let query = {};
|
|
392
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
393
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
394
|
+
}
|
|
395
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
396
|
+
query["InstanceId"] = request.instanceId;
|
|
397
|
+
}
|
|
398
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
399
|
+
query["UserExternalId"] = request.userExternalId;
|
|
400
|
+
}
|
|
401
|
+
if (!$dara.isNull(request.userId)) {
|
|
402
|
+
query["UserId"] = request.userId;
|
|
403
|
+
}
|
|
404
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
405
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
406
|
+
});
|
|
407
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
408
|
+
action: "BindUserAuthnSourceMapping",
|
|
409
|
+
version: "2021-12-01",
|
|
410
|
+
protocol: "HTTPS",
|
|
411
|
+
pathname: "/",
|
|
412
|
+
method: "POST",
|
|
413
|
+
authType: "AK",
|
|
414
|
+
style: "RPC",
|
|
415
|
+
reqBodyType: "formData",
|
|
416
|
+
bodyType: "json",
|
|
417
|
+
});
|
|
418
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindUserAuthnSourceMappingResponse({}));
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* 绑定三方登录账户
|
|
422
|
+
*
|
|
423
|
+
* @param request - BindUserAuthnSourceMappingRequest
|
|
424
|
+
* @returns BindUserAuthnSourceMappingResponse
|
|
425
|
+
*/
|
|
426
|
+
async bindUserAuthnSourceMapping(request) {
|
|
427
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
428
|
+
return await this.bindUserAuthnSourceMappingWithOptions(request, runtime);
|
|
429
|
+
}
|
|
337
430
|
/**
|
|
338
431
|
* Adds an application to an Enterprise Identity Access Management (EIAM) instance of Identity as a Service (IDaaS).
|
|
339
432
|
*
|
|
@@ -664,6 +757,63 @@ class Client extends openapi_core_1.default {
|
|
|
664
757
|
let runtime = new $dara.RuntimeOptions({});
|
|
665
758
|
return await this.createConditionalAccessPolicyWithOptions(request, runtime);
|
|
666
759
|
}
|
|
760
|
+
/**
|
|
761
|
+
* 创建自定义条款
|
|
762
|
+
*
|
|
763
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
764
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
765
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
766
|
+
*/
|
|
767
|
+
async createCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
768
|
+
request.validate();
|
|
769
|
+
let query = {};
|
|
770
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
771
|
+
query["ClientToken"] = request.clientToken;
|
|
772
|
+
}
|
|
773
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
774
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
775
|
+
}
|
|
776
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
777
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
778
|
+
}
|
|
779
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
780
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
781
|
+
}
|
|
782
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
783
|
+
query["InstanceId"] = request.instanceId;
|
|
784
|
+
}
|
|
785
|
+
if (!$dara.isNull(request.status)) {
|
|
786
|
+
query["Status"] = request.status;
|
|
787
|
+
}
|
|
788
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
789
|
+
query["UserConsentType"] = request.userConsentType;
|
|
790
|
+
}
|
|
791
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
792
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
793
|
+
});
|
|
794
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
795
|
+
action: "CreateCustomPrivacyPolicy",
|
|
796
|
+
version: "2021-12-01",
|
|
797
|
+
protocol: "HTTPS",
|
|
798
|
+
pathname: "/",
|
|
799
|
+
method: "POST",
|
|
800
|
+
authType: "AK",
|
|
801
|
+
style: "RPC",
|
|
802
|
+
reqBodyType: "formData",
|
|
803
|
+
bodyType: "json",
|
|
804
|
+
});
|
|
805
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomPrivacyPolicyResponse({}));
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* 创建自定义条款
|
|
809
|
+
*
|
|
810
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
811
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
812
|
+
*/
|
|
813
|
+
async createCustomPrivacyPolicy(request) {
|
|
814
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
815
|
+
return await this.createCustomPrivacyPolicyWithOptions(request, runtime);
|
|
816
|
+
}
|
|
667
817
|
/**
|
|
668
818
|
* Creates a custom domain name for an Employee Identity and Access Management (EIAM) instance.
|
|
669
819
|
*
|
|
@@ -1507,6 +1657,48 @@ class Client extends openapi_core_1.default {
|
|
|
1507
1657
|
let runtime = new $dara.RuntimeOptions({});
|
|
1508
1658
|
return await this.deleteConditionalAccessPolicyWithOptions(request, runtime);
|
|
1509
1659
|
}
|
|
1660
|
+
/**
|
|
1661
|
+
* 删除自定义条款
|
|
1662
|
+
*
|
|
1663
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1664
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1665
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1666
|
+
*/
|
|
1667
|
+
async deleteCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
1668
|
+
request.validate();
|
|
1669
|
+
let query = {};
|
|
1670
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
1671
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
1672
|
+
}
|
|
1673
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1674
|
+
query["InstanceId"] = request.instanceId;
|
|
1675
|
+
}
|
|
1676
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1677
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1678
|
+
});
|
|
1679
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1680
|
+
action: "DeleteCustomPrivacyPolicy",
|
|
1681
|
+
version: "2021-12-01",
|
|
1682
|
+
protocol: "HTTPS",
|
|
1683
|
+
pathname: "/",
|
|
1684
|
+
method: "POST",
|
|
1685
|
+
authType: "AK",
|
|
1686
|
+
style: "RPC",
|
|
1687
|
+
reqBodyType: "formData",
|
|
1688
|
+
bodyType: "json",
|
|
1689
|
+
});
|
|
1690
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomPrivacyPolicyResponse({}));
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* 删除自定义条款
|
|
1694
|
+
*
|
|
1695
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1696
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1697
|
+
*/
|
|
1698
|
+
async deleteCustomPrivacyPolicy(request) {
|
|
1699
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1700
|
+
return await this.deleteCustomPrivacyPolicyWithOptions(request, runtime);
|
|
1701
|
+
}
|
|
1510
1702
|
/**
|
|
1511
1703
|
* Deletes a custom domain name of an Employee Identity and Access Management (EIAM) instance. You cannot delete the initial domain name and default domain name of the instance.
|
|
1512
1704
|
*
|
|
@@ -2374,6 +2566,48 @@ class Client extends openapi_core_1.default {
|
|
|
2374
2566
|
let runtime = new $dara.RuntimeOptions({});
|
|
2375
2567
|
return await this.disableConditionalAccessPolicyWithOptions(request, runtime);
|
|
2376
2568
|
}
|
|
2569
|
+
/**
|
|
2570
|
+
* 禁用自定义条款
|
|
2571
|
+
*
|
|
2572
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2573
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2574
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2575
|
+
*/
|
|
2576
|
+
async disableCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
2577
|
+
request.validate();
|
|
2578
|
+
let query = {};
|
|
2579
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
2580
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
2581
|
+
}
|
|
2582
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2583
|
+
query["InstanceId"] = request.instanceId;
|
|
2584
|
+
}
|
|
2585
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2586
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2587
|
+
});
|
|
2588
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2589
|
+
action: "DisableCustomPrivacyPolicy",
|
|
2590
|
+
version: "2021-12-01",
|
|
2591
|
+
protocol: "HTTPS",
|
|
2592
|
+
pathname: "/",
|
|
2593
|
+
method: "POST",
|
|
2594
|
+
authType: "AK",
|
|
2595
|
+
style: "RPC",
|
|
2596
|
+
reqBodyType: "formData",
|
|
2597
|
+
bodyType: "json",
|
|
2598
|
+
});
|
|
2599
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableCustomPrivacyPolicyResponse({}));
|
|
2600
|
+
}
|
|
2601
|
+
/**
|
|
2602
|
+
* 禁用自定义条款
|
|
2603
|
+
*
|
|
2604
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2605
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2606
|
+
*/
|
|
2607
|
+
async disableCustomPrivacyPolicy(request) {
|
|
2608
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2609
|
+
return await this.disableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
2610
|
+
}
|
|
2377
2611
|
/**
|
|
2378
2612
|
* Disables a proxy token for a domain name of an Employee Identity and Access Management (EIAM) instance. After the proxy token is disabled, the domain name may not be used as expected.
|
|
2379
2613
|
*
|
|
@@ -3019,6 +3253,48 @@ class Client extends openapi_core_1.default {
|
|
|
3019
3253
|
let runtime = new $dara.RuntimeOptions({});
|
|
3020
3254
|
return await this.enableConditionalAccessPolicyWithOptions(request, runtime);
|
|
3021
3255
|
}
|
|
3256
|
+
/**
|
|
3257
|
+
* 启用自定义条款
|
|
3258
|
+
*
|
|
3259
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3260
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3261
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3262
|
+
*/
|
|
3263
|
+
async enableCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
3264
|
+
request.validate();
|
|
3265
|
+
let query = {};
|
|
3266
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
3267
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
3268
|
+
}
|
|
3269
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3270
|
+
query["InstanceId"] = request.instanceId;
|
|
3271
|
+
}
|
|
3272
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3273
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3274
|
+
});
|
|
3275
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3276
|
+
action: "EnableCustomPrivacyPolicy",
|
|
3277
|
+
version: "2021-12-01",
|
|
3278
|
+
protocol: "HTTPS",
|
|
3279
|
+
pathname: "/",
|
|
3280
|
+
method: "POST",
|
|
3281
|
+
authType: "AK",
|
|
3282
|
+
style: "RPC",
|
|
3283
|
+
reqBodyType: "formData",
|
|
3284
|
+
bodyType: "json",
|
|
3285
|
+
});
|
|
3286
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableCustomPrivacyPolicyResponse({}));
|
|
3287
|
+
}
|
|
3288
|
+
/**
|
|
3289
|
+
* 启用自定义条款
|
|
3290
|
+
*
|
|
3291
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3292
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3293
|
+
*/
|
|
3294
|
+
async enableCustomPrivacyPolicy(request) {
|
|
3295
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3296
|
+
return await this.enableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
3297
|
+
}
|
|
3022
3298
|
/**
|
|
3023
3299
|
* Enables a proxy token for a domain name of an Employee Identity and Access Management (EIAM) instance. The proxy token is used to verify the security of the domain name.
|
|
3024
3300
|
*
|
|
@@ -3655,6 +3931,48 @@ class Client extends openapi_core_1.default {
|
|
|
3655
3931
|
let runtime = new $dara.RuntimeOptions({});
|
|
3656
3932
|
return await this.getConditionalAccessPolicyWithOptions(request, runtime);
|
|
3657
3933
|
}
|
|
3934
|
+
/**
|
|
3935
|
+
* 获取自定义条款
|
|
3936
|
+
*
|
|
3937
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
3938
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3939
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
3940
|
+
*/
|
|
3941
|
+
async getCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
3942
|
+
request.validate();
|
|
3943
|
+
let query = {};
|
|
3944
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
3945
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
3946
|
+
}
|
|
3947
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3948
|
+
query["InstanceId"] = request.instanceId;
|
|
3949
|
+
}
|
|
3950
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3951
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3952
|
+
});
|
|
3953
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3954
|
+
action: "GetCustomPrivacyPolicy",
|
|
3955
|
+
version: "2021-12-01",
|
|
3956
|
+
protocol: "HTTPS",
|
|
3957
|
+
pathname: "/",
|
|
3958
|
+
method: "POST",
|
|
3959
|
+
authType: "AK",
|
|
3960
|
+
style: "RPC",
|
|
3961
|
+
reqBodyType: "formData",
|
|
3962
|
+
bodyType: "json",
|
|
3963
|
+
});
|
|
3964
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomPrivacyPolicyResponse({}));
|
|
3965
|
+
}
|
|
3966
|
+
/**
|
|
3967
|
+
* 获取自定义条款
|
|
3968
|
+
*
|
|
3969
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
3970
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
3971
|
+
*/
|
|
3972
|
+
async getCustomPrivacyPolicy(request) {
|
|
3973
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3974
|
+
return await this.getCustomPrivacyPolicyWithOptions(request, runtime);
|
|
3975
|
+
}
|
|
3658
3976
|
/**
|
|
3659
3977
|
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
3660
3978
|
*
|
|
@@ -5365,6 +5683,108 @@ class Client extends openapi_core_1.default {
|
|
|
5365
5683
|
let runtime = new $dara.RuntimeOptions({});
|
|
5366
5684
|
return await this.listConditionalAccessPoliciesForUserWithOptions(request, runtime);
|
|
5367
5685
|
}
|
|
5686
|
+
/**
|
|
5687
|
+
* 自定义条款列表查询。
|
|
5688
|
+
*
|
|
5689
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
5690
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5691
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
5692
|
+
*/
|
|
5693
|
+
async listCustomPrivacyPoliciesWithOptions(request, runtime) {
|
|
5694
|
+
request.validate();
|
|
5695
|
+
let query = {};
|
|
5696
|
+
if (!$dara.isNull(request.customPrivacyPolicyNameStartsWith)) {
|
|
5697
|
+
query["CustomPrivacyPolicyNameStartsWith"] = request.customPrivacyPolicyNameStartsWith;
|
|
5698
|
+
}
|
|
5699
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5700
|
+
query["InstanceId"] = request.instanceId;
|
|
5701
|
+
}
|
|
5702
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5703
|
+
query["MaxResults"] = request.maxResults;
|
|
5704
|
+
}
|
|
5705
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5706
|
+
query["NextToken"] = request.nextToken;
|
|
5707
|
+
}
|
|
5708
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
5709
|
+
query["PreviousToken"] = request.previousToken;
|
|
5710
|
+
}
|
|
5711
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5712
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5713
|
+
});
|
|
5714
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5715
|
+
action: "ListCustomPrivacyPolicies",
|
|
5716
|
+
version: "2021-12-01",
|
|
5717
|
+
protocol: "HTTPS",
|
|
5718
|
+
pathname: "/",
|
|
5719
|
+
method: "POST",
|
|
5720
|
+
authType: "AK",
|
|
5721
|
+
style: "RPC",
|
|
5722
|
+
reqBodyType: "formData",
|
|
5723
|
+
bodyType: "json",
|
|
5724
|
+
});
|
|
5725
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesResponse({}));
|
|
5726
|
+
}
|
|
5727
|
+
/**
|
|
5728
|
+
* 自定义条款列表查询。
|
|
5729
|
+
*
|
|
5730
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
5731
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
5732
|
+
*/
|
|
5733
|
+
async listCustomPrivacyPolicies(request) {
|
|
5734
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5735
|
+
return await this.listCustomPrivacyPoliciesWithOptions(request, runtime);
|
|
5736
|
+
}
|
|
5737
|
+
/**
|
|
5738
|
+
* 获取品牌关联资源的资源
|
|
5739
|
+
*
|
|
5740
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
5741
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5742
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
5743
|
+
*/
|
|
5744
|
+
async listCustomPrivacyPoliciesForBrandWithOptions(request, runtime) {
|
|
5745
|
+
request.validate();
|
|
5746
|
+
let query = {};
|
|
5747
|
+
if (!$dara.isNull(request.brandId)) {
|
|
5748
|
+
query["BrandId"] = request.brandId;
|
|
5749
|
+
}
|
|
5750
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5751
|
+
query["InstanceId"] = request.instanceId;
|
|
5752
|
+
}
|
|
5753
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5754
|
+
query["MaxResults"] = request.maxResults;
|
|
5755
|
+
}
|
|
5756
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5757
|
+
query["NextToken"] = request.nextToken;
|
|
5758
|
+
}
|
|
5759
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
5760
|
+
query["PreviousToken"] = request.previousToken;
|
|
5761
|
+
}
|
|
5762
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5763
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5764
|
+
});
|
|
5765
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5766
|
+
action: "ListCustomPrivacyPoliciesForBrand",
|
|
5767
|
+
version: "2021-12-01",
|
|
5768
|
+
protocol: "HTTPS",
|
|
5769
|
+
pathname: "/",
|
|
5770
|
+
method: "POST",
|
|
5771
|
+
authType: "AK",
|
|
5772
|
+
style: "RPC",
|
|
5773
|
+
reqBodyType: "formData",
|
|
5774
|
+
bodyType: "json",
|
|
5775
|
+
});
|
|
5776
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesForBrandResponse({}));
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
* 获取品牌关联资源的资源
|
|
5780
|
+
*
|
|
5781
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
5782
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
5783
|
+
*/
|
|
5784
|
+
async listCustomPrivacyPoliciesForBrand(request) {
|
|
5785
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5786
|
+
return await this.listCustomPrivacyPoliciesForBrandWithOptions(request, runtime);
|
|
5787
|
+
}
|
|
5368
5788
|
/**
|
|
5369
5789
|
* Queries the proxy tokens of a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
5370
5790
|
*
|
|
@@ -6343,6 +6763,63 @@ class Client extends openapi_core_1.default {
|
|
|
6343
6763
|
let runtime = new $dara.RuntimeOptions({});
|
|
6344
6764
|
return await this.listSynchronizationJobsWithOptions(request, runtime);
|
|
6345
6765
|
}
|
|
6766
|
+
/**
|
|
6767
|
+
* 查询三方登录账户绑定关系
|
|
6768
|
+
*
|
|
6769
|
+
* @param request - ListUserAuthnSourceMappingsRequest
|
|
6770
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6771
|
+
* @returns ListUserAuthnSourceMappingsResponse
|
|
6772
|
+
*/
|
|
6773
|
+
async listUserAuthnSourceMappingsWithOptions(request, runtime) {
|
|
6774
|
+
request.validate();
|
|
6775
|
+
let query = {};
|
|
6776
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
6777
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
6778
|
+
}
|
|
6779
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
6780
|
+
query["InstanceId"] = request.instanceId;
|
|
6781
|
+
}
|
|
6782
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6783
|
+
query["MaxResults"] = request.maxResults;
|
|
6784
|
+
}
|
|
6785
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6786
|
+
query["NextToken"] = request.nextToken;
|
|
6787
|
+
}
|
|
6788
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
6789
|
+
query["PreviousToken"] = request.previousToken;
|
|
6790
|
+
}
|
|
6791
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
6792
|
+
query["UserExternalId"] = request.userExternalId;
|
|
6793
|
+
}
|
|
6794
|
+
if (!$dara.isNull(request.userId)) {
|
|
6795
|
+
query["UserId"] = request.userId;
|
|
6796
|
+
}
|
|
6797
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6798
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6799
|
+
});
|
|
6800
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6801
|
+
action: "ListUserAuthnSourceMappings",
|
|
6802
|
+
version: "2021-12-01",
|
|
6803
|
+
protocol: "HTTPS",
|
|
6804
|
+
pathname: "/",
|
|
6805
|
+
method: "POST",
|
|
6806
|
+
authType: "AK",
|
|
6807
|
+
style: "RPC",
|
|
6808
|
+
reqBodyType: "formData",
|
|
6809
|
+
bodyType: "json",
|
|
6810
|
+
});
|
|
6811
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListUserAuthnSourceMappingsResponse({}));
|
|
6812
|
+
}
|
|
6813
|
+
/**
|
|
6814
|
+
* 查询三方登录账户绑定关系
|
|
6815
|
+
*
|
|
6816
|
+
* @param request - ListUserAuthnSourceMappingsRequest
|
|
6817
|
+
* @returns ListUserAuthnSourceMappingsResponse
|
|
6818
|
+
*/
|
|
6819
|
+
async listUserAuthnSourceMappings(request) {
|
|
6820
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6821
|
+
return await this.listUserAuthnSourceMappingsWithOptions(request, runtime);
|
|
6822
|
+
}
|
|
6346
6823
|
/**
|
|
6347
6824
|
* Queries the details of accounts in Identity as a Service (IDaaS) Employee IAM (EIAM) by page.
|
|
6348
6825
|
*
|
|
@@ -6706,6 +7183,51 @@ class Client extends openapi_core_1.default {
|
|
|
6706
7183
|
let runtime = new $dara.RuntimeOptions({});
|
|
6707
7184
|
return await this.removeApplicationAccountFromUserWithOptions(request, runtime);
|
|
6708
7185
|
}
|
|
7186
|
+
/**
|
|
7187
|
+
* 移除品牌关联条款
|
|
7188
|
+
*
|
|
7189
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
7190
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7191
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
7192
|
+
*/
|
|
7193
|
+
async removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime) {
|
|
7194
|
+
request.validate();
|
|
7195
|
+
let query = {};
|
|
7196
|
+
if (!$dara.isNull(request.brandId)) {
|
|
7197
|
+
query["BrandId"] = request.brandId;
|
|
7198
|
+
}
|
|
7199
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
7200
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
7201
|
+
}
|
|
7202
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7203
|
+
query["InstanceId"] = request.instanceId;
|
|
7204
|
+
}
|
|
7205
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7206
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7207
|
+
});
|
|
7208
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7209
|
+
action: "RemoveCustomPrivacyPoliciesFromBrand",
|
|
7210
|
+
version: "2021-12-01",
|
|
7211
|
+
protocol: "HTTPS",
|
|
7212
|
+
pathname: "/",
|
|
7213
|
+
method: "POST",
|
|
7214
|
+
authType: "AK",
|
|
7215
|
+
style: "RPC",
|
|
7216
|
+
reqBodyType: "formData",
|
|
7217
|
+
bodyType: "json",
|
|
7218
|
+
});
|
|
7219
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveCustomPrivacyPoliciesFromBrandResponse({}));
|
|
7220
|
+
}
|
|
7221
|
+
/**
|
|
7222
|
+
* 移除品牌关联条款
|
|
7223
|
+
*
|
|
7224
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
7225
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
7226
|
+
*/
|
|
7227
|
+
async removeCustomPrivacyPoliciesFromBrand(request) {
|
|
7228
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7229
|
+
return await this.removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime);
|
|
7230
|
+
}
|
|
6709
7231
|
/**
|
|
6710
7232
|
* Removes an Employee Identity and Access Management (EIAM) account from multiple EIAM organizations of Identity as a Service (IDaaS). You cannot remove an account from a primary organization.
|
|
6711
7233
|
*
|
|
@@ -7645,6 +8167,54 @@ class Client extends openapi_core_1.default {
|
|
|
7645
8167
|
let runtime = new $dara.RuntimeOptions({});
|
|
7646
8168
|
return await this.setUserPrimaryOrganizationalUnitWithOptions(request, runtime);
|
|
7647
8169
|
}
|
|
8170
|
+
/**
|
|
8171
|
+
* 解绑三方登录账户
|
|
8172
|
+
*
|
|
8173
|
+
* @param request - UnbindUserAuthnSourceMappingRequest
|
|
8174
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8175
|
+
* @returns UnbindUserAuthnSourceMappingResponse
|
|
8176
|
+
*/
|
|
8177
|
+
async unbindUserAuthnSourceMappingWithOptions(request, runtime) {
|
|
8178
|
+
request.validate();
|
|
8179
|
+
let query = {};
|
|
8180
|
+
if (!$dara.isNull(request.identityProviderId)) {
|
|
8181
|
+
query["IdentityProviderId"] = request.identityProviderId;
|
|
8182
|
+
}
|
|
8183
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8184
|
+
query["InstanceId"] = request.instanceId;
|
|
8185
|
+
}
|
|
8186
|
+
if (!$dara.isNull(request.userExternalId)) {
|
|
8187
|
+
query["UserExternalId"] = request.userExternalId;
|
|
8188
|
+
}
|
|
8189
|
+
if (!$dara.isNull(request.userId)) {
|
|
8190
|
+
query["UserId"] = request.userId;
|
|
8191
|
+
}
|
|
8192
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8193
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8194
|
+
});
|
|
8195
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8196
|
+
action: "UnbindUserAuthnSourceMapping",
|
|
8197
|
+
version: "2021-12-01",
|
|
8198
|
+
protocol: "HTTPS",
|
|
8199
|
+
pathname: "/",
|
|
8200
|
+
method: "POST",
|
|
8201
|
+
authType: "AK",
|
|
8202
|
+
style: "RPC",
|
|
8203
|
+
reqBodyType: "formData",
|
|
8204
|
+
bodyType: "json",
|
|
8205
|
+
});
|
|
8206
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindUserAuthnSourceMappingResponse({}));
|
|
8207
|
+
}
|
|
8208
|
+
/**
|
|
8209
|
+
* 解绑三方登录账户
|
|
8210
|
+
*
|
|
8211
|
+
* @param request - UnbindUserAuthnSourceMappingRequest
|
|
8212
|
+
* @returns UnbindUserAuthnSourceMappingResponse
|
|
8213
|
+
*/
|
|
8214
|
+
async unbindUserAuthnSourceMapping(request) {
|
|
8215
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8216
|
+
return await this.unbindUserAuthnSourceMappingWithOptions(request, runtime);
|
|
8217
|
+
}
|
|
7648
8218
|
/**
|
|
7649
8219
|
* Unlocks an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS) that is locked.
|
|
7650
8220
|
*
|
|
@@ -8191,6 +8761,60 @@ class Client extends openapi_core_1.default {
|
|
|
8191
8761
|
let runtime = new $dara.RuntimeOptions({});
|
|
8192
8762
|
return await this.updateConditionalAccessPolicyDescriptionWithOptions(request, runtime);
|
|
8193
8763
|
}
|
|
8764
|
+
/**
|
|
8765
|
+
* 更新自定义条款
|
|
8766
|
+
*
|
|
8767
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
8768
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8769
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
8770
|
+
*/
|
|
8771
|
+
async updateCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
8772
|
+
request.validate();
|
|
8773
|
+
let query = {};
|
|
8774
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
8775
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
8776
|
+
}
|
|
8777
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
8778
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
8779
|
+
}
|
|
8780
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
8781
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
8782
|
+
}
|
|
8783
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
8784
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
8785
|
+
}
|
|
8786
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8787
|
+
query["InstanceId"] = request.instanceId;
|
|
8788
|
+
}
|
|
8789
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
8790
|
+
query["UserConsentType"] = request.userConsentType;
|
|
8791
|
+
}
|
|
8792
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8793
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8794
|
+
});
|
|
8795
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8796
|
+
action: "UpdateCustomPrivacyPolicy",
|
|
8797
|
+
version: "2021-12-01",
|
|
8798
|
+
protocol: "HTTPS",
|
|
8799
|
+
pathname: "/",
|
|
8800
|
+
method: "POST",
|
|
8801
|
+
authType: "AK",
|
|
8802
|
+
style: "RPC",
|
|
8803
|
+
reqBodyType: "formData",
|
|
8804
|
+
bodyType: "json",
|
|
8805
|
+
});
|
|
8806
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCustomPrivacyPolicyResponse({}));
|
|
8807
|
+
}
|
|
8808
|
+
/**
|
|
8809
|
+
* 更新自定义条款
|
|
8810
|
+
*
|
|
8811
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
8812
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
8813
|
+
*/
|
|
8814
|
+
async updateCustomPrivacyPolicy(request) {
|
|
8815
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8816
|
+
return await this.updateCustomPrivacyPolicyWithOptions(request, runtime);
|
|
8817
|
+
}
|
|
8194
8818
|
/**
|
|
8195
8819
|
* 修改域名关联的品牌。
|
|
8196
8820
|
*
|