@alicloud/aliding20230426 2.48.1 → 2.49.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 (33) hide show
  1. package/dist/client.d.ts +16 -0
  2. package/dist/client.js +68 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/SignOutOrgAccountHeaders.d.ts +37 -0
  5. package/dist/models/SignOutOrgAccountHeaders.js +85 -0
  6. package/dist/models/SignOutOrgAccountHeaders.js.map +1 -0
  7. package/dist/models/SignOutOrgAccountRequest.d.ts +46 -0
  8. package/dist/models/SignOutOrgAccountRequest.js +87 -0
  9. package/dist/models/SignOutOrgAccountRequest.js.map +1 -0
  10. package/dist/models/SignOutOrgAccountResponse.d.ts +19 -0
  11. package/dist/models/SignOutOrgAccountResponse.js +69 -0
  12. package/dist/models/SignOutOrgAccountResponse.js.map +1 -0
  13. package/dist/models/SignOutOrgAccountResponseBody.d.ts +33 -0
  14. package/dist/models/SignOutOrgAccountResponseBody.js +64 -0
  15. package/dist/models/SignOutOrgAccountResponseBody.js.map +1 -0
  16. package/dist/models/SignOutOrgAccountShrinkHeaders.d.ts +17 -0
  17. package/dist/models/SignOutOrgAccountShrinkHeaders.js +63 -0
  18. package/dist/models/SignOutOrgAccountShrinkHeaders.js.map +1 -0
  19. package/dist/models/SignOutOrgAccountShrinkRequest.d.ts +27 -0
  20. package/dist/models/SignOutOrgAccountShrinkRequest.js +62 -0
  21. package/dist/models/SignOutOrgAccountShrinkRequest.js.map +1 -0
  22. package/dist/models/model.d.ts +8 -0
  23. package/dist/models/model.js +51 -35
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +78 -0
  27. package/src/models/SignOutOrgAccountHeaders.ts +66 -0
  28. package/src/models/SignOutOrgAccountRequest.ts +77 -0
  29. package/src/models/SignOutOrgAccountResponse.ts +40 -0
  30. package/src/models/SignOutOrgAccountResponseBody.ts +52 -0
  31. package/src/models/SignOutOrgAccountShrinkHeaders.ts +33 -0
  32. package/src/models/SignOutOrgAccountShrinkRequest.ts +44 -0
  33. package/src/models/model.ts +8 -0
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SignOutOrgAccountHeadersAccountContext extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 012345
12
+ */
13
+ accountId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ accountId: 'accountId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ accountId: '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 SignOutOrgAccountHeaders extends $dara.Model {
36
+ commonHeaders?: { [key: string]: string };
37
+ accountContext?: SignOutOrgAccountHeadersAccountContext;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ commonHeaders: 'commonHeaders',
41
+ accountContext: 'AccountContext',
42
+ };
43
+ }
44
+
45
+ static types(): { [key: string]: any } {
46
+ return {
47
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
48
+ accountContext: SignOutOrgAccountHeadersAccountContext,
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ if(this.commonHeaders) {
54
+ $dara.Model.validateMap(this.commonHeaders);
55
+ }
56
+ if(this.accountContext && typeof (this.accountContext as any).validate === 'function') {
57
+ (this.accountContext as any).validate();
58
+ }
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SignOutOrgAccountRequestTenantContext extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxxxxx
9
+ */
10
+ tenantId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ tenantId: 'tenantId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ tenantId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class SignOutOrgAccountRequest extends $dara.Model {
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * 企业安全合规要求,执行账号强制登出
39
+ */
40
+ reason?: string;
41
+ /**
42
+ * @example
43
+ * {"zh_CN":"管理员已执行登出","en_US":"Signed out by admin"}
44
+ */
45
+ reasonI18nForEmployee?: { [key: string]: string };
46
+ tenantContext?: SignOutOrgAccountRequestTenantContext;
47
+ static names(): { [key: string]: string } {
48
+ return {
49
+ reason: 'Reason',
50
+ reasonI18nForEmployee: 'ReasonI18nForEmployee',
51
+ tenantContext: 'TenantContext',
52
+ };
53
+ }
54
+
55
+ static types(): { [key: string]: any } {
56
+ return {
57
+ reason: 'string',
58
+ reasonI18nForEmployee: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
59
+ tenantContext: SignOutOrgAccountRequestTenantContext,
60
+ };
61
+ }
62
+
63
+ validate() {
64
+ if(this.reasonI18nForEmployee) {
65
+ $dara.Model.validateMap(this.reasonI18nForEmployee);
66
+ }
67
+ if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
68
+ (this.tenantContext as any).validate();
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { SignOutOrgAccountResponseBody } from "./SignOutOrgAccountResponseBody";
4
+
5
+
6
+ export class SignOutOrgAccountResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: SignOutOrgAccountResponseBody;
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: SignOutOrgAccountResponseBody,
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,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SignOutOrgAccountResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
9
+ */
10
+ requestId?: string;
11
+ /**
12
+ * @example
13
+ * true
14
+ */
15
+ result?: boolean;
16
+ /**
17
+ * @example
18
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
19
+ */
20
+ vendorRequestId?: string;
21
+ /**
22
+ * @example
23
+ * dingtalk
24
+ */
25
+ vendorType?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ requestId: 'requestId',
29
+ result: 'result',
30
+ vendorRequestId: 'vendorRequestId',
31
+ vendorType: 'vendorType',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ requestId: 'string',
38
+ result: 'boolean',
39
+ vendorRequestId: 'string',
40
+ vendorType: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SignOutOrgAccountShrinkHeaders extends $dara.Model {
6
+ commonHeaders?: { [key: string]: string };
7
+ accountContextShrink?: string;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ commonHeaders: 'commonHeaders',
11
+ accountContextShrink: 'AccountContext',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18
+ accountContextShrink: 'string',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ if(this.commonHeaders) {
24
+ $dara.Model.validateMap(this.commonHeaders);
25
+ }
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SignOutOrgAccountShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 企业安全合规要求,执行账号强制登出
12
+ */
13
+ reason?: string;
14
+ /**
15
+ * @example
16
+ * {"zh_CN":"管理员已执行登出","en_US":"Signed out by admin"}
17
+ */
18
+ reasonI18nForEmployeeShrink?: string;
19
+ tenantContextShrink?: string;
20
+ static names(): { [key: string]: string } {
21
+ return {
22
+ reason: 'Reason',
23
+ reasonI18nForEmployeeShrink: 'ReasonI18nForEmployee',
24
+ tenantContextShrink: 'TenantContext',
25
+ };
26
+ }
27
+
28
+ static types(): { [key: string]: any } {
29
+ return {
30
+ reason: 'string',
31
+ reasonI18nForEmployeeShrink: 'string',
32
+ tenantContextShrink: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -1002,6 +1002,8 @@ export { SetConferenceHostsHeadersAccountContext } from './SetConferenceHostsHea
1002
1002
  export { SetConferenceHostsRequestTenantContext } from './SetConferenceHostsRequest';
1003
1003
  export { SetRowsVisibilityHeadersAccountContext } from './SetRowsVisibilityHeaders';
1004
1004
  export { SetRowsVisibilityRequestTenantContext } from './SetRowsVisibilityRequest';
1005
+ export { SignOutOrgAccountHeadersAccountContext } from './SignOutOrgAccountHeaders';
1006
+ export { SignOutOrgAccountRequestTenantContext } from './SignOutOrgAccountRequest';
1005
1007
  export { SimpleListReportHeadersAccountContext } from './SimpleListReportHeaders';
1006
1008
  export { SimpleListReportRequestTenantContext } from './SimpleListReportRequest';
1007
1009
  export { SimpleListReportResponseBodyDataList } from './SimpleListReportResponseBody';
@@ -2506,6 +2508,12 @@ export { SetRowsVisibilityRequest } from './SetRowsVisibilityRequest';
2506
2508
  export { SetRowsVisibilityShrinkRequest } from './SetRowsVisibilityShrinkRequest';
2507
2509
  export { SetRowsVisibilityResponseBody } from './SetRowsVisibilityResponseBody';
2508
2510
  export { SetRowsVisibilityResponse } from './SetRowsVisibilityResponse';
2511
+ export { SignOutOrgAccountHeaders } from './SignOutOrgAccountHeaders';
2512
+ export { SignOutOrgAccountShrinkHeaders } from './SignOutOrgAccountShrinkHeaders';
2513
+ export { SignOutOrgAccountRequest } from './SignOutOrgAccountRequest';
2514
+ export { SignOutOrgAccountShrinkRequest } from './SignOutOrgAccountShrinkRequest';
2515
+ export { SignOutOrgAccountResponseBody } from './SignOutOrgAccountResponseBody';
2516
+ export { SignOutOrgAccountResponse } from './SignOutOrgAccountResponse';
2509
2517
  export { SimpleListReportHeaders } from './SimpleListReportHeaders';
2510
2518
  export { SimpleListReportShrinkHeaders } from './SimpleListReportShrinkHeaders';
2511
2519
  export { SimpleListReportRequest } from './SimpleListReportRequest';