@alicloud/eiam20211201 2.4.0 → 2.5.1

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 (53) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +156 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BindUserAuthnSourceMappingRequest.d.ts +53 -0
  5. package/dist/models/BindUserAuthnSourceMappingRequest.js +64 -0
  6. package/dist/models/BindUserAuthnSourceMappingRequest.js.map +1 -0
  7. package/dist/models/BindUserAuthnSourceMappingResponse.d.ts +19 -0
  8. package/dist/models/BindUserAuthnSourceMappingResponse.js +69 -0
  9. package/dist/models/BindUserAuthnSourceMappingResponse.js.map +1 -0
  10. package/dist/models/BindUserAuthnSourceMappingResponseBody.d.ts +18 -0
  11. package/dist/models/BindUserAuthnSourceMappingResponseBody.js +58 -0
  12. package/dist/models/BindUserAuthnSourceMappingResponseBody.js.map +1 -0
  13. package/dist/models/CreateIdentityProviderRequest.d.ts +39 -0
  14. package/dist/models/CreateIdentityProviderRequest.js +38 -1
  15. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  16. package/dist/models/ListIdentityProvidersRequest.d.ts +5 -0
  17. package/dist/models/ListIdentityProvidersRequest.js +2 -0
  18. package/dist/models/ListIdentityProvidersRequest.js.map +1 -1
  19. package/dist/models/ListUserAuthnSourceMappingsRequest.d.ts +73 -0
  20. package/dist/models/ListUserAuthnSourceMappingsRequest.js +70 -0
  21. package/dist/models/ListUserAuthnSourceMappingsRequest.js.map +1 -0
  22. package/dist/models/ListUserAuthnSourceMappingsResponse.d.ts +19 -0
  23. package/dist/models/ListUserAuthnSourceMappingsResponse.js +69 -0
  24. package/dist/models/ListUserAuthnSourceMappingsResponse.js.map +1 -0
  25. package/dist/models/ListUserAuthnSourceMappingsResponseBody.d.ts +116 -0
  26. package/dist/models/ListUserAuthnSourceMappingsResponseBody.js +102 -0
  27. package/dist/models/ListUserAuthnSourceMappingsResponseBody.js.map +1 -0
  28. package/dist/models/UnbindUserAuthnSourceMappingRequest.d.ts +53 -0
  29. package/dist/models/UnbindUserAuthnSourceMappingRequest.js +64 -0
  30. package/dist/models/UnbindUserAuthnSourceMappingRequest.js.map +1 -0
  31. package/dist/models/UnbindUserAuthnSourceMappingResponse.d.ts +19 -0
  32. package/dist/models/UnbindUserAuthnSourceMappingResponse.js +69 -0
  33. package/dist/models/UnbindUserAuthnSourceMappingResponse.js.map +1 -0
  34. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.d.ts +18 -0
  35. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js +58 -0
  36. package/dist/models/UnbindUserAuthnSourceMappingResponseBody.js.map +1 -0
  37. package/dist/models/model.d.ts +11 -0
  38. package/dist/models/model.js +45 -23
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +178 -0
  42. package/src/models/BindUserAuthnSourceMappingRequest.ts +72 -0
  43. package/src/models/BindUserAuthnSourceMappingResponse.ts +40 -0
  44. package/src/models/BindUserAuthnSourceMappingResponseBody.ts +31 -0
  45. package/src/models/CreateIdentityProviderRequest.ts +67 -0
  46. package/src/models/ListIdentityProvidersRequest.ts +7 -0
  47. package/src/models/ListUserAuthnSourceMappingsRequest.ts +98 -0
  48. package/src/models/ListUserAuthnSourceMappingsResponse.ts +40 -0
  49. package/src/models/ListUserAuthnSourceMappingsResponseBody.ts +164 -0
  50. package/src/models/UnbindUserAuthnSourceMappingRequest.ts +72 -0
  51. package/src/models/UnbindUserAuthnSourceMappingResponse.ts +40 -0
  52. package/src/models/UnbindUserAuthnSourceMappingResponseBody.ts +31 -0
  53. package/src/models/model.ts +11 -0
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListIdentityProvidersRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * pull
9
+ */
10
+ direction?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * The instance ID.
@@ -31,6 +36,7 @@ export class ListIdentityProvidersRequest extends $dara.Model {
31
36
  pageSize?: number;
32
37
  static names(): { [key: string]: string } {
33
38
  return {
39
+ direction: 'Direction',
34
40
  instanceId: 'InstanceId',
35
41
  pageNumber: 'PageNumber',
36
42
  pageSize: 'PageSize',
@@ -39,6 +45,7 @@ export class ListIdentityProvidersRequest extends $dara.Model {
39
45
 
40
46
  static types(): { [key: string]: any } {
41
47
  return {
48
+ direction: 'string',
42
49
  instanceId: 'string',
43
50
  pageNumber: 'number',
44
51
  pageSize: 'number',
@@ -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,72 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UnbindUserAuthnSourceMappingRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * 来源ID
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * idp_my664lwkhpicbyzirog3xxxxx
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_ue2jvisn35exxxxx
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 { UnbindUserAuthnSourceMappingResponseBody } from "./UnbindUserAuthnSourceMappingResponseBody";
4
+
5
+
6
+ export class UnbindUserAuthnSourceMappingResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UnbindUserAuthnSourceMappingResponseBody;
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: UnbindUserAuthnSourceMappingResponseBody,
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 UnbindUserAuthnSourceMappingResponseBody 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
+
@@ -28,6 +28,7 @@ export { CreateIdentityProviderRequestOidcConfig } from './CreateIdentityProvide
28
28
  export { CreateIdentityProviderRequestUdPullConfigPeriodicSyncConfig } from './CreateIdentityProviderRequest';
29
29
  export { CreateIdentityProviderRequestUdPullConfigUdSyncScopeConfig } from './CreateIdentityProviderRequest';
30
30
  export { CreateIdentityProviderRequestUdPullConfig } from './CreateIdentityProviderRequest';
31
+ export { CreateIdentityProviderRequestUdPushConfigPeriodicSyncConfig } from './CreateIdentityProviderRequest';
31
32
  export { CreateIdentityProviderRequestUdPushConfigUdSyncScopeConfigs } from './CreateIdentityProviderRequest';
32
33
  export { CreateIdentityProviderRequestUdPushConfig } from './CreateIdentityProviderRequest';
33
34
  export { CreateIdentityProviderRequestWeComConfig } from './CreateIdentityProviderRequest';
@@ -244,6 +245,7 @@ export { ListSynchronizationJobsResponseBodySynchronizationJobsResultUserStatist
244
245
  export { ListSynchronizationJobsResponseBodySynchronizationJobsResultUserStatistics } from './ListSynchronizationJobsResponseBody';
245
246
  export { ListSynchronizationJobsResponseBodySynchronizationJobsResult } from './ListSynchronizationJobsResponseBody';
246
247
  export { ListSynchronizationJobsResponseBodySynchronizationJobs } from './ListSynchronizationJobsResponseBody';
248
+ export { ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings } from './ListUserAuthnSourceMappingsResponseBody';
247
249
  export { ListUsersResponseBodyUsers } from './ListUsersResponseBody';
248
250
  export { ListUsersForApplicationResponseBodyUsers } from './ListUsersForApplicationResponseBody';
249
251
  export { ListUsersForGroupResponseBodyUsers } from './ListUsersForGroupResponseBody';
@@ -307,6 +309,9 @@ export { AuthorizeApplicationToOrganizationalUnitsResponse } from './AuthorizeAp
307
309
  export { AuthorizeApplicationToUsersRequest } from './AuthorizeApplicationToUsersRequest';
308
310
  export { AuthorizeApplicationToUsersResponseBody } from './AuthorizeApplicationToUsersResponseBody';
309
311
  export { AuthorizeApplicationToUsersResponse } from './AuthorizeApplicationToUsersResponse';
312
+ export { BindUserAuthnSourceMappingRequest } from './BindUserAuthnSourceMappingRequest';
313
+ export { BindUserAuthnSourceMappingResponseBody } from './BindUserAuthnSourceMappingResponseBody';
314
+ export { BindUserAuthnSourceMappingResponse } from './BindUserAuthnSourceMappingResponse';
310
315
  export { CreateApplicationRequest } from './CreateApplicationRequest';
311
316
  export { CreateApplicationResponseBody } from './CreateApplicationResponseBody';
312
317
  export { CreateApplicationResponse } from './CreateApplicationResponse';
@@ -718,6 +723,9 @@ export { ListRegionsResponse } from './ListRegionsResponse';
718
723
  export { ListSynchronizationJobsRequest } from './ListSynchronizationJobsRequest';
719
724
  export { ListSynchronizationJobsResponseBody } from './ListSynchronizationJobsResponseBody';
720
725
  export { ListSynchronizationJobsResponse } from './ListSynchronizationJobsResponse';
726
+ export { ListUserAuthnSourceMappingsRequest } from './ListUserAuthnSourceMappingsRequest';
727
+ export { ListUserAuthnSourceMappingsResponseBody } from './ListUserAuthnSourceMappingsResponseBody';
728
+ export { ListUserAuthnSourceMappingsResponse } from './ListUserAuthnSourceMappingsResponse';
721
729
  export { ListUsersRequest } from './ListUsersRequest';
722
730
  export { ListUsersResponseBody } from './ListUsersResponseBody';
723
731
  export { ListUsersResponse } from './ListUsersResponse';
@@ -799,6 +807,9 @@ export { SetPasswordInitializationConfigurationResponse } from './SetPasswordIni
799
807
  export { SetUserPrimaryOrganizationalUnitRequest } from './SetUserPrimaryOrganizationalUnitRequest';
800
808
  export { SetUserPrimaryOrganizationalUnitResponseBody } from './SetUserPrimaryOrganizationalUnitResponseBody';
801
809
  export { SetUserPrimaryOrganizationalUnitResponse } from './SetUserPrimaryOrganizationalUnitResponse';
810
+ export { UnbindUserAuthnSourceMappingRequest } from './UnbindUserAuthnSourceMappingRequest';
811
+ export { UnbindUserAuthnSourceMappingResponseBody } from './UnbindUserAuthnSourceMappingResponseBody';
812
+ export { UnbindUserAuthnSourceMappingResponse } from './UnbindUserAuthnSourceMappingResponse';
802
813
  export { UnlockUserRequest } from './UnlockUserRequest';
803
814
  export { UnlockUserResponseBody } from './UnlockUserResponseBody';
804
815
  export { UnlockUserResponse } from './UnlockUserResponse';