@alicloud/aliding20230426 2.49.0 → 2.50.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.
- package/dist/client.d.ts +16 -0
- package/dist/client.js +65 -0
- package/dist/client.js.map +1 -1
- package/dist/models/EnableSceneGroupTemplateHeaders.d.ts +37 -0
- package/dist/models/EnableSceneGroupTemplateHeaders.js +85 -0
- package/dist/models/EnableSceneGroupTemplateHeaders.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateRequest.d.ts +47 -0
- package/dist/models/EnableSceneGroupTemplateRequest.js +84 -0
- package/dist/models/EnableSceneGroupTemplateRequest.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateResponse.d.ts +19 -0
- package/dist/models/EnableSceneGroupTemplateResponse.js +69 -0
- package/dist/models/EnableSceneGroupTemplateResponse.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.d.ts +33 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.js +64 -0
- package/dist/models/EnableSceneGroupTemplateResponseBody.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.d.ts +17 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.js +63 -0
- package/dist/models/EnableSceneGroupTemplateShrinkHeaders.js.map +1 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.d.ts +30 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.js +62 -0
- package/dist/models/EnableSceneGroupTemplateShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +66 -49
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +74 -0
- package/src/models/EnableSceneGroupTemplateHeaders.ts +66 -0
- package/src/models/EnableSceneGroupTemplateRequest.ts +77 -0
- package/src/models/EnableSceneGroupTemplateResponse.ts +40 -0
- package/src/models/EnableSceneGroupTemplateResponseBody.ts +52 -0
- package/src/models/EnableSceneGroupTemplateShrinkHeaders.ts +33 -0
- package/src/models/EnableSceneGroupTemplateShrinkRequest.ts +47 -0
- 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 EnableSceneGroupTemplateHeadersAccountContext 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 EnableSceneGroupTemplateHeaders extends $dara.Model {
|
|
36
|
+
commonHeaders?: { [key: string]: string };
|
|
37
|
+
accountContext?: EnableSceneGroupTemplateHeadersAccountContext;
|
|
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: EnableSceneGroupTemplateHeadersAccountContext,
|
|
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 EnableSceneGroupTemplateRequestTenantContext 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 EnableSceneGroupTemplateRequest extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* This parameter is required.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* cidt*****Xa4K10w==
|
|
39
|
+
*/
|
|
40
|
+
openConversationId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* This parameter is required.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 2efdt*****fswe==
|
|
47
|
+
*/
|
|
48
|
+
templateId?: string;
|
|
49
|
+
tenantContext?: EnableSceneGroupTemplateRequestTenantContext;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
openConversationId: 'OpenConversationId',
|
|
53
|
+
templateId: 'TemplateId',
|
|
54
|
+
tenantContext: 'TenantContext',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
openConversationId: 'string',
|
|
61
|
+
templateId: 'string',
|
|
62
|
+
tenantContext: EnableSceneGroupTemplateRequestTenantContext,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
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 { EnableSceneGroupTemplateResponseBody } from "./EnableSceneGroupTemplateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class EnableSceneGroupTemplateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: EnableSceneGroupTemplateResponseBody;
|
|
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: EnableSceneGroupTemplateResponseBody,
|
|
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 EnableSceneGroupTemplateResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
success?: 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
|
+
success: 'success',
|
|
30
|
+
vendorRequestId: 'vendorRequestId',
|
|
31
|
+
vendorType: 'vendorType',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
success: '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 EnableSceneGroupTemplateShrinkHeaders 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,47 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableSceneGroupTemplateShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cidt*****Xa4K10w==
|
|
12
|
+
*/
|
|
13
|
+
openConversationId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2efdt*****fswe==
|
|
20
|
+
*/
|
|
21
|
+
templateId?: string;
|
|
22
|
+
tenantContextShrink?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
openConversationId: 'OpenConversationId',
|
|
26
|
+
templateId: 'TemplateId',
|
|
27
|
+
tenantContextShrink: 'TenantContext',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
openConversationId: 'string',
|
|
34
|
+
templateId: 'string',
|
|
35
|
+
tenantContextShrink: 'string',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
validate() {
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -313,6 +313,8 @@ export { DocBlocksQueryRequestTenantContext } from './DocBlocksQueryRequest';
|
|
|
313
313
|
export { DocBlocksQueryResponseBodyResult } from './DocBlocksQueryResponseBody';
|
|
314
314
|
export { DocUpdateContentHeadersAccountContext } from './DocUpdateContentHeaders';
|
|
315
315
|
export { DocUpdateContentRequestTenantContext } from './DocUpdateContentRequest';
|
|
316
|
+
export { EnableSceneGroupTemplateHeadersAccountContext } from './EnableSceneGroupTemplateHeaders';
|
|
317
|
+
export { EnableSceneGroupTemplateRequestTenantContext } from './EnableSceneGroupTemplateRequest';
|
|
316
318
|
export { ExecuteBatchTaskHeadersAccountContext } from './ExecuteBatchTaskHeaders';
|
|
317
319
|
export { ExecutePlatformTaskHeadersAccountContext } from './ExecutePlatformTaskHeaders';
|
|
318
320
|
export { ExecuteTaskHeadersAccountContext } from './ExecuteTaskHeaders';
|
|
@@ -1582,6 +1584,12 @@ export { DocUpdateContentRequest } from './DocUpdateContentRequest';
|
|
|
1582
1584
|
export { DocUpdateContentShrinkRequest } from './DocUpdateContentShrinkRequest';
|
|
1583
1585
|
export { DocUpdateContentResponseBody } from './DocUpdateContentResponseBody';
|
|
1584
1586
|
export { DocUpdateContentResponse } from './DocUpdateContentResponse';
|
|
1587
|
+
export { EnableSceneGroupTemplateHeaders } from './EnableSceneGroupTemplateHeaders';
|
|
1588
|
+
export { EnableSceneGroupTemplateShrinkHeaders } from './EnableSceneGroupTemplateShrinkHeaders';
|
|
1589
|
+
export { EnableSceneGroupTemplateRequest } from './EnableSceneGroupTemplateRequest';
|
|
1590
|
+
export { EnableSceneGroupTemplateShrinkRequest } from './EnableSceneGroupTemplateShrinkRequest';
|
|
1591
|
+
export { EnableSceneGroupTemplateResponseBody } from './EnableSceneGroupTemplateResponseBody';
|
|
1592
|
+
export { EnableSceneGroupTemplateResponse } from './EnableSceneGroupTemplateResponse';
|
|
1585
1593
|
export { ExecuteBatchTaskHeaders } from './ExecuteBatchTaskHeaders';
|
|
1586
1594
|
export { ExecuteBatchTaskShrinkHeaders } from './ExecuteBatchTaskShrinkHeaders';
|
|
1587
1595
|
export { ExecuteBatchTaskRequest } from './ExecuteBatchTaskRequest';
|