@alicloud/cams20200606 4.1.3 → 5.0.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.
- package/dist/client.d.ts +45 -0
- package/dist/client.js +152 -45
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditViberOpenRequest.d.ts +32 -0
- package/dist/models/AddAuditViberOpenRequest.js +8 -0
- package/dist/models/AddAuditViberOpenRequest.js.map +1 -1
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +12 -0
- package/dist/models/AddAuditViberOpenShrinkRequest.js.map +1 -1
- package/dist/models/AddChatGroupRequest.d.ts +5 -3
- package/dist/models/AddChatGroupRequest.js +2 -0
- package/dist/models/AddChatGroupRequest.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +39 -0
- package/dist/models/CheckDirectSendMessageSampleRequest.js +70 -0
- package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -0
- package/dist/models/CheckDirectSendMessageSampleResponse.d.ts +19 -0
- package/dist/models/CheckDirectSendMessageSampleResponse.js +69 -0
- package/dist/models/CheckDirectSendMessageSampleResponse.js.map +1 -0
- package/dist/models/CheckDirectSendMessageSampleResponseBody.d.ts +61 -0
- package/dist/models/CheckDirectSendMessageSampleResponseBody.js +92 -0
- package/dist/models/CheckDirectSendMessageSampleResponseBody.js.map +1 -0
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +35 -0
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js +64 -0
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -0
- package/dist/models/CreateInstanceRequest.d.ts +0 -3
- package/dist/models/CreateInstanceRequest.js +0 -6
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/DeleteInstanceRequest.d.ts +0 -3
- package/dist/models/DeleteInstanceRequest.js +0 -6
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/GetAutoGeneratedTemplateRequest.d.ts +31 -0
- package/dist/models/GetAutoGeneratedTemplateRequest.js +62 -0
- package/dist/models/GetAutoGeneratedTemplateRequest.js.map +1 -0
- package/dist/models/GetAutoGeneratedTemplateResponse.d.ts +19 -0
- package/dist/models/GetAutoGeneratedTemplateResponse.js +69 -0
- package/dist/models/GetAutoGeneratedTemplateResponse.js.map +1 -0
- package/dist/models/GetAutoGeneratedTemplateResponseBody.d.ts +64 -0
- package/dist/models/GetAutoGeneratedTemplateResponseBody.js +97 -0
- package/dist/models/GetAutoGeneratedTemplateResponseBody.js.map +1 -0
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +20 -0
- package/dist/models/GetViberByRequestNoResponseBody.js +8 -0
- package/dist/models/GetViberByRequestNoResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupRequest.d.ts +10 -0
- package/dist/models/ListChatGroupRequest.js +4 -0
- package/dist/models/ListChatGroupRequest.js.map +1 -1
- package/dist/models/ListChatGroupResponseBody.d.ts +25 -0
- package/dist/models/ListChatGroupResponseBody.js +10 -0
- package/dist/models/ListChatGroupResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupShrinkRequest.d.ts +10 -0
- package/dist/models/ListChatGroupShrinkRequest.js +4 -0
- package/dist/models/ListChatGroupShrinkRequest.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +0 -3
- package/dist/models/ListInstanceRequest.js +0 -6
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListWhatAppTemplateRequest.d.ts +23 -0
- package/dist/models/ListWhatAppTemplateRequest.js +60 -0
- package/dist/models/ListWhatAppTemplateRequest.js.map +1 -0
- package/dist/models/ListWhatAppTemplateResponse.d.ts +19 -0
- package/dist/models/ListWhatAppTemplateResponse.js +69 -0
- package/dist/models/ListWhatAppTemplateResponse.js.map +1 -0
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +43 -0
- package/dist/models/ListWhatAppTemplateResponseBody.js +68 -0
- package/dist/models/ListWhatAppTemplateResponseBody.js.map +1 -0
- package/dist/models/QueryInstanceRequest.d.ts +0 -3
- package/dist/models/QueryInstanceRequest.js +0 -6
- package/dist/models/QueryInstanceRequest.js.map +1 -1
- package/dist/models/UpdateAuditRequestRequest.d.ts +32 -0
- package/dist/models/UpdateAuditRequestRequest.js +8 -0
- package/dist/models/UpdateAuditRequestRequest.js.map +1 -1
- package/dist/models/UpdateAuditRequestShrinkRequest.d.ts +12 -0
- package/dist/models/UpdateAuditRequestShrinkRequest.js.map +1 -1
- package/dist/models/UpdateInstanceRequest.d.ts +0 -3
- package/dist/models/UpdateInstanceRequest.js +0 -6
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +39 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +172 -60
- package/src/models/AddAuditViberOpenRequest.ts +40 -0
- package/src/models/AddAuditViberOpenShrinkRequest.ts +12 -0
- package/src/models/AddChatGroupRequest.ts +7 -3
- package/src/models/CheckDirectSendMessageSampleRequest.ts +60 -0
- package/src/models/CheckDirectSendMessageSampleResponse.ts +40 -0
- package/src/models/CheckDirectSendMessageSampleResponseBody.ts +99 -0
- package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +54 -0
- package/src/models/CreateInstanceRequest.ts +0 -9
- package/src/models/DeleteInstanceRequest.ts +0 -9
- package/src/models/GetAutoGeneratedTemplateRequest.ts +48 -0
- package/src/models/GetAutoGeneratedTemplateResponse.ts +40 -0
- package/src/models/GetAutoGeneratedTemplateResponseBody.ts +105 -0
- package/src/models/GetViberByRequestNoResponseBody.ts +28 -0
- package/src/models/ListChatGroupRequest.ts +14 -0
- package/src/models/ListChatGroupResponseBody.ts +35 -0
- package/src/models/ListChatGroupShrinkRequest.ts +14 -0
- package/src/models/ListInstanceRequest.ts +0 -9
- package/src/models/ListWhatAppTemplateRequest.ts +38 -0
- package/src/models/ListWhatAppTemplateResponse.ts +40 -0
- package/src/models/ListWhatAppTemplateResponseBody.ts +66 -0
- package/src/models/QueryInstanceRequest.ts +0 -9
- package/src/models/UpdateAuditRequestRequest.ts +40 -0
- package/src/models/UpdateAuditRequestShrinkRequest.ts +12 -0
- package/src/models/UpdateInstanceRequest.ts +0 -9
- package/src/models/model.ts +12 -0
|
@@ -57,14 +57,11 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
57
57
|
* 长沙麓谷
|
|
58
58
|
*/
|
|
59
59
|
officeAddress?: string;
|
|
60
|
-
ownerId?: number;
|
|
61
60
|
/**
|
|
62
61
|
* @example
|
|
63
62
|
* 示例值
|
|
64
63
|
*/
|
|
65
64
|
resourceGroupId?: string;
|
|
66
|
-
resourceOwnerAccount?: string;
|
|
67
|
-
resourceOwnerId?: number;
|
|
68
65
|
static names(): { [key: string]: string } {
|
|
69
66
|
return {
|
|
70
67
|
channelType: 'ChannelType',
|
|
@@ -76,10 +73,7 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
76
73
|
isConfirmAudit: 'IsConfirmAudit',
|
|
77
74
|
isvTerms: 'IsvTerms',
|
|
78
75
|
officeAddress: 'OfficeAddress',
|
|
79
|
-
ownerId: 'OwnerId',
|
|
80
76
|
resourceGroupId: 'ResourceGroupId',
|
|
81
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
82
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
83
77
|
};
|
|
84
78
|
}
|
|
85
79
|
|
|
@@ -94,10 +88,7 @@ export class CreateInstanceRequest extends $dara.Model {
|
|
|
94
88
|
isConfirmAudit: 'string',
|
|
95
89
|
isvTerms: 'string',
|
|
96
90
|
officeAddress: 'string',
|
|
97
|
-
ownerId: 'number',
|
|
98
91
|
resourceGroupId: 'string',
|
|
99
|
-
resourceOwnerAccount: 'string',
|
|
100
|
-
resourceOwnerId: 'number',
|
|
101
92
|
};
|
|
102
93
|
}
|
|
103
94
|
|
|
@@ -11,24 +11,15 @@ export class DeleteInstanceRequest extends $dara.Model {
|
|
|
11
11
|
* 2399393****
|
|
12
12
|
*/
|
|
13
13
|
instanceId?: string;
|
|
14
|
-
ownerId?: number;
|
|
15
|
-
resourceOwnerAccount?: string;
|
|
16
|
-
resourceOwnerId?: number;
|
|
17
14
|
static names(): { [key: string]: string } {
|
|
18
15
|
return {
|
|
19
16
|
instanceId: 'InstanceId',
|
|
20
|
-
ownerId: 'OwnerId',
|
|
21
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
22
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
23
17
|
};
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
static types(): { [key: string]: any } {
|
|
27
21
|
return {
|
|
28
22
|
instanceId: 'string',
|
|
29
|
-
ownerId: 'number',
|
|
30
|
-
resourceOwnerAccount: 'string',
|
|
31
|
-
resourceOwnerId: 'number',
|
|
32
23
|
};
|
|
33
24
|
}
|
|
34
25
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAutoGeneratedTemplateRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* cams-xx**
|
|
12
|
+
*/
|
|
13
|
+
custSpaceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 3
|
|
17
|
+
*/
|
|
18
|
+
maxResults?: number;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* xxxx
|
|
22
|
+
*/
|
|
23
|
+
nextToken?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
custSpaceId: 'CustSpaceId',
|
|
27
|
+
maxResults: 'MaxResults',
|
|
28
|
+
nextToken: 'NextToken',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
custSpaceId: 'string',
|
|
35
|
+
maxResults: 'number',
|
|
36
|
+
nextToken: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetAutoGeneratedTemplateResponseBody } from "./GetAutoGeneratedTemplateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetAutoGeneratedTemplateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetAutoGeneratedTemplateResponseBody;
|
|
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: GetAutoGeneratedTemplateResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetAutoGeneratedTemplateResponseBodyData extends $dara.Model {
|
|
6
|
+
list?: { [key: string]: any }[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 20
|
|
10
|
+
*/
|
|
11
|
+
maxResults?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 示例值示例值
|
|
15
|
+
*/
|
|
16
|
+
nextToken?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
list: 'List',
|
|
20
|
+
maxResults: 'MaxResults',
|
|
21
|
+
nextToken: 'NextToken',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
list: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
28
|
+
maxResults: 'number',
|
|
29
|
+
nextToken: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
if(Array.isArray(this.list)) {
|
|
35
|
+
$dara.Model.validateArray(this.list);
|
|
36
|
+
}
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class GetAutoGeneratedTemplateResponseBody extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* None
|
|
49
|
+
*/
|
|
50
|
+
accessDeniedDetail?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 示例值
|
|
54
|
+
*/
|
|
55
|
+
code?: string;
|
|
56
|
+
data?: GetAutoGeneratedTemplateResponseBodyData;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 示例值示例值示例值
|
|
60
|
+
*/
|
|
61
|
+
message?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 示例值
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* true
|
|
70
|
+
*/
|
|
71
|
+
success?: boolean;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
75
|
+
code: 'Code',
|
|
76
|
+
data: 'Data',
|
|
77
|
+
message: 'Message',
|
|
78
|
+
requestId: 'RequestId',
|
|
79
|
+
success: 'Success',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
accessDeniedDetail: 'string',
|
|
86
|
+
code: 'string',
|
|
87
|
+
data: GetAutoGeneratedTemplateResponseBodyData,
|
|
88
|
+
message: 'string',
|
|
89
|
+
requestId: 'string',
|
|
90
|
+
success: 'boolean',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
96
|
+
(this.data as any).validate();
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -123,11 +123,31 @@ export class GetViberByRequestNoResponseBodyDataAuditRecord extends $dara.Model
|
|
|
123
123
|
* address
|
|
124
124
|
*/
|
|
125
125
|
completeAddressOfHeadquarters?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* 6944**@gmail.com
|
|
129
|
+
*/
|
|
130
|
+
contactEmail?: string;
|
|
126
131
|
/**
|
|
127
132
|
* @example
|
|
128
133
|
* 示例值示例值
|
|
129
134
|
*/
|
|
130
135
|
contactMail?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @example
|
|
138
|
+
* qwq
|
|
139
|
+
*/
|
|
140
|
+
contactName?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @example
|
|
143
|
+
* 861151515***
|
|
144
|
+
*/
|
|
145
|
+
contactPhone?: string;
|
|
146
|
+
/**
|
|
147
|
+
* @example
|
|
148
|
+
* 职员
|
|
149
|
+
*/
|
|
150
|
+
contactPosition?: string;
|
|
131
151
|
/**
|
|
132
152
|
* @example
|
|
133
153
|
* N
|
|
@@ -213,7 +233,11 @@ export class GetViberByRequestNoResponseBodyDataAuditRecord extends $dara.Model
|
|
|
213
233
|
companyRegisteredCountry: 'CompanyRegisteredCountry',
|
|
214
234
|
companyTel: 'CompanyTel',
|
|
215
235
|
completeAddressOfHeadquarters: 'CompleteAddressOfHeadquarters',
|
|
236
|
+
contactEmail: 'ContactEmail',
|
|
216
237
|
contactMail: 'ContactMail',
|
|
238
|
+
contactName: 'ContactName',
|
|
239
|
+
contactPhone: 'ContactPhone',
|
|
240
|
+
contactPosition: 'ContactPosition',
|
|
217
241
|
enableAutoReply: 'EnableAutoReply',
|
|
218
242
|
industryDescription: 'IndustryDescription',
|
|
219
243
|
industryInvolved: 'IndustryInvolved',
|
|
@@ -247,7 +271,11 @@ export class GetViberByRequestNoResponseBodyDataAuditRecord extends $dara.Model
|
|
|
247
271
|
companyRegisteredCountry: 'string',
|
|
248
272
|
companyTel: { 'type': 'array', 'itemType': GetViberByRequestNoResponseBodyDataAuditRecordCompanyTel },
|
|
249
273
|
completeAddressOfHeadquarters: 'string',
|
|
274
|
+
contactEmail: 'string',
|
|
250
275
|
contactMail: 'string',
|
|
276
|
+
contactName: 'string',
|
|
277
|
+
contactPhone: 'string',
|
|
278
|
+
contactPosition: 'string',
|
|
251
279
|
enableAutoReply: 'string',
|
|
252
280
|
industryDescription: 'string',
|
|
253
281
|
industryInvolved: 'string',
|
|
@@ -64,11 +64,21 @@ export class ListChatGroupRequest extends $dara.Model {
|
|
|
64
64
|
* cams-x***
|
|
65
65
|
*/
|
|
66
66
|
custSpaceId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* 示例值示例值
|
|
70
|
+
*/
|
|
71
|
+
groupLink?: string;
|
|
67
72
|
/**
|
|
68
73
|
* @example
|
|
69
74
|
* ACTIVE
|
|
70
75
|
*/
|
|
71
76
|
groupStatus?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* 示例值
|
|
80
|
+
*/
|
|
81
|
+
groupType?: string;
|
|
72
82
|
ownerId?: number;
|
|
73
83
|
/**
|
|
74
84
|
* @remarks
|
|
@@ -87,7 +97,9 @@ export class ListChatGroupRequest extends $dara.Model {
|
|
|
87
97
|
businessNumber: 'BusinessNumber',
|
|
88
98
|
channelType: 'ChannelType',
|
|
89
99
|
custSpaceId: 'CustSpaceId',
|
|
100
|
+
groupLink: 'GroupLink',
|
|
90
101
|
groupStatus: 'GroupStatus',
|
|
102
|
+
groupType: 'GroupType',
|
|
91
103
|
ownerId: 'OwnerId',
|
|
92
104
|
page: 'Page',
|
|
93
105
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -101,7 +113,9 @@ export class ListChatGroupRequest extends $dara.Model {
|
|
|
101
113
|
businessNumber: 'string',
|
|
102
114
|
channelType: 'string',
|
|
103
115
|
custSpaceId: 'string',
|
|
116
|
+
groupLink: 'string',
|
|
104
117
|
groupStatus: 'string',
|
|
118
|
+
groupType: 'string',
|
|
105
119
|
ownerId: 'number',
|
|
106
120
|
page: ListChatGroupRequestPage,
|
|
107
121
|
resourceOwnerAccount: 'string',
|
|
@@ -8,21 +8,41 @@ export class ListChatGroupResponseBodyDataList extends $dara.Model {
|
|
|
8
8
|
* 8613800**
|
|
9
9
|
*/
|
|
10
10
|
businessNumber?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 示例值
|
|
14
|
+
*/
|
|
15
|
+
businessRole?: string;
|
|
11
16
|
/**
|
|
12
17
|
* @example
|
|
13
18
|
* test
|
|
14
19
|
*/
|
|
15
20
|
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 94
|
|
24
|
+
*/
|
|
25
|
+
gmtModifier?: number;
|
|
16
26
|
/**
|
|
17
27
|
* @example
|
|
18
28
|
* EA30d***
|
|
19
29
|
*/
|
|
20
30
|
groupId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 示例值示例值
|
|
34
|
+
*/
|
|
35
|
+
groupLink?: string;
|
|
21
36
|
/**
|
|
22
37
|
* @example
|
|
23
38
|
* ACTIVE
|
|
24
39
|
*/
|
|
25
40
|
groupStatus?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 示例值示例值示例值
|
|
44
|
+
*/
|
|
45
|
+
groupType?: string;
|
|
26
46
|
/**
|
|
27
47
|
* @example
|
|
28
48
|
* https://chat.whatsapp.com/***
|
|
@@ -38,27 +58,42 @@ export class ListChatGroupResponseBodyDataList extends $dara.Model {
|
|
|
38
58
|
* 示例值示例值
|
|
39
59
|
*/
|
|
40
60
|
subject?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 35
|
|
64
|
+
*/
|
|
65
|
+
totalParticipantCount?: number;
|
|
41
66
|
static names(): { [key: string]: string } {
|
|
42
67
|
return {
|
|
43
68
|
businessNumber: 'BusinessNumber',
|
|
69
|
+
businessRole: 'BusinessRole',
|
|
44
70
|
description: 'Description',
|
|
71
|
+
gmtModifier: 'GmtModifier',
|
|
45
72
|
groupId: 'GroupId',
|
|
73
|
+
groupLink: 'GroupLink',
|
|
46
74
|
groupStatus: 'GroupStatus',
|
|
75
|
+
groupType: 'GroupType',
|
|
47
76
|
inviteLink: 'InviteLink',
|
|
48
77
|
profilePictureFile: 'ProfilePictureFile',
|
|
49
78
|
subject: 'Subject',
|
|
79
|
+
totalParticipantCount: 'TotalParticipantCount',
|
|
50
80
|
};
|
|
51
81
|
}
|
|
52
82
|
|
|
53
83
|
static types(): { [key: string]: any } {
|
|
54
84
|
return {
|
|
55
85
|
businessNumber: 'string',
|
|
86
|
+
businessRole: 'string',
|
|
56
87
|
description: 'string',
|
|
88
|
+
gmtModifier: 'number',
|
|
57
89
|
groupId: 'string',
|
|
90
|
+
groupLink: 'string',
|
|
58
91
|
groupStatus: 'string',
|
|
92
|
+
groupType: 'string',
|
|
59
93
|
inviteLink: 'string',
|
|
60
94
|
profilePictureFile: 'string',
|
|
61
95
|
subject: 'string',
|
|
96
|
+
totalParticipantCount: 'number',
|
|
62
97
|
};
|
|
63
98
|
}
|
|
64
99
|
|
|
@@ -24,11 +24,21 @@ export class ListChatGroupShrinkRequest extends $dara.Model {
|
|
|
24
24
|
* cams-x***
|
|
25
25
|
*/
|
|
26
26
|
custSpaceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* 示例值示例值
|
|
30
|
+
*/
|
|
31
|
+
groupLink?: string;
|
|
27
32
|
/**
|
|
28
33
|
* @example
|
|
29
34
|
* ACTIVE
|
|
30
35
|
*/
|
|
31
36
|
groupStatus?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 示例值
|
|
40
|
+
*/
|
|
41
|
+
groupType?: string;
|
|
32
42
|
ownerId?: number;
|
|
33
43
|
/**
|
|
34
44
|
* @remarks
|
|
@@ -47,7 +57,9 @@ export class ListChatGroupShrinkRequest extends $dara.Model {
|
|
|
47
57
|
businessNumber: 'BusinessNumber',
|
|
48
58
|
channelType: 'ChannelType',
|
|
49
59
|
custSpaceId: 'CustSpaceId',
|
|
60
|
+
groupLink: 'GroupLink',
|
|
50
61
|
groupStatus: 'GroupStatus',
|
|
62
|
+
groupType: 'GroupType',
|
|
51
63
|
ownerId: 'OwnerId',
|
|
52
64
|
pageShrink: 'Page',
|
|
53
65
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -61,7 +73,9 @@ export class ListChatGroupShrinkRequest extends $dara.Model {
|
|
|
61
73
|
businessNumber: 'string',
|
|
62
74
|
channelType: 'string',
|
|
63
75
|
custSpaceId: 'string',
|
|
76
|
+
groupLink: 'string',
|
|
64
77
|
groupStatus: 'string',
|
|
78
|
+
groupType: 'string',
|
|
65
79
|
ownerId: 'number',
|
|
66
80
|
pageShrink: 'string',
|
|
67
81
|
resourceOwnerAccount: 'string',
|
|
@@ -23,7 +23,6 @@ export class ListInstanceRequest extends $dara.Model {
|
|
|
23
23
|
* viber_ins
|
|
24
24
|
*/
|
|
25
25
|
instanceName?: string;
|
|
26
|
-
ownerId?: number;
|
|
27
26
|
/**
|
|
28
27
|
* @example
|
|
29
28
|
* 92
|
|
@@ -39,8 +38,6 @@ export class ListInstanceRequest extends $dara.Model {
|
|
|
39
38
|
* 11
|
|
40
39
|
*/
|
|
41
40
|
resourceGroupId?: string;
|
|
42
|
-
resourceOwnerAccount?: string;
|
|
43
|
-
resourceOwnerId?: number;
|
|
44
41
|
/**
|
|
45
42
|
* @example
|
|
46
43
|
* 2023-12-12 00:00:00
|
|
@@ -52,12 +49,9 @@ export class ListInstanceRequest extends $dara.Model {
|
|
|
52
49
|
filterStr: 'FilterStr',
|
|
53
50
|
instanceId: 'InstanceId',
|
|
54
51
|
instanceName: 'InstanceName',
|
|
55
|
-
ownerId: 'OwnerId',
|
|
56
52
|
pageIndex: 'PageIndex',
|
|
57
53
|
pageSize: 'PageSize',
|
|
58
54
|
resourceGroupId: 'ResourceGroupId',
|
|
59
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
60
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
61
55
|
submitTime: 'SubmitTime',
|
|
62
56
|
};
|
|
63
57
|
}
|
|
@@ -68,12 +62,9 @@ export class ListInstanceRequest extends $dara.Model {
|
|
|
68
62
|
filterStr: 'string',
|
|
69
63
|
instanceId: 'string',
|
|
70
64
|
instanceName: 'string',
|
|
71
|
-
ownerId: 'number',
|
|
72
65
|
pageIndex: 'number',
|
|
73
66
|
pageSize: 'number',
|
|
74
67
|
resourceGroupId: 'string',
|
|
75
|
-
resourceOwnerAccount: 'string',
|
|
76
|
-
resourceOwnerId: 'number',
|
|
77
68
|
submitTime: 'string',
|
|
78
69
|
};
|
|
79
70
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListWhatAppTemplateRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 2983883892
|
|
9
|
+
*/
|
|
10
|
+
custSpaceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* {}
|
|
14
|
+
*/
|
|
15
|
+
hetuParams?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
custSpaceId: 'CustSpaceId',
|
|
19
|
+
hetuParams: 'HetuParams',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
custSpaceId: 'string',
|
|
26
|
+
hetuParams: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListWhatAppTemplateResponseBody } from "./ListWhatAppTemplateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListWhatAppTemplateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListWhatAppTemplateResponseBody;
|
|
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: ListWhatAppTemplateResponseBody,
|
|
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,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListWhatAppTemplateResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* {}
|
|
9
|
+
*/
|
|
10
|
+
accessDeniedDetail?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 200
|
|
14
|
+
*/
|
|
15
|
+
code?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* True
|
|
19
|
+
*/
|
|
20
|
+
data?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* success
|
|
24
|
+
*/
|
|
25
|
+
message?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 4AAC06A8-1B23-5616-AAAE-A7E7D7E48ACB
|
|
29
|
+
*/
|
|
30
|
+
requestId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1
|
|
34
|
+
*/
|
|
35
|
+
total?: number;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
39
|
+
code: 'Code',
|
|
40
|
+
data: 'Data',
|
|
41
|
+
message: 'Message',
|
|
42
|
+
requestId: 'RequestId',
|
|
43
|
+
total: 'Total',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
accessDeniedDetail: 'string',
|
|
50
|
+
code: 'string',
|
|
51
|
+
data: 'string',
|
|
52
|
+
message: 'string',
|
|
53
|
+
requestId: 'string',
|
|
54
|
+
total: 'number',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -11,24 +11,15 @@ export class QueryInstanceRequest extends $dara.Model {
|
|
|
11
11
|
* 9293938****
|
|
12
12
|
*/
|
|
13
13
|
instanceId?: string;
|
|
14
|
-
ownerId?: number;
|
|
15
|
-
resourceOwnerAccount?: string;
|
|
16
|
-
resourceOwnerId?: number;
|
|
17
14
|
static names(): { [key: string]: string } {
|
|
18
15
|
return {
|
|
19
16
|
instanceId: 'InstanceId',
|
|
20
|
-
ownerId: 'OwnerId',
|
|
21
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
22
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
23
17
|
};
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
static types(): { [key: string]: any } {
|
|
27
21
|
return {
|
|
28
22
|
instanceId: 'string',
|
|
29
|
-
ownerId: 'number',
|
|
30
|
-
resourceOwnerAccount: 'string',
|
|
31
|
-
resourceOwnerId: 'number',
|
|
32
23
|
};
|
|
33
24
|
}
|
|
34
25
|
|