@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.
Files changed (165) hide show
  1. package/dist/client.d.ts +195 -0
  2. package/dist/client.js +624 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.d.ts +40 -0
  5. package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js +65 -0
  6. package/dist/models/AddCustomPrivacyPoliciesToBrandRequest.js.map +1 -0
  7. package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.d.ts +19 -0
  8. package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js +69 -0
  9. package/dist/models/AddCustomPrivacyPoliciesToBrandResponse.js.map +1 -0
  10. package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.d.ts +18 -0
  11. package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js +58 -0
  12. package/dist/models/AddCustomPrivacyPoliciesToBrandResponseBody.js.map +1 -0
  13. package/dist/models/BindUserAuthnSourceMappingRequest.d.ts +53 -0
  14. package/dist/models/BindUserAuthnSourceMappingRequest.js +64 -0
  15. package/dist/models/BindUserAuthnSourceMappingRequest.js.map +1 -0
  16. package/dist/models/BindUserAuthnSourceMappingResponse.d.ts +19 -0
  17. package/dist/models/BindUserAuthnSourceMappingResponse.js +69 -0
  18. package/dist/models/BindUserAuthnSourceMappingResponse.js.map +1 -0
  19. package/dist/models/BindUserAuthnSourceMappingResponseBody.d.ts +18 -0
  20. package/dist/models/BindUserAuthnSourceMappingResponseBody.js +58 -0
  21. package/dist/models/BindUserAuthnSourceMappingResponseBody.js.map +1 -0
  22. package/dist/models/CreateCustomPrivacyPolicyRequest.d.ts +128 -0
  23. package/dist/models/CreateCustomPrivacyPolicyRequest.js +120 -0
  24. package/dist/models/CreateCustomPrivacyPolicyRequest.js.map +1 -0
  25. package/dist/models/CreateCustomPrivacyPolicyResponse.d.ts +19 -0
  26. package/dist/models/CreateCustomPrivacyPolicyResponse.js +69 -0
  27. package/dist/models/CreateCustomPrivacyPolicyResponse.js.map +1 -0
  28. package/dist/models/CreateCustomPrivacyPolicyResponseBody.d.ts +23 -0
  29. package/dist/models/CreateCustomPrivacyPolicyResponseBody.js +60 -0
  30. package/dist/models/CreateCustomPrivacyPolicyResponseBody.js.map +1 -0
  31. package/dist/models/DeleteCustomPrivacyPolicyRequest.d.ts +33 -0
  32. package/dist/models/DeleteCustomPrivacyPolicyRequest.js +60 -0
  33. package/dist/models/DeleteCustomPrivacyPolicyRequest.js.map +1 -0
  34. package/dist/models/DeleteCustomPrivacyPolicyResponse.d.ts +19 -0
  35. package/dist/models/DeleteCustomPrivacyPolicyResponse.js +69 -0
  36. package/dist/models/DeleteCustomPrivacyPolicyResponse.js.map +1 -0
  37. package/dist/models/DeleteCustomPrivacyPolicyResponseBody.d.ts +18 -0
  38. package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js +58 -0
  39. package/dist/models/DeleteCustomPrivacyPolicyResponseBody.js.map +1 -0
  40. package/dist/models/DisableCustomPrivacyPolicyRequest.d.ts +31 -0
  41. package/dist/models/DisableCustomPrivacyPolicyRequest.js +60 -0
  42. package/dist/models/DisableCustomPrivacyPolicyRequest.js.map +1 -0
  43. package/dist/models/DisableCustomPrivacyPolicyResponse.d.ts +19 -0
  44. package/dist/models/DisableCustomPrivacyPolicyResponse.js +69 -0
  45. package/dist/models/DisableCustomPrivacyPolicyResponse.js.map +1 -0
  46. package/dist/models/DisableCustomPrivacyPolicyResponseBody.d.ts +18 -0
  47. package/dist/models/DisableCustomPrivacyPolicyResponseBody.js +58 -0
  48. package/dist/models/DisableCustomPrivacyPolicyResponseBody.js.map +1 -0
  49. package/dist/models/EnableCustomPrivacyPolicyRequest.d.ts +31 -0
  50. package/dist/models/EnableCustomPrivacyPolicyRequest.js +60 -0
  51. package/dist/models/EnableCustomPrivacyPolicyRequest.js.map +1 -0
  52. package/dist/models/EnableCustomPrivacyPolicyResponse.d.ts +19 -0
  53. package/dist/models/EnableCustomPrivacyPolicyResponse.js +69 -0
  54. package/dist/models/EnableCustomPrivacyPolicyResponse.js.map +1 -0
  55. package/dist/models/EnableCustomPrivacyPolicyResponseBody.d.ts +18 -0
  56. package/dist/models/EnableCustomPrivacyPolicyResponseBody.js +58 -0
  57. package/dist/models/EnableCustomPrivacyPolicyResponseBody.js.map +1 -0
  58. package/dist/models/GetCustomPrivacyPolicyRequest.d.ts +33 -0
  59. package/dist/models/GetCustomPrivacyPolicyRequest.js +60 -0
  60. package/dist/models/GetCustomPrivacyPolicyRequest.js.map +1 -0
  61. package/dist/models/GetCustomPrivacyPolicyResponse.d.ts +19 -0
  62. package/dist/models/GetCustomPrivacyPolicyResponse.js +69 -0
  63. package/dist/models/GetCustomPrivacyPolicyResponse.js.map +1 -0
  64. package/dist/models/GetCustomPrivacyPolicyResponseBody.d.ts +107 -0
  65. package/dist/models/GetCustomPrivacyPolicyResponseBody.js +144 -0
  66. package/dist/models/GetCustomPrivacyPolicyResponseBody.js.map +1 -0
  67. package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.d.ts +57 -0
  68. package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js +66 -0
  69. package/dist/models/ListCustomPrivacyPoliciesForBrandRequest.js.map +1 -0
  70. package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.d.ts +19 -0
  71. package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js +69 -0
  72. package/dist/models/ListCustomPrivacyPoliciesForBrandResponse.js.map +1 -0
  73. package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.d.ts +68 -0
  74. package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js +90 -0
  75. package/dist/models/ListCustomPrivacyPoliciesForBrandResponseBody.js.map +1 -0
  76. package/dist/models/ListCustomPrivacyPoliciesRequest.d.ts +55 -0
  77. package/dist/models/ListCustomPrivacyPoliciesRequest.js +66 -0
  78. package/dist/models/ListCustomPrivacyPoliciesRequest.js.map +1 -0
  79. package/dist/models/ListCustomPrivacyPoliciesResponse.d.ts +19 -0
  80. package/dist/models/ListCustomPrivacyPoliciesResponse.js +69 -0
  81. package/dist/models/ListCustomPrivacyPoliciesResponse.js.map +1 -0
  82. package/dist/models/ListCustomPrivacyPoliciesResponseBody.d.ts +108 -0
  83. package/dist/models/ListCustomPrivacyPoliciesResponseBody.js +100 -0
  84. package/dist/models/ListCustomPrivacyPoliciesResponseBody.js.map +1 -0
  85. package/dist/models/ListUserAuthnSourceMappingsRequest.d.ts +73 -0
  86. package/dist/models/ListUserAuthnSourceMappingsRequest.js +70 -0
  87. package/dist/models/ListUserAuthnSourceMappingsRequest.js.map +1 -0
  88. package/dist/models/ListUserAuthnSourceMappingsResponse.d.ts +19 -0
  89. package/dist/models/ListUserAuthnSourceMappingsResponse.js +69 -0
  90. package/dist/models/ListUserAuthnSourceMappingsResponse.js.map +1 -0
  91. package/dist/models/ListUserAuthnSourceMappingsResponseBody.d.ts +116 -0
  92. package/dist/models/ListUserAuthnSourceMappingsResponseBody.js +102 -0
  93. package/dist/models/ListUserAuthnSourceMappingsResponseBody.js.map +1 -0
  94. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.d.ts +40 -0
  95. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js +65 -0
  96. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandRequest.js.map +1 -0
  97. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.d.ts +19 -0
  98. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js +69 -0
  99. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponse.js.map +1 -0
  100. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.d.ts +18 -0
  101. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js +58 -0
  102. package/dist/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.js.map +1 -0
  103. package/dist/models/UnbindUserAuthnSourceMappingRequest.d.ts +53 -0
  104. package/dist/models/UnbindUserAuthnSourceMappingRequest.js +64 -0
  105. package/dist/models/UnbindUserAuthnSourceMappingRequest.js.map +1 -0
  106. package/dist/models/UnbindUserAuthnSourceMappingResponse.d.ts +19 -0
  107. package/dist/models/UnbindUserAuthnSourceMappingResponse.js +69 -0
  108. package/dist/models/UnbindUserAuthnSourceMappingResponse.js.map +1 -0
  109. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.d.ts +18 -0
  110. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js +58 -0
  111. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js.map +1 -0
  112. package/dist/models/UpdateCustomPrivacyPolicyRequest.d.ts +92 -0
  113. package/dist/models/UpdateCustomPrivacyPolicyRequest.js +118 -0
  114. package/dist/models/UpdateCustomPrivacyPolicyRequest.js.map +1 -0
  115. package/dist/models/UpdateCustomPrivacyPolicyResponse.d.ts +19 -0
  116. package/dist/models/UpdateCustomPrivacyPolicyResponse.js +69 -0
  117. package/dist/models/UpdateCustomPrivacyPolicyResponse.js.map +1 -0
  118. package/dist/models/UpdateCustomPrivacyPolicyResponseBody.d.ts +18 -0
  119. package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js +58 -0
  120. package/dist/models/UpdateCustomPrivacyPolicyResponseBody.js.map +1 -0
  121. package/dist/models/model.d.ts +49 -0
  122. package/dist/models/model.js +116 -17
  123. package/dist/models/model.js.map +1 -1
  124. package/package.json +1 -1
  125. package/src/client.ts +724 -22
  126. package/src/models/AddCustomPrivacyPoliciesToBrandRequest.ts +60 -0
  127. package/src/models/AddCustomPrivacyPoliciesToBrandResponse.ts +40 -0
  128. package/src/models/AddCustomPrivacyPoliciesToBrandResponseBody.ts +31 -0
  129. package/src/models/BindUserAuthnSourceMappingRequest.ts +72 -0
  130. package/src/models/BindUserAuthnSourceMappingResponse.ts +40 -0
  131. package/src/models/BindUserAuthnSourceMappingResponseBody.ts +31 -0
  132. package/src/models/CreateCustomPrivacyPolicyRequest.ts +185 -0
  133. package/src/models/CreateCustomPrivacyPolicyResponse.ts +40 -0
  134. package/src/models/CreateCustomPrivacyPolicyResponseBody.ts +38 -0
  135. package/src/models/DeleteCustomPrivacyPolicyRequest.ts +48 -0
  136. package/src/models/DeleteCustomPrivacyPolicyResponse.ts +40 -0
  137. package/src/models/DeleteCustomPrivacyPolicyResponseBody.ts +31 -0
  138. package/src/models/DisableCustomPrivacyPolicyRequest.ts +46 -0
  139. package/src/models/DisableCustomPrivacyPolicyResponse.ts +40 -0
  140. package/src/models/DisableCustomPrivacyPolicyResponseBody.ts +31 -0
  141. package/src/models/EnableCustomPrivacyPolicyRequest.ts +46 -0
  142. package/src/models/EnableCustomPrivacyPolicyResponse.ts +40 -0
  143. package/src/models/EnableCustomPrivacyPolicyResponseBody.ts +31 -0
  144. package/src/models/GetCustomPrivacyPolicyRequest.ts +48 -0
  145. package/src/models/GetCustomPrivacyPolicyResponse.ts +40 -0
  146. package/src/models/GetCustomPrivacyPolicyResponseBody.ts +179 -0
  147. package/src/models/ListCustomPrivacyPoliciesForBrandRequest.ts +78 -0
  148. package/src/models/ListCustomPrivacyPoliciesForBrandResponse.ts +40 -0
  149. package/src/models/ListCustomPrivacyPoliciesForBrandResponseBody.ts +104 -0
  150. package/src/models/ListCustomPrivacyPoliciesRequest.ts +76 -0
  151. package/src/models/ListCustomPrivacyPoliciesResponse.ts +40 -0
  152. package/src/models/ListCustomPrivacyPoliciesResponseBody.ts +154 -0
  153. package/src/models/ListUserAuthnSourceMappingsRequest.ts +98 -0
  154. package/src/models/ListUserAuthnSourceMappingsResponse.ts +40 -0
  155. package/src/models/ListUserAuthnSourceMappingsResponseBody.ts +164 -0
  156. package/src/models/RemoveCustomPrivacyPoliciesFromBrandRequest.ts +60 -0
  157. package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponse.ts +40 -0
  158. package/src/models/RemoveCustomPrivacyPoliciesFromBrandResponseBody.ts +31 -0
  159. package/src/models/UnbindUserAuthnSourceMappingRequest.ts +72 -0
  160. package/src/models/UnbindUserAuthnSourceMappingResponse.ts +40 -0
  161. package/src/models/UnbindUserAuthnSourceMappingResponseBody.ts +31 -0
  162. package/src/models/UpdateCustomPrivacyPolicyRequest.ts +147 -0
  163. package/src/models/UpdateCustomPrivacyPolicyResponse.ts +40 -0
  164. package/src/models/UpdateCustomPrivacyPolicyResponseBody.ts +31 -0
  165. 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
+