@alicloud/eiam20211201 2.3.0 → 2.4.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 +150 -0
- package/dist/client.js +471 -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/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/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/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 +39 -0
- package/dist/models/model.js +96 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +528 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandRequest.ts +60 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponse.ts +40 -0
- package/src/models/AddCustomPrivacyPoliciesToBrandResponseBody.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/RemoveCustomPrivacyPoliciesFromBrandRequest.ts +60 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponse.ts +40 -0
- package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.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 +39 -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
|
*
|
|
@@ -664,6 +709,63 @@ class Client extends openapi_core_1.default {
|
|
|
664
709
|
let runtime = new $dara.RuntimeOptions({});
|
|
665
710
|
return await this.createConditionalAccessPolicyWithOptions(request, runtime);
|
|
666
711
|
}
|
|
712
|
+
/**
|
|
713
|
+
* 创建自定义条款
|
|
714
|
+
*
|
|
715
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
716
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
717
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
718
|
+
*/
|
|
719
|
+
async createCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
720
|
+
request.validate();
|
|
721
|
+
let query = {};
|
|
722
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
723
|
+
query["ClientToken"] = request.clientToken;
|
|
724
|
+
}
|
|
725
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
726
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
727
|
+
}
|
|
728
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
729
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
730
|
+
}
|
|
731
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
732
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
733
|
+
}
|
|
734
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
735
|
+
query["InstanceId"] = request.instanceId;
|
|
736
|
+
}
|
|
737
|
+
if (!$dara.isNull(request.status)) {
|
|
738
|
+
query["Status"] = request.status;
|
|
739
|
+
}
|
|
740
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
741
|
+
query["UserConsentType"] = request.userConsentType;
|
|
742
|
+
}
|
|
743
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
744
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
745
|
+
});
|
|
746
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
747
|
+
action: "CreateCustomPrivacyPolicy",
|
|
748
|
+
version: "2021-12-01",
|
|
749
|
+
protocol: "HTTPS",
|
|
750
|
+
pathname: "/",
|
|
751
|
+
method: "POST",
|
|
752
|
+
authType: "AK",
|
|
753
|
+
style: "RPC",
|
|
754
|
+
reqBodyType: "formData",
|
|
755
|
+
bodyType: "json",
|
|
756
|
+
});
|
|
757
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomPrivacyPolicyResponse({}));
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* 创建自定义条款
|
|
761
|
+
*
|
|
762
|
+
* @param request - CreateCustomPrivacyPolicyRequest
|
|
763
|
+
* @returns CreateCustomPrivacyPolicyResponse
|
|
764
|
+
*/
|
|
765
|
+
async createCustomPrivacyPolicy(request) {
|
|
766
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
767
|
+
return await this.createCustomPrivacyPolicyWithOptions(request, runtime);
|
|
768
|
+
}
|
|
667
769
|
/**
|
|
668
770
|
* Creates a custom domain name for an Employee Identity and Access Management (EIAM) instance.
|
|
669
771
|
*
|
|
@@ -1507,6 +1609,48 @@ class Client extends openapi_core_1.default {
|
|
|
1507
1609
|
let runtime = new $dara.RuntimeOptions({});
|
|
1508
1610
|
return await this.deleteConditionalAccessPolicyWithOptions(request, runtime);
|
|
1509
1611
|
}
|
|
1612
|
+
/**
|
|
1613
|
+
* 删除自定义条款
|
|
1614
|
+
*
|
|
1615
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1616
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1617
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1618
|
+
*/
|
|
1619
|
+
async deleteCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
1620
|
+
request.validate();
|
|
1621
|
+
let query = {};
|
|
1622
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
1623
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
1624
|
+
}
|
|
1625
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1626
|
+
query["InstanceId"] = request.instanceId;
|
|
1627
|
+
}
|
|
1628
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1629
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1630
|
+
});
|
|
1631
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1632
|
+
action: "DeleteCustomPrivacyPolicy",
|
|
1633
|
+
version: "2021-12-01",
|
|
1634
|
+
protocol: "HTTPS",
|
|
1635
|
+
pathname: "/",
|
|
1636
|
+
method: "POST",
|
|
1637
|
+
authType: "AK",
|
|
1638
|
+
style: "RPC",
|
|
1639
|
+
reqBodyType: "formData",
|
|
1640
|
+
bodyType: "json",
|
|
1641
|
+
});
|
|
1642
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomPrivacyPolicyResponse({}));
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* 删除自定义条款
|
|
1646
|
+
*
|
|
1647
|
+
* @param request - DeleteCustomPrivacyPolicyRequest
|
|
1648
|
+
* @returns DeleteCustomPrivacyPolicyResponse
|
|
1649
|
+
*/
|
|
1650
|
+
async deleteCustomPrivacyPolicy(request) {
|
|
1651
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1652
|
+
return await this.deleteCustomPrivacyPolicyWithOptions(request, runtime);
|
|
1653
|
+
}
|
|
1510
1654
|
/**
|
|
1511
1655
|
* 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
1656
|
*
|
|
@@ -2374,6 +2518,48 @@ class Client extends openapi_core_1.default {
|
|
|
2374
2518
|
let runtime = new $dara.RuntimeOptions({});
|
|
2375
2519
|
return await this.disableConditionalAccessPolicyWithOptions(request, runtime);
|
|
2376
2520
|
}
|
|
2521
|
+
/**
|
|
2522
|
+
* 禁用自定义条款
|
|
2523
|
+
*
|
|
2524
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2525
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2526
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2527
|
+
*/
|
|
2528
|
+
async disableCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
2529
|
+
request.validate();
|
|
2530
|
+
let query = {};
|
|
2531
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
2532
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
2533
|
+
}
|
|
2534
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
2535
|
+
query["InstanceId"] = request.instanceId;
|
|
2536
|
+
}
|
|
2537
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2538
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2539
|
+
});
|
|
2540
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2541
|
+
action: "DisableCustomPrivacyPolicy",
|
|
2542
|
+
version: "2021-12-01",
|
|
2543
|
+
protocol: "HTTPS",
|
|
2544
|
+
pathname: "/",
|
|
2545
|
+
method: "POST",
|
|
2546
|
+
authType: "AK",
|
|
2547
|
+
style: "RPC",
|
|
2548
|
+
reqBodyType: "formData",
|
|
2549
|
+
bodyType: "json",
|
|
2550
|
+
});
|
|
2551
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableCustomPrivacyPolicyResponse({}));
|
|
2552
|
+
}
|
|
2553
|
+
/**
|
|
2554
|
+
* 禁用自定义条款
|
|
2555
|
+
*
|
|
2556
|
+
* @param request - DisableCustomPrivacyPolicyRequest
|
|
2557
|
+
* @returns DisableCustomPrivacyPolicyResponse
|
|
2558
|
+
*/
|
|
2559
|
+
async disableCustomPrivacyPolicy(request) {
|
|
2560
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2561
|
+
return await this.disableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
2562
|
+
}
|
|
2377
2563
|
/**
|
|
2378
2564
|
* 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
2565
|
*
|
|
@@ -3019,6 +3205,48 @@ class Client extends openapi_core_1.default {
|
|
|
3019
3205
|
let runtime = new $dara.RuntimeOptions({});
|
|
3020
3206
|
return await this.enableConditionalAccessPolicyWithOptions(request, runtime);
|
|
3021
3207
|
}
|
|
3208
|
+
/**
|
|
3209
|
+
* 启用自定义条款
|
|
3210
|
+
*
|
|
3211
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3212
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3213
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3214
|
+
*/
|
|
3215
|
+
async enableCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
3216
|
+
request.validate();
|
|
3217
|
+
let query = {};
|
|
3218
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
3219
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
3220
|
+
}
|
|
3221
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3222
|
+
query["InstanceId"] = request.instanceId;
|
|
3223
|
+
}
|
|
3224
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3225
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3226
|
+
});
|
|
3227
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3228
|
+
action: "EnableCustomPrivacyPolicy",
|
|
3229
|
+
version: "2021-12-01",
|
|
3230
|
+
protocol: "HTTPS",
|
|
3231
|
+
pathname: "/",
|
|
3232
|
+
method: "POST",
|
|
3233
|
+
authType: "AK",
|
|
3234
|
+
style: "RPC",
|
|
3235
|
+
reqBodyType: "formData",
|
|
3236
|
+
bodyType: "json",
|
|
3237
|
+
});
|
|
3238
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableCustomPrivacyPolicyResponse({}));
|
|
3239
|
+
}
|
|
3240
|
+
/**
|
|
3241
|
+
* 启用自定义条款
|
|
3242
|
+
*
|
|
3243
|
+
* @param request - EnableCustomPrivacyPolicyRequest
|
|
3244
|
+
* @returns EnableCustomPrivacyPolicyResponse
|
|
3245
|
+
*/
|
|
3246
|
+
async enableCustomPrivacyPolicy(request) {
|
|
3247
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3248
|
+
return await this.enableCustomPrivacyPolicyWithOptions(request, runtime);
|
|
3249
|
+
}
|
|
3022
3250
|
/**
|
|
3023
3251
|
* 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
3252
|
*
|
|
@@ -3655,6 +3883,48 @@ class Client extends openapi_core_1.default {
|
|
|
3655
3883
|
let runtime = new $dara.RuntimeOptions({});
|
|
3656
3884
|
return await this.getConditionalAccessPolicyWithOptions(request, runtime);
|
|
3657
3885
|
}
|
|
3886
|
+
/**
|
|
3887
|
+
* 获取自定义条款
|
|
3888
|
+
*
|
|
3889
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
3890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3891
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
3892
|
+
*/
|
|
3893
|
+
async getCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
3894
|
+
request.validate();
|
|
3895
|
+
let query = {};
|
|
3896
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
3897
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
3898
|
+
}
|
|
3899
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
3900
|
+
query["InstanceId"] = request.instanceId;
|
|
3901
|
+
}
|
|
3902
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3903
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3904
|
+
});
|
|
3905
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3906
|
+
action: "GetCustomPrivacyPolicy",
|
|
3907
|
+
version: "2021-12-01",
|
|
3908
|
+
protocol: "HTTPS",
|
|
3909
|
+
pathname: "/",
|
|
3910
|
+
method: "POST",
|
|
3911
|
+
authType: "AK",
|
|
3912
|
+
style: "RPC",
|
|
3913
|
+
reqBodyType: "formData",
|
|
3914
|
+
bodyType: "json",
|
|
3915
|
+
});
|
|
3916
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomPrivacyPolicyResponse({}));
|
|
3917
|
+
}
|
|
3918
|
+
/**
|
|
3919
|
+
* 获取自定义条款
|
|
3920
|
+
*
|
|
3921
|
+
* @param request - GetCustomPrivacyPolicyRequest
|
|
3922
|
+
* @returns GetCustomPrivacyPolicyResponse
|
|
3923
|
+
*/
|
|
3924
|
+
async getCustomPrivacyPolicy(request) {
|
|
3925
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3926
|
+
return await this.getCustomPrivacyPolicyWithOptions(request, runtime);
|
|
3927
|
+
}
|
|
3658
3928
|
/**
|
|
3659
3929
|
* Queries the information about a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
3660
3930
|
*
|
|
@@ -5365,6 +5635,108 @@ class Client extends openapi_core_1.default {
|
|
|
5365
5635
|
let runtime = new $dara.RuntimeOptions({});
|
|
5366
5636
|
return await this.listConditionalAccessPoliciesForUserWithOptions(request, runtime);
|
|
5367
5637
|
}
|
|
5638
|
+
/**
|
|
5639
|
+
* 自定义条款列表查询。
|
|
5640
|
+
*
|
|
5641
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
5642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5643
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
5644
|
+
*/
|
|
5645
|
+
async listCustomPrivacyPoliciesWithOptions(request, runtime) {
|
|
5646
|
+
request.validate();
|
|
5647
|
+
let query = {};
|
|
5648
|
+
if (!$dara.isNull(request.customPrivacyPolicyNameStartsWith)) {
|
|
5649
|
+
query["CustomPrivacyPolicyNameStartsWith"] = request.customPrivacyPolicyNameStartsWith;
|
|
5650
|
+
}
|
|
5651
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5652
|
+
query["InstanceId"] = request.instanceId;
|
|
5653
|
+
}
|
|
5654
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5655
|
+
query["MaxResults"] = request.maxResults;
|
|
5656
|
+
}
|
|
5657
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5658
|
+
query["NextToken"] = request.nextToken;
|
|
5659
|
+
}
|
|
5660
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
5661
|
+
query["PreviousToken"] = request.previousToken;
|
|
5662
|
+
}
|
|
5663
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5664
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5665
|
+
});
|
|
5666
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5667
|
+
action: "ListCustomPrivacyPolicies",
|
|
5668
|
+
version: "2021-12-01",
|
|
5669
|
+
protocol: "HTTPS",
|
|
5670
|
+
pathname: "/",
|
|
5671
|
+
method: "POST",
|
|
5672
|
+
authType: "AK",
|
|
5673
|
+
style: "RPC",
|
|
5674
|
+
reqBodyType: "formData",
|
|
5675
|
+
bodyType: "json",
|
|
5676
|
+
});
|
|
5677
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesResponse({}));
|
|
5678
|
+
}
|
|
5679
|
+
/**
|
|
5680
|
+
* 自定义条款列表查询。
|
|
5681
|
+
*
|
|
5682
|
+
* @param request - ListCustomPrivacyPoliciesRequest
|
|
5683
|
+
* @returns ListCustomPrivacyPoliciesResponse
|
|
5684
|
+
*/
|
|
5685
|
+
async listCustomPrivacyPolicies(request) {
|
|
5686
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5687
|
+
return await this.listCustomPrivacyPoliciesWithOptions(request, runtime);
|
|
5688
|
+
}
|
|
5689
|
+
/**
|
|
5690
|
+
* 获取品牌关联资源的资源
|
|
5691
|
+
*
|
|
5692
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
5693
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5694
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
5695
|
+
*/
|
|
5696
|
+
async listCustomPrivacyPoliciesForBrandWithOptions(request, runtime) {
|
|
5697
|
+
request.validate();
|
|
5698
|
+
let query = {};
|
|
5699
|
+
if (!$dara.isNull(request.brandId)) {
|
|
5700
|
+
query["BrandId"] = request.brandId;
|
|
5701
|
+
}
|
|
5702
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
5703
|
+
query["InstanceId"] = request.instanceId;
|
|
5704
|
+
}
|
|
5705
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5706
|
+
query["MaxResults"] = request.maxResults;
|
|
5707
|
+
}
|
|
5708
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5709
|
+
query["NextToken"] = request.nextToken;
|
|
5710
|
+
}
|
|
5711
|
+
if (!$dara.isNull(request.previousToken)) {
|
|
5712
|
+
query["PreviousToken"] = request.previousToken;
|
|
5713
|
+
}
|
|
5714
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5715
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5716
|
+
});
|
|
5717
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5718
|
+
action: "ListCustomPrivacyPoliciesForBrand",
|
|
5719
|
+
version: "2021-12-01",
|
|
5720
|
+
protocol: "HTTPS",
|
|
5721
|
+
pathname: "/",
|
|
5722
|
+
method: "POST",
|
|
5723
|
+
authType: "AK",
|
|
5724
|
+
style: "RPC",
|
|
5725
|
+
reqBodyType: "formData",
|
|
5726
|
+
bodyType: "json",
|
|
5727
|
+
});
|
|
5728
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomPrivacyPoliciesForBrandResponse({}));
|
|
5729
|
+
}
|
|
5730
|
+
/**
|
|
5731
|
+
* 获取品牌关联资源的资源
|
|
5732
|
+
*
|
|
5733
|
+
* @param request - ListCustomPrivacyPoliciesForBrandRequest
|
|
5734
|
+
* @returns ListCustomPrivacyPoliciesForBrandResponse
|
|
5735
|
+
*/
|
|
5736
|
+
async listCustomPrivacyPoliciesForBrand(request) {
|
|
5737
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5738
|
+
return await this.listCustomPrivacyPoliciesForBrandWithOptions(request, runtime);
|
|
5739
|
+
}
|
|
5368
5740
|
/**
|
|
5369
5741
|
* Queries the proxy tokens of a domain name of an Employee Identity and Access Management (EIAM) instance.
|
|
5370
5742
|
*
|
|
@@ -6706,6 +7078,51 @@ class Client extends openapi_core_1.default {
|
|
|
6706
7078
|
let runtime = new $dara.RuntimeOptions({});
|
|
6707
7079
|
return await this.removeApplicationAccountFromUserWithOptions(request, runtime);
|
|
6708
7080
|
}
|
|
7081
|
+
/**
|
|
7082
|
+
* 移除品牌关联条款
|
|
7083
|
+
*
|
|
7084
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
7085
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7086
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
7087
|
+
*/
|
|
7088
|
+
async removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime) {
|
|
7089
|
+
request.validate();
|
|
7090
|
+
let query = {};
|
|
7091
|
+
if (!$dara.isNull(request.brandId)) {
|
|
7092
|
+
query["BrandId"] = request.brandId;
|
|
7093
|
+
}
|
|
7094
|
+
if (!$dara.isNull(request.customPrivacyPolicyIds)) {
|
|
7095
|
+
query["CustomPrivacyPolicyIds"] = request.customPrivacyPolicyIds;
|
|
7096
|
+
}
|
|
7097
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7098
|
+
query["InstanceId"] = request.instanceId;
|
|
7099
|
+
}
|
|
7100
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7101
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7102
|
+
});
|
|
7103
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7104
|
+
action: "RemoveCustomPrivacyPoliciesFromBrand",
|
|
7105
|
+
version: "2021-12-01",
|
|
7106
|
+
protocol: "HTTPS",
|
|
7107
|
+
pathname: "/",
|
|
7108
|
+
method: "POST",
|
|
7109
|
+
authType: "AK",
|
|
7110
|
+
style: "RPC",
|
|
7111
|
+
reqBodyType: "formData",
|
|
7112
|
+
bodyType: "json",
|
|
7113
|
+
});
|
|
7114
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveCustomPrivacyPoliciesFromBrandResponse({}));
|
|
7115
|
+
}
|
|
7116
|
+
/**
|
|
7117
|
+
* 移除品牌关联条款
|
|
7118
|
+
*
|
|
7119
|
+
* @param request - RemoveCustomPrivacyPoliciesFromBrandRequest
|
|
7120
|
+
* @returns RemoveCustomPrivacyPoliciesFromBrandResponse
|
|
7121
|
+
*/
|
|
7122
|
+
async removeCustomPrivacyPoliciesFromBrand(request) {
|
|
7123
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7124
|
+
return await this.removeCustomPrivacyPoliciesFromBrandWithOptions(request, runtime);
|
|
7125
|
+
}
|
|
6709
7126
|
/**
|
|
6710
7127
|
* 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
7128
|
*
|
|
@@ -8191,6 +8608,60 @@ class Client extends openapi_core_1.default {
|
|
|
8191
8608
|
let runtime = new $dara.RuntimeOptions({});
|
|
8192
8609
|
return await this.updateConditionalAccessPolicyDescriptionWithOptions(request, runtime);
|
|
8193
8610
|
}
|
|
8611
|
+
/**
|
|
8612
|
+
* 更新自定义条款
|
|
8613
|
+
*
|
|
8614
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
8615
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8616
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
8617
|
+
*/
|
|
8618
|
+
async updateCustomPrivacyPolicyWithOptions(request, runtime) {
|
|
8619
|
+
request.validate();
|
|
8620
|
+
let query = {};
|
|
8621
|
+
if (!$dara.isNull(request.customPrivacyPolicyContents)) {
|
|
8622
|
+
query["CustomPrivacyPolicyContents"] = request.customPrivacyPolicyContents;
|
|
8623
|
+
}
|
|
8624
|
+
if (!$dara.isNull(request.customPrivacyPolicyId)) {
|
|
8625
|
+
query["CustomPrivacyPolicyId"] = request.customPrivacyPolicyId;
|
|
8626
|
+
}
|
|
8627
|
+
if (!$dara.isNull(request.customPrivacyPolicyName)) {
|
|
8628
|
+
query["CustomPrivacyPolicyName"] = request.customPrivacyPolicyName;
|
|
8629
|
+
}
|
|
8630
|
+
if (!$dara.isNull(request.defaultLanguageCode)) {
|
|
8631
|
+
query["DefaultLanguageCode"] = request.defaultLanguageCode;
|
|
8632
|
+
}
|
|
8633
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
8634
|
+
query["InstanceId"] = request.instanceId;
|
|
8635
|
+
}
|
|
8636
|
+
if (!$dara.isNull(request.userConsentType)) {
|
|
8637
|
+
query["UserConsentType"] = request.userConsentType;
|
|
8638
|
+
}
|
|
8639
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8640
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8641
|
+
});
|
|
8642
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8643
|
+
action: "UpdateCustomPrivacyPolicy",
|
|
8644
|
+
version: "2021-12-01",
|
|
8645
|
+
protocol: "HTTPS",
|
|
8646
|
+
pathname: "/",
|
|
8647
|
+
method: "POST",
|
|
8648
|
+
authType: "AK",
|
|
8649
|
+
style: "RPC",
|
|
8650
|
+
reqBodyType: "formData",
|
|
8651
|
+
bodyType: "json",
|
|
8652
|
+
});
|
|
8653
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCustomPrivacyPolicyResponse({}));
|
|
8654
|
+
}
|
|
8655
|
+
/**
|
|
8656
|
+
* 更新自定义条款
|
|
8657
|
+
*
|
|
8658
|
+
* @param request - UpdateCustomPrivacyPolicyRequest
|
|
8659
|
+
* @returns UpdateCustomPrivacyPolicyResponse
|
|
8660
|
+
*/
|
|
8661
|
+
async updateCustomPrivacyPolicy(request) {
|
|
8662
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8663
|
+
return await this.updateCustomPrivacyPolicyWithOptions(request, runtime);
|
|
8664
|
+
}
|
|
8194
8665
|
/**
|
|
8195
8666
|
* 修改域名关联的品牌。
|
|
8196
8667
|
*
|