@satorijs/adapter-dingtalk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/alitrip.d.ts +396 -0
- package/lib/api/attendance.d.ts +62 -0
- package/lib/api/badge.d.ts +232 -0
- package/lib/api/blackboard.d.ts +16 -0
- package/lib/api/calendar.d.ts +620 -0
- package/lib/api/card.d.ts +184 -0
- package/lib/api/conference.d.ts +403 -0
- package/lib/api/connector.d.ts +78 -0
- package/lib/api/contact.d.ts +39 -0
- package/lib/api/convFile.d.ts +134 -0
- package/lib/api/crm.d.ts +661 -0
- package/lib/api/customerService.d.ts +127 -0
- package/lib/api/datacenter.d.ts +505 -0
- package/lib/api/devicemng.d.ts +160 -0
- package/lib/api/diot.d.ts +12 -0
- package/lib/api/doc.d.ts +140 -0
- package/lib/api/drive.d.ts +87 -0
- package/lib/api/edu.d.ts +22 -0
- package/lib/api/esign.d.ts +33 -0
- package/lib/api/exclusive.d.ts +303 -0
- package/lib/api/h3yun.d.ts +437 -0
- package/lib/api/hrm.d.ts +214 -0
- package/lib/api/im.d.ts +772 -0
- package/lib/api/industry.d.ts +117 -0
- package/lib/api/jzcrm.d.ts +254 -0
- package/lib/api/link.d.ts +72 -0
- package/lib/api/live.d.ts +131 -0
- package/lib/api/microApp.d.ts +239 -0
- package/lib/api/oapi.d.ts +3361 -0
- package/lib/api/oauth2.d.ts +114 -0
- package/lib/api/pedia.d.ts +185 -0
- package/lib/api/project.d.ts +1118 -0
- package/lib/api/resident.d.ts +106 -0
- package/lib/api/robot.d.ts +255 -0
- package/lib/api/rooms.d.ts +255 -0
- package/lib/api/serviceGroup.d.ts +175 -0
- package/lib/api/storage.d.ts +1240 -0
- package/lib/api/swform.d.ts +70 -0
- package/lib/api/todo.d.ts +168 -0
- package/lib/api/wiki.d.ts +194 -0
- package/lib/api/workbench.d.ts +45 -0
- package/lib/api/yida.d.ts +1837 -0
- package/lib/bot.d.ts +30 -0
- package/lib/http.d.ts +7 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +1814 -0
- package/lib/index.js.map +7 -0
- package/lib/internal.d.ts +7 -0
- package/lib/message.d.ts +17 -0
- package/lib/types/index.d.ts +133 -0
- package/lib/utils.d.ts +4 -0
- package/lib/ws.d.ts +12 -0
- package/package.json +31 -0
|
@@ -0,0 +1,3361 @@
|
|
|
1
|
+
export interface OapiServiceGetCorpTokenParams {
|
|
2
|
+
/** 授权方corpid */
|
|
3
|
+
auth_corpid?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface OapiServiceGetCorpTokenResponse {
|
|
6
|
+
/** 授权方(企业)corp_access_token超时时间 */
|
|
7
|
+
expires_in?: unknown;
|
|
8
|
+
/** 授权方(企业)corp_access_token */
|
|
9
|
+
access_token?: string;
|
|
10
|
+
/** errmsg */
|
|
11
|
+
errmsg?: string;
|
|
12
|
+
/** errcode */
|
|
13
|
+
errcode?: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface OapiSsoGettokenQuery {
|
|
16
|
+
/** 企业Id */
|
|
17
|
+
corpid?: string;
|
|
18
|
+
/** 这里必须填写专属的SSOSecret */
|
|
19
|
+
corpsecret?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface OapiSsoGettokenResponse {
|
|
22
|
+
/** 获取到的凭证 */
|
|
23
|
+
access_token?: string;
|
|
24
|
+
/** 错误信息 */
|
|
25
|
+
errmsg?: string;
|
|
26
|
+
/** 错误码 */
|
|
27
|
+
errcode?: unknown;
|
|
28
|
+
}
|
|
29
|
+
export interface OapiGetJsapiTicketResponse {
|
|
30
|
+
/** 票据过期时间 */
|
|
31
|
+
expires_in?: unknown;
|
|
32
|
+
/** 用于JS API的临时票据 */
|
|
33
|
+
ticket?: string;
|
|
34
|
+
/** errmsg */
|
|
35
|
+
errmsg?: string;
|
|
36
|
+
/** errcode */
|
|
37
|
+
errcode?: unknown;
|
|
38
|
+
}
|
|
39
|
+
export interface OapiGettokenQuery {
|
|
40
|
+
/** 应用的唯一标识key */
|
|
41
|
+
appkey?: string;
|
|
42
|
+
/** 应用的密钥 */
|
|
43
|
+
appsecret?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface OapiGettokenResponse {
|
|
46
|
+
/** access_token */
|
|
47
|
+
access_token?: string;
|
|
48
|
+
/** expires_in */
|
|
49
|
+
expires_in?: unknown;
|
|
50
|
+
/** errmsg */
|
|
51
|
+
errmsg?: string;
|
|
52
|
+
/** errcode */
|
|
53
|
+
errcode?: unknown;
|
|
54
|
+
}
|
|
55
|
+
export interface OapiV2UserGetuserinfoParams {
|
|
56
|
+
/** 免登授权码 */
|
|
57
|
+
code: string;
|
|
58
|
+
}
|
|
59
|
+
export interface OapiV2UserGetuserinfoResponse {
|
|
60
|
+
/** 错误码, 0代表成功,其它代表失败。 */
|
|
61
|
+
errcode?: unknown;
|
|
62
|
+
/** 错误信息。 */
|
|
63
|
+
errmsg?: string;
|
|
64
|
+
/** 返回结果 */
|
|
65
|
+
result?: {
|
|
66
|
+
userid?: string;
|
|
67
|
+
device_id?: string;
|
|
68
|
+
sys?: number;
|
|
69
|
+
sys_level?: number;
|
|
70
|
+
unionid?: string;
|
|
71
|
+
associated_unionid?: string;
|
|
72
|
+
name?: string;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export interface OapiSnsGetuserinfoBycodeParams {
|
|
76
|
+
/** 登录的临时授权码 */
|
|
77
|
+
tmp_auth_code?: string;
|
|
78
|
+
}
|
|
79
|
+
export interface OapiSnsGetuserinfoBycodeResponse {
|
|
80
|
+
/** user_info */
|
|
81
|
+
user_info?: {
|
|
82
|
+
nick?: string;
|
|
83
|
+
unionid?: string;
|
|
84
|
+
openid?: string;
|
|
85
|
+
main_org_auth_high_level?: number;
|
|
86
|
+
};
|
|
87
|
+
/** errmsg */
|
|
88
|
+
errmsg?: string;
|
|
89
|
+
/** errcode */
|
|
90
|
+
errcode?: unknown;
|
|
91
|
+
}
|
|
92
|
+
export interface OapiSsoGetuserinfoQuery {
|
|
93
|
+
/** 再次强调,此token不同于一般的accesstoken,需要调用获取微应用管理员免登需要的AccessToken */
|
|
94
|
+
code?: string;
|
|
95
|
+
/** 通过Oauth认证给URL带上的CODE */
|
|
96
|
+
access_token?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface OapiSsoGetuserinfoResponse {
|
|
99
|
+
/** user_info */
|
|
100
|
+
user_info?: {
|
|
101
|
+
avatar?: string;
|
|
102
|
+
email?: string;
|
|
103
|
+
name?: string;
|
|
104
|
+
userid?: string;
|
|
105
|
+
};
|
|
106
|
+
/** corp_info */
|
|
107
|
+
corp_info?: {
|
|
108
|
+
corp_name?: string;
|
|
109
|
+
corpid?: string;
|
|
110
|
+
};
|
|
111
|
+
/** is_sys */
|
|
112
|
+
is_sys?: unknown;
|
|
113
|
+
/** errcode */
|
|
114
|
+
errcode?: unknown;
|
|
115
|
+
/** errmsg */
|
|
116
|
+
errmsg?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface OapiServiceGetAuthInfoParams {
|
|
119
|
+
/** 套件key */
|
|
120
|
+
suite_key?: string;
|
|
121
|
+
/** 授权方corpid */
|
|
122
|
+
auth_corpid?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface OapiServiceGetAuthInfoResponse {
|
|
125
|
+
/** auth_info */
|
|
126
|
+
auth_info?: {
|
|
127
|
+
agent?: number;
|
|
128
|
+
};
|
|
129
|
+
/** auth_user_info */
|
|
130
|
+
auth_user_info?: {
|
|
131
|
+
userId?: string;
|
|
132
|
+
};
|
|
133
|
+
/** auth_corp_info */
|
|
134
|
+
auth_corp_info?: {
|
|
135
|
+
corpid?: string;
|
|
136
|
+
invite_code?: string;
|
|
137
|
+
industry?: string;
|
|
138
|
+
corp_name?: string;
|
|
139
|
+
license_code?: string;
|
|
140
|
+
auth_channel?: string;
|
|
141
|
+
auth_channel_type?: string;
|
|
142
|
+
is_authenticated?: number;
|
|
143
|
+
auth_level?: number;
|
|
144
|
+
invite_url?: string;
|
|
145
|
+
corp_logo_url?: string;
|
|
146
|
+
belong_corp_id?: string;
|
|
147
|
+
unifiedSocialCredit?: string;
|
|
148
|
+
full_corp_name?: string;
|
|
149
|
+
};
|
|
150
|
+
/** errmsg */
|
|
151
|
+
errmsg?: string;
|
|
152
|
+
/** errcode */
|
|
153
|
+
errcode?: unknown;
|
|
154
|
+
/** channel_auth_info */
|
|
155
|
+
channel_auth_info?: {
|
|
156
|
+
channelAgent?: number;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface OapiV2UserUpdateParams {
|
|
160
|
+
/** 员工id,长度最大64个字符。员工在当前企业内的唯一标识。如果不传,服务器将自动生成一个userid。创建后不可修改,企业内必须唯一。 */
|
|
161
|
+
userid: string;
|
|
162
|
+
/** 员工名称,长度最大80个字符。 */
|
|
163
|
+
name?: string;
|
|
164
|
+
/** 手机号码,企业内必须唯一,不可重复。如果是国际号码,请使用+xx-xxxxxx的格式 */
|
|
165
|
+
mobile?: string;
|
|
166
|
+
/** 是否号码隐藏。隐藏手机号后,手机号在个人资料页隐藏,但仍可对其发DING、发起钉钉免费商务电话。 */
|
|
167
|
+
hide_mobile?: unknown;
|
|
168
|
+
/** 分机号,长度最大50个字符。企业内必须唯一,不可重复 */
|
|
169
|
+
telephone?: string;
|
|
170
|
+
/** 员工工号,长度最大50个字符。 */
|
|
171
|
+
job_number?: string;
|
|
172
|
+
/** 职位,长度最大200个字符。 */
|
|
173
|
+
title?: string;
|
|
174
|
+
/** 员工邮箱,长度最大50个字符。企业内必须唯一,不可重复。 */
|
|
175
|
+
email?: string;
|
|
176
|
+
/** 员工的企业邮箱,长度最大100个字符。员工的企业邮箱已开通,才能增加此字段。 */
|
|
177
|
+
org_email?: string;
|
|
178
|
+
/** 办公地点,长度最大100个字符。 */
|
|
179
|
+
work_place?: string;
|
|
180
|
+
/** 备注,长度最大2000个字符。 */
|
|
181
|
+
remark?: string;
|
|
182
|
+
/** 所属部门id列表 */
|
|
183
|
+
dept_id_list?: number[];
|
|
184
|
+
/** 员工在对应的部门中的排序。 */
|
|
185
|
+
dept_order_list?: object[];
|
|
186
|
+
/** 员工在对应的部门中的职位。 */
|
|
187
|
+
dept_title_list?: object[];
|
|
188
|
+
/** 扩展属性,长度最大2000个字符。可以设置多种属性(手机上最多显示10个扩展属性,具体显示哪些属性,请到OA管理后台->设置->通讯录信息设置和OA管理后台->设置->手机端显示信息设置)。 该字段的值支持链接类型填写,同时链接支持变量通配符自动替换,目前支持通配符有:userid,corpid。示例: [工位地址](http://www.dingtalk.com?userid=#userid#&corpid=#corpid#) */
|
|
189
|
+
extension?: unknown;
|
|
190
|
+
/** 是否高管模式。开启后,手机号码对所有员工隐藏。普通员工无法对其发DING、发起钉钉免费商务电话。高管之间不受影响。 */
|
|
191
|
+
senior_mode?: unknown;
|
|
192
|
+
/** 入职时间,Unix时间戳,单位ms。 */
|
|
193
|
+
hired_date?: unknown;
|
|
194
|
+
/** 语言 */
|
|
195
|
+
language?: string;
|
|
196
|
+
/** 重置专属帐号密码 */
|
|
197
|
+
init_password?: string;
|
|
198
|
+
/** 修改专属帐号登录名 */
|
|
199
|
+
loginId?: string;
|
|
200
|
+
/** 部门内任职 */
|
|
201
|
+
dept_position_list?: object[];
|
|
202
|
+
/** 企业邮箱类型(profession:标准版,base:基础版) */
|
|
203
|
+
org_email_type?: string;
|
|
204
|
+
/** 强制更新的字段,支持清空指定的字段,使用逗号分隔。目前支持字段:manager_userid */
|
|
205
|
+
force_update_fields?: string[];
|
|
206
|
+
/** 直属主管 */
|
|
207
|
+
manager_userid?: string;
|
|
208
|
+
/** 专属帐号手机号 */
|
|
209
|
+
exclusive_mobile?: string;
|
|
210
|
+
/** 手机号验证状态 */
|
|
211
|
+
exclusive_mobile_verify_status?: string;
|
|
212
|
+
/** 修改本组织专属帐号时可指定昵称 */
|
|
213
|
+
nickname?: string;
|
|
214
|
+
/** 修改本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://developers.dingtalk.com/document/app/upload-media-files */
|
|
215
|
+
avatarMediaId?: string;
|
|
216
|
+
/** 自定义字段更新模式,0-覆盖方式 1-追加方式 (默认是覆盖) */
|
|
217
|
+
ext_attrs_update_mode?: unknown;
|
|
218
|
+
/** 更新自定义字段列表 */
|
|
219
|
+
ext_attrs?: object[];
|
|
220
|
+
/** 自定义性别字段 */
|
|
221
|
+
gender?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface OapiV2UserUpdateResponse {
|
|
224
|
+
/** 错误码。0代表成功。 */
|
|
225
|
+
errcode?: unknown;
|
|
226
|
+
/** 错误信息。 */
|
|
227
|
+
errmsg?: string;
|
|
228
|
+
}
|
|
229
|
+
export interface OapiV2UserCreateParams {
|
|
230
|
+
/** 员工id,长度最大64个字符。员工在当前企业内的唯一标识。 */
|
|
231
|
+
userid?: string;
|
|
232
|
+
/** 员工名称,长度最大80个字符。 */
|
|
233
|
+
name: string;
|
|
234
|
+
/** 手机号码,企业内必须唯一,不可重复。如果是国际号码,请使用+xx-xxxxxx的格式 */
|
|
235
|
+
mobile?: string;
|
|
236
|
+
/** 是否号码隐藏。隐藏手机号后,手机号在个人资料页隐藏,但仍可对其发DING、发起钉钉免费商务电话。 */
|
|
237
|
+
hide_mobile?: unknown;
|
|
238
|
+
/** 分机号,长度最大50个字符。企业内必须唯一,不可重复 */
|
|
239
|
+
telephone?: string;
|
|
240
|
+
/** 员工工号,长度最大50个字符。 */
|
|
241
|
+
job_number?: string;
|
|
242
|
+
/** 职位,长度最大200个字符。 */
|
|
243
|
+
title?: string;
|
|
244
|
+
/** 员工邮箱,长度最大50个字符。企业内必须唯一,不可重复。 */
|
|
245
|
+
email?: string;
|
|
246
|
+
/** 员工的企业邮箱,长度最大100个字符。员工的企业邮箱已开通,才能增加此字段。 */
|
|
247
|
+
org_email?: string;
|
|
248
|
+
/** 办公地点,长度最大100个字符。 */
|
|
249
|
+
work_place?: string;
|
|
250
|
+
/** 备注,长度最大2000个字符。 */
|
|
251
|
+
remark?: string;
|
|
252
|
+
/** 所属部门id列表 */
|
|
253
|
+
dept_id_list?: number[];
|
|
254
|
+
/** 员工在对应的部门中的排序。 */
|
|
255
|
+
dept_order_list?: object[];
|
|
256
|
+
/** 员工在对应的部门中的职位。 */
|
|
257
|
+
dept_title_list?: object[];
|
|
258
|
+
/** 扩展属性,长度最大2000个字符。可以设置多种属性(手机上最多显示10个扩展属性,具体显示哪些属性,请到OA管理后台->设置->通讯录信息设置和OA管理后台->设置->手机端显示信息设置)。 该字段的值支持链接类型填写,同时链接支持变量通配符自动替换,目前支持通配符有:userid,corpid。示例: [工位地址](http://www.dingtalk.com?userid=#userid#&corpid=#corpid#) */
|
|
259
|
+
extension?: unknown;
|
|
260
|
+
/** 是否高管模式。开启后,手机号码对所有员工隐藏。普通员工无法对其发DING、发起钉钉免费商务电话。高管之间不受影响。 */
|
|
261
|
+
senior_mode?: unknown;
|
|
262
|
+
/** 入职时间,Unix时间戳,单位ms。 */
|
|
263
|
+
hired_date?: unknown;
|
|
264
|
+
/** 登录邮箱 */
|
|
265
|
+
login_email?: string;
|
|
266
|
+
/** 是否专属帐号(true时,不能指定loginEmail或mobile) */
|
|
267
|
+
exclusive_account?: unknown;
|
|
268
|
+
/** 专属帐号类型:sso: 企业自建专属帐号;dingtalk:钉钉自建专属帐号。 */
|
|
269
|
+
exclusive_account_type?: string;
|
|
270
|
+
/** 钉钉专属帐号登录名 */
|
|
271
|
+
login_id?: string;
|
|
272
|
+
/** 钉钉专属帐号初始密码 */
|
|
273
|
+
init_password?: string;
|
|
274
|
+
/** 部门内任职 */
|
|
275
|
+
dept_position_list?: object[];
|
|
276
|
+
/** 企业邮箱类型(profession:标准版,base:基础版) */
|
|
277
|
+
org_email_type?: string;
|
|
278
|
+
/** 直属主管 */
|
|
279
|
+
manager_userid?: string;
|
|
280
|
+
/** 专属帐号手机号 */
|
|
281
|
+
exclusive_mobile?: string;
|
|
282
|
+
/** 专属帐号手机号验证状态 */
|
|
283
|
+
exclusive_mobile_verify_status?: string;
|
|
284
|
+
/** 需要添加的专属帐号所属corpid */
|
|
285
|
+
outer_exclusive_corpid?: string;
|
|
286
|
+
/** 需要添加的专属帐号所属userid */
|
|
287
|
+
outer_exclusive_userid?: string;
|
|
288
|
+
/** 创建本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://developers.dingtalk.com/document/app/upload-media-files */
|
|
289
|
+
avatarMediaId?: string;
|
|
290
|
+
/** 创建本组织专属帐号时可指定昵称 */
|
|
291
|
+
nickname?: string;
|
|
292
|
+
/** 自定义字段更新模式,0-覆盖方式 1-追加方式 (默认是覆盖) */
|
|
293
|
+
ext_attrs_update_mode?: unknown;
|
|
294
|
+
/** 自定义字段列表 */
|
|
295
|
+
ext_attrs?: object[];
|
|
296
|
+
/** 自定义性别字段 */
|
|
297
|
+
gender?: string;
|
|
298
|
+
}
|
|
299
|
+
export interface OapiV2UserCreateResponse {
|
|
300
|
+
/** 错误码。0代表成功。 */
|
|
301
|
+
errcode?: unknown;
|
|
302
|
+
/** 错误信息。 */
|
|
303
|
+
errmsg?: string;
|
|
304
|
+
/** 返回结果 */
|
|
305
|
+
result?: {
|
|
306
|
+
userid?: string;
|
|
307
|
+
unionId?: string;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
export interface OapiOrgUnionTrunkGetResponse {
|
|
311
|
+
/** OpenOrgUnion */
|
|
312
|
+
result?: {
|
|
313
|
+
org_name?: string;
|
|
314
|
+
corpid?: string;
|
|
315
|
+
}[];
|
|
316
|
+
/** 是否成功 */
|
|
317
|
+
success?: unknown;
|
|
318
|
+
/** 错误code */
|
|
319
|
+
errcode?: unknown;
|
|
320
|
+
/** 错误msg */
|
|
321
|
+
errmsg?: string;
|
|
322
|
+
}
|
|
323
|
+
export interface OapiSmartworkHrmRosterMetaGetParams {
|
|
324
|
+
/** 微应用在企业的AgentId */
|
|
325
|
+
agentid: unknown;
|
|
326
|
+
}
|
|
327
|
+
export interface OapiSmartworkHrmRosterMetaGetResponse {
|
|
328
|
+
/** 花名册分组定义 */
|
|
329
|
+
result?: {
|
|
330
|
+
group_name?: string;
|
|
331
|
+
group_id?: string;
|
|
332
|
+
field_meta_info_list?: number;
|
|
333
|
+
detail?: number;
|
|
334
|
+
}[];
|
|
335
|
+
/** 服务调用成功 */
|
|
336
|
+
success?: unknown;
|
|
337
|
+
/** 错误码 */
|
|
338
|
+
errcode?: unknown;
|
|
339
|
+
/** 错误信息 */
|
|
340
|
+
errmsg?: string;
|
|
341
|
+
}
|
|
342
|
+
export interface OapiSmartworkHrmEmployeeV2ListParams {
|
|
343
|
+
/** 员工id列表 */
|
|
344
|
+
userid_list: string[];
|
|
345
|
+
/** 需要获取的花名册字段信息(不传值时,企业调用获取全部字段,ISV调用获取所有有权限字段。查询字段越少,RT越低,建议按需查询) */
|
|
346
|
+
field_filter_list?: string[];
|
|
347
|
+
/** 微应用在企业的agentId */
|
|
348
|
+
agentid: unknown;
|
|
349
|
+
}
|
|
350
|
+
export interface OapiSmartworkHrmEmployeeV2ListResponse {
|
|
351
|
+
/** 返回结果 */
|
|
352
|
+
result?: {
|
|
353
|
+
corp_id?: string;
|
|
354
|
+
field_data_list?: number;
|
|
355
|
+
userid?: string;
|
|
356
|
+
unionid?: string;
|
|
357
|
+
}[];
|
|
358
|
+
/** 调用是否成功 */
|
|
359
|
+
success?: unknown;
|
|
360
|
+
/** 错误码 */
|
|
361
|
+
errcode?: unknown;
|
|
362
|
+
/** 错误信息 */
|
|
363
|
+
errmsg?: string;
|
|
364
|
+
}
|
|
365
|
+
export interface OapiSmartworkHrmEmployeeV2UpdateParams {
|
|
366
|
+
/** 微应用在企业的AgentId */
|
|
367
|
+
agentid: unknown;
|
|
368
|
+
/** 编辑花名册入参 */
|
|
369
|
+
param: unknown;
|
|
370
|
+
}
|
|
371
|
+
export interface OapiSmartworkHrmEmployeeV2UpdateResponse {
|
|
372
|
+
/** 调用是否成功 */
|
|
373
|
+
result?: unknown;
|
|
374
|
+
/** 调用结果 */
|
|
375
|
+
success?: unknown;
|
|
376
|
+
/** 错误码 */
|
|
377
|
+
errcode?: unknown;
|
|
378
|
+
/** 错误信息 */
|
|
379
|
+
errmsg?: string;
|
|
380
|
+
}
|
|
381
|
+
export interface OapiSmartworkHrmEmployeeFieldGrouplistParams {
|
|
382
|
+
/** 微应用在企业的AgentId,不需要自定义字段可不传 */
|
|
383
|
+
agentid?: unknown;
|
|
384
|
+
}
|
|
385
|
+
export interface OapiSmartworkHrmEmployeeFieldGrouplistResponse {
|
|
386
|
+
/** 错误描述 */
|
|
387
|
+
errmsg?: string;
|
|
388
|
+
/** 错误码 */
|
|
389
|
+
errcode?: unknown;
|
|
390
|
+
/** 成功标记 */
|
|
391
|
+
success?: unknown;
|
|
392
|
+
/** 结果集 */
|
|
393
|
+
result?: {
|
|
394
|
+
group_id?: string;
|
|
395
|
+
has_detail?: number;
|
|
396
|
+
field_list?: number;
|
|
397
|
+
}[];
|
|
398
|
+
}
|
|
399
|
+
export interface OapiSmartworkHrmEmployeeUpdateParams {
|
|
400
|
+
/** 添加待入职入参 */
|
|
401
|
+
param: unknown;
|
|
402
|
+
/** 微应用在企业的AgentId */
|
|
403
|
+
agentid: unknown;
|
|
404
|
+
}
|
|
405
|
+
export interface OapiSmartworkHrmEmployeeUpdateResponse {
|
|
406
|
+
/** 业务处理是否成功 */
|
|
407
|
+
result?: unknown;
|
|
408
|
+
/** 错误码 */
|
|
409
|
+
errcode?: unknown;
|
|
410
|
+
/** 错误信息 */
|
|
411
|
+
errmsg?: string;
|
|
412
|
+
/** 调用结果 */
|
|
413
|
+
success?: unknown;
|
|
414
|
+
}
|
|
415
|
+
export interface OapiSmartworkHrmEmployeeQueryonjobParams {
|
|
416
|
+
/** 在职员工子状态筛选。2,试用期;3,正式;5,待离职;-1,无状态 */
|
|
417
|
+
status_list: number[];
|
|
418
|
+
/** 分页起始值,默认0开始 */
|
|
419
|
+
offset: unknown;
|
|
420
|
+
/** 分页大小,最大50 */
|
|
421
|
+
size: unknown;
|
|
422
|
+
}
|
|
423
|
+
export interface OapiSmartworkHrmEmployeeQueryonjobResponse {
|
|
424
|
+
/** 分页结果 */
|
|
425
|
+
result?: {
|
|
426
|
+
data_list?: number;
|
|
427
|
+
next_cursor?: number;
|
|
428
|
+
};
|
|
429
|
+
/** 错误码 */
|
|
430
|
+
errcode?: unknown;
|
|
431
|
+
/** 错误信息 */
|
|
432
|
+
errmsg?: string;
|
|
433
|
+
/** 调用结果 */
|
|
434
|
+
success?: unknown;
|
|
435
|
+
}
|
|
436
|
+
export interface OapiSmartworkHrmEmployeeQuerypreentryParams {
|
|
437
|
+
/** 分页起始值,默认0开始 */
|
|
438
|
+
offset: unknown;
|
|
439
|
+
/** 分页大小,最大50 */
|
|
440
|
+
size: unknown;
|
|
441
|
+
}
|
|
442
|
+
export interface OapiSmartworkHrmEmployeeQuerypreentryResponse {
|
|
443
|
+
/** 分页结果 */
|
|
444
|
+
result?: {
|
|
445
|
+
next_cursor?: number;
|
|
446
|
+
data_list?: number;
|
|
447
|
+
};
|
|
448
|
+
/** 错误码 */
|
|
449
|
+
errcode?: unknown;
|
|
450
|
+
/** 错误信息 */
|
|
451
|
+
errmsg?: string;
|
|
452
|
+
/** 调用结果 */
|
|
453
|
+
success?: unknown;
|
|
454
|
+
}
|
|
455
|
+
export interface OapiSmartworkHrmEmployeeAddpreentryParams {
|
|
456
|
+
/** 添加待入职入参 */
|
|
457
|
+
param: unknown;
|
|
458
|
+
}
|
|
459
|
+
export interface OapiSmartworkHrmEmployeeAddpreentryResponse {
|
|
460
|
+
/** 员工id */
|
|
461
|
+
userid?: string;
|
|
462
|
+
/** 错误码 */
|
|
463
|
+
errcode?: unknown;
|
|
464
|
+
/** 错误信息 */
|
|
465
|
+
errmsg?: string;
|
|
466
|
+
/** 调用结果 */
|
|
467
|
+
success?: unknown;
|
|
468
|
+
}
|
|
469
|
+
export interface OapiSmartworkHrmEmployeeListParams {
|
|
470
|
+
/** 员工id列表 */
|
|
471
|
+
userid_list: string[];
|
|
472
|
+
/** 需要获取的花名册字段信息 */
|
|
473
|
+
field_filter_list?: string[];
|
|
474
|
+
/** 微应用在企业的agentId */
|
|
475
|
+
agentid?: unknown;
|
|
476
|
+
}
|
|
477
|
+
export interface OapiSmartworkHrmEmployeeListResponse {
|
|
478
|
+
/** 返回结果 */
|
|
479
|
+
result?: {
|
|
480
|
+
userid?: string;
|
|
481
|
+
field_list?: number;
|
|
482
|
+
partner?: number;
|
|
483
|
+
}[];
|
|
484
|
+
/** 错误码 */
|
|
485
|
+
errcode?: unknown;
|
|
486
|
+
/** 错误信息 */
|
|
487
|
+
errmsg?: string;
|
|
488
|
+
/** 调用是否成功 */
|
|
489
|
+
success?: unknown;
|
|
490
|
+
}
|
|
491
|
+
export interface OapiReportTemplateGetbynameParams {
|
|
492
|
+
/** 员工id */
|
|
493
|
+
userid: string;
|
|
494
|
+
/** 模板名称 */
|
|
495
|
+
template_name: string;
|
|
496
|
+
}
|
|
497
|
+
export interface OapiReportTemplateGetbynameResponse {
|
|
498
|
+
/** result */
|
|
499
|
+
result?: {
|
|
500
|
+
default_receivers?: number;
|
|
501
|
+
name?: string;
|
|
502
|
+
id?: string;
|
|
503
|
+
fields?: number;
|
|
504
|
+
user_name?: string;
|
|
505
|
+
userid?: string;
|
|
506
|
+
default_received_convs?: number;
|
|
507
|
+
};
|
|
508
|
+
/** 系统自动生成 */
|
|
509
|
+
errcode?: unknown;
|
|
510
|
+
/** 系统自动生成 */
|
|
511
|
+
errmsg?: string;
|
|
512
|
+
}
|
|
513
|
+
export interface OapiReportCreateParams {
|
|
514
|
+
/** 创建日志的参数对象 */
|
|
515
|
+
create_report_param: unknown;
|
|
516
|
+
}
|
|
517
|
+
export interface OapiReportCreateResponse {
|
|
518
|
+
/** errmsg */
|
|
519
|
+
errmsg?: string;
|
|
520
|
+
/** errcode */
|
|
521
|
+
errcode?: unknown;
|
|
522
|
+
/** result */
|
|
523
|
+
result?: string;
|
|
524
|
+
}
|
|
525
|
+
export interface OapiReportSavecontentParams {
|
|
526
|
+
/** 保存日志的参数对象 */
|
|
527
|
+
create_report_param: unknown;
|
|
528
|
+
}
|
|
529
|
+
export interface OapiReportSavecontentResponse {
|
|
530
|
+
/** result */
|
|
531
|
+
result?: string;
|
|
532
|
+
/** errcode */
|
|
533
|
+
errcode?: unknown;
|
|
534
|
+
/** errmsg */
|
|
535
|
+
errmsg?: string;
|
|
536
|
+
}
|
|
537
|
+
export interface OapiReportSimplelistParams {
|
|
538
|
+
/** 查询起始时间 */
|
|
539
|
+
start_time: unknown;
|
|
540
|
+
/** 查询截止时间 */
|
|
541
|
+
end_time: unknown;
|
|
542
|
+
/** 要查询的模板名称 */
|
|
543
|
+
template_name?: string;
|
|
544
|
+
/** 员工的userid */
|
|
545
|
+
userid?: string;
|
|
546
|
+
/** 查询游标,初始传入0,后续从上一次的返回值中获取 */
|
|
547
|
+
cursor: unknown;
|
|
548
|
+
/** 每页数据量 */
|
|
549
|
+
size: unknown;
|
|
550
|
+
}
|
|
551
|
+
export interface OapiReportSimplelistResponse {
|
|
552
|
+
/** result */
|
|
553
|
+
result?: {
|
|
554
|
+
data_list?: number;
|
|
555
|
+
size?: number;
|
|
556
|
+
next_cursor?: number;
|
|
557
|
+
has_more?: number;
|
|
558
|
+
};
|
|
559
|
+
/** errcode */
|
|
560
|
+
errcode?: unknown;
|
|
561
|
+
/** errmsg */
|
|
562
|
+
errmsg?: string;
|
|
563
|
+
}
|
|
564
|
+
export interface OapiReportStatisticsListbytypeParams {
|
|
565
|
+
/** 日志id */
|
|
566
|
+
report_id: string;
|
|
567
|
+
/** 查询类型 0:已读人员列表 1:评论人员列表 2:点赞人员列表 */
|
|
568
|
+
type: unknown;
|
|
569
|
+
/** 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值,默认值为0 */
|
|
570
|
+
offset?: unknown;
|
|
571
|
+
/** 分页参数,每页大小,最多传100,默认值为100 */
|
|
572
|
+
size?: unknown;
|
|
573
|
+
}
|
|
574
|
+
export interface OapiReportStatisticsListbytypeResponse {
|
|
575
|
+
/** 成功 */
|
|
576
|
+
success?: unknown;
|
|
577
|
+
/** 错误信息 */
|
|
578
|
+
errmsg?: string;
|
|
579
|
+
/** 错误码 */
|
|
580
|
+
errcode?: unknown;
|
|
581
|
+
/** 统计结果 */
|
|
582
|
+
result?: {
|
|
583
|
+
next_cursor?: number;
|
|
584
|
+
has_more?: number;
|
|
585
|
+
userid_list?: number;
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
export interface OapiReportReceiverListParams {
|
|
589
|
+
/** 日志id */
|
|
590
|
+
report_id: string;
|
|
591
|
+
/** 分页查询的游标,最开始传0,后续传返回参数中next_cursor的值,默认值为0 */
|
|
592
|
+
offset?: unknown;
|
|
593
|
+
/** 分页参数,每页大小,最多传100,默认值为100 */
|
|
594
|
+
size?: unknown;
|
|
595
|
+
}
|
|
596
|
+
export interface OapiReportReceiverListResponse {
|
|
597
|
+
/** 统计结果 */
|
|
598
|
+
result?: {
|
|
599
|
+
has_more?: number;
|
|
600
|
+
next_cursor?: number;
|
|
601
|
+
userid_list?: number;
|
|
602
|
+
};
|
|
603
|
+
/** 错误吗 */
|
|
604
|
+
errcode?: unknown;
|
|
605
|
+
/** 错误信息 */
|
|
606
|
+
errmsg?: string;
|
|
607
|
+
/** 成功 */
|
|
608
|
+
success?: unknown;
|
|
609
|
+
}
|
|
610
|
+
export interface OapiReportCommentListParams {
|
|
611
|
+
/** 日志id */
|
|
612
|
+
report_id: string;
|
|
613
|
+
/** 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值,默认值为0 */
|
|
614
|
+
offset?: unknown;
|
|
615
|
+
/** 分页参数,每页大小,最多传20,默认值为20 */
|
|
616
|
+
size?: unknown;
|
|
617
|
+
}
|
|
618
|
+
export interface OapiReportCommentListResponse {
|
|
619
|
+
/** 统计结果 */
|
|
620
|
+
result?: {
|
|
621
|
+
comments?: number;
|
|
622
|
+
has_more?: number;
|
|
623
|
+
next_cursor?: number;
|
|
624
|
+
};
|
|
625
|
+
/** 错误码 */
|
|
626
|
+
errcode?: unknown;
|
|
627
|
+
/** 错误信息 */
|
|
628
|
+
errmsg?: string;
|
|
629
|
+
/** 成功 */
|
|
630
|
+
success?: unknown;
|
|
631
|
+
}
|
|
632
|
+
export interface OapiReportStatisticsParams {
|
|
633
|
+
/** 日志id */
|
|
634
|
+
report_id: string;
|
|
635
|
+
}
|
|
636
|
+
export interface OapiReportStatisticsResponse {
|
|
637
|
+
/** 统计结果 */
|
|
638
|
+
result?: {
|
|
639
|
+
read_num?: number;
|
|
640
|
+
comment_num?: number;
|
|
641
|
+
comment_user_num?: number;
|
|
642
|
+
like_num?: number;
|
|
643
|
+
};
|
|
644
|
+
/** 错误码 */
|
|
645
|
+
errcode?: unknown;
|
|
646
|
+
/** 错误信息 */
|
|
647
|
+
errmsg?: string;
|
|
648
|
+
/** 是否成功 */
|
|
649
|
+
success?: unknown;
|
|
650
|
+
}
|
|
651
|
+
export interface OapiReportGetunreadcountParams {
|
|
652
|
+
/** 员工id */
|
|
653
|
+
userid?: string;
|
|
654
|
+
}
|
|
655
|
+
export interface OapiReportGetunreadcountResponse {
|
|
656
|
+
/** 员工日志未读数 */
|
|
657
|
+
count?: unknown;
|
|
658
|
+
/** errorMsg */
|
|
659
|
+
errmsg?: string;
|
|
660
|
+
/** 错误码 */
|
|
661
|
+
errcode?: unknown;
|
|
662
|
+
}
|
|
663
|
+
export interface OapiReportListParams {
|
|
664
|
+
/** 查询的日志创建的开始时间 */
|
|
665
|
+
start_time: unknown;
|
|
666
|
+
/** 查询的日志创建的结束时间 */
|
|
667
|
+
end_time: unknown;
|
|
668
|
+
/** 要查询的模板名称 */
|
|
669
|
+
template_name?: string;
|
|
670
|
+
/** 员工的userid */
|
|
671
|
+
userid?: string;
|
|
672
|
+
/** 查询游标,初始传入0,后续从上一次的返回值中获取 */
|
|
673
|
+
cursor: unknown;
|
|
674
|
+
/** 每页数据量 */
|
|
675
|
+
size: unknown;
|
|
676
|
+
/** 查询的日志修改的开始时间 */
|
|
677
|
+
modified_start_time?: unknown;
|
|
678
|
+
/** 查询的日志修改的结束时间 */
|
|
679
|
+
modified_end_time?: unknown;
|
|
680
|
+
}
|
|
681
|
+
export interface OapiReportListResponse {
|
|
682
|
+
/** result */
|
|
683
|
+
result?: {
|
|
684
|
+
data_list?: number;
|
|
685
|
+
size?: number;
|
|
686
|
+
next_cursor?: number;
|
|
687
|
+
has_more?: number;
|
|
688
|
+
};
|
|
689
|
+
/** errcode */
|
|
690
|
+
errcode?: unknown;
|
|
691
|
+
/** errmsg */
|
|
692
|
+
errmsg?: string;
|
|
693
|
+
}
|
|
694
|
+
export interface OapiReportTemplateListbyuseridParams {
|
|
695
|
+
/** 员工userId, 不传递表示获取所有日志模板 */
|
|
696
|
+
userid?: string;
|
|
697
|
+
/** 分页游标,从0开始。根据返回结果里的next_cursor是否为空来判断是否还有下一页,且再次调用时offset设置成next_cursor的值 */
|
|
698
|
+
offset?: unknown;
|
|
699
|
+
/** 分页大小,最大可设置成100 */
|
|
700
|
+
size?: unknown;
|
|
701
|
+
}
|
|
702
|
+
export interface OapiReportTemplateListbyuseridResponse {
|
|
703
|
+
/** 错误码 */
|
|
704
|
+
errcode?: unknown;
|
|
705
|
+
/** 错误信息 */
|
|
706
|
+
errmsg?: string;
|
|
707
|
+
/** result */
|
|
708
|
+
result?: {
|
|
709
|
+
template_list?: number;
|
|
710
|
+
next_cursor?: number;
|
|
711
|
+
};
|
|
712
|
+
}
|
|
713
|
+
export interface OapiCheckinRecordGetParams {
|
|
714
|
+
/** 需要查询的用户列表 */
|
|
715
|
+
userid_list: string[];
|
|
716
|
+
/** 起始时间,单位毫秒 */
|
|
717
|
+
start_time: unknown;
|
|
718
|
+
/** 截止时间,单位毫秒。如果是取1个人的数据,时间范围最大到10天,如果是取多个人的数据,时间范围最大1天。 */
|
|
719
|
+
end_time: unknown;
|
|
720
|
+
/** 分页查询的游标,最开始可以传0 */
|
|
721
|
+
cursor: unknown;
|
|
722
|
+
/** 分页查询的每页大小,最大100 */
|
|
723
|
+
size: unknown;
|
|
724
|
+
}
|
|
725
|
+
export interface OapiCheckinRecordGetResponse {
|
|
726
|
+
/** result */
|
|
727
|
+
result?: {
|
|
728
|
+
next_cursor?: number;
|
|
729
|
+
page_list?: number;
|
|
730
|
+
};
|
|
731
|
+
/** errcode */
|
|
732
|
+
errcode?: unknown;
|
|
733
|
+
/** errmsg */
|
|
734
|
+
errmsg?: string;
|
|
735
|
+
}
|
|
736
|
+
export interface OapiCheckinRecordQuery {
|
|
737
|
+
/** 部门id(1 表示根部门) */
|
|
738
|
+
department_id?: string;
|
|
739
|
+
/** 开始时间,精确到毫秒,注意字段的位数 例:1520956800000 */
|
|
740
|
+
end_time?: unknown;
|
|
741
|
+
/** 结束时间,精确到毫秒,注意字段的位数 例:1520956800000(默认为当前时间) */
|
|
742
|
+
start_time?: unknown;
|
|
743
|
+
/** 支持分页查询,与size 参数同时设置时才生效,此参数代表偏移量,从0 开始 */
|
|
744
|
+
offset?: unknown;
|
|
745
|
+
/** 支持分页查询,与offset 参数同时设置时才生效,此参数代表分页大小,最大100 */
|
|
746
|
+
size?: unknown;
|
|
747
|
+
/** 排序,asc 为正序,desc 为倒序 */
|
|
748
|
+
order?: string;
|
|
749
|
+
}
|
|
750
|
+
export interface OapiCheckinRecordResponse {
|
|
751
|
+
/** data */
|
|
752
|
+
data?: {
|
|
753
|
+
name?: string;
|
|
754
|
+
userId?: string;
|
|
755
|
+
avatar?: string;
|
|
756
|
+
timestamp?: number;
|
|
757
|
+
place?: string;
|
|
758
|
+
detailPlace?: string;
|
|
759
|
+
remark?: string;
|
|
760
|
+
imageList?: number;
|
|
761
|
+
latitude?: string;
|
|
762
|
+
longitude?: string;
|
|
763
|
+
}[];
|
|
764
|
+
/** 对返回码的文本描述内容 */
|
|
765
|
+
errmsg?: string;
|
|
766
|
+
/** 返回码 */
|
|
767
|
+
errcode?: unknown;
|
|
768
|
+
}
|
|
769
|
+
export interface OapiBlackboardCategoryListParams {
|
|
770
|
+
/** 操作人userId(必须是公告管理员) */
|
|
771
|
+
operation_userid: string;
|
|
772
|
+
}
|
|
773
|
+
export interface OapiBlackboardCategoryListResponse {
|
|
774
|
+
/** 出参,success为true时,该值不为空,否则值为空 */
|
|
775
|
+
result?: {
|
|
776
|
+
id?: string;
|
|
777
|
+
name?: string;
|
|
778
|
+
}[];
|
|
779
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
780
|
+
success?: unknown;
|
|
781
|
+
/** 请求失败返回错误码 */
|
|
782
|
+
errcode?: unknown;
|
|
783
|
+
/** 请求失败返回错误信息 */
|
|
784
|
+
errmsg?: string;
|
|
785
|
+
}
|
|
786
|
+
export interface OapiBlackboardUpdateParams {
|
|
787
|
+
/** 请求入参 */
|
|
788
|
+
update_request?: unknown;
|
|
789
|
+
}
|
|
790
|
+
export interface OapiBlackboardUpdateResponse {
|
|
791
|
+
/** success为true时,该值不为空,否则值为空 */
|
|
792
|
+
result?: unknown;
|
|
793
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
794
|
+
success?: unknown;
|
|
795
|
+
/** 请求失败返回的错误码 */
|
|
796
|
+
errcode?: unknown;
|
|
797
|
+
/** 请求失败返回的错误信息 */
|
|
798
|
+
errmsg?: string;
|
|
799
|
+
}
|
|
800
|
+
export interface OapiBlackboardDeleteParams {
|
|
801
|
+
/** 公告id,可以通过https://oapi.dingtalk.com/blackboard/listids获取有效值 */
|
|
802
|
+
blackboard_id: string;
|
|
803
|
+
/** 操作人userId(必须是公告管理员) */
|
|
804
|
+
operation_userid: string;
|
|
805
|
+
}
|
|
806
|
+
export interface OapiBlackboardDeleteResponse {
|
|
807
|
+
/** success为true时,该值不为空,否则值为空 */
|
|
808
|
+
result?: unknown;
|
|
809
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
810
|
+
success?: unknown;
|
|
811
|
+
/** 请求失败返回的错误码 */
|
|
812
|
+
errcode?: unknown;
|
|
813
|
+
/** 请求失败返回的错误信息 */
|
|
814
|
+
errmsg?: string;
|
|
815
|
+
}
|
|
816
|
+
export interface OapiBlackboardGetParams {
|
|
817
|
+
/** 公告id */
|
|
818
|
+
blackboard_id: string;
|
|
819
|
+
/** 操作人userId */
|
|
820
|
+
operation_userid: string;
|
|
821
|
+
}
|
|
822
|
+
export interface OapiBlackboardGetResponse {
|
|
823
|
+
/** 出参,success为true时,该值不为空,否则值为空 */
|
|
824
|
+
result?: {
|
|
825
|
+
id?: string;
|
|
826
|
+
author?: string;
|
|
827
|
+
title?: string;
|
|
828
|
+
content?: string;
|
|
829
|
+
category_id?: string;
|
|
830
|
+
private_level?: number;
|
|
831
|
+
depname_list?: number;
|
|
832
|
+
username_list?: number;
|
|
833
|
+
gmt_create?: string;
|
|
834
|
+
gmt_modified?: string;
|
|
835
|
+
read_count?: number;
|
|
836
|
+
unread_count?: number;
|
|
837
|
+
coverpic_url?: string;
|
|
838
|
+
user_list?: number;
|
|
839
|
+
deptList?: number;
|
|
840
|
+
senderStaffId?: string;
|
|
841
|
+
};
|
|
842
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
843
|
+
success?: unknown;
|
|
844
|
+
/** 请求失败返回错误码,0代表无错误 */
|
|
845
|
+
errcode?: unknown;
|
|
846
|
+
/** 请求失败返回错误信息 */
|
|
847
|
+
errmsg?: string;
|
|
848
|
+
}
|
|
849
|
+
export interface OapiBlackboardListidsParams {
|
|
850
|
+
/** 请求入参 */
|
|
851
|
+
query_request?: unknown;
|
|
852
|
+
}
|
|
853
|
+
export interface OapiBlackboardListidsResponse {
|
|
854
|
+
/** success为true时,返回公告id列表。否则值为空 */
|
|
855
|
+
result?: string[];
|
|
856
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
857
|
+
success?: unknown;
|
|
858
|
+
/** 请求失败的错误码 */
|
|
859
|
+
errcode?: unknown;
|
|
860
|
+
/** 请求失败的错误原因 */
|
|
861
|
+
errmsg?: string;
|
|
862
|
+
}
|
|
863
|
+
export interface OapiBlackboardCreateParams {
|
|
864
|
+
/** 请求入参 */
|
|
865
|
+
create_request: unknown;
|
|
866
|
+
}
|
|
867
|
+
export interface OapiBlackboardCreateResponse {
|
|
868
|
+
/** success为true时,该值不为空,否则值为空 */
|
|
869
|
+
result?: unknown;
|
|
870
|
+
/** 本次调用是否成功,该值为false时,根据errcode和errMsg排查失败原因 */
|
|
871
|
+
success?: unknown;
|
|
872
|
+
/** 请求失败返回的错误码 */
|
|
873
|
+
errcode?: unknown;
|
|
874
|
+
/** 请求失败返回的错误信息 */
|
|
875
|
+
errmsg?: string;
|
|
876
|
+
}
|
|
877
|
+
export interface OapiBlackboardListtoptenParams {
|
|
878
|
+
/** 用户id */
|
|
879
|
+
userid: string;
|
|
880
|
+
/** 公告分类id */
|
|
881
|
+
categoryId?: string;
|
|
882
|
+
}
|
|
883
|
+
export interface OapiBlackboardListtoptenResponse {
|
|
884
|
+
/** errcode */
|
|
885
|
+
errcode?: unknown;
|
|
886
|
+
/** errmsg */
|
|
887
|
+
errmsg?: string;
|
|
888
|
+
/** result */
|
|
889
|
+
blackboard_list?: {
|
|
890
|
+
gmt_create?: string;
|
|
891
|
+
title?: string;
|
|
892
|
+
url?: string;
|
|
893
|
+
categoryId?: string;
|
|
894
|
+
id?: string;
|
|
895
|
+
categoryName?: string;
|
|
896
|
+
privateLevel?: number;
|
|
897
|
+
isPushTop?: number;
|
|
898
|
+
}[];
|
|
899
|
+
}
|
|
900
|
+
export interface OapiHealthStepinfoGetuserstatusParams {
|
|
901
|
+
/** 用户id */
|
|
902
|
+
userid: string;
|
|
903
|
+
}
|
|
904
|
+
export interface OapiHealthStepinfoGetuserstatusResponse {
|
|
905
|
+
/** errcode */
|
|
906
|
+
errcode?: unknown;
|
|
907
|
+
/** errmsg */
|
|
908
|
+
errmsg?: string;
|
|
909
|
+
/** true表示开启,false表示未开启 */
|
|
910
|
+
status?: unknown;
|
|
911
|
+
}
|
|
912
|
+
export interface OapiHealthStepinfoListbyuseridParams {
|
|
913
|
+
/** 员工userid列表,最多传50个 */
|
|
914
|
+
userids: string[];
|
|
915
|
+
/** 时间,注意时间格式是YYMMDD */
|
|
916
|
+
stat_date: string;
|
|
917
|
+
}
|
|
918
|
+
export interface OapiHealthStepinfoListbyuseridResponse {
|
|
919
|
+
/** errcode */
|
|
920
|
+
errcode?: unknown;
|
|
921
|
+
/** errmsg */
|
|
922
|
+
errmsg?: string;
|
|
923
|
+
/** 步数列表 */
|
|
924
|
+
stepinfo_list?: {
|
|
925
|
+
stat_date?: number;
|
|
926
|
+
step_count?: number;
|
|
927
|
+
userid?: string;
|
|
928
|
+
}[];
|
|
929
|
+
}
|
|
930
|
+
export interface OapiHealthStepinfoListParams {
|
|
931
|
+
/** 0表示取用户步数,1表示取部门步数 */
|
|
932
|
+
type: unknown;
|
|
933
|
+
/** 可以传入用户userid或者部门id */
|
|
934
|
+
object_id: string;
|
|
935
|
+
/** 时间列表,注意时间格式是YYYYMMDD */
|
|
936
|
+
stat_dates: string[];
|
|
937
|
+
}
|
|
938
|
+
export interface OapiHealthStepinfoListResponse {
|
|
939
|
+
/** errcode */
|
|
940
|
+
errcode?: unknown;
|
|
941
|
+
/** errmsg */
|
|
942
|
+
errmsg?: string;
|
|
943
|
+
/** 步数列表 */
|
|
944
|
+
stepinfo_list?: {
|
|
945
|
+
stat_date?: number;
|
|
946
|
+
step_count?: number;
|
|
947
|
+
}[];
|
|
948
|
+
}
|
|
949
|
+
export interface OapiMicroappListByUseridQuery {
|
|
950
|
+
/** 员工userid */
|
|
951
|
+
userid?: string;
|
|
952
|
+
}
|
|
953
|
+
export interface OapiMicroappListByUseridResponse {
|
|
954
|
+
/** 返回码 */
|
|
955
|
+
errcode?: unknown;
|
|
956
|
+
/** 对返回码的文本描述内容 */
|
|
957
|
+
errmsg?: string;
|
|
958
|
+
/** appList */
|
|
959
|
+
appList?: {
|
|
960
|
+
agentId?: number;
|
|
961
|
+
name?: string;
|
|
962
|
+
appIcon?: string;
|
|
963
|
+
appDesc?: string;
|
|
964
|
+
isSelf?: number;
|
|
965
|
+
appStatus?: number;
|
|
966
|
+
homepageLink?: string;
|
|
967
|
+
pcHomepageLink?: string;
|
|
968
|
+
ompLink?: string;
|
|
969
|
+
}[];
|
|
970
|
+
}
|
|
971
|
+
export interface OapiMicroappListResponse {
|
|
972
|
+
/** appList */
|
|
973
|
+
appList?: {
|
|
974
|
+
name?: string;
|
|
975
|
+
agentId?: number;
|
|
976
|
+
appIcon?: string;
|
|
977
|
+
appDesc?: string;
|
|
978
|
+
isSelf?: number;
|
|
979
|
+
appStatus?: number;
|
|
980
|
+
ompLink?: string;
|
|
981
|
+
homepageLink?: string;
|
|
982
|
+
pcHomepageLink?: string;
|
|
983
|
+
appId?: number;
|
|
984
|
+
}[];
|
|
985
|
+
/** 对返回码的文本描述内容 */
|
|
986
|
+
errmsg?: string;
|
|
987
|
+
/** 返回码 */
|
|
988
|
+
errcode?: unknown;
|
|
989
|
+
}
|
|
990
|
+
export interface OapiMicroappDeleteParams {
|
|
991
|
+
/** 微应用实例化id,企业只能删除自建微应用 */
|
|
992
|
+
agentId?: unknown;
|
|
993
|
+
}
|
|
994
|
+
export interface OapiMicroappDeleteResponse {
|
|
995
|
+
/** errmsg */
|
|
996
|
+
errmsg?: string;
|
|
997
|
+
/** errcode */
|
|
998
|
+
errcode?: unknown;
|
|
999
|
+
}
|
|
1000
|
+
export interface OapiMicroappSetVisibleScopesParams {
|
|
1001
|
+
/** 设置可见的员工id列表,格式为JSON数组 */
|
|
1002
|
+
userVisibleScopes?: string[];
|
|
1003
|
+
/** 设置可见的部门id列表,格式为JSON数组 */
|
|
1004
|
+
deptVisibleScopes?: number[];
|
|
1005
|
+
/** 是否仅限管理员可见,true代表仅限管理员可见 */
|
|
1006
|
+
isHidden?: unknown;
|
|
1007
|
+
/** 微应用实例化id */
|
|
1008
|
+
agentId?: unknown;
|
|
1009
|
+
}
|
|
1010
|
+
export interface OapiMicroappSetVisibleScopesResponse {
|
|
1011
|
+
/** 返回码 */
|
|
1012
|
+
errmsg?: string;
|
|
1013
|
+
/** 对返回码的文本描述内容 */
|
|
1014
|
+
errcode?: unknown;
|
|
1015
|
+
}
|
|
1016
|
+
export interface OapiMicroappVisibleScopesParams {
|
|
1017
|
+
/** 微应用实例化id */
|
|
1018
|
+
agentId?: unknown;
|
|
1019
|
+
}
|
|
1020
|
+
export interface OapiMicroappVisibleScopesResponse {
|
|
1021
|
+
/** 微应用的可见用户id列表,格式为JSON数组 */
|
|
1022
|
+
userVisibleScopes?: string[];
|
|
1023
|
+
/** 微应用的可见部门id列表,格式为JSON数组 */
|
|
1024
|
+
deptVisibleScopes?: number[];
|
|
1025
|
+
/** 是否仅限管理员可见 */
|
|
1026
|
+
isHidden?: unknown;
|
|
1027
|
+
/** 对返回码的文本描述内容 */
|
|
1028
|
+
errmsg?: string;
|
|
1029
|
+
/** 返回码 */
|
|
1030
|
+
errcode?: unknown;
|
|
1031
|
+
}
|
|
1032
|
+
export interface OapiAsrVoiceTranslateParams {
|
|
1033
|
+
/** media_id,获取方式见https://ding-doc.dingtalk.com/doc#/serverapi2/bcmg0i */
|
|
1034
|
+
media_id: string;
|
|
1035
|
+
}
|
|
1036
|
+
export interface OapiAsrVoiceTranslateResponse {
|
|
1037
|
+
/** errorMsg */
|
|
1038
|
+
errmsg?: string;
|
|
1039
|
+
/** dingOpenErrcode */
|
|
1040
|
+
errcode?: unknown;
|
|
1041
|
+
/** result */
|
|
1042
|
+
result?: string;
|
|
1043
|
+
}
|
|
1044
|
+
export interface OapiAiMtTranslateParams {
|
|
1045
|
+
/** 翻译源文字符串 */
|
|
1046
|
+
query: string;
|
|
1047
|
+
/** 翻译源语言类型 */
|
|
1048
|
+
source_language: string;
|
|
1049
|
+
/** 翻译目标语言类型 */
|
|
1050
|
+
target_language: string;
|
|
1051
|
+
}
|
|
1052
|
+
export interface OapiAiMtTranslateResponse {
|
|
1053
|
+
/** 翻译结果字符串 */
|
|
1054
|
+
result?: string;
|
|
1055
|
+
/** 成功为0 */
|
|
1056
|
+
errcode?: unknown;
|
|
1057
|
+
/** 成功 */
|
|
1058
|
+
errmsg?: string;
|
|
1059
|
+
}
|
|
1060
|
+
export interface OapiOcrStructuredRecognizeParams {
|
|
1061
|
+
/** 识别图片类型, 身份证idcard,营业执照增值税发票invoice,营业执照blicense,银行卡bank_card,车牌car_no,机动车发票car_invoice,驾驶证driving_license,行驶证vehicle_license,火车票train_ticket,定额发票quota_invoice,出租车发票taxi_ticket,机票行程单air_itinerary */
|
|
1062
|
+
type: string;
|
|
1063
|
+
/** 识别图片地址 */
|
|
1064
|
+
image_url: string;
|
|
1065
|
+
}
|
|
1066
|
+
export interface OapiOcrStructuredRecognizeResponse {
|
|
1067
|
+
/** 错误码 */
|
|
1068
|
+
errcode?: unknown;
|
|
1069
|
+
/** 错误描述 */
|
|
1070
|
+
errmsg?: string;
|
|
1071
|
+
/** 识别结果 */
|
|
1072
|
+
result?: {
|
|
1073
|
+
height?: number;
|
|
1074
|
+
width?: number;
|
|
1075
|
+
angle?: number;
|
|
1076
|
+
data?: string;
|
|
1077
|
+
original_height?: number;
|
|
1078
|
+
original_width?: number;
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
export interface OapiImChatScencegroupMessageSendV2Params {
|
|
1082
|
+
/** 接收消息的群的openConversationId */
|
|
1083
|
+
target_open_conversation_id: string;
|
|
1084
|
+
/** 模板ID */
|
|
1085
|
+
msg_template_id: string;
|
|
1086
|
+
/** 消息模板内容替换参数-普通文本类型 */
|
|
1087
|
+
msg_param_map?: unknown;
|
|
1088
|
+
/** 消息模板内容替换参数-多媒体类型 */
|
|
1089
|
+
msg_media_id_param_map?: unknown;
|
|
1090
|
+
/** 消息接收人 userId 列表 (不设置任何接收人则全部可见) */
|
|
1091
|
+
receiver_user_ids?: string[];
|
|
1092
|
+
/** 消息接收人 unionId 列表(不设置任何接收人则全部可见) */
|
|
1093
|
+
receiver_union_ids?: string[];
|
|
1094
|
+
/** 消息接收人手机号列表(不设置任何接收人则全部可见) */
|
|
1095
|
+
receiver_mobiles?: string[];
|
|
1096
|
+
/** @人的手机号列表 */
|
|
1097
|
+
at_mobiles?: string[];
|
|
1098
|
+
/** 是否@所有人 */
|
|
1099
|
+
is_at_all?: unknown;
|
|
1100
|
+
/** 用于发送卡片的机器人编码,与场景群模板中的机器人编码保持一致 */
|
|
1101
|
+
robot_code?: string;
|
|
1102
|
+
/** @人的员工id列表 */
|
|
1103
|
+
at_users?: string[];
|
|
1104
|
+
/** @人的unionId列表 */
|
|
1105
|
+
at_union_ids?: string[];
|
|
1106
|
+
}
|
|
1107
|
+
export interface OapiImChatScencegroupMessageSendV2Response {
|
|
1108
|
+
/** 成功 */
|
|
1109
|
+
succ?: unknown;
|
|
1110
|
+
/** 统一错误码 */
|
|
1111
|
+
errcode?: unknown;
|
|
1112
|
+
/** 错误信息 */
|
|
1113
|
+
errmsg?: string;
|
|
1114
|
+
/** 开发消息ID */
|
|
1115
|
+
open_msg_id?: string;
|
|
1116
|
+
}
|
|
1117
|
+
export interface OapiImChatScenegroupTemplateCloseParams {
|
|
1118
|
+
/** 群主userid */
|
|
1119
|
+
owner_user_id: string;
|
|
1120
|
+
/** 群模板ID */
|
|
1121
|
+
template_id: string;
|
|
1122
|
+
/** 启用模式 */
|
|
1123
|
+
apply_mode?: unknown;
|
|
1124
|
+
/** 加密cid,必填 */
|
|
1125
|
+
open_conversation_id: string;
|
|
1126
|
+
}
|
|
1127
|
+
export interface OapiImChatScenegroupTemplateCloseResponse {
|
|
1128
|
+
/** 是否成功 */
|
|
1129
|
+
success?: unknown;
|
|
1130
|
+
/** 错误信息 */
|
|
1131
|
+
errmsg?: string;
|
|
1132
|
+
/** 错误码 */
|
|
1133
|
+
errcode?: unknown;
|
|
1134
|
+
}
|
|
1135
|
+
export interface OapiImChatScenegroupTemplateApplyParams {
|
|
1136
|
+
/** 群主userid */
|
|
1137
|
+
owner_user_id: string;
|
|
1138
|
+
/** 启用模式 */
|
|
1139
|
+
apply_mode?: unknown;
|
|
1140
|
+
/** 群模板ID */
|
|
1141
|
+
template_id: string;
|
|
1142
|
+
/** 加密cid,必填 */
|
|
1143
|
+
open_conversation_id: string;
|
|
1144
|
+
}
|
|
1145
|
+
export interface OapiImChatScenegroupTemplateApplyResponse {
|
|
1146
|
+
/** 是否成功 */
|
|
1147
|
+
success?: unknown;
|
|
1148
|
+
/** 错误信息 */
|
|
1149
|
+
errmsg?: string;
|
|
1150
|
+
/** 错误码 */
|
|
1151
|
+
errcode?: unknown;
|
|
1152
|
+
}
|
|
1153
|
+
export interface OapiImChatScencegroupInteractivecardCallbackRegisterParams {
|
|
1154
|
+
/** 回调地址 */
|
|
1155
|
+
callback_url: string;
|
|
1156
|
+
/** 加密密钥用于校验来源 */
|
|
1157
|
+
api_secret?: string;
|
|
1158
|
+
/** callback地址的路由Key,一个key仅可映射一个callbackUrl,不传值企业内部应用默认为orgId,企业三方应用默认为SuiteKey */
|
|
1159
|
+
callbackRouteKey?: string;
|
|
1160
|
+
/** 是否强制覆盖更新 */
|
|
1161
|
+
forceUpdate?: unknown;
|
|
1162
|
+
}
|
|
1163
|
+
export interface OapiImChatScencegroupInteractivecardCallbackRegisterResponse {
|
|
1164
|
+
/** 业务返回结果 */
|
|
1165
|
+
result?: {
|
|
1166
|
+
apiSecret?: string;
|
|
1167
|
+
callbackUrl?: string;
|
|
1168
|
+
};
|
|
1169
|
+
/** 成功 */
|
|
1170
|
+
success?: unknown;
|
|
1171
|
+
/** 错误码 */
|
|
1172
|
+
errcode?: unknown;
|
|
1173
|
+
/** 错误信息 */
|
|
1174
|
+
errmsg?: string;
|
|
1175
|
+
}
|
|
1176
|
+
export interface OapiImChatScenegroupCreateParams {
|
|
1177
|
+
/** 群主userid */
|
|
1178
|
+
owner_user_id: string;
|
|
1179
|
+
/** 群成员useridlist */
|
|
1180
|
+
user_ids?: string[];
|
|
1181
|
+
/** 建群去重的业务id */
|
|
1182
|
+
uuid?: string;
|
|
1183
|
+
/** 群头像mediaId */
|
|
1184
|
+
icon?: string;
|
|
1185
|
+
/** @all 权限,0-默认,所有人,1-仅群主可@all */
|
|
1186
|
+
mention_all_authority?: unknown;
|
|
1187
|
+
/** 新成员是否可查看聊天历史消息,0-默认,否,1-是 */
|
|
1188
|
+
show_history_type?: unknown;
|
|
1189
|
+
/** 入群验证,0:不入群验证(默认) 1:入群验证 */
|
|
1190
|
+
validation_type?: unknown;
|
|
1191
|
+
/** 群可搜索,0-默认,不可搜索,1-可搜索 */
|
|
1192
|
+
searchable?: unknown;
|
|
1193
|
+
/** 群禁言,0-默认,不禁言,1-全员禁言 */
|
|
1194
|
+
chat_banned_type?: unknown;
|
|
1195
|
+
/** 管理类型,0-默认,所有人可管理,1-仅群主可管理 */
|
|
1196
|
+
management_type?: unknown;
|
|
1197
|
+
/** 群名称 */
|
|
1198
|
+
title: string;
|
|
1199
|
+
/** 群模板id */
|
|
1200
|
+
template_id: string;
|
|
1201
|
+
/** 群管理员useridlist */
|
|
1202
|
+
subadmin_ids?: string[];
|
|
1203
|
+
/** 仅群主和管理员可在群内发DING 0-不开启,1-开启 */
|
|
1204
|
+
only_admin_can_ding?: unknown;
|
|
1205
|
+
/** 群会议 若开启,群内任意成员可发起视频和语音会议 0-不开启,1-开启 */
|
|
1206
|
+
all_members_can_create_mcs_conf?: unknown;
|
|
1207
|
+
/** 群日历 若开启,群内容非好友/同事的成员可相互发起钉钉日程 0-不开启,1-开启 */
|
|
1208
|
+
all_members_can_create_calendar?: unknown;
|
|
1209
|
+
/** 禁止发送群邮件 若开启,群内成员不可再对本群发送群邮件 0-不开启,1-开启 */
|
|
1210
|
+
group_email_disabled?: unknown;
|
|
1211
|
+
/** 仅群主和管理员可置顶群消息 0-不开启,1-开启 */
|
|
1212
|
+
only_admin_can_set_msg_top?: unknown;
|
|
1213
|
+
/** 禁止群成员私聊 若开启,普通群成员之间不能够加好友、单聊,且部分功能使用受限(管理员与非管理员之间不受影响)0-不开启,1-开启 */
|
|
1214
|
+
add_friend_forbidden?: unknown;
|
|
1215
|
+
/** 群直播 若开启,群内任意成员可发起群直播 0-不开启,1-开启 */
|
|
1216
|
+
group_live_switch?: unknown;
|
|
1217
|
+
/** 禁止非管理员向管理员发起单聊 若开启,非管理员不能向管理员发起单聊 0-不开启,1-开启 */
|
|
1218
|
+
members_to_admin_chat?: unknown;
|
|
1219
|
+
}
|
|
1220
|
+
export interface OapiImChatScenegroupCreateResponse {
|
|
1221
|
+
/** 返回结果 */
|
|
1222
|
+
result?: {
|
|
1223
|
+
open_conversation_id?: string;
|
|
1224
|
+
chat_id?: string;
|
|
1225
|
+
};
|
|
1226
|
+
/** 是否成功 */
|
|
1227
|
+
success?: unknown;
|
|
1228
|
+
/** 错误信息 */
|
|
1229
|
+
errmsg?: string;
|
|
1230
|
+
/** 错误码 */
|
|
1231
|
+
errcode?: unknown;
|
|
1232
|
+
}
|
|
1233
|
+
export interface OapiImChatScenegroupMemberAddParams {
|
|
1234
|
+
/** 开放群id */
|
|
1235
|
+
open_conversation_id: string;
|
|
1236
|
+
/** 成员userid */
|
|
1237
|
+
user_ids?: string[];
|
|
1238
|
+
/** 客户联系人staffIds */
|
|
1239
|
+
contact_staff_ids?: string[];
|
|
1240
|
+
}
|
|
1241
|
+
export interface OapiImChatScenegroupMemberAddResponse {
|
|
1242
|
+
/** 是否成功 */
|
|
1243
|
+
success?: unknown;
|
|
1244
|
+
/** 错误码 */
|
|
1245
|
+
errcode?: unknown;
|
|
1246
|
+
/** 错误信息 */
|
|
1247
|
+
errmsg?: string;
|
|
1248
|
+
}
|
|
1249
|
+
export interface OapiImChatScenegroupMemberGetParams {
|
|
1250
|
+
/** 分页游标 */
|
|
1251
|
+
cursor: string;
|
|
1252
|
+
/** 分页的pagesize */
|
|
1253
|
+
size: unknown;
|
|
1254
|
+
/** 开放群id */
|
|
1255
|
+
open_conversation_id: string;
|
|
1256
|
+
}
|
|
1257
|
+
export interface OapiImChatScenegroupMemberGetResponse {
|
|
1258
|
+
/** 返回结果 */
|
|
1259
|
+
result?: {
|
|
1260
|
+
member_user_ids?: number;
|
|
1261
|
+
next_cursor?: string;
|
|
1262
|
+
has_more?: number;
|
|
1263
|
+
member_contact_staff_ids?: number;
|
|
1264
|
+
union_ids?: number;
|
|
1265
|
+
staff_id_nick_map?: number;
|
|
1266
|
+
union_id_nick_map?: number;
|
|
1267
|
+
};
|
|
1268
|
+
/** 请求是否成功 */
|
|
1269
|
+
success?: unknown;
|
|
1270
|
+
/** 错误码 */
|
|
1271
|
+
errcode?: unknown;
|
|
1272
|
+
/** 错误信息 */
|
|
1273
|
+
errmsg?: string;
|
|
1274
|
+
}
|
|
1275
|
+
export interface OapiImChatScenegroupUpdateParams {
|
|
1276
|
+
/** 群主userid */
|
|
1277
|
+
owner_user_id?: string;
|
|
1278
|
+
/** 群头像mediaId */
|
|
1279
|
+
icon?: string;
|
|
1280
|
+
/** @all 权限,0-默认,所有人,1-仅群主可@all */
|
|
1281
|
+
mention_all_authority?: unknown;
|
|
1282
|
+
/** 新成员是否可查看聊天历史消息,0-默认,否,1-是 */
|
|
1283
|
+
show_history_type?: unknown;
|
|
1284
|
+
/** 入群验证,0:不入群验证(默认) 1:入群验证 */
|
|
1285
|
+
validation_type?: unknown;
|
|
1286
|
+
/** 群可搜索,0-默认,不可搜索,1-可搜索 */
|
|
1287
|
+
searchable?: unknown;
|
|
1288
|
+
/** 群禁言,0-默认,不禁言,1-全员禁言 */
|
|
1289
|
+
chat_banned_type?: unknown;
|
|
1290
|
+
/** 管理类型,0-默认,所有人可管理,1-仅群主可管理 */
|
|
1291
|
+
management_type?: unknown;
|
|
1292
|
+
/** 群名称 */
|
|
1293
|
+
title?: string;
|
|
1294
|
+
/** 群id */
|
|
1295
|
+
open_conversation_id: string;
|
|
1296
|
+
/** 仅群主和管理员可在群内发DING 0-不开启,1-开启 */
|
|
1297
|
+
only_admin_can_ding?: unknown;
|
|
1298
|
+
/** 群会议 若开启,群内任意成员可发起视频和语音会议 0-不开启,1-开启 */
|
|
1299
|
+
all_members_can_create_mcs_conf?: unknown;
|
|
1300
|
+
/** 群日历 若开启,群内容非好友/同事的成员可相互发起钉钉日程 0-不开启,1-开启 */
|
|
1301
|
+
all_members_can_create_calendar?: unknown;
|
|
1302
|
+
/** 禁止发送群邮件 若开启,群内成员不可再对本群发送群邮件 0-不开启,1-开启 */
|
|
1303
|
+
group_email_disabled?: unknown;
|
|
1304
|
+
/** 仅群主和管理员可置顶群消息 0-不开启,1-开启 */
|
|
1305
|
+
only_admin_can_set_msg_top?: unknown;
|
|
1306
|
+
/** 禁止群成员私聊 若开启,普通群成员之间不能够加好友、单聊,且部分功能使用受限(管理员与非管理员之间不受影响)0-不开启,1-开启 */
|
|
1307
|
+
add_friend_forbidden?: unknown;
|
|
1308
|
+
/** 群直播 若开启,群内任意成员可发起群直播 0-不开启,1-开启 */
|
|
1309
|
+
group_live_switch?: unknown;
|
|
1310
|
+
/** 禁止非管理员向管理员发起单聊 若开启,非管理员不能向管理员发起单聊 0-不开启,1-开启 */
|
|
1311
|
+
members_to_admin_chat?: unknown;
|
|
1312
|
+
/** 自定义群插件是否需要群主和管理员审批0-不需要审批,1-需要审批 */
|
|
1313
|
+
plugin_customize_verify?: unknown;
|
|
1314
|
+
}
|
|
1315
|
+
export interface OapiImChatScenegroupUpdateResponse {
|
|
1316
|
+
/** 返回结果 */
|
|
1317
|
+
success?: unknown;
|
|
1318
|
+
/** 错误码 */
|
|
1319
|
+
errcode?: unknown;
|
|
1320
|
+
/** 错误信息 */
|
|
1321
|
+
errmsg?: string;
|
|
1322
|
+
}
|
|
1323
|
+
export interface OapiImChatScenegroupMemberDeleteParams {
|
|
1324
|
+
/** 开放群id */
|
|
1325
|
+
open_conversation_id: string;
|
|
1326
|
+
/** 员工userid */
|
|
1327
|
+
user_ids?: string[];
|
|
1328
|
+
/** 客户联系人staffId */
|
|
1329
|
+
contact_staff_ids?: string[];
|
|
1330
|
+
}
|
|
1331
|
+
export interface OapiImChatScenegroupMemberDeleteResponse {
|
|
1332
|
+
/** 请求是否成功 */
|
|
1333
|
+
success?: unknown;
|
|
1334
|
+
/** 错误码 */
|
|
1335
|
+
errcode?: unknown;
|
|
1336
|
+
/** 错误信息 */
|
|
1337
|
+
errmsg?: string;
|
|
1338
|
+
}
|
|
1339
|
+
export interface OapiImChatScenegroupGetParams {
|
|
1340
|
+
/** 群id */
|
|
1341
|
+
open_conversation_id: string;
|
|
1342
|
+
}
|
|
1343
|
+
export interface OapiImChatScenegroupGetResponse {
|
|
1344
|
+
/** 返回结果 */
|
|
1345
|
+
result?: {
|
|
1346
|
+
icon?: string;
|
|
1347
|
+
management_options?: number;
|
|
1348
|
+
title?: string;
|
|
1349
|
+
template_id?: string;
|
|
1350
|
+
open_conversation_id?: string;
|
|
1351
|
+
sub_admin_staff_ids?: number;
|
|
1352
|
+
owner_staff_id?: string;
|
|
1353
|
+
group_url?: string;
|
|
1354
|
+
member_amount?: number;
|
|
1355
|
+
scene_data?: string;
|
|
1356
|
+
};
|
|
1357
|
+
/** 是否成功 */
|
|
1358
|
+
success?: unknown;
|
|
1359
|
+
/** 错误码 */
|
|
1360
|
+
errcode?: unknown;
|
|
1361
|
+
/** 错误信息 */
|
|
1362
|
+
errmsg?: string;
|
|
1363
|
+
}
|
|
1364
|
+
export interface OapiRobotSendParams {
|
|
1365
|
+
/** 消息类型 */
|
|
1366
|
+
msgtype: string;
|
|
1367
|
+
/** text类型 */
|
|
1368
|
+
text?: unknown;
|
|
1369
|
+
/** 被@人的手机号 */
|
|
1370
|
+
at?: unknown;
|
|
1371
|
+
/** 消息类型,此时固定为:link */
|
|
1372
|
+
link?: unknown;
|
|
1373
|
+
/** 此消息类型为固定markdown */
|
|
1374
|
+
markdown?: unknown;
|
|
1375
|
+
/** 此消息类型为固定actionCard */
|
|
1376
|
+
actionCard?: unknown;
|
|
1377
|
+
/** 此消息类型为固定feedCard */
|
|
1378
|
+
feedCard?: unknown;
|
|
1379
|
+
}
|
|
1380
|
+
export interface OapiRobotSendResponse {
|
|
1381
|
+
/** errmsg */
|
|
1382
|
+
errmsg?: string;
|
|
1383
|
+
/** errcode */
|
|
1384
|
+
errcode?: unknown;
|
|
1385
|
+
}
|
|
1386
|
+
export interface OapiAlitripBtripInvoiceSettingRuleParams {
|
|
1387
|
+
/** 入参 */
|
|
1388
|
+
request: unknown;
|
|
1389
|
+
}
|
|
1390
|
+
export interface OapiAlitripBtripInvoiceSettingRuleResponse {
|
|
1391
|
+
/** 操作是否成功 */
|
|
1392
|
+
success?: unknown;
|
|
1393
|
+
/** 返回值 */
|
|
1394
|
+
module?: {
|
|
1395
|
+
add_num?: number;
|
|
1396
|
+
remove_num?: number;
|
|
1397
|
+
};
|
|
1398
|
+
/** 状态码 */
|
|
1399
|
+
errcode?: unknown;
|
|
1400
|
+
/** 结果信息 */
|
|
1401
|
+
errmsg?: string;
|
|
1402
|
+
}
|
|
1403
|
+
export interface OapiAlitripBtripInvoiceSettingAddParams {
|
|
1404
|
+
/** 入参 */
|
|
1405
|
+
rq: unknown;
|
|
1406
|
+
}
|
|
1407
|
+
export interface OapiAlitripBtripInvoiceSettingAddResponse {
|
|
1408
|
+
/** 是否成功 */
|
|
1409
|
+
success?: unknown;
|
|
1410
|
+
/** 状态码 */
|
|
1411
|
+
errcode?: unknown;
|
|
1412
|
+
/** 结果信息 */
|
|
1413
|
+
errmsg?: string;
|
|
1414
|
+
/** 结果值 */
|
|
1415
|
+
module?: unknown;
|
|
1416
|
+
}
|
|
1417
|
+
export interface OapiAlitripBtripProjectDeleteParams {
|
|
1418
|
+
/** 企业id */
|
|
1419
|
+
corpid: string;
|
|
1420
|
+
/** 第三方项目ID */
|
|
1421
|
+
third_part_id: string;
|
|
1422
|
+
}
|
|
1423
|
+
export interface OapiAlitripBtripProjectDeleteResponse {
|
|
1424
|
+
/** 错误码 */
|
|
1425
|
+
errcode?: unknown;
|
|
1426
|
+
/** 操作结果 */
|
|
1427
|
+
success?: unknown;
|
|
1428
|
+
/** 结果 */
|
|
1429
|
+
module?: unknown;
|
|
1430
|
+
/** 异常信息 */
|
|
1431
|
+
errmsg?: string;
|
|
1432
|
+
}
|
|
1433
|
+
export interface OapiAlitripBtripProjectModifyParams {
|
|
1434
|
+
/** 入参 */
|
|
1435
|
+
request: unknown;
|
|
1436
|
+
}
|
|
1437
|
+
export interface OapiAlitripBtripProjectModifyResponse {
|
|
1438
|
+
/** 是否操作成功 */
|
|
1439
|
+
success?: unknown;
|
|
1440
|
+
/** 是否操作成功 */
|
|
1441
|
+
module?: unknown;
|
|
1442
|
+
/** 错误码 */
|
|
1443
|
+
errcode?: unknown;
|
|
1444
|
+
/** 错误信息 */
|
|
1445
|
+
errmsg?: string;
|
|
1446
|
+
}
|
|
1447
|
+
export interface OapiAlitripBtripProjectAddParams {
|
|
1448
|
+
/** 入参 */
|
|
1449
|
+
request: unknown;
|
|
1450
|
+
}
|
|
1451
|
+
export interface OapiAlitripBtripProjectAddResponse {
|
|
1452
|
+
/** 是否操作成功 */
|
|
1453
|
+
success?: unknown;
|
|
1454
|
+
/** 结果 */
|
|
1455
|
+
module?: string;
|
|
1456
|
+
/** 错误码 */
|
|
1457
|
+
errcode?: unknown;
|
|
1458
|
+
/** 错误信息 */
|
|
1459
|
+
errmsg?: string;
|
|
1460
|
+
}
|
|
1461
|
+
export interface OapiAlitripBtripInvoiceSettingDeleteParams {
|
|
1462
|
+
/** 入参 */
|
|
1463
|
+
request?: unknown;
|
|
1464
|
+
}
|
|
1465
|
+
export interface OapiAlitripBtripInvoiceSettingDeleteResponse {
|
|
1466
|
+
/** 是否成功 */
|
|
1467
|
+
success?: unknown;
|
|
1468
|
+
/** 值 */
|
|
1469
|
+
module?: unknown;
|
|
1470
|
+
/** 错误码 */
|
|
1471
|
+
errcode?: unknown;
|
|
1472
|
+
/** 错误信息 */
|
|
1473
|
+
errmsg?: string;
|
|
1474
|
+
}
|
|
1475
|
+
export interface OapiAlitripBtripInvoiceSettingModifyParams {
|
|
1476
|
+
/** 入参 */
|
|
1477
|
+
request?: unknown;
|
|
1478
|
+
}
|
|
1479
|
+
export interface OapiAlitripBtripInvoiceSettingModifyResponse {
|
|
1480
|
+
/** 是否成功 */
|
|
1481
|
+
success?: unknown;
|
|
1482
|
+
/** 返回值 */
|
|
1483
|
+
module?: unknown;
|
|
1484
|
+
/** 错误码 */
|
|
1485
|
+
errcode?: unknown;
|
|
1486
|
+
/** 错误信息 */
|
|
1487
|
+
errmsg?: string;
|
|
1488
|
+
}
|
|
1489
|
+
export interface OapiAlitripBtripPriceQueryParams {
|
|
1490
|
+
/** 请求入参 */
|
|
1491
|
+
req: unknown;
|
|
1492
|
+
}
|
|
1493
|
+
export interface OapiAlitripBtripPriceQueryResponse {
|
|
1494
|
+
/** 接口返回 */
|
|
1495
|
+
result?: {
|
|
1496
|
+
success?: number;
|
|
1497
|
+
module?: number;
|
|
1498
|
+
errcode?: number;
|
|
1499
|
+
errmsg?: string;
|
|
1500
|
+
};
|
|
1501
|
+
}
|
|
1502
|
+
export interface OapiAlitripBtripTrainCitySuggestParams {
|
|
1503
|
+
/** 请求对象 */
|
|
1504
|
+
rq: unknown;
|
|
1505
|
+
}
|
|
1506
|
+
export interface OapiAlitripBtripTrainCitySuggestResponse {
|
|
1507
|
+
/** 结果对象 */
|
|
1508
|
+
result?: {
|
|
1509
|
+
cities?: number;
|
|
1510
|
+
};
|
|
1511
|
+
/** 错误信息 */
|
|
1512
|
+
errmsg?: string;
|
|
1513
|
+
/** 错误码 */
|
|
1514
|
+
errcode?: unknown;
|
|
1515
|
+
/** 成功标识 */
|
|
1516
|
+
success?: unknown;
|
|
1517
|
+
}
|
|
1518
|
+
export interface OapiAlitripBtripMonthbillUrlGetParams {
|
|
1519
|
+
/** 请求对象 */
|
|
1520
|
+
request: unknown;
|
|
1521
|
+
}
|
|
1522
|
+
export interface OapiAlitripBtripMonthbillUrlGetResponse {
|
|
1523
|
+
/** 成功标识 */
|
|
1524
|
+
success?: unknown;
|
|
1525
|
+
/** 结果对象 */
|
|
1526
|
+
module?: {
|
|
1527
|
+
start_date?: string;
|
|
1528
|
+
end_date?: string;
|
|
1529
|
+
url?: string;
|
|
1530
|
+
}[];
|
|
1531
|
+
/** 错误码 */
|
|
1532
|
+
errcode?: unknown;
|
|
1533
|
+
/** 错误信息 */
|
|
1534
|
+
errmsg?: string;
|
|
1535
|
+
}
|
|
1536
|
+
export interface OapiAlitripBtripAddressGetParams {
|
|
1537
|
+
/** 请求对象 */
|
|
1538
|
+
request?: unknown;
|
|
1539
|
+
}
|
|
1540
|
+
export interface OapiAlitripBtripAddressGetResponse {
|
|
1541
|
+
/** 成功标识 */
|
|
1542
|
+
success?: unknown;
|
|
1543
|
+
/** 结果对象 */
|
|
1544
|
+
result?: {
|
|
1545
|
+
url?: string;
|
|
1546
|
+
};
|
|
1547
|
+
/** 错误码 */
|
|
1548
|
+
errcode?: unknown;
|
|
1549
|
+
/** 错误信息 */
|
|
1550
|
+
errmsg?: string;
|
|
1551
|
+
}
|
|
1552
|
+
export interface OapiAlitripBtripApprovalModifyParams {
|
|
1553
|
+
/** 请求对象 */
|
|
1554
|
+
rq: unknown;
|
|
1555
|
+
}
|
|
1556
|
+
export interface OapiAlitripBtripApprovalModifyResponse {
|
|
1557
|
+
/** 成功标识 */
|
|
1558
|
+
success?: unknown;
|
|
1559
|
+
/** 错误码 */
|
|
1560
|
+
errcode?: unknown;
|
|
1561
|
+
/** 错误信息 */
|
|
1562
|
+
errmsg?: string;
|
|
1563
|
+
/** 结果对象 */
|
|
1564
|
+
module?: {
|
|
1565
|
+
apply_id?: number;
|
|
1566
|
+
thirdpart_apply_id?: string;
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
export interface OapiAlitripBtripFlightCitySuggestParams {
|
|
1570
|
+
/** 请求对象 */
|
|
1571
|
+
rq: unknown;
|
|
1572
|
+
}
|
|
1573
|
+
export interface OapiAlitripBtripFlightCitySuggestResponse {
|
|
1574
|
+
/** 结果对象 */
|
|
1575
|
+
result?: {
|
|
1576
|
+
cities?: number;
|
|
1577
|
+
nearby?: number;
|
|
1578
|
+
};
|
|
1579
|
+
/** 错误信息 */
|
|
1580
|
+
errmsg?: string;
|
|
1581
|
+
/** 错误码 */
|
|
1582
|
+
errcode?: unknown;
|
|
1583
|
+
/** 成功标识 */
|
|
1584
|
+
success?: unknown;
|
|
1585
|
+
}
|
|
1586
|
+
export interface OapiAlitripBtripVehicleOrderSearchParams {
|
|
1587
|
+
/** 请求对象 */
|
|
1588
|
+
rq: unknown;
|
|
1589
|
+
}
|
|
1590
|
+
export interface OapiAlitripBtripVehicleOrderSearchResponse {
|
|
1591
|
+
/** 返回码 */
|
|
1592
|
+
errcode?: unknown;
|
|
1593
|
+
/** 错误信息 */
|
|
1594
|
+
errmsg?: string;
|
|
1595
|
+
/** 成功标识 */
|
|
1596
|
+
success?: unknown;
|
|
1597
|
+
/** 订单列表 */
|
|
1598
|
+
vehicle_order_list?: {
|
|
1599
|
+
id?: number;
|
|
1600
|
+
gmt_create?: string;
|
|
1601
|
+
gmt_modified?: string;
|
|
1602
|
+
passenger_name?: string;
|
|
1603
|
+
corpid?: string;
|
|
1604
|
+
corp_name?: string;
|
|
1605
|
+
user_name?: string;
|
|
1606
|
+
userid?: string;
|
|
1607
|
+
dept_name?: string;
|
|
1608
|
+
deptid?: string;
|
|
1609
|
+
apply_show_id?: string;
|
|
1610
|
+
apply_id?: number;
|
|
1611
|
+
real_from_city_name?: string;
|
|
1612
|
+
real_to_city_name?: string;
|
|
1613
|
+
from_address?: string;
|
|
1614
|
+
to_address?: string;
|
|
1615
|
+
from_city_name?: string;
|
|
1616
|
+
to_city_name?: string;
|
|
1617
|
+
memo?: string;
|
|
1618
|
+
order_status?: number;
|
|
1619
|
+
car_level?: string;
|
|
1620
|
+
car_info?: string;
|
|
1621
|
+
estimate_price?: string;
|
|
1622
|
+
publish_time?: string;
|
|
1623
|
+
taken_time?: string;
|
|
1624
|
+
driver_confirm_time?: string;
|
|
1625
|
+
cancel_time?: string;
|
|
1626
|
+
travel_distance?: string;
|
|
1627
|
+
pay_time?: string;
|
|
1628
|
+
service_type?: number;
|
|
1629
|
+
business_category?: string;
|
|
1630
|
+
cost_center_id?: number;
|
|
1631
|
+
cost_center_number?: string;
|
|
1632
|
+
cost_center_name?: string;
|
|
1633
|
+
invoice_id?: number;
|
|
1634
|
+
invoice_title?: string;
|
|
1635
|
+
project_code?: string;
|
|
1636
|
+
project_title?: string;
|
|
1637
|
+
price_info_list?: number;
|
|
1638
|
+
thirdpart_itinerary_id?: string;
|
|
1639
|
+
user_affiliate_list?: number;
|
|
1640
|
+
user_confirm?: number;
|
|
1641
|
+
provider?: number;
|
|
1642
|
+
real_from_address?: string;
|
|
1643
|
+
real_to_address?: string;
|
|
1644
|
+
thirdpart_apply_id?: string;
|
|
1645
|
+
btrip_title?: string;
|
|
1646
|
+
is_special?: number;
|
|
1647
|
+
special_types?: number;
|
|
1648
|
+
project_id?: number;
|
|
1649
|
+
third_part_project_id?: string;
|
|
1650
|
+
}[];
|
|
1651
|
+
/** 分页信息 */
|
|
1652
|
+
page_info?: {
|
|
1653
|
+
page?: number;
|
|
1654
|
+
page_size?: number;
|
|
1655
|
+
total_number?: number;
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
export interface OapiAlitripBtripCostCenterQueryParams {
|
|
1659
|
+
/** 请求对象 */
|
|
1660
|
+
rq: unknown;
|
|
1661
|
+
}
|
|
1662
|
+
export interface OapiAlitripBtripCostCenterQueryResponse {
|
|
1663
|
+
/** 成功标识 */
|
|
1664
|
+
success?: unknown;
|
|
1665
|
+
/** 错误码 */
|
|
1666
|
+
errcode?: unknown;
|
|
1667
|
+
/** 错误信息 */
|
|
1668
|
+
errmsg?: string;
|
|
1669
|
+
/** 成本中心列表 */
|
|
1670
|
+
cost_center_list?: {
|
|
1671
|
+
id?: number;
|
|
1672
|
+
corpid?: string;
|
|
1673
|
+
title?: string;
|
|
1674
|
+
number?: string;
|
|
1675
|
+
thirdpart_id?: string;
|
|
1676
|
+
scope?: number;
|
|
1677
|
+
alipay_no?: string;
|
|
1678
|
+
entity_list?: number;
|
|
1679
|
+
}[];
|
|
1680
|
+
}
|
|
1681
|
+
export interface OapiAlitripBtripApprovalUpdateParams {
|
|
1682
|
+
/** 请求对象 */
|
|
1683
|
+
rq: unknown;
|
|
1684
|
+
}
|
|
1685
|
+
export interface OapiAlitripBtripApprovalUpdateResponse {
|
|
1686
|
+
/** 错误信息 */
|
|
1687
|
+
errmsg?: string;
|
|
1688
|
+
/** 错误码 */
|
|
1689
|
+
errcode?: unknown;
|
|
1690
|
+
/** 成功标识 */
|
|
1691
|
+
success?: unknown;
|
|
1692
|
+
}
|
|
1693
|
+
export interface OapiAlitripBtripCostCenterNewParams {
|
|
1694
|
+
/** 请求对象 */
|
|
1695
|
+
rq: unknown;
|
|
1696
|
+
}
|
|
1697
|
+
export interface OapiAlitripBtripCostCenterNewResponse {
|
|
1698
|
+
/** 成本中心对象 */
|
|
1699
|
+
result?: {
|
|
1700
|
+
id?: number;
|
|
1701
|
+
};
|
|
1702
|
+
/** 成功标识 */
|
|
1703
|
+
success?: unknown;
|
|
1704
|
+
/** 错误信息 */
|
|
1705
|
+
errmsg?: string;
|
|
1706
|
+
/** 错误码 */
|
|
1707
|
+
errcode?: unknown;
|
|
1708
|
+
}
|
|
1709
|
+
export interface OapiAlitripBtripCostCenterModifyParams {
|
|
1710
|
+
/** 请求对象 */
|
|
1711
|
+
rq: unknown;
|
|
1712
|
+
}
|
|
1713
|
+
export interface OapiAlitripBtripCostCenterModifyResponse {
|
|
1714
|
+
/** 成功标识 */
|
|
1715
|
+
success?: unknown;
|
|
1716
|
+
/** 错误码 */
|
|
1717
|
+
errcode?: unknown;
|
|
1718
|
+
/** 错误信息 */
|
|
1719
|
+
errmsg?: string;
|
|
1720
|
+
}
|
|
1721
|
+
export interface OapiAlitripBtripCostCenterDeleteParams {
|
|
1722
|
+
/** 请求对象 */
|
|
1723
|
+
rq: unknown;
|
|
1724
|
+
}
|
|
1725
|
+
export interface OapiAlitripBtripCostCenterDeleteResponse {
|
|
1726
|
+
/** 错误信息 */
|
|
1727
|
+
errmsg?: string;
|
|
1728
|
+
/** 错误码 */
|
|
1729
|
+
errcode?: unknown;
|
|
1730
|
+
/** 成功标识 */
|
|
1731
|
+
success?: unknown;
|
|
1732
|
+
}
|
|
1733
|
+
export interface OapiAlitripBtripCostCenterEntitySetParams {
|
|
1734
|
+
/** 请求对象 */
|
|
1735
|
+
rq?: unknown;
|
|
1736
|
+
}
|
|
1737
|
+
export interface OapiAlitripBtripCostCenterEntitySetResponse {
|
|
1738
|
+
/** 成本标识 */
|
|
1739
|
+
success?: unknown;
|
|
1740
|
+
/** 错误码 */
|
|
1741
|
+
errcode?: unknown;
|
|
1742
|
+
/** 错误信息 */
|
|
1743
|
+
errmsg?: string;
|
|
1744
|
+
/** 结果对象 */
|
|
1745
|
+
result?: {
|
|
1746
|
+
add_num?: number;
|
|
1747
|
+
remove_num?: number;
|
|
1748
|
+
selected_user_num?: number;
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
export interface OapiAlitripBtripHotelOrderSearchParams {
|
|
1752
|
+
/** rq */
|
|
1753
|
+
rq: unknown;
|
|
1754
|
+
}
|
|
1755
|
+
export interface OapiAlitripBtripHotelOrderSearchResponse {
|
|
1756
|
+
/** 成功标识 */
|
|
1757
|
+
success?: unknown;
|
|
1758
|
+
/** 错误信息 */
|
|
1759
|
+
errmsg?: string;
|
|
1760
|
+
/** 错误码 */
|
|
1761
|
+
errcode?: unknown;
|
|
1762
|
+
/** 酒店订单列表 */
|
|
1763
|
+
module?: {
|
|
1764
|
+
id?: number;
|
|
1765
|
+
gmt_create?: string;
|
|
1766
|
+
gmt_modified?: string;
|
|
1767
|
+
corpid?: string;
|
|
1768
|
+
corp_name?: string;
|
|
1769
|
+
userid?: string;
|
|
1770
|
+
user_name?: string;
|
|
1771
|
+
deptid?: string;
|
|
1772
|
+
dept_name?: string;
|
|
1773
|
+
apply_id?: number;
|
|
1774
|
+
contact_name?: string;
|
|
1775
|
+
city?: string;
|
|
1776
|
+
hotel_name?: string;
|
|
1777
|
+
check_in?: string;
|
|
1778
|
+
check_out?: string;
|
|
1779
|
+
room_type?: string;
|
|
1780
|
+
room_num?: number;
|
|
1781
|
+
night?: number;
|
|
1782
|
+
guest?: string;
|
|
1783
|
+
order_type_desc?: string;
|
|
1784
|
+
order_status_desc?: string;
|
|
1785
|
+
cost_center?: number;
|
|
1786
|
+
invoice?: number;
|
|
1787
|
+
price_info_list?: number;
|
|
1788
|
+
thirdpart_itinerary_id?: string;
|
|
1789
|
+
order_status?: number;
|
|
1790
|
+
order_type?: number;
|
|
1791
|
+
user_affiliate_list?: number;
|
|
1792
|
+
thirdpart_apply_id?: string;
|
|
1793
|
+
btrip_title?: string;
|
|
1794
|
+
project_id?: number;
|
|
1795
|
+
project_code?: string;
|
|
1796
|
+
project_title?: string;
|
|
1797
|
+
thirdpart_Project_Id?: string;
|
|
1798
|
+
hotel_support_vat_invoice_type?: number;
|
|
1799
|
+
}[];
|
|
1800
|
+
/** 分页相关信息 */
|
|
1801
|
+
page_info?: {
|
|
1802
|
+
page?: number;
|
|
1803
|
+
page_size?: number;
|
|
1804
|
+
total_number?: number;
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
export interface OapiAlitripBtripTrainOrderSearchParams {
|
|
1808
|
+
/** 请求对象 */
|
|
1809
|
+
rq: unknown;
|
|
1810
|
+
}
|
|
1811
|
+
export interface OapiAlitripBtripTrainOrderSearchResponse {
|
|
1812
|
+
/** 成功标识 */
|
|
1813
|
+
success?: unknown;
|
|
1814
|
+
/** 错误码 */
|
|
1815
|
+
errcode?: unknown;
|
|
1816
|
+
/** 错误信息 */
|
|
1817
|
+
errmsg?: string;
|
|
1818
|
+
/** module */
|
|
1819
|
+
train_order_list?: {
|
|
1820
|
+
id?: number;
|
|
1821
|
+
gmt_create?: string;
|
|
1822
|
+
gmt_modified?: string;
|
|
1823
|
+
corpid?: string;
|
|
1824
|
+
corp_name?: string;
|
|
1825
|
+
userid?: string;
|
|
1826
|
+
user_name?: string;
|
|
1827
|
+
deptid?: string;
|
|
1828
|
+
dept_name?: string;
|
|
1829
|
+
apply_id?: number;
|
|
1830
|
+
contact_name?: string;
|
|
1831
|
+
dep_station?: string;
|
|
1832
|
+
arr_station?: string;
|
|
1833
|
+
dep_time?: string;
|
|
1834
|
+
arr_time?: string;
|
|
1835
|
+
train_number?: string;
|
|
1836
|
+
train_type?: string;
|
|
1837
|
+
seat_type?: string;
|
|
1838
|
+
run_time?: string;
|
|
1839
|
+
ticket_no_12306?: string;
|
|
1840
|
+
dep_city?: string;
|
|
1841
|
+
arr_city?: string;
|
|
1842
|
+
rider_name?: string;
|
|
1843
|
+
ticket_count?: number;
|
|
1844
|
+
status?: number;
|
|
1845
|
+
invoice?: number;
|
|
1846
|
+
cost_center?: number;
|
|
1847
|
+
price_info_list?: number;
|
|
1848
|
+
thirdpart_itinerary_id?: string;
|
|
1849
|
+
user_affiliate_list?: number;
|
|
1850
|
+
thirdpart_apply_id?: string;
|
|
1851
|
+
btrip_title?: string;
|
|
1852
|
+
project_id?: number;
|
|
1853
|
+
project_code?: string;
|
|
1854
|
+
project_title?: string;
|
|
1855
|
+
third_part_project_id?: string;
|
|
1856
|
+
}[];
|
|
1857
|
+
/** 分页相关信息 */
|
|
1858
|
+
page_info?: {
|
|
1859
|
+
page?: number;
|
|
1860
|
+
page_size?: number;
|
|
1861
|
+
total_number?: number;
|
|
1862
|
+
};
|
|
1863
|
+
}
|
|
1864
|
+
export interface OapiAlitripBtripFlightOrderSearchParams {
|
|
1865
|
+
/** 请求对象 */
|
|
1866
|
+
rq: unknown;
|
|
1867
|
+
}
|
|
1868
|
+
export interface OapiAlitripBtripFlightOrderSearchResponse {
|
|
1869
|
+
/** 成功标识 */
|
|
1870
|
+
success?: unknown;
|
|
1871
|
+
/** 错误码 */
|
|
1872
|
+
errcode?: unknown;
|
|
1873
|
+
/** 错误信息 */
|
|
1874
|
+
errmsg?: string;
|
|
1875
|
+
/** 机票列表 */
|
|
1876
|
+
flight_order_list?: {
|
|
1877
|
+
id?: number;
|
|
1878
|
+
gmt_modified?: string;
|
|
1879
|
+
userid?: string;
|
|
1880
|
+
corp_name?: string;
|
|
1881
|
+
corpid?: string;
|
|
1882
|
+
gmt_create?: string;
|
|
1883
|
+
user_name?: string;
|
|
1884
|
+
deptid?: string;
|
|
1885
|
+
dept_name?: string;
|
|
1886
|
+
apply_id?: string;
|
|
1887
|
+
contact_name?: string;
|
|
1888
|
+
dep_city?: string;
|
|
1889
|
+
arr_city?: string;
|
|
1890
|
+
dep_date?: string;
|
|
1891
|
+
ret_date?: string;
|
|
1892
|
+
trip_type?: number;
|
|
1893
|
+
passenger_count?: number;
|
|
1894
|
+
cabin_class?: string;
|
|
1895
|
+
status?: number;
|
|
1896
|
+
discount?: string;
|
|
1897
|
+
flight_no?: string;
|
|
1898
|
+
passenger_name?: string;
|
|
1899
|
+
dep_airport?: string;
|
|
1900
|
+
arr_airport?: string;
|
|
1901
|
+
invoice?: number;
|
|
1902
|
+
cost_center?: number;
|
|
1903
|
+
price_info_list?: number;
|
|
1904
|
+
insureInfo_list?: number;
|
|
1905
|
+
thirdpart_itinerary_id?: string;
|
|
1906
|
+
user_affiliate_list?: number;
|
|
1907
|
+
thirdpart_apply_id?: string;
|
|
1908
|
+
btrip_title?: string;
|
|
1909
|
+
project_id?: number;
|
|
1910
|
+
project_code?: string;
|
|
1911
|
+
project_title?: string;
|
|
1912
|
+
third_part_project_id?: string;
|
|
1913
|
+
}[];
|
|
1914
|
+
/** 分页相关信息 */
|
|
1915
|
+
page_info?: {
|
|
1916
|
+
page?: number;
|
|
1917
|
+
page_size?: number;
|
|
1918
|
+
total_number?: number;
|
|
1919
|
+
};
|
|
1920
|
+
}
|
|
1921
|
+
export interface OapiAlitripBtripInvoiceSearchParams {
|
|
1922
|
+
/** 请求对象 */
|
|
1923
|
+
rq: unknown;
|
|
1924
|
+
}
|
|
1925
|
+
export interface OapiAlitripBtripInvoiceSearchResponse {
|
|
1926
|
+
/** 发票列表 */
|
|
1927
|
+
invoice?: {
|
|
1928
|
+
id?: number;
|
|
1929
|
+
title?: string;
|
|
1930
|
+
third_part_invoice_id?: string;
|
|
1931
|
+
}[];
|
|
1932
|
+
/** 成功标识 */
|
|
1933
|
+
success?: unknown;
|
|
1934
|
+
/** 错误信息 */
|
|
1935
|
+
errmsg?: string;
|
|
1936
|
+
/** 错误码 */
|
|
1937
|
+
errcode?: unknown;
|
|
1938
|
+
}
|
|
1939
|
+
export interface OapiAlitripBtripCostCenterTransferParams {
|
|
1940
|
+
/** 请求对象 */
|
|
1941
|
+
rq: unknown;
|
|
1942
|
+
}
|
|
1943
|
+
export interface OapiAlitripBtripCostCenterTransferResponse {
|
|
1944
|
+
/** 成功标识 */
|
|
1945
|
+
success?: unknown;
|
|
1946
|
+
/** 错误码 */
|
|
1947
|
+
errcode?: unknown;
|
|
1948
|
+
/** 错误信息 */
|
|
1949
|
+
errmsg?: string;
|
|
1950
|
+
}
|
|
1951
|
+
export interface OapiAlitripBtripApplyGetParams {
|
|
1952
|
+
/** 请求对象 */
|
|
1953
|
+
rq: unknown;
|
|
1954
|
+
}
|
|
1955
|
+
export interface OapiAlitripBtripApplyGetResponse {
|
|
1956
|
+
/** 审批单对象 */
|
|
1957
|
+
module?: {
|
|
1958
|
+
id?: number;
|
|
1959
|
+
apply_show_id?: string;
|
|
1960
|
+
gmt_create?: string;
|
|
1961
|
+
gmt_modified?: string;
|
|
1962
|
+
thirdpart_id?: string;
|
|
1963
|
+
corpid?: string;
|
|
1964
|
+
corp_name?: string;
|
|
1965
|
+
userid?: string;
|
|
1966
|
+
user_name?: string;
|
|
1967
|
+
deptid?: string;
|
|
1968
|
+
trip_day?: number;
|
|
1969
|
+
dept_name?: string;
|
|
1970
|
+
trip_cause?: string;
|
|
1971
|
+
trip_title?: string;
|
|
1972
|
+
status?: number;
|
|
1973
|
+
status_desc?: string;
|
|
1974
|
+
itinerary_list?: number;
|
|
1975
|
+
traveler_list?: number;
|
|
1976
|
+
approver_list?: number;
|
|
1977
|
+
type?: number;
|
|
1978
|
+
union_no?: string;
|
|
1979
|
+
external_traveler_list?: number;
|
|
1980
|
+
};
|
|
1981
|
+
/** 错误信息 */
|
|
1982
|
+
errmsg?: string;
|
|
1983
|
+
/** 错误码 */
|
|
1984
|
+
errcode?: unknown;
|
|
1985
|
+
/** 成功标识 */
|
|
1986
|
+
success?: unknown;
|
|
1987
|
+
}
|
|
1988
|
+
export interface OapiAlitripBtripApplySearchParams {
|
|
1989
|
+
/** 请求对象 */
|
|
1990
|
+
rq: unknown;
|
|
1991
|
+
}
|
|
1992
|
+
export interface OapiAlitripBtripApplySearchResponse {
|
|
1993
|
+
/** 审批单列表 */
|
|
1994
|
+
module?: {
|
|
1995
|
+
id?: number;
|
|
1996
|
+
apply_show_id?: string;
|
|
1997
|
+
gmt_create?: string;
|
|
1998
|
+
gmt_modified?: string;
|
|
1999
|
+
thirdpart_id?: string;
|
|
2000
|
+
corpid?: string;
|
|
2001
|
+
userid?: string;
|
|
2002
|
+
deptid?: string;
|
|
2003
|
+
corp_name?: string;
|
|
2004
|
+
user_name?: string;
|
|
2005
|
+
dept_name?: string;
|
|
2006
|
+
trip_day?: number;
|
|
2007
|
+
trip_cause?: string;
|
|
2008
|
+
trip_title?: string;
|
|
2009
|
+
status?: number;
|
|
2010
|
+
status_desc?: string;
|
|
2011
|
+
itinerary_list?: number;
|
|
2012
|
+
traveler_list?: number;
|
|
2013
|
+
approver_list?: number;
|
|
2014
|
+
flow_code?: string;
|
|
2015
|
+
type?: number;
|
|
2016
|
+
union_no?: string;
|
|
2017
|
+
external_traveler_list?: number;
|
|
2018
|
+
}[];
|
|
2019
|
+
/** 错误信息 */
|
|
2020
|
+
errmsg?: string;
|
|
2021
|
+
/** 错误码 */
|
|
2022
|
+
errcode?: unknown;
|
|
2023
|
+
/** 成功标识 */
|
|
2024
|
+
success?: unknown;
|
|
2025
|
+
}
|
|
2026
|
+
export interface OapiAlitripBtripApprovalNewParams {
|
|
2027
|
+
/** 请求对象 */
|
|
2028
|
+
rq: unknown;
|
|
2029
|
+
}
|
|
2030
|
+
export interface OapiAlitripBtripApprovalNewResponse {
|
|
2031
|
+
/** 结果对象 */
|
|
2032
|
+
module?: {
|
|
2033
|
+
thirdpart_apply_id?: string;
|
|
2034
|
+
apply_id?: number;
|
|
2035
|
+
};
|
|
2036
|
+
/** 错误信息 */
|
|
2037
|
+
errmsg?: string;
|
|
2038
|
+
/** 错误码 */
|
|
2039
|
+
errcode?: unknown;
|
|
2040
|
+
/** 成功标识 */
|
|
2041
|
+
success?: unknown;
|
|
2042
|
+
}
|
|
2043
|
+
export interface OapiAlitripBtripCostCenterEntityDeleteParams {
|
|
2044
|
+
/** 请求对象 */
|
|
2045
|
+
rq: unknown;
|
|
2046
|
+
}
|
|
2047
|
+
export interface OapiAlitripBtripCostCenterEntityDeleteResponse {
|
|
2048
|
+
/** 结果对象 */
|
|
2049
|
+
result?: {
|
|
2050
|
+
selected_user_num?: number;
|
|
2051
|
+
remove_num?: number;
|
|
2052
|
+
};
|
|
2053
|
+
/** 错误信息 */
|
|
2054
|
+
errmsg?: string;
|
|
2055
|
+
/** 错误码 */
|
|
2056
|
+
errcode?: unknown;
|
|
2057
|
+
/** 成功标识 */
|
|
2058
|
+
success?: unknown;
|
|
2059
|
+
}
|
|
2060
|
+
export interface OapiWorkspaceAuditlogListParams {
|
|
2061
|
+
/** 操作日志起始时间,unix时间戳,单位ms */
|
|
2062
|
+
start_date: unknown;
|
|
2063
|
+
/** 操作日志截止时间,unix时间戳,单位ms */
|
|
2064
|
+
end_date: unknown;
|
|
2065
|
+
/** 操作列表长度,最大500 */
|
|
2066
|
+
page_size: unknown;
|
|
2067
|
+
/** 操作记录生成时间,作为分页偏移量,分页查询时必传,unix时间戳,单位ms */
|
|
2068
|
+
load_more_gmt_create?: unknown;
|
|
2069
|
+
/** 操作记录文件id,作为分页偏移量,与load_more_gmt_create一起使用,返回记录的biz_id为load_more_biz_id且gmt_create为load_more_gmt_create之后的操作列表,分页查询获取下一页时,传最后一条记录的biz_id和gmt_create。 */
|
|
2070
|
+
load_more_bizId?: unknown;
|
|
2071
|
+
}
|
|
2072
|
+
export interface OapiWorkspaceAuditlogListResponse {
|
|
2073
|
+
/** 错误码 */
|
|
2074
|
+
errcode?: unknown;
|
|
2075
|
+
/** 错误信息 */
|
|
2076
|
+
errmsg?: string;
|
|
2077
|
+
/** 返回值 */
|
|
2078
|
+
result?: {
|
|
2079
|
+
log_list?: number;
|
|
2080
|
+
};
|
|
2081
|
+
}
|
|
2082
|
+
export interface OapiEduCertGetParams {
|
|
2083
|
+
/** 学校人员id */
|
|
2084
|
+
userid: string;
|
|
2085
|
+
}
|
|
2086
|
+
export interface OapiEduCertGetResponse {
|
|
2087
|
+
/** 请求是否成功 */
|
|
2088
|
+
success?: unknown;
|
|
2089
|
+
/** 返回结果值 */
|
|
2090
|
+
result?: {
|
|
2091
|
+
current_cert_level?: number;
|
|
2092
|
+
cert_datas?: number;
|
|
2093
|
+
practical_task_data?: number;
|
|
2094
|
+
};
|
|
2095
|
+
/** 错误码 */
|
|
2096
|
+
errcode?: unknown;
|
|
2097
|
+
/** 错误消息 */
|
|
2098
|
+
errmsg?: string;
|
|
2099
|
+
}
|
|
2100
|
+
export interface OapiEduUserListParams {
|
|
2101
|
+
/** 最大30条,最小1条 */
|
|
2102
|
+
page_size: unknown;
|
|
2103
|
+
/** 页码,从1开始 */
|
|
2104
|
+
page_no: unknown;
|
|
2105
|
+
/** 家校人员身份 */
|
|
2106
|
+
role: string;
|
|
2107
|
+
/** 班级id */
|
|
2108
|
+
class_id: unknown;
|
|
2109
|
+
}
|
|
2110
|
+
export interface OapiEduUserListResponse {
|
|
2111
|
+
/** 结果值 */
|
|
2112
|
+
result?: {
|
|
2113
|
+
has_more?: number;
|
|
2114
|
+
details?: number;
|
|
2115
|
+
};
|
|
2116
|
+
/** 是否成功 */
|
|
2117
|
+
success?: unknown;
|
|
2118
|
+
/** 错误码,只有当success为false时才有效 */
|
|
2119
|
+
errcode?: unknown;
|
|
2120
|
+
/** 错误信息,只有当success为false时才有效 */
|
|
2121
|
+
errmsg?: string;
|
|
2122
|
+
}
|
|
2123
|
+
export interface OapiSmartdeviceDeviceQuerybyidParams {
|
|
2124
|
+
/** 设备查询对象 */
|
|
2125
|
+
device_query_vo: unknown;
|
|
2126
|
+
}
|
|
2127
|
+
export interface OapiSmartdeviceDeviceQuerybyidResponse {
|
|
2128
|
+
/** 返回结果 */
|
|
2129
|
+
result?: {
|
|
2130
|
+
device_mac?: string;
|
|
2131
|
+
corp_id?: string;
|
|
2132
|
+
nick?: string;
|
|
2133
|
+
device_id?: string;
|
|
2134
|
+
device_name?: string;
|
|
2135
|
+
pk?: string;
|
|
2136
|
+
userid?: string;
|
|
2137
|
+
ext?: string;
|
|
2138
|
+
sn?: string;
|
|
2139
|
+
};
|
|
2140
|
+
/** 是否成功 */
|
|
2141
|
+
success?: unknown;
|
|
2142
|
+
/** 错误代码 */
|
|
2143
|
+
errcode?: unknown;
|
|
2144
|
+
/** 错误信息 */
|
|
2145
|
+
errmsg?: string;
|
|
2146
|
+
}
|
|
2147
|
+
export interface OapiSmartdeviceDeviceQuerylistParams {
|
|
2148
|
+
/** 列表查询对象 */
|
|
2149
|
+
page_query_vo: unknown;
|
|
2150
|
+
}
|
|
2151
|
+
export interface OapiSmartdeviceDeviceQuerylistResponse {
|
|
2152
|
+
/** 返回结果 */
|
|
2153
|
+
result?: {
|
|
2154
|
+
next_cursor?: number;
|
|
2155
|
+
has_more?: number;
|
|
2156
|
+
list?: number;
|
|
2157
|
+
};
|
|
2158
|
+
/** 是否成功 */
|
|
2159
|
+
success?: unknown;
|
|
2160
|
+
/** 错误代码 */
|
|
2161
|
+
errcode?: unknown;
|
|
2162
|
+
/** 错误信息 */
|
|
2163
|
+
errmsg?: string;
|
|
2164
|
+
}
|
|
2165
|
+
export interface OapiSmartdeviceDeviceQueryParams {
|
|
2166
|
+
/** 设备查询对象 */
|
|
2167
|
+
device_query_vo?: unknown;
|
|
2168
|
+
}
|
|
2169
|
+
export interface OapiSmartdeviceDeviceQueryResponse {
|
|
2170
|
+
/** 返回结果 */
|
|
2171
|
+
result?: {
|
|
2172
|
+
device_mac?: string;
|
|
2173
|
+
corp_id?: string;
|
|
2174
|
+
nick?: string;
|
|
2175
|
+
device_id?: string;
|
|
2176
|
+
device_name?: string;
|
|
2177
|
+
pk?: string;
|
|
2178
|
+
userid?: string;
|
|
2179
|
+
ext?: string;
|
|
2180
|
+
sn?: string;
|
|
2181
|
+
};
|
|
2182
|
+
/** 是否成功 */
|
|
2183
|
+
success?: unknown;
|
|
2184
|
+
/** 错误代码 */
|
|
2185
|
+
errcode?: unknown;
|
|
2186
|
+
/** 错误信息 */
|
|
2187
|
+
errmsg?: string;
|
|
2188
|
+
}
|
|
2189
|
+
export interface OapiSmartdeviceDeviceUpdatenickParams {
|
|
2190
|
+
/** 昵称修改参数 */
|
|
2191
|
+
device_nick_modify_vo?: unknown;
|
|
2192
|
+
}
|
|
2193
|
+
export interface OapiSmartdeviceDeviceUpdatenickResponse {
|
|
2194
|
+
/** 是否成功 */
|
|
2195
|
+
success?: unknown;
|
|
2196
|
+
/** 错误代码 */
|
|
2197
|
+
errcode?: unknown;
|
|
2198
|
+
/** 错误信息 */
|
|
2199
|
+
errmsg?: string;
|
|
2200
|
+
}
|
|
2201
|
+
export interface OapiSmartdeviceDeviceUnbindParams {
|
|
2202
|
+
/** 解绑参数 */
|
|
2203
|
+
device_unbind_vo?: unknown;
|
|
2204
|
+
}
|
|
2205
|
+
export interface OapiSmartdeviceDeviceUnbindResponse {
|
|
2206
|
+
/** 是否成功 */
|
|
2207
|
+
success?: unknown;
|
|
2208
|
+
/** 错误代码 */
|
|
2209
|
+
errcode?: unknown;
|
|
2210
|
+
/** 错误信息 */
|
|
2211
|
+
errmsg?: string;
|
|
2212
|
+
}
|
|
2213
|
+
export interface OapiSmartdeviceExternalBindParams {
|
|
2214
|
+
/** 设备请求信息 */
|
|
2215
|
+
device_bind_req_vo: unknown;
|
|
2216
|
+
}
|
|
2217
|
+
export interface OapiSmartdeviceExternalBindResponse {
|
|
2218
|
+
/** 返回结果 */
|
|
2219
|
+
result?: {
|
|
2220
|
+
device_id?: string;
|
|
2221
|
+
};
|
|
2222
|
+
/** 是否成功 */
|
|
2223
|
+
success?: unknown;
|
|
2224
|
+
/** 错误代码 */
|
|
2225
|
+
errcode?: unknown;
|
|
2226
|
+
/** 错误信息 */
|
|
2227
|
+
errmsg?: string;
|
|
2228
|
+
}
|
|
2229
|
+
export interface OapiCrmObjectdataContactDeleteParams {
|
|
2230
|
+
/** 操作人用户ID */
|
|
2231
|
+
operator_userid: string;
|
|
2232
|
+
/** 联系人实例ID */
|
|
2233
|
+
data_id: string;
|
|
2234
|
+
}
|
|
2235
|
+
export interface OapiCrmObjectdataContactDeleteResponse {
|
|
2236
|
+
/** 删除结果 */
|
|
2237
|
+
result?: {
|
|
2238
|
+
instance_id?: string;
|
|
2239
|
+
};
|
|
2240
|
+
/** 错误码 */
|
|
2241
|
+
errcode?: unknown;
|
|
2242
|
+
/** 错误信息 */
|
|
2243
|
+
errmsg?: string;
|
|
2244
|
+
}
|
|
2245
|
+
export interface OapiCrmObjectdataCustomobjectCreateParams {
|
|
2246
|
+
/** 自定义对象数据 */
|
|
2247
|
+
instance: unknown;
|
|
2248
|
+
}
|
|
2249
|
+
export interface OapiCrmObjectdataCustomobjectCreateResponse {
|
|
2250
|
+
/** 结果 */
|
|
2251
|
+
result?: {
|
|
2252
|
+
instance_id?: string;
|
|
2253
|
+
};
|
|
2254
|
+
/** 执行结果 */
|
|
2255
|
+
success?: unknown;
|
|
2256
|
+
/** 错误码 */
|
|
2257
|
+
errcode?: unknown;
|
|
2258
|
+
/** 错误信息 */
|
|
2259
|
+
errmsg?: string;
|
|
2260
|
+
}
|
|
2261
|
+
export interface OapiCrmObjectdataCustomobjectUpdateParams {
|
|
2262
|
+
/** 自定义对象数据 */
|
|
2263
|
+
instance: unknown;
|
|
2264
|
+
}
|
|
2265
|
+
export interface OapiCrmObjectdataCustomobjectUpdateResponse {
|
|
2266
|
+
/** 结果 */
|
|
2267
|
+
result?: {
|
|
2268
|
+
instance_id?: string;
|
|
2269
|
+
};
|
|
2270
|
+
/** 执行结果 */
|
|
2271
|
+
success?: unknown;
|
|
2272
|
+
/** 错误码 */
|
|
2273
|
+
errcode?: unknown;
|
|
2274
|
+
/** 错误信息 */
|
|
2275
|
+
errmsg?: string;
|
|
2276
|
+
}
|
|
2277
|
+
export interface OapiCrmObjectdataListParams {
|
|
2278
|
+
/** 操作人用户ID */
|
|
2279
|
+
current_operator_userid?: string;
|
|
2280
|
+
/** 数据ID列表 */
|
|
2281
|
+
data_id_list: string[];
|
|
2282
|
+
/** 表单名称 */
|
|
2283
|
+
name: string;
|
|
2284
|
+
}
|
|
2285
|
+
export interface OapiCrmObjectdataListResponse {
|
|
2286
|
+
/** 实例数据 */
|
|
2287
|
+
result_list?: {
|
|
2288
|
+
creator_nick?: string;
|
|
2289
|
+
gmt_modified?: string;
|
|
2290
|
+
creator_userid?: string;
|
|
2291
|
+
instance_id?: string;
|
|
2292
|
+
data?: number;
|
|
2293
|
+
extend_data?: number;
|
|
2294
|
+
gmt_create?: string;
|
|
2295
|
+
object_type?: string;
|
|
2296
|
+
permission?: number;
|
|
2297
|
+
proc_out_result?: string;
|
|
2298
|
+
proc_inst_status?: string;
|
|
2299
|
+
}[];
|
|
2300
|
+
/** 错误码 */
|
|
2301
|
+
errcode?: unknown;
|
|
2302
|
+
/** 错误信息 */
|
|
2303
|
+
errmsg?: string;
|
|
2304
|
+
}
|
|
2305
|
+
export interface OapiCrmObjectdataQueryParams {
|
|
2306
|
+
/** 用户ID */
|
|
2307
|
+
current_operator_userid?: string;
|
|
2308
|
+
/** 分页游标 */
|
|
2309
|
+
cursor?: string;
|
|
2310
|
+
/** 分页大小 */
|
|
2311
|
+
page_size: unknown;
|
|
2312
|
+
/** 表单code */
|
|
2313
|
+
name: string;
|
|
2314
|
+
/** 查询条件 */
|
|
2315
|
+
query_dsl?: string;
|
|
2316
|
+
}
|
|
2317
|
+
export interface OapiCrmObjectdataQueryResponse {
|
|
2318
|
+
/** 分页结果 */
|
|
2319
|
+
result?: {
|
|
2320
|
+
next_cursor?: string;
|
|
2321
|
+
values?: number;
|
|
2322
|
+
has_more?: number;
|
|
2323
|
+
page_size?: number;
|
|
2324
|
+
};
|
|
2325
|
+
/** 错误码 */
|
|
2326
|
+
errcode?: unknown;
|
|
2327
|
+
/** 错误信息 */
|
|
2328
|
+
errmsg?: string;
|
|
2329
|
+
}
|
|
2330
|
+
export interface OapiCrmObjectmetaDescribeParams {
|
|
2331
|
+
/** 目标名称 */
|
|
2332
|
+
name: string;
|
|
2333
|
+
}
|
|
2334
|
+
export interface OapiCrmObjectmetaDescribeResponse {
|
|
2335
|
+
/** result */
|
|
2336
|
+
result?: {
|
|
2337
|
+
name?: string;
|
|
2338
|
+
customized?: number;
|
|
2339
|
+
fields?: number;
|
|
2340
|
+
};
|
|
2341
|
+
/** 错误码 */
|
|
2342
|
+
errcode?: unknown;
|
|
2343
|
+
/** 错误信息 */
|
|
2344
|
+
errmsg?: string;
|
|
2345
|
+
}
|
|
2346
|
+
export interface OapiCrmObjectdataContactQueryParams {
|
|
2347
|
+
/** 用户ID */
|
|
2348
|
+
current_operator_userid?: string;
|
|
2349
|
+
/** 分页游标 */
|
|
2350
|
+
cursor?: string;
|
|
2351
|
+
/** 分页大小 */
|
|
2352
|
+
page_size: unknown;
|
|
2353
|
+
/** 服务商组织 id,自建应用可以传入 */
|
|
2354
|
+
provider_corpid?: string;
|
|
2355
|
+
/** 查询条件 */
|
|
2356
|
+
query_dsl?: string;
|
|
2357
|
+
}
|
|
2358
|
+
export interface OapiCrmObjectdataContactQueryResponse {
|
|
2359
|
+
/** 分页结果 */
|
|
2360
|
+
result?: {
|
|
2361
|
+
next_cursor?: string;
|
|
2362
|
+
values?: number;
|
|
2363
|
+
has_more?: number;
|
|
2364
|
+
page_size?: number;
|
|
2365
|
+
};
|
|
2366
|
+
/** 错误码 */
|
|
2367
|
+
errcode?: unknown;
|
|
2368
|
+
/** 错误信息 */
|
|
2369
|
+
errmsg?: string;
|
|
2370
|
+
}
|
|
2371
|
+
export interface OapiCrmObjectdataFollowrecordListParams {
|
|
2372
|
+
/** 操作人用户ID */
|
|
2373
|
+
current_operator_userid?: string;
|
|
2374
|
+
/** 数据ID列表 */
|
|
2375
|
+
data_id_list: string[];
|
|
2376
|
+
}
|
|
2377
|
+
export interface OapiCrmObjectdataFollowrecordListResponse {
|
|
2378
|
+
/** 实例数据 */
|
|
2379
|
+
result_list?: {
|
|
2380
|
+
creator_nick?: string;
|
|
2381
|
+
gmt_modified?: string;
|
|
2382
|
+
creator_userid?: string;
|
|
2383
|
+
instance_id?: string;
|
|
2384
|
+
data?: number;
|
|
2385
|
+
extend_data?: number;
|
|
2386
|
+
gmt_create?: string;
|
|
2387
|
+
object_type?: string;
|
|
2388
|
+
permission?: number;
|
|
2389
|
+
proc_inst_status?: string;
|
|
2390
|
+
proc_out_result?: string;
|
|
2391
|
+
}[];
|
|
2392
|
+
/** 错误码 */
|
|
2393
|
+
errcode?: unknown;
|
|
2394
|
+
/** 错误信息 */
|
|
2395
|
+
errmsg?: string;
|
|
2396
|
+
}
|
|
2397
|
+
export interface OapiCrmObjectdataFollowrecordQueryParams {
|
|
2398
|
+
/** 用户ID */
|
|
2399
|
+
current_operator_userid?: string;
|
|
2400
|
+
/** 分页游标 */
|
|
2401
|
+
cursor?: string;
|
|
2402
|
+
/** 分页大小 */
|
|
2403
|
+
page_size: unknown;
|
|
2404
|
+
/** 查询条件 */
|
|
2405
|
+
query_dsl?: string;
|
|
2406
|
+
}
|
|
2407
|
+
export interface OapiCrmObjectdataFollowrecordQueryResponse {
|
|
2408
|
+
/** 分页结果 */
|
|
2409
|
+
result?: {
|
|
2410
|
+
next_cursor?: string;
|
|
2411
|
+
values?: number;
|
|
2412
|
+
has_more?: number;
|
|
2413
|
+
page_size?: number;
|
|
2414
|
+
};
|
|
2415
|
+
/** 错误码 */
|
|
2416
|
+
errcode?: unknown;
|
|
2417
|
+
/** 错误信息 */
|
|
2418
|
+
errmsg?: string;
|
|
2419
|
+
}
|
|
2420
|
+
export interface OapiCrmObjectdataContactListParams {
|
|
2421
|
+
/** 操作人用户ID */
|
|
2422
|
+
current_operator_userid?: string;
|
|
2423
|
+
/** 数据ID列表 */
|
|
2424
|
+
data_id_list: string[];
|
|
2425
|
+
/** 自建应用时传入定制服务商ID */
|
|
2426
|
+
provider_corpid?: string;
|
|
2427
|
+
}
|
|
2428
|
+
export interface OapiCrmObjectdataContactListResponse {
|
|
2429
|
+
/** 实例数据 */
|
|
2430
|
+
result_list?: {
|
|
2431
|
+
creator_nick?: string;
|
|
2432
|
+
gmt_modified?: string;
|
|
2433
|
+
creator_userid?: string;
|
|
2434
|
+
instance_id?: string;
|
|
2435
|
+
data?: number;
|
|
2436
|
+
extend_data?: number;
|
|
2437
|
+
gmt_create?: string;
|
|
2438
|
+
object_type?: string;
|
|
2439
|
+
permission?: number;
|
|
2440
|
+
proc_inst_status?: string;
|
|
2441
|
+
proc_out_result?: string;
|
|
2442
|
+
}[];
|
|
2443
|
+
/** 错误码 */
|
|
2444
|
+
errcode?: unknown;
|
|
2445
|
+
/** 错误信息 */
|
|
2446
|
+
errmsg?: string;
|
|
2447
|
+
}
|
|
2448
|
+
export interface OapiCrmObjectmetaContactDescribeResponse {
|
|
2449
|
+
/** result */
|
|
2450
|
+
result?: {
|
|
2451
|
+
name?: string;
|
|
2452
|
+
customized?: number;
|
|
2453
|
+
fields?: number;
|
|
2454
|
+
status?: string;
|
|
2455
|
+
code?: string;
|
|
2456
|
+
};
|
|
2457
|
+
/** 错误码 */
|
|
2458
|
+
errcode?: unknown;
|
|
2459
|
+
/** 错误信息 */
|
|
2460
|
+
errmsg?: string;
|
|
2461
|
+
}
|
|
2462
|
+
export interface OapiCrmObjectmetaFollowrecordDescribeResponse {
|
|
2463
|
+
/** result */
|
|
2464
|
+
result?: {
|
|
2465
|
+
name?: string;
|
|
2466
|
+
customized?: number;
|
|
2467
|
+
fields?: number;
|
|
2468
|
+
status?: string;
|
|
2469
|
+
code?: string;
|
|
2470
|
+
};
|
|
2471
|
+
/** 错误码 */
|
|
2472
|
+
errcode?: unknown;
|
|
2473
|
+
/** 错误信息 */
|
|
2474
|
+
errmsg?: string;
|
|
2475
|
+
}
|
|
2476
|
+
export interface OapiCspaceAddToSingleChatParams {
|
|
2477
|
+
/** 文件名(需包含含扩展名),需要utf-8 urlEncode */
|
|
2478
|
+
file_name?: string;
|
|
2479
|
+
/** 调用钉盘上传文件接口得到的mediaid,需要utf-8 urlEncode */
|
|
2480
|
+
media_id?: string;
|
|
2481
|
+
/** 文件发送者微应用的agentId */
|
|
2482
|
+
userid?: string;
|
|
2483
|
+
/** 文件接收人的userid */
|
|
2484
|
+
agent_id?: string;
|
|
2485
|
+
}
|
|
2486
|
+
export interface OapiCspaceAddToSingleChatResponse {
|
|
2487
|
+
/** errmsg */
|
|
2488
|
+
errmsg?: string;
|
|
2489
|
+
/** errcode */
|
|
2490
|
+
errcode?: unknown;
|
|
2491
|
+
}
|
|
2492
|
+
export interface OapiCspaceGrantCustomSpaceQuery {
|
|
2493
|
+
/** ISV调用时传入,授权访问指定微应用的自定义空间 */
|
|
2494
|
+
agent_id?: string;
|
|
2495
|
+
/** 企业调用时传入,授权访问该domain的自定义空间 */
|
|
2496
|
+
domain?: string;
|
|
2497
|
+
/** 权限类型,目前支持上传和下载,上传请传add,下载请传download */
|
|
2498
|
+
type?: string;
|
|
2499
|
+
/** 企业用户userid */
|
|
2500
|
+
userid?: string;
|
|
2501
|
+
/** 授权访问的路径,如授权访问所有文件传“/”,授权访问/doc文件夹传“/doc/” 需要utf-8 urlEncode */
|
|
2502
|
+
path?: string;
|
|
2503
|
+
/** 授权访问的文件id列表,id之间用英文逗号隔开,如“fileId1,fileId2” */
|
|
2504
|
+
fileids?: string;
|
|
2505
|
+
/** 权限有效时间,有效范围为0~3600秒,超出此范围或不传默认为30秒 */
|
|
2506
|
+
duration?: unknown;
|
|
2507
|
+
}
|
|
2508
|
+
export interface OapiCspaceGrantCustomSpaceResponse {
|
|
2509
|
+
/** errmsg */
|
|
2510
|
+
errmsg?: string;
|
|
2511
|
+
/** errcode */
|
|
2512
|
+
errcode?: unknown;
|
|
2513
|
+
}
|
|
2514
|
+
export interface OapiCspaceGetCustomSpaceQuery {
|
|
2515
|
+
/** 企业调用时传入,需要为10个字节以内的字符串,仅可包含字母和数字,大小写不敏感 */
|
|
2516
|
+
domain?: string;
|
|
2517
|
+
/** ISV调用时传入,微应用agentId */
|
|
2518
|
+
agent_id?: string;
|
|
2519
|
+
}
|
|
2520
|
+
export interface OapiCspaceGetCustomSpaceResponse {
|
|
2521
|
+
/** spaceid */
|
|
2522
|
+
spaceid?: string;
|
|
2523
|
+
/** errmsg */
|
|
2524
|
+
errmsg?: string;
|
|
2525
|
+
/** errcode */
|
|
2526
|
+
errcode?: unknown;
|
|
2527
|
+
}
|
|
2528
|
+
export interface OapiCspaceAddQuery {
|
|
2529
|
+
/** 微应用的agentId */
|
|
2530
|
+
agent_id?: string;
|
|
2531
|
+
/** 如果是微应用,code值为微应用免登授权码,如果是服务窗应用,code值为服务窗免登授权码。code为临时授权码,只能消费一次,下次请求需要重新获取新的code。 */
|
|
2532
|
+
code?: string;
|
|
2533
|
+
/** 调用钉盘上传文件接口得到的mediaid, 需要utf-8 urlEncode */
|
|
2534
|
+
media_id?: string;
|
|
2535
|
+
/** 调用云盘选择控件后获取的用户钉盘空间ID */
|
|
2536
|
+
folder_id?: string;
|
|
2537
|
+
/** 调用云盘选择控件后获取的用户钉盘文件夹ID */
|
|
2538
|
+
space_id?: string;
|
|
2539
|
+
/** 上传文件的名称,不能包含非法字符,需要utf-8 urlEncode */
|
|
2540
|
+
name?: string;
|
|
2541
|
+
/** 遇到同名文件是否覆盖,若不覆盖,则会自动重命名本次新增的文件,默认为false */
|
|
2542
|
+
overwrite?: unknown;
|
|
2543
|
+
}
|
|
2544
|
+
export interface OapiCspaceAddResponse {
|
|
2545
|
+
/** dentry */
|
|
2546
|
+
dentry?: string;
|
|
2547
|
+
/** errmsg */
|
|
2548
|
+
errmsg?: string;
|
|
2549
|
+
/** errcode */
|
|
2550
|
+
errcode?: unknown;
|
|
2551
|
+
}
|
|
2552
|
+
export interface OapiChatSubadminUpdateParams {
|
|
2553
|
+
/** 群会话id */
|
|
2554
|
+
chatid: string;
|
|
2555
|
+
/** 群成员id */
|
|
2556
|
+
userids: string[];
|
|
2557
|
+
/** 设置2添加为管理员,设置3删除该管理员 */
|
|
2558
|
+
role: unknown;
|
|
2559
|
+
}
|
|
2560
|
+
export interface OapiChatSubadminUpdateResponse {
|
|
2561
|
+
/** 是否调用成功 */
|
|
2562
|
+
success?: unknown;
|
|
2563
|
+
/** 错误码 */
|
|
2564
|
+
errcode?: unknown;
|
|
2565
|
+
/** 错误信息 */
|
|
2566
|
+
errmsg?: string;
|
|
2567
|
+
}
|
|
2568
|
+
export interface OapiChatQrcodeGetParams {
|
|
2569
|
+
/** 会话id(逐步淘汰推荐使用openConversationId) */
|
|
2570
|
+
chatid?: string;
|
|
2571
|
+
/** 分享二维码用户id */
|
|
2572
|
+
userid: string;
|
|
2573
|
+
/** 开放群id(与会话id 二选一) */
|
|
2574
|
+
openConversationId?: string;
|
|
2575
|
+
}
|
|
2576
|
+
export interface OapiChatQrcodeGetResponse {
|
|
2577
|
+
/** 返回入群的链接 */
|
|
2578
|
+
result?: string;
|
|
2579
|
+
/** 是否调用成功 */
|
|
2580
|
+
success?: unknown;
|
|
2581
|
+
/** 错误码 */
|
|
2582
|
+
errcode?: unknown;
|
|
2583
|
+
/** 错误信息 */
|
|
2584
|
+
errmsg?: string;
|
|
2585
|
+
}
|
|
2586
|
+
export interface OapiChatMemberFriendswitchUpdateParams {
|
|
2587
|
+
/** 会话Id */
|
|
2588
|
+
chatid: string;
|
|
2589
|
+
/** true开启禁止开关,false关闭禁止开关 */
|
|
2590
|
+
is_prohibit: unknown;
|
|
2591
|
+
}
|
|
2592
|
+
export interface OapiChatMemberFriendswitchUpdateResponse {
|
|
2593
|
+
/** 是否设置成功 */
|
|
2594
|
+
success?: unknown;
|
|
2595
|
+
/** 错误码 */
|
|
2596
|
+
errcode?: unknown;
|
|
2597
|
+
/** 错误信息 */
|
|
2598
|
+
errmsg?: string;
|
|
2599
|
+
}
|
|
2600
|
+
export interface OapiChatUpdategroupnickParams {
|
|
2601
|
+
/** 用户userid */
|
|
2602
|
+
userid: string;
|
|
2603
|
+
/** chatid */
|
|
2604
|
+
chatid: string;
|
|
2605
|
+
/** 群昵称 */
|
|
2606
|
+
group_nick: string;
|
|
2607
|
+
}
|
|
2608
|
+
export interface OapiChatUpdategroupnickResponse {
|
|
2609
|
+
/** dingOpenErrcode */
|
|
2610
|
+
errcode?: unknown;
|
|
2611
|
+
/** errorMsg */
|
|
2612
|
+
errmsg?: string;
|
|
2613
|
+
/** success */
|
|
2614
|
+
success?: unknown;
|
|
2615
|
+
}
|
|
2616
|
+
export interface OapiChatUpdateParams {
|
|
2617
|
+
/** 群会话id */
|
|
2618
|
+
chatid?: string;
|
|
2619
|
+
/** 群名称 */
|
|
2620
|
+
name?: string;
|
|
2621
|
+
/** 群主的userId */
|
|
2622
|
+
owner?: string;
|
|
2623
|
+
/** 群主类型,emp:企业员工,ext:外部联系人 */
|
|
2624
|
+
ownerType?: string;
|
|
2625
|
+
/** 添加成员列表 */
|
|
2626
|
+
add_useridlist?: string[];
|
|
2627
|
+
/** 删除成员列表 */
|
|
2628
|
+
del_useridlist?: string[];
|
|
2629
|
+
/** 添加外部联系人成员列表 */
|
|
2630
|
+
add_extidlist?: string[];
|
|
2631
|
+
/** 删除外部联系人成员列表 */
|
|
2632
|
+
del_extidlist?: string[];
|
|
2633
|
+
/** 群头像mediaId */
|
|
2634
|
+
icon?: string;
|
|
2635
|
+
/** 是否禁言 */
|
|
2636
|
+
isBan?: unknown;
|
|
2637
|
+
/** 群可搜索,0-默认,不可搜索,1-可搜索 */
|
|
2638
|
+
searchable?: unknown;
|
|
2639
|
+
/** 入群验证,0:不入群验证(默认) 1:入群验证 */
|
|
2640
|
+
validationType?: unknown;
|
|
2641
|
+
/** @all 权限,0-默认,所有人,1-仅群主可@all */
|
|
2642
|
+
mentionAllAuthority?: unknown;
|
|
2643
|
+
/** 管理类型,0-默认,所有人可管理,1-仅群主可管理 */
|
|
2644
|
+
managementType?: unknown;
|
|
2645
|
+
/** 群禁言,0-默认,不禁言,1-全员禁言 */
|
|
2646
|
+
chatBannedType?: unknown;
|
|
2647
|
+
/** 新成员可查看聊天历史 0否 1是 */
|
|
2648
|
+
showHistoryType?: unknown;
|
|
2649
|
+
}
|
|
2650
|
+
export interface OapiChatUpdateResponse {
|
|
2651
|
+
/** errmsg */
|
|
2652
|
+
errmsg?: string;
|
|
2653
|
+
/** errcode */
|
|
2654
|
+
errcode?: unknown;
|
|
2655
|
+
}
|
|
2656
|
+
export interface OapiChatCreateParams {
|
|
2657
|
+
/** 群名称 */
|
|
2658
|
+
name?: string;
|
|
2659
|
+
/** 群主的userId */
|
|
2660
|
+
owner?: string;
|
|
2661
|
+
/** 群成员userId列表 */
|
|
2662
|
+
useridlist?: string[];
|
|
2663
|
+
/** 新成员可查看100条聊天历史消息的类型,1:可查看,默认或0:不可查看 */
|
|
2664
|
+
showHistoryType?: unknown;
|
|
2665
|
+
/** 群可搜索,0-默认,不可搜索,1-可搜索 */
|
|
2666
|
+
searchable?: unknown;
|
|
2667
|
+
/** 入群验证,0:不入群验证(默认) 1:入群验证 */
|
|
2668
|
+
validationType?: unknown;
|
|
2669
|
+
/** @all 权限,0-默认,所有人,1-仅群主可@all */
|
|
2670
|
+
mentionAllAuthority?: unknown;
|
|
2671
|
+
/** 管理类型,0-默认,所有人可管理,1-仅群主可管理 */
|
|
2672
|
+
managementType?: unknown;
|
|
2673
|
+
/** 群禁言,0-默认,不禁言,1-全员禁言 */
|
|
2674
|
+
chatBannedType?: unknown;
|
|
2675
|
+
}
|
|
2676
|
+
export interface OapiChatCreateResponse {
|
|
2677
|
+
/** conversationTag */
|
|
2678
|
+
conversationTag?: unknown;
|
|
2679
|
+
/** openConversationId */
|
|
2680
|
+
openConversationId?: string;
|
|
2681
|
+
/** chatid */
|
|
2682
|
+
chatid?: string;
|
|
2683
|
+
/** errmsg */
|
|
2684
|
+
errmsg?: string;
|
|
2685
|
+
/** errcode */
|
|
2686
|
+
errcode?: unknown;
|
|
2687
|
+
}
|
|
2688
|
+
export interface OapiChatGetQuery {
|
|
2689
|
+
/** 群会话的id */
|
|
2690
|
+
chatid?: string;
|
|
2691
|
+
}
|
|
2692
|
+
export interface OapiChatGetResponse {
|
|
2693
|
+
/** errcode */
|
|
2694
|
+
errcode?: unknown;
|
|
2695
|
+
/** errmsg */
|
|
2696
|
+
errmsg?: string;
|
|
2697
|
+
/** chat_info */
|
|
2698
|
+
chat_info?: {
|
|
2699
|
+
name?: string;
|
|
2700
|
+
owner?: string;
|
|
2701
|
+
useridlist?: number;
|
|
2702
|
+
extidlist?: number;
|
|
2703
|
+
agentidlist?: number;
|
|
2704
|
+
conversationTag?: number;
|
|
2705
|
+
chatBannedType?: number;
|
|
2706
|
+
searchable?: number;
|
|
2707
|
+
validationType?: number;
|
|
2708
|
+
mentionAllAuthority?: number;
|
|
2709
|
+
managementType?: number;
|
|
2710
|
+
showHistoryType?: number;
|
|
2711
|
+
icon?: string;
|
|
2712
|
+
status?: number;
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
export interface OapiSmartbotMsgPushParams {
|
|
2716
|
+
/** 消息体,具体见文档 */
|
|
2717
|
+
msg: unknown;
|
|
2718
|
+
/** 接收者的用户userid列表 */
|
|
2719
|
+
user_id_list?: string[];
|
|
2720
|
+
/** 接收者的会话chatid列表 */
|
|
2721
|
+
chat_id_list?: string[];
|
|
2722
|
+
/** 是否发送给企业全部用户,”true“则忽略用户列表和会话列表 */
|
|
2723
|
+
to_all_user?: unknown;
|
|
2724
|
+
}
|
|
2725
|
+
export interface OapiSmartbotMsgPushResponse {
|
|
2726
|
+
/** 创建的异步发送任务id */
|
|
2727
|
+
task_id?: string;
|
|
2728
|
+
/** 错误码 */
|
|
2729
|
+
errcode?: unknown;
|
|
2730
|
+
/** errorMsg */
|
|
2731
|
+
errmsg?: string;
|
|
2732
|
+
}
|
|
2733
|
+
declare module '../internal' {
|
|
2734
|
+
interface Internal {
|
|
2735
|
+
/**
|
|
2736
|
+
* 该接口用于获取企业授权凭证
|
|
2737
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-the-enterprise-authorized-credential
|
|
2738
|
+
*/
|
|
2739
|
+
OapiServiceGetCorpToken(params: OapiServiceGetCorpTokenParams): Promise<OapiServiceGetCorpTokenResponse>;
|
|
2740
|
+
/**
|
|
2741
|
+
* 获取应用后台免登的access_token
|
|
2742
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-the-ssotoken-for-micro-application-background-logon-free
|
|
2743
|
+
*/
|
|
2744
|
+
OapiSsoGettoken(query: OapiSsoGettokenQuery): Promise<OapiSsoGettokenResponse>;
|
|
2745
|
+
/**
|
|
2746
|
+
* 获取jsapi ticket
|
|
2747
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-jsapi_ticket
|
|
2748
|
+
*/
|
|
2749
|
+
OapiGetJsapiTicket(): Promise<OapiGetJsapiTicketResponse>;
|
|
2750
|
+
/**
|
|
2751
|
+
* 获取企业内部应用的access_token
|
|
2752
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtain-orgapp-token
|
|
2753
|
+
*/
|
|
2754
|
+
OapiGettoken(query: OapiGettokenQuery): Promise<OapiGettokenResponse>;
|
|
2755
|
+
/**
|
|
2756
|
+
* 通过免登码获取用户userid
|
|
2757
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-the-userid-of-a-user-by-using-the-log-free
|
|
2758
|
+
*/
|
|
2759
|
+
OapiV2UserGetuserinfo(params: OapiV2UserGetuserinfoParams): Promise<OapiV2UserGetuserinfoResponse>;
|
|
2760
|
+
/**
|
|
2761
|
+
* 该接口用于获取授权用户信息
|
|
2762
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/obtain-the-user-information-based-on-the-sns-temporary-authorization
|
|
2763
|
+
*/
|
|
2764
|
+
OapiSnsGetuserinfoBycode(params: OapiSnsGetuserinfoBycodeParams): Promise<OapiSnsGetuserinfoBycodeResponse>;
|
|
2765
|
+
/**
|
|
2766
|
+
* 获取应用管理后台免登的用户信息
|
|
2767
|
+
* @see https://developers.dingtalk.com/document/isvapp/exchange-code-for-the-identity-information-of-a-microapplication-administrator
|
|
2768
|
+
*/
|
|
2769
|
+
OapiSsoGetuserinfo(query: OapiSsoGetuserinfoQuery): Promise<OapiSsoGetuserinfoResponse>;
|
|
2770
|
+
/**
|
|
2771
|
+
* 获取企业授权信息
|
|
2772
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-the-basic-information-of-an-enterprise
|
|
2773
|
+
*/
|
|
2774
|
+
OapiServiceGetAuthInfo(params: OapiServiceGetAuthInfoParams): Promise<OapiServiceGetAuthInfoResponse>;
|
|
2775
|
+
/**
|
|
2776
|
+
* 用户信息更新
|
|
2777
|
+
* @see https://developers.dingtalk.com/document/orgapp/update-dedicated-accounts-information
|
|
2778
|
+
*/
|
|
2779
|
+
OapiV2UserUpdate(params: OapiV2UserUpdateParams): Promise<OapiV2UserUpdateResponse>;
|
|
2780
|
+
/**
|
|
2781
|
+
* 用户信息创建
|
|
2782
|
+
* @see https://developers.dingtalk.com/document/orgapp/user-information-creation
|
|
2783
|
+
*/
|
|
2784
|
+
OapiV2UserCreate(params: OapiV2UserCreateParams): Promise<OapiV2UserCreateResponse>;
|
|
2785
|
+
/**
|
|
2786
|
+
* 获取主干组织列表
|
|
2787
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-backbone-organization-list
|
|
2788
|
+
*/
|
|
2789
|
+
OapiOrgUnionTrunkGet(): Promise<OapiOrgUnionTrunkGetResponse>;
|
|
2790
|
+
/**
|
|
2791
|
+
* 获取员工花名册的元数据定义(包括花名册分组、字段定义)
|
|
2792
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-roster-metadata-query
|
|
2793
|
+
*/
|
|
2794
|
+
OapiSmartworkHrmRosterMetaGet(params: OapiSmartworkHrmRosterMetaGetParams): Promise<OapiSmartworkHrmRosterMetaGetResponse>;
|
|
2795
|
+
/**
|
|
2796
|
+
* 获取员工花名册指定字段的信息,支持明细分组字段
|
|
2797
|
+
* @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-obtain-employee-roster-information
|
|
2798
|
+
*/
|
|
2799
|
+
OapiSmartworkHrmEmployeeV2List(params: OapiSmartworkHrmEmployeeV2ListParams): Promise<OapiSmartworkHrmEmployeeV2ListResponse>;
|
|
2800
|
+
/**
|
|
2801
|
+
* 智能人事更新员工档案信息,支持明细分组
|
|
2802
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-update-employee-file-information
|
|
2803
|
+
*/
|
|
2804
|
+
OapiSmartworkHrmEmployeeV2Update(params: OapiSmartworkHrmEmployeeV2UpdateParams): Promise<OapiSmartworkHrmEmployeeV2UpdateResponse>;
|
|
2805
|
+
/**
|
|
2806
|
+
* 提供给ISV查询花名册的员工档案信息中有权限的字段列表
|
|
2807
|
+
* @see https://developers.dingtalk.com/document/isvapp/get-roster-field-group-details
|
|
2808
|
+
*/
|
|
2809
|
+
OapiSmartworkHrmEmployeeFieldGrouplist(params: OapiSmartworkHrmEmployeeFieldGrouplistParams): Promise<OapiSmartworkHrmEmployeeFieldGrouplistResponse>;
|
|
2810
|
+
/**
|
|
2811
|
+
* 智能人事更新员工档案员工信息
|
|
2812
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/update-employee-roster
|
|
2813
|
+
*/
|
|
2814
|
+
OapiSmartworkHrmEmployeeUpdate(params: OapiSmartworkHrmEmployeeUpdateParams): Promise<OapiSmartworkHrmEmployeeUpdateResponse>;
|
|
2815
|
+
/**
|
|
2816
|
+
* 智能人事业务,提供企业/ISV按在职状态分页查询公司在职员工id列表
|
|
2817
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-on-the-job-employees-of-the
|
|
2818
|
+
*/
|
|
2819
|
+
OapiSmartworkHrmEmployeeQueryonjob(params: OapiSmartworkHrmEmployeeQueryonjobParams): Promise<OapiSmartworkHrmEmployeeQueryonjobResponse>;
|
|
2820
|
+
/**
|
|
2821
|
+
* 智能人事业务,企业/ISV分页查询公司待入职员工id列表
|
|
2822
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-employees-to-be-hired
|
|
2823
|
+
*/
|
|
2824
|
+
OapiSmartworkHrmEmployeeQuerypreentry(params: OapiSmartworkHrmEmployeeQuerypreentryParams): Promise<OapiSmartworkHrmEmployeeQuerypreentryResponse>;
|
|
2825
|
+
/**
|
|
2826
|
+
* 智能人事添加待入职员工信息
|
|
2827
|
+
* @see https://developers.dingtalk.com/document/isvapp/add-employees-to-be-hired-through-intelligent-personnel
|
|
2828
|
+
*/
|
|
2829
|
+
OapiSmartworkHrmEmployeeAddpreentry(params: OapiSmartworkHrmEmployeeAddpreentryParams): Promise<OapiSmartworkHrmEmployeeAddpreentryResponse>;
|
|
2830
|
+
/**
|
|
2831
|
+
* 智能人事业务,企业/ISV根据员工id批量访问员工花名册信息
|
|
2832
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/obtaining-employee-roster-field-information
|
|
2833
|
+
*/
|
|
2834
|
+
OapiSmartworkHrmEmployeeList(params: OapiSmartworkHrmEmployeeListParams): Promise<OapiSmartworkHrmEmployeeListResponse>;
|
|
2835
|
+
/**
|
|
2836
|
+
* 企业可以根据模板名称获取模板详情
|
|
2837
|
+
* @see https://developers.dingtalk.com/document/isvapp/query-template-details
|
|
2838
|
+
*/
|
|
2839
|
+
OapiReportTemplateGetbyname(params: OapiReportTemplateGetbynameParams): Promise<OapiReportTemplateGetbynameResponse>;
|
|
2840
|
+
/**
|
|
2841
|
+
* 提供企业员工创建日志的接口
|
|
2842
|
+
* @see https://developers.dingtalk.com/document/isvapp/create-a-log
|
|
2843
|
+
*/
|
|
2844
|
+
OapiReportCreate(params: OapiReportCreateParams): Promise<OapiReportCreateResponse>;
|
|
2845
|
+
/**
|
|
2846
|
+
* 第三方系统会调用这个接口保存日志内容,后续在写日志页面再拉取此内容。
|
|
2847
|
+
* @see https://developers.dingtalk.com/document/isvapp/save-custom-log-content
|
|
2848
|
+
*/
|
|
2849
|
+
OapiReportSavecontent(params: OapiReportSavecontentParams): Promise<OapiReportSavecontentResponse>;
|
|
2850
|
+
/**
|
|
2851
|
+
* 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送的日志概要信息
|
|
2852
|
+
* @see https://developers.dingtalk.com/document/orgapp/view-log-summary-data
|
|
2853
|
+
*/
|
|
2854
|
+
OapiReportSimplelist(params: OapiReportSimplelistParams): Promise<OapiReportSimplelistResponse>;
|
|
2855
|
+
/**
|
|
2856
|
+
* 分页获取日志相关人员列表,包括已读人员列表、评论人员列表、点赞人员列表
|
|
2857
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtains-a-list-of-log-related-personnel-by-type
|
|
2858
|
+
*/
|
|
2859
|
+
OapiReportStatisticsListbytype(params: OapiReportStatisticsListbytypeParams): Promise<OapiReportStatisticsListbytypeResponse>;
|
|
2860
|
+
/**
|
|
2861
|
+
* 获取日志的分享人员列表
|
|
2862
|
+
* @see https://developers.dingtalk.com/document/orgapp/queries-log-sharing-personnel
|
|
2863
|
+
*/
|
|
2864
|
+
OapiReportReceiverList(params: OapiReportReceiverListParams): Promise<OapiReportReceiverListResponse>;
|
|
2865
|
+
/**
|
|
2866
|
+
* 分页获取评论详情,包括评论人userid、评论内容、评论时间
|
|
2867
|
+
* @see https://developers.dingtalk.com/document/orgapp/queries-log-comment-details
|
|
2868
|
+
*/
|
|
2869
|
+
OapiReportCommentList(params: OapiReportCommentListParams): Promise<OapiReportCommentListResponse>;
|
|
2870
|
+
/**
|
|
2871
|
+
* 获取日志统计数据
|
|
2872
|
+
* @see https://developers.dingtalk.com/document/orgapp/query-log-statistics
|
|
2873
|
+
*/
|
|
2874
|
+
OapiReportStatistics(params: OapiReportStatisticsParams): Promise<OapiReportStatisticsResponse>;
|
|
2875
|
+
/**
|
|
2876
|
+
* 查询企业员工的日志未读数
|
|
2877
|
+
* @see https://developers.dingtalk.com/document/orgapp/querying-the-employee-s-log-is-not-reading
|
|
2878
|
+
*/
|
|
2879
|
+
OapiReportGetunreadcount(params: OapiReportGetunreadcountParams): Promise<OapiReportGetunreadcountResponse>;
|
|
2880
|
+
/**
|
|
2881
|
+
* 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送和修改的日志详细信息
|
|
2882
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-the-logs-that-are-sent-by
|
|
2883
|
+
*/
|
|
2884
|
+
OapiReportList(params: OapiReportListParams): Promise<OapiReportListResponse>;
|
|
2885
|
+
/**
|
|
2886
|
+
* 根据用户userId获取当前企业下可见的日志模板列表
|
|
2887
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtains-the-list-of-visible-log-templates-based-on-the
|
|
2888
|
+
*/
|
|
2889
|
+
OapiReportTemplateListbyuserid(params: OapiReportTemplateListbyuseridParams): Promise<OapiReportTemplateListbyuseridResponse>;
|
|
2890
|
+
/**
|
|
2891
|
+
* 查询多个用户一段时间范围内的签到记录,只给企业调用,ISV无法调用。
|
|
2892
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-the-check-in-records-of-multiple-users
|
|
2893
|
+
*/
|
|
2894
|
+
OapiCheckinRecordGet(params: OapiCheckinRecordGetParams): Promise<OapiCheckinRecordGetResponse>;
|
|
2895
|
+
/**
|
|
2896
|
+
* 该接口用于获取部门用户签到记录
|
|
2897
|
+
* @see https://developers.dingtalk.com/document/orgapp/get-check-in-data
|
|
2898
|
+
*/
|
|
2899
|
+
OapiCheckinRecord(query: OapiCheckinRecordQuery): Promise<OapiCheckinRecordResponse>;
|
|
2900
|
+
/**
|
|
2901
|
+
* 获取企业公告未删除分类列表
|
|
2902
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtains-the-list-of-categories-not-deleted-for-enterprise-announcements
|
|
2903
|
+
*/
|
|
2904
|
+
OapiBlackboardCategoryList(params: OapiBlackboardCategoryListParams): Promise<OapiBlackboardCategoryListResponse>;
|
|
2905
|
+
/**
|
|
2906
|
+
* 根据公告id修改企业公告,只有以下身份可以修改:1、主管理员2、公告子管理员并且是待修改公告的创建者
|
|
2907
|
+
* @see https://developers.dingtalk.com/document/orgapp/modify-the-announcement-according-to-the-announcement-id
|
|
2908
|
+
*/
|
|
2909
|
+
OapiBlackboardUpdate(params: OapiBlackboardUpdateParams): Promise<OapiBlackboardUpdateResponse>;
|
|
2910
|
+
/**
|
|
2911
|
+
* 根据公告id删除企业公告,只有以下身份可以删除1、主管理员2、公告子管理员并且是待删除公告创建者
|
|
2912
|
+
* @see https://developers.dingtalk.com/document/orgapp/delete-announcements-based-on-the-announcement-id
|
|
2913
|
+
*/
|
|
2914
|
+
OapiBlackboardDelete(params: OapiBlackboardDeleteParams): Promise<OapiBlackboardDeleteResponse>;
|
|
2915
|
+
/**
|
|
2916
|
+
* 根据公告ID获取企业未删除公告详情,只有以下身份可以查看:
|
|
2917
|
+
1、保密公告
|
|
2918
|
+
1.1 公告管理员
|
|
2919
|
+
1.2 公告的接收人
|
|
2920
|
+
2、非保密公告
|
|
2921
|
+
2.1 企业内的人都可见
|
|
2922
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtains-the-details-of-a-bulletin-that-is-not-deleted
|
|
2923
|
+
*/
|
|
2924
|
+
OapiBlackboardGet(params: OapiBlackboardGetParams): Promise<OapiBlackboardGetResponse>;
|
|
2925
|
+
/**
|
|
2926
|
+
* 通过接口可以获取到企业未删除的钉钉公告id列表
|
|
2927
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtains-the-id-list-of-announcements-that-are-not-deleted
|
|
2928
|
+
*/
|
|
2929
|
+
OapiBlackboardListids(params: OapiBlackboardListidsParams): Promise<OapiBlackboardListidsResponse>;
|
|
2930
|
+
/**
|
|
2931
|
+
* 管理员可以通过该接口创建钉钉企业公告
|
|
2932
|
+
* @see https://developers.dingtalk.com/document/orgapp/create-an-enterprise-announcement
|
|
2933
|
+
*/
|
|
2934
|
+
OapiBlackboardCreate(params: OapiBlackboardCreateParams): Promise<OapiBlackboardCreateResponse>;
|
|
2935
|
+
/**
|
|
2936
|
+
* 列出用户当前有权限看到的10条公告,可用于在企业自定义工作首页进行公告轮播展示
|
|
2937
|
+
* @see https://developers.dingtalk.com/document/orgapp/list-the-user-s-announcement-list
|
|
2938
|
+
*/
|
|
2939
|
+
OapiBlackboardListtopten(params: OapiBlackboardListtoptenParams): Promise<OapiBlackboardListtoptenResponse>;
|
|
2940
|
+
/**
|
|
2941
|
+
* 查询用户是否参与企业步数排行榜
|
|
2942
|
+
* @see https://developers.dingtalk.com/document/isvapp/check-whether-dingtalk-is-enabled
|
|
2943
|
+
*/
|
|
2944
|
+
OapiHealthStepinfoGetuserstatus(params: OapiHealthStepinfoGetuserstatusParams): Promise<OapiHealthStepinfoGetuserstatusResponse>;
|
|
2945
|
+
/**
|
|
2946
|
+
* 批量获取钉钉运动数据
|
|
2947
|
+
* @see https://developers.dingtalk.com/document/orgapp/queries-the-number-of-dingtalk-movement-steps-of-multiple-users
|
|
2948
|
+
*/
|
|
2949
|
+
OapiHealthStepinfoListbyuserid(params: OapiHealthStepinfoListbyuseridParams): Promise<OapiHealthStepinfoListbyuseridResponse>;
|
|
2950
|
+
/**
|
|
2951
|
+
* 查询企业用户或部门每天的钉钉运动步数,最多可以查询31天的数据
|
|
2952
|
+
* @see https://developers.dingtalk.com/document/orgapp/queries-individual-or-department-dingtalk-exercise-steps
|
|
2953
|
+
*/
|
|
2954
|
+
OapiHealthStepinfoList(params: OapiHealthStepinfoListParams): Promise<OapiHealthStepinfoListResponse>;
|
|
2955
|
+
/**
|
|
2956
|
+
* 该接口用于获取员工可见的应用列表
|
|
2957
|
+
* @see https://developers.dingtalk.com/document/orgapp-server/list-the-microapplications-visible-to-employees
|
|
2958
|
+
*/
|
|
2959
|
+
OapiMicroappListByUserid(query: OapiMicroappListByUseridQuery): Promise<OapiMicroappListByUseridResponse>;
|
|
2960
|
+
/**
|
|
2961
|
+
* 列出微应用
|
|
2962
|
+
* @see https://developers.dingtalk.com/document/orgapp-server/manager-microapplications-api-permission
|
|
2963
|
+
*/
|
|
2964
|
+
OapiMicroappList(): Promise<OapiMicroappListResponse>;
|
|
2965
|
+
/**
|
|
2966
|
+
* 删除微应用
|
|
2967
|
+
* @see https://developers.dingtalk.com/document/orgapp-server/delete-an-h5-microapplication
|
|
2968
|
+
*/
|
|
2969
|
+
OapiMicroappDelete(params: OapiMicroappDeleteParams): Promise<OapiMicroappDeleteResponse>;
|
|
2970
|
+
/**
|
|
2971
|
+
* 该接口用于设置应用的可见范围
|
|
2972
|
+
* @see https://developers.dingtalk.com/document/orgapp-server/set-the-visible-range-of-the-microapplication
|
|
2973
|
+
*/
|
|
2974
|
+
OapiMicroappSetVisibleScopes(params: OapiMicroappSetVisibleScopesParams): Promise<OapiMicroappSetVisibleScopesResponse>;
|
|
2975
|
+
/**
|
|
2976
|
+
* 获取应用的可见范围
|
|
2977
|
+
* @see https://developers.dingtalk.com/document/orgapp-server/gets-the-microapplication-visible-range-set-by-the-enterprise
|
|
2978
|
+
*/
|
|
2979
|
+
OapiMicroappVisibleScopes(params: OapiMicroappVisibleScopesParams): Promise<OapiMicroappVisibleScopesResponse>;
|
|
2980
|
+
/**
|
|
2981
|
+
* 用户使用音频 media_id 或 url 进行请求,服务通过回调的方式通知用户翻译结果
|
|
2982
|
+
* @see https://developers.dingtalk.com/document/isvapp/asr-short-sentence-recognition
|
|
2983
|
+
*/
|
|
2984
|
+
OapiAsrVoiceTranslate(params: OapiAsrVoiceTranslateParams): Promise<OapiAsrVoiceTranslateResponse>;
|
|
2985
|
+
/**
|
|
2986
|
+
* 输入一段文本,得到翻译指定语言后的译文,支持多种语言的互译
|
|
2987
|
+
* @see https://developers.dingtalk.com/document/isvapp/dingtalk-translation
|
|
2988
|
+
*/
|
|
2989
|
+
OapiAiMtTranslate(params: OapiAiMtTranslateParams): Promise<OapiAiMtTranslateResponse>;
|
|
2990
|
+
/**
|
|
2991
|
+
* OCR文字识别
|
|
2992
|
+
* @see https://developers.dingtalk.com/document/isvapp/structured-image-recognition-api
|
|
2993
|
+
*/
|
|
2994
|
+
OapiOcrStructuredRecognize(params: OapiOcrStructuredRecognizeParams): Promise<OapiOcrStructuredRecognizeResponse>;
|
|
2995
|
+
/**
|
|
2996
|
+
* 场开放场景下,基于群模板定义的机器人向群内发消息
|
|
2997
|
+
* @see https://developers.dingtalk.com/document/isvapp/send-group-helper-message
|
|
2998
|
+
*/
|
|
2999
|
+
OapiImChatScencegroupMessageSendV2(params: OapiImChatScencegroupMessageSendV2Params): Promise<OapiImChatScencegroupMessageSendV2Response>;
|
|
3000
|
+
/**
|
|
3001
|
+
* 根据定义的模板id,创建自定义场景群
|
|
3002
|
+
* @see https://developers.dingtalk.com/document/isvapp/deactivate-group-template
|
|
3003
|
+
*/
|
|
3004
|
+
OapiImChatScenegroupTemplateClose(params: OapiImChatScenegroupTemplateCloseParams): Promise<OapiImChatScenegroupTemplateCloseResponse>;
|
|
3005
|
+
/**
|
|
3006
|
+
* 根据传入的模板id,启用群会话群模板功能
|
|
3007
|
+
* @see https://developers.dingtalk.com/document/isvapp/enable-group-template
|
|
3008
|
+
*/
|
|
3009
|
+
OapiImChatScenegroupTemplateApply(params: OapiImChatScenegroupTemplateApplyParams): Promise<OapiImChatScenegroupTemplateApplyResponse>;
|
|
3010
|
+
/**
|
|
3011
|
+
* 注册互动卡片回调地址
|
|
3012
|
+
* @see https://developers.dingtalk.com/document/orgapp/registration-card-interaction-callback-address-1
|
|
3013
|
+
*/
|
|
3014
|
+
OapiImChatScencegroupInteractivecardCallbackRegister(params: OapiImChatScencegroupInteractivecardCallbackRegisterParams): Promise<OapiImChatScencegroupInteractivecardCallbackRegisterResponse>;
|
|
3015
|
+
/**
|
|
3016
|
+
* 根据定义的模板id,创建自定义场景群
|
|
3017
|
+
* @see https://developers.dingtalk.com/document/isvapp/create-group
|
|
3018
|
+
*/
|
|
3019
|
+
OapiImChatScenegroupCreate(params: OapiImChatScenegroupCreateParams): Promise<OapiImChatScenegroupCreateResponse>;
|
|
3020
|
+
/**
|
|
3021
|
+
* 新增场景群成员
|
|
3022
|
+
* @see https://developers.dingtalk.com/document/isvapp/add-group-members-1
|
|
3023
|
+
*/
|
|
3024
|
+
OapiImChatScenegroupMemberAdd(params: OapiImChatScenegroupMemberAddParams): Promise<OapiImChatScenegroupMemberAddResponse>;
|
|
3025
|
+
/**
|
|
3026
|
+
* 获取场景群成员
|
|
3027
|
+
* @see https://developers.dingtalk.com/document/group/obtains-scene-members
|
|
3028
|
+
*/
|
|
3029
|
+
OapiImChatScenegroupMemberGet(params: OapiImChatScenegroupMemberGetParams): Promise<OapiImChatScenegroupMemberGetResponse>;
|
|
3030
|
+
/**
|
|
3031
|
+
* 根据传入的群id,更新群相关内容
|
|
3032
|
+
* @see https://developers.dingtalk.com/document/isvapp/update-group
|
|
3033
|
+
*/
|
|
3034
|
+
OapiImChatScenegroupUpdate(params: OapiImChatScenegroupUpdateParams): Promise<OapiImChatScenegroupUpdateResponse>;
|
|
3035
|
+
/**
|
|
3036
|
+
* 删除场景群成员
|
|
3037
|
+
* @see https://developers.dingtalk.com/document/isvapp/delete-group-members
|
|
3038
|
+
*/
|
|
3039
|
+
OapiImChatScenegroupMemberDelete(params: OapiImChatScenegroupMemberDeleteParams): Promise<OapiImChatScenegroupMemberDeleteResponse>;
|
|
3040
|
+
/**
|
|
3041
|
+
* 根据群id,获取群的基本信息
|
|
3042
|
+
* @see https://developers.dingtalk.com/document/isvapp/querying-group-information
|
|
3043
|
+
*/
|
|
3044
|
+
OapiImChatScenegroupGet(params: OapiImChatScenegroupGetParams): Promise<OapiImChatScenegroupGetResponse>;
|
|
3045
|
+
/**
|
|
3046
|
+
* 自定义机器人发送消息
|
|
3047
|
+
* @see https://developers.dingtalk.com/document/isvapp/custom-bot-access-send-message
|
|
3048
|
+
*/
|
|
3049
|
+
OapiRobotSend(params: OapiRobotSendParams): Promise<OapiRobotSendResponse>;
|
|
3050
|
+
/**
|
|
3051
|
+
* 配置发票适用人群
|
|
3052
|
+
* @see https://developers.dingtalk.com/document/isvapp/configure-invoice-users
|
|
3053
|
+
*/
|
|
3054
|
+
OapiAlitripBtripInvoiceSettingRule(params: OapiAlitripBtripInvoiceSettingRuleParams): Promise<OapiAlitripBtripInvoiceSettingRuleResponse>;
|
|
3055
|
+
/**
|
|
3056
|
+
* 新增发票配置
|
|
3057
|
+
* @see https://developers.dingtalk.com/document/isvapp/new-invoice-configuration
|
|
3058
|
+
*/
|
|
3059
|
+
OapiAlitripBtripInvoiceSettingAdd(params: OapiAlitripBtripInvoiceSettingAddParams): Promise<OapiAlitripBtripInvoiceSettingAddResponse>;
|
|
3060
|
+
/**
|
|
3061
|
+
* 删除项目
|
|
3062
|
+
* @see https://developers.dingtalk.com/document/isvapp/delete-a-project
|
|
3063
|
+
*/
|
|
3064
|
+
OapiAlitripBtripProjectDelete(params: OapiAlitripBtripProjectDeleteParams): Promise<OapiAlitripBtripProjectDeleteResponse>;
|
|
3065
|
+
/**
|
|
3066
|
+
* 项目变更
|
|
3067
|
+
* @see https://developers.dingtalk.com/document/isvapp/project-change
|
|
3068
|
+
*/
|
|
3069
|
+
OapiAlitripBtripProjectModify(params: OapiAlitripBtripProjectModifyParams): Promise<OapiAlitripBtripProjectModifyResponse>;
|
|
3070
|
+
/**
|
|
3071
|
+
* 添加项目
|
|
3072
|
+
* @see https://developers.dingtalk.com/document/isvapp/add-a-project
|
|
3073
|
+
*/
|
|
3074
|
+
OapiAlitripBtripProjectAdd(params: OapiAlitripBtripProjectAddParams): Promise<OapiAlitripBtripProjectAddResponse>;
|
|
3075
|
+
/**
|
|
3076
|
+
* 删除发票配置
|
|
3077
|
+
* @see https://developers.dingtalk.com/document/isvapp/delete-invoice-configuration
|
|
3078
|
+
*/
|
|
3079
|
+
OapiAlitripBtripInvoiceSettingDelete(params: OapiAlitripBtripInvoiceSettingDeleteParams): Promise<OapiAlitripBtripInvoiceSettingDeleteResponse>;
|
|
3080
|
+
/**
|
|
3081
|
+
* 修改发票配置
|
|
3082
|
+
* @see https://developers.dingtalk.com/document/isvapp/modify-invoice-configuration
|
|
3083
|
+
*/
|
|
3084
|
+
OapiAlitripBtripInvoiceSettingModify(params: OapiAlitripBtripInvoiceSettingModifyParams): Promise<OapiAlitripBtripInvoiceSettingModifyResponse>;
|
|
3085
|
+
/**
|
|
3086
|
+
* 查询预估价
|
|
3087
|
+
* @see https://developers.dingtalk.com/document/isvapp/query-estimated-price
|
|
3088
|
+
*/
|
|
3089
|
+
OapiAlitripBtripPriceQuery(params: OapiAlitripBtripPriceQueryParams): Promise<OapiAlitripBtripPriceQueryResponse>;
|
|
3090
|
+
/**
|
|
3091
|
+
* 火车票城市搜索
|
|
3092
|
+
* @see https://developers.dingtalk.com/document/isvapp/train-ticket-city-search
|
|
3093
|
+
*/
|
|
3094
|
+
OapiAlitripBtripTrainCitySuggest(params: OapiAlitripBtripTrainCitySuggestParams): Promise<OapiAlitripBtripTrainCitySuggestResponse>;
|
|
3095
|
+
/**
|
|
3096
|
+
* 获取月对账结算数据
|
|
3097
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-monthly-reconciliation-settlement-data
|
|
3098
|
+
*/
|
|
3099
|
+
OapiAlitripBtripMonthbillUrlGet(params: OapiAlitripBtripMonthbillUrlGetParams): Promise<OapiAlitripBtripMonthbillUrlGetResponse>;
|
|
3100
|
+
/**
|
|
3101
|
+
* 获取商旅访问地址
|
|
3102
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-business-travel-access-addresses
|
|
3103
|
+
*/
|
|
3104
|
+
OapiAlitripBtripAddressGet(params: OapiAlitripBtripAddressGetParams): Promise<OapiAlitripBtripAddressGetResponse>;
|
|
3105
|
+
/**
|
|
3106
|
+
* 修改申请单
|
|
3107
|
+
* @see https://developers.dingtalk.com/document/isvapp/user-modify-approval-form
|
|
3108
|
+
*/
|
|
3109
|
+
OapiAlitripBtripApprovalModify(params: OapiAlitripBtripApprovalModifyParams): Promise<OapiAlitripBtripApprovalModifyResponse>;
|
|
3110
|
+
/**
|
|
3111
|
+
* 机票城市搜索
|
|
3112
|
+
* @see https://developers.dingtalk.com/document/isvapp/air-ticket-city-search
|
|
3113
|
+
*/
|
|
3114
|
+
OapiAlitripBtripFlightCitySuggest(params: OapiAlitripBtripFlightCitySuggestParams): Promise<OapiAlitripBtripFlightCitySuggestResponse>;
|
|
3115
|
+
/**
|
|
3116
|
+
* 获取用车订单数据
|
|
3117
|
+
* @see https://developers.dingtalk.com/document/isvapp/vehicle-order-query-interface
|
|
3118
|
+
*/
|
|
3119
|
+
OapiAlitripBtripVehicleOrderSearch(params: OapiAlitripBtripVehicleOrderSearchParams): Promise<OapiAlitripBtripVehicleOrderSearchResponse>;
|
|
3120
|
+
/**
|
|
3121
|
+
* 查询成本中心
|
|
3122
|
+
* @see https://developers.dingtalk.com/document/isvapp/query-cost-center
|
|
3123
|
+
*/
|
|
3124
|
+
OapiAlitripBtripCostCenterQuery(params: OapiAlitripBtripCostCenterQueryParams): Promise<OapiAlitripBtripCostCenterQueryResponse>;
|
|
3125
|
+
/**
|
|
3126
|
+
* 更新申请单状态
|
|
3127
|
+
* @see https://developers.dingtalk.com/document/isvapp/update-approval-form
|
|
3128
|
+
*/
|
|
3129
|
+
OapiAlitripBtripApprovalUpdate(params: OapiAlitripBtripApprovalUpdateParams): Promise<OapiAlitripBtripApprovalUpdateResponse>;
|
|
3130
|
+
/**
|
|
3131
|
+
* 新建成本中心
|
|
3132
|
+
* @see https://developers.dingtalk.com/document/isvapp/new-cost-center
|
|
3133
|
+
*/
|
|
3134
|
+
OapiAlitripBtripCostCenterNew(params: OapiAlitripBtripCostCenterNewParams): Promise<OapiAlitripBtripCostCenterNewResponse>;
|
|
3135
|
+
/**
|
|
3136
|
+
* 修改成本中心基本信息
|
|
3137
|
+
* @see https://developers.dingtalk.com/document/isvapp/modify-basic-cost-center-information
|
|
3138
|
+
*/
|
|
3139
|
+
OapiAlitripBtripCostCenterModify(params: OapiAlitripBtripCostCenterModifyParams): Promise<OapiAlitripBtripCostCenterModifyResponse>;
|
|
3140
|
+
/**
|
|
3141
|
+
* 删除成本中心
|
|
3142
|
+
* @see https://developers.dingtalk.com/document/isvapp/delete-cost-center
|
|
3143
|
+
*/
|
|
3144
|
+
OapiAlitripBtripCostCenterDelete(params: OapiAlitripBtripCostCenterDeleteParams): Promise<OapiAlitripBtripCostCenterDeleteResponse>;
|
|
3145
|
+
/**
|
|
3146
|
+
* 设置成本中心人员信息
|
|
3147
|
+
* @see https://developers.dingtalk.com/document/isvapp/set-up-cost-center-personnel-information
|
|
3148
|
+
*/
|
|
3149
|
+
OapiAlitripBtripCostCenterEntitySet(params: OapiAlitripBtripCostCenterEntitySetParams): Promise<OapiAlitripBtripCostCenterEntitySetResponse>;
|
|
3150
|
+
/**
|
|
3151
|
+
* 企业获取商旅酒店订单数据
|
|
3152
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-the-order-data-of-enterprise-hotels
|
|
3153
|
+
*/
|
|
3154
|
+
OapiAlitripBtripHotelOrderSearch(params: OapiAlitripBtripHotelOrderSearchParams): Promise<OapiAlitripBtripHotelOrderSearchResponse>;
|
|
3155
|
+
/**
|
|
3156
|
+
* 获取企业火车票订单数据
|
|
3157
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-the-enterprise-train-ticket-order-data
|
|
3158
|
+
*/
|
|
3159
|
+
OapiAlitripBtripTrainOrderSearch(params: OapiAlitripBtripTrainOrderSearchParams): Promise<OapiAlitripBtripTrainOrderSearchResponse>;
|
|
3160
|
+
/**
|
|
3161
|
+
* 获取企业机票订单数据
|
|
3162
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-enterprise-ticket-order-data
|
|
3163
|
+
*/
|
|
3164
|
+
OapiAlitripBtripFlightOrderSearch(params: OapiAlitripBtripFlightOrderSearchParams): Promise<OapiAlitripBtripFlightOrderSearchResponse>;
|
|
3165
|
+
/**
|
|
3166
|
+
* 查询可用发票列表
|
|
3167
|
+
* @see https://developers.dingtalk.com/document/isvapp/query-available-invoices
|
|
3168
|
+
*/
|
|
3169
|
+
OapiAlitripBtripInvoiceSearch(params: OapiAlitripBtripInvoiceSearchParams): Promise<OapiAlitripBtripInvoiceSearchResponse>;
|
|
3170
|
+
/**
|
|
3171
|
+
* 商旅成本中心转换为外部成本中心
|
|
3172
|
+
* @see https://developers.dingtalk.com/document/isvapp/business-travel-cost-center-converted-to-external-cost-center
|
|
3173
|
+
*/
|
|
3174
|
+
OapiAlitripBtripCostCenterTransfer(params: OapiAlitripBtripCostCenterTransferParams): Promise<OapiAlitripBtripCostCenterTransferResponse>;
|
|
3175
|
+
/**
|
|
3176
|
+
* 获取申请单详情
|
|
3177
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-the-detailed-data-of-a-single-request
|
|
3178
|
+
*/
|
|
3179
|
+
OapiAlitripBtripApplyGet(params: OapiAlitripBtripApplyGetParams): Promise<OapiAlitripBtripApplyGetResponse>;
|
|
3180
|
+
/**
|
|
3181
|
+
* 获取申请单列表
|
|
3182
|
+
* @see https://developers.dingtalk.com/document/isvapp/search-enterprise-approval-form-data
|
|
3183
|
+
*/
|
|
3184
|
+
OapiAlitripBtripApplySearch(params: OapiAlitripBtripApplySearchParams): Promise<OapiAlitripBtripApplySearchResponse>;
|
|
3185
|
+
/**
|
|
3186
|
+
* 用户新建审批单
|
|
3187
|
+
* @see https://developers.dingtalk.com/document/isvapp/user-new-approval-form
|
|
3188
|
+
*/
|
|
3189
|
+
OapiAlitripBtripApprovalNew(params: OapiAlitripBtripApprovalNewParams): Promise<OapiAlitripBtripApprovalNewResponse>;
|
|
3190
|
+
/**
|
|
3191
|
+
* 删除成本中心人员信息
|
|
3192
|
+
* @see https://developers.dingtalk.com/document/isvapp/delete-cost-center-personnel-information
|
|
3193
|
+
*/
|
|
3194
|
+
OapiAlitripBtripCostCenterEntityDelete(params: OapiAlitripBtripCostCenterEntityDeleteParams): Promise<OapiAlitripBtripCostCenterEntityDeleteResponse>;
|
|
3195
|
+
/**
|
|
3196
|
+
* 获取钉钉项目空间任务中文件的操作日志列表
|
|
3197
|
+
* @see https://developers.dingtalk.com/document/orgapp/query-file-operation-logs-of-a-project
|
|
3198
|
+
*/
|
|
3199
|
+
OapiWorkspaceAuditlogList(params: OapiWorkspaceAuditlogListParams): Promise<OapiWorkspaceAuditlogListResponse>;
|
|
3200
|
+
/**
|
|
3201
|
+
* 查询当前用户的数字化考试情况,是否获取了证书
|
|
3202
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtain-digital-certificate
|
|
3203
|
+
*/
|
|
3204
|
+
OapiEduCertGet(params: OapiEduCertGetParams): Promise<OapiEduCertGetResponse>;
|
|
3205
|
+
/**
|
|
3206
|
+
* 获取家校用户身份列表
|
|
3207
|
+
* @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-home-school-user-identities
|
|
3208
|
+
*/
|
|
3209
|
+
OapiEduUserList(params: OapiEduUserListParams): Promise<OapiEduUserListResponse>;
|
|
3210
|
+
/**
|
|
3211
|
+
* 查询企业下的智能硬件设备详情
|
|
3212
|
+
* @see https://developers.dingtalk.com/document/isvapp/the-smart-hardware-can-query-details-based-on-the-device
|
|
3213
|
+
*/
|
|
3214
|
+
OapiSmartdeviceDeviceQuerybyid(params: OapiSmartdeviceDeviceQuerybyidParams): Promise<OapiSmartdeviceDeviceQuerybyidResponse>;
|
|
3215
|
+
/**
|
|
3216
|
+
* 查询企业下的智能硬件设备列表
|
|
3217
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-list-query
|
|
3218
|
+
*/
|
|
3219
|
+
OapiSmartdeviceDeviceQuerylist(params: OapiSmartdeviceDeviceQuerylistParams): Promise<OapiSmartdeviceDeviceQuerylistResponse>;
|
|
3220
|
+
/**
|
|
3221
|
+
* 查询企业下的智能硬件设备详情
|
|
3222
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-device-query
|
|
3223
|
+
*/
|
|
3224
|
+
OapiSmartdeviceDeviceQuery(params: OapiSmartdeviceDeviceQueryParams): Promise<OapiSmartdeviceDeviceQueryResponse>;
|
|
3225
|
+
/**
|
|
3226
|
+
* 解除企业下的智能硬件设备绑定
|
|
3227
|
+
* @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-device-nickname-modification
|
|
3228
|
+
*/
|
|
3229
|
+
OapiSmartdeviceDeviceUpdatenick(params: OapiSmartdeviceDeviceUpdatenickParams): Promise<OapiSmartdeviceDeviceUpdatenickResponse>;
|
|
3230
|
+
/**
|
|
3231
|
+
* 解除企业下的智能硬件设备绑定
|
|
3232
|
+
* @see https://developers.dingtalk.com/document/isvapp/unbind-a-smart-hardware-device
|
|
3233
|
+
*/
|
|
3234
|
+
OapiSmartdeviceDeviceUnbind(params: OapiSmartdeviceDeviceUnbindParams): Promise<OapiSmartdeviceDeviceUnbindResponse>;
|
|
3235
|
+
/**
|
|
3236
|
+
* 智能设备接入钉钉时,需要和组织建立绑定关系,此接口用于创建绑定关系。
|
|
3237
|
+
* @see https://developers.dingtalk.com/document/isvapp/establishing-a-binding-relationship-between-intelligent-hardware-and-cloud
|
|
3238
|
+
*/
|
|
3239
|
+
OapiSmartdeviceExternalBind(params: OapiSmartdeviceExternalBindParams): Promise<OapiSmartdeviceExternalBindResponse>;
|
|
3240
|
+
/**
|
|
3241
|
+
* 删除当前组织CRM指定联系人的接口
|
|
3242
|
+
* @see https://developers.dingtalk.com/document/orgapp/delete-crm-contact
|
|
3243
|
+
*/
|
|
3244
|
+
OapiCrmObjectdataContactDelete(params: OapiCrmObjectdataContactDeleteParams): Promise<OapiCrmObjectdataContactDeleteResponse>;
|
|
3245
|
+
/**
|
|
3246
|
+
* 创建CRM自定义对象数据
|
|
3247
|
+
* @see https://developers.dingtalk.com/document/orgapp/dingtalk-paas-master-create-custom-crm-object-data
|
|
3248
|
+
*/
|
|
3249
|
+
OapiCrmObjectdataCustomobjectCreate(params: OapiCrmObjectdataCustomobjectCreateParams): Promise<OapiCrmObjectdataCustomobjectCreateResponse>;
|
|
3250
|
+
/**
|
|
3251
|
+
* 钉钉PaaS主数据-更新CRM自定义对象数据
|
|
3252
|
+
* @see https://developers.dingtalk.com/document/orgapp/crm-master-data-opens-interface-for-updating-custom-object-data
|
|
3253
|
+
*/
|
|
3254
|
+
OapiCrmObjectdataCustomobjectUpdate(params: OapiCrmObjectdataCustomobjectUpdateParams): Promise<OapiCrmObjectdataCustomobjectUpdateResponse>;
|
|
3255
|
+
/**
|
|
3256
|
+
* 根据实例ID列表批量获取CRM自定义表单数据,最多可一次获取200条数据
|
|
3257
|
+
* @see https://developers.dingtalk.com/document/orgapp/retrieves-custom-crm-forms-from-the-id-list
|
|
3258
|
+
*/
|
|
3259
|
+
OapiCrmObjectdataList(params: OapiCrmObjectdataListParams): Promise<OapiCrmObjectdataListResponse>;
|
|
3260
|
+
/**
|
|
3261
|
+
* 获取CRM自定义对象数据,最多可一次获取200条数据
|
|
3262
|
+
* @see https://developers.dingtalk.com/document/orgapp/retrieve-custom-crm-object-data
|
|
3263
|
+
*/
|
|
3264
|
+
OapiCrmObjectdataQuery(params: OapiCrmObjectdataQueryParams): Promise<OapiCrmObjectdataQueryResponse>;
|
|
3265
|
+
/**
|
|
3266
|
+
* 获取自定义对象的元数据
|
|
3267
|
+
* @see https://developers.dingtalk.com/document/orgapp/get-metadata-description-of-crm-custom-object
|
|
3268
|
+
*/
|
|
3269
|
+
OapiCrmObjectmetaDescribe(params: OapiCrmObjectmetaDescribeParams): Promise<OapiCrmObjectmetaDescribeResponse>;
|
|
3270
|
+
/**
|
|
3271
|
+
* 根据指定查询条件批量获取联系人数据,最多可一次获取200条数据
|
|
3272
|
+
* @see https://developers.dingtalk.com/document/isvapp/query-contact-data
|
|
3273
|
+
*/
|
|
3274
|
+
OapiCrmObjectdataContactQuery(params: OapiCrmObjectdataContactQueryParams): Promise<OapiCrmObjectdataContactQueryResponse>;
|
|
3275
|
+
/**
|
|
3276
|
+
* 根据实例ID列表批量获取跟进记录数据,最多可一次获取200条数据
|
|
3277
|
+
* @see https://developers.dingtalk.com/document/orgapp/dingtalk-the-primary-data-of-apsara-stack-agility-paas-allows-you
|
|
3278
|
+
*/
|
|
3279
|
+
OapiCrmObjectdataFollowrecordList(params: OapiCrmObjectdataFollowrecordListParams): Promise<OapiCrmObjectdataFollowrecordListResponse>;
|
|
3280
|
+
/**
|
|
3281
|
+
* 根据指定查询条件批量获取跟进记录数据,最多可一次获取200条数据
|
|
3282
|
+
* @see https://developers.dingtalk.com/document/orgapp/query-and-dingtalk-data-of-track-records-in-apsara-stack
|
|
3283
|
+
*/
|
|
3284
|
+
OapiCrmObjectdataFollowrecordQuery(params: OapiCrmObjectdataFollowrecordQueryParams): Promise<OapiCrmObjectdataFollowrecordQueryResponse>;
|
|
3285
|
+
/**
|
|
3286
|
+
* 按照ID列表批量获取联系人数据
|
|
3287
|
+
* @see https://developers.dingtalk.com/document/orgapp/retrieves-contact-data-in-batches-based-on-the-id-list
|
|
3288
|
+
*/
|
|
3289
|
+
OapiCrmObjectdataContactList(params: OapiCrmObjectdataContactListParams): Promise<OapiCrmObjectdataContactListResponse>;
|
|
3290
|
+
/**
|
|
3291
|
+
* 获取联系人对象的元数据
|
|
3292
|
+
* @see https://developers.dingtalk.com/document/isvapp/get-metadata-for-a-contact
|
|
3293
|
+
*/
|
|
3294
|
+
OapiCrmObjectmetaContactDescribe(): Promise<OapiCrmObjectmetaContactDescribeResponse>;
|
|
3295
|
+
/**
|
|
3296
|
+
* 获取跟进记录对象的元数据
|
|
3297
|
+
* @see https://developers.dingtalk.com/document/isvapp/get-the-metadata-of-the-follow-up-record-object
|
|
3298
|
+
*/
|
|
3299
|
+
OapiCrmObjectmetaFollowrecordDescribe(): Promise<OapiCrmObjectmetaFollowrecordDescribeResponse>;
|
|
3300
|
+
/**
|
|
3301
|
+
* 发送文件给指定用户
|
|
3302
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/sends-a-file-to-a-specified-user
|
|
3303
|
+
*/
|
|
3304
|
+
OapiCspaceAddToSingleChat(params: OapiCspaceAddToSingleChatParams): Promise<OapiCspaceAddToSingleChatResponse>;
|
|
3305
|
+
/**
|
|
3306
|
+
* 授权用户访问企业下的自定义空间
|
|
3307
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/authorize-a-user-to-access-a-custom-workspace-of-an
|
|
3308
|
+
*/
|
|
3309
|
+
OapiCspaceGrantCustomSpace(query: OapiCspaceGrantCustomSpaceQuery): Promise<OapiCspaceGrantCustomSpaceResponse>;
|
|
3310
|
+
/**
|
|
3311
|
+
* 获取企业下的自定义空间
|
|
3312
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/obtain-user-space-under-the-enterprise
|
|
3313
|
+
*/
|
|
3314
|
+
OapiCspaceGetCustomSpace(query: OapiCspaceGetCustomSpaceQuery): Promise<OapiCspaceGetCustomSpaceResponse>;
|
|
3315
|
+
/**
|
|
3316
|
+
* 新增文件到用户钉盘
|
|
3317
|
+
* @see https://developers.dingtalk.com/document/isvapp-server/add-file-to-user-s-dingtalk-disk
|
|
3318
|
+
*/
|
|
3319
|
+
OapiCspaceAdd(query: OapiCspaceAddQuery): Promise<OapiCspaceAddResponse>;
|
|
3320
|
+
/**
|
|
3321
|
+
* 增加和删除群管理员接口
|
|
3322
|
+
* @see https://developers.dingtalk.com/document/orgapp/set-chat-admin
|
|
3323
|
+
*/
|
|
3324
|
+
OapiChatSubadminUpdate(params: OapiChatSubadminUpdateParams): Promise<OapiChatSubadminUpdateResponse>;
|
|
3325
|
+
/**
|
|
3326
|
+
* 获取群入群二维码邀请链接
|
|
3327
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtain-a-qr-code-link
|
|
3328
|
+
*/
|
|
3329
|
+
OapiChatQrcodeGet(params: OapiChatQrcodeGetParams): Promise<OapiChatQrcodeGetResponse>;
|
|
3330
|
+
/**
|
|
3331
|
+
* 设置群成员之间是否可以添加好友和私聊的开关
|
|
3332
|
+
* @see https://developers.dingtalk.com/document/orgapp/set-private-chat
|
|
3333
|
+
*/
|
|
3334
|
+
OapiChatMemberFriendswitchUpdate(params: OapiChatMemberFriendswitchUpdateParams): Promise<OapiChatMemberFriendswitchUpdateResponse>;
|
|
3335
|
+
/**
|
|
3336
|
+
* 设置群成员的群昵称
|
|
3337
|
+
* @see https://developers.dingtalk.com/document/orgapp/set-a-group-nickname
|
|
3338
|
+
*/
|
|
3339
|
+
OapiChatUpdategroupnick(params: OapiChatUpdategroupnickParams): Promise<OapiChatUpdategroupnickResponse>;
|
|
3340
|
+
/**
|
|
3341
|
+
* 修改群会话
|
|
3342
|
+
* @see https://developers.dingtalk.com/document/orgapp/modify-a-group-session
|
|
3343
|
+
*/
|
|
3344
|
+
OapiChatUpdate(params: OapiChatUpdateParams): Promise<OapiChatUpdateResponse>;
|
|
3345
|
+
/**
|
|
3346
|
+
* 该接口用于创建会话
|
|
3347
|
+
* @see https://developers.dingtalk.com/document/orgapp/create-group-session
|
|
3348
|
+
*/
|
|
3349
|
+
OapiChatCreate(params: OapiChatCreateParams): Promise<OapiChatCreateResponse>;
|
|
3350
|
+
/**
|
|
3351
|
+
* 获取群会话
|
|
3352
|
+
* @see https://developers.dingtalk.com/document/orgapp/obtain-a-group-session
|
|
3353
|
+
*/
|
|
3354
|
+
OapiChatGet(query: OapiChatGetQuery): Promise<OapiChatGetResponse>;
|
|
3355
|
+
/**
|
|
3356
|
+
* 通过工作助理机器人给企业员工发送消息
|
|
3357
|
+
* @see https://developers.dingtalk.com/document/orgapp/the-message-pushing-interface-of-the-assistant
|
|
3358
|
+
*/
|
|
3359
|
+
OapiSmartbotMsgPush(params: OapiSmartbotMsgPushParams): Promise<OapiSmartbotMsgPushResponse>;
|
|
3360
|
+
}
|
|
3361
|
+
}
|