@alicloud/aliding20230426 2.41.3 → 2.42.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 +62 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetScenegroupHeaders.d.ts +37 -0
  5. package/dist/models/GetScenegroupHeaders.js +85 -0
  6. package/dist/models/GetScenegroupHeaders.js.map +1 -0
  7. package/dist/models/GetScenegroupRequest.d.ts +39 -0
  8. package/dist/models/GetScenegroupRequest.js +82 -0
  9. package/dist/models/GetScenegroupRequest.js.map +1 -0
  10. package/dist/models/GetScenegroupResponse.d.ts +19 -0
  11. package/dist/models/GetScenegroupResponse.js +69 -0
  12. package/dist/models/GetScenegroupResponse.js.map +1 -0
  13. package/dist/models/GetScenegroupResponseBody.d.ts +54 -0
  14. package/dist/models/GetScenegroupResponseBody.js +113 -0
  15. package/dist/models/GetScenegroupResponseBody.js.map +1 -0
  16. package/dist/models/GetScenegroupShrinkHeaders.d.ts +17 -0
  17. package/dist/models/GetScenegroupShrinkHeaders.js +63 -0
  18. package/dist/models/GetScenegroupShrinkHeaders.js.map +1 -0
  19. package/dist/models/GetScenegroupShrinkRequest.d.ts +22 -0
  20. package/dist/models/GetScenegroupShrinkRequest.js +60 -0
  21. package/dist/models/GetScenegroupShrinkRequest.js.map +1 -0
  22. package/dist/models/model.d.ts +9 -0
  23. package/dist/models/model.js +62 -43
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +70 -0
  27. package/src/models/GetScenegroupHeaders.ts +66 -0
  28. package/src/models/GetScenegroupRequest.ts +67 -0
  29. package/src/models/GetScenegroupResponse.ts +40 -0
  30. package/src/models/GetScenegroupResponseBody.ts +113 -0
  31. package/src/models/GetScenegroupShrinkHeaders.ts +33 -0
  32. package/src/models/GetScenegroupShrinkRequest.ts +37 -0
  33. package/src/models/model.ts +9 -0
