@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
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddCustomPrivacyPoliciesToBrandRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 品牌化Id
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* brand_xxxxx
|
|
14
|
+
*/
|
|
15
|
+
brandId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* 条款ID列表
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*/
|
|
22
|
+
customPrivacyPolicyIds?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* IDaaS EIAM实例的ID。
|
|
26
|
+
*
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
31
|
+
*/
|
|
32
|
+
instanceId?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
brandId: 'BrandId',
|
|
36
|
+
customPrivacyPolicyIds: 'CustomPrivacyPolicyIds',
|
|
37
|
+
instanceId: 'InstanceId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
brandId: 'string',
|
|
44
|
+
customPrivacyPolicyIds: { 'type': 'array', 'itemType': 'string' },
|
|
45
|
+
instanceId: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
if(Array.isArray(this.customPrivacyPolicyIds)) {
|
|
51
|
+
$dara.Model.validateArray(this.customPrivacyPolicyIds);
|
|
52
|
+
}
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddCustomPrivacyPoliciesToBrandResponseBody } from "./AddCustomPrivacyPoliciesToBrandResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class AddCustomPrivacyPoliciesToBrandResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: AddCustomPrivacyPoliciesToBrandResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: AddCustomPrivacyPoliciesToBrandResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class AddCustomPrivacyPoliciesToBrandResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BindUserAuthnSourceMappingRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 来源Idp Id
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* idp_mwpcwnhrimlr2horxXXXX
|
|
14
|
+
*/
|
|
15
|
+
identityProviderId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* IDaaS EIAM实例的ID。
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
24
|
+
*/
|
|
25
|
+
instanceId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* 外部关联ID
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* xxxxxx
|
|
34
|
+
*/
|
|
35
|
+
userExternalId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* 用户ID
|
|
39
|
+
*
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* user_fherbdywxxxx
|
|
44
|
+
*/
|
|
45
|
+
userId?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
identityProviderId: 'IdentityProviderId',
|
|
49
|
+
instanceId: 'InstanceId',
|
|
50
|
+
userExternalId: 'UserExternalId',
|
|
51
|
+
userId: 'UserId',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
identityProviderId: 'string',
|
|
58
|
+
instanceId: 'string',
|
|
59
|
+
userExternalId: 'string',
|
|
60
|
+
userId: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BindUserAuthnSourceMappingResponseBody } from "./BindUserAuthnSourceMappingResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BindUserAuthnSourceMappingResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BindUserAuthnSourceMappingResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: BindUserAuthnSourceMappingResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BindUserAuthnSourceMappingResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContentsCustomPrivacyPolicyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 自定义条款名称
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* xxxx隐私政策条款
|
|
12
|
+
*/
|
|
13
|
+
customPrivacyPolicyItemName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* 自定义条款访问地址
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* http://www.xxxx.com
|
|
20
|
+
*/
|
|
21
|
+
customPrivacyPolicyItemUrl?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
customPrivacyPolicyItemName: 'CustomPrivacyPolicyItemName',
|
|
25
|
+
customPrivacyPolicyItemUrl: 'CustomPrivacyPolicyItemUrl',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
customPrivacyPolicyItemName: 'string',
|
|
32
|
+
customPrivacyPolicyItemUrl: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContents extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* 自定义条款项
|
|
49
|
+
*/
|
|
50
|
+
customPrivacyPolicyItems?: CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContentsCustomPrivacyPolicyItems[];
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* 自定义条款提示
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* 登录视为同意此条款
|
|
57
|
+
*/
|
|
58
|
+
customPrivacyPolicyTip?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* 自定义条款所属语言
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* zh-Hans-CN
|
|
65
|
+
*/
|
|
66
|
+
languageCode?: string;
|
|
67
|
+
static names(): { [key: string]: string } {
|
|
68
|
+
return {
|
|
69
|
+
customPrivacyPolicyItems: 'CustomPrivacyPolicyItems',
|
|
70
|
+
customPrivacyPolicyTip: 'CustomPrivacyPolicyTip',
|
|
71
|
+
languageCode: 'LanguageCode',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
customPrivacyPolicyItems: { 'type': 'array', 'itemType': CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContentsCustomPrivacyPolicyItems },
|
|
78
|
+
customPrivacyPolicyTip: 'string',
|
|
79
|
+
languageCode: 'string',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
validate() {
|
|
84
|
+
if(Array.isArray(this.customPrivacyPolicyItems)) {
|
|
85
|
+
$dara.Model.validateArray(this.customPrivacyPolicyItems);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class CreateCustomPrivacyPolicyRequest extends $dara.Model {
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* client-token-example
|
|
99
|
+
*/
|
|
100
|
+
clientToken?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* 自定义条款内容详情
|
|
104
|
+
*/
|
|
105
|
+
customPrivacyPolicyContents?: CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContents[];
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* 自定义条款名称
|
|
109
|
+
*
|
|
110
|
+
* This parameter is required.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* Custom Privacy Policy Name
|
|
114
|
+
*/
|
|
115
|
+
customPrivacyPolicyName?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* 默认条款语言,若其他语言未配置条款,则使用默认的
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* zh-Hans-CN
|
|
122
|
+
*/
|
|
123
|
+
defaultLanguageCode?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* IDaaS EIAM实例的ID。
|
|
127
|
+
*
|
|
128
|
+
* This parameter is required.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
132
|
+
*/
|
|
133
|
+
instanceId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* 自定义条款状态
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* enabled
|
|
140
|
+
*/
|
|
141
|
+
status?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* 手动勾选同意,还是默认同意
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* implied_consent
|
|
148
|
+
*/
|
|
149
|
+
userConsentType?: string;
|
|
150
|
+
static names(): { [key: string]: string } {
|
|
151
|
+
return {
|
|
152
|
+
clientToken: 'ClientToken',
|
|
153
|
+
customPrivacyPolicyContents: 'CustomPrivacyPolicyContents',
|
|
154
|
+
customPrivacyPolicyName: 'CustomPrivacyPolicyName',
|
|
155
|
+
defaultLanguageCode: 'DefaultLanguageCode',
|
|
156
|
+
instanceId: 'InstanceId',
|
|
157
|
+
status: 'Status',
|
|
158
|
+
userConsentType: 'UserConsentType',
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
static types(): { [key: string]: any } {
|
|
163
|
+
return {
|
|
164
|
+
clientToken: 'string',
|
|
165
|
+
customPrivacyPolicyContents: { 'type': 'array', 'itemType': CreateCustomPrivacyPolicyRequestCustomPrivacyPolicyContents },
|
|
166
|
+
customPrivacyPolicyName: 'string',
|
|
167
|
+
defaultLanguageCode: 'string',
|
|
168
|
+
instanceId: 'string',
|
|
169
|
+
status: 'string',
|
|
170
|
+
userConsentType: 'string',
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
validate() {
|
|
175
|
+
if(Array.isArray(this.customPrivacyPolicyContents)) {
|
|
176
|
+
$dara.Model.validateArray(this.customPrivacyPolicyContents);
|
|
177
|
+
}
|
|
178
|
+
super.validate();
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
constructor(map?: { [key: string]: any }) {
|
|
182
|
+
super(map);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateCustomPrivacyPolicyResponseBody } from "./CreateCustomPrivacyPolicyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateCustomPrivacyPolicyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateCustomPrivacyPolicyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: CreateCustomPrivacyPolicyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateCustomPrivacyPolicyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pp_neagxpoznsjdtxxxxx
|
|
9
|
+
*/
|
|
10
|
+
customPrivacyPolicyId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
14
|
+
*/
|
|
15
|
+
requestId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
customPrivacyPolicyId: 'CustomPrivacyPolicyId',
|
|
19
|
+
requestId: 'RequestId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
customPrivacyPolicyId: 'string',
|
|
26
|
+
requestId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteCustomPrivacyPolicyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 自定义条款ID
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* pp_xxxxx
|
|
14
|
+
*/
|
|
15
|
+
customPrivacyPolicyId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* IDaaS EIAM实例的ID。
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
24
|
+
*/
|
|
25
|
+
instanceId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
customPrivacyPolicyId: 'CustomPrivacyPolicyId',
|
|
29
|
+
instanceId: 'InstanceId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
customPrivacyPolicyId: 'string',
|
|
36
|
+
instanceId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteCustomPrivacyPolicyResponseBody } from "./DeleteCustomPrivacyPolicyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteCustomPrivacyPolicyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteCustomPrivacyPolicyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteCustomPrivacyPolicyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteCustomPrivacyPolicyResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DisableCustomPrivacyPolicyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* pp_xxxx
|
|
12
|
+
*/
|
|
13
|
+
customPrivacyPolicyId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* IDaaS EIAM实例的ID。
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
customPrivacyPolicyId: 'CustomPrivacyPolicyId',
|
|
27
|
+
instanceId: 'InstanceId',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
customPrivacyPolicyId: 'string',
|
|
34
|
+
instanceId: 'string',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
validate() {
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|