@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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DisableCustomPrivacyPolicyResponseBody } from "./DisableCustomPrivacyPolicyResponseBody";
4
+
5
+
6
+ export class DisableCustomPrivacyPolicyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DisableCustomPrivacyPolicyResponseBody;
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: DisableCustomPrivacyPolicyResponseBody,
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 DisableCustomPrivacyPolicyResponseBody 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 EnableCustomPrivacyPolicyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * pp_neagxpoznsjdtxxxxx
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
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { EnableCustomPrivacyPolicyResponseBody } from "./EnableCustomPrivacyPolicyResponseBody";
4
+
5
+
6
+ export class EnableCustomPrivacyPolicyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: EnableCustomPrivacyPolicyResponseBody;
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: EnableCustomPrivacyPolicyResponseBody,
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 EnableCustomPrivacyPolicyResponseBody 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,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetCustomPrivacyPolicyRequest 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 { GetCustomPrivacyPolicyResponseBody } from "./GetCustomPrivacyPolicyResponseBody";
4
+
5
+
6
+ export class GetCustomPrivacyPolicyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetCustomPrivacyPolicyResponseBody;
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: GetCustomPrivacyPolicyResponseBody,
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,179 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContentsCustomPrivacyPolicyItems extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * item name
9
+ */
10
+ customPrivacyPolicyItemName?: string;
11
+ /**
12
+ * @example
13
+ * https://example.com
14
+ */
15
+ customPrivacyPolicyItemUrl?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ customPrivacyPolicyItemName: 'CustomPrivacyPolicyItemName',
19
+ customPrivacyPolicyItemUrl: 'CustomPrivacyPolicyItemUrl',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ customPrivacyPolicyItemName: 'string',
26
+ customPrivacyPolicyItemUrl: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContents extends $dara.Model {
40
+ customPrivacyPolicyItems?: GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContentsCustomPrivacyPolicyItems[];
41
+ /**
42
+ * @example
43
+ * Please read and agree:
44
+ */
45
+ customPrivacyPolicyTip?: string;
46
+ /**
47
+ * @example
48
+ * zh-Hans-CN
49
+ */
50
+ languageCode?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ customPrivacyPolicyItems: 'CustomPrivacyPolicyItems',
54
+ customPrivacyPolicyTip: 'CustomPrivacyPolicyTip',
55
+ languageCode: 'LanguageCode',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ customPrivacyPolicyItems: { 'type': 'array', 'itemType': GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContentsCustomPrivacyPolicyItems },
62
+ customPrivacyPolicyTip: 'string',
63
+ languageCode: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.customPrivacyPolicyItems)) {
69
+ $dara.Model.validateArray(this.customPrivacyPolicyItems);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
79
+ export class GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicy extends $dara.Model {
80
+ customPrivacyPolicyContents?: GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContents[];
81
+ /**
82
+ * @example
83
+ * pp_xxxxx
84
+ */
85
+ customPrivacyPolicyId?: string;
86
+ /**
87
+ * @example
88
+ * Custom Privacy Policy Name
89
+ */
90
+ customPrivacyPolicyName?: string;
91
+ /**
92
+ * @example
93
+ * zh-Hans-CN
94
+ */
95
+ defaultLanguageCode?: string;
96
+ /**
97
+ * @example
98
+ * idaas_ue2jvisn35ea5lmthk267xxxxx
99
+ */
100
+ instanceId?: string;
101
+ /**
102
+ * @example
103
+ * enabled
104
+ */
105
+ status?: string;
106
+ /**
107
+ * @example
108
+ * implied_consent
109
+ */
110
+ userConsentType?: string;
111
+ static names(): { [key: string]: string } {
112
+ return {
113
+ customPrivacyPolicyContents: 'CustomPrivacyPolicyContents',
114
+ customPrivacyPolicyId: 'CustomPrivacyPolicyId',
115
+ customPrivacyPolicyName: 'CustomPrivacyPolicyName',
116
+ defaultLanguageCode: 'DefaultLanguageCode',
117
+ instanceId: 'InstanceId',
118
+ status: 'Status',
119
+ userConsentType: 'UserConsentType',
120
+ };
121
+ }
122
+
123
+ static types(): { [key: string]: any } {
124
+ return {
125
+ customPrivacyPolicyContents: { 'type': 'array', 'itemType': GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicyCustomPrivacyPolicyContents },
126
+ customPrivacyPolicyId: 'string',
127
+ customPrivacyPolicyName: 'string',
128
+ defaultLanguageCode: 'string',
129
+ instanceId: 'string',
130
+ status: 'string',
131
+ userConsentType: 'string',
132
+ };
133
+ }
134
+
135
+ validate() {
136
+ if(Array.isArray(this.customPrivacyPolicyContents)) {
137
+ $dara.Model.validateArray(this.customPrivacyPolicyContents);
138
+ }
139
+ super.validate();
140
+ }
141
+
142
+ constructor(map?: { [key: string]: any }) {
143
+ super(map);
144
+ }
145
+ }
146
+
147
+ export class GetCustomPrivacyPolicyResponseBody extends $dara.Model {
148
+ customPrivacyPolicy?: GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicy;
149
+ /**
150
+ * @example
151
+ * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
152
+ */
153
+ requestId?: string;
154
+ static names(): { [key: string]: string } {
155
+ return {
156
+ customPrivacyPolicy: 'CustomPrivacyPolicy',
157
+ requestId: 'RequestId',
158
+ };
159
+ }
160
+
161
+ static types(): { [key: string]: any } {
162
+ return {
163
+ customPrivacyPolicy: GetCustomPrivacyPolicyResponseBodyCustomPrivacyPolicy,
164
+ requestId: 'string',
165
+ };
166
+ }
167
+
168
+ validate() {
169
+ if(this.customPrivacyPolicy && typeof (this.customPrivacyPolicy as any).validate === 'function') {
170
+ (this.customPrivacyPolicy as any).validate();
171
+ }
172
+ super.validate();
173
+ }
174
+
175
+ constructor(map?: { [key: string]: any }) {
176
+ super(map);
177
+ }
178
+ }
179
+
@@ -0,0 +1,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCustomPrivacyPoliciesForBrandRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 品牌化Id
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * brand_xxxx
14
+ */
15
+ brandId?: 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
+ * 分页查询时每页行数。默认值为20,最大值为100。
29
+ *
30
+ * @example
31
+ * 20
32
+ */
33
+ maxResults?: number;
34
+ /**
35
+ * @remarks
36
+ * 查询凭证(Token),取值为上一次API调用返回的NextToken参数值。
37
+ *
38
+ * @example
39
+ * NTxxxxxexample
40
+ */
41
+ nextToken?: string;
42
+ /**
43
+ * @remarks
44
+ * 查询上一页凭证(Token),取值为上一次API调用返回的previousToken参数值。
45
+ *
46
+ * @example
47
+ * PTxxxxxexample
48
+ */
49
+ previousToken?: string;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ brandId: 'BrandId',
53
+ instanceId: 'InstanceId',
54
+ maxResults: 'MaxResults',
55
+ nextToken: 'NextToken',
56
+ previousToken: 'PreviousToken',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ brandId: 'string',
63
+ instanceId: 'string',
64
+ maxResults: 'number',
65
+ nextToken: 'string',
66
+ previousToken: 'string',
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListCustomPrivacyPoliciesForBrandResponseBody } from "./ListCustomPrivacyPoliciesForBrandResponseBody";
4
+
5
+
6
+ export class ListCustomPrivacyPoliciesForBrandResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListCustomPrivacyPoliciesForBrandResponseBody;
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: ListCustomPrivacyPoliciesForBrandResponseBody,
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,104 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCustomPrivacyPoliciesForBrandResponseBodyBrandCustomPrivacyPolicies extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 条款ID
9
+ *
10
+ * @example
11
+ * pp_xxxx
12
+ */
13
+ customPrivacyPolicyId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ customPrivacyPolicyId: 'CustomPrivacyPolicyId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ customPrivacyPolicyId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class ListCustomPrivacyPoliciesForBrandResponseBody extends $dara.Model {
36
+ brandCustomPrivacyPolicies?: ListCustomPrivacyPoliciesForBrandResponseBodyBrandCustomPrivacyPolicies[];
37
+ /**
38
+ * @remarks
39
+ * 分页查询时每页行数。
40
+ *
41
+ * @example
42
+ * 20
43
+ */
44
+ maxResults?: number;
45
+ /**
46
+ * @remarks
47
+ * 本次调用返回的查询凭证(Token)值,用于下一次翻页查询。
48
+ *
49
+ * @example
50
+ * NTxxxexample
51
+ */
52
+ nextToken?: string;
53
+ /**
54
+ * @remarks
55
+ * 本次调用返回的查询凭证(Token)值,用于上一次翻页查询。
56
+ *
57
+ * @example
58
+ * PTxxxexample
59
+ */
60
+ previousToken?: string;
61
+ /**
62
+ * @example
63
+ * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
64
+ */
65
+ requestId?: string;
66
+ /**
67
+ * @example
68
+ * 100
69
+ */
70
+ totalCount?: number;
71
+ static names(): { [key: string]: string } {
72
+ return {
73
+ brandCustomPrivacyPolicies: 'BrandCustomPrivacyPolicies',
74
+ maxResults: 'MaxResults',
75
+ nextToken: 'NextToken',
76
+ previousToken: 'PreviousToken',
77
+ requestId: 'RequestId',
78
+ totalCount: 'TotalCount',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ brandCustomPrivacyPolicies: { 'type': 'array', 'itemType': ListCustomPrivacyPoliciesForBrandResponseBodyBrandCustomPrivacyPolicies },
85
+ maxResults: 'number',
86
+ nextToken: 'string',
87
+ previousToken: 'string',
88
+ requestId: 'string',
89
+ totalCount: 'number',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(Array.isArray(this.brandCustomPrivacyPolicies)) {
95
+ $dara.Model.validateArray(this.brandCustomPrivacyPolicies);
96
+ }
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+