@alicloud/cams20200606 2.1.0 → 2.2.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 +120 -0
- package/dist/client.js +498 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +45 -0
- package/dist/models/AddChatGroupInviteLinkRequest.js +70 -0
- package/dist/models/AddChatGroupInviteLinkRequest.js.map +1 -0
- package/dist/models/AddChatGroupInviteLinkResponse.d.ts +19 -0
- package/dist/models/AddChatGroupInviteLinkResponse.js +69 -0
- package/dist/models/AddChatGroupInviteLinkResponse.js.map +1 -0
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +39 -0
- package/dist/models/AddChatGroupInviteLinkResponseBody.js +68 -0
- package/dist/models/AddChatGroupInviteLinkResponseBody.js.map +1 -0
- package/dist/models/AddChatGroupRequest.d.ts +50 -0
- package/dist/models/AddChatGroupRequest.js +72 -0
- package/dist/models/AddChatGroupRequest.js.map +1 -0
- package/dist/models/AddChatGroupResponse.d.ts +19 -0
- package/dist/models/AddChatGroupResponse.js +69 -0
- package/dist/models/AddChatGroupResponse.js.map +1 -0
- package/dist/models/AddChatGroupResponseBody.d.ts +39 -0
- package/dist/models/AddChatGroupResponseBody.js +68 -0
- package/dist/models/AddChatGroupResponseBody.js.map +1 -0
- package/dist/models/ChatappMigrationVerifiedRequest.d.ts +1 -1
- package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +8 -1
- package/dist/models/ChatappMigrationVerifiedResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +45 -0
- package/dist/models/DeleteChatGroupInviteLinkRequest.js +70 -0
- package/dist/models/DeleteChatGroupInviteLinkRequest.js.map +1 -0
- package/dist/models/DeleteChatGroupInviteLinkResponse.d.ts +19 -0
- package/dist/models/DeleteChatGroupInviteLinkResponse.js +69 -0
- package/dist/models/DeleteChatGroupInviteLinkResponse.js.map +1 -0
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +39 -0
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.js +68 -0
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +47 -0
- package/dist/models/DeleteChatGroupParticipantsRequest.js +76 -0
- package/dist/models/DeleteChatGroupParticipantsRequest.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsRequestList.d.ts +18 -0
- package/dist/models/DeleteChatGroupParticipantsRequestList.js +58 -0
- package/dist/models/DeleteChatGroupParticipantsRequestList.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsResponse.d.ts +19 -0
- package/dist/models/DeleteChatGroupParticipantsResponse.js +69 -0
- package/dist/models/DeleteChatGroupParticipantsResponse.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsResponseBody.d.ts +39 -0
- package/dist/models/DeleteChatGroupParticipantsResponseBody.js +68 -0
- package/dist/models/DeleteChatGroupParticipantsResponseBody.js.map +1 -0
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.d.ts +46 -0
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.js +72 -0
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.js.map +1 -0
- package/dist/models/DeleteChatGroupRequest.d.ts +45 -0
- package/dist/models/DeleteChatGroupRequest.js +70 -0
- package/dist/models/DeleteChatGroupRequest.js.map +1 -0
- package/dist/models/DeleteChatGroupResponse.d.ts +19 -0
- package/dist/models/DeleteChatGroupResponse.js +69 -0
- package/dist/models/DeleteChatGroupResponse.js.map +1 -0
- package/dist/models/DeleteChatGroupResponseBody.d.ts +39 -0
- package/dist/models/DeleteChatGroupResponseBody.js +68 -0
- package/dist/models/DeleteChatGroupResponseBody.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +47 -0
- package/dist/models/ListChatGroupParticipantsRequest.js +76 -0
- package/dist/models/ListChatGroupParticipantsRequest.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsRequestPage.d.ts +23 -0
- package/dist/models/ListChatGroupParticipantsRequestPage.js +60 -0
- package/dist/models/ListChatGroupParticipantsRequestPage.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsResponse.d.ts +19 -0
- package/dist/models/ListChatGroupParticipantsResponse.js +69 -0
- package/dist/models/ListChatGroupParticipantsResponse.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +36 -0
- package/dist/models/ListChatGroupParticipantsResponseBody.js +72 -0
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyData.d.ts +20 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyData.js +64 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyData.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.d.ts +18 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js +58 -0
- package/dist/models/ListChatGroupParticipantsResponseBodyDataList.js.map +1 -0
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +46 -0
- package/dist/models/ListChatGroupParticipantsShrinkRequest.js +72 -0
- package/dist/models/ListChatGroupParticipantsShrinkRequest.js.map +1 -0
- package/dist/models/ListChatGroupRequest.d.ts +53 -0
- package/dist/models/ListChatGroupRequest.js +78 -0
- package/dist/models/ListChatGroupRequest.js.map +1 -0
- package/dist/models/ListChatGroupRequestPage.d.ts +29 -0
- package/dist/models/ListChatGroupRequestPage.js +60 -0
- package/dist/models/ListChatGroupRequestPage.js.map +1 -0
- package/dist/models/ListChatGroupResponse.d.ts +19 -0
- package/dist/models/ListChatGroupResponse.js +69 -0
- package/dist/models/ListChatGroupResponse.js.map +1 -0
- package/dist/models/ListChatGroupResponseBody.d.ts +36 -0
- package/dist/models/ListChatGroupResponseBody.js +72 -0
- package/dist/models/ListChatGroupResponseBody.js.map +1 -0
- package/dist/models/ListChatGroupResponseBodyData.d.ts +20 -0
- package/dist/models/ListChatGroupResponseBodyData.js +64 -0
- package/dist/models/ListChatGroupResponseBodyData.js.map +1 -0
- package/dist/models/ListChatGroupResponseBodyDataList.d.ts +48 -0
- package/dist/models/ListChatGroupResponseBodyDataList.js +70 -0
- package/dist/models/ListChatGroupResponseBodyDataList.js.map +1 -0
- package/dist/models/ListChatGroupShrinkRequest.d.ts +52 -0
- package/dist/models/ListChatGroupShrinkRequest.js +74 -0
- package/dist/models/ListChatGroupShrinkRequest.js.map +1 -0
- package/dist/models/SendChatappMessageRequest.d.ts +1 -0
- package/dist/models/SendChatappMessageRequest.js +2 -0
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +1 -0
- package/dist/models/SendChatappMessageShrinkRequest.js +2 -0
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/UpdateChatGroupRequest.d.ts +60 -0
- package/dist/models/UpdateChatGroupRequest.js +76 -0
- package/dist/models/UpdateChatGroupRequest.js.map +1 -0
- package/dist/models/UpdateChatGroupResponse.d.ts +19 -0
- package/dist/models/UpdateChatGroupResponse.js +69 -0
- package/dist/models/UpdateChatGroupResponse.js.map +1 -0
- package/dist/models/UpdateChatGroupResponseBody.d.ts +39 -0
- package/dist/models/UpdateChatGroupResponseBody.js +68 -0
- package/dist/models/UpdateChatGroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +34 -0
- package/dist/models/model.js +75 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +582 -0
- package/src/models/AddChatGroupInviteLinkRequest.ts +70 -0
- package/src/models/AddChatGroupInviteLinkResponse.ts +40 -0
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +62 -0
- package/src/models/AddChatGroupRequest.ts +77 -0
- package/src/models/AddChatGroupResponse.ts +40 -0
- package/src/models/AddChatGroupResponseBody.ts +62 -0
- package/src/models/ChatappMigrationVerifiedRequest.ts +1 -1
- package/src/models/ChatappMigrationVerifiedResponseBody.ts +8 -1
- package/src/models/DeleteChatGroupInviteLinkRequest.ts +70 -0
- package/src/models/DeleteChatGroupInviteLinkResponse.ts +40 -0
- package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +62 -0
- package/src/models/DeleteChatGroupParticipantsRequest.ts +77 -0
- package/src/models/DeleteChatGroupParticipantsRequestList.ts +31 -0
- package/src/models/DeleteChatGroupParticipantsResponse.ts +40 -0
- package/src/models/DeleteChatGroupParticipantsResponseBody.ts +62 -0
- package/src/models/DeleteChatGroupParticipantsShrinkRequest.ts +73 -0
- package/src/models/DeleteChatGroupRequest.ts +70 -0
- package/src/models/DeleteChatGroupResponse.ts +40 -0
- package/src/models/DeleteChatGroupResponseBody.ts +62 -0
- package/src/models/ListChatGroupParticipantsRequest.ts +77 -0
- package/src/models/ListChatGroupParticipantsRequestPage.ts +38 -0
- package/src/models/ListChatGroupParticipantsResponse.ts +40 -0
- package/src/models/ListChatGroupParticipantsResponseBody.ts +62 -0
- package/src/models/ListChatGroupParticipantsResponseBodyData.ts +38 -0
- package/src/models/ListChatGroupParticipantsResponseBodyDataList.ts +31 -0
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +73 -0
- package/src/models/ListChatGroupRequest.ts +85 -0
- package/src/models/ListChatGroupRequestPage.ts +44 -0
- package/src/models/ListChatGroupResponse.ts +40 -0
- package/src/models/ListChatGroupResponseBody.ts +62 -0
- package/src/models/ListChatGroupResponseBodyData.ts +38 -0
- package/src/models/ListChatGroupResponseBodyDataList.ts +73 -0
- package/src/models/ListChatGroupShrinkRequest.ts +81 -0
- package/src/models/SendChatappMessageRequest.ts +3 -0
- package/src/models/SendChatappMessageShrinkRequest.ts +3 -0
- package/src/models/UpdateChatGroupRequest.ts +91 -0
- package/src/models/UpdateChatGroupResponse.ts +40 -0
- package/src/models/UpdateChatGroupResponseBody.ts +62 -0
- package/src/models/model.ts +34 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteChatGroupParticipantsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 8613800**
|
|
12
|
+
*/
|
|
13
|
+
businessNumber?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* WHATSAPP。
|
|
17
|
+
*/
|
|
18
|
+
channelType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cams-**
|
|
25
|
+
*/
|
|
26
|
+
custSpaceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* EA93UU****
|
|
33
|
+
*/
|
|
34
|
+
groupId?: string;
|
|
35
|
+
listShrink?: string;
|
|
36
|
+
ownerId?: number;
|
|
37
|
+
resourceOwnerAccount?: string;
|
|
38
|
+
resourceOwnerId?: number;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
businessNumber: 'BusinessNumber',
|
|
42
|
+
channelType: 'ChannelType',
|
|
43
|
+
custSpaceId: 'CustSpaceId',
|
|
44
|
+
groupId: 'GroupId',
|
|
45
|
+
listShrink: 'List',
|
|
46
|
+
ownerId: 'OwnerId',
|
|
47
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
48
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
businessNumber: 'string',
|
|
55
|
+
channelType: 'string',
|
|
56
|
+
custSpaceId: 'string',
|
|
57
|
+
groupId: 'string',
|
|
58
|
+
listShrink: 'string',
|
|
59
|
+
ownerId: 'number',
|
|
60
|
+
resourceOwnerAccount: 'string',
|
|
61
|
+
resourceOwnerId: 'number',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteChatGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 8613800***
|
|
12
|
+
*/
|
|
13
|
+
businessNumber?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* WHATSAPP
|
|
17
|
+
*/
|
|
18
|
+
channelType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cams-**
|
|
25
|
+
*/
|
|
26
|
+
custSpaceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* E399**
|
|
33
|
+
*/
|
|
34
|
+
groupId?: string;
|
|
35
|
+
ownerId?: number;
|
|
36
|
+
resourceOwnerAccount?: string;
|
|
37
|
+
resourceOwnerId?: number;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
businessNumber: 'BusinessNumber',
|
|
41
|
+
channelType: 'ChannelType',
|
|
42
|
+
custSpaceId: 'CustSpaceId',
|
|
43
|
+
groupId: 'GroupId',
|
|
44
|
+
ownerId: 'OwnerId',
|
|
45
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
46
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
businessNumber: 'string',
|
|
53
|
+
channelType: 'string',
|
|
54
|
+
custSpaceId: 'string',
|
|
55
|
+
groupId: 'string',
|
|
56
|
+
ownerId: 'number',
|
|
57
|
+
resourceOwnerAccount: 'string',
|
|
58
|
+
resourceOwnerId: 'number',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteChatGroupResponseBody } from "./DeleteChatGroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteChatGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteChatGroupResponseBody;
|
|
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: DeleteChatGroupResponseBody,
|
|
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,62 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteChatGroupResponseBody extends $dara.Model {
|
|
6
|
+
accessDeniedDetail?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* OK
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 示例值示例值示例值
|
|
15
|
+
*/
|
|
16
|
+
message?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* E939E****
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 1
|
|
25
|
+
*/
|
|
26
|
+
result?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* true
|
|
30
|
+
*/
|
|
31
|
+
success?: boolean;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
35
|
+
code: 'Code',
|
|
36
|
+
message: 'Message',
|
|
37
|
+
requestId: 'RequestId',
|
|
38
|
+
result: 'Result',
|
|
39
|
+
success: 'Success',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
accessDeniedDetail: 'string',
|
|
46
|
+
code: 'string',
|
|
47
|
+
message: 'string',
|
|
48
|
+
requestId: 'string',
|
|
49
|
+
result: 'number',
|
|
50
|
+
success: 'boolean',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
constructor(map?: { [key: string]: any }) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListChatGroupParticipantsRequestPage } from "./ListChatGroupParticipantsRequestPage";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListChatGroupParticipantsRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 8613800***
|
|
13
|
+
*/
|
|
14
|
+
businessNumber?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* WHATSAPP
|
|
18
|
+
*/
|
|
19
|
+
channelType?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cams-k***
|
|
26
|
+
*/
|
|
27
|
+
custSpaceId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* EA939****
|
|
34
|
+
*/
|
|
35
|
+
groupId?: string;
|
|
36
|
+
ownerId?: number;
|
|
37
|
+
page?: ListChatGroupParticipantsRequestPage;
|
|
38
|
+
resourceOwnerAccount?: string;
|
|
39
|
+
resourceOwnerId?: number;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
businessNumber: 'BusinessNumber',
|
|
43
|
+
channelType: 'ChannelType',
|
|
44
|
+
custSpaceId: 'CustSpaceId',
|
|
45
|
+
groupId: 'GroupId',
|
|
46
|
+
ownerId: 'OwnerId',
|
|
47
|
+
page: 'Page',
|
|
48
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
49
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
businessNumber: 'string',
|
|
56
|
+
channelType: 'string',
|
|
57
|
+
custSpaceId: 'string',
|
|
58
|
+
groupId: 'string',
|
|
59
|
+
ownerId: 'number',
|
|
60
|
+
page: ListChatGroupParticipantsRequestPage,
|
|
61
|
+
resourceOwnerAccount: 'string',
|
|
62
|
+
resourceOwnerId: 'number',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
if(this.page && typeof (this.page as any).validate === 'function') {
|
|
68
|
+
(this.page as any).validate();
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
constructor(map?: { [key: string]: any }) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
@@ -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 ListChatGroupParticipantsRequestPage extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
index?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 20
|
|
14
|
+
*/
|
|
15
|
+
size?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
index: 'Index',
|
|
19
|
+
size: 'Size',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
index: 'number',
|
|
26
|
+
size: 'number',
|
|
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 { ListChatGroupParticipantsResponseBody } from "./ListChatGroupParticipantsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListChatGroupParticipantsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListChatGroupParticipantsResponseBody;
|
|
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: ListChatGroupParticipantsResponseBody,
|
|
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,62 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListChatGroupParticipantsResponseBodyData } from "./ListChatGroupParticipantsResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListChatGroupParticipantsResponseBody extends $dara.Model {
|
|
7
|
+
accessDeniedDetail?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* OK
|
|
11
|
+
*/
|
|
12
|
+
code?: string;
|
|
13
|
+
data?: ListChatGroupParticipantsResponseBodyData;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 示例值
|
|
17
|
+
*/
|
|
18
|
+
message?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* E9d9****
|
|
22
|
+
*/
|
|
23
|
+
requestId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* true
|
|
27
|
+
*/
|
|
28
|
+
success?: boolean;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
32
|
+
code: 'Code',
|
|
33
|
+
data: 'Data',
|
|
34
|
+
message: 'Message',
|
|
35
|
+
requestId: 'RequestId',
|
|
36
|
+
success: 'Success',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
accessDeniedDetail: 'string',
|
|
43
|
+
code: 'string',
|
|
44
|
+
data: ListChatGroupParticipantsResponseBodyData,
|
|
45
|
+
message: 'string',
|
|
46
|
+
requestId: 'string',
|
|
47
|
+
success: 'boolean',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
53
|
+
(this.data as any).validate();
|
|
54
|
+
}
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
constructor(map?: { [key: string]: any }) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListChatGroupParticipantsResponseBodyDataList } from "./ListChatGroupParticipantsResponseBodyDataList";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListChatGroupParticipantsResponseBodyData extends $dara.Model {
|
|
7
|
+
list?: ListChatGroupParticipantsResponseBodyDataList[];
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 8
|
|
11
|
+
*/
|
|
12
|
+
total?: number;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
list: 'List',
|
|
16
|
+
total: 'Total',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
list: { 'type': 'array', 'itemType': ListChatGroupParticipantsResponseBodyDataList },
|
|
23
|
+
total: 'number',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
validate() {
|
|
28
|
+
if(Array.isArray(this.list)) {
|
|
29
|
+
$dara.Model.validateArray(this.list);
|
|
30
|
+
}
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -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 ListChatGroupParticipantsResponseBodyDataList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 861382***
|
|
9
|
+
*/
|
|
10
|
+
participantNumber?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
participantNumber: 'ParticipantNumber',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
participantNumber: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListChatGroupParticipantsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 8613800***
|
|
12
|
+
*/
|
|
13
|
+
businessNumber?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* WHATSAPP
|
|
17
|
+
*/
|
|
18
|
+
channelType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* cams-k***
|
|
25
|
+
*/
|
|
26
|
+
custSpaceId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* This parameter is required.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* EA939****
|
|
33
|
+
*/
|
|
34
|
+
groupId?: string;
|
|
35
|
+
ownerId?: number;
|
|
36
|
+
pageShrink?: string;
|
|
37
|
+
resourceOwnerAccount?: string;
|
|
38
|
+
resourceOwnerId?: number;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
businessNumber: 'BusinessNumber',
|
|
42
|
+
channelType: 'ChannelType',
|
|
43
|
+
custSpaceId: 'CustSpaceId',
|
|
44
|
+
groupId: 'GroupId',
|
|
45
|
+
ownerId: 'OwnerId',
|
|
46
|
+
pageShrink: 'Page',
|
|
47
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
48
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
businessNumber: 'string',
|
|
55
|
+
channelType: 'string',
|
|
56
|
+
custSpaceId: 'string',
|
|
57
|
+
groupId: 'string',
|
|
58
|
+
ownerId: 'number',
|
|
59
|
+
pageShrink: 'string',
|
|
60
|
+
resourceOwnerAccount: 'string',
|
|
61
|
+
resourceOwnerId: 'number',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListChatGroupRequestPage } from "./ListChatGroupRequestPage";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListChatGroupRequest extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* This parameter is required.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 8613800***
|
|
13
|
+
*/
|
|
14
|
+
businessNumber?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @example
|
|
17
|
+
* WHATSAPP
|
|
18
|
+
*/
|
|
19
|
+
channelType?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* cams-x***
|
|
26
|
+
*/
|
|
27
|
+
custSpaceId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* ACTIVE
|
|
31
|
+
*/
|
|
32
|
+
groupStatus?: string;
|
|
33
|
+
ownerId?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*/
|
|
38
|
+
page?: ListChatGroupRequestPage;
|
|
39
|
+
resourceOwnerAccount?: string;
|
|
40
|
+
resourceOwnerId?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* test
|
|
44
|
+
*/
|
|
45
|
+
subject?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
businessNumber: 'BusinessNumber',
|
|
49
|
+
channelType: 'ChannelType',
|
|
50
|
+
custSpaceId: 'CustSpaceId',
|
|
51
|
+
groupStatus: 'GroupStatus',
|
|
52
|
+
ownerId: 'OwnerId',
|
|
53
|
+
page: 'Page',
|
|
54
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
55
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
56
|
+
subject: 'Subject',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
businessNumber: 'string',
|
|
63
|
+
channelType: 'string',
|
|
64
|
+
custSpaceId: 'string',
|
|
65
|
+
groupStatus: 'string',
|
|
66
|
+
ownerId: 'number',
|
|
67
|
+
page: ListChatGroupRequestPage,
|
|
68
|
+
resourceOwnerAccount: 'string',
|
|
69
|
+
resourceOwnerId: 'number',
|
|
70
|
+
subject: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(this.page && typeof (this.page as any).validate === 'function') {
|
|
76
|
+
(this.page as any).validate();
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|