@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,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCustomPrivacyPoliciesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 自定义条款名称,左模糊匹配
9
+ *
10
+ * @example
11
+ * Custom
12
+ */
13
+ customPrivacyPolicyNameStartsWith?: 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
+ /**
25
+ * @remarks
26
+ * 分页查询时每页行数。默认值为20,最大值为100。
27
+ *
28
+ * @example
29
+ * 20
30
+ */
31
+ maxResults?: number;
32
+ /**
33
+ * @remarks
34
+ * 查询凭证(Token),取值为上一次API调用返回的NextToken参数值。
35
+ *
36
+ * @example
37
+ * NTxxxxxexample
38
+ */
39
+ nextToken?: string;
40
+ /**
41
+ * @remarks
42
+ * 查询上一页凭证(Token),取值为上一次API调用返回的previousToken参数值。
43
+ *
44
+ * @example
45
+ * PTxxxxxexample
46
+ */
47
+ previousToken?: string;
48
+ static names(): { [key: string]: string } {
49
+ return {
50
+ customPrivacyPolicyNameStartsWith: 'CustomPrivacyPolicyNameStartsWith',
51
+ instanceId: 'InstanceId',
52
+ maxResults: 'MaxResults',
53
+ nextToken: 'NextToken',
54
+ previousToken: 'PreviousToken',
55
+ };
56
+ }
57
+
58
+ static types(): { [key: string]: any } {
59
+ return {
60
+ customPrivacyPolicyNameStartsWith: 'string',
61
+ instanceId: 'string',
62
+ maxResults: 'number',
63
+ nextToken: 'string',
64
+ previousToken: 'string',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListCustomPrivacyPoliciesResponseBody } from "./ListCustomPrivacyPoliciesResponseBody";
4
+
5
+
6
+ export class ListCustomPrivacyPoliciesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListCustomPrivacyPoliciesResponseBody;
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: ListCustomPrivacyPoliciesResponseBody,
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,154 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCustomPrivacyPoliciesResponseBodyCustomPrivacyPolicies extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 自定义条款Id
9
+ *
10
+ * @example
11
+ * pp_xxxxx
12
+ */
13
+ customPrivacyPolicyId?: string;
14
+ /**
15
+ * @remarks
16
+ * 自定义条款名称
17
+ *
18
+ * @example
19
+ * Custom Privacy Policy Name
20
+ */
21
+ customPrivacyPolicyName?: string;
22
+ /**
23
+ * @remarks
24
+ * 若显示语言未配置时,门户侧展示默认语言展示条款。
25
+ *
26
+ * @example
27
+ * zh-Hans-CN
28
+ */
29
+ defaultLanguageCode?: string;
30
+ /**
31
+ * @remarks
32
+ * 实例id
33
+ *
34
+ * @example
35
+ * idaas_ue2jvisn35ea5lmthk267xxxxx
36
+ */
37
+ instanceId?: string;
38
+ /**
39
+ * @remarks
40
+ * 自定义条款状态
41
+ *
42
+ * @example
43
+ * enabled
44
+ */
45
+ status?: string;
46
+ /**
47
+ * @remarks
48
+ * 自定义条款同意类型,是默认同意,还是用户勾选同意
49
+ *
50
+ * @example
51
+ * implied_consent
52
+ */
53
+ userConsentType?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ customPrivacyPolicyId: 'CustomPrivacyPolicyId',
57
+ customPrivacyPolicyName: 'CustomPrivacyPolicyName',
58
+ defaultLanguageCode: 'DefaultLanguageCode',
59
+ instanceId: 'InstanceId',
60
+ status: 'Status',
61
+ userConsentType: 'UserConsentType',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ customPrivacyPolicyId: 'string',
68
+ customPrivacyPolicyName: 'string',
69
+ defaultLanguageCode: 'string',
70
+ instanceId: 'string',
71
+ status: 'string',
72
+ userConsentType: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
85
+ export class ListCustomPrivacyPoliciesResponseBody extends $dara.Model {
86
+ customPrivacyPolicies?: ListCustomPrivacyPoliciesResponseBodyCustomPrivacyPolicies[];
87
+ /**
88
+ * @remarks
89
+ * 分页查询时每页行数。
90
+ *
91
+ * @example
92
+ * 20
93
+ */
94
+ maxResults?: number;
95
+ /**
96
+ * @remarks
97
+ * 本次调用返回的查询凭证(Token)值,用于下一次翻页查询。
98
+ *
99
+ * @example
100
+ * NTxxxexample
101
+ */
102
+ nextToken?: string;
103
+ /**
104
+ * @remarks
105
+ * 本次调用返回的查询凭证(Token)值,用于上一次翻页查询。
106
+ *
107
+ * @example
108
+ * PTxxxexample
109
+ */
110
+ previousToken?: string;
111
+ /**
112
+ * @example
113
+ * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
114
+ */
115
+ requestId?: string;
116
+ /**
117
+ * @example
118
+ * 100
119
+ */
120
+ totalCount?: number;
121
+ static names(): { [key: string]: string } {
122
+ return {
123
+ customPrivacyPolicies: 'CustomPrivacyPolicies',
124
+ maxResults: 'MaxResults',
125
+ nextToken: 'NextToken',
126
+ previousToken: 'PreviousToken',
127
+ requestId: 'RequestId',
128
+ totalCount: 'TotalCount',
129
+ };
130
+ }
131
+
132
+ static types(): { [key: string]: any } {
133
+ return {
134
+ customPrivacyPolicies: { 'type': 'array', 'itemType': ListCustomPrivacyPoliciesResponseBodyCustomPrivacyPolicies },
135
+ maxResults: 'number',
136
+ nextToken: 'string',
137
+ previousToken: 'string',
138
+ requestId: 'string',
139
+ totalCount: 'number',
140
+ };
141
+ }
142
+
143
+ validate() {
144
+ if(Array.isArray(this.customPrivacyPolicies)) {
145
+ $dara.Model.validateArray(this.customPrivacyPolicies);
146
+ }
147
+ super.validate();
148
+ }
149
+
150
+ constructor(map?: { [key: string]: any }) {
151
+ super(map);
152
+ }
153
+ }
154
+
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserAuthnSourceMappingsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 来源Idp Id
9
+ *
10
+ * @example
11
+ * idp_11111
12
+ */
13
+ identityProviderId?: 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
+ /**
25
+ * @remarks
26
+ * 分页查询时每页行数。默认值为20,最大值为100。
27
+ *
28
+ * @example
29
+ * 20
30
+ */
31
+ maxResults?: number;
32
+ /**
33
+ * @remarks
34
+ * 查询凭证(Token),取值为上一次API调用返回的NextToken参数值。
35
+ *
36
+ * @example
37
+ * NTxxxxxexample
38
+ */
39
+ nextToken?: string;
40
+ /**
41
+ * @remarks
42
+ * 查询上一页凭证(Token),取值为上一次API调用返回的previousToken参数值。
43
+ *
44
+ * @example
45
+ * PTxxxxxexample
46
+ */
47
+ previousToken?: string;
48
+ /**
49
+ * @remarks
50
+ * 外部关联ID
51
+ *
52
+ * @example
53
+ * xxxxxx
54
+ */
55
+ userExternalId?: string;
56
+ /**
57
+ * @remarks
58
+ * 用户ID
59
+ *
60
+ * This parameter is required.
61
+ *
62
+ * @example
63
+ * user_ue2jvisn35exxxxx
64
+ */
65
+ userId?: string;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ identityProviderId: 'IdentityProviderId',
69
+ instanceId: 'InstanceId',
70
+ maxResults: 'MaxResults',
71
+ nextToken: 'NextToken',
72
+ previousToken: 'PreviousToken',
73
+ userExternalId: 'UserExternalId',
74
+ userId: 'UserId',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ identityProviderId: 'string',
81
+ instanceId: 'string',
82
+ maxResults: 'number',
83
+ nextToken: 'string',
84
+ previousToken: 'string',
85
+ userExternalId: 'string',
86
+ userId: 'string',
87
+ };
88
+ }
89
+
90
+ validate() {
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListUserAuthnSourceMappingsResponseBody } from "./ListUserAuthnSourceMappingsResponseBody";
4
+
5
+
6
+ export class ListUserAuthnSourceMappingsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListUserAuthnSourceMappingsResponseBody;
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: ListUserAuthnSourceMappingsResponseBody,
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,164 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 来源Idp类型
9
+ *
10
+ * @example
11
+ * urn:alibaba:idaas:authntype:oidc
12
+ */
13
+ authnSourceType?: string;
14
+ /**
15
+ * @remarks
16
+ * 创建时间
17
+ *
18
+ * @example
19
+ * 1762309642177
20
+ */
21
+ createTime?: number;
22
+ /**
23
+ * @remarks
24
+ * 来源Idp Id
25
+ *
26
+ * @example
27
+ * idp_my664lwkhpicbyzirog3xxxxx
28
+ */
29
+ identityProviderId?: string;
30
+ /**
31
+ * @remarks
32
+ * 实例Id
33
+ *
34
+ * @example
35
+ * idaas_ue2jvisn35ea5lmthk267xxxxx
36
+ */
37
+ instanceId?: string;
38
+ /**
39
+ * @remarks
40
+ * 最近一次更新时间
41
+ *
42
+ * @example
43
+ * 1762309642177
44
+ */
45
+ updateTime?: number;
46
+ /**
47
+ * @remarks
48
+ * 外部ID
49
+ *
50
+ * @example
51
+ * xxxxxx
52
+ */
53
+ userExternalId?: string;
54
+ /**
55
+ * @remarks
56
+ * 用户ID
57
+ *
58
+ * @example
59
+ * user_ue2jvisn35exxxxx
60
+ */
61
+ userId?: string;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ authnSourceType: 'AuthnSourceType',
65
+ createTime: 'CreateTime',
66
+ identityProviderId: 'IdentityProviderId',
67
+ instanceId: 'InstanceId',
68
+ updateTime: 'UpdateTime',
69
+ userExternalId: 'UserExternalId',
70
+ userId: 'UserId',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ authnSourceType: 'string',
77
+ createTime: 'number',
78
+ identityProviderId: 'string',
79
+ instanceId: 'string',
80
+ updateTime: 'number',
81
+ userExternalId: 'string',
82
+ userId: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
95
+ export class ListUserAuthnSourceMappingsResponseBody extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * 分页查询时每页行数。
99
+ *
100
+ * @example
101
+ * 20
102
+ */
103
+ maxResults?: number;
104
+ /**
105
+ * @remarks
106
+ * 本次调用返回的查询凭证(Token)值,用于下一次翻页查询。
107
+ *
108
+ * @example
109
+ * NTxxxexample
110
+ */
111
+ nextToken?: string;
112
+ /**
113
+ * @remarks
114
+ * 本次调用返回的查询凭证(Token)值,用于上一次翻页查询。
115
+ *
116
+ * @example
117
+ * PTxxxexample
118
+ */
119
+ previousToken?: string;
120
+ /**
121
+ * @example
122
+ * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
123
+ */
124
+ requestId?: string;
125
+ /**
126
+ * @example
127
+ * 100
128
+ */
129
+ totalCount?: number;
130
+ userAuthnSourceMappings?: ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings[];
131
+ static names(): { [key: string]: string } {
132
+ return {
133
+ maxResults: 'MaxResults',
134
+ nextToken: 'NextToken',
135
+ previousToken: 'PreviousToken',
136
+ requestId: 'RequestId',
137
+ totalCount: 'TotalCount',
138
+ userAuthnSourceMappings: 'UserAuthnSourceMappings',
139
+ };
140
+ }
141
+
142
+ static types(): { [key: string]: any } {
143
+ return {
144
+ maxResults: 'number',
145
+ nextToken: 'string',
146
+ previousToken: 'string',
147
+ requestId: 'string',
148
+ totalCount: 'number',
149
+ userAuthnSourceMappings: { 'type': 'array', 'itemType': ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings },
150
+ };
151
+ }
152
+
153
+ validate() {
154
+ if(Array.isArray(this.userAuthnSourceMappings)) {
155
+ $dara.Model.validateArray(this.userAuthnSourceMappings);
156
+ }
157
+ super.validate();
158
+ }
159
+
160
+ constructor(map?: { [key: string]: any }) {
161
+ super(map);
162
+ }
163
+ }
164
+
@@ -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 RemoveCustomPrivacyPoliciesFromBrandRequest 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
+ * 条款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 { RemoveCustomPrivacyPoliciesFromBrandResponseBody } from "./RemoveCustomPrivacyPoliciesFromBrandResponseBody";
4
+
5
+
6
+ export class RemoveCustomPrivacyPoliciesFromBrandResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RemoveCustomPrivacyPoliciesFromBrandResponseBody;
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: RemoveCustomPrivacyPoliciesFromBrandResponseBody,
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 RemoveCustomPrivacyPoliciesFromBrandResponseBody 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
+