@tachybase/plugin-auth-dingtalk 1.3.19 → 1.3.20
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/externalVersion.js +5 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.d.ts +1750 -330
- package/dist/node_modules/@alicloud/dingtalk/dist/agoal_1_0/client.js +1733 -114
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.d.ts +294 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ai_paa_s_1_0/client.js +461 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.d.ts +691 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/assistant_1_0/client.js +1143 -37
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.d.ts +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/ats_1_0/client.js +335 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.d.ts +21 -13
- package/dist/node_modules/@alicloud/dingtalk/dist/attendance_1_0/client.js +21 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.d.ts +103 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_1_0/client.js +169 -5
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.d.ts +3261 -901
- package/dist/node_modules/@alicloud/dingtalk/dist/bizfinance_2_0/client.js +4736 -1197
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.d.ts +145 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/calendar_1_0/client.js +238 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.d.ts +105 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/card_1_0/client.js +181 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.d.ts +159 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/conference_1_0/client.js +243 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.d.ts +399 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/contact_1_0/client.js +614 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.d.ts +2789 -274
- package/dist/node_modules/@alicloud/dingtalk/dist/contract_1_0/client.js +4218 -407
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.d.ts +81 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/crm_1_0/client.js +133 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.d.ts +168 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/datacenter_1_0/client.js +281 -11
- package/dist/node_modules/@alicloud/dingtalk/dist/diot_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.d.ts +1110 -24
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_1_0/client.js +1714 -115
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.d.ts +1073 -73
- package/dist/node_modules/@alicloud/dingtalk/dist/doc_2_0/client.js +1316 -39
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.d.ts +5893 -2422
- package/dist/node_modules/@alicloud/dingtalk/dist/edu_1_0/client.js +7232 -1965
- package/dist/node_modules/@alicloud/dingtalk/dist/event_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.d.ts +851 -51
- package/dist/node_modules/@alicloud/dingtalk/dist/exclusive_1_0/client.js +1239 -66
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.d.ts +92 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/flashmeeting_1_0/client.js +166 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/gateway_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.d.ts +1373 -233
- package/dist/node_modules/@alicloud/dingtalk/dist/hrbrain_1_0/client.js +2004 -246
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.d.ts +598 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/hrm_1_0/client.js +893 -33
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.d.ts +1373 -122
- package/dist/node_modules/@alicloud/dingtalk/dist/im_1_0/client.js +2099 -264
- package/dist/node_modules/@alicloud/dingtalk/dist/im_2_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/index.d.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/index.js +2 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.d.ts +160 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/industry_1_0/client.js +227 -14
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.d.ts +4 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/live_1_0/client.js +6 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.d.ts +1089 -38
- package/dist/node_modules/@alicloud/dingtalk/dist/mail_1_0/client.js +1429 -62
- package/dist/node_modules/@alicloud/dingtalk/dist/manufacturing_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.d.ts +101 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/meter_1_0/client.js +202 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.d.ts +113 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/micro_app_1_0/client.js +171 -3
- package/dist/node_modules/@alicloud/dingtalk/dist/miniapp_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.d.ts +940 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/minutes_1_0/client.js +1545 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/oauth2_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.d.ts +1 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/pedia_1_0/client.js +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.d.ts +83 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/project_1_0/client.js +68 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.d.ts +90 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/rooms_1_0/client.js +83 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.d.ts +642 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/salary_1_0/client.js +919 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.d.ts +130 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_1_0/client.js +171 -6
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.d.ts +283 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/storage_2_0/client.js +340 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.d.ts +223 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/team_sphere_1_0/client.js +347 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.d.ts +42 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_1_0/client.js +53 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.d.ts +458 -4
- package/dist/node_modules/@alicloud/dingtalk/dist/todo_e_e_1_0/client.js +942 -153
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.d.ts +5 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/trip_1_0/client.js +2 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.d.ts +254 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/vip_member_1_0/client.js +477 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/watt_1_0/client.js +0 -1
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.d.ts +234 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/wiki_2_0/client.js +298 -2
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.d.ts +746 -15
- package/dist/node_modules/@alicloud/dingtalk/dist/workflow_1_0/client.js +871 -20
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.d.ts +402 -0
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_1_0/client.js +412 -7
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.d.ts +890 -112
- package/dist/node_modules/@alicloud/dingtalk/dist/yida_2_0/client.js +1063 -2
- package/dist/node_modules/@alicloud/dingtalk/meter_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/minutes_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/package.json +1 -1
- package/dist/node_modules/@alicloud/dingtalk/salary_1_0.js +1 -0
- package/dist/node_modules/@alicloud/dingtalk/src/agoal_1_0/client.ts +2695 -319
- package/dist/node_modules/@alicloud/dingtalk/src/ai_paa_s_1_0/client.ts +566 -0
- package/dist/node_modules/@alicloud/dingtalk/src/assistant_1_0/client.ts +1492 -117
- package/dist/node_modules/@alicloud/dingtalk/src/ats_1_0/client.ts +420 -0
- package/dist/node_modules/@alicloud/dingtalk/src/attendance_1_0/client.ts +45 -13
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_1_0/client.ts +232 -2
- package/dist/node_modules/@alicloud/dingtalk/src/bizfinance_2_0/client.ts +6892 -2251
- package/dist/node_modules/@alicloud/dingtalk/src/calendar_1_0/client.ts +287 -0
- package/dist/node_modules/@alicloud/dingtalk/src/card_1_0/client.ts +224 -0
- package/dist/node_modules/@alicloud/dingtalk/src/conference_1_0/client.ts +297 -2
- package/dist/node_modules/@alicloud/dingtalk/src/contact_1_0/client.ts +811 -42
- package/dist/node_modules/@alicloud/dingtalk/src/contract_1_0/client.ts +5523 -617
- package/dist/node_modules/@alicloud/dingtalk/src/crm_1_0/client.ts +157 -0
- package/dist/node_modules/@alicloud/dingtalk/src/datacenter_1_0/client.ts +340 -0
- package/dist/node_modules/@alicloud/dingtalk/src/diot_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/doc_1_0/client.ts +2802 -720
- package/dist/node_modules/@alicloud/dingtalk/src/doc_2_0/client.ts +1889 -140
- package/dist/node_modules/@alicloud/dingtalk/src/edu_1_0/client.ts +8496 -1557
- package/dist/node_modules/@alicloud/dingtalk/src/event_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/exclusive_1_0/client.ts +1831 -283
- package/dist/node_modules/@alicloud/dingtalk/src/flashmeeting_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/gateway_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/hrbrain_1_0/client.ts +2742 -542
- package/dist/node_modules/@alicloud/dingtalk/src/hrm_1_0/client.ts +1182 -33
- package/dist/node_modules/@alicloud/dingtalk/src/im_1_0/client.ts +3100 -718
- package/dist/node_modules/@alicloud/dingtalk/src/im_2_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/index.ts +6 -0
- package/dist/node_modules/@alicloud/dingtalk/src/industry_1_0/client.ts +319 -0
- package/dist/node_modules/@alicloud/dingtalk/src/live_1_0/client.ts +8 -2
- package/dist/node_modules/@alicloud/dingtalk/src/mail_1_0/client.ts +2029 -159
- package/dist/node_modules/@alicloud/dingtalk/src/manufacturing_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/meter_1_0/client.ts +201 -0
- package/dist/node_modules/@alicloud/dingtalk/src/micro_app_1_0/client.ts +215 -1
- package/dist/node_modules/@alicloud/dingtalk/src/miniapp_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/minutes_1_0/client.ts +1871 -0
- package/dist/node_modules/@alicloud/dingtalk/src/oauth2_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/pedia_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/project_1_0/client.ts +161 -0
- package/dist/node_modules/@alicloud/dingtalk/src/rooms_1_0/client.ts +147 -0
- package/dist/node_modules/@alicloud/dingtalk/src/salary_1_0/client.ts +1156 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_1_0/client.ts +226 -0
- package/dist/node_modules/@alicloud/dingtalk/src/storage_2_0/client.ts +492 -0
- package/dist/node_modules/@alicloud/dingtalk/src/team_sphere_1_0/client.ts +442 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_1_0/client.ts +89 -0
- package/dist/node_modules/@alicloud/dingtalk/src/todo_e_e_1_0/client.ts +1061 -88
- package/dist/node_modules/@alicloud/dingtalk/src/trip_1_0/client.ts +7 -0
- package/dist/node_modules/@alicloud/dingtalk/src/vip_member_1_0/client.ts +583 -0
- package/dist/node_modules/@alicloud/dingtalk/src/watt_1_0/client.ts +0 -1
- package/dist/node_modules/@alicloud/dingtalk/src/wiki_2_0/client.ts +423 -0
- package/dist/node_modules/@alicloud/dingtalk/src/workflow_1_0/client.ts +1304 -24
- package/dist/node_modules/@alicloud/dingtalk/src/yida_1_0/client.ts +774 -102
- package/dist/node_modules/@alicloud/dingtalk/src/yida_2_0/client.ts +1910 -429
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/package.json +8 -8
|
@@ -7,6 +7,37 @@ import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
|
7
7
|
import OpenApiUtil from '@alicloud/openapi-util';
|
|
8
8
|
import * as $tea from '@alicloud/tea-typescript';
|
|
9
9
|
|
|
10
|
+
export class UserListValue extends $tea.Model {
|
|
11
|
+
joinTime?: number;
|
|
12
|
+
modifyTime?: number;
|
|
13
|
+
mute?: boolean;
|
|
14
|
+
topRank?: boolean;
|
|
15
|
+
visible?: boolean;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
joinTime: 'joinTime',
|
|
19
|
+
modifyTime: 'modifyTime',
|
|
20
|
+
mute: 'mute',
|
|
21
|
+
topRank: 'topRank',
|
|
22
|
+
visible: 'visible',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
joinTime: 'number',
|
|
29
|
+
modifyTime: 'number',
|
|
30
|
+
mute: 'boolean',
|
|
31
|
+
topRank: 'boolean',
|
|
32
|
+
visible: 'boolean',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
10
41
|
export class PrivateDataValue extends $tea.Model {
|
|
11
42
|
cardParamMap?: { [key: string]: string };
|
|
12
43
|
cardMediaIdParamMap?: { [key: string]: string };
|
|
@@ -2627,6 +2658,95 @@ export class DismissGroupConversationResponse extends $tea.Model {
|
|
|
2627
2658
|
}
|
|
2628
2659
|
}
|
|
2629
2660
|
|
|
2661
|
+
export class FreezeGroupHeaders extends $tea.Model {
|
|
2662
|
+
commonHeaders?: { [key: string]: string };
|
|
2663
|
+
xAcsDingtalkAccessToken?: string;
|
|
2664
|
+
static names(): { [key: string]: string } {
|
|
2665
|
+
return {
|
|
2666
|
+
commonHeaders: 'commonHeaders',
|
|
2667
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
2668
|
+
};
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
static types(): { [key: string]: any } {
|
|
2672
|
+
return {
|
|
2673
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2674
|
+
xAcsDingtalkAccessToken: 'string',
|
|
2675
|
+
};
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
constructor(map?: { [key: string]: any }) {
|
|
2679
|
+
super(map);
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
export class FreezeGroupRequest extends $tea.Model {
|
|
2684
|
+
/**
|
|
2685
|
+
* @remarks
|
|
2686
|
+
* This parameter is required.
|
|
2687
|
+
*/
|
|
2688
|
+
openConversationId?: string;
|
|
2689
|
+
static names(): { [key: string]: string } {
|
|
2690
|
+
return {
|
|
2691
|
+
openConversationId: 'openConversationId',
|
|
2692
|
+
};
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
static types(): { [key: string]: any } {
|
|
2696
|
+
return {
|
|
2697
|
+
openConversationId: 'string',
|
|
2698
|
+
};
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
constructor(map?: { [key: string]: any }) {
|
|
2702
|
+
super(map);
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
export class FreezeGroupResponseBody extends $tea.Model {
|
|
2707
|
+
success?: boolean;
|
|
2708
|
+
static names(): { [key: string]: string } {
|
|
2709
|
+
return {
|
|
2710
|
+
success: 'success',
|
|
2711
|
+
};
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
static types(): { [key: string]: any } {
|
|
2715
|
+
return {
|
|
2716
|
+
success: 'boolean',
|
|
2717
|
+
};
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
constructor(map?: { [key: string]: any }) {
|
|
2721
|
+
super(map);
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
export class FreezeGroupResponse extends $tea.Model {
|
|
2726
|
+
headers?: { [key: string]: string };
|
|
2727
|
+
statusCode?: number;
|
|
2728
|
+
body?: FreezeGroupResponseBody;
|
|
2729
|
+
static names(): { [key: string]: string } {
|
|
2730
|
+
return {
|
|
2731
|
+
headers: 'headers',
|
|
2732
|
+
statusCode: 'statusCode',
|
|
2733
|
+
body: 'body',
|
|
2734
|
+
};
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
static types(): { [key: string]: any } {
|
|
2738
|
+
return {
|
|
2739
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2740
|
+
statusCode: 'number',
|
|
2741
|
+
body: FreezeGroupResponseBody,
|
|
2742
|
+
};
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
constructor(map?: { [key: string]: any }) {
|
|
2746
|
+
super(map);
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2630
2750
|
export class GetConversationUrlHeaders extends $tea.Model {
|
|
2631
2751
|
commonHeaders?: { [key: string]: string };
|
|
2632
2752
|
xAcsDingtalkAccessToken?: string;
|
|
@@ -3724,7 +3844,7 @@ export class GetSceneGroupTemplateMessageOpenStatusResponse extends $tea.Model {
|
|
|
3724
3844
|
}
|
|
3725
3845
|
}
|
|
3726
3846
|
|
|
3727
|
-
export class
|
|
3847
|
+
export class GetSingleChatOpenConversationIdHeaders extends $tea.Model {
|
|
3728
3848
|
commonHeaders?: { [key: string]: string };
|
|
3729
3849
|
xAcsDingtalkAccessToken?: string;
|
|
3730
3850
|
static names(): { [key: string]: string } {
|
|
@@ -3746,31 +3866,34 @@ export class GroupBanWordsHeaders extends $tea.Model {
|
|
|
3746
3866
|
}
|
|
3747
3867
|
}
|
|
3748
3868
|
|
|
3749
|
-
export class
|
|
3869
|
+
export class GetSingleChatOpenConversationIdRequest extends $tea.Model {
|
|
3750
3870
|
/**
|
|
3871
|
+
* @remarks
|
|
3872
|
+
* This parameter is required.
|
|
3873
|
+
*
|
|
3751
3874
|
* @example
|
|
3752
|
-
*
|
|
3875
|
+
* 022*****2134
|
|
3753
3876
|
*/
|
|
3754
|
-
|
|
3877
|
+
userId1?: string;
|
|
3755
3878
|
/**
|
|
3879
|
+
* @remarks
|
|
3880
|
+
* This parameter is required.
|
|
3881
|
+
*
|
|
3756
3882
|
* @example
|
|
3757
|
-
*
|
|
3883
|
+
* 072*****1243
|
|
3758
3884
|
*/
|
|
3759
|
-
|
|
3760
|
-
options?: { [key: string]: any };
|
|
3885
|
+
userId2?: string;
|
|
3761
3886
|
static names(): { [key: string]: string } {
|
|
3762
3887
|
return {
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
options: 'options',
|
|
3888
|
+
userId1: 'userId1',
|
|
3889
|
+
userId2: 'userId2',
|
|
3766
3890
|
};
|
|
3767
3891
|
}
|
|
3768
3892
|
|
|
3769
3893
|
static types(): { [key: string]: any } {
|
|
3770
3894
|
return {
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
options: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3895
|
+
userId1: 'string',
|
|
3896
|
+
userId2: 'string',
|
|
3774
3897
|
};
|
|
3775
3898
|
}
|
|
3776
3899
|
|
|
@@ -3779,13 +3902,37 @@ export class GroupBanWordsRequest extends $tea.Model {
|
|
|
3779
3902
|
}
|
|
3780
3903
|
}
|
|
3781
3904
|
|
|
3782
|
-
export class
|
|
3905
|
+
export class GetSingleChatOpenConversationIdResponseBody extends $tea.Model {
|
|
3906
|
+
result?: GetSingleChatOpenConversationIdResponseBodyResult;
|
|
3907
|
+
success?: string;
|
|
3908
|
+
static names(): { [key: string]: string } {
|
|
3909
|
+
return {
|
|
3910
|
+
result: 'result',
|
|
3911
|
+
success: 'success',
|
|
3912
|
+
};
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
static types(): { [key: string]: any } {
|
|
3916
|
+
return {
|
|
3917
|
+
result: GetSingleChatOpenConversationIdResponseBodyResult,
|
|
3918
|
+
success: 'string',
|
|
3919
|
+
};
|
|
3920
|
+
}
|
|
3921
|
+
|
|
3922
|
+
constructor(map?: { [key: string]: any }) {
|
|
3923
|
+
super(map);
|
|
3924
|
+
}
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
export class GetSingleChatOpenConversationIdResponse extends $tea.Model {
|
|
3783
3928
|
headers?: { [key: string]: string };
|
|
3784
3929
|
statusCode?: number;
|
|
3930
|
+
body?: GetSingleChatOpenConversationIdResponseBody;
|
|
3785
3931
|
static names(): { [key: string]: string } {
|
|
3786
3932
|
return {
|
|
3787
3933
|
headers: 'headers',
|
|
3788
3934
|
statusCode: 'statusCode',
|
|
3935
|
+
body: 'body',
|
|
3789
3936
|
};
|
|
3790
3937
|
}
|
|
3791
3938
|
|
|
@@ -3793,6 +3940,7 @@ export class GroupBanWordsResponse extends $tea.Model {
|
|
|
3793
3940
|
return {
|
|
3794
3941
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3795
3942
|
statusCode: 'number',
|
|
3943
|
+
body: GetSingleChatOpenConversationIdResponseBody,
|
|
3796
3944
|
};
|
|
3797
3945
|
}
|
|
3798
3946
|
|
|
@@ -3801,7 +3949,7 @@ export class GroupBanWordsResponse extends $tea.Model {
|
|
|
3801
3949
|
}
|
|
3802
3950
|
}
|
|
3803
3951
|
|
|
3804
|
-
export class
|
|
3952
|
+
export class GetSuperAdminOpenSceneGroupInfoHeaders extends $tea.Model {
|
|
3805
3953
|
commonHeaders?: { [key: string]: string };
|
|
3806
3954
|
xAcsDingtalkAccessToken?: string;
|
|
3807
3955
|
static names(): { [key: string]: string } {
|
|
@@ -3823,45 +3971,21 @@ export class GroupCapacityInquiryHeaders extends $tea.Model {
|
|
|
3823
3971
|
}
|
|
3824
3972
|
}
|
|
3825
3973
|
|
|
3826
|
-
export class
|
|
3827
|
-
/**
|
|
3828
|
-
* @example
|
|
3829
|
-
* 1Y
|
|
3830
|
-
*/
|
|
3831
|
-
effectiveDuration?: string;
|
|
3974
|
+
export class GetSuperAdminOpenSceneGroupInfoRequest extends $tea.Model {
|
|
3832
3975
|
/**
|
|
3833
|
-
* @
|
|
3834
|
-
*
|
|
3976
|
+
* @remarks
|
|
3977
|
+
* This parameter is required.
|
|
3835
3978
|
*/
|
|
3836
3979
|
openConversationId?: string;
|
|
3837
|
-
/**
|
|
3838
|
-
* @example
|
|
3839
|
-
* 5782431748978293
|
|
3840
|
-
*/
|
|
3841
|
-
operator?: string;
|
|
3842
|
-
options?: { [key: string]: any };
|
|
3843
|
-
/**
|
|
3844
|
-
* @example
|
|
3845
|
-
* 2000
|
|
3846
|
-
*/
|
|
3847
|
-
targetCapacity?: number;
|
|
3848
3980
|
static names(): { [key: string]: string } {
|
|
3849
3981
|
return {
|
|
3850
|
-
effectiveDuration: 'effectiveDuration',
|
|
3851
3982
|
openConversationId: 'openConversationId',
|
|
3852
|
-
operator: 'operator',
|
|
3853
|
-
options: 'options',
|
|
3854
|
-
targetCapacity: 'targetCapacity',
|
|
3855
3983
|
};
|
|
3856
3984
|
}
|
|
3857
3985
|
|
|
3858
3986
|
static types(): { [key: string]: any } {
|
|
3859
3987
|
return {
|
|
3860
|
-
effectiveDuration: 'string',
|
|
3861
3988
|
openConversationId: 'string',
|
|
3862
|
-
operator: 'string',
|
|
3863
|
-
options: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3864
|
-
targetCapacity: 'number',
|
|
3865
3989
|
};
|
|
3866
3990
|
}
|
|
3867
3991
|
|
|
@@ -3870,18 +3994,232 @@ export class GroupCapacityInquiryRequest extends $tea.Model {
|
|
|
3870
3994
|
}
|
|
3871
3995
|
}
|
|
3872
3996
|
|
|
3873
|
-
export class
|
|
3997
|
+
export class GetSuperAdminOpenSceneGroupInfoResponseBody extends $tea.Model {
|
|
3998
|
+
groupUrl?: string;
|
|
3999
|
+
icon?: string;
|
|
4000
|
+
managementOptions?: GetSuperAdminOpenSceneGroupInfoResponseBodyManagementOptions;
|
|
4001
|
+
openConversationId?: string;
|
|
4002
|
+
ownerUserId?: string;
|
|
4003
|
+
subAdminUserIds?: string[];
|
|
4004
|
+
sucess?: boolean;
|
|
4005
|
+
templateId?: string;
|
|
4006
|
+
title?: string;
|
|
4007
|
+
static names(): { [key: string]: string } {
|
|
4008
|
+
return {
|
|
4009
|
+
groupUrl: 'groupUrl',
|
|
4010
|
+
icon: 'icon',
|
|
4011
|
+
managementOptions: 'managementOptions',
|
|
4012
|
+
openConversationId: 'openConversationId',
|
|
4013
|
+
ownerUserId: 'ownerUserId',
|
|
4014
|
+
subAdminUserIds: 'subAdminUserIds',
|
|
4015
|
+
sucess: 'sucess',
|
|
4016
|
+
templateId: 'templateId',
|
|
4017
|
+
title: 'title',
|
|
4018
|
+
};
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
static types(): { [key: string]: any } {
|
|
4022
|
+
return {
|
|
4023
|
+
groupUrl: 'string',
|
|
4024
|
+
icon: 'string',
|
|
4025
|
+
managementOptions: GetSuperAdminOpenSceneGroupInfoResponseBodyManagementOptions,
|
|
4026
|
+
openConversationId: 'string',
|
|
4027
|
+
ownerUserId: 'string',
|
|
4028
|
+
subAdminUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
4029
|
+
sucess: 'boolean',
|
|
4030
|
+
templateId: 'string',
|
|
4031
|
+
title: 'string',
|
|
4032
|
+
};
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4035
|
+
constructor(map?: { [key: string]: any }) {
|
|
4036
|
+
super(map);
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
|
|
4040
|
+
export class GetSuperAdminOpenSceneGroupInfoResponse extends $tea.Model {
|
|
4041
|
+
headers?: { [key: string]: string };
|
|
4042
|
+
statusCode?: number;
|
|
4043
|
+
body?: GetSuperAdminOpenSceneGroupInfoResponseBody;
|
|
4044
|
+
static names(): { [key: string]: string } {
|
|
4045
|
+
return {
|
|
4046
|
+
headers: 'headers',
|
|
4047
|
+
statusCode: 'statusCode',
|
|
4048
|
+
body: 'body',
|
|
4049
|
+
};
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
static types(): { [key: string]: any } {
|
|
4053
|
+
return {
|
|
4054
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4055
|
+
statusCode: 'number',
|
|
4056
|
+
body: GetSuperAdminOpenSceneGroupInfoResponseBody,
|
|
4057
|
+
};
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
constructor(map?: { [key: string]: any }) {
|
|
4061
|
+
super(map);
|
|
4062
|
+
}
|
|
4063
|
+
}
|
|
4064
|
+
|
|
4065
|
+
export class GroupBanWordsHeaders extends $tea.Model {
|
|
4066
|
+
commonHeaders?: { [key: string]: string };
|
|
4067
|
+
xAcsDingtalkAccessToken?: string;
|
|
4068
|
+
static names(): { [key: string]: string } {
|
|
4069
|
+
return {
|
|
4070
|
+
commonHeaders: 'commonHeaders',
|
|
4071
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
static types(): { [key: string]: any } {
|
|
4076
|
+
return {
|
|
4077
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4078
|
+
xAcsDingtalkAccessToken: 'string',
|
|
4079
|
+
};
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
constructor(map?: { [key: string]: any }) {
|
|
4083
|
+
super(map);
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
export class GroupBanWordsRequest extends $tea.Model {
|
|
3874
4088
|
/**
|
|
3875
4089
|
* @example
|
|
3876
|
-
*
|
|
4090
|
+
* 1
|
|
3877
4091
|
*/
|
|
3878
|
-
|
|
4092
|
+
banWordsMode?: number;
|
|
3879
4093
|
/**
|
|
3880
4094
|
* @example
|
|
3881
|
-
*
|
|
4095
|
+
* cidnvcxzklxv
|
|
3882
4096
|
*/
|
|
3883
|
-
|
|
3884
|
-
|
|
4097
|
+
openConversationId?: string;
|
|
4098
|
+
options?: { [key: string]: any };
|
|
4099
|
+
static names(): { [key: string]: string } {
|
|
4100
|
+
return {
|
|
4101
|
+
banWordsMode: 'banWordsMode',
|
|
4102
|
+
openConversationId: 'openConversationId',
|
|
4103
|
+
options: 'options',
|
|
4104
|
+
};
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
static types(): { [key: string]: any } {
|
|
4108
|
+
return {
|
|
4109
|
+
banWordsMode: 'number',
|
|
4110
|
+
openConversationId: 'string',
|
|
4111
|
+
options: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4112
|
+
};
|
|
4113
|
+
}
|
|
4114
|
+
|
|
4115
|
+
constructor(map?: { [key: string]: any }) {
|
|
4116
|
+
super(map);
|
|
4117
|
+
}
|
|
4118
|
+
}
|
|
4119
|
+
|
|
4120
|
+
export class GroupBanWordsResponse extends $tea.Model {
|
|
4121
|
+
headers?: { [key: string]: string };
|
|
4122
|
+
statusCode?: number;
|
|
4123
|
+
static names(): { [key: string]: string } {
|
|
4124
|
+
return {
|
|
4125
|
+
headers: 'headers',
|
|
4126
|
+
statusCode: 'statusCode',
|
|
4127
|
+
};
|
|
4128
|
+
}
|
|
4129
|
+
|
|
4130
|
+
static types(): { [key: string]: any } {
|
|
4131
|
+
return {
|
|
4132
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4133
|
+
statusCode: 'number',
|
|
4134
|
+
};
|
|
4135
|
+
}
|
|
4136
|
+
|
|
4137
|
+
constructor(map?: { [key: string]: any }) {
|
|
4138
|
+
super(map);
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
export class GroupCapacityInquiryHeaders extends $tea.Model {
|
|
4143
|
+
commonHeaders?: { [key: string]: string };
|
|
4144
|
+
xAcsDingtalkAccessToken?: string;
|
|
4145
|
+
static names(): { [key: string]: string } {
|
|
4146
|
+
return {
|
|
4147
|
+
commonHeaders: 'commonHeaders',
|
|
4148
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
4149
|
+
};
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
static types(): { [key: string]: any } {
|
|
4153
|
+
return {
|
|
4154
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4155
|
+
xAcsDingtalkAccessToken: 'string',
|
|
4156
|
+
};
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
constructor(map?: { [key: string]: any }) {
|
|
4160
|
+
super(map);
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
|
|
4164
|
+
export class GroupCapacityInquiryRequest extends $tea.Model {
|
|
4165
|
+
/**
|
|
4166
|
+
* @example
|
|
4167
|
+
* 1Y
|
|
4168
|
+
*/
|
|
4169
|
+
effectiveDuration?: string;
|
|
4170
|
+
/**
|
|
4171
|
+
* @example
|
|
4172
|
+
* ciddmslasdfxcvbxcvgidnxsd==
|
|
4173
|
+
*/
|
|
4174
|
+
openConversationId?: string;
|
|
4175
|
+
/**
|
|
4176
|
+
* @example
|
|
4177
|
+
* 5782431748978293
|
|
4178
|
+
*/
|
|
4179
|
+
operator?: string;
|
|
4180
|
+
options?: { [key: string]: any };
|
|
4181
|
+
/**
|
|
4182
|
+
* @example
|
|
4183
|
+
* 2000
|
|
4184
|
+
*/
|
|
4185
|
+
targetCapacity?: number;
|
|
4186
|
+
static names(): { [key: string]: string } {
|
|
4187
|
+
return {
|
|
4188
|
+
effectiveDuration: 'effectiveDuration',
|
|
4189
|
+
openConversationId: 'openConversationId',
|
|
4190
|
+
operator: 'operator',
|
|
4191
|
+
options: 'options',
|
|
4192
|
+
targetCapacity: 'targetCapacity',
|
|
4193
|
+
};
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
static types(): { [key: string]: any } {
|
|
4197
|
+
return {
|
|
4198
|
+
effectiveDuration: 'string',
|
|
4199
|
+
openConversationId: 'string',
|
|
4200
|
+
operator: 'string',
|
|
4201
|
+
options: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4202
|
+
targetCapacity: 'number',
|
|
4203
|
+
};
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
constructor(map?: { [key: string]: any }) {
|
|
4207
|
+
super(map);
|
|
4208
|
+
}
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
export class GroupCapacityInquiryResponseBody extends $tea.Model {
|
|
4212
|
+
/**
|
|
4213
|
+
* @example
|
|
4214
|
+
* 85000
|
|
4215
|
+
*/
|
|
4216
|
+
actualPrice?: number;
|
|
4217
|
+
/**
|
|
4218
|
+
* @example
|
|
4219
|
+
* 1652183395772
|
|
4220
|
+
*/
|
|
4221
|
+
createdAt?: number;
|
|
4222
|
+
/**
|
|
3885
4223
|
* @example
|
|
3886
4224
|
* 500
|
|
3887
4225
|
*/
|
|
@@ -4582,7 +4920,7 @@ export class GroupManageReduceResponse extends $tea.Model {
|
|
|
4582
4920
|
}
|
|
4583
4921
|
}
|
|
4584
4922
|
|
|
4585
|
-
export class
|
|
4923
|
+
export class ImportGroupChatHeaders extends $tea.Model {
|
|
4586
4924
|
commonHeaders?: { [key: string]: string };
|
|
4587
4925
|
xAcsDingtalkAccessToken?: string;
|
|
4588
4926
|
static names(): { [key: string]: string } {
|
|
@@ -4604,29 +4942,12 @@ export class InstallRobotToOrgHeaders extends $tea.Model {
|
|
|
4604
4942
|
}
|
|
4605
4943
|
}
|
|
4606
4944
|
|
|
4607
|
-
export class
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
* This parameter is required.
|
|
4611
|
-
*
|
|
4612
|
-
* @example
|
|
4613
|
-
* 这是小丁
|
|
4614
|
-
*/
|
|
4615
|
-
brief?: string;
|
|
4616
|
-
/**
|
|
4617
|
-
* @remarks
|
|
4618
|
-
* This parameter is required.
|
|
4619
|
-
*
|
|
4620
|
-
* @example
|
|
4621
|
-
* 我是小丁
|
|
4622
|
-
*/
|
|
4623
|
-
description?: string;
|
|
4945
|
+
export class ImportGroupChatRequest extends $tea.Model {
|
|
4946
|
+
adminIds?: string[];
|
|
4947
|
+
createAt?: number;
|
|
4624
4948
|
/**
|
|
4625
|
-
* @remarks
|
|
4626
|
-
* This parameter is required.
|
|
4627
|
-
*
|
|
4628
4949
|
* @example
|
|
4629
|
-
* @
|
|
4950
|
+
* @lADOADma*****QKA
|
|
4630
4951
|
*/
|
|
4631
4952
|
icon?: string;
|
|
4632
4953
|
/**
|
|
@@ -4634,64 +4955,58 @@ export class InstallRobotToOrgRequest extends $tea.Model {
|
|
|
4634
4955
|
* This parameter is required.
|
|
4635
4956
|
*
|
|
4636
4957
|
* @example
|
|
4637
|
-
*
|
|
4958
|
+
* axcf*-*****-*****-23da*
|
|
4638
4959
|
*/
|
|
4639
|
-
|
|
4960
|
+
importUuid?: string;
|
|
4640
4961
|
/**
|
|
4641
4962
|
* @remarks
|
|
4642
4963
|
* This parameter is required.
|
|
4643
4964
|
*
|
|
4644
4965
|
* @example
|
|
4645
|
-
*
|
|
4966
|
+
* 1107****2120
|
|
4646
4967
|
*/
|
|
4647
|
-
|
|
4968
|
+
owner?: string;
|
|
4648
4969
|
/**
|
|
4649
|
-
* @remarks
|
|
4650
|
-
* This parameter is required.
|
|
4651
|
-
*
|
|
4652
4970
|
* @example
|
|
4653
|
-
*
|
|
4971
|
+
* c354***-***-***-b4ea-6f1ab***65
|
|
4654
4972
|
*/
|
|
4655
|
-
|
|
4973
|
+
templateId?: string;
|
|
4656
4974
|
/**
|
|
4657
4975
|
* @remarks
|
|
4658
4976
|
* This parameter is required.
|
|
4659
4977
|
*
|
|
4660
4978
|
* @example
|
|
4661
|
-
*
|
|
4979
|
+
* 示例群名称
|
|
4662
4980
|
*/
|
|
4663
|
-
|
|
4981
|
+
title?: string;
|
|
4664
4982
|
/**
|
|
4665
4983
|
* @remarks
|
|
4666
4984
|
* This parameter is required.
|
|
4667
|
-
*
|
|
4668
|
-
* @example
|
|
4669
|
-
* 123
|
|
4670
4985
|
*/
|
|
4671
|
-
|
|
4986
|
+
userList?: { [key: string]: UserListValue };
|
|
4672
4987
|
static names(): { [key: string]: string } {
|
|
4673
4988
|
return {
|
|
4674
|
-
|
|
4675
|
-
|
|
4989
|
+
adminIds: 'adminIds',
|
|
4990
|
+
createAt: 'createAt',
|
|
4676
4991
|
icon: 'icon',
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4992
|
+
importUuid: 'importUuid',
|
|
4993
|
+
owner: 'owner',
|
|
4994
|
+
templateId: 'templateId',
|
|
4995
|
+
title: 'title',
|
|
4996
|
+
userList: 'userList',
|
|
4682
4997
|
};
|
|
4683
4998
|
}
|
|
4684
4999
|
|
|
4685
5000
|
static types(): { [key: string]: any } {
|
|
4686
5001
|
return {
|
|
4687
|
-
|
|
4688
|
-
|
|
5002
|
+
adminIds: { 'type': 'array', 'itemType': 'string' },
|
|
5003
|
+
createAt: 'number',
|
|
4689
5004
|
icon: 'string',
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
5005
|
+
importUuid: 'string',
|
|
5006
|
+
owner: 'string',
|
|
5007
|
+
templateId: 'string',
|
|
5008
|
+
title: 'string',
|
|
5009
|
+
userList: { 'type': 'map', 'keyType': 'string', 'valueType': UserListValue },
|
|
4695
5010
|
};
|
|
4696
5011
|
}
|
|
4697
5012
|
|
|
@@ -4700,17 +5015,20 @@ export class InstallRobotToOrgRequest extends $tea.Model {
|
|
|
4700
5015
|
}
|
|
4701
5016
|
}
|
|
4702
5017
|
|
|
4703
|
-
export class
|
|
4704
|
-
|
|
5018
|
+
export class ImportGroupChatResponseBody extends $tea.Model {
|
|
5019
|
+
result?: ImportGroupChatResponseBodyResult;
|
|
5020
|
+
success?: string;
|
|
4705
5021
|
static names(): { [key: string]: string } {
|
|
4706
5022
|
return {
|
|
4707
|
-
|
|
5023
|
+
result: 'result',
|
|
5024
|
+
success: 'success',
|
|
4708
5025
|
};
|
|
4709
5026
|
}
|
|
4710
5027
|
|
|
4711
5028
|
static types(): { [key: string]: any } {
|
|
4712
5029
|
return {
|
|
4713
|
-
|
|
5030
|
+
result: ImportGroupChatResponseBodyResult,
|
|
5031
|
+
success: 'string',
|
|
4714
5032
|
};
|
|
4715
5033
|
}
|
|
4716
5034
|
|
|
@@ -4719,10 +5037,10 @@ export class InstallRobotToOrgResponseBody extends $tea.Model {
|
|
|
4719
5037
|
}
|
|
4720
5038
|
}
|
|
4721
5039
|
|
|
4722
|
-
export class
|
|
5040
|
+
export class ImportGroupChatResponse extends $tea.Model {
|
|
4723
5041
|
headers?: { [key: string]: string };
|
|
4724
5042
|
statusCode?: number;
|
|
4725
|
-
body?:
|
|
5043
|
+
body?: ImportGroupChatResponseBody;
|
|
4726
5044
|
static names(): { [key: string]: string } {
|
|
4727
5045
|
return {
|
|
4728
5046
|
headers: 'headers',
|
|
@@ -4735,7 +5053,7 @@ export class InstallRobotToOrgResponse extends $tea.Model {
|
|
|
4735
5053
|
return {
|
|
4736
5054
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4737
5055
|
statusCode: 'number',
|
|
4738
|
-
body:
|
|
5056
|
+
body: ImportGroupChatResponseBody,
|
|
4739
5057
|
};
|
|
4740
5058
|
}
|
|
4741
5059
|
|
|
@@ -4744,7 +5062,7 @@ export class InstallRobotToOrgResponse extends $tea.Model {
|
|
|
4744
5062
|
}
|
|
4745
5063
|
}
|
|
4746
5064
|
|
|
4747
|
-
export class
|
|
5065
|
+
export class ImportMessageHeaders extends $tea.Model {
|
|
4748
5066
|
commonHeaders?: { [key: string]: string };
|
|
4749
5067
|
xAcsDingtalkAccessToken?: string;
|
|
4750
5068
|
static names(): { [key: string]: string } {
|
|
@@ -4766,66 +5084,77 @@ export class InteractiveCardCreateInstanceHeaders extends $tea.Model {
|
|
|
4766
5084
|
}
|
|
4767
5085
|
}
|
|
4768
5086
|
|
|
4769
|
-
export class
|
|
4770
|
-
callbackRouteKey?: string;
|
|
5087
|
+
export class ImportMessageRequest extends $tea.Model {
|
|
4771
5088
|
/**
|
|
4772
5089
|
* @remarks
|
|
4773
5090
|
* This parameter is required.
|
|
5091
|
+
*
|
|
5092
|
+
* @example
|
|
5093
|
+
* {"content":"月会通知<@all> ","at":{"atUserIds":[],"isAtAll":true}}
|
|
4774
5094
|
*/
|
|
4775
|
-
|
|
5095
|
+
content?: string;
|
|
4776
5096
|
/**
|
|
4777
5097
|
* @remarks
|
|
4778
5098
|
* This parameter is required.
|
|
4779
5099
|
*/
|
|
4780
|
-
|
|
4781
|
-
chatBotId?: string;
|
|
5100
|
+
createTime?: number;
|
|
4782
5101
|
/**
|
|
4783
5102
|
* @remarks
|
|
4784
5103
|
* This parameter is required.
|
|
5104
|
+
*
|
|
5105
|
+
* @example
|
|
5106
|
+
* axcf*-*****-*****-23da*
|
|
5107
|
+
*/
|
|
5108
|
+
importUuid?: string;
|
|
5109
|
+
msgReadStatusSetting?: boolean;
|
|
5110
|
+
/**
|
|
5111
|
+
* @remarks
|
|
5112
|
+
* This parameter is required.
|
|
5113
|
+
*
|
|
5114
|
+
* @example
|
|
5115
|
+
* text
|
|
5116
|
+
*/
|
|
5117
|
+
msgType?: string;
|
|
5118
|
+
/**
|
|
5119
|
+
* @remarks
|
|
5120
|
+
* This parameter is required.
|
|
5121
|
+
*
|
|
5122
|
+
* @example
|
|
5123
|
+
* cidt*****Xa4K10w==
|
|
4785
5124
|
*/
|
|
4786
|
-
conversationType?: number;
|
|
4787
5125
|
openConversationId?: string;
|
|
5126
|
+
receivers?: string[];
|
|
4788
5127
|
/**
|
|
4789
5128
|
* @remarks
|
|
4790
5129
|
* This parameter is required.
|
|
5130
|
+
*
|
|
5131
|
+
* @example
|
|
5132
|
+
* 013*****21312
|
|
4791
5133
|
*/
|
|
4792
|
-
|
|
4793
|
-
privateData?: { [key: string]: PrivateDataValue };
|
|
4794
|
-
pullStrategy?: boolean;
|
|
4795
|
-
receiverUserIdList?: string[];
|
|
4796
|
-
robotCode?: string;
|
|
4797
|
-
userIdType?: number;
|
|
5134
|
+
senderId?: string;
|
|
4798
5135
|
static names(): { [key: string]: string } {
|
|
4799
5136
|
return {
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
5137
|
+
content: 'content',
|
|
5138
|
+
createTime: 'createTime',
|
|
5139
|
+
importUuid: 'importUuid',
|
|
5140
|
+
msgReadStatusSetting: 'msgReadStatusSetting',
|
|
5141
|
+
msgType: 'msgType',
|
|
4805
5142
|
openConversationId: 'openConversationId',
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
pullStrategy: 'pullStrategy',
|
|
4809
|
-
receiverUserIdList: 'receiverUserIdList',
|
|
4810
|
-
robotCode: 'robotCode',
|
|
4811
|
-
userIdType: 'userIdType',
|
|
5143
|
+
receivers: 'receivers',
|
|
5144
|
+
senderId: 'senderId',
|
|
4812
5145
|
};
|
|
4813
5146
|
}
|
|
4814
5147
|
|
|
4815
5148
|
static types(): { [key: string]: any } {
|
|
4816
5149
|
return {
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
5150
|
+
content: 'string',
|
|
5151
|
+
createTime: 'number',
|
|
5152
|
+
importUuid: 'string',
|
|
5153
|
+
msgReadStatusSetting: 'boolean',
|
|
5154
|
+
msgType: 'string',
|
|
4822
5155
|
openConversationId: 'string',
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
pullStrategy: 'boolean',
|
|
4826
|
-
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
4827
|
-
robotCode: 'string',
|
|
4828
|
-
userIdType: 'number',
|
|
5156
|
+
receivers: { 'type': 'array', 'itemType': 'string' },
|
|
5157
|
+
senderId: 'string',
|
|
4829
5158
|
};
|
|
4830
5159
|
}
|
|
4831
5160
|
|
|
@@ -4834,21 +5163,20 @@ export class InteractiveCardCreateInstanceRequest extends $tea.Model {
|
|
|
4834
5163
|
}
|
|
4835
5164
|
}
|
|
4836
5165
|
|
|
4837
|
-
export class
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
* xxxxxx
|
|
4841
|
-
*/
|
|
4842
|
-
processQueryKey?: string;
|
|
5166
|
+
export class ImportMessageResponseBody extends $tea.Model {
|
|
5167
|
+
result?: ImportMessageResponseBodyResult;
|
|
5168
|
+
success?: string;
|
|
4843
5169
|
static names(): { [key: string]: string } {
|
|
4844
5170
|
return {
|
|
4845
|
-
|
|
5171
|
+
result: 'result',
|
|
5172
|
+
success: 'success',
|
|
4846
5173
|
};
|
|
4847
5174
|
}
|
|
4848
5175
|
|
|
4849
5176
|
static types(): { [key: string]: any } {
|
|
4850
5177
|
return {
|
|
4851
|
-
|
|
5178
|
+
result: ImportMessageResponseBodyResult,
|
|
5179
|
+
success: 'string',
|
|
4852
5180
|
};
|
|
4853
5181
|
}
|
|
4854
5182
|
|
|
@@ -4857,10 +5185,10 @@ export class InteractiveCardCreateInstanceResponseBody extends $tea.Model {
|
|
|
4857
5185
|
}
|
|
4858
5186
|
}
|
|
4859
5187
|
|
|
4860
|
-
export class
|
|
5188
|
+
export class ImportMessageResponse extends $tea.Model {
|
|
4861
5189
|
headers?: { [key: string]: string };
|
|
4862
5190
|
statusCode?: number;
|
|
4863
|
-
body?:
|
|
5191
|
+
body?: ImportMessageResponseBody;
|
|
4864
5192
|
static names(): { [key: string]: string } {
|
|
4865
5193
|
return {
|
|
4866
5194
|
headers: 'headers',
|
|
@@ -4873,7 +5201,7 @@ export class InteractiveCardCreateInstanceResponse extends $tea.Model {
|
|
|
4873
5201
|
return {
|
|
4874
5202
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4875
5203
|
statusCode: 'number',
|
|
4876
|
-
body:
|
|
5204
|
+
body: ImportMessageResponseBody,
|
|
4877
5205
|
};
|
|
4878
5206
|
}
|
|
4879
5207
|
|
|
@@ -4882,7 +5210,7 @@ export class InteractiveCardCreateInstanceResponse extends $tea.Model {
|
|
|
4882
5210
|
}
|
|
4883
5211
|
}
|
|
4884
5212
|
|
|
4885
|
-
export class
|
|
5213
|
+
export class InstallRobotToOrgHeaders extends $tea.Model {
|
|
4886
5214
|
commonHeaders?: { [key: string]: string };
|
|
4887
5215
|
xAcsDingtalkAccessToken?: string;
|
|
4888
5216
|
static names(): { [key: string]: string } {
|
|
@@ -4904,24 +5232,94 @@ export class ListGroupTemplatesByOrgIdHeaders extends $tea.Model {
|
|
|
4904
5232
|
}
|
|
4905
5233
|
}
|
|
4906
5234
|
|
|
4907
|
-
export class
|
|
5235
|
+
export class InstallRobotToOrgRequest extends $tea.Model {
|
|
4908
5236
|
/**
|
|
4909
5237
|
* @remarks
|
|
4910
5238
|
* This parameter is required.
|
|
5239
|
+
*
|
|
5240
|
+
* @example
|
|
5241
|
+
* 这是小丁
|
|
4911
5242
|
*/
|
|
4912
|
-
|
|
4913
|
-
|
|
5243
|
+
brief?: string;
|
|
5244
|
+
/**
|
|
5245
|
+
* @remarks
|
|
5246
|
+
* This parameter is required.
|
|
5247
|
+
*
|
|
5248
|
+
* @example
|
|
5249
|
+
* 我是小丁
|
|
5250
|
+
*/
|
|
5251
|
+
description?: string;
|
|
5252
|
+
/**
|
|
5253
|
+
* @remarks
|
|
5254
|
+
* This parameter is required.
|
|
5255
|
+
*
|
|
5256
|
+
* @example
|
|
5257
|
+
* @lALPDe7s26Bre
|
|
5258
|
+
*/
|
|
5259
|
+
icon?: string;
|
|
5260
|
+
/**
|
|
5261
|
+
* @remarks
|
|
5262
|
+
* This parameter is required.
|
|
5263
|
+
*
|
|
5264
|
+
* @example
|
|
5265
|
+
* 小丁
|
|
5266
|
+
*/
|
|
5267
|
+
name?: string;
|
|
5268
|
+
/**
|
|
5269
|
+
* @remarks
|
|
5270
|
+
* This parameter is required.
|
|
5271
|
+
*
|
|
5272
|
+
* @example
|
|
5273
|
+
* 123
|
|
5274
|
+
*/
|
|
5275
|
+
outgoingToken?: string;
|
|
5276
|
+
/**
|
|
5277
|
+
* @remarks
|
|
5278
|
+
* This parameter is required.
|
|
5279
|
+
*
|
|
5280
|
+
* @example
|
|
5281
|
+
* https://*.com
|
|
5282
|
+
*/
|
|
5283
|
+
outgoingUrl?: string;
|
|
5284
|
+
/**
|
|
5285
|
+
* @remarks
|
|
5286
|
+
* This parameter is required.
|
|
5287
|
+
*
|
|
5288
|
+
* @example
|
|
5289
|
+
* @lALPDe7s26Bre
|
|
5290
|
+
*/
|
|
5291
|
+
previewMediaId?: string;
|
|
5292
|
+
/**
|
|
5293
|
+
* @remarks
|
|
5294
|
+
* This parameter is required.
|
|
5295
|
+
*
|
|
5296
|
+
* @example
|
|
5297
|
+
* 123
|
|
5298
|
+
*/
|
|
5299
|
+
robotCode?: string;
|
|
4914
5300
|
static names(): { [key: string]: string } {
|
|
4915
5301
|
return {
|
|
4916
|
-
|
|
4917
|
-
|
|
5302
|
+
brief: 'brief',
|
|
5303
|
+
description: 'description',
|
|
5304
|
+
icon: 'icon',
|
|
5305
|
+
name: 'name',
|
|
5306
|
+
outgoingToken: 'outgoingToken',
|
|
5307
|
+
outgoingUrl: 'outgoingUrl',
|
|
5308
|
+
previewMediaId: 'previewMediaId',
|
|
5309
|
+
robotCode: 'robotCode',
|
|
4918
5310
|
};
|
|
4919
5311
|
}
|
|
4920
5312
|
|
|
4921
5313
|
static types(): { [key: string]: any } {
|
|
4922
5314
|
return {
|
|
4923
|
-
|
|
4924
|
-
|
|
5315
|
+
brief: 'string',
|
|
5316
|
+
description: 'string',
|
|
5317
|
+
icon: 'string',
|
|
5318
|
+
name: 'string',
|
|
5319
|
+
outgoingToken: 'string',
|
|
5320
|
+
outgoingUrl: 'string',
|
|
5321
|
+
previewMediaId: 'string',
|
|
5322
|
+
robotCode: 'string',
|
|
4925
5323
|
};
|
|
4926
5324
|
}
|
|
4927
5325
|
|
|
@@ -4930,23 +5328,17 @@ export class ListGroupTemplatesByOrgIdRequest extends $tea.Model {
|
|
|
4930
5328
|
}
|
|
4931
5329
|
}
|
|
4932
5330
|
|
|
4933
|
-
export class
|
|
4934
|
-
|
|
4935
|
-
sceneGroupDetailModels?: ListGroupTemplatesByOrgIdResponseBodySceneGroupDetailModels[];
|
|
4936
|
-
success?: boolean;
|
|
5331
|
+
export class InstallRobotToOrgResponseBody extends $tea.Model {
|
|
5332
|
+
robotCode?: string;
|
|
4937
5333
|
static names(): { [key: string]: string } {
|
|
4938
5334
|
return {
|
|
4939
|
-
|
|
4940
|
-
sceneGroupDetailModels: 'sceneGroupDetailModels',
|
|
4941
|
-
success: 'success',
|
|
5335
|
+
robotCode: 'robotCode',
|
|
4942
5336
|
};
|
|
4943
5337
|
}
|
|
4944
5338
|
|
|
4945
5339
|
static types(): { [key: string]: any } {
|
|
4946
5340
|
return {
|
|
4947
|
-
|
|
4948
|
-
sceneGroupDetailModels: { 'type': 'array', 'itemType': ListGroupTemplatesByOrgIdResponseBodySceneGroupDetailModels },
|
|
4949
|
-
success: 'boolean',
|
|
5341
|
+
robotCode: 'string',
|
|
4950
5342
|
};
|
|
4951
5343
|
}
|
|
4952
5344
|
|
|
@@ -4955,10 +5347,10 @@ export class ListGroupTemplatesByOrgIdResponseBody extends $tea.Model {
|
|
|
4955
5347
|
}
|
|
4956
5348
|
}
|
|
4957
5349
|
|
|
4958
|
-
export class
|
|
5350
|
+
export class InstallRobotToOrgResponse extends $tea.Model {
|
|
4959
5351
|
headers?: { [key: string]: string };
|
|
4960
5352
|
statusCode?: number;
|
|
4961
|
-
body?:
|
|
5353
|
+
body?: InstallRobotToOrgResponseBody;
|
|
4962
5354
|
static names(): { [key: string]: string } {
|
|
4963
5355
|
return {
|
|
4964
5356
|
headers: 'headers',
|
|
@@ -4971,7 +5363,7 @@ export class ListGroupTemplatesByOrgIdResponse extends $tea.Model {
|
|
|
4971
5363
|
return {
|
|
4972
5364
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4973
5365
|
statusCode: 'number',
|
|
4974
|
-
body:
|
|
5366
|
+
body: InstallRobotToOrgResponseBody,
|
|
4975
5367
|
};
|
|
4976
5368
|
}
|
|
4977
5369
|
|
|
@@ -4980,7 +5372,7 @@ export class ListGroupTemplatesByOrgIdResponse extends $tea.Model {
|
|
|
4980
5372
|
}
|
|
4981
5373
|
}
|
|
4982
5374
|
|
|
4983
|
-
export class
|
|
5375
|
+
export class InteractiveCardCreateInstanceHeaders extends $tea.Model {
|
|
4984
5376
|
commonHeaders?: { [key: string]: string };
|
|
4985
5377
|
xAcsDingtalkAccessToken?: string;
|
|
4986
5378
|
static names(): { [key: string]: string } {
|
|
@@ -5002,20 +5394,66 @@ export class ListOrgTextEmotionHeaders extends $tea.Model {
|
|
|
5002
5394
|
}
|
|
5003
5395
|
}
|
|
5004
5396
|
|
|
5005
|
-
export class
|
|
5006
|
-
|
|
5007
|
-
|
|
5397
|
+
export class InteractiveCardCreateInstanceRequest extends $tea.Model {
|
|
5398
|
+
callbackRouteKey?: string;
|
|
5399
|
+
/**
|
|
5400
|
+
* @remarks
|
|
5401
|
+
* This parameter is required.
|
|
5402
|
+
*/
|
|
5403
|
+
cardData?: InteractiveCardCreateInstanceRequestCardData;
|
|
5404
|
+
/**
|
|
5405
|
+
* @remarks
|
|
5406
|
+
* This parameter is required.
|
|
5407
|
+
*/
|
|
5408
|
+
cardTemplateId?: string;
|
|
5409
|
+
chatBotId?: string;
|
|
5410
|
+
/**
|
|
5411
|
+
* @remarks
|
|
5412
|
+
* This parameter is required.
|
|
5413
|
+
*/
|
|
5414
|
+
conversationType?: number;
|
|
5415
|
+
openConversationId?: string;
|
|
5416
|
+
/**
|
|
5417
|
+
* @remarks
|
|
5418
|
+
* This parameter is required.
|
|
5419
|
+
*/
|
|
5420
|
+
outTrackId?: string;
|
|
5421
|
+
privateData?: { [key: string]: PrivateDataValue };
|
|
5422
|
+
pullStrategy?: boolean;
|
|
5423
|
+
receiverUserIdList?: string[];
|
|
5424
|
+
robotCode?: string;
|
|
5425
|
+
userIdType?: number;
|
|
5008
5426
|
static names(): { [key: string]: string } {
|
|
5009
5427
|
return {
|
|
5010
|
-
|
|
5011
|
-
|
|
5428
|
+
callbackRouteKey: 'callbackRouteKey',
|
|
5429
|
+
cardData: 'cardData',
|
|
5430
|
+
cardTemplateId: 'cardTemplateId',
|
|
5431
|
+
chatBotId: 'chatBotId',
|
|
5432
|
+
conversationType: 'conversationType',
|
|
5433
|
+
openConversationId: 'openConversationId',
|
|
5434
|
+
outTrackId: 'outTrackId',
|
|
5435
|
+
privateData: 'privateData',
|
|
5436
|
+
pullStrategy: 'pullStrategy',
|
|
5437
|
+
receiverUserIdList: 'receiverUserIdList',
|
|
5438
|
+
robotCode: 'robotCode',
|
|
5439
|
+
userIdType: 'userIdType',
|
|
5012
5440
|
};
|
|
5013
5441
|
}
|
|
5014
5442
|
|
|
5015
5443
|
static types(): { [key: string]: any } {
|
|
5016
5444
|
return {
|
|
5017
|
-
|
|
5018
|
-
|
|
5445
|
+
callbackRouteKey: 'string',
|
|
5446
|
+
cardData: InteractiveCardCreateInstanceRequestCardData,
|
|
5447
|
+
cardTemplateId: 'string',
|
|
5448
|
+
chatBotId: 'string',
|
|
5449
|
+
conversationType: 'number',
|
|
5450
|
+
openConversationId: 'string',
|
|
5451
|
+
outTrackId: 'string',
|
|
5452
|
+
privateData: { 'type': 'map', 'keyType': 'string', 'valueType': PrivateDataValue },
|
|
5453
|
+
pullStrategy: 'boolean',
|
|
5454
|
+
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
5455
|
+
robotCode: 'string',
|
|
5456
|
+
userIdType: 'number',
|
|
5019
5457
|
};
|
|
5020
5458
|
}
|
|
5021
5459
|
|
|
@@ -5024,10 +5462,33 @@ export class ListOrgTextEmotionResponseBody extends $tea.Model {
|
|
|
5024
5462
|
}
|
|
5025
5463
|
}
|
|
5026
5464
|
|
|
5027
|
-
export class
|
|
5465
|
+
export class InteractiveCardCreateInstanceResponseBody extends $tea.Model {
|
|
5466
|
+
/**
|
|
5467
|
+
* @example
|
|
5468
|
+
* xxxxxx
|
|
5469
|
+
*/
|
|
5470
|
+
processQueryKey?: string;
|
|
5471
|
+
static names(): { [key: string]: string } {
|
|
5472
|
+
return {
|
|
5473
|
+
processQueryKey: 'processQueryKey',
|
|
5474
|
+
};
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
static types(): { [key: string]: any } {
|
|
5478
|
+
return {
|
|
5479
|
+
processQueryKey: 'string',
|
|
5480
|
+
};
|
|
5481
|
+
}
|
|
5482
|
+
|
|
5483
|
+
constructor(map?: { [key: string]: any }) {
|
|
5484
|
+
super(map);
|
|
5485
|
+
}
|
|
5486
|
+
}
|
|
5487
|
+
|
|
5488
|
+
export class InteractiveCardCreateInstanceResponse extends $tea.Model {
|
|
5028
5489
|
headers?: { [key: string]: string };
|
|
5029
5490
|
statusCode?: number;
|
|
5030
|
-
body?:
|
|
5491
|
+
body?: InteractiveCardCreateInstanceResponseBody;
|
|
5031
5492
|
static names(): { [key: string]: string } {
|
|
5032
5493
|
return {
|
|
5033
5494
|
headers: 'headers',
|
|
@@ -5040,7 +5501,7 @@ export class ListOrgTextEmotionResponse extends $tea.Model {
|
|
|
5040
5501
|
return {
|
|
5041
5502
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5042
5503
|
statusCode: 'number',
|
|
5043
|
-
body:
|
|
5504
|
+
body: InteractiveCardCreateInstanceResponseBody,
|
|
5044
5505
|
};
|
|
5045
5506
|
}
|
|
5046
5507
|
|
|
@@ -5049,7 +5510,7 @@ export class ListOrgTextEmotionResponse extends $tea.Model {
|
|
|
5049
5510
|
}
|
|
5050
5511
|
}
|
|
5051
5512
|
|
|
5052
|
-
export class
|
|
5513
|
+
export class ListGroupTemplatesByOrgIdHeaders extends $tea.Model {
|
|
5053
5514
|
commonHeaders?: { [key: string]: string };
|
|
5054
5515
|
xAcsDingtalkAccessToken?: string;
|
|
5055
5516
|
static names(): { [key: string]: string } {
|
|
@@ -5071,7 +5532,7 @@ export class ListSceneGroupsByTemplateIdHeaders extends $tea.Model {
|
|
|
5071
5532
|
}
|
|
5072
5533
|
}
|
|
5073
5534
|
|
|
5074
|
-
export class
|
|
5535
|
+
export class ListGroupTemplatesByOrgIdRequest extends $tea.Model {
|
|
5075
5536
|
/**
|
|
5076
5537
|
* @remarks
|
|
5077
5538
|
* This parameter is required.
|
|
@@ -5097,19 +5558,22 @@ export class ListSceneGroupsByTemplateIdRequest extends $tea.Model {
|
|
|
5097
5558
|
}
|
|
5098
5559
|
}
|
|
5099
5560
|
|
|
5100
|
-
export class
|
|
5101
|
-
|
|
5561
|
+
export class ListGroupTemplatesByOrgIdResponseBody extends $tea.Model {
|
|
5562
|
+
count?: number;
|
|
5563
|
+
sceneGroupDetailModels?: ListGroupTemplatesByOrgIdResponseBodySceneGroupDetailModels[];
|
|
5102
5564
|
success?: boolean;
|
|
5103
5565
|
static names(): { [key: string]: string } {
|
|
5104
5566
|
return {
|
|
5105
|
-
|
|
5567
|
+
count: 'count',
|
|
5568
|
+
sceneGroupDetailModels: 'sceneGroupDetailModels',
|
|
5106
5569
|
success: 'success',
|
|
5107
5570
|
};
|
|
5108
5571
|
}
|
|
5109
5572
|
|
|
5110
5573
|
static types(): { [key: string]: any } {
|
|
5111
5574
|
return {
|
|
5112
|
-
|
|
5575
|
+
count: 'number',
|
|
5576
|
+
sceneGroupDetailModels: { 'type': 'array', 'itemType': ListGroupTemplatesByOrgIdResponseBodySceneGroupDetailModels },
|
|
5113
5577
|
success: 'boolean',
|
|
5114
5578
|
};
|
|
5115
5579
|
}
|
|
@@ -5119,10 +5583,10 @@ export class ListSceneGroupsByTemplateIdResponseBody extends $tea.Model {
|
|
|
5119
5583
|
}
|
|
5120
5584
|
}
|
|
5121
5585
|
|
|
5122
|
-
export class
|
|
5586
|
+
export class ListGroupTemplatesByOrgIdResponse extends $tea.Model {
|
|
5123
5587
|
headers?: { [key: string]: string };
|
|
5124
5588
|
statusCode?: number;
|
|
5125
|
-
body?:
|
|
5589
|
+
body?: ListGroupTemplatesByOrgIdResponseBody;
|
|
5126
5590
|
static names(): { [key: string]: string } {
|
|
5127
5591
|
return {
|
|
5128
5592
|
headers: 'headers',
|
|
@@ -5135,7 +5599,7 @@ export class ListSceneGroupsByTemplateIdResponse extends $tea.Model {
|
|
|
5135
5599
|
return {
|
|
5136
5600
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5137
5601
|
statusCode: 'number',
|
|
5138
|
-
body:
|
|
5602
|
+
body: ListGroupTemplatesByOrgIdResponseBody,
|
|
5139
5603
|
};
|
|
5140
5604
|
}
|
|
5141
5605
|
|
|
@@ -5144,7 +5608,7 @@ export class ListSceneGroupsByTemplateIdResponse extends $tea.Model {
|
|
|
5144
5608
|
}
|
|
5145
5609
|
}
|
|
5146
5610
|
|
|
5147
|
-
export class
|
|
5611
|
+
export class ListOrgTextEmotionHeaders extends $tea.Model {
|
|
5148
5612
|
commonHeaders?: { [key: string]: string };
|
|
5149
5613
|
xAcsDingtalkAccessToken?: string;
|
|
5150
5614
|
static names(): { [key: string]: string } {
|
|
@@ -5166,20 +5630,184 @@ export class OfflineUnfurlingRegisterHeaders extends $tea.Model {
|
|
|
5166
5630
|
}
|
|
5167
5631
|
}
|
|
5168
5632
|
|
|
5169
|
-
export class
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5633
|
+
export class ListOrgTextEmotionResponseBody extends $tea.Model {
|
|
5634
|
+
result?: ListOrgTextEmotionResponseBodyResult;
|
|
5635
|
+
success?: boolean;
|
|
5636
|
+
static names(): { [key: string]: string } {
|
|
5637
|
+
return {
|
|
5638
|
+
result: 'result',
|
|
5639
|
+
success: 'success',
|
|
5640
|
+
};
|
|
5641
|
+
}
|
|
5642
|
+
|
|
5643
|
+
static types(): { [key: string]: any } {
|
|
5644
|
+
return {
|
|
5645
|
+
result: ListOrgTextEmotionResponseBodyResult,
|
|
5646
|
+
success: 'boolean',
|
|
5647
|
+
};
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
constructor(map?: { [key: string]: any }) {
|
|
5651
|
+
super(map);
|
|
5652
|
+
}
|
|
5653
|
+
}
|
|
5654
|
+
|
|
5655
|
+
export class ListOrgTextEmotionResponse extends $tea.Model {
|
|
5656
|
+
headers?: { [key: string]: string };
|
|
5657
|
+
statusCode?: number;
|
|
5658
|
+
body?: ListOrgTextEmotionResponseBody;
|
|
5659
|
+
static names(): { [key: string]: string } {
|
|
5660
|
+
return {
|
|
5661
|
+
headers: 'headers',
|
|
5662
|
+
statusCode: 'statusCode',
|
|
5663
|
+
body: 'body',
|
|
5664
|
+
};
|
|
5665
|
+
}
|
|
5666
|
+
|
|
5667
|
+
static types(): { [key: string]: any } {
|
|
5668
|
+
return {
|
|
5669
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5670
|
+
statusCode: 'number',
|
|
5671
|
+
body: ListOrgTextEmotionResponseBody,
|
|
5672
|
+
};
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5675
|
+
constructor(map?: { [key: string]: any }) {
|
|
5676
|
+
super(map);
|
|
5677
|
+
}
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5680
|
+
export class ListSceneGroupsByTemplateIdHeaders extends $tea.Model {
|
|
5681
|
+
commonHeaders?: { [key: string]: string };
|
|
5682
|
+
xAcsDingtalkAccessToken?: string;
|
|
5683
|
+
static names(): { [key: string]: string } {
|
|
5684
|
+
return {
|
|
5685
|
+
commonHeaders: 'commonHeaders',
|
|
5686
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
5687
|
+
};
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
static types(): { [key: string]: any } {
|
|
5691
|
+
return {
|
|
5692
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5693
|
+
xAcsDingtalkAccessToken: 'string',
|
|
5694
|
+
};
|
|
5695
|
+
}
|
|
5696
|
+
|
|
5697
|
+
constructor(map?: { [key: string]: any }) {
|
|
5698
|
+
super(map);
|
|
5699
|
+
}
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5702
|
+
export class ListSceneGroupsByTemplateIdRequest extends $tea.Model {
|
|
5703
|
+
/**
|
|
5704
|
+
* @remarks
|
|
5705
|
+
* This parameter is required.
|
|
5706
|
+
*/
|
|
5707
|
+
pageNumber?: number;
|
|
5708
|
+
pageSize?: number;
|
|
5709
|
+
static names(): { [key: string]: string } {
|
|
5710
|
+
return {
|
|
5711
|
+
pageNumber: 'pageNumber',
|
|
5712
|
+
pageSize: 'pageSize',
|
|
5713
|
+
};
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
static types(): { [key: string]: any } {
|
|
5717
|
+
return {
|
|
5718
|
+
pageNumber: 'number',
|
|
5719
|
+
pageSize: 'number',
|
|
5720
|
+
};
|
|
5721
|
+
}
|
|
5722
|
+
|
|
5723
|
+
constructor(map?: { [key: string]: any }) {
|
|
5724
|
+
super(map);
|
|
5725
|
+
}
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
export class ListSceneGroupsByTemplateIdResponseBody extends $tea.Model {
|
|
5729
|
+
openConversationIds?: string[];
|
|
5730
|
+
success?: boolean;
|
|
5731
|
+
static names(): { [key: string]: string } {
|
|
5732
|
+
return {
|
|
5733
|
+
openConversationIds: 'openConversationIds',
|
|
5734
|
+
success: 'success',
|
|
5735
|
+
};
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
static types(): { [key: string]: any } {
|
|
5739
|
+
return {
|
|
5740
|
+
openConversationIds: { 'type': 'array', 'itemType': 'string' },
|
|
5741
|
+
success: 'boolean',
|
|
5742
|
+
};
|
|
5743
|
+
}
|
|
5744
|
+
|
|
5745
|
+
constructor(map?: { [key: string]: any }) {
|
|
5746
|
+
super(map);
|
|
5747
|
+
}
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
export class ListSceneGroupsByTemplateIdResponse extends $tea.Model {
|
|
5751
|
+
headers?: { [key: string]: string };
|
|
5752
|
+
statusCode?: number;
|
|
5753
|
+
body?: ListSceneGroupsByTemplateIdResponseBody;
|
|
5754
|
+
static names(): { [key: string]: string } {
|
|
5755
|
+
return {
|
|
5756
|
+
headers: 'headers',
|
|
5757
|
+
statusCode: 'statusCode',
|
|
5758
|
+
body: 'body',
|
|
5759
|
+
};
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
static types(): { [key: string]: any } {
|
|
5763
|
+
return {
|
|
5764
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5765
|
+
statusCode: 'number',
|
|
5766
|
+
body: ListSceneGroupsByTemplateIdResponseBody,
|
|
5767
|
+
};
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
constructor(map?: { [key: string]: any }) {
|
|
5771
|
+
super(map);
|
|
5772
|
+
}
|
|
5773
|
+
}
|
|
5774
|
+
|
|
5775
|
+
export class OfflineUnfurlingRegisterHeaders extends $tea.Model {
|
|
5776
|
+
commonHeaders?: { [key: string]: string };
|
|
5777
|
+
xAcsDingtalkAccessToken?: string;
|
|
5778
|
+
static names(): { [key: string]: string } {
|
|
5779
|
+
return {
|
|
5780
|
+
commonHeaders: 'commonHeaders',
|
|
5781
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
5782
|
+
};
|
|
5783
|
+
}
|
|
5784
|
+
|
|
5785
|
+
static types(): { [key: string]: any } {
|
|
5786
|
+
return {
|
|
5787
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5788
|
+
xAcsDingtalkAccessToken: 'string',
|
|
5789
|
+
};
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
constructor(map?: { [key: string]: any }) {
|
|
5793
|
+
super(map);
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5797
|
+
export class OfflineUnfurlingRegisterRequest extends $tea.Model {
|
|
5798
|
+
/**
|
|
5799
|
+
* @remarks
|
|
5800
|
+
* This parameter is required.
|
|
5801
|
+
*
|
|
5802
|
+
* @example
|
|
5803
|
+
* 3102xxxxxxx
|
|
5804
|
+
*/
|
|
5805
|
+
appId?: string;
|
|
5806
|
+
/**
|
|
5807
|
+
* @remarks
|
|
5808
|
+
* This parameter is required.
|
|
5809
|
+
*
|
|
5810
|
+
* @example
|
|
5183
5811
|
* 1
|
|
5184
5812
|
*/
|
|
5185
5813
|
id?: number;
|
|
@@ -7945,7 +8573,7 @@ export class QueryUnfurlingRegisterInfoResponse extends $tea.Model {
|
|
|
7945
8573
|
}
|
|
7946
8574
|
}
|
|
7947
8575
|
|
|
7948
|
-
export class
|
|
8576
|
+
export class QueryUserViewGroupLastMessageTimeHeaders extends $tea.Model {
|
|
7949
8577
|
commonHeaders?: { [key: string]: string };
|
|
7950
8578
|
xAcsDingtalkAccessToken?: string;
|
|
7951
8579
|
static names(): { [key: string]: string } {
|
|
@@ -7967,44 +8595,24 @@ export class ReleaseUnfurlingRegisterHeaders extends $tea.Model {
|
|
|
7967
8595
|
}
|
|
7968
8596
|
}
|
|
7969
8597
|
|
|
7970
|
-
export class
|
|
7971
|
-
/**
|
|
7972
|
-
* @remarks
|
|
7973
|
-
* This parameter is required.
|
|
7974
|
-
*
|
|
7975
|
-
* @example
|
|
7976
|
-
* 3102xxxxxxx
|
|
7977
|
-
*/
|
|
7978
|
-
appId?: string;
|
|
7979
|
-
/**
|
|
7980
|
-
* @remarks
|
|
7981
|
-
* This parameter is required.
|
|
7982
|
-
*
|
|
7983
|
-
* @example
|
|
7984
|
-
* 1
|
|
7985
|
-
*/
|
|
7986
|
-
id?: number;
|
|
8598
|
+
export class QueryUserViewGroupLastMessageTimeRequest extends $tea.Model {
|
|
7987
8599
|
/**
|
|
7988
8600
|
* @remarks
|
|
7989
8601
|
* This parameter is required.
|
|
7990
8602
|
*
|
|
7991
8603
|
* @example
|
|
7992
|
-
*
|
|
8604
|
+
* cidc4iLyQBuHFQRvxxxnz204Q==
|
|
7993
8605
|
*/
|
|
7994
|
-
|
|
8606
|
+
openConversationId?: string;
|
|
7995
8607
|
static names(): { [key: string]: string } {
|
|
7996
8608
|
return {
|
|
7997
|
-
|
|
7998
|
-
id: 'id',
|
|
7999
|
-
userId: 'userId',
|
|
8609
|
+
openConversationId: 'openConversationId',
|
|
8000
8610
|
};
|
|
8001
8611
|
}
|
|
8002
8612
|
|
|
8003
8613
|
static types(): { [key: string]: any } {
|
|
8004
8614
|
return {
|
|
8005
|
-
|
|
8006
|
-
id: 'number',
|
|
8007
|
-
userId: 'string',
|
|
8615
|
+
openConversationId: 'string',
|
|
8008
8616
|
};
|
|
8009
8617
|
}
|
|
8010
8618
|
|
|
@@ -8013,16 +8621,19 @@ export class ReleaseUnfurlingRegisterRequest extends $tea.Model {
|
|
|
8013
8621
|
}
|
|
8014
8622
|
}
|
|
8015
8623
|
|
|
8016
|
-
export class
|
|
8624
|
+
export class QueryUserViewGroupLastMessageTimeResponseBody extends $tea.Model {
|
|
8625
|
+
result?: QueryUserViewGroupLastMessageTimeResponseBodyResult;
|
|
8017
8626
|
success?: boolean;
|
|
8018
8627
|
static names(): { [key: string]: string } {
|
|
8019
8628
|
return {
|
|
8629
|
+
result: 'result',
|
|
8020
8630
|
success: 'success',
|
|
8021
8631
|
};
|
|
8022
8632
|
}
|
|
8023
8633
|
|
|
8024
8634
|
static types(): { [key: string]: any } {
|
|
8025
8635
|
return {
|
|
8636
|
+
result: QueryUserViewGroupLastMessageTimeResponseBodyResult,
|
|
8026
8637
|
success: 'boolean',
|
|
8027
8638
|
};
|
|
8028
8639
|
}
|
|
@@ -8032,10 +8643,10 @@ export class ReleaseUnfurlingRegisterResponseBody extends $tea.Model {
|
|
|
8032
8643
|
}
|
|
8033
8644
|
}
|
|
8034
8645
|
|
|
8035
|
-
export class
|
|
8646
|
+
export class QueryUserViewGroupLastMessageTimeResponse extends $tea.Model {
|
|
8036
8647
|
headers?: { [key: string]: string };
|
|
8037
8648
|
statusCode?: number;
|
|
8038
|
-
body?:
|
|
8649
|
+
body?: QueryUserViewGroupLastMessageTimeResponseBody;
|
|
8039
8650
|
static names(): { [key: string]: string } {
|
|
8040
8651
|
return {
|
|
8041
8652
|
headers: 'headers',
|
|
@@ -8048,7 +8659,7 @@ export class ReleaseUnfurlingRegisterResponse extends $tea.Model {
|
|
|
8048
8659
|
return {
|
|
8049
8660
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8050
8661
|
statusCode: 'number',
|
|
8051
|
-
body:
|
|
8662
|
+
body: QueryUserViewGroupLastMessageTimeResponseBody,
|
|
8052
8663
|
};
|
|
8053
8664
|
}
|
|
8054
8665
|
|
|
@@ -8057,7 +8668,7 @@ export class ReleaseUnfurlingRegisterResponse extends $tea.Model {
|
|
|
8057
8668
|
}
|
|
8058
8669
|
}
|
|
8059
8670
|
|
|
8060
|
-
export class
|
|
8671
|
+
export class ReadPersonalMessageHeaders extends $tea.Model {
|
|
8061
8672
|
commonHeaders?: { [key: string]: string };
|
|
8062
8673
|
xAcsDingtalkAccessToken?: string;
|
|
8063
8674
|
static names(): { [key: string]: string } {
|
|
@@ -8079,34 +8690,21 @@ export class RemoveRobotFromConversationHeaders extends $tea.Model {
|
|
|
8079
8690
|
}
|
|
8080
8691
|
}
|
|
8081
8692
|
|
|
8082
|
-
export class
|
|
8083
|
-
/**
|
|
8084
|
-
* @remarks
|
|
8085
|
-
* This parameter is required.
|
|
8086
|
-
*
|
|
8087
|
-
* @example
|
|
8088
|
-
* 123
|
|
8089
|
-
*/
|
|
8090
|
-
chatBotUserId?: string;
|
|
8693
|
+
export class ReadPersonalMessageRequest extends $tea.Model {
|
|
8091
8694
|
/**
|
|
8092
8695
|
* @remarks
|
|
8093
8696
|
* This parameter is required.
|
|
8094
|
-
*
|
|
8095
|
-
* @example
|
|
8096
|
-
* cid123cd
|
|
8097
8697
|
*/
|
|
8098
|
-
|
|
8698
|
+
dingOpenConversationMessageIdArray?: ReadPersonalMessageRequestDingOpenConversationMessageIdArray[];
|
|
8099
8699
|
static names(): { [key: string]: string } {
|
|
8100
8700
|
return {
|
|
8101
|
-
|
|
8102
|
-
openConversationId: 'openConversationId',
|
|
8701
|
+
dingOpenConversationMessageIdArray: 'dingOpenConversationMessageIdArray',
|
|
8103
8702
|
};
|
|
8104
8703
|
}
|
|
8105
8704
|
|
|
8106
8705
|
static types(): { [key: string]: any } {
|
|
8107
8706
|
return {
|
|
8108
|
-
|
|
8109
|
-
openConversationId: 'string',
|
|
8707
|
+
dingOpenConversationMessageIdArray: { 'type': 'array', 'itemType': ReadPersonalMessageRequestDingOpenConversationMessageIdArray },
|
|
8110
8708
|
};
|
|
8111
8709
|
}
|
|
8112
8710
|
|
|
@@ -8115,17 +8713,17 @@ export class RemoveRobotFromConversationRequest extends $tea.Model {
|
|
|
8115
8713
|
}
|
|
8116
8714
|
}
|
|
8117
8715
|
|
|
8118
|
-
export class
|
|
8119
|
-
|
|
8716
|
+
export class ReadPersonalMessageResponseBody extends $tea.Model {
|
|
8717
|
+
success?: boolean;
|
|
8120
8718
|
static names(): { [key: string]: string } {
|
|
8121
8719
|
return {
|
|
8122
|
-
|
|
8720
|
+
success: 'success',
|
|
8123
8721
|
};
|
|
8124
8722
|
}
|
|
8125
8723
|
|
|
8126
8724
|
static types(): { [key: string]: any } {
|
|
8127
8725
|
return {
|
|
8128
|
-
|
|
8726
|
+
success: 'boolean',
|
|
8129
8727
|
};
|
|
8130
8728
|
}
|
|
8131
8729
|
|
|
@@ -8134,10 +8732,10 @@ export class RemoveRobotFromConversationResponseBody extends $tea.Model {
|
|
|
8134
8732
|
}
|
|
8135
8733
|
}
|
|
8136
8734
|
|
|
8137
|
-
export class
|
|
8735
|
+
export class ReadPersonalMessageResponse extends $tea.Model {
|
|
8138
8736
|
headers?: { [key: string]: string };
|
|
8139
8737
|
statusCode?: number;
|
|
8140
|
-
body?:
|
|
8738
|
+
body?: ReadPersonalMessageResponseBody;
|
|
8141
8739
|
static names(): { [key: string]: string } {
|
|
8142
8740
|
return {
|
|
8143
8741
|
headers: 'headers',
|
|
@@ -8150,7 +8748,7 @@ export class RemoveRobotFromConversationResponse extends $tea.Model {
|
|
|
8150
8748
|
return {
|
|
8151
8749
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8152
8750
|
statusCode: 'number',
|
|
8153
|
-
body:
|
|
8751
|
+
body: ReadPersonalMessageResponseBody,
|
|
8154
8752
|
};
|
|
8155
8753
|
}
|
|
8156
8754
|
|
|
@@ -8159,7 +8757,7 @@ export class RemoveRobotFromConversationResponse extends $tea.Model {
|
|
|
8159
8757
|
}
|
|
8160
8758
|
}
|
|
8161
8759
|
|
|
8162
|
-
export class
|
|
8760
|
+
export class RecallPersonalMessageHeaders extends $tea.Model {
|
|
8163
8761
|
commonHeaders?: { [key: string]: string };
|
|
8164
8762
|
xAcsDingtalkAccessToken?: string;
|
|
8165
8763
|
static names(): { [key: string]: string } {
|
|
@@ -8181,44 +8779,28 @@ export class SearchInnerGroupsHeaders extends $tea.Model {
|
|
|
8181
8779
|
}
|
|
8182
8780
|
}
|
|
8183
8781
|
|
|
8184
|
-
export class
|
|
8782
|
+
export class RecallPersonalMessageRequest extends $tea.Model {
|
|
8185
8783
|
/**
|
|
8186
|
-
* @remarks
|
|
8187
|
-
* This parameter is required.
|
|
8188
|
-
*
|
|
8189
8784
|
* @example
|
|
8190
|
-
*
|
|
8785
|
+
* cidxxxx3451=
|
|
8191
8786
|
*/
|
|
8192
|
-
|
|
8787
|
+
openConversationId?: string;
|
|
8193
8788
|
/**
|
|
8194
|
-
* @remarks
|
|
8195
|
-
* This parameter is required.
|
|
8196
|
-
*
|
|
8197
8789
|
* @example
|
|
8198
|
-
*
|
|
8790
|
+
* msgxxx112
|
|
8199
8791
|
*/
|
|
8200
|
-
|
|
8201
|
-
/**
|
|
8202
|
-
* @remarks
|
|
8203
|
-
* This parameter is required.
|
|
8204
|
-
*
|
|
8205
|
-
* @example
|
|
8206
|
-
* 015*****
|
|
8207
|
-
*/
|
|
8208
|
-
userId?: string;
|
|
8792
|
+
openMessageId?: string;
|
|
8209
8793
|
static names(): { [key: string]: string } {
|
|
8210
8794
|
return {
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
userId: 'userId',
|
|
8795
|
+
openConversationId: 'openConversationId',
|
|
8796
|
+
openMessageId: 'openMessageId',
|
|
8214
8797
|
};
|
|
8215
8798
|
}
|
|
8216
8799
|
|
|
8217
8800
|
static types(): { [key: string]: any } {
|
|
8218
8801
|
return {
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
userId: 'string',
|
|
8802
|
+
openConversationId: 'string',
|
|
8803
|
+
openMessageId: 'string',
|
|
8222
8804
|
};
|
|
8223
8805
|
}
|
|
8224
8806
|
|
|
@@ -8227,17 +8809,17 @@ export class SearchInnerGroupsRequest extends $tea.Model {
|
|
|
8227
8809
|
}
|
|
8228
8810
|
}
|
|
8229
8811
|
|
|
8230
|
-
export class
|
|
8231
|
-
|
|
8812
|
+
export class RecallPersonalMessageResponseBody extends $tea.Model {
|
|
8813
|
+
success?: boolean;
|
|
8232
8814
|
static names(): { [key: string]: string } {
|
|
8233
8815
|
return {
|
|
8234
|
-
|
|
8816
|
+
success: 'success',
|
|
8235
8817
|
};
|
|
8236
8818
|
}
|
|
8237
8819
|
|
|
8238
8820
|
static types(): { [key: string]: any } {
|
|
8239
8821
|
return {
|
|
8240
|
-
|
|
8822
|
+
success: 'boolean',
|
|
8241
8823
|
};
|
|
8242
8824
|
}
|
|
8243
8825
|
|
|
@@ -8246,10 +8828,10 @@ export class SearchInnerGroupsResponseBody extends $tea.Model {
|
|
|
8246
8828
|
}
|
|
8247
8829
|
}
|
|
8248
8830
|
|
|
8249
|
-
export class
|
|
8831
|
+
export class RecallPersonalMessageResponse extends $tea.Model {
|
|
8250
8832
|
headers?: { [key: string]: string };
|
|
8251
8833
|
statusCode?: number;
|
|
8252
|
-
body?:
|
|
8834
|
+
body?: RecallPersonalMessageResponseBody;
|
|
8253
8835
|
static names(): { [key: string]: string } {
|
|
8254
8836
|
return {
|
|
8255
8837
|
headers: 'headers',
|
|
@@ -8262,7 +8844,7 @@ export class SearchInnerGroupsResponse extends $tea.Model {
|
|
|
8262
8844
|
return {
|
|
8263
8845
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8264
8846
|
statusCode: 'number',
|
|
8265
|
-
body:
|
|
8847
|
+
body: RecallPersonalMessageResponseBody,
|
|
8266
8848
|
};
|
|
8267
8849
|
}
|
|
8268
8850
|
|
|
@@ -8271,7 +8853,7 @@ export class SearchInnerGroupsResponse extends $tea.Model {
|
|
|
8271
8853
|
}
|
|
8272
8854
|
}
|
|
8273
8855
|
|
|
8274
|
-
export class
|
|
8856
|
+
export class ReleaseUnfurlingRegisterHeaders extends $tea.Model {
|
|
8275
8857
|
commonHeaders?: { [key: string]: string };
|
|
8276
8858
|
xAcsDingtalkAccessToken?: string;
|
|
8277
8859
|
static names(): { [key: string]: string } {
|
|
@@ -8293,75 +8875,44 @@ export class SendInteractiveCardHeaders extends $tea.Model {
|
|
|
8293
8875
|
}
|
|
8294
8876
|
}
|
|
8295
8877
|
|
|
8296
|
-
export class
|
|
8297
|
-
atOpenIds?: { [key: string]: string };
|
|
8298
|
-
callbackRouteKey?: string;
|
|
8299
|
-
/**
|
|
8300
|
-
* @remarks
|
|
8301
|
-
* This parameter is required.
|
|
8302
|
-
*/
|
|
8303
|
-
cardData?: SendInteractiveCardRequestCardData;
|
|
8304
|
-
cardOptions?: SendInteractiveCardRequestCardOptions;
|
|
8878
|
+
export class ReleaseUnfurlingRegisterRequest extends $tea.Model {
|
|
8305
8879
|
/**
|
|
8306
8880
|
* @remarks
|
|
8307
8881
|
* This parameter is required.
|
|
8882
|
+
*
|
|
8883
|
+
* @example
|
|
8884
|
+
* 3102xxxxxxx
|
|
8308
8885
|
*/
|
|
8309
|
-
|
|
8310
|
-
chatBotId?: string;
|
|
8886
|
+
appId?: string;
|
|
8311
8887
|
/**
|
|
8312
8888
|
* @remarks
|
|
8313
8889
|
* This parameter is required.
|
|
8890
|
+
*
|
|
8891
|
+
* @example
|
|
8892
|
+
* 1
|
|
8314
8893
|
*/
|
|
8315
|
-
|
|
8316
|
-
digitalWorkerCode?: string;
|
|
8317
|
-
openConversationId?: string;
|
|
8894
|
+
id?: number;
|
|
8318
8895
|
/**
|
|
8319
8896
|
* @remarks
|
|
8320
8897
|
* This parameter is required.
|
|
8898
|
+
*
|
|
8899
|
+
* @example
|
|
8900
|
+
* 37xxxx
|
|
8321
8901
|
*/
|
|
8322
|
-
|
|
8323
|
-
privateData?: { [key: string]: PrivateDataValue };
|
|
8324
|
-
pullStrategy?: boolean;
|
|
8325
|
-
receiverUserIdList?: string[];
|
|
8326
|
-
robotCode?: string;
|
|
8327
|
-
userIdType?: number;
|
|
8902
|
+
userId?: string;
|
|
8328
8903
|
static names(): { [key: string]: string } {
|
|
8329
8904
|
return {
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
cardOptions: 'cardOptions',
|
|
8334
|
-
cardTemplateId: 'cardTemplateId',
|
|
8335
|
-
chatBotId: 'chatBotId',
|
|
8336
|
-
conversationType: 'conversationType',
|
|
8337
|
-
digitalWorkerCode: 'digitalWorkerCode',
|
|
8338
|
-
openConversationId: 'openConversationId',
|
|
8339
|
-
outTrackId: 'outTrackId',
|
|
8340
|
-
privateData: 'privateData',
|
|
8341
|
-
pullStrategy: 'pullStrategy',
|
|
8342
|
-
receiverUserIdList: 'receiverUserIdList',
|
|
8343
|
-
robotCode: 'robotCode',
|
|
8344
|
-
userIdType: 'userIdType',
|
|
8905
|
+
appId: 'appId',
|
|
8906
|
+
id: 'id',
|
|
8907
|
+
userId: 'userId',
|
|
8345
8908
|
};
|
|
8346
8909
|
}
|
|
8347
8910
|
|
|
8348
8911
|
static types(): { [key: string]: any } {
|
|
8349
8912
|
return {
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
cardOptions: SendInteractiveCardRequestCardOptions,
|
|
8354
|
-
cardTemplateId: 'string',
|
|
8355
|
-
chatBotId: 'string',
|
|
8356
|
-
conversationType: 'number',
|
|
8357
|
-
digitalWorkerCode: 'string',
|
|
8358
|
-
openConversationId: 'string',
|
|
8359
|
-
outTrackId: 'string',
|
|
8360
|
-
privateData: { 'type': 'map', 'keyType': 'string', 'valueType': PrivateDataValue },
|
|
8361
|
-
pullStrategy: 'boolean',
|
|
8362
|
-
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
8363
|
-
robotCode: 'string',
|
|
8364
|
-
userIdType: 'number',
|
|
8913
|
+
appId: 'string',
|
|
8914
|
+
id: 'number',
|
|
8915
|
+
userId: 'string',
|
|
8365
8916
|
};
|
|
8366
8917
|
}
|
|
8367
8918
|
|
|
@@ -8370,19 +8921,16 @@ export class SendInteractiveCardRequest extends $tea.Model {
|
|
|
8370
8921
|
}
|
|
8371
8922
|
}
|
|
8372
8923
|
|
|
8373
|
-
export class
|
|
8374
|
-
result?: SendInteractiveCardResponseBodyResult;
|
|
8924
|
+
export class ReleaseUnfurlingRegisterResponseBody extends $tea.Model {
|
|
8375
8925
|
success?: boolean;
|
|
8376
8926
|
static names(): { [key: string]: string } {
|
|
8377
8927
|
return {
|
|
8378
|
-
result: 'result',
|
|
8379
8928
|
success: 'success',
|
|
8380
8929
|
};
|
|
8381
8930
|
}
|
|
8382
8931
|
|
|
8383
8932
|
static types(): { [key: string]: any } {
|
|
8384
8933
|
return {
|
|
8385
|
-
result: SendInteractiveCardResponseBodyResult,
|
|
8386
8934
|
success: 'boolean',
|
|
8387
8935
|
};
|
|
8388
8936
|
}
|
|
@@ -8392,10 +8940,10 @@ export class SendInteractiveCardResponseBody extends $tea.Model {
|
|
|
8392
8940
|
}
|
|
8393
8941
|
}
|
|
8394
8942
|
|
|
8395
|
-
export class
|
|
8943
|
+
export class ReleaseUnfurlingRegisterResponse extends $tea.Model {
|
|
8396
8944
|
headers?: { [key: string]: string };
|
|
8397
8945
|
statusCode?: number;
|
|
8398
|
-
body?:
|
|
8946
|
+
body?: ReleaseUnfurlingRegisterResponseBody;
|
|
8399
8947
|
static names(): { [key: string]: string } {
|
|
8400
8948
|
return {
|
|
8401
8949
|
headers: 'headers',
|
|
@@ -8408,7 +8956,7 @@ export class SendInteractiveCardResponse extends $tea.Model {
|
|
|
8408
8956
|
return {
|
|
8409
8957
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8410
8958
|
statusCode: 'number',
|
|
8411
|
-
body:
|
|
8959
|
+
body: ReleaseUnfurlingRegisterResponseBody,
|
|
8412
8960
|
};
|
|
8413
8961
|
}
|
|
8414
8962
|
|
|
@@ -8417,7 +8965,7 @@ export class SendInteractiveCardResponse extends $tea.Model {
|
|
|
8417
8965
|
}
|
|
8418
8966
|
}
|
|
8419
8967
|
|
|
8420
|
-
export class
|
|
8968
|
+
export class RemoveRobotFromConversationHeaders extends $tea.Model {
|
|
8421
8969
|
commonHeaders?: { [key: string]: string };
|
|
8422
8970
|
xAcsDingtalkAccessToken?: string;
|
|
8423
8971
|
static names(): { [key: string]: string } {
|
|
@@ -8439,62 +8987,34 @@ export class SendOTOInteractiveCardHeaders extends $tea.Model {
|
|
|
8439
8987
|
}
|
|
8440
8988
|
}
|
|
8441
8989
|
|
|
8442
|
-
export class
|
|
8443
|
-
atOpenIds?: { [key: string]: string };
|
|
8444
|
-
callbackRouteKey?: string;
|
|
8990
|
+
export class RemoveRobotFromConversationRequest extends $tea.Model {
|
|
8445
8991
|
/**
|
|
8446
8992
|
* @remarks
|
|
8447
8993
|
* This parameter is required.
|
|
8994
|
+
*
|
|
8995
|
+
* @example
|
|
8996
|
+
* 123
|
|
8448
8997
|
*/
|
|
8449
|
-
|
|
8450
|
-
cardOptions?: SendOTOInteractiveCardRequestCardOptions;
|
|
8998
|
+
chatBotUserId?: string;
|
|
8451
8999
|
/**
|
|
8452
9000
|
* @remarks
|
|
8453
9001
|
* This parameter is required.
|
|
9002
|
+
*
|
|
9003
|
+
* @example
|
|
9004
|
+
* cid123cd
|
|
8454
9005
|
*/
|
|
8455
|
-
cardTemplateId?: string;
|
|
8456
9006
|
openConversationId?: string;
|
|
8457
|
-
/**
|
|
8458
|
-
* @remarks
|
|
8459
|
-
* This parameter is required.
|
|
8460
|
-
*/
|
|
8461
|
-
outTrackId?: string;
|
|
8462
|
-
privateData?: { [key: string]: PrivateDataValue };
|
|
8463
|
-
pullStrategy?: boolean;
|
|
8464
|
-
receiverUserIdList?: string[];
|
|
8465
|
-
robotCode?: string;
|
|
8466
|
-
userIdType?: number;
|
|
8467
9007
|
static names(): { [key: string]: string } {
|
|
8468
9008
|
return {
|
|
8469
|
-
|
|
8470
|
-
callbackRouteKey: 'callbackRouteKey',
|
|
8471
|
-
cardData: 'cardData',
|
|
8472
|
-
cardOptions: 'cardOptions',
|
|
8473
|
-
cardTemplateId: 'cardTemplateId',
|
|
9009
|
+
chatBotUserId: 'chatBotUserId',
|
|
8474
9010
|
openConversationId: 'openConversationId',
|
|
8475
|
-
outTrackId: 'outTrackId',
|
|
8476
|
-
privateData: 'privateData',
|
|
8477
|
-
pullStrategy: 'pullStrategy',
|
|
8478
|
-
receiverUserIdList: 'receiverUserIdList',
|
|
8479
|
-
robotCode: 'robotCode',
|
|
8480
|
-
userIdType: 'userIdType',
|
|
8481
9011
|
};
|
|
8482
9012
|
}
|
|
8483
9013
|
|
|
8484
9014
|
static types(): { [key: string]: any } {
|
|
8485
9015
|
return {
|
|
8486
|
-
|
|
8487
|
-
callbackRouteKey: 'string',
|
|
8488
|
-
cardData: SendOTOInteractiveCardRequestCardData,
|
|
8489
|
-
cardOptions: SendOTOInteractiveCardRequestCardOptions,
|
|
8490
|
-
cardTemplateId: 'string',
|
|
9016
|
+
chatBotUserId: 'string',
|
|
8491
9017
|
openConversationId: 'string',
|
|
8492
|
-
outTrackId: 'string',
|
|
8493
|
-
privateData: { 'type': 'map', 'keyType': 'string', 'valueType': PrivateDataValue },
|
|
8494
|
-
pullStrategy: 'boolean',
|
|
8495
|
-
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
8496
|
-
robotCode: 'string',
|
|
8497
|
-
userIdType: 'number',
|
|
8498
9018
|
};
|
|
8499
9019
|
}
|
|
8500
9020
|
|
|
@@ -8503,20 +9023,17 @@ export class SendOTOInteractiveCardRequest extends $tea.Model {
|
|
|
8503
9023
|
}
|
|
8504
9024
|
}
|
|
8505
9025
|
|
|
8506
|
-
export class
|
|
8507
|
-
|
|
8508
|
-
success?: boolean;
|
|
9026
|
+
export class RemoveRobotFromConversationResponseBody extends $tea.Model {
|
|
9027
|
+
chatBotUserId?: string;
|
|
8509
9028
|
static names(): { [key: string]: string } {
|
|
8510
9029
|
return {
|
|
8511
|
-
|
|
8512
|
-
success: 'success',
|
|
9030
|
+
chatBotUserId: 'chatBotUserId',
|
|
8513
9031
|
};
|
|
8514
9032
|
}
|
|
8515
9033
|
|
|
8516
9034
|
static types(): { [key: string]: any } {
|
|
8517
9035
|
return {
|
|
8518
|
-
|
|
8519
|
-
success: 'boolean',
|
|
9036
|
+
chatBotUserId: 'string',
|
|
8520
9037
|
};
|
|
8521
9038
|
}
|
|
8522
9039
|
|
|
@@ -8525,10 +9042,10 @@ export class SendOTOInteractiveCardResponseBody extends $tea.Model {
|
|
|
8525
9042
|
}
|
|
8526
9043
|
}
|
|
8527
9044
|
|
|
8528
|
-
export class
|
|
9045
|
+
export class RemoveRobotFromConversationResponse extends $tea.Model {
|
|
8529
9046
|
headers?: { [key: string]: string };
|
|
8530
9047
|
statusCode?: number;
|
|
8531
|
-
body?:
|
|
9048
|
+
body?: RemoveRobotFromConversationResponseBody;
|
|
8532
9049
|
static names(): { [key: string]: string } {
|
|
8533
9050
|
return {
|
|
8534
9051
|
headers: 'headers',
|
|
@@ -8541,7 +9058,7 @@ export class SendOTOInteractiveCardResponse extends $tea.Model {
|
|
|
8541
9058
|
return {
|
|
8542
9059
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8543
9060
|
statusCode: 'number',
|
|
8544
|
-
body:
|
|
9061
|
+
body: RemoveRobotFromConversationResponseBody,
|
|
8545
9062
|
};
|
|
8546
9063
|
}
|
|
8547
9064
|
|
|
@@ -8550,7 +9067,7 @@ export class SendOTOInteractiveCardResponse extends $tea.Model {
|
|
|
8550
9067
|
}
|
|
8551
9068
|
}
|
|
8552
9069
|
|
|
8553
|
-
export class
|
|
9070
|
+
export class SearchInnerGroupsHeaders extends $tea.Model {
|
|
8554
9071
|
commonHeaders?: { [key: string]: string };
|
|
8555
9072
|
xAcsDingtalkAccessToken?: string;
|
|
8556
9073
|
static names(): { [key: string]: string } {
|
|
@@ -8572,48 +9089,44 @@ export class SendPersonalMessageHeaders extends $tea.Model {
|
|
|
8572
9089
|
}
|
|
8573
9090
|
}
|
|
8574
9091
|
|
|
8575
|
-
export class
|
|
9092
|
+
export class SearchInnerGroupsRequest extends $tea.Model {
|
|
8576
9093
|
/**
|
|
8577
9094
|
* @remarks
|
|
8578
9095
|
* This parameter is required.
|
|
8579
9096
|
*
|
|
8580
9097
|
* @example
|
|
8581
|
-
*
|
|
9098
|
+
* 20
|
|
8582
9099
|
*/
|
|
8583
|
-
|
|
9100
|
+
maxResults?: number;
|
|
8584
9101
|
/**
|
|
8585
9102
|
* @remarks
|
|
8586
9103
|
* This parameter is required.
|
|
8587
9104
|
*
|
|
8588
9105
|
* @example
|
|
8589
|
-
*
|
|
8590
|
-
*/
|
|
8591
|
-
msgType?: string;
|
|
8592
|
-
/**
|
|
8593
|
-
* @example
|
|
8594
|
-
* cidc4iLyQBuHFQRvzxznz204Q==
|
|
9106
|
+
* 测试关键词
|
|
8595
9107
|
*/
|
|
8596
|
-
|
|
9108
|
+
searchKey?: string;
|
|
8597
9109
|
/**
|
|
9110
|
+
* @remarks
|
|
9111
|
+
* This parameter is required.
|
|
9112
|
+
*
|
|
8598
9113
|
* @example
|
|
8599
|
-
*
|
|
9114
|
+
* 015*****
|
|
8600
9115
|
*/
|
|
8601
|
-
|
|
9116
|
+
userId?: string;
|
|
8602
9117
|
static names(): { [key: string]: string } {
|
|
8603
9118
|
return {
|
|
8604
|
-
|
|
8605
|
-
|
|
8606
|
-
|
|
8607
|
-
receiverUid: 'receiverUid',
|
|
9119
|
+
maxResults: 'maxResults',
|
|
9120
|
+
searchKey: 'searchKey',
|
|
9121
|
+
userId: 'userId',
|
|
8608
9122
|
};
|
|
8609
9123
|
}
|
|
8610
9124
|
|
|
8611
9125
|
static types(): { [key: string]: any } {
|
|
8612
9126
|
return {
|
|
8613
|
-
|
|
8614
|
-
|
|
8615
|
-
|
|
8616
|
-
receiverUid: 'string',
|
|
9127
|
+
maxResults: 'number',
|
|
9128
|
+
searchKey: 'string',
|
|
9129
|
+
userId: 'string',
|
|
8617
9130
|
};
|
|
8618
9131
|
}
|
|
8619
9132
|
|
|
@@ -8622,20 +9135,17 @@ export class SendPersonalMessageRequest extends $tea.Model {
|
|
|
8622
9135
|
}
|
|
8623
9136
|
}
|
|
8624
9137
|
|
|
8625
|
-
export class
|
|
8626
|
-
|
|
8627
|
-
success?: string;
|
|
9138
|
+
export class SearchInnerGroupsResponseBody extends $tea.Model {
|
|
9139
|
+
groupInfos?: SearchInnerGroupsResponseBodyGroupInfos[];
|
|
8628
9140
|
static names(): { [key: string]: string } {
|
|
8629
9141
|
return {
|
|
8630
|
-
|
|
8631
|
-
success: 'success',
|
|
9142
|
+
groupInfos: 'groupInfos',
|
|
8632
9143
|
};
|
|
8633
9144
|
}
|
|
8634
9145
|
|
|
8635
9146
|
static types(): { [key: string]: any } {
|
|
8636
9147
|
return {
|
|
8637
|
-
|
|
8638
|
-
success: 'string',
|
|
9148
|
+
groupInfos: { 'type': 'array', 'itemType': SearchInnerGroupsResponseBodyGroupInfos },
|
|
8639
9149
|
};
|
|
8640
9150
|
}
|
|
8641
9151
|
|
|
@@ -8644,10 +9154,10 @@ export class SendPersonalMessageResponseBody extends $tea.Model {
|
|
|
8644
9154
|
}
|
|
8645
9155
|
}
|
|
8646
9156
|
|
|
8647
|
-
export class
|
|
9157
|
+
export class SearchInnerGroupsResponse extends $tea.Model {
|
|
8648
9158
|
headers?: { [key: string]: string };
|
|
8649
9159
|
statusCode?: number;
|
|
8650
|
-
body?:
|
|
9160
|
+
body?: SearchInnerGroupsResponseBody;
|
|
8651
9161
|
static names(): { [key: string]: string } {
|
|
8652
9162
|
return {
|
|
8653
9163
|
headers: 'headers',
|
|
@@ -8660,7 +9170,7 @@ export class SendPersonalMessageResponse extends $tea.Model {
|
|
|
8660
9170
|
return {
|
|
8661
9171
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8662
9172
|
statusCode: 'number',
|
|
8663
|
-
body:
|
|
9173
|
+
body: SearchInnerGroupsResponseBody,
|
|
8664
9174
|
};
|
|
8665
9175
|
}
|
|
8666
9176
|
|
|
@@ -8669,7 +9179,7 @@ export class SendPersonalMessageResponse extends $tea.Model {
|
|
|
8669
9179
|
}
|
|
8670
9180
|
}
|
|
8671
9181
|
|
|
8672
|
-
export class
|
|
9182
|
+
export class SendInteractiveCardHeaders extends $tea.Model {
|
|
8673
9183
|
commonHeaders?: { [key: string]: string };
|
|
8674
9184
|
xAcsDingtalkAccessToken?: string;
|
|
8675
9185
|
static names(): { [key: string]: string } {
|
|
@@ -8691,34 +9201,716 @@ export class SendRobotInteractiveCardHeaders extends $tea.Model {
|
|
|
8691
9201
|
}
|
|
8692
9202
|
}
|
|
8693
9203
|
|
|
8694
|
-
export class
|
|
9204
|
+
export class SendInteractiveCardRequest extends $tea.Model {
|
|
9205
|
+
atOpenIds?: { [key: string]: string };
|
|
9206
|
+
callbackRouteKey?: string;
|
|
8695
9207
|
/**
|
|
8696
|
-
* @
|
|
8697
|
-
*
|
|
9208
|
+
* @remarks
|
|
9209
|
+
* This parameter is required.
|
|
8698
9210
|
*/
|
|
8699
|
-
|
|
9211
|
+
cardData?: SendInteractiveCardRequestCardData;
|
|
9212
|
+
cardOptions?: SendInteractiveCardRequestCardOptions;
|
|
8700
9213
|
/**
|
|
8701
9214
|
* @remarks
|
|
8702
9215
|
* This parameter is required.
|
|
8703
|
-
*
|
|
8704
|
-
* @example
|
|
8705
|
-
* cardXXXX01
|
|
8706
9216
|
*/
|
|
8707
|
-
|
|
9217
|
+
cardTemplateId?: string;
|
|
9218
|
+
chatBotId?: string;
|
|
8708
9219
|
/**
|
|
8709
9220
|
* @remarks
|
|
8710
9221
|
* This parameter is required.
|
|
8711
|
-
*
|
|
8712
|
-
* @example
|
|
8713
|
-
* 根据具体的cardTemplateId参考文档格式
|
|
8714
9222
|
*/
|
|
8715
|
-
|
|
9223
|
+
conversationType?: number;
|
|
9224
|
+
digitalWorkerCode?: string;
|
|
9225
|
+
openConversationId?: string;
|
|
8716
9226
|
/**
|
|
8717
9227
|
* @remarks
|
|
8718
9228
|
* This parameter is required.
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
9229
|
+
*/
|
|
9230
|
+
outTrackId?: string;
|
|
9231
|
+
privateData?: { [key: string]: PrivateDataValue };
|
|
9232
|
+
pullStrategy?: boolean;
|
|
9233
|
+
receiverUserIdList?: string[];
|
|
9234
|
+
robotCode?: string;
|
|
9235
|
+
userIdType?: number;
|
|
9236
|
+
static names(): { [key: string]: string } {
|
|
9237
|
+
return {
|
|
9238
|
+
atOpenIds: 'atOpenIds',
|
|
9239
|
+
callbackRouteKey: 'callbackRouteKey',
|
|
9240
|
+
cardData: 'cardData',
|
|
9241
|
+
cardOptions: 'cardOptions',
|
|
9242
|
+
cardTemplateId: 'cardTemplateId',
|
|
9243
|
+
chatBotId: 'chatBotId',
|
|
9244
|
+
conversationType: 'conversationType',
|
|
9245
|
+
digitalWorkerCode: 'digitalWorkerCode',
|
|
9246
|
+
openConversationId: 'openConversationId',
|
|
9247
|
+
outTrackId: 'outTrackId',
|
|
9248
|
+
privateData: 'privateData',
|
|
9249
|
+
pullStrategy: 'pullStrategy',
|
|
9250
|
+
receiverUserIdList: 'receiverUserIdList',
|
|
9251
|
+
robotCode: 'robotCode',
|
|
9252
|
+
userIdType: 'userIdType',
|
|
9253
|
+
};
|
|
9254
|
+
}
|
|
9255
|
+
|
|
9256
|
+
static types(): { [key: string]: any } {
|
|
9257
|
+
return {
|
|
9258
|
+
atOpenIds: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9259
|
+
callbackRouteKey: 'string',
|
|
9260
|
+
cardData: SendInteractiveCardRequestCardData,
|
|
9261
|
+
cardOptions: SendInteractiveCardRequestCardOptions,
|
|
9262
|
+
cardTemplateId: 'string',
|
|
9263
|
+
chatBotId: 'string',
|
|
9264
|
+
conversationType: 'number',
|
|
9265
|
+
digitalWorkerCode: 'string',
|
|
9266
|
+
openConversationId: 'string',
|
|
9267
|
+
outTrackId: 'string',
|
|
9268
|
+
privateData: { 'type': 'map', 'keyType': 'string', 'valueType': PrivateDataValue },
|
|
9269
|
+
pullStrategy: 'boolean',
|
|
9270
|
+
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
9271
|
+
robotCode: 'string',
|
|
9272
|
+
userIdType: 'number',
|
|
9273
|
+
};
|
|
9274
|
+
}
|
|
9275
|
+
|
|
9276
|
+
constructor(map?: { [key: string]: any }) {
|
|
9277
|
+
super(map);
|
|
9278
|
+
}
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
export class SendInteractiveCardResponseBody extends $tea.Model {
|
|
9282
|
+
result?: SendInteractiveCardResponseBodyResult;
|
|
9283
|
+
success?: boolean;
|
|
9284
|
+
static names(): { [key: string]: string } {
|
|
9285
|
+
return {
|
|
9286
|
+
result: 'result',
|
|
9287
|
+
success: 'success',
|
|
9288
|
+
};
|
|
9289
|
+
}
|
|
9290
|
+
|
|
9291
|
+
static types(): { [key: string]: any } {
|
|
9292
|
+
return {
|
|
9293
|
+
result: SendInteractiveCardResponseBodyResult,
|
|
9294
|
+
success: 'boolean',
|
|
9295
|
+
};
|
|
9296
|
+
}
|
|
9297
|
+
|
|
9298
|
+
constructor(map?: { [key: string]: any }) {
|
|
9299
|
+
super(map);
|
|
9300
|
+
}
|
|
9301
|
+
}
|
|
9302
|
+
|
|
9303
|
+
export class SendInteractiveCardResponse extends $tea.Model {
|
|
9304
|
+
headers?: { [key: string]: string };
|
|
9305
|
+
statusCode?: number;
|
|
9306
|
+
body?: SendInteractiveCardResponseBody;
|
|
9307
|
+
static names(): { [key: string]: string } {
|
|
9308
|
+
return {
|
|
9309
|
+
headers: 'headers',
|
|
9310
|
+
statusCode: 'statusCode',
|
|
9311
|
+
body: 'body',
|
|
9312
|
+
};
|
|
9313
|
+
}
|
|
9314
|
+
|
|
9315
|
+
static types(): { [key: string]: any } {
|
|
9316
|
+
return {
|
|
9317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9318
|
+
statusCode: 'number',
|
|
9319
|
+
body: SendInteractiveCardResponseBody,
|
|
9320
|
+
};
|
|
9321
|
+
}
|
|
9322
|
+
|
|
9323
|
+
constructor(map?: { [key: string]: any }) {
|
|
9324
|
+
super(map);
|
|
9325
|
+
}
|
|
9326
|
+
}
|
|
9327
|
+
|
|
9328
|
+
export class SendOTOInteractiveCardHeaders extends $tea.Model {
|
|
9329
|
+
commonHeaders?: { [key: string]: string };
|
|
9330
|
+
xAcsDingtalkAccessToken?: string;
|
|
9331
|
+
static names(): { [key: string]: string } {
|
|
9332
|
+
return {
|
|
9333
|
+
commonHeaders: 'commonHeaders',
|
|
9334
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
9335
|
+
};
|
|
9336
|
+
}
|
|
9337
|
+
|
|
9338
|
+
static types(): { [key: string]: any } {
|
|
9339
|
+
return {
|
|
9340
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9341
|
+
xAcsDingtalkAccessToken: 'string',
|
|
9342
|
+
};
|
|
9343
|
+
}
|
|
9344
|
+
|
|
9345
|
+
constructor(map?: { [key: string]: any }) {
|
|
9346
|
+
super(map);
|
|
9347
|
+
}
|
|
9348
|
+
}
|
|
9349
|
+
|
|
9350
|
+
export class SendOTOInteractiveCardRequest extends $tea.Model {
|
|
9351
|
+
atOpenIds?: { [key: string]: string };
|
|
9352
|
+
callbackRouteKey?: string;
|
|
9353
|
+
/**
|
|
9354
|
+
* @remarks
|
|
9355
|
+
* This parameter is required.
|
|
9356
|
+
*/
|
|
9357
|
+
cardData?: SendOTOInteractiveCardRequestCardData;
|
|
9358
|
+
cardOptions?: SendOTOInteractiveCardRequestCardOptions;
|
|
9359
|
+
/**
|
|
9360
|
+
* @remarks
|
|
9361
|
+
* This parameter is required.
|
|
9362
|
+
*/
|
|
9363
|
+
cardTemplateId?: string;
|
|
9364
|
+
openConversationId?: string;
|
|
9365
|
+
/**
|
|
9366
|
+
* @remarks
|
|
9367
|
+
* This parameter is required.
|
|
9368
|
+
*/
|
|
9369
|
+
outTrackId?: string;
|
|
9370
|
+
privateData?: { [key: string]: PrivateDataValue };
|
|
9371
|
+
pullStrategy?: boolean;
|
|
9372
|
+
receiverUserIdList?: string[];
|
|
9373
|
+
robotCode?: string;
|
|
9374
|
+
userIdType?: number;
|
|
9375
|
+
static names(): { [key: string]: string } {
|
|
9376
|
+
return {
|
|
9377
|
+
atOpenIds: 'atOpenIds',
|
|
9378
|
+
callbackRouteKey: 'callbackRouteKey',
|
|
9379
|
+
cardData: 'cardData',
|
|
9380
|
+
cardOptions: 'cardOptions',
|
|
9381
|
+
cardTemplateId: 'cardTemplateId',
|
|
9382
|
+
openConversationId: 'openConversationId',
|
|
9383
|
+
outTrackId: 'outTrackId',
|
|
9384
|
+
privateData: 'privateData',
|
|
9385
|
+
pullStrategy: 'pullStrategy',
|
|
9386
|
+
receiverUserIdList: 'receiverUserIdList',
|
|
9387
|
+
robotCode: 'robotCode',
|
|
9388
|
+
userIdType: 'userIdType',
|
|
9389
|
+
};
|
|
9390
|
+
}
|
|
9391
|
+
|
|
9392
|
+
static types(): { [key: string]: any } {
|
|
9393
|
+
return {
|
|
9394
|
+
atOpenIds: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9395
|
+
callbackRouteKey: 'string',
|
|
9396
|
+
cardData: SendOTOInteractiveCardRequestCardData,
|
|
9397
|
+
cardOptions: SendOTOInteractiveCardRequestCardOptions,
|
|
9398
|
+
cardTemplateId: 'string',
|
|
9399
|
+
openConversationId: 'string',
|
|
9400
|
+
outTrackId: 'string',
|
|
9401
|
+
privateData: { 'type': 'map', 'keyType': 'string', 'valueType': PrivateDataValue },
|
|
9402
|
+
pullStrategy: 'boolean',
|
|
9403
|
+
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
9404
|
+
robotCode: 'string',
|
|
9405
|
+
userIdType: 'number',
|
|
9406
|
+
};
|
|
9407
|
+
}
|
|
9408
|
+
|
|
9409
|
+
constructor(map?: { [key: string]: any }) {
|
|
9410
|
+
super(map);
|
|
9411
|
+
}
|
|
9412
|
+
}
|
|
9413
|
+
|
|
9414
|
+
export class SendOTOInteractiveCardResponseBody extends $tea.Model {
|
|
9415
|
+
result?: SendOTOInteractiveCardResponseBodyResult;
|
|
9416
|
+
success?: boolean;
|
|
9417
|
+
static names(): { [key: string]: string } {
|
|
9418
|
+
return {
|
|
9419
|
+
result: 'result',
|
|
9420
|
+
success: 'success',
|
|
9421
|
+
};
|
|
9422
|
+
}
|
|
9423
|
+
|
|
9424
|
+
static types(): { [key: string]: any } {
|
|
9425
|
+
return {
|
|
9426
|
+
result: SendOTOInteractiveCardResponseBodyResult,
|
|
9427
|
+
success: 'boolean',
|
|
9428
|
+
};
|
|
9429
|
+
}
|
|
9430
|
+
|
|
9431
|
+
constructor(map?: { [key: string]: any }) {
|
|
9432
|
+
super(map);
|
|
9433
|
+
}
|
|
9434
|
+
}
|
|
9435
|
+
|
|
9436
|
+
export class SendOTOInteractiveCardResponse extends $tea.Model {
|
|
9437
|
+
headers?: { [key: string]: string };
|
|
9438
|
+
statusCode?: number;
|
|
9439
|
+
body?: SendOTOInteractiveCardResponseBody;
|
|
9440
|
+
static names(): { [key: string]: string } {
|
|
9441
|
+
return {
|
|
9442
|
+
headers: 'headers',
|
|
9443
|
+
statusCode: 'statusCode',
|
|
9444
|
+
body: 'body',
|
|
9445
|
+
};
|
|
9446
|
+
}
|
|
9447
|
+
|
|
9448
|
+
static types(): { [key: string]: any } {
|
|
9449
|
+
return {
|
|
9450
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9451
|
+
statusCode: 'number',
|
|
9452
|
+
body: SendOTOInteractiveCardResponseBody,
|
|
9453
|
+
};
|
|
9454
|
+
}
|
|
9455
|
+
|
|
9456
|
+
constructor(map?: { [key: string]: any }) {
|
|
9457
|
+
super(map);
|
|
9458
|
+
}
|
|
9459
|
+
}
|
|
9460
|
+
|
|
9461
|
+
export class SendPersonalMessageHeaders extends $tea.Model {
|
|
9462
|
+
commonHeaders?: { [key: string]: string };
|
|
9463
|
+
xAcsDingtalkAccessToken?: string;
|
|
9464
|
+
static names(): { [key: string]: string } {
|
|
9465
|
+
return {
|
|
9466
|
+
commonHeaders: 'commonHeaders',
|
|
9467
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
9468
|
+
};
|
|
9469
|
+
}
|
|
9470
|
+
|
|
9471
|
+
static types(): { [key: string]: any } {
|
|
9472
|
+
return {
|
|
9473
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9474
|
+
xAcsDingtalkAccessToken: 'string',
|
|
9475
|
+
};
|
|
9476
|
+
}
|
|
9477
|
+
|
|
9478
|
+
constructor(map?: { [key: string]: any }) {
|
|
9479
|
+
super(map);
|
|
9480
|
+
}
|
|
9481
|
+
}
|
|
9482
|
+
|
|
9483
|
+
export class SendPersonalMessageRequest extends $tea.Model {
|
|
9484
|
+
/**
|
|
9485
|
+
* @remarks
|
|
9486
|
+
* This parameter is required.
|
|
9487
|
+
*
|
|
9488
|
+
* @example
|
|
9489
|
+
* {"content":"月会通知<@all> ","at":{"atUserIds":[],"isAtAll":true}}
|
|
9490
|
+
*/
|
|
9491
|
+
content?: string;
|
|
9492
|
+
/**
|
|
9493
|
+
* @remarks
|
|
9494
|
+
* This parameter is required.
|
|
9495
|
+
*
|
|
9496
|
+
* @example
|
|
9497
|
+
* text
|
|
9498
|
+
*/
|
|
9499
|
+
msgType?: string;
|
|
9500
|
+
/**
|
|
9501
|
+
* @example
|
|
9502
|
+
* cidc4iLyQBuHFQRvzxznz204Q==
|
|
9503
|
+
*/
|
|
9504
|
+
openConversationId?: string;
|
|
9505
|
+
/**
|
|
9506
|
+
* @example
|
|
9507
|
+
* 1662055829854977
|
|
9508
|
+
*/
|
|
9509
|
+
receiverUserId?: string;
|
|
9510
|
+
static names(): { [key: string]: string } {
|
|
9511
|
+
return {
|
|
9512
|
+
content: 'content',
|
|
9513
|
+
msgType: 'msgType',
|
|
9514
|
+
openConversationId: 'openConversationId',
|
|
9515
|
+
receiverUserId: 'receiverUserId',
|
|
9516
|
+
};
|
|
9517
|
+
}
|
|
9518
|
+
|
|
9519
|
+
static types(): { [key: string]: any } {
|
|
9520
|
+
return {
|
|
9521
|
+
content: 'string',
|
|
9522
|
+
msgType: 'string',
|
|
9523
|
+
openConversationId: 'string',
|
|
9524
|
+
receiverUserId: 'string',
|
|
9525
|
+
};
|
|
9526
|
+
}
|
|
9527
|
+
|
|
9528
|
+
constructor(map?: { [key: string]: any }) {
|
|
9529
|
+
super(map);
|
|
9530
|
+
}
|
|
9531
|
+
}
|
|
9532
|
+
|
|
9533
|
+
export class SendPersonalMessageResponseBody extends $tea.Model {
|
|
9534
|
+
result?: SendPersonalMessageResponseBodyResult;
|
|
9535
|
+
success?: string;
|
|
9536
|
+
static names(): { [key: string]: string } {
|
|
9537
|
+
return {
|
|
9538
|
+
result: 'result',
|
|
9539
|
+
success: 'success',
|
|
9540
|
+
};
|
|
9541
|
+
}
|
|
9542
|
+
|
|
9543
|
+
static types(): { [key: string]: any } {
|
|
9544
|
+
return {
|
|
9545
|
+
result: SendPersonalMessageResponseBodyResult,
|
|
9546
|
+
success: 'string',
|
|
9547
|
+
};
|
|
9548
|
+
}
|
|
9549
|
+
|
|
9550
|
+
constructor(map?: { [key: string]: any }) {
|
|
9551
|
+
super(map);
|
|
9552
|
+
}
|
|
9553
|
+
}
|
|
9554
|
+
|
|
9555
|
+
export class SendPersonalMessageResponse extends $tea.Model {
|
|
9556
|
+
headers?: { [key: string]: string };
|
|
9557
|
+
statusCode?: number;
|
|
9558
|
+
body?: SendPersonalMessageResponseBody;
|
|
9559
|
+
static names(): { [key: string]: string } {
|
|
9560
|
+
return {
|
|
9561
|
+
headers: 'headers',
|
|
9562
|
+
statusCode: 'statusCode',
|
|
9563
|
+
body: 'body',
|
|
9564
|
+
};
|
|
9565
|
+
}
|
|
9566
|
+
|
|
9567
|
+
static types(): { [key: string]: any } {
|
|
9568
|
+
return {
|
|
9569
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9570
|
+
statusCode: 'number',
|
|
9571
|
+
body: SendPersonalMessageResponseBody,
|
|
9572
|
+
};
|
|
9573
|
+
}
|
|
9574
|
+
|
|
9575
|
+
constructor(map?: { [key: string]: any }) {
|
|
9576
|
+
super(map);
|
|
9577
|
+
}
|
|
9578
|
+
}
|
|
9579
|
+
|
|
9580
|
+
export class SendRobotInteractiveCardHeaders extends $tea.Model {
|
|
9581
|
+
commonHeaders?: { [key: string]: string };
|
|
9582
|
+
xAcsDingtalkAccessToken?: string;
|
|
9583
|
+
static names(): { [key: string]: string } {
|
|
9584
|
+
return {
|
|
9585
|
+
commonHeaders: 'commonHeaders',
|
|
9586
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
9587
|
+
};
|
|
9588
|
+
}
|
|
9589
|
+
|
|
9590
|
+
static types(): { [key: string]: any } {
|
|
9591
|
+
return {
|
|
9592
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9593
|
+
xAcsDingtalkAccessToken: 'string',
|
|
9594
|
+
};
|
|
9595
|
+
}
|
|
9596
|
+
|
|
9597
|
+
constructor(map?: { [key: string]: any }) {
|
|
9598
|
+
super(map);
|
|
9599
|
+
}
|
|
9600
|
+
}
|
|
9601
|
+
|
|
9602
|
+
export class SendRobotInteractiveCardRequest extends $tea.Model {
|
|
9603
|
+
/**
|
|
9604
|
+
* @example
|
|
9605
|
+
* https://xxx
|
|
9606
|
+
*/
|
|
9607
|
+
callbackUrl?: string;
|
|
9608
|
+
/**
|
|
9609
|
+
* @remarks
|
|
9610
|
+
* This parameter is required.
|
|
9611
|
+
*
|
|
9612
|
+
* @example
|
|
9613
|
+
* cardXXXX01
|
|
9614
|
+
*/
|
|
9615
|
+
cardBizId?: string;
|
|
9616
|
+
/**
|
|
9617
|
+
* @remarks
|
|
9618
|
+
* This parameter is required.
|
|
9619
|
+
*
|
|
9620
|
+
* @example
|
|
9621
|
+
* 根据具体的cardTemplateId参考文档格式
|
|
9622
|
+
*/
|
|
9623
|
+
cardData?: string;
|
|
9624
|
+
/**
|
|
9625
|
+
* @remarks
|
|
9626
|
+
* This parameter is required.
|
|
9627
|
+
*
|
|
9628
|
+
* @example
|
|
9629
|
+
* xxxxxxxx
|
|
9630
|
+
*/
|
|
9631
|
+
cardTemplateId?: string;
|
|
9632
|
+
/**
|
|
9633
|
+
* @example
|
|
9634
|
+
* cidXXXX
|
|
9635
|
+
*/
|
|
9636
|
+
openConversationId?: string;
|
|
9637
|
+
pullStrategy?: boolean;
|
|
9638
|
+
/**
|
|
9639
|
+
* @remarks
|
|
9640
|
+
* This parameter is required.
|
|
9641
|
+
*
|
|
9642
|
+
* @example
|
|
9643
|
+
* xxxxxx
|
|
9644
|
+
*/
|
|
9645
|
+
robotCode?: string;
|
|
9646
|
+
sendOptions?: SendRobotInteractiveCardRequestSendOptions;
|
|
9647
|
+
/**
|
|
9648
|
+
* @example
|
|
9649
|
+
* 以userId为例:{"userId":"userId0001"};以unionId为例{"unionId":"unionId001"}
|
|
9650
|
+
*/
|
|
9651
|
+
singleChatReceiver?: string;
|
|
9652
|
+
unionIdPrivateDataMap?: string;
|
|
9653
|
+
userIdPrivateDataMap?: string;
|
|
9654
|
+
static names(): { [key: string]: string } {
|
|
9655
|
+
return {
|
|
9656
|
+
callbackUrl: 'callbackUrl',
|
|
9657
|
+
cardBizId: 'cardBizId',
|
|
9658
|
+
cardData: 'cardData',
|
|
9659
|
+
cardTemplateId: 'cardTemplateId',
|
|
9660
|
+
openConversationId: 'openConversationId',
|
|
9661
|
+
pullStrategy: 'pullStrategy',
|
|
9662
|
+
robotCode: 'robotCode',
|
|
9663
|
+
sendOptions: 'sendOptions',
|
|
9664
|
+
singleChatReceiver: 'singleChatReceiver',
|
|
9665
|
+
unionIdPrivateDataMap: 'unionIdPrivateDataMap',
|
|
9666
|
+
userIdPrivateDataMap: 'userIdPrivateDataMap',
|
|
9667
|
+
};
|
|
9668
|
+
}
|
|
9669
|
+
|
|
9670
|
+
static types(): { [key: string]: any } {
|
|
9671
|
+
return {
|
|
9672
|
+
callbackUrl: 'string',
|
|
9673
|
+
cardBizId: 'string',
|
|
9674
|
+
cardData: 'string',
|
|
9675
|
+
cardTemplateId: 'string',
|
|
9676
|
+
openConversationId: 'string',
|
|
9677
|
+
pullStrategy: 'boolean',
|
|
9678
|
+
robotCode: 'string',
|
|
9679
|
+
sendOptions: SendRobotInteractiveCardRequestSendOptions,
|
|
9680
|
+
singleChatReceiver: 'string',
|
|
9681
|
+
unionIdPrivateDataMap: 'string',
|
|
9682
|
+
userIdPrivateDataMap: 'string',
|
|
9683
|
+
};
|
|
9684
|
+
}
|
|
9685
|
+
|
|
9686
|
+
constructor(map?: { [key: string]: any }) {
|
|
9687
|
+
super(map);
|
|
9688
|
+
}
|
|
9689
|
+
}
|
|
9690
|
+
|
|
9691
|
+
export class SendRobotInteractiveCardResponseBody extends $tea.Model {
|
|
9692
|
+
/**
|
|
9693
|
+
* @example
|
|
9694
|
+
* xxxxxx
|
|
9695
|
+
*/
|
|
9696
|
+
processQueryKey?: string;
|
|
9697
|
+
static names(): { [key: string]: string } {
|
|
9698
|
+
return {
|
|
9699
|
+
processQueryKey: 'processQueryKey',
|
|
9700
|
+
};
|
|
9701
|
+
}
|
|
9702
|
+
|
|
9703
|
+
static types(): { [key: string]: any } {
|
|
9704
|
+
return {
|
|
9705
|
+
processQueryKey: 'string',
|
|
9706
|
+
};
|
|
9707
|
+
}
|
|
9708
|
+
|
|
9709
|
+
constructor(map?: { [key: string]: any }) {
|
|
9710
|
+
super(map);
|
|
9711
|
+
}
|
|
9712
|
+
}
|
|
9713
|
+
|
|
9714
|
+
export class SendRobotInteractiveCardResponse extends $tea.Model {
|
|
9715
|
+
headers?: { [key: string]: string };
|
|
9716
|
+
statusCode?: number;
|
|
9717
|
+
body?: SendRobotInteractiveCardResponseBody;
|
|
9718
|
+
static names(): { [key: string]: string } {
|
|
9719
|
+
return {
|
|
9720
|
+
headers: 'headers',
|
|
9721
|
+
statusCode: 'statusCode',
|
|
9722
|
+
body: 'body',
|
|
9723
|
+
};
|
|
9724
|
+
}
|
|
9725
|
+
|
|
9726
|
+
static types(): { [key: string]: any } {
|
|
9727
|
+
return {
|
|
9728
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9729
|
+
statusCode: 'number',
|
|
9730
|
+
body: SendRobotInteractiveCardResponseBody,
|
|
9731
|
+
};
|
|
9732
|
+
}
|
|
9733
|
+
|
|
9734
|
+
constructor(map?: { [key: string]: any }) {
|
|
9735
|
+
super(map);
|
|
9736
|
+
}
|
|
9737
|
+
}
|
|
9738
|
+
|
|
9739
|
+
export class SendRobotMessageHeaders extends $tea.Model {
|
|
9740
|
+
commonHeaders?: { [key: string]: string };
|
|
9741
|
+
xAcsDingtalkAccessToken?: string;
|
|
9742
|
+
static names(): { [key: string]: string } {
|
|
9743
|
+
return {
|
|
9744
|
+
commonHeaders: 'commonHeaders',
|
|
9745
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
9746
|
+
};
|
|
9747
|
+
}
|
|
9748
|
+
|
|
9749
|
+
static types(): { [key: string]: any } {
|
|
9750
|
+
return {
|
|
9751
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9752
|
+
xAcsDingtalkAccessToken: 'string',
|
|
9753
|
+
};
|
|
9754
|
+
}
|
|
9755
|
+
|
|
9756
|
+
constructor(map?: { [key: string]: any }) {
|
|
9757
|
+
super(map);
|
|
9758
|
+
}
|
|
9759
|
+
}
|
|
9760
|
+
|
|
9761
|
+
export class SendRobotMessageRequest extends $tea.Model {
|
|
9762
|
+
atAll?: boolean;
|
|
9763
|
+
/**
|
|
9764
|
+
* @example
|
|
9765
|
+
* 1107****2120
|
|
9766
|
+
*/
|
|
9767
|
+
atAppUserId?: string;
|
|
9768
|
+
/**
|
|
9769
|
+
* @example
|
|
9770
|
+
* 1107****2120
|
|
9771
|
+
*/
|
|
9772
|
+
atDingUserId?: string;
|
|
9773
|
+
/**
|
|
9774
|
+
* @remarks
|
|
9775
|
+
* This parameter is required.
|
|
9776
|
+
*
|
|
9777
|
+
* @example
|
|
9778
|
+
* { "content": "我就是我, 是不一样的烟火"}
|
|
9779
|
+
*/
|
|
9780
|
+
msgContent?: string;
|
|
9781
|
+
/**
|
|
9782
|
+
* @remarks
|
|
9783
|
+
* This parameter is required.
|
|
9784
|
+
*
|
|
9785
|
+
* @example
|
|
9786
|
+
* text
|
|
9787
|
+
*/
|
|
9788
|
+
msgType?: string;
|
|
9789
|
+
/**
|
|
9790
|
+
* @remarks
|
|
9791
|
+
* This parameter is required.
|
|
9792
|
+
*/
|
|
9793
|
+
openConversationIds?: string[];
|
|
9794
|
+
/**
|
|
9795
|
+
* @example
|
|
9796
|
+
* kelian-custom-service-robot-101
|
|
9797
|
+
*/
|
|
9798
|
+
robotCode?: string;
|
|
9799
|
+
static names(): { [key: string]: string } {
|
|
9800
|
+
return {
|
|
9801
|
+
atAll: 'atAll',
|
|
9802
|
+
atAppUserId: 'atAppUserId',
|
|
9803
|
+
atDingUserId: 'atDingUserId',
|
|
9804
|
+
msgContent: 'msgContent',
|
|
9805
|
+
msgType: 'msgType',
|
|
9806
|
+
openConversationIds: 'openConversationIds',
|
|
9807
|
+
robotCode: 'robotCode',
|
|
9808
|
+
};
|
|
9809
|
+
}
|
|
9810
|
+
|
|
9811
|
+
static types(): { [key: string]: any } {
|
|
9812
|
+
return {
|
|
9813
|
+
atAll: 'boolean',
|
|
9814
|
+
atAppUserId: 'string',
|
|
9815
|
+
atDingUserId: 'string',
|
|
9816
|
+
msgContent: 'string',
|
|
9817
|
+
msgType: 'string',
|
|
9818
|
+
openConversationIds: { 'type': 'array', 'itemType': 'string' },
|
|
9819
|
+
robotCode: 'string',
|
|
9820
|
+
};
|
|
9821
|
+
}
|
|
9822
|
+
|
|
9823
|
+
constructor(map?: { [key: string]: any }) {
|
|
9824
|
+
super(map);
|
|
9825
|
+
}
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9828
|
+
export class SendRobotMessageResponseBody extends $tea.Model {
|
|
9829
|
+
success?: boolean;
|
|
9830
|
+
static names(): { [key: string]: string } {
|
|
9831
|
+
return {
|
|
9832
|
+
success: 'success',
|
|
9833
|
+
};
|
|
9834
|
+
}
|
|
9835
|
+
|
|
9836
|
+
static types(): { [key: string]: any } {
|
|
9837
|
+
return {
|
|
9838
|
+
success: 'boolean',
|
|
9839
|
+
};
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9842
|
+
constructor(map?: { [key: string]: any }) {
|
|
9843
|
+
super(map);
|
|
9844
|
+
}
|
|
9845
|
+
}
|
|
9846
|
+
|
|
9847
|
+
export class SendRobotMessageResponse extends $tea.Model {
|
|
9848
|
+
headers?: { [key: string]: string };
|
|
9849
|
+
statusCode?: number;
|
|
9850
|
+
body?: SendRobotMessageResponseBody;
|
|
9851
|
+
static names(): { [key: string]: string } {
|
|
9852
|
+
return {
|
|
9853
|
+
headers: 'headers',
|
|
9854
|
+
statusCode: 'statusCode',
|
|
9855
|
+
body: 'body',
|
|
9856
|
+
};
|
|
9857
|
+
}
|
|
9858
|
+
|
|
9859
|
+
static types(): { [key: string]: any } {
|
|
9860
|
+
return {
|
|
9861
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9862
|
+
statusCode: 'number',
|
|
9863
|
+
body: SendRobotMessageResponseBody,
|
|
9864
|
+
};
|
|
9865
|
+
}
|
|
9866
|
+
|
|
9867
|
+
constructor(map?: { [key: string]: any }) {
|
|
9868
|
+
super(map);
|
|
9869
|
+
}
|
|
9870
|
+
}
|
|
9871
|
+
|
|
9872
|
+
export class SendTemplateInteractiveCardHeaders extends $tea.Model {
|
|
9873
|
+
commonHeaders?: { [key: string]: string };
|
|
9874
|
+
xAcsDingtalkAccessToken?: string;
|
|
9875
|
+
static names(): { [key: string]: string } {
|
|
9876
|
+
return {
|
|
9877
|
+
commonHeaders: 'commonHeaders',
|
|
9878
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
9879
|
+
};
|
|
9880
|
+
}
|
|
9881
|
+
|
|
9882
|
+
static types(): { [key: string]: any } {
|
|
9883
|
+
return {
|
|
9884
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9885
|
+
xAcsDingtalkAccessToken: 'string',
|
|
9886
|
+
};
|
|
9887
|
+
}
|
|
9888
|
+
|
|
9889
|
+
constructor(map?: { [key: string]: any }) {
|
|
9890
|
+
super(map);
|
|
9891
|
+
}
|
|
9892
|
+
}
|
|
9893
|
+
|
|
9894
|
+
export class SendTemplateInteractiveCardRequest extends $tea.Model {
|
|
9895
|
+
/**
|
|
9896
|
+
* @example
|
|
9897
|
+
* https://xxxx.com/.../
|
|
9898
|
+
*/
|
|
9899
|
+
callbackUrl?: string;
|
|
9900
|
+
/**
|
|
9901
|
+
* @remarks
|
|
9902
|
+
* This parameter is required.
|
|
9903
|
+
*
|
|
9904
|
+
* @example
|
|
9905
|
+
* 根据具体的cardTemplateId参考文档格式
|
|
9906
|
+
*/
|
|
9907
|
+
cardData?: string;
|
|
9908
|
+
/**
|
|
9909
|
+
* @remarks
|
|
9910
|
+
* This parameter is required.
|
|
9911
|
+
*
|
|
9912
|
+
* @example
|
|
9913
|
+
* TuWenCard01
|
|
8722
9914
|
*/
|
|
8723
9915
|
cardTemplateId?: string;
|
|
8724
9916
|
/**
|
|
@@ -8726,7 +9918,14 @@ export class SendRobotInteractiveCardRequest extends $tea.Model {
|
|
|
8726
9918
|
* cidXXXX
|
|
8727
9919
|
*/
|
|
8728
9920
|
openConversationId?: string;
|
|
8729
|
-
|
|
9921
|
+
/**
|
|
9922
|
+
* @remarks
|
|
9923
|
+
* This parameter is required.
|
|
9924
|
+
*
|
|
9925
|
+
* @example
|
|
9926
|
+
* cardXXXX01
|
|
9927
|
+
*/
|
|
9928
|
+
outTrackId?: string;
|
|
8730
9929
|
/**
|
|
8731
9930
|
* @remarks
|
|
8732
9931
|
* This parameter is required.
|
|
@@ -8735,43 +9934,35 @@ export class SendRobotInteractiveCardRequest extends $tea.Model {
|
|
|
8735
9934
|
* xxxxxx
|
|
8736
9935
|
*/
|
|
8737
9936
|
robotCode?: string;
|
|
8738
|
-
sendOptions?:
|
|
9937
|
+
sendOptions?: SendTemplateInteractiveCardRequestSendOptions;
|
|
8739
9938
|
/**
|
|
8740
9939
|
* @example
|
|
8741
9940
|
* 以userId为例:{"userId":"userId0001"};以unionId为例{"unionId":"unionId001"}
|
|
8742
9941
|
*/
|
|
8743
9942
|
singleChatReceiver?: string;
|
|
8744
|
-
unionIdPrivateDataMap?: string;
|
|
8745
|
-
userIdPrivateDataMap?: string;
|
|
8746
9943
|
static names(): { [key: string]: string } {
|
|
8747
9944
|
return {
|
|
8748
9945
|
callbackUrl: 'callbackUrl',
|
|
8749
|
-
cardBizId: 'cardBizId',
|
|
8750
9946
|
cardData: 'cardData',
|
|
8751
9947
|
cardTemplateId: 'cardTemplateId',
|
|
8752
9948
|
openConversationId: 'openConversationId',
|
|
8753
|
-
|
|
9949
|
+
outTrackId: 'outTrackId',
|
|
8754
9950
|
robotCode: 'robotCode',
|
|
8755
9951
|
sendOptions: 'sendOptions',
|
|
8756
9952
|
singleChatReceiver: 'singleChatReceiver',
|
|
8757
|
-
unionIdPrivateDataMap: 'unionIdPrivateDataMap',
|
|
8758
|
-
userIdPrivateDataMap: 'userIdPrivateDataMap',
|
|
8759
9953
|
};
|
|
8760
9954
|
}
|
|
8761
9955
|
|
|
8762
9956
|
static types(): { [key: string]: any } {
|
|
8763
9957
|
return {
|
|
8764
9958
|
callbackUrl: 'string',
|
|
8765
|
-
cardBizId: 'string',
|
|
8766
9959
|
cardData: 'string',
|
|
8767
9960
|
cardTemplateId: 'string',
|
|
8768
9961
|
openConversationId: 'string',
|
|
8769
|
-
|
|
9962
|
+
outTrackId: 'string',
|
|
8770
9963
|
robotCode: 'string',
|
|
8771
|
-
sendOptions:
|
|
9964
|
+
sendOptions: SendTemplateInteractiveCardRequestSendOptions,
|
|
8772
9965
|
singleChatReceiver: 'string',
|
|
8773
|
-
unionIdPrivateDataMap: 'string',
|
|
8774
|
-
userIdPrivateDataMap: 'string',
|
|
8775
9966
|
};
|
|
8776
9967
|
}
|
|
8777
9968
|
|
|
@@ -8780,21 +9971,157 @@ export class SendRobotInteractiveCardRequest extends $tea.Model {
|
|
|
8780
9971
|
}
|
|
8781
9972
|
}
|
|
8782
9973
|
|
|
8783
|
-
export class
|
|
8784
|
-
/**
|
|
8785
|
-
* @example
|
|
8786
|
-
* xxxxxx
|
|
8787
|
-
*/
|
|
8788
|
-
processQueryKey?: string;
|
|
9974
|
+
export class SendTemplateInteractiveCardResponseBody extends $tea.Model {
|
|
9975
|
+
/**
|
|
9976
|
+
* @example
|
|
9977
|
+
* xxxxxx
|
|
9978
|
+
*/
|
|
9979
|
+
processQueryKey?: string;
|
|
9980
|
+
static names(): { [key: string]: string } {
|
|
9981
|
+
return {
|
|
9982
|
+
processQueryKey: 'processQueryKey',
|
|
9983
|
+
};
|
|
9984
|
+
}
|
|
9985
|
+
|
|
9986
|
+
static types(): { [key: string]: any } {
|
|
9987
|
+
return {
|
|
9988
|
+
processQueryKey: 'string',
|
|
9989
|
+
};
|
|
9990
|
+
}
|
|
9991
|
+
|
|
9992
|
+
constructor(map?: { [key: string]: any }) {
|
|
9993
|
+
super(map);
|
|
9994
|
+
}
|
|
9995
|
+
}
|
|
9996
|
+
|
|
9997
|
+
export class SendTemplateInteractiveCardResponse extends $tea.Model {
|
|
9998
|
+
headers?: { [key: string]: string };
|
|
9999
|
+
statusCode?: number;
|
|
10000
|
+
body?: SendTemplateInteractiveCardResponseBody;
|
|
10001
|
+
static names(): { [key: string]: string } {
|
|
10002
|
+
return {
|
|
10003
|
+
headers: 'headers',
|
|
10004
|
+
statusCode: 'statusCode',
|
|
10005
|
+
body: 'body',
|
|
10006
|
+
};
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
static types(): { [key: string]: any } {
|
|
10010
|
+
return {
|
|
10011
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10012
|
+
statusCode: 'number',
|
|
10013
|
+
body: SendTemplateInteractiveCardResponseBody,
|
|
10014
|
+
};
|
|
10015
|
+
}
|
|
10016
|
+
|
|
10017
|
+
constructor(map?: { [key: string]: any }) {
|
|
10018
|
+
super(map);
|
|
10019
|
+
}
|
|
10020
|
+
}
|
|
10021
|
+
|
|
10022
|
+
export class SetRightPanelHeaders extends $tea.Model {
|
|
10023
|
+
commonHeaders?: { [key: string]: string };
|
|
10024
|
+
xAcsDingtalkAccessToken?: string;
|
|
10025
|
+
static names(): { [key: string]: string } {
|
|
10026
|
+
return {
|
|
10027
|
+
commonHeaders: 'commonHeaders',
|
|
10028
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
10029
|
+
};
|
|
10030
|
+
}
|
|
10031
|
+
|
|
10032
|
+
static types(): { [key: string]: any } {
|
|
10033
|
+
return {
|
|
10034
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10035
|
+
xAcsDingtalkAccessToken: 'string',
|
|
10036
|
+
};
|
|
10037
|
+
}
|
|
10038
|
+
|
|
10039
|
+
constructor(map?: { [key: string]: any }) {
|
|
10040
|
+
super(map);
|
|
10041
|
+
}
|
|
10042
|
+
}
|
|
10043
|
+
|
|
10044
|
+
export class SetRightPanelRequest extends $tea.Model {
|
|
10045
|
+
/**
|
|
10046
|
+
* @remarks
|
|
10047
|
+
* This parameter is required.
|
|
10048
|
+
*
|
|
10049
|
+
* @example
|
|
10050
|
+
* ciddjxhgdDXSAAXXXXX
|
|
10051
|
+
*/
|
|
10052
|
+
openConversationId?: string;
|
|
10053
|
+
/**
|
|
10054
|
+
* @remarks
|
|
10055
|
+
* This parameter is required.
|
|
10056
|
+
*/
|
|
10057
|
+
rightPanelClosePermitted?: boolean;
|
|
10058
|
+
/**
|
|
10059
|
+
* @remarks
|
|
10060
|
+
* This parameter is required.
|
|
10061
|
+
*
|
|
10062
|
+
* @example
|
|
10063
|
+
* 1
|
|
10064
|
+
*/
|
|
10065
|
+
rightPanelOpenStatus?: number;
|
|
10066
|
+
/**
|
|
10067
|
+
* @remarks
|
|
10068
|
+
* This parameter is required.
|
|
10069
|
+
*
|
|
10070
|
+
* @example
|
|
10071
|
+
* 侧边栏标题
|
|
10072
|
+
*/
|
|
10073
|
+
title?: string;
|
|
10074
|
+
/**
|
|
10075
|
+
* @remarks
|
|
10076
|
+
* This parameter is required.
|
|
10077
|
+
*/
|
|
10078
|
+
webWndParams?: SetRightPanelRequestWebWndParams;
|
|
10079
|
+
/**
|
|
10080
|
+
* @remarks
|
|
10081
|
+
* This parameter is required.
|
|
10082
|
+
*
|
|
10083
|
+
* @example
|
|
10084
|
+
* 500
|
|
10085
|
+
*/
|
|
10086
|
+
width?: number;
|
|
10087
|
+
static names(): { [key: string]: string } {
|
|
10088
|
+
return {
|
|
10089
|
+
openConversationId: 'openConversationId',
|
|
10090
|
+
rightPanelClosePermitted: 'rightPanelClosePermitted',
|
|
10091
|
+
rightPanelOpenStatus: 'rightPanelOpenStatus',
|
|
10092
|
+
title: 'title',
|
|
10093
|
+
webWndParams: 'webWndParams',
|
|
10094
|
+
width: 'width',
|
|
10095
|
+
};
|
|
10096
|
+
}
|
|
10097
|
+
|
|
10098
|
+
static types(): { [key: string]: any } {
|
|
10099
|
+
return {
|
|
10100
|
+
openConversationId: 'string',
|
|
10101
|
+
rightPanelClosePermitted: 'boolean',
|
|
10102
|
+
rightPanelOpenStatus: 'number',
|
|
10103
|
+
title: 'string',
|
|
10104
|
+
webWndParams: SetRightPanelRequestWebWndParams,
|
|
10105
|
+
width: 'number',
|
|
10106
|
+
};
|
|
10107
|
+
}
|
|
10108
|
+
|
|
10109
|
+
constructor(map?: { [key: string]: any }) {
|
|
10110
|
+
super(map);
|
|
10111
|
+
}
|
|
10112
|
+
}
|
|
10113
|
+
|
|
10114
|
+
export class SetRightPanelResponseBody extends $tea.Model {
|
|
10115
|
+
success?: boolean;
|
|
8789
10116
|
static names(): { [key: string]: string } {
|
|
8790
10117
|
return {
|
|
8791
|
-
|
|
10118
|
+
success: 'success',
|
|
8792
10119
|
};
|
|
8793
10120
|
}
|
|
8794
10121
|
|
|
8795
10122
|
static types(): { [key: string]: any } {
|
|
8796
10123
|
return {
|
|
8797
|
-
|
|
10124
|
+
success: 'boolean',
|
|
8798
10125
|
};
|
|
8799
10126
|
}
|
|
8800
10127
|
|
|
@@ -8803,10 +10130,10 @@ export class SendRobotInteractiveCardResponseBody extends $tea.Model {
|
|
|
8803
10130
|
}
|
|
8804
10131
|
}
|
|
8805
10132
|
|
|
8806
|
-
export class
|
|
10133
|
+
export class SetRightPanelResponse extends $tea.Model {
|
|
8807
10134
|
headers?: { [key: string]: string };
|
|
8808
10135
|
statusCode?: number;
|
|
8809
|
-
body?:
|
|
10136
|
+
body?: SetRightPanelResponseBody;
|
|
8810
10137
|
static names(): { [key: string]: string } {
|
|
8811
10138
|
return {
|
|
8812
10139
|
headers: 'headers',
|
|
@@ -8819,7 +10146,7 @@ export class SendRobotInteractiveCardResponse extends $tea.Model {
|
|
|
8819
10146
|
return {
|
|
8820
10147
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8821
10148
|
statusCode: 'number',
|
|
8822
|
-
body:
|
|
10149
|
+
body: SetRightPanelResponseBody,
|
|
8823
10150
|
};
|
|
8824
10151
|
}
|
|
8825
10152
|
|
|
@@ -8828,7 +10155,7 @@ export class SendRobotInteractiveCardResponse extends $tea.Model {
|
|
|
8828
10155
|
}
|
|
8829
10156
|
}
|
|
8830
10157
|
|
|
8831
|
-
export class
|
|
10158
|
+
export class SuperAdminApplyTemplateHeaders extends $tea.Model {
|
|
8832
10159
|
commonHeaders?: { [key: string]: string };
|
|
8833
10160
|
xAcsDingtalkAccessToken?: string;
|
|
8834
10161
|
static names(): { [key: string]: string } {
|
|
@@ -8850,65 +10177,35 @@ export class SendRobotMessageHeaders extends $tea.Model {
|
|
|
8850
10177
|
}
|
|
8851
10178
|
}
|
|
8852
10179
|
|
|
8853
|
-
export class
|
|
8854
|
-
atAll?: boolean;
|
|
8855
|
-
/**
|
|
8856
|
-
* @example
|
|
8857
|
-
* 1107****2120
|
|
8858
|
-
*/
|
|
8859
|
-
atAppUserId?: string;
|
|
8860
|
-
/**
|
|
8861
|
-
* @example
|
|
8862
|
-
* 1107****2120
|
|
8863
|
-
*/
|
|
8864
|
-
atDingUserId?: string;
|
|
10180
|
+
export class SuperAdminApplyTemplateRequest extends $tea.Model {
|
|
8865
10181
|
/**
|
|
8866
10182
|
* @remarks
|
|
8867
10183
|
* This parameter is required.
|
|
8868
|
-
*
|
|
8869
|
-
* @example
|
|
8870
|
-
* { "content": "我就是我, 是不一样的烟火"}
|
|
8871
10184
|
*/
|
|
8872
|
-
|
|
10185
|
+
openConversationId?: string;
|
|
8873
10186
|
/**
|
|
8874
10187
|
* @remarks
|
|
8875
10188
|
* This parameter is required.
|
|
8876
|
-
*
|
|
8877
|
-
* @example
|
|
8878
|
-
* text
|
|
8879
10189
|
*/
|
|
8880
|
-
|
|
10190
|
+
ownerUserId?: string;
|
|
8881
10191
|
/**
|
|
8882
10192
|
* @remarks
|
|
8883
10193
|
* This parameter is required.
|
|
8884
10194
|
*/
|
|
8885
|
-
|
|
8886
|
-
/**
|
|
8887
|
-
* @example
|
|
8888
|
-
* kelian-custom-service-robot-101
|
|
8889
|
-
*/
|
|
8890
|
-
robotCode?: string;
|
|
10195
|
+
templateId?: string;
|
|
8891
10196
|
static names(): { [key: string]: string } {
|
|
8892
10197
|
return {
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
msgContent: 'msgContent',
|
|
8897
|
-
msgType: 'msgType',
|
|
8898
|
-
openConversationIds: 'openConversationIds',
|
|
8899
|
-
robotCode: 'robotCode',
|
|
10198
|
+
openConversationId: 'openConversationId',
|
|
10199
|
+
ownerUserId: 'ownerUserId',
|
|
10200
|
+
templateId: 'templateId',
|
|
8900
10201
|
};
|
|
8901
10202
|
}
|
|
8902
10203
|
|
|
8903
10204
|
static types(): { [key: string]: any } {
|
|
8904
10205
|
return {
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
msgContent: 'string',
|
|
8909
|
-
msgType: 'string',
|
|
8910
|
-
openConversationIds: { 'type': 'array', 'itemType': 'string' },
|
|
8911
|
-
robotCode: 'string',
|
|
10206
|
+
openConversationId: 'string',
|
|
10207
|
+
ownerUserId: 'string',
|
|
10208
|
+
templateId: 'string',
|
|
8912
10209
|
};
|
|
8913
10210
|
}
|
|
8914
10211
|
|
|
@@ -8917,7 +10214,7 @@ export class SendRobotMessageRequest extends $tea.Model {
|
|
|
8917
10214
|
}
|
|
8918
10215
|
}
|
|
8919
10216
|
|
|
8920
|
-
export class
|
|
10217
|
+
export class SuperAdminApplyTemplateResponseBody extends $tea.Model {
|
|
8921
10218
|
success?: boolean;
|
|
8922
10219
|
static names(): { [key: string]: string } {
|
|
8923
10220
|
return {
|
|
@@ -8936,10 +10233,10 @@ export class SendRobotMessageResponseBody extends $tea.Model {
|
|
|
8936
10233
|
}
|
|
8937
10234
|
}
|
|
8938
10235
|
|
|
8939
|
-
export class
|
|
10236
|
+
export class SuperAdminApplyTemplateResponse extends $tea.Model {
|
|
8940
10237
|
headers?: { [key: string]: string };
|
|
8941
10238
|
statusCode?: number;
|
|
8942
|
-
body?:
|
|
10239
|
+
body?: SuperAdminApplyTemplateResponseBody;
|
|
8943
10240
|
static names(): { [key: string]: string } {
|
|
8944
10241
|
return {
|
|
8945
10242
|
headers: 'headers',
|
|
@@ -8952,7 +10249,7 @@ export class SendRobotMessageResponse extends $tea.Model {
|
|
|
8952
10249
|
return {
|
|
8953
10250
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8954
10251
|
statusCode: 'number',
|
|
8955
|
-
body:
|
|
10252
|
+
body: SuperAdminApplyTemplateResponseBody,
|
|
8956
10253
|
};
|
|
8957
10254
|
}
|
|
8958
10255
|
|
|
@@ -8961,7 +10258,7 @@ export class SendRobotMessageResponse extends $tea.Model {
|
|
|
8961
10258
|
}
|
|
8962
10259
|
}
|
|
8963
10260
|
|
|
8964
|
-
export class
|
|
10261
|
+
export class SuperAdminCloseTemplateHeaders extends $tea.Model {
|
|
8965
10262
|
commonHeaders?: { [key: string]: string };
|
|
8966
10263
|
xAcsDingtalkAccessToken?: string;
|
|
8967
10264
|
static names(): { [key: string]: string } {
|
|
@@ -8983,78 +10280,35 @@ export class SendTemplateInteractiveCardHeaders extends $tea.Model {
|
|
|
8983
10280
|
}
|
|
8984
10281
|
}
|
|
8985
10282
|
|
|
8986
|
-
export class
|
|
8987
|
-
/**
|
|
8988
|
-
* @example
|
|
8989
|
-
* https://xxxx.com/.../
|
|
8990
|
-
*/
|
|
8991
|
-
callbackUrl?: string;
|
|
8992
|
-
/**
|
|
8993
|
-
* @remarks
|
|
8994
|
-
* This parameter is required.
|
|
8995
|
-
*
|
|
8996
|
-
* @example
|
|
8997
|
-
* 根据具体的cardTemplateId参考文档格式
|
|
8998
|
-
*/
|
|
8999
|
-
cardData?: string;
|
|
10283
|
+
export class SuperAdminCloseTemplateRequest extends $tea.Model {
|
|
9000
10284
|
/**
|
|
9001
10285
|
* @remarks
|
|
9002
10286
|
* This parameter is required.
|
|
9003
|
-
*
|
|
9004
|
-
* @example
|
|
9005
|
-
* TuWenCard01
|
|
9006
|
-
*/
|
|
9007
|
-
cardTemplateId?: string;
|
|
9008
|
-
/**
|
|
9009
|
-
* @example
|
|
9010
|
-
* cidXXXX
|
|
9011
10287
|
*/
|
|
9012
10288
|
openConversationId?: string;
|
|
9013
10289
|
/**
|
|
9014
10290
|
* @remarks
|
|
9015
10291
|
* This parameter is required.
|
|
9016
|
-
*
|
|
9017
|
-
* @example
|
|
9018
|
-
* cardXXXX01
|
|
9019
10292
|
*/
|
|
9020
|
-
|
|
10293
|
+
ownerUserId?: string;
|
|
9021
10294
|
/**
|
|
9022
10295
|
* @remarks
|
|
9023
10296
|
* This parameter is required.
|
|
9024
|
-
*
|
|
9025
|
-
* @example
|
|
9026
|
-
* xxxxxx
|
|
9027
|
-
*/
|
|
9028
|
-
robotCode?: string;
|
|
9029
|
-
sendOptions?: SendTemplateInteractiveCardRequestSendOptions;
|
|
9030
|
-
/**
|
|
9031
|
-
* @example
|
|
9032
|
-
* 以userId为例:{"userId":"userId0001"};以unionId为例{"unionId":"unionId001"}
|
|
9033
10297
|
*/
|
|
9034
|
-
|
|
10298
|
+
templateId?: string;
|
|
9035
10299
|
static names(): { [key: string]: string } {
|
|
9036
10300
|
return {
|
|
9037
|
-
callbackUrl: 'callbackUrl',
|
|
9038
|
-
cardData: 'cardData',
|
|
9039
|
-
cardTemplateId: 'cardTemplateId',
|
|
9040
10301
|
openConversationId: 'openConversationId',
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
sendOptions: 'sendOptions',
|
|
9044
|
-
singleChatReceiver: 'singleChatReceiver',
|
|
10302
|
+
ownerUserId: 'ownerUserId',
|
|
10303
|
+
templateId: 'templateId',
|
|
9045
10304
|
};
|
|
9046
10305
|
}
|
|
9047
10306
|
|
|
9048
10307
|
static types(): { [key: string]: any } {
|
|
9049
10308
|
return {
|
|
9050
|
-
callbackUrl: 'string',
|
|
9051
|
-
cardData: 'string',
|
|
9052
|
-
cardTemplateId: 'string',
|
|
9053
10309
|
openConversationId: 'string',
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
sendOptions: SendTemplateInteractiveCardRequestSendOptions,
|
|
9057
|
-
singleChatReceiver: 'string',
|
|
10310
|
+
ownerUserId: 'string',
|
|
10311
|
+
templateId: 'string',
|
|
9058
10312
|
};
|
|
9059
10313
|
}
|
|
9060
10314
|
|
|
@@ -9063,21 +10317,17 @@ export class SendTemplateInteractiveCardRequest extends $tea.Model {
|
|
|
9063
10317
|
}
|
|
9064
10318
|
}
|
|
9065
10319
|
|
|
9066
|
-
export class
|
|
9067
|
-
|
|
9068
|
-
* @example
|
|
9069
|
-
* xxxxxx
|
|
9070
|
-
*/
|
|
9071
|
-
processQueryKey?: string;
|
|
10320
|
+
export class SuperAdminCloseTemplateResponseBody extends $tea.Model {
|
|
10321
|
+
success?: boolean;
|
|
9072
10322
|
static names(): { [key: string]: string } {
|
|
9073
10323
|
return {
|
|
9074
|
-
|
|
10324
|
+
success: 'success',
|
|
9075
10325
|
};
|
|
9076
10326
|
}
|
|
9077
10327
|
|
|
9078
10328
|
static types(): { [key: string]: any } {
|
|
9079
10329
|
return {
|
|
9080
|
-
|
|
10330
|
+
success: 'boolean',
|
|
9081
10331
|
};
|
|
9082
10332
|
}
|
|
9083
10333
|
|
|
@@ -9086,10 +10336,10 @@ export class SendTemplateInteractiveCardResponseBody extends $tea.Model {
|
|
|
9086
10336
|
}
|
|
9087
10337
|
}
|
|
9088
10338
|
|
|
9089
|
-
export class
|
|
10339
|
+
export class SuperAdminCloseTemplateResponse extends $tea.Model {
|
|
9090
10340
|
headers?: { [key: string]: string };
|
|
9091
10341
|
statusCode?: number;
|
|
9092
|
-
body?:
|
|
10342
|
+
body?: SuperAdminCloseTemplateResponseBody;
|
|
9093
10343
|
static names(): { [key: string]: string } {
|
|
9094
10344
|
return {
|
|
9095
10345
|
headers: 'headers',
|
|
@@ -9102,7 +10352,7 @@ export class SendTemplateInteractiveCardResponse extends $tea.Model {
|
|
|
9102
10352
|
return {
|
|
9103
10353
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9104
10354
|
statusCode: 'number',
|
|
9105
|
-
body:
|
|
10355
|
+
body: SuperAdminCloseTemplateResponseBody,
|
|
9106
10356
|
};
|
|
9107
10357
|
}
|
|
9108
10358
|
|
|
@@ -9111,7 +10361,7 @@ export class SendTemplateInteractiveCardResponse extends $tea.Model {
|
|
|
9111
10361
|
}
|
|
9112
10362
|
}
|
|
9113
10363
|
|
|
9114
|
-
export class
|
|
10364
|
+
export class TopboxCloseHeaders extends $tea.Model {
|
|
9115
10365
|
commonHeaders?: { [key: string]: string };
|
|
9116
10366
|
xAcsDingtalkAccessToken?: string;
|
|
9117
10367
|
static names(): { [key: string]: string } {
|
|
@@ -9133,87 +10383,43 @@ export class SetRightPanelHeaders extends $tea.Model {
|
|
|
9133
10383
|
}
|
|
9134
10384
|
}
|
|
9135
10385
|
|
|
9136
|
-
export class
|
|
10386
|
+
export class TopboxCloseRequest extends $tea.Model {
|
|
10387
|
+
conversationType?: number;
|
|
10388
|
+
coolAppCode?: string;
|
|
9137
10389
|
/**
|
|
9138
|
-
* @remarks
|
|
9139
|
-
* This parameter is required.
|
|
9140
|
-
*
|
|
9141
10390
|
* @example
|
|
9142
|
-
*
|
|
10391
|
+
* xxxx
|
|
9143
10392
|
*/
|
|
9144
10393
|
openConversationId?: string;
|
|
9145
|
-
/**
|
|
9146
|
-
* @remarks
|
|
9147
|
-
* This parameter is required.
|
|
9148
|
-
*/
|
|
9149
|
-
rightPanelClosePermitted?: boolean;
|
|
9150
|
-
/**
|
|
9151
|
-
* @remarks
|
|
9152
|
-
* This parameter is required.
|
|
9153
|
-
*
|
|
9154
|
-
* @example
|
|
9155
|
-
* 1
|
|
9156
|
-
*/
|
|
9157
|
-
rightPanelOpenStatus?: number;
|
|
9158
|
-
/**
|
|
9159
|
-
* @remarks
|
|
9160
|
-
* This parameter is required.
|
|
9161
|
-
*
|
|
9162
|
-
* @example
|
|
9163
|
-
* 侧边栏标题
|
|
9164
|
-
*/
|
|
9165
|
-
title?: string;
|
|
9166
|
-
/**
|
|
9167
|
-
* @remarks
|
|
9168
|
-
* This parameter is required.
|
|
9169
|
-
*/
|
|
9170
|
-
webWndParams?: SetRightPanelRequestWebWndParams;
|
|
9171
10394
|
/**
|
|
9172
10395
|
* @remarks
|
|
9173
10396
|
* This parameter is required.
|
|
9174
10397
|
*
|
|
9175
10398
|
* @example
|
|
9176
|
-
*
|
|
10399
|
+
* xxxx
|
|
9177
10400
|
*/
|
|
9178
|
-
|
|
10401
|
+
outTrackId?: string;
|
|
10402
|
+
receiverUserIdList?: string[];
|
|
10403
|
+
robotCode?: string;
|
|
9179
10404
|
static names(): { [key: string]: string } {
|
|
9180
10405
|
return {
|
|
10406
|
+
conversationType: 'conversationType',
|
|
10407
|
+
coolAppCode: 'coolAppCode',
|
|
9181
10408
|
openConversationId: 'openConversationId',
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
webWndParams: 'webWndParams',
|
|
9186
|
-
width: 'width',
|
|
10409
|
+
outTrackId: 'outTrackId',
|
|
10410
|
+
receiverUserIdList: 'receiverUserIdList',
|
|
10411
|
+
robotCode: 'robotCode',
|
|
9187
10412
|
};
|
|
9188
10413
|
}
|
|
9189
10414
|
|
|
9190
10415
|
static types(): { [key: string]: any } {
|
|
9191
10416
|
return {
|
|
10417
|
+
conversationType: 'number',
|
|
10418
|
+
coolAppCode: 'string',
|
|
9192
10419
|
openConversationId: 'string',
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
webWndParams: SetRightPanelRequestWebWndParams,
|
|
9197
|
-
width: 'number',
|
|
9198
|
-
};
|
|
9199
|
-
}
|
|
9200
|
-
|
|
9201
|
-
constructor(map?: { [key: string]: any }) {
|
|
9202
|
-
super(map);
|
|
9203
|
-
}
|
|
9204
|
-
}
|
|
9205
|
-
|
|
9206
|
-
export class SetRightPanelResponseBody extends $tea.Model {
|
|
9207
|
-
success?: boolean;
|
|
9208
|
-
static names(): { [key: string]: string } {
|
|
9209
|
-
return {
|
|
9210
|
-
success: 'success',
|
|
9211
|
-
};
|
|
9212
|
-
}
|
|
9213
|
-
|
|
9214
|
-
static types(): { [key: string]: any } {
|
|
9215
|
-
return {
|
|
9216
|
-
success: 'boolean',
|
|
10420
|
+
outTrackId: 'string',
|
|
10421
|
+
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
10422
|
+
robotCode: 'string',
|
|
9217
10423
|
};
|
|
9218
10424
|
}
|
|
9219
10425
|
|
|
@@ -9222,15 +10428,13 @@ export class SetRightPanelResponseBody extends $tea.Model {
|
|
|
9222
10428
|
}
|
|
9223
10429
|
}
|
|
9224
10430
|
|
|
9225
|
-
export class
|
|
10431
|
+
export class TopboxCloseResponse extends $tea.Model {
|
|
9226
10432
|
headers?: { [key: string]: string };
|
|
9227
10433
|
statusCode?: number;
|
|
9228
|
-
body?: SetRightPanelResponseBody;
|
|
9229
10434
|
static names(): { [key: string]: string } {
|
|
9230
10435
|
return {
|
|
9231
10436
|
headers: 'headers',
|
|
9232
10437
|
statusCode: 'statusCode',
|
|
9233
|
-
body: 'body',
|
|
9234
10438
|
};
|
|
9235
10439
|
}
|
|
9236
10440
|
|
|
@@ -9238,7 +10442,6 @@ export class SetRightPanelResponse extends $tea.Model {
|
|
|
9238
10442
|
return {
|
|
9239
10443
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9240
10444
|
statusCode: 'number',
|
|
9241
|
-
body: SetRightPanelResponseBody,
|
|
9242
10445
|
};
|
|
9243
10446
|
}
|
|
9244
10447
|
|
|
@@ -9247,7 +10450,7 @@ export class SetRightPanelResponse extends $tea.Model {
|
|
|
9247
10450
|
}
|
|
9248
10451
|
}
|
|
9249
10452
|
|
|
9250
|
-
export class
|
|
10453
|
+
export class TopboxOpenHeaders extends $tea.Model {
|
|
9251
10454
|
commonHeaders?: { [key: string]: string };
|
|
9252
10455
|
xAcsDingtalkAccessToken?: string;
|
|
9253
10456
|
static names(): { [key: string]: string } {
|
|
@@ -9269,9 +10472,14 @@ export class TopboxCloseHeaders extends $tea.Model {
|
|
|
9269
10472
|
}
|
|
9270
10473
|
}
|
|
9271
10474
|
|
|
9272
|
-
export class
|
|
10475
|
+
export class TopboxOpenRequest extends $tea.Model {
|
|
9273
10476
|
conversationType?: number;
|
|
9274
10477
|
coolAppCode?: string;
|
|
10478
|
+
/**
|
|
10479
|
+
* @example
|
|
10480
|
+
* 1850042969000
|
|
10481
|
+
*/
|
|
10482
|
+
expiredTime?: number;
|
|
9275
10483
|
/**
|
|
9276
10484
|
* @example
|
|
9277
10485
|
* xxxx
|
|
@@ -9285,14 +10493,25 @@ export class TopboxCloseRequest extends $tea.Model {
|
|
|
9285
10493
|
* xxxx
|
|
9286
10494
|
*/
|
|
9287
10495
|
outTrackId?: string;
|
|
10496
|
+
/**
|
|
10497
|
+
* @example
|
|
10498
|
+
* ios|win
|
|
10499
|
+
*/
|
|
10500
|
+
platforms?: string;
|
|
10501
|
+
/**
|
|
10502
|
+
* **if can be null:**
|
|
10503
|
+
* true
|
|
10504
|
+
*/
|
|
9288
10505
|
receiverUserIdList?: string[];
|
|
9289
10506
|
robotCode?: string;
|
|
9290
10507
|
static names(): { [key: string]: string } {
|
|
9291
10508
|
return {
|
|
9292
10509
|
conversationType: 'conversationType',
|
|
9293
10510
|
coolAppCode: 'coolAppCode',
|
|
10511
|
+
expiredTime: 'expiredTime',
|
|
9294
10512
|
openConversationId: 'openConversationId',
|
|
9295
10513
|
outTrackId: 'outTrackId',
|
|
10514
|
+
platforms: 'platforms',
|
|
9296
10515
|
receiverUserIdList: 'receiverUserIdList',
|
|
9297
10516
|
robotCode: 'robotCode',
|
|
9298
10517
|
};
|
|
@@ -9302,8 +10521,10 @@ export class TopboxCloseRequest extends $tea.Model {
|
|
|
9302
10521
|
return {
|
|
9303
10522
|
conversationType: 'number',
|
|
9304
10523
|
coolAppCode: 'string',
|
|
10524
|
+
expiredTime: 'number',
|
|
9305
10525
|
openConversationId: 'string',
|
|
9306
10526
|
outTrackId: 'string',
|
|
10527
|
+
platforms: 'string',
|
|
9307
10528
|
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
9308
10529
|
robotCode: 'string',
|
|
9309
10530
|
};
|
|
@@ -9314,7 +10535,7 @@ export class TopboxCloseRequest extends $tea.Model {
|
|
|
9314
10535
|
}
|
|
9315
10536
|
}
|
|
9316
10537
|
|
|
9317
|
-
export class
|
|
10538
|
+
export class TopboxOpenResponse extends $tea.Model {
|
|
9318
10539
|
headers?: { [key: string]: string };
|
|
9319
10540
|
statusCode?: number;
|
|
9320
10541
|
static names(): { [key: string]: string } {
|
|
@@ -9336,7 +10557,7 @@ export class TopboxCloseResponse extends $tea.Model {
|
|
|
9336
10557
|
}
|
|
9337
10558
|
}
|
|
9338
10559
|
|
|
9339
|
-
export class
|
|
10560
|
+
export class UpdateClientServiceHeaders extends $tea.Model {
|
|
9340
10561
|
commonHeaders?: { [key: string]: string };
|
|
9341
10562
|
xAcsDingtalkAccessToken?: string;
|
|
9342
10563
|
static names(): { [key: string]: string } {
|
|
@@ -9358,61 +10579,72 @@ export class TopboxOpenHeaders extends $tea.Model {
|
|
|
9358
10579
|
}
|
|
9359
10580
|
}
|
|
9360
10581
|
|
|
9361
|
-
export class
|
|
9362
|
-
conversationType?: number;
|
|
9363
|
-
coolAppCode?: string;
|
|
10582
|
+
export class UpdateClientServiceRequest extends $tea.Model {
|
|
9364
10583
|
/**
|
|
9365
10584
|
* @example
|
|
9366
|
-
*
|
|
10585
|
+
* https://***.png
|
|
9367
10586
|
*/
|
|
9368
|
-
|
|
10587
|
+
avatarUrl?: string;
|
|
9369
10588
|
/**
|
|
9370
10589
|
* @example
|
|
9371
|
-
*
|
|
10590
|
+
* false
|
|
9372
10591
|
*/
|
|
9373
|
-
|
|
10592
|
+
resetAvatar?: boolean;
|
|
10593
|
+
/**
|
|
10594
|
+
* @example
|
|
10595
|
+
* false
|
|
10596
|
+
*/
|
|
10597
|
+
resetUserName?: boolean;
|
|
9374
10598
|
/**
|
|
9375
10599
|
* @remarks
|
|
9376
10600
|
* This parameter is required.
|
|
9377
|
-
*
|
|
9378
|
-
* @example
|
|
9379
|
-
* xxxx
|
|
9380
10601
|
*/
|
|
9381
|
-
|
|
10602
|
+
userIds?: string[];
|
|
9382
10603
|
/**
|
|
9383
10604
|
* @example
|
|
9384
|
-
*
|
|
10605
|
+
* test
|
|
9385
10606
|
*/
|
|
9386
|
-
|
|
10607
|
+
userName?: string;
|
|
10608
|
+
static names(): { [key: string]: string } {
|
|
10609
|
+
return {
|
|
10610
|
+
avatarUrl: 'avatarUrl',
|
|
10611
|
+
resetAvatar: 'resetAvatar',
|
|
10612
|
+
resetUserName: 'resetUserName',
|
|
10613
|
+
userIds: 'userIds',
|
|
10614
|
+
userName: 'userName',
|
|
10615
|
+
};
|
|
10616
|
+
}
|
|
10617
|
+
|
|
10618
|
+
static types(): { [key: string]: any } {
|
|
10619
|
+
return {
|
|
10620
|
+
avatarUrl: 'string',
|
|
10621
|
+
resetAvatar: 'boolean',
|
|
10622
|
+
resetUserName: 'boolean',
|
|
10623
|
+
userIds: { 'type': 'array', 'itemType': 'string' },
|
|
10624
|
+
userName: 'string',
|
|
10625
|
+
};
|
|
10626
|
+
}
|
|
10627
|
+
|
|
10628
|
+
constructor(map?: { [key: string]: any }) {
|
|
10629
|
+
super(map);
|
|
10630
|
+
}
|
|
10631
|
+
}
|
|
10632
|
+
|
|
10633
|
+
export class UpdateClientServiceResponseBody extends $tea.Model {
|
|
9387
10634
|
/**
|
|
9388
|
-
*
|
|
10635
|
+
* @example
|
|
9389
10636
|
* true
|
|
9390
10637
|
*/
|
|
9391
|
-
|
|
9392
|
-
robotCode?: string;
|
|
10638
|
+
result?: boolean;
|
|
9393
10639
|
static names(): { [key: string]: string } {
|
|
9394
10640
|
return {
|
|
9395
|
-
|
|
9396
|
-
coolAppCode: 'coolAppCode',
|
|
9397
|
-
expiredTime: 'expiredTime',
|
|
9398
|
-
openConversationId: 'openConversationId',
|
|
9399
|
-
outTrackId: 'outTrackId',
|
|
9400
|
-
platforms: 'platforms',
|
|
9401
|
-
receiverUserIdList: 'receiverUserIdList',
|
|
9402
|
-
robotCode: 'robotCode',
|
|
10641
|
+
result: 'result',
|
|
9403
10642
|
};
|
|
9404
10643
|
}
|
|
9405
10644
|
|
|
9406
10645
|
static types(): { [key: string]: any } {
|
|
9407
10646
|
return {
|
|
9408
|
-
|
|
9409
|
-
coolAppCode: 'string',
|
|
9410
|
-
expiredTime: 'number',
|
|
9411
|
-
openConversationId: 'string',
|
|
9412
|
-
outTrackId: 'string',
|
|
9413
|
-
platforms: 'string',
|
|
9414
|
-
receiverUserIdList: { 'type': 'array', 'itemType': 'string' },
|
|
9415
|
-
robotCode: 'string',
|
|
10647
|
+
result: 'boolean',
|
|
9416
10648
|
};
|
|
9417
10649
|
}
|
|
9418
10650
|
|
|
@@ -9421,13 +10653,15 @@ export class TopboxOpenRequest extends $tea.Model {
|
|
|
9421
10653
|
}
|
|
9422
10654
|
}
|
|
9423
10655
|
|
|
9424
|
-
export class
|
|
10656
|
+
export class UpdateClientServiceResponse extends $tea.Model {
|
|
9425
10657
|
headers?: { [key: string]: string };
|
|
9426
10658
|
statusCode?: number;
|
|
10659
|
+
body?: UpdateClientServiceResponseBody;
|
|
9427
10660
|
static names(): { [key: string]: string } {
|
|
9428
10661
|
return {
|
|
9429
10662
|
headers: 'headers',
|
|
9430
10663
|
statusCode: 'statusCode',
|
|
10664
|
+
body: 'body',
|
|
9431
10665
|
};
|
|
9432
10666
|
}
|
|
9433
10667
|
|
|
@@ -9435,6 +10669,7 @@ export class TopboxOpenResponse extends $tea.Model {
|
|
|
9435
10669
|
return {
|
|
9436
10670
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9437
10671
|
statusCode: 'number',
|
|
10672
|
+
body: UpdateClientServiceResponseBody,
|
|
9438
10673
|
};
|
|
9439
10674
|
}
|
|
9440
10675
|
|
|
@@ -10847,10 +12082,205 @@ export class UpdateUnfurlingRegisterStatusRequest extends $tea.Model {
|
|
|
10847
12082
|
|
|
10848
12083
|
static types(): { [key: string]: any } {
|
|
10849
12084
|
return {
|
|
10850
|
-
appId: 'string',
|
|
10851
|
-
id: 'number',
|
|
10852
|
-
status: 'number',
|
|
10853
|
-
userId: 'string',
|
|
12085
|
+
appId: 'string',
|
|
12086
|
+
id: 'number',
|
|
12087
|
+
status: 'number',
|
|
12088
|
+
userId: 'string',
|
|
12089
|
+
};
|
|
12090
|
+
}
|
|
12091
|
+
|
|
12092
|
+
constructor(map?: { [key: string]: any }) {
|
|
12093
|
+
super(map);
|
|
12094
|
+
}
|
|
12095
|
+
}
|
|
12096
|
+
|
|
12097
|
+
export class UpdateUnfurlingRegisterStatusResponseBody extends $tea.Model {
|
|
12098
|
+
success?: boolean;
|
|
12099
|
+
static names(): { [key: string]: string } {
|
|
12100
|
+
return {
|
|
12101
|
+
success: 'success',
|
|
12102
|
+
};
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12105
|
+
static types(): { [key: string]: any } {
|
|
12106
|
+
return {
|
|
12107
|
+
success: 'boolean',
|
|
12108
|
+
};
|
|
12109
|
+
}
|
|
12110
|
+
|
|
12111
|
+
constructor(map?: { [key: string]: any }) {
|
|
12112
|
+
super(map);
|
|
12113
|
+
}
|
|
12114
|
+
}
|
|
12115
|
+
|
|
12116
|
+
export class UpdateUnfurlingRegisterStatusResponse extends $tea.Model {
|
|
12117
|
+
headers?: { [key: string]: string };
|
|
12118
|
+
statusCode?: number;
|
|
12119
|
+
body?: UpdateUnfurlingRegisterStatusResponseBody;
|
|
12120
|
+
static names(): { [key: string]: string } {
|
|
12121
|
+
return {
|
|
12122
|
+
headers: 'headers',
|
|
12123
|
+
statusCode: 'statusCode',
|
|
12124
|
+
body: 'body',
|
|
12125
|
+
};
|
|
12126
|
+
}
|
|
12127
|
+
|
|
12128
|
+
static types(): { [key: string]: any } {
|
|
12129
|
+
return {
|
|
12130
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12131
|
+
statusCode: 'number',
|
|
12132
|
+
body: UpdateUnfurlingRegisterStatusResponseBody,
|
|
12133
|
+
};
|
|
12134
|
+
}
|
|
12135
|
+
|
|
12136
|
+
constructor(map?: { [key: string]: any }) {
|
|
12137
|
+
super(map);
|
|
12138
|
+
}
|
|
12139
|
+
}
|
|
12140
|
+
|
|
12141
|
+
export class UpgradeToExternalGroupHeaders extends $tea.Model {
|
|
12142
|
+
commonHeaders?: { [key: string]: string };
|
|
12143
|
+
xAcsDingtalkAccessToken?: string;
|
|
12144
|
+
static names(): { [key: string]: string } {
|
|
12145
|
+
return {
|
|
12146
|
+
commonHeaders: 'commonHeaders',
|
|
12147
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
12148
|
+
};
|
|
12149
|
+
}
|
|
12150
|
+
|
|
12151
|
+
static types(): { [key: string]: any } {
|
|
12152
|
+
return {
|
|
12153
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12154
|
+
xAcsDingtalkAccessToken: 'string',
|
|
12155
|
+
};
|
|
12156
|
+
}
|
|
12157
|
+
|
|
12158
|
+
constructor(map?: { [key: string]: any }) {
|
|
12159
|
+
super(map);
|
|
12160
|
+
}
|
|
12161
|
+
}
|
|
12162
|
+
|
|
12163
|
+
export class UpgradeToExternalGroupRequest extends $tea.Model {
|
|
12164
|
+
/**
|
|
12165
|
+
* @remarks
|
|
12166
|
+
* This parameter is required.
|
|
12167
|
+
*/
|
|
12168
|
+
openConversationId?: string;
|
|
12169
|
+
/**
|
|
12170
|
+
* @remarks
|
|
12171
|
+
* This parameter is required.
|
|
12172
|
+
*/
|
|
12173
|
+
templateId?: string;
|
|
12174
|
+
static names(): { [key: string]: string } {
|
|
12175
|
+
return {
|
|
12176
|
+
openConversationId: 'openConversationId',
|
|
12177
|
+
templateId: 'templateId',
|
|
12178
|
+
};
|
|
12179
|
+
}
|
|
12180
|
+
|
|
12181
|
+
static types(): { [key: string]: any } {
|
|
12182
|
+
return {
|
|
12183
|
+
openConversationId: 'string',
|
|
12184
|
+
templateId: 'string',
|
|
12185
|
+
};
|
|
12186
|
+
}
|
|
12187
|
+
|
|
12188
|
+
constructor(map?: { [key: string]: any }) {
|
|
12189
|
+
super(map);
|
|
12190
|
+
}
|
|
12191
|
+
}
|
|
12192
|
+
|
|
12193
|
+
export class UpgradeToExternalGroupResponseBody extends $tea.Model {
|
|
12194
|
+
success?: boolean;
|
|
12195
|
+
static names(): { [key: string]: string } {
|
|
12196
|
+
return {
|
|
12197
|
+
success: 'success',
|
|
12198
|
+
};
|
|
12199
|
+
}
|
|
12200
|
+
|
|
12201
|
+
static types(): { [key: string]: any } {
|
|
12202
|
+
return {
|
|
12203
|
+
success: 'boolean',
|
|
12204
|
+
};
|
|
12205
|
+
}
|
|
12206
|
+
|
|
12207
|
+
constructor(map?: { [key: string]: any }) {
|
|
12208
|
+
super(map);
|
|
12209
|
+
}
|
|
12210
|
+
}
|
|
12211
|
+
|
|
12212
|
+
export class UpgradeToExternalGroupResponse extends $tea.Model {
|
|
12213
|
+
headers?: { [key: string]: string };
|
|
12214
|
+
statusCode?: number;
|
|
12215
|
+
body?: UpgradeToExternalGroupResponseBody;
|
|
12216
|
+
static names(): { [key: string]: string } {
|
|
12217
|
+
return {
|
|
12218
|
+
headers: 'headers',
|
|
12219
|
+
statusCode: 'statusCode',
|
|
12220
|
+
body: 'body',
|
|
12221
|
+
};
|
|
12222
|
+
}
|
|
12223
|
+
|
|
12224
|
+
static types(): { [key: string]: any } {
|
|
12225
|
+
return {
|
|
12226
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12227
|
+
statusCode: 'number',
|
|
12228
|
+
body: UpgradeToExternalGroupResponseBody,
|
|
12229
|
+
};
|
|
12230
|
+
}
|
|
12231
|
+
|
|
12232
|
+
constructor(map?: { [key: string]: any }) {
|
|
12233
|
+
super(map);
|
|
12234
|
+
}
|
|
12235
|
+
}
|
|
12236
|
+
|
|
12237
|
+
export class UpgradeToServiceGroupHeaders extends $tea.Model {
|
|
12238
|
+
commonHeaders?: { [key: string]: string };
|
|
12239
|
+
xAcsDingtalkAccessToken?: string;
|
|
12240
|
+
static names(): { [key: string]: string } {
|
|
12241
|
+
return {
|
|
12242
|
+
commonHeaders: 'commonHeaders',
|
|
12243
|
+
xAcsDingtalkAccessToken: 'x-acs-dingtalk-access-token',
|
|
12244
|
+
};
|
|
12245
|
+
}
|
|
12246
|
+
|
|
12247
|
+
static types(): { [key: string]: any } {
|
|
12248
|
+
return {
|
|
12249
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12250
|
+
xAcsDingtalkAccessToken: 'string',
|
|
12251
|
+
};
|
|
12252
|
+
}
|
|
12253
|
+
|
|
12254
|
+
constructor(map?: { [key: string]: any }) {
|
|
12255
|
+
super(map);
|
|
12256
|
+
}
|
|
12257
|
+
}
|
|
12258
|
+
|
|
12259
|
+
export class UpgradeToServiceGroupRequest extends $tea.Model {
|
|
12260
|
+
/**
|
|
12261
|
+
* @remarks
|
|
12262
|
+
* This parameter is required.
|
|
12263
|
+
*/
|
|
12264
|
+
openConversationId?: string;
|
|
12265
|
+
/**
|
|
12266
|
+
* @remarks
|
|
12267
|
+
* This parameter is required.
|
|
12268
|
+
*
|
|
12269
|
+
* **if can be null:**
|
|
12270
|
+
* false
|
|
12271
|
+
*/
|
|
12272
|
+
templateId?: string;
|
|
12273
|
+
static names(): { [key: string]: string } {
|
|
12274
|
+
return {
|
|
12275
|
+
openConversationId: 'openConversationId',
|
|
12276
|
+
templateId: 'templateId',
|
|
12277
|
+
};
|
|
12278
|
+
}
|
|
12279
|
+
|
|
12280
|
+
static types(): { [key: string]: any } {
|
|
12281
|
+
return {
|
|
12282
|
+
openConversationId: 'string',
|
|
12283
|
+
templateId: 'string',
|
|
10854
12284
|
};
|
|
10855
12285
|
}
|
|
10856
12286
|
|
|
@@ -10859,7 +12289,7 @@ export class UpdateUnfurlingRegisterStatusRequest extends $tea.Model {
|
|
|
10859
12289
|
}
|
|
10860
12290
|
}
|
|
10861
12291
|
|
|
10862
|
-
export class
|
|
12292
|
+
export class UpgradeToServiceGroupResponseBody extends $tea.Model {
|
|
10863
12293
|
success?: boolean;
|
|
10864
12294
|
static names(): { [key: string]: string } {
|
|
10865
12295
|
return {
|
|
@@ -10878,10 +12308,10 @@ export class UpdateUnfurlingRegisterStatusResponseBody extends $tea.Model {
|
|
|
10878
12308
|
}
|
|
10879
12309
|
}
|
|
10880
12310
|
|
|
10881
|
-
export class
|
|
12311
|
+
export class UpgradeToServiceGroupResponse extends $tea.Model {
|
|
10882
12312
|
headers?: { [key: string]: string };
|
|
10883
12313
|
statusCode?: number;
|
|
10884
|
-
body?:
|
|
12314
|
+
body?: UpgradeToServiceGroupResponseBody;
|
|
10885
12315
|
static names(): { [key: string]: string } {
|
|
10886
12316
|
return {
|
|
10887
12317
|
headers: 'headers',
|
|
@@ -10894,7 +12324,7 @@ export class UpdateUnfurlingRegisterStatusResponse extends $tea.Model {
|
|
|
10894
12324
|
return {
|
|
10895
12325
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10896
12326
|
statusCode: 'number',
|
|
10897
|
-
body:
|
|
12327
|
+
body: UpgradeToServiceGroupResponseBody,
|
|
10898
12328
|
};
|
|
10899
12329
|
}
|
|
10900
12330
|
|
|
@@ -11859,6 +13289,59 @@ export class GetNewestInnerGroupsResponseBodyGroupInfos extends $tea.Model {
|
|
|
11859
13289
|
}
|
|
11860
13290
|
}
|
|
11861
13291
|
|
|
13292
|
+
export class GetSingleChatOpenConversationIdResponseBodyResult extends $tea.Model {
|
|
13293
|
+
openConversationId?: string;
|
|
13294
|
+
static names(): { [key: string]: string } {
|
|
13295
|
+
return {
|
|
13296
|
+
openConversationId: 'openConversationId',
|
|
13297
|
+
};
|
|
13298
|
+
}
|
|
13299
|
+
|
|
13300
|
+
static types(): { [key: string]: any } {
|
|
13301
|
+
return {
|
|
13302
|
+
openConversationId: 'string',
|
|
13303
|
+
};
|
|
13304
|
+
}
|
|
13305
|
+
|
|
13306
|
+
constructor(map?: { [key: string]: any }) {
|
|
13307
|
+
super(map);
|
|
13308
|
+
}
|
|
13309
|
+
}
|
|
13310
|
+
|
|
13311
|
+
export class GetSuperAdminOpenSceneGroupInfoResponseBodyManagementOptions extends $tea.Model {
|
|
13312
|
+
chatBannedType?: string;
|
|
13313
|
+
managementType?: string;
|
|
13314
|
+
mentionAllAuthority?: string;
|
|
13315
|
+
searchable?: string;
|
|
13316
|
+
showHistoryType?: string;
|
|
13317
|
+
validationType?: string;
|
|
13318
|
+
static names(): { [key: string]: string } {
|
|
13319
|
+
return {
|
|
13320
|
+
chatBannedType: 'chatBannedType',
|
|
13321
|
+
managementType: 'managementType',
|
|
13322
|
+
mentionAllAuthority: 'mentionAllAuthority',
|
|
13323
|
+
searchable: 'searchable',
|
|
13324
|
+
showHistoryType: 'showHistoryType',
|
|
13325
|
+
validationType: 'validationType',
|
|
13326
|
+
};
|
|
13327
|
+
}
|
|
13328
|
+
|
|
13329
|
+
static types(): { [key: string]: any } {
|
|
13330
|
+
return {
|
|
13331
|
+
chatBannedType: 'string',
|
|
13332
|
+
managementType: 'string',
|
|
13333
|
+
mentionAllAuthority: 'string',
|
|
13334
|
+
searchable: 'string',
|
|
13335
|
+
showHistoryType: 'string',
|
|
13336
|
+
validationType: 'string',
|
|
13337
|
+
};
|
|
13338
|
+
}
|
|
13339
|
+
|
|
13340
|
+
constructor(map?: { [key: string]: any }) {
|
|
13341
|
+
super(map);
|
|
13342
|
+
}
|
|
13343
|
+
}
|
|
13344
|
+
|
|
11862
13345
|
export class GroupManageQueryResponseBodyGroupInfoList extends $tea.Model {
|
|
11863
13346
|
/**
|
|
11864
13347
|
* @example
|
|
@@ -11937,6 +13420,44 @@ export class GroupManageQueryResponseBodyGroupInfoList extends $tea.Model {
|
|
|
11937
13420
|
}
|
|
11938
13421
|
}
|
|
11939
13422
|
|
|
13423
|
+
export class ImportGroupChatResponseBodyResult extends $tea.Model {
|
|
13424
|
+
openConversationId?: string;
|
|
13425
|
+
static names(): { [key: string]: string } {
|
|
13426
|
+
return {
|
|
13427
|
+
openConversationId: 'openConversationId',
|
|
13428
|
+
};
|
|
13429
|
+
}
|
|
13430
|
+
|
|
13431
|
+
static types(): { [key: string]: any } {
|
|
13432
|
+
return {
|
|
13433
|
+
openConversationId: 'string',
|
|
13434
|
+
};
|
|
13435
|
+
}
|
|
13436
|
+
|
|
13437
|
+
constructor(map?: { [key: string]: any }) {
|
|
13438
|
+
super(map);
|
|
13439
|
+
}
|
|
13440
|
+
}
|
|
13441
|
+
|
|
13442
|
+
export class ImportMessageResponseBodyResult extends $tea.Model {
|
|
13443
|
+
openTaskId?: string;
|
|
13444
|
+
static names(): { [key: string]: string } {
|
|
13445
|
+
return {
|
|
13446
|
+
openTaskId: 'openTaskId',
|
|
13447
|
+
};
|
|
13448
|
+
}
|
|
13449
|
+
|
|
13450
|
+
static types(): { [key: string]: any } {
|
|
13451
|
+
return {
|
|
13452
|
+
openTaskId: 'string',
|
|
13453
|
+
};
|
|
13454
|
+
}
|
|
13455
|
+
|
|
13456
|
+
constructor(map?: { [key: string]: any }) {
|
|
13457
|
+
super(map);
|
|
13458
|
+
}
|
|
13459
|
+
}
|
|
13460
|
+
|
|
11940
13461
|
export class InteractiveCardCreateInstanceRequestCardData extends $tea.Model {
|
|
11941
13462
|
cardMediaIdParamMap?: { [key: string]: string };
|
|
11942
13463
|
cardParamMap?: { [key: string]: string };
|
|
@@ -13020,6 +14541,61 @@ export class QueryUnfurlingRegisterInfoResponseBodyList extends $tea.Model {
|
|
|
13020
14541
|
}
|
|
13021
14542
|
}
|
|
13022
14543
|
|
|
14544
|
+
export class QueryUserViewGroupLastMessageTimeResponseBodyResult extends $tea.Model {
|
|
14545
|
+
time?: number;
|
|
14546
|
+
static names(): { [key: string]: string } {
|
|
14547
|
+
return {
|
|
14548
|
+
time: 'time',
|
|
14549
|
+
};
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14552
|
+
static types(): { [key: string]: any } {
|
|
14553
|
+
return {
|
|
14554
|
+
time: 'number',
|
|
14555
|
+
};
|
|
14556
|
+
}
|
|
14557
|
+
|
|
14558
|
+
constructor(map?: { [key: string]: any }) {
|
|
14559
|
+
super(map);
|
|
14560
|
+
}
|
|
14561
|
+
}
|
|
14562
|
+
|
|
14563
|
+
export class ReadPersonalMessageRequestDingOpenConversationMessageIdArray extends $tea.Model {
|
|
14564
|
+
/**
|
|
14565
|
+
* @remarks
|
|
14566
|
+
* This parameter is required.
|
|
14567
|
+
*
|
|
14568
|
+
* @example
|
|
14569
|
+
* cidQGfKJCXMfVxZxxx3ZL0Qlw
|
|
14570
|
+
*/
|
|
14571
|
+
openConversationId?: string;
|
|
14572
|
+
/**
|
|
14573
|
+
* @remarks
|
|
14574
|
+
* This parameter is required.
|
|
14575
|
+
*
|
|
14576
|
+
* @example
|
|
14577
|
+
* msghnezLi8wb6pGqMsadhj9n0yw
|
|
14578
|
+
*/
|
|
14579
|
+
openMessageId?: string;
|
|
14580
|
+
static names(): { [key: string]: string } {
|
|
14581
|
+
return {
|
|
14582
|
+
openConversationId: 'openConversationId',
|
|
14583
|
+
openMessageId: 'openMessageId',
|
|
14584
|
+
};
|
|
14585
|
+
}
|
|
14586
|
+
|
|
14587
|
+
static types(): { [key: string]: any } {
|
|
14588
|
+
return {
|
|
14589
|
+
openConversationId: 'string',
|
|
14590
|
+
openMessageId: 'string',
|
|
14591
|
+
};
|
|
14592
|
+
}
|
|
14593
|
+
|
|
14594
|
+
constructor(map?: { [key: string]: any }) {
|
|
14595
|
+
super(map);
|
|
14596
|
+
}
|
|
14597
|
+
}
|
|
14598
|
+
|
|
13023
14599
|
export class SearchInnerGroupsResponseBodyGroupInfos extends $tea.Model {
|
|
13024
14600
|
/**
|
|
13025
14601
|
* @example
|
|
@@ -14839,6 +16415,60 @@ export default class Client extends OpenApi {
|
|
|
14839
16415
|
return await this.dismissGroupConversationWithOptions(request, headers, runtime);
|
|
14840
16416
|
}
|
|
14841
16417
|
|
|
16418
|
+
/**
|
|
16419
|
+
* 冻结群
|
|
16420
|
+
*
|
|
16421
|
+
* @param request - FreezeGroupRequest
|
|
16422
|
+
* @param headers - FreezeGroupHeaders
|
|
16423
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16424
|
+
* @returns FreezeGroupResponse
|
|
16425
|
+
*/
|
|
16426
|
+
async freezeGroupWithOptions(request: FreezeGroupRequest, headers: FreezeGroupHeaders, runtime: $Util.RuntimeOptions): Promise<FreezeGroupResponse> {
|
|
16427
|
+
Util.validateModel(request);
|
|
16428
|
+
let query : {[key: string ]: any} = { };
|
|
16429
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
16430
|
+
query["openConversationId"] = request.openConversationId;
|
|
16431
|
+
}
|
|
16432
|
+
|
|
16433
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
16434
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
16435
|
+
realHeaders = headers.commonHeaders;
|
|
16436
|
+
}
|
|
16437
|
+
|
|
16438
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
16439
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
16440
|
+
}
|
|
16441
|
+
|
|
16442
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16443
|
+
headers: realHeaders,
|
|
16444
|
+
query: OpenApiUtil.query(query),
|
|
16445
|
+
});
|
|
16446
|
+
let params = new $OpenApi.Params({
|
|
16447
|
+
action: "FreezeGroup",
|
|
16448
|
+
version: "im_1.0",
|
|
16449
|
+
protocol: "HTTP",
|
|
16450
|
+
pathname: `/v1.0/im/chats/sceneGroups/freeze`,
|
|
16451
|
+
method: "POST",
|
|
16452
|
+
authType: "AK",
|
|
16453
|
+
style: "ROA",
|
|
16454
|
+
reqBodyType: "none",
|
|
16455
|
+
bodyType: "json",
|
|
16456
|
+
});
|
|
16457
|
+
return $tea.cast<FreezeGroupResponse>(await this.execute(params, req, runtime), new FreezeGroupResponse({}));
|
|
16458
|
+
}
|
|
16459
|
+
|
|
16460
|
+
/**
|
|
16461
|
+
* 冻结群
|
|
16462
|
+
*
|
|
16463
|
+
* @param request - FreezeGroupRequest
|
|
16464
|
+
* @returns FreezeGroupResponse
|
|
16465
|
+
*/
|
|
16466
|
+
async freezeGroup(request: FreezeGroupRequest): Promise<FreezeGroupResponse> {
|
|
16467
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16468
|
+
let headers = new FreezeGroupHeaders({ });
|
|
16469
|
+
return await this.freezeGroupWithOptions(request, headers, runtime);
|
|
16470
|
+
}
|
|
16471
|
+
|
|
14842
16472
|
/**
|
|
14843
16473
|
* 创建ToB会话地址
|
|
14844
16474
|
*
|
|
@@ -15419,8 +17049,120 @@ export default class Client extends OpenApi {
|
|
|
15419
17049
|
*/
|
|
15420
17050
|
async getSceneGroupTemplateMessageOpenStatus(templateId: string): Promise<GetSceneGroupTemplateMessageOpenStatusResponse> {
|
|
15421
17051
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15422
|
-
let headers = new GetSceneGroupTemplateMessageOpenStatusHeaders({ });
|
|
15423
|
-
return await this.getSceneGroupTemplateMessageOpenStatusWithOptions(templateId, headers, runtime);
|
|
17052
|
+
let headers = new GetSceneGroupTemplateMessageOpenStatusHeaders({ });
|
|
17053
|
+
return await this.getSceneGroupTemplateMessageOpenStatusWithOptions(templateId, headers, runtime);
|
|
17054
|
+
}
|
|
17055
|
+
|
|
17056
|
+
/**
|
|
17057
|
+
* 获取单聊会话的OpenConversationId
|
|
17058
|
+
*
|
|
17059
|
+
* @param request - GetSingleChatOpenConversationIdRequest
|
|
17060
|
+
* @param headers - GetSingleChatOpenConversationIdHeaders
|
|
17061
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17062
|
+
* @returns GetSingleChatOpenConversationIdResponse
|
|
17063
|
+
*/
|
|
17064
|
+
async getSingleChatOpenConversationIdWithOptions(request: GetSingleChatOpenConversationIdRequest, headers: GetSingleChatOpenConversationIdHeaders, runtime: $Util.RuntimeOptions): Promise<GetSingleChatOpenConversationIdResponse> {
|
|
17065
|
+
Util.validateModel(request);
|
|
17066
|
+
let body : {[key: string ]: any} = { };
|
|
17067
|
+
if (!Util.isUnset(request.userId1)) {
|
|
17068
|
+
body["userId1"] = request.userId1;
|
|
17069
|
+
}
|
|
17070
|
+
|
|
17071
|
+
if (!Util.isUnset(request.userId2)) {
|
|
17072
|
+
body["userId2"] = request.userId2;
|
|
17073
|
+
}
|
|
17074
|
+
|
|
17075
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17076
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17077
|
+
realHeaders = headers.commonHeaders;
|
|
17078
|
+
}
|
|
17079
|
+
|
|
17080
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
17081
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
17082
|
+
}
|
|
17083
|
+
|
|
17084
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17085
|
+
headers: realHeaders,
|
|
17086
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17087
|
+
});
|
|
17088
|
+
let params = new $OpenApi.Params({
|
|
17089
|
+
action: "GetSingleChatOpenConversationId",
|
|
17090
|
+
version: "im_1.0",
|
|
17091
|
+
protocol: "HTTP",
|
|
17092
|
+
pathname: `/v1.0/im/privateChats/openConversationId/query`,
|
|
17093
|
+
method: "POST",
|
|
17094
|
+
authType: "AK",
|
|
17095
|
+
style: "ROA",
|
|
17096
|
+
reqBodyType: "none",
|
|
17097
|
+
bodyType: "json",
|
|
17098
|
+
});
|
|
17099
|
+
return $tea.cast<GetSingleChatOpenConversationIdResponse>(await this.execute(params, req, runtime), new GetSingleChatOpenConversationIdResponse({}));
|
|
17100
|
+
}
|
|
17101
|
+
|
|
17102
|
+
/**
|
|
17103
|
+
* 获取单聊会话的OpenConversationId
|
|
17104
|
+
*
|
|
17105
|
+
* @param request - GetSingleChatOpenConversationIdRequest
|
|
17106
|
+
* @returns GetSingleChatOpenConversationIdResponse
|
|
17107
|
+
*/
|
|
17108
|
+
async getSingleChatOpenConversationId(request: GetSingleChatOpenConversationIdRequest): Promise<GetSingleChatOpenConversationIdResponse> {
|
|
17109
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17110
|
+
let headers = new GetSingleChatOpenConversationIdHeaders({ });
|
|
17111
|
+
return await this.getSingleChatOpenConversationIdWithOptions(request, headers, runtime);
|
|
17112
|
+
}
|
|
17113
|
+
|
|
17114
|
+
/**
|
|
17115
|
+
* 查询群信息(超管接口)
|
|
17116
|
+
*
|
|
17117
|
+
* @param request - GetSuperAdminOpenSceneGroupInfoRequest
|
|
17118
|
+
* @param headers - GetSuperAdminOpenSceneGroupInfoHeaders
|
|
17119
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17120
|
+
* @returns GetSuperAdminOpenSceneGroupInfoResponse
|
|
17121
|
+
*/
|
|
17122
|
+
async getSuperAdminOpenSceneGroupInfoWithOptions(request: GetSuperAdminOpenSceneGroupInfoRequest, headers: GetSuperAdminOpenSceneGroupInfoHeaders, runtime: $Util.RuntimeOptions): Promise<GetSuperAdminOpenSceneGroupInfoResponse> {
|
|
17123
|
+
Util.validateModel(request);
|
|
17124
|
+
let query : {[key: string ]: any} = { };
|
|
17125
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
17126
|
+
query["openConversationId"] = request.openConversationId;
|
|
17127
|
+
}
|
|
17128
|
+
|
|
17129
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17130
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17131
|
+
realHeaders = headers.commonHeaders;
|
|
17132
|
+
}
|
|
17133
|
+
|
|
17134
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
17135
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
17136
|
+
}
|
|
17137
|
+
|
|
17138
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17139
|
+
headers: realHeaders,
|
|
17140
|
+
query: OpenApiUtil.query(query),
|
|
17141
|
+
});
|
|
17142
|
+
let params = new $OpenApi.Params({
|
|
17143
|
+
action: "GetSuperAdminOpenSceneGroupInfo",
|
|
17144
|
+
version: "im_1.0",
|
|
17145
|
+
protocol: "HTTP",
|
|
17146
|
+
pathname: `/v1.0/im/chats/sceneGroups/groupInfos`,
|
|
17147
|
+
method: "GET",
|
|
17148
|
+
authType: "AK",
|
|
17149
|
+
style: "ROA",
|
|
17150
|
+
reqBodyType: "none",
|
|
17151
|
+
bodyType: "json",
|
|
17152
|
+
});
|
|
17153
|
+
return $tea.cast<GetSuperAdminOpenSceneGroupInfoResponse>(await this.execute(params, req, runtime), new GetSuperAdminOpenSceneGroupInfoResponse({}));
|
|
17154
|
+
}
|
|
17155
|
+
|
|
17156
|
+
/**
|
|
17157
|
+
* 查询群信息(超管接口)
|
|
17158
|
+
*
|
|
17159
|
+
* @param request - GetSuperAdminOpenSceneGroupInfoRequest
|
|
17160
|
+
* @returns GetSuperAdminOpenSceneGroupInfoResponse
|
|
17161
|
+
*/
|
|
17162
|
+
async getSuperAdminOpenSceneGroupInfo(request: GetSuperAdminOpenSceneGroupInfoRequest): Promise<GetSuperAdminOpenSceneGroupInfoResponse> {
|
|
17163
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17164
|
+
let headers = new GetSuperAdminOpenSceneGroupInfoHeaders({ });
|
|
17165
|
+
return await this.getSuperAdminOpenSceneGroupInfoWithOptions(request, headers, runtime);
|
|
15424
17166
|
}
|
|
15425
17167
|
|
|
15426
17168
|
/**
|
|
@@ -15859,6 +17601,170 @@ export default class Client extends OpenApi {
|
|
|
15859
17601
|
return await this.groupManageReduceWithOptions(request, headers, runtime);
|
|
15860
17602
|
}
|
|
15861
17603
|
|
|
17604
|
+
/**
|
|
17605
|
+
* 导入群聊会话
|
|
17606
|
+
*
|
|
17607
|
+
* @param request - ImportGroupChatRequest
|
|
17608
|
+
* @param headers - ImportGroupChatHeaders
|
|
17609
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17610
|
+
* @returns ImportGroupChatResponse
|
|
17611
|
+
*/
|
|
17612
|
+
async importGroupChatWithOptions(request: ImportGroupChatRequest, headers: ImportGroupChatHeaders, runtime: $Util.RuntimeOptions): Promise<ImportGroupChatResponse> {
|
|
17613
|
+
Util.validateModel(request);
|
|
17614
|
+
let body : {[key: string ]: any} = { };
|
|
17615
|
+
if (!Util.isUnset(request.adminIds)) {
|
|
17616
|
+
body["adminIds"] = request.adminIds;
|
|
17617
|
+
}
|
|
17618
|
+
|
|
17619
|
+
if (!Util.isUnset(request.createAt)) {
|
|
17620
|
+
body["createAt"] = request.createAt;
|
|
17621
|
+
}
|
|
17622
|
+
|
|
17623
|
+
if (!Util.isUnset(request.icon)) {
|
|
17624
|
+
body["icon"] = request.icon;
|
|
17625
|
+
}
|
|
17626
|
+
|
|
17627
|
+
if (!Util.isUnset(request.importUuid)) {
|
|
17628
|
+
body["importUuid"] = request.importUuid;
|
|
17629
|
+
}
|
|
17630
|
+
|
|
17631
|
+
if (!Util.isUnset(request.owner)) {
|
|
17632
|
+
body["owner"] = request.owner;
|
|
17633
|
+
}
|
|
17634
|
+
|
|
17635
|
+
if (!Util.isUnset(request.templateId)) {
|
|
17636
|
+
body["templateId"] = request.templateId;
|
|
17637
|
+
}
|
|
17638
|
+
|
|
17639
|
+
if (!Util.isUnset(request.title)) {
|
|
17640
|
+
body["title"] = request.title;
|
|
17641
|
+
}
|
|
17642
|
+
|
|
17643
|
+
if (!Util.isUnset(request.userList)) {
|
|
17644
|
+
body["userList"] = request.userList;
|
|
17645
|
+
}
|
|
17646
|
+
|
|
17647
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17648
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17649
|
+
realHeaders = headers.commonHeaders;
|
|
17650
|
+
}
|
|
17651
|
+
|
|
17652
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
17653
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
17654
|
+
}
|
|
17655
|
+
|
|
17656
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17657
|
+
headers: realHeaders,
|
|
17658
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17659
|
+
});
|
|
17660
|
+
let params = new $OpenApi.Params({
|
|
17661
|
+
action: "ImportGroupChat",
|
|
17662
|
+
version: "im_1.0",
|
|
17663
|
+
protocol: "HTTP",
|
|
17664
|
+
pathname: `/v1.0/im/groupChats/import`,
|
|
17665
|
+
method: "POST",
|
|
17666
|
+
authType: "AK",
|
|
17667
|
+
style: "ROA",
|
|
17668
|
+
reqBodyType: "none",
|
|
17669
|
+
bodyType: "json",
|
|
17670
|
+
});
|
|
17671
|
+
return $tea.cast<ImportGroupChatResponse>(await this.execute(params, req, runtime), new ImportGroupChatResponse({}));
|
|
17672
|
+
}
|
|
17673
|
+
|
|
17674
|
+
/**
|
|
17675
|
+
* 导入群聊会话
|
|
17676
|
+
*
|
|
17677
|
+
* @param request - ImportGroupChatRequest
|
|
17678
|
+
* @returns ImportGroupChatResponse
|
|
17679
|
+
*/
|
|
17680
|
+
async importGroupChat(request: ImportGroupChatRequest): Promise<ImportGroupChatResponse> {
|
|
17681
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17682
|
+
let headers = new ImportGroupChatHeaders({ });
|
|
17683
|
+
return await this.importGroupChatWithOptions(request, headers, runtime);
|
|
17684
|
+
}
|
|
17685
|
+
|
|
17686
|
+
/**
|
|
17687
|
+
* 导入消息
|
|
17688
|
+
*
|
|
17689
|
+
* @param request - ImportMessageRequest
|
|
17690
|
+
* @param headers - ImportMessageHeaders
|
|
17691
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17692
|
+
* @returns ImportMessageResponse
|
|
17693
|
+
*/
|
|
17694
|
+
async importMessageWithOptions(request: ImportMessageRequest, headers: ImportMessageHeaders, runtime: $Util.RuntimeOptions): Promise<ImportMessageResponse> {
|
|
17695
|
+
Util.validateModel(request);
|
|
17696
|
+
let body : {[key: string ]: any} = { };
|
|
17697
|
+
if (!Util.isUnset(request.content)) {
|
|
17698
|
+
body["content"] = request.content;
|
|
17699
|
+
}
|
|
17700
|
+
|
|
17701
|
+
if (!Util.isUnset(request.createTime)) {
|
|
17702
|
+
body["createTime"] = request.createTime;
|
|
17703
|
+
}
|
|
17704
|
+
|
|
17705
|
+
if (!Util.isUnset(request.importUuid)) {
|
|
17706
|
+
body["importUuid"] = request.importUuid;
|
|
17707
|
+
}
|
|
17708
|
+
|
|
17709
|
+
if (!Util.isUnset(request.msgReadStatusSetting)) {
|
|
17710
|
+
body["msgReadStatusSetting"] = request.msgReadStatusSetting;
|
|
17711
|
+
}
|
|
17712
|
+
|
|
17713
|
+
if (!Util.isUnset(request.msgType)) {
|
|
17714
|
+
body["msgType"] = request.msgType;
|
|
17715
|
+
}
|
|
17716
|
+
|
|
17717
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
17718
|
+
body["openConversationId"] = request.openConversationId;
|
|
17719
|
+
}
|
|
17720
|
+
|
|
17721
|
+
if (!Util.isUnset(request.receivers)) {
|
|
17722
|
+
body["receivers"] = request.receivers;
|
|
17723
|
+
}
|
|
17724
|
+
|
|
17725
|
+
if (!Util.isUnset(request.senderId)) {
|
|
17726
|
+
body["senderId"] = request.senderId;
|
|
17727
|
+
}
|
|
17728
|
+
|
|
17729
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
17730
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
17731
|
+
realHeaders = headers.commonHeaders;
|
|
17732
|
+
}
|
|
17733
|
+
|
|
17734
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
17735
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
17736
|
+
}
|
|
17737
|
+
|
|
17738
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17739
|
+
headers: realHeaders,
|
|
17740
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17741
|
+
});
|
|
17742
|
+
let params = new $OpenApi.Params({
|
|
17743
|
+
action: "ImportMessage",
|
|
17744
|
+
version: "im_1.0",
|
|
17745
|
+
protocol: "HTTP",
|
|
17746
|
+
pathname: `/v1.0/im/messages/import`,
|
|
17747
|
+
method: "POST",
|
|
17748
|
+
authType: "AK",
|
|
17749
|
+
style: "ROA",
|
|
17750
|
+
reqBodyType: "none",
|
|
17751
|
+
bodyType: "json",
|
|
17752
|
+
});
|
|
17753
|
+
return $tea.cast<ImportMessageResponse>(await this.execute(params, req, runtime), new ImportMessageResponse({}));
|
|
17754
|
+
}
|
|
17755
|
+
|
|
17756
|
+
/**
|
|
17757
|
+
* 导入消息
|
|
17758
|
+
*
|
|
17759
|
+
* @param request - ImportMessageRequest
|
|
17760
|
+
* @returns ImportMessageResponse
|
|
17761
|
+
*/
|
|
17762
|
+
async importMessage(request: ImportMessageRequest): Promise<ImportMessageResponse> {
|
|
17763
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17764
|
+
let headers = new ImportMessageHeaders({ });
|
|
17765
|
+
return await this.importMessageWithOptions(request, headers, runtime);
|
|
17766
|
+
}
|
|
17767
|
+
|
|
15862
17768
|
/**
|
|
15863
17769
|
* 安装机器人到组织
|
|
15864
17770
|
*
|
|
@@ -17755,19 +19661,185 @@ export default class Client extends OpenApi {
|
|
|
17755
19661
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
17756
19662
|
* @returns QueryUnfurlingRegisterInfoResponse
|
|
17757
19663
|
*/
|
|
17758
|
-
async queryUnfurlingRegisterInfoWithOptions(request: QueryUnfurlingRegisterInfoRequest, headers: QueryUnfurlingRegisterInfoHeaders, runtime: $Util.RuntimeOptions): Promise<QueryUnfurlingRegisterInfoResponse> {
|
|
19664
|
+
async queryUnfurlingRegisterInfoWithOptions(request: QueryUnfurlingRegisterInfoRequest, headers: QueryUnfurlingRegisterInfoHeaders, runtime: $Util.RuntimeOptions): Promise<QueryUnfurlingRegisterInfoResponse> {
|
|
19665
|
+
Util.validateModel(request);
|
|
19666
|
+
let query : {[key: string ]: any} = { };
|
|
19667
|
+
if (!Util.isUnset(request.appId)) {
|
|
19668
|
+
query["appId"] = request.appId;
|
|
19669
|
+
}
|
|
19670
|
+
|
|
19671
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
19672
|
+
query["maxResults"] = request.maxResults;
|
|
19673
|
+
}
|
|
19674
|
+
|
|
19675
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
19676
|
+
query["nextToken"] = request.nextToken;
|
|
19677
|
+
}
|
|
19678
|
+
|
|
19679
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
19680
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
19681
|
+
realHeaders = headers.commonHeaders;
|
|
19682
|
+
}
|
|
19683
|
+
|
|
19684
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
19685
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
19686
|
+
}
|
|
19687
|
+
|
|
19688
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19689
|
+
headers: realHeaders,
|
|
19690
|
+
query: OpenApiUtil.query(query),
|
|
19691
|
+
});
|
|
19692
|
+
let params = new $OpenApi.Params({
|
|
19693
|
+
action: "QueryUnfurlingRegisterInfo",
|
|
19694
|
+
version: "im_1.0",
|
|
19695
|
+
protocol: "HTTP",
|
|
19696
|
+
pathname: `/v1.0/im/unfurling/rules`,
|
|
19697
|
+
method: "GET",
|
|
19698
|
+
authType: "AK",
|
|
19699
|
+
style: "ROA",
|
|
19700
|
+
reqBodyType: "none",
|
|
19701
|
+
bodyType: "json",
|
|
19702
|
+
});
|
|
19703
|
+
return $tea.cast<QueryUnfurlingRegisterInfoResponse>(await this.execute(params, req, runtime), new QueryUnfurlingRegisterInfoResponse({}));
|
|
19704
|
+
}
|
|
19705
|
+
|
|
19706
|
+
/**
|
|
19707
|
+
* 查询链接增强注册信息列表
|
|
19708
|
+
*
|
|
19709
|
+
* @param request - QueryUnfurlingRegisterInfoRequest
|
|
19710
|
+
* @returns QueryUnfurlingRegisterInfoResponse
|
|
19711
|
+
*/
|
|
19712
|
+
async queryUnfurlingRegisterInfo(request: QueryUnfurlingRegisterInfoRequest): Promise<QueryUnfurlingRegisterInfoResponse> {
|
|
19713
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19714
|
+
let headers = new QueryUnfurlingRegisterInfoHeaders({ });
|
|
19715
|
+
return await this.queryUnfurlingRegisterInfoWithOptions(request, headers, runtime);
|
|
19716
|
+
}
|
|
19717
|
+
|
|
19718
|
+
/**
|
|
19719
|
+
* 查询群主视角群LastMessage时间
|
|
19720
|
+
*
|
|
19721
|
+
* @param request - QueryUserViewGroupLastMessageTimeRequest
|
|
19722
|
+
* @param headers - QueryUserViewGroupLastMessageTimeHeaders
|
|
19723
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19724
|
+
* @returns QueryUserViewGroupLastMessageTimeResponse
|
|
19725
|
+
*/
|
|
19726
|
+
async queryUserViewGroupLastMessageTimeWithOptions(request: QueryUserViewGroupLastMessageTimeRequest, headers: QueryUserViewGroupLastMessageTimeHeaders, runtime: $Util.RuntimeOptions): Promise<QueryUserViewGroupLastMessageTimeResponse> {
|
|
19727
|
+
Util.validateModel(request);
|
|
19728
|
+
let body : {[key: string ]: any} = { };
|
|
19729
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
19730
|
+
body["openConversationId"] = request.openConversationId;
|
|
19731
|
+
}
|
|
19732
|
+
|
|
19733
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
19734
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
19735
|
+
realHeaders = headers.commonHeaders;
|
|
19736
|
+
}
|
|
19737
|
+
|
|
19738
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
19739
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
19740
|
+
}
|
|
19741
|
+
|
|
19742
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19743
|
+
headers: realHeaders,
|
|
19744
|
+
body: OpenApiUtil.parseToMap(body),
|
|
19745
|
+
});
|
|
19746
|
+
let params = new $OpenApi.Params({
|
|
19747
|
+
action: "QueryUserViewGroupLastMessageTime",
|
|
19748
|
+
version: "im_1.0",
|
|
19749
|
+
protocol: "HTTP",
|
|
19750
|
+
pathname: `/v1.0/im/chats/lastMessageTime/query`,
|
|
19751
|
+
method: "POST",
|
|
19752
|
+
authType: "AK",
|
|
19753
|
+
style: "ROA",
|
|
19754
|
+
reqBodyType: "none",
|
|
19755
|
+
bodyType: "json",
|
|
19756
|
+
});
|
|
19757
|
+
return $tea.cast<QueryUserViewGroupLastMessageTimeResponse>(await this.execute(params, req, runtime), new QueryUserViewGroupLastMessageTimeResponse({}));
|
|
19758
|
+
}
|
|
19759
|
+
|
|
19760
|
+
/**
|
|
19761
|
+
* 查询群主视角群LastMessage时间
|
|
19762
|
+
*
|
|
19763
|
+
* @param request - QueryUserViewGroupLastMessageTimeRequest
|
|
19764
|
+
* @returns QueryUserViewGroupLastMessageTimeResponse
|
|
19765
|
+
*/
|
|
19766
|
+
async queryUserViewGroupLastMessageTime(request: QueryUserViewGroupLastMessageTimeRequest): Promise<QueryUserViewGroupLastMessageTimeResponse> {
|
|
19767
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19768
|
+
let headers = new QueryUserViewGroupLastMessageTimeHeaders({ });
|
|
19769
|
+
return await this.queryUserViewGroupLastMessageTimeWithOptions(request, headers, runtime);
|
|
19770
|
+
}
|
|
19771
|
+
|
|
19772
|
+
/**
|
|
19773
|
+
* 用户身份设置消息状态为已读
|
|
19774
|
+
*
|
|
19775
|
+
* @param request - ReadPersonalMessageRequest
|
|
19776
|
+
* @param headers - ReadPersonalMessageHeaders
|
|
19777
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19778
|
+
* @returns ReadPersonalMessageResponse
|
|
19779
|
+
*/
|
|
19780
|
+
async readPersonalMessageWithOptions(request: ReadPersonalMessageRequest, headers: ReadPersonalMessageHeaders, runtime: $Util.RuntimeOptions): Promise<ReadPersonalMessageResponse> {
|
|
19781
|
+
Util.validateModel(request);
|
|
19782
|
+
let body : {[key: string ]: any} = { };
|
|
19783
|
+
if (!Util.isUnset(request.dingOpenConversationMessageIdArray)) {
|
|
19784
|
+
body["dingOpenConversationMessageIdArray"] = request.dingOpenConversationMessageIdArray;
|
|
19785
|
+
}
|
|
19786
|
+
|
|
19787
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
19788
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
19789
|
+
realHeaders = headers.commonHeaders;
|
|
19790
|
+
}
|
|
19791
|
+
|
|
19792
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
19793
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
19794
|
+
}
|
|
19795
|
+
|
|
19796
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19797
|
+
headers: realHeaders,
|
|
19798
|
+
body: OpenApiUtil.parseToMap(body),
|
|
19799
|
+
});
|
|
19800
|
+
let params = new $OpenApi.Params({
|
|
19801
|
+
action: "ReadPersonalMessage",
|
|
19802
|
+
version: "im_1.0",
|
|
19803
|
+
protocol: "HTTP",
|
|
19804
|
+
pathname: `/v1.0/im/me/messages/readStatuses/set`,
|
|
19805
|
+
method: "POST",
|
|
19806
|
+
authType: "AK",
|
|
19807
|
+
style: "ROA",
|
|
19808
|
+
reqBodyType: "none",
|
|
19809
|
+
bodyType: "json",
|
|
19810
|
+
});
|
|
19811
|
+
return $tea.cast<ReadPersonalMessageResponse>(await this.execute(params, req, runtime), new ReadPersonalMessageResponse({}));
|
|
19812
|
+
}
|
|
19813
|
+
|
|
19814
|
+
/**
|
|
19815
|
+
* 用户身份设置消息状态为已读
|
|
19816
|
+
*
|
|
19817
|
+
* @param request - ReadPersonalMessageRequest
|
|
19818
|
+
* @returns ReadPersonalMessageResponse
|
|
19819
|
+
*/
|
|
19820
|
+
async readPersonalMessage(request: ReadPersonalMessageRequest): Promise<ReadPersonalMessageResponse> {
|
|
19821
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19822
|
+
let headers = new ReadPersonalMessageHeaders({ });
|
|
19823
|
+
return await this.readPersonalMessageWithOptions(request, headers, runtime);
|
|
19824
|
+
}
|
|
19825
|
+
|
|
19826
|
+
/**
|
|
19827
|
+
* 用户身份撤回消息
|
|
19828
|
+
*
|
|
19829
|
+
* @param request - RecallPersonalMessageRequest
|
|
19830
|
+
* @param headers - RecallPersonalMessageHeaders
|
|
19831
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19832
|
+
* @returns RecallPersonalMessageResponse
|
|
19833
|
+
*/
|
|
19834
|
+
async recallPersonalMessageWithOptions(request: RecallPersonalMessageRequest, headers: RecallPersonalMessageHeaders, runtime: $Util.RuntimeOptions): Promise<RecallPersonalMessageResponse> {
|
|
17759
19835
|
Util.validateModel(request);
|
|
17760
|
-
let
|
|
17761
|
-
if (!Util.isUnset(request.
|
|
17762
|
-
|
|
17763
|
-
}
|
|
17764
|
-
|
|
17765
|
-
if (!Util.isUnset(request.maxResults)) {
|
|
17766
|
-
query["maxResults"] = request.maxResults;
|
|
19836
|
+
let body : {[key: string ]: any} = { };
|
|
19837
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
19838
|
+
body["openConversationId"] = request.openConversationId;
|
|
17767
19839
|
}
|
|
17768
19840
|
|
|
17769
|
-
if (!Util.isUnset(request.
|
|
17770
|
-
|
|
19841
|
+
if (!Util.isUnset(request.openMessageId)) {
|
|
19842
|
+
body["openMessageId"] = request.openMessageId;
|
|
17771
19843
|
}
|
|
17772
19844
|
|
|
17773
19845
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -17781,32 +19853,32 @@ export default class Client extends OpenApi {
|
|
|
17781
19853
|
|
|
17782
19854
|
let req = new $OpenApi.OpenApiRequest({
|
|
17783
19855
|
headers: realHeaders,
|
|
17784
|
-
|
|
19856
|
+
body: OpenApiUtil.parseToMap(body),
|
|
17785
19857
|
});
|
|
17786
19858
|
let params = new $OpenApi.Params({
|
|
17787
|
-
action: "
|
|
19859
|
+
action: "RecallPersonalMessage",
|
|
17788
19860
|
version: "im_1.0",
|
|
17789
19861
|
protocol: "HTTP",
|
|
17790
|
-
pathname: `/v1.0/im/
|
|
17791
|
-
method: "
|
|
19862
|
+
pathname: `/v1.0/im/me/messages/recall`,
|
|
19863
|
+
method: "POST",
|
|
17792
19864
|
authType: "AK",
|
|
17793
19865
|
style: "ROA",
|
|
17794
19866
|
reqBodyType: "none",
|
|
17795
19867
|
bodyType: "json",
|
|
17796
19868
|
});
|
|
17797
|
-
return $tea.cast<
|
|
19869
|
+
return $tea.cast<RecallPersonalMessageResponse>(await this.execute(params, req, runtime), new RecallPersonalMessageResponse({}));
|
|
17798
19870
|
}
|
|
17799
19871
|
|
|
17800
19872
|
/**
|
|
17801
|
-
*
|
|
19873
|
+
* 用户身份撤回消息
|
|
17802
19874
|
*
|
|
17803
|
-
* @param request -
|
|
17804
|
-
* @returns
|
|
19875
|
+
* @param request - RecallPersonalMessageRequest
|
|
19876
|
+
* @returns RecallPersonalMessageResponse
|
|
17805
19877
|
*/
|
|
17806
|
-
async
|
|
19878
|
+
async recallPersonalMessage(request: RecallPersonalMessageRequest): Promise<RecallPersonalMessageResponse> {
|
|
17807
19879
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17808
|
-
let headers = new
|
|
17809
|
-
return await this.
|
|
19880
|
+
let headers = new RecallPersonalMessageHeaders({ });
|
|
19881
|
+
return await this.recallPersonalMessageWithOptions(request, headers, runtime);
|
|
17810
19882
|
}
|
|
17811
19883
|
|
|
17812
19884
|
/**
|
|
@@ -18222,8 +20294,8 @@ export default class Client extends OpenApi {
|
|
|
18222
20294
|
body["openConversationId"] = request.openConversationId;
|
|
18223
20295
|
}
|
|
18224
20296
|
|
|
18225
|
-
if (!Util.isUnset(request.
|
|
18226
|
-
body["
|
|
20297
|
+
if (!Util.isUnset(request.receiverUserId)) {
|
|
20298
|
+
body["receiverUserId"] = request.receiverUserId;
|
|
18227
20299
|
}
|
|
18228
20300
|
|
|
18229
20301
|
let realHeaders : {[key: string ]: string} = { };
|
|
@@ -18593,6 +20665,130 @@ export default class Client extends OpenApi {
|
|
|
18593
20665
|
return await this.setRightPanelWithOptions(request, headers, runtime);
|
|
18594
20666
|
}
|
|
18595
20667
|
|
|
20668
|
+
/**
|
|
20669
|
+
* 启用群模板(超管接口)
|
|
20670
|
+
*
|
|
20671
|
+
* @param request - SuperAdminApplyTemplateRequest
|
|
20672
|
+
* @param headers - SuperAdminApplyTemplateHeaders
|
|
20673
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20674
|
+
* @returns SuperAdminApplyTemplateResponse
|
|
20675
|
+
*/
|
|
20676
|
+
async superAdminApplyTemplateWithOptions(request: SuperAdminApplyTemplateRequest, headers: SuperAdminApplyTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<SuperAdminApplyTemplateResponse> {
|
|
20677
|
+
Util.validateModel(request);
|
|
20678
|
+
let body : {[key: string ]: any} = { };
|
|
20679
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
20680
|
+
body["openConversationId"] = request.openConversationId;
|
|
20681
|
+
}
|
|
20682
|
+
|
|
20683
|
+
if (!Util.isUnset(request.ownerUserId)) {
|
|
20684
|
+
body["ownerUserId"] = request.ownerUserId;
|
|
20685
|
+
}
|
|
20686
|
+
|
|
20687
|
+
if (!Util.isUnset(request.templateId)) {
|
|
20688
|
+
body["templateId"] = request.templateId;
|
|
20689
|
+
}
|
|
20690
|
+
|
|
20691
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
20692
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
20693
|
+
realHeaders = headers.commonHeaders;
|
|
20694
|
+
}
|
|
20695
|
+
|
|
20696
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
20697
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
20698
|
+
}
|
|
20699
|
+
|
|
20700
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20701
|
+
headers: realHeaders,
|
|
20702
|
+
body: OpenApiUtil.parseToMap(body),
|
|
20703
|
+
});
|
|
20704
|
+
let params = new $OpenApi.Params({
|
|
20705
|
+
action: "SuperAdminApplyTemplate",
|
|
20706
|
+
version: "im_1.0",
|
|
20707
|
+
protocol: "HTTP",
|
|
20708
|
+
pathname: `/v1.0/im/chats/scenegroups/templates/apply`,
|
|
20709
|
+
method: "POST",
|
|
20710
|
+
authType: "AK",
|
|
20711
|
+
style: "ROA",
|
|
20712
|
+
reqBodyType: "none",
|
|
20713
|
+
bodyType: "json",
|
|
20714
|
+
});
|
|
20715
|
+
return $tea.cast<SuperAdminApplyTemplateResponse>(await this.execute(params, req, runtime), new SuperAdminApplyTemplateResponse({}));
|
|
20716
|
+
}
|
|
20717
|
+
|
|
20718
|
+
/**
|
|
20719
|
+
* 启用群模板(超管接口)
|
|
20720
|
+
*
|
|
20721
|
+
* @param request - SuperAdminApplyTemplateRequest
|
|
20722
|
+
* @returns SuperAdminApplyTemplateResponse
|
|
20723
|
+
*/
|
|
20724
|
+
async superAdminApplyTemplate(request: SuperAdminApplyTemplateRequest): Promise<SuperAdminApplyTemplateResponse> {
|
|
20725
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20726
|
+
let headers = new SuperAdminApplyTemplateHeaders({ });
|
|
20727
|
+
return await this.superAdminApplyTemplateWithOptions(request, headers, runtime);
|
|
20728
|
+
}
|
|
20729
|
+
|
|
20730
|
+
/**
|
|
20731
|
+
* 停用群模板(超管接口)
|
|
20732
|
+
*
|
|
20733
|
+
* @param request - SuperAdminCloseTemplateRequest
|
|
20734
|
+
* @param headers - SuperAdminCloseTemplateHeaders
|
|
20735
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20736
|
+
* @returns SuperAdminCloseTemplateResponse
|
|
20737
|
+
*/
|
|
20738
|
+
async superAdminCloseTemplateWithOptions(request: SuperAdminCloseTemplateRequest, headers: SuperAdminCloseTemplateHeaders, runtime: $Util.RuntimeOptions): Promise<SuperAdminCloseTemplateResponse> {
|
|
20739
|
+
Util.validateModel(request);
|
|
20740
|
+
let body : {[key: string ]: any} = { };
|
|
20741
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
20742
|
+
body["openConversationId"] = request.openConversationId;
|
|
20743
|
+
}
|
|
20744
|
+
|
|
20745
|
+
if (!Util.isUnset(request.ownerUserId)) {
|
|
20746
|
+
body["ownerUserId"] = request.ownerUserId;
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20749
|
+
if (!Util.isUnset(request.templateId)) {
|
|
20750
|
+
body["templateId"] = request.templateId;
|
|
20751
|
+
}
|
|
20752
|
+
|
|
20753
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
20754
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
20755
|
+
realHeaders = headers.commonHeaders;
|
|
20756
|
+
}
|
|
20757
|
+
|
|
20758
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
20759
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
20760
|
+
}
|
|
20761
|
+
|
|
20762
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20763
|
+
headers: realHeaders,
|
|
20764
|
+
body: OpenApiUtil.parseToMap(body),
|
|
20765
|
+
});
|
|
20766
|
+
let params = new $OpenApi.Params({
|
|
20767
|
+
action: "SuperAdminCloseTemplate",
|
|
20768
|
+
version: "im_1.0",
|
|
20769
|
+
protocol: "HTTP",
|
|
20770
|
+
pathname: `/v1.0/im/chats/scenegroups/templates/close`,
|
|
20771
|
+
method: "POST",
|
|
20772
|
+
authType: "AK",
|
|
20773
|
+
style: "ROA",
|
|
20774
|
+
reqBodyType: "none",
|
|
20775
|
+
bodyType: "json",
|
|
20776
|
+
});
|
|
20777
|
+
return $tea.cast<SuperAdminCloseTemplateResponse>(await this.execute(params, req, runtime), new SuperAdminCloseTemplateResponse({}));
|
|
20778
|
+
}
|
|
20779
|
+
|
|
20780
|
+
/**
|
|
20781
|
+
* 停用群模板(超管接口)
|
|
20782
|
+
*
|
|
20783
|
+
* @param request - SuperAdminCloseTemplateRequest
|
|
20784
|
+
* @returns SuperAdminCloseTemplateResponse
|
|
20785
|
+
*/
|
|
20786
|
+
async superAdminCloseTemplate(request: SuperAdminCloseTemplateRequest): Promise<SuperAdminCloseTemplateResponse> {
|
|
20787
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20788
|
+
let headers = new SuperAdminCloseTemplateHeaders({ });
|
|
20789
|
+
return await this.superAdminCloseTemplateWithOptions(request, headers, runtime);
|
|
20790
|
+
}
|
|
20791
|
+
|
|
18596
20792
|
/**
|
|
18597
20793
|
* 钉钉吊顶卡片关闭
|
|
18598
20794
|
*
|
|
@@ -18749,6 +20945,76 @@ export default class Client extends OpenApi {
|
|
|
18749
20945
|
return await this.topboxOpenWithOptions(request, headers, runtime);
|
|
18750
20946
|
}
|
|
18751
20947
|
|
|
20948
|
+
/**
|
|
20949
|
+
* 更新钉内用户C端展示的头像和名称(互通群、钉内两人群)
|
|
20950
|
+
*
|
|
20951
|
+
* @param request - UpdateClientServiceRequest
|
|
20952
|
+
* @param headers - UpdateClientServiceHeaders
|
|
20953
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
20954
|
+
* @returns UpdateClientServiceResponse
|
|
20955
|
+
*/
|
|
20956
|
+
async updateClientServiceWithOptions(request: UpdateClientServiceRequest, headers: UpdateClientServiceHeaders, runtime: $Util.RuntimeOptions): Promise<UpdateClientServiceResponse> {
|
|
20957
|
+
Util.validateModel(request);
|
|
20958
|
+
let body : {[key: string ]: any} = { };
|
|
20959
|
+
if (!Util.isUnset(request.avatarUrl)) {
|
|
20960
|
+
body["avatarUrl"] = request.avatarUrl;
|
|
20961
|
+
}
|
|
20962
|
+
|
|
20963
|
+
if (!Util.isUnset(request.resetAvatar)) {
|
|
20964
|
+
body["resetAvatar"] = request.resetAvatar;
|
|
20965
|
+
}
|
|
20966
|
+
|
|
20967
|
+
if (!Util.isUnset(request.resetUserName)) {
|
|
20968
|
+
body["resetUserName"] = request.resetUserName;
|
|
20969
|
+
}
|
|
20970
|
+
|
|
20971
|
+
if (!Util.isUnset(request.userIds)) {
|
|
20972
|
+
body["userIds"] = request.userIds;
|
|
20973
|
+
}
|
|
20974
|
+
|
|
20975
|
+
if (!Util.isUnset(request.userName)) {
|
|
20976
|
+
body["userName"] = request.userName;
|
|
20977
|
+
}
|
|
20978
|
+
|
|
20979
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
20980
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
20981
|
+
realHeaders = headers.commonHeaders;
|
|
20982
|
+
}
|
|
20983
|
+
|
|
20984
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
20985
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
20986
|
+
}
|
|
20987
|
+
|
|
20988
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20989
|
+
headers: realHeaders,
|
|
20990
|
+
body: OpenApiUtil.parseToMap(body),
|
|
20991
|
+
});
|
|
20992
|
+
let params = new $OpenApi.Params({
|
|
20993
|
+
action: "UpdateClientService",
|
|
20994
|
+
version: "im_1.0",
|
|
20995
|
+
protocol: "HTTP",
|
|
20996
|
+
pathname: `/v1.0/im/interconnections/clientServices/avatarAndName`,
|
|
20997
|
+
method: "PUT",
|
|
20998
|
+
authType: "AK",
|
|
20999
|
+
style: "ROA",
|
|
21000
|
+
reqBodyType: "none",
|
|
21001
|
+
bodyType: "json",
|
|
21002
|
+
});
|
|
21003
|
+
return $tea.cast<UpdateClientServiceResponse>(await this.execute(params, req, runtime), new UpdateClientServiceResponse({}));
|
|
21004
|
+
}
|
|
21005
|
+
|
|
21006
|
+
/**
|
|
21007
|
+
* 更新钉内用户C端展示的头像和名称(互通群、钉内两人群)
|
|
21008
|
+
*
|
|
21009
|
+
* @param request - UpdateClientServiceRequest
|
|
21010
|
+
* @returns UpdateClientServiceResponse
|
|
21011
|
+
*/
|
|
21012
|
+
async updateClientService(request: UpdateClientServiceRequest): Promise<UpdateClientServiceResponse> {
|
|
21013
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21014
|
+
let headers = new UpdateClientServiceHeaders({ });
|
|
21015
|
+
return await this.updateClientServiceWithOptions(request, headers, runtime);
|
|
21016
|
+
}
|
|
21017
|
+
|
|
18752
21018
|
/**
|
|
18753
21019
|
* 修改群头像
|
|
18754
21020
|
*
|
|
@@ -19619,6 +21885,122 @@ export default class Client extends OpenApi {
|
|
|
19619
21885
|
return await this.updateUnfurlingRegisterStatusWithOptions(request, headers, runtime);
|
|
19620
21886
|
}
|
|
19621
21887
|
|
|
21888
|
+
/**
|
|
21889
|
+
* 升级群为外部群
|
|
21890
|
+
*
|
|
21891
|
+
* @param request - UpgradeToExternalGroupRequest
|
|
21892
|
+
* @param headers - UpgradeToExternalGroupHeaders
|
|
21893
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21894
|
+
* @returns UpgradeToExternalGroupResponse
|
|
21895
|
+
*/
|
|
21896
|
+
async upgradeToExternalGroupWithOptions(request: UpgradeToExternalGroupRequest, headers: UpgradeToExternalGroupHeaders, runtime: $Util.RuntimeOptions): Promise<UpgradeToExternalGroupResponse> {
|
|
21897
|
+
Util.validateModel(request);
|
|
21898
|
+
let body : {[key: string ]: any} = { };
|
|
21899
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
21900
|
+
body["openConversationId"] = request.openConversationId;
|
|
21901
|
+
}
|
|
21902
|
+
|
|
21903
|
+
if (!Util.isUnset(request.templateId)) {
|
|
21904
|
+
body["templateId"] = request.templateId;
|
|
21905
|
+
}
|
|
21906
|
+
|
|
21907
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
21908
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
21909
|
+
realHeaders = headers.commonHeaders;
|
|
21910
|
+
}
|
|
21911
|
+
|
|
21912
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
21913
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
21914
|
+
}
|
|
21915
|
+
|
|
21916
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21917
|
+
headers: realHeaders,
|
|
21918
|
+
body: OpenApiUtil.parseToMap(body),
|
|
21919
|
+
});
|
|
21920
|
+
let params = new $OpenApi.Params({
|
|
21921
|
+
action: "UpgradeToExternalGroup",
|
|
21922
|
+
version: "im_1.0",
|
|
21923
|
+
protocol: "HTTP",
|
|
21924
|
+
pathname: `/v1.0/im/chats/sceneGroups/upgradeToExternalGroup`,
|
|
21925
|
+
method: "POST",
|
|
21926
|
+
authType: "AK",
|
|
21927
|
+
style: "ROA",
|
|
21928
|
+
reqBodyType: "none",
|
|
21929
|
+
bodyType: "json",
|
|
21930
|
+
});
|
|
21931
|
+
return $tea.cast<UpgradeToExternalGroupResponse>(await this.execute(params, req, runtime), new UpgradeToExternalGroupResponse({}));
|
|
21932
|
+
}
|
|
21933
|
+
|
|
21934
|
+
/**
|
|
21935
|
+
* 升级群为外部群
|
|
21936
|
+
*
|
|
21937
|
+
* @param request - UpgradeToExternalGroupRequest
|
|
21938
|
+
* @returns UpgradeToExternalGroupResponse
|
|
21939
|
+
*/
|
|
21940
|
+
async upgradeToExternalGroup(request: UpgradeToExternalGroupRequest): Promise<UpgradeToExternalGroupResponse> {
|
|
21941
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21942
|
+
let headers = new UpgradeToExternalGroupHeaders({ });
|
|
21943
|
+
return await this.upgradeToExternalGroupWithOptions(request, headers, runtime);
|
|
21944
|
+
}
|
|
21945
|
+
|
|
21946
|
+
/**
|
|
21947
|
+
* 升级为B2C群
|
|
21948
|
+
*
|
|
21949
|
+
* @param request - UpgradeToServiceGroupRequest
|
|
21950
|
+
* @param headers - UpgradeToServiceGroupHeaders
|
|
21951
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21952
|
+
* @returns UpgradeToServiceGroupResponse
|
|
21953
|
+
*/
|
|
21954
|
+
async upgradeToServiceGroupWithOptions(request: UpgradeToServiceGroupRequest, headers: UpgradeToServiceGroupHeaders, runtime: $Util.RuntimeOptions): Promise<UpgradeToServiceGroupResponse> {
|
|
21955
|
+
Util.validateModel(request);
|
|
21956
|
+
let body : {[key: string ]: any} = { };
|
|
21957
|
+
if (!Util.isUnset(request.openConversationId)) {
|
|
21958
|
+
body["openConversationId"] = request.openConversationId;
|
|
21959
|
+
}
|
|
21960
|
+
|
|
21961
|
+
if (!Util.isUnset(request.templateId)) {
|
|
21962
|
+
body["templateId"] = request.templateId;
|
|
21963
|
+
}
|
|
21964
|
+
|
|
21965
|
+
let realHeaders : {[key: string ]: string} = { };
|
|
21966
|
+
if (!Util.isUnset(headers.commonHeaders)) {
|
|
21967
|
+
realHeaders = headers.commonHeaders;
|
|
21968
|
+
}
|
|
21969
|
+
|
|
21970
|
+
if (!Util.isUnset(headers.xAcsDingtalkAccessToken)) {
|
|
21971
|
+
realHeaders["x-acs-dingtalk-access-token"] = Util.toJSONString(headers.xAcsDingtalkAccessToken);
|
|
21972
|
+
}
|
|
21973
|
+
|
|
21974
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21975
|
+
headers: realHeaders,
|
|
21976
|
+
body: OpenApiUtil.parseToMap(body),
|
|
21977
|
+
});
|
|
21978
|
+
let params = new $OpenApi.Params({
|
|
21979
|
+
action: "UpgradeToServiceGroup",
|
|
21980
|
+
version: "im_1.0",
|
|
21981
|
+
protocol: "HTTP",
|
|
21982
|
+
pathname: `/v1.0/im/chats/sceneGroups/upgradeToServiceGroup`,
|
|
21983
|
+
method: "POST",
|
|
21984
|
+
authType: "AK",
|
|
21985
|
+
style: "ROA",
|
|
21986
|
+
reqBodyType: "none",
|
|
21987
|
+
bodyType: "json",
|
|
21988
|
+
});
|
|
21989
|
+
return $tea.cast<UpgradeToServiceGroupResponse>(await this.execute(params, req, runtime), new UpgradeToServiceGroupResponse({}));
|
|
21990
|
+
}
|
|
21991
|
+
|
|
21992
|
+
/**
|
|
21993
|
+
* 升级为B2C群
|
|
21994
|
+
*
|
|
21995
|
+
* @param request - UpgradeToServiceGroupRequest
|
|
21996
|
+
* @returns UpgradeToServiceGroupResponse
|
|
21997
|
+
*/
|
|
21998
|
+
async upgradeToServiceGroup(request: UpgradeToServiceGroupRequest): Promise<UpgradeToServiceGroupResponse> {
|
|
21999
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22000
|
+
let headers = new UpgradeToServiceGroupHeaders({ });
|
|
22001
|
+
return await this.upgradeToServiceGroupWithOptions(request, headers, runtime);
|
|
22002
|
+
}
|
|
22003
|
+
|
|
19622
22004
|
/**
|
|
19623
22005
|
* 添加群成员
|
|
19624
22006
|
*
|