@@ -0,0 +1,67 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetScenegroupRequestTenantContext 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 GetScenegroupRequest extends $dara.Model {
33
+ /**
34
+ * @remarks
35
+ * This parameter is required.
36
+ *
37
+ * @example
38
+ * cidt*****Xa4K10w==
39
+ */
40
+ openConversationId?: string;
41
+ tenantContext?: GetScenegroupRequestTenantContext;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ openConversationId: 'OpenConversationId',
45
+ tenantContext: 'TenantContext',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ openConversationId: 'string',
52
+ tenantContext: GetScenegroupRequestTenantContext,
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ if(this.tenantContext && typeof (this.tenantContext as any).validate === 'function') {
58
+ (this.tenantContext as any).validate();
59
+ }
60
+ super.validate();
61
+ }
62
+
63
+ constructor(map?: { [key: string]: any }) {
64
+ super(map);
65
+ }
66
+ }
67
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetScenegroupResponseBody } from "./GetScenegroupResponseBody";
4
+
5
+
6
+ export class GetScenegroupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetScenegroupResponseBody;
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: GetScenegroupResponseBody,
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,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetScenegroupResponseBodyManagementOptions extends $dara.Model {
6
+ chatBannedType?: string;
7
+ managementType?: string;
8
+ mentionAllAuthority?: string;
9
+ searchable?: string;
10
+ showHistoryType?: string;
11
+ validationType?: string;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ chatBannedType: 'ChatBannedType',
15
+ managementType: 'ManagementType',
16
+ mentionAllAuthority: 'MentionAllAuthority',
17
+ searchable: 'Searchable',
18
+ showHistoryType: 'ShowHistoryType',
19
+ validationType: 'ValidationType',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ chatBannedType: 'string',
26
+ managementType: 'string',
27
+ mentionAllAuthority: 'string',
28
+ searchable: 'string',
29
+ showHistoryType: 'string',
30
+ validationType: 'string',
31
+ };
32
+ }
33
+
34
+ validate() {
35
+ super.validate();
36
+ }
37
+
38
+ constructor(map?: { [key: string]: any }) {
39
+ super(map);
40
+ }
41
+ }
42
+
43
+ export class GetScenegroupResponseBody extends $dara.Model {
44
+ groupUrl?: string;
45
+ icon?: string;
46
+ managementOptions?: GetScenegroupResponseBodyManagementOptions;
47
+ openConversationId?: string;
48
+ ownerStaffId?: string;
49
+ /**
50
+ * @example
51
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
52
+ */
53
+ requestId?: string;
54
+ subAdminStaffIds?: string[];
55
+ templateId?: string;
56
+ title?: string;
57
+ /**
58
+ * @example
59
+ * 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
60
+ */
61
+ vendorRequestId?: string;
62
+ /**
63
+ * @example
64
+ * dingtalk
65
+ */
66
+ vendorType?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ groupUrl: 'groupUrl',
70
+ icon: 'icon',
71
+ managementOptions: 'managementOptions',
72
+ openConversationId: 'openConversationId',
73
+ ownerStaffId: 'ownerStaffId',
74
+ requestId: 'requestId',
75
+ subAdminStaffIds: 'subAdminStaffIds',
76
+ templateId: 'templateId',
77
+ title: 'title',
78
+ vendorRequestId: 'vendorRequestId',
79
+ vendorType: 'vendorType',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ groupUrl: 'string',
86
+ icon: 'string',
87
+ managementOptions: GetScenegroupResponseBodyManagementOptions,
88
+ openConversationId: 'string',
89
+ ownerStaffId: 'string',
90
+ requestId: 'string',
91
+ subAdminStaffIds: { 'type': 'array', 'itemType': 'string' },
92
+ templateId: 'string',
93
+ title: 'string',
94
+ vendorRequestId: 'string',
95
+ vendorType: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ if(this.managementOptions && typeof (this.managementOptions as any).validate === 'function') {
101
+ (this.managementOptions as any).validate();
102
+ }
103
+ if(Array.isArray(this.subAdminStaffIds)) {
104
+ $dara.Model.validateArray(this.subAdminStaffIds);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -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 GetScenegroupShrinkHeaders 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,37 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetScenegroupShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * cidt*****Xa4K10w==
12
+ */
13
+ openConversationId?: string;
14
+ tenantContextShrink?: string;
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ openConversationId: 'OpenConversationId',
18
+ tenantContextShrink: 'TenantContext',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ openConversationId: 'string',
25
+ tenantContextShrink: 'string',
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ super.validate();
31
+ }
32
+
33
+ constructor(map?: { [key: string]: any }) {
34
+ super(map);
35
+ }
36
+ }
37
+
@@ -526,6 +526,9 @@ export { GetReportUnReadCountHeadersAccountContext } from './GetReportUnReadCoun
526
526
  export { GetReportUnReadCountRequestTenantContext } from './GetReportUnReadCountRequest';
527
527
  export { GetRunningTasksHeadersAccountContext } from './GetRunningTasksHeaders';
528
528
  export { GetRunningTasksResponseBodyResult } from './GetRunningTasksResponseBody';
529
+ export { GetScenegroupHeadersAccountContext } from './GetScenegroupHeaders';
530
+ export { GetScenegroupRequestTenantContext } from './GetScenegroupRequest';
531
+ export { GetScenegroupResponseBodyManagementOptions } from './GetScenegroupResponseBody';
529
532
  export { GetScheduleHeadersAccountContext } from './GetScheduleHeaders';
530
533
  export { GetScheduleRequestTenantContext } from './GetScheduleRequest';
531
534
  export { GetScheduleResponseBodyScheduleInformationScheduleItemsEnd } from './GetScheduleResponseBody';
@@ -1865,6 +1868,12 @@ export { GetRunningTasksShrinkHeaders } from './GetRunningTasksShrinkHeaders';
1865
1868
  export { GetRunningTasksRequest } from './GetRunningTasksRequest';
1866
1869
  export { GetRunningTasksResponseBody } from './GetRunningTasksResponseBody';
1867
1870
  export { GetRunningTasksResponse } from './GetRunningTasksResponse';
1871
+ export { GetScenegroupHeaders } from './GetScenegroupHeaders';
1872
+ export { GetScenegroupShrinkHeaders } from './GetScenegroupShrinkHeaders';
1873
+ export { GetScenegroupRequest } from './GetScenegroupRequest';
1874
+ export { GetScenegroupShrinkRequest } from './GetScenegroupShrinkRequest';
1875
+ export { GetScenegroupResponseBody } from './GetScenegroupResponseBody';
1876
+ export { GetScenegroupResponse } from './GetScenegroupResponse';
1868
1877
  export { GetScheduleHeaders } from './GetScheduleHeaders';
1869
1878
  export { GetScheduleShrinkHeaders } from './GetScheduleShrinkHeaders';
1870
1879
  export { GetScheduleRequest } from './GetScheduleRequest';