@satorijs/adapter-dingtalk 2.0.3 → 2.0.5

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.
Files changed (56) hide show
  1. package/lib/bot.d.ts +1 -1
  2. package/lib/http.d.ts +3 -2
  3. package/lib/index.js +35 -14
  4. package/lib/index.js.map +2 -3
  5. package/package.json +8 -4
  6. package/src/api/.eslintrc.yml +2 -0
  7. package/src/api/alitrip.ts +467 -0
  8. package/src/api/attendance.ts +81 -0
  9. package/src/api/badge.ts +285 -0
  10. package/src/api/blackboard.ts +28 -0
  11. package/src/api/calendar.ts +817 -0
  12. package/src/api/card.ts +215 -0
  13. package/src/api/conference.ts +561 -0
  14. package/src/api/connector.ts +97 -0
  15. package/src/api/contact.ts +56 -0
  16. package/src/api/convFile.ts +166 -0
  17. package/src/api/crm.ts +830 -0
  18. package/src/api/customerService.ts +156 -0
  19. package/src/api/datacenter.ts +672 -0
  20. package/src/api/devicemng.ts +202 -0
  21. package/src/api/diot.ts +19 -0
  22. package/src/api/doc.ts +232 -0
  23. package/src/api/drive.ts +109 -0
  24. package/src/api/edu.ts +30 -0
  25. package/src/api/esign.ts +44 -0
  26. package/src/api/exclusive.ts +372 -0
  27. package/src/api/h3yun.ts +537 -0
  28. package/src/api/hrm.ts +272 -0
  29. package/src/api/im.ts +978 -0
  30. package/src/api/industry.ts +153 -0
  31. package/src/api/jzcrm.ts +304 -0
  32. package/src/api/link.ts +94 -0
  33. package/src/api/live.ts +162 -0
  34. package/src/api/microApp.ts +309 -0
  35. package/src/api/oapi.ts +4083 -0
  36. package/src/api/oauth2.ts +146 -0
  37. package/src/api/pedia.ts +222 -0
  38. package/src/api/project.ts +1519 -0
  39. package/src/api/resident.ts +133 -0
  40. package/src/api/robot.ts +326 -0
  41. package/src/api/rooms.ts +334 -0
  42. package/src/api/serviceGroup.ts +216 -0
  43. package/src/api/storage.ts +1701 -0
  44. package/src/api/swform.ts +94 -0
  45. package/src/api/todo.ts +220 -0
  46. package/src/api/wiki.ts +231 -0
  47. package/src/api/workbench.ts +73 -0
  48. package/src/api/yida.ts +2165 -0
  49. package/src/bot.ts +129 -0
  50. package/src/http.ts +44 -0
  51. package/src/index.ts +9 -0
  52. package/src/internal.ts +47 -0
  53. package/src/message.ts +141 -0
  54. package/src/types/index.ts +140 -0
  55. package/src/utils.ts +53 -0
  56. package/src/ws.ts +55 -0
@@ -0,0 +1,672 @@
1
+ import { Internal } from '../internal'
2
+ // GENERATED CONTENT
3
+
4
+ export interface QueryGeneralDataServiceQuery {
5
+ /** 开始日期,例如:20220901。 */
6
+ startDate: string
7
+ /** 服务编码,在创建数据服务后获取。 */
8
+ serviceId: string
9
+ /** 结束日期,例如:20220901。 */
10
+ endDate: string
11
+ /** 部门ID,非部门维度接口不需要传。 */
12
+ deptId?: string
13
+ /** 员工userId。 */
14
+ userId: string
15
+ /** 每页大小,不填默认为10,最大为50。 */
16
+ pageSize?: number
17
+ /** 分页页码,从1开始,不填默认为1。 */
18
+ pageNumber?: number
19
+ }
20
+
21
+ export interface QueryGeneralDataServiceResponse {
22
+ dataList?: object[]
23
+ metaList?: {
24
+ fieldName: string
25
+ fieldDesc: string
26
+ fieldType: string
27
+ fieldId: string
28
+ }[]
29
+ }
30
+
31
+ export interface QueryOnlineUserStatisticalDataQuery {
32
+ /** 查询时间,日期格式为yyyyMMdd。 */
33
+ statDate: string
34
+ }
35
+
36
+ export interface QueryOnlineUserStatisticalDataResponse {
37
+ dataList?: object[]
38
+ metaList?: {
39
+ kpiId: string
40
+ kpiName: string
41
+ unit: string
42
+ kpiCaliber: string
43
+ period: string
44
+ }[]
45
+ }
46
+
47
+ export interface QueryActiveUserStatisticalDataQuery {
48
+ /** 查询时间,日期格式为yyyyMMdd。 */
49
+ statDate: string
50
+ }
51
+
52
+ export interface QueryActiveUserStatisticalDataResponse {
53
+ dataList?: object[]
54
+ metaList?: {
55
+ kpiId: string
56
+ kpiName: string
57
+ unit: string
58
+ kpiCaliber: string
59
+ period: string
60
+ }[]
61
+ }
62
+
63
+ export interface QueryEmployeeTypeStatisticalDataQuery {
64
+ /** 查询时间,日期格式为yyyyMMdd。 */
65
+ statDate: string
66
+ }
67
+
68
+ export interface QueryEmployeeTypeStatisticalDataResponse {
69
+ dataList?: object[]
70
+ metaList?: {
71
+ kpiId: string
72
+ kpiName: string
73
+ unit: string
74
+ kpiCaliber: string
75
+ period: string
76
+ }[]
77
+ }
78
+
79
+ export interface QueryCircleStatisticalDataQuery {
80
+ /** 查询时间,日期格式为yyyyMMdd。 */
81
+ statDate: string
82
+ }
83
+
84
+ export interface QueryCircleStatisticalDataResponse {
85
+ dataList?: object[]
86
+ metaList?: {
87
+ kpiId: string
88
+ kpiName: string
89
+ unit: string
90
+ kpiCaliber: string
91
+ period: string
92
+ }[]
93
+ }
94
+
95
+ export interface QuerySingleMessageStatisticalDataQuery {
96
+ /** 查询时间,日期格式为yyyyMMdd。 */
97
+ statDate: string
98
+ }
99
+
100
+ export interface QuerySingleMessageStatisticalDataResponse {
101
+ dataList?: object[]
102
+ metaList?: {
103
+ kpiId: string
104
+ kpiName: string
105
+ unit: string
106
+ kpiCaliber: string
107
+ period: string
108
+ }[]
109
+ }
110
+
111
+ export interface QueryGroupMessageStatisticalDataQuery {
112
+ /** 查询时间,日期格式为yyyyMMdd。 */
113
+ statDate: string
114
+ }
115
+
116
+ export interface QueryGroupMessageStatisticalDataResponse {
117
+ dataList?: object[]
118
+ metaList?: {
119
+ kpiId: string
120
+ kpiName: string
121
+ unit: string
122
+ kpiCaliber: string
123
+ period: string
124
+ }[]
125
+ }
126
+
127
+ export interface QueryDingSendStatisticalDataQuery {
128
+ /** 查询时间,日期格式为yyyyMMdd。 */
129
+ statDate: string
130
+ }
131
+
132
+ export interface QueryDingSendStatisticalDataResponse {
133
+ dataList?: object[]
134
+ metaList?: {
135
+ kpiId: string
136
+ kpiName: string
137
+ unit: string
138
+ kpiCaliber: string
139
+ period: string
140
+ }[]
141
+ }
142
+
143
+ export interface QueryDingReciveStatisticalDataQuery {
144
+ /** 查询时间,日期格式为yyyyMMdd。 */
145
+ statDate: string
146
+ }
147
+
148
+ export interface QueryDingReciveStatisticalDataResponse {
149
+ dataList?: object[]
150
+ metaList?: {
151
+ kpiId: string
152
+ kpiName: string
153
+ unit: string
154
+ kpiCaliber: string
155
+ period: string
156
+ }[]
157
+ }
158
+
159
+ export interface QueryVedioMeetingStatisticalDataQuery {
160
+ /** 查询时间,日期格式为yyyyMMdd。 */
161
+ statDate: string
162
+ }
163
+
164
+ export interface QueryVedioMeetingStatisticalDataResponse {
165
+ dataList?: object[]
166
+ metaList?: {
167
+ kpiId: string
168
+ kpiName: string
169
+ unit: string
170
+ kpiCaliber: string
171
+ period: string
172
+ }[]
173
+ }
174
+
175
+ export interface QueryTelMeetingStatisticalDataQuery {
176
+ /** 查询时间,日期格式为yyyyMMdd。 */
177
+ statDate: string
178
+ }
179
+
180
+ export interface QueryTelMeetingStatisticalDataResponse {
181
+ dataList?: object[]
182
+ metaList?: {
183
+ kpiId: string
184
+ kpiName: string
185
+ unit: string
186
+ kpiCaliber: string
187
+ period: string
188
+ }[]
189
+ }
190
+
191
+ export interface QueryGroupLiveStatisticalDataQuery {
192
+ /** 查询时间,日期格式为yyyyMMdd。 */
193
+ statDate: string
194
+ }
195
+
196
+ export interface QueryGroupLiveStatisticalDataResponse {
197
+ dataList?: object[]
198
+ metaList?: {
199
+ kpiId: string
200
+ kpiName: string
201
+ unit: string
202
+ kpiCaliber: string
203
+ period: string
204
+ }[]
205
+ }
206
+
207
+ export interface QueryRedEnvelopeSendStatisticalDataQuery {
208
+ /** 查询时间,日期格式为yyyyMMdd。 */
209
+ statDate: string
210
+ }
211
+
212
+ export interface QueryRedEnvelopeSendStatisticalDataResponse {
213
+ dataList?: object[]
214
+ metaList?: {
215
+ kpiId: string
216
+ kpiName: string
217
+ unit: string
218
+ kpiCaliber: string
219
+ period: string
220
+ }[]
221
+ }
222
+
223
+ export interface QueryRedEnvelopeReciveStatisticalDataQuery {
224
+ /** 查询时间,日期格式为yyyyMMdd。 */
225
+ statDate: string
226
+ }
227
+
228
+ export interface QueryRedEnvelopeReciveStatisticalDataResponse {
229
+ dataList?: object[]
230
+ metaList?: {
231
+ kpiId: string
232
+ kpiName: string
233
+ unit: string
234
+ kpiCaliber: string
235
+ period: string
236
+ }[]
237
+ }
238
+
239
+ export interface QueryBlackboardStatisticalDataQuery {
240
+ /** 查询时间,日期格式为yyyyMMdd。 */
241
+ statDate: string
242
+ }
243
+
244
+ export interface QueryBlackboardStatisticalDataResponse {
245
+ dataList?: object[]
246
+ metaList?: {
247
+ kpiId: string
248
+ kpiName: string
249
+ unit: string
250
+ kpiCaliber: string
251
+ period: string
252
+ }[]
253
+ }
254
+
255
+ export interface QueryTodoStatisticalDataQuery {
256
+ /** 查询时间,日期格式为yyyyMMdd。 */
257
+ statDate: string
258
+ }
259
+
260
+ export interface QueryTodoStatisticalDataResponse {
261
+ dataList?: object[]
262
+ metaList?: {
263
+ kpiId: string
264
+ kpiName: string
265
+ unit: string
266
+ kpiCaliber: string
267
+ period: string
268
+ }[]
269
+ }
270
+
271
+ export interface QueryHealthStatisticalDataQuery {
272
+ /** 查询时间,日期格式为yyyyMMdd。 */
273
+ statDate: string
274
+ }
275
+
276
+ export interface QueryHealthStatisticalDataResponse {
277
+ dataList?: object[]
278
+ metaList?: {
279
+ kpiId: string
280
+ kpiName: string
281
+ unit: string
282
+ kpiCaliber: string
283
+ period: string
284
+ }[]
285
+ }
286
+
287
+ export interface QueryDocumentStatisticalDataQuery {
288
+ /** 查询时间,日期格式为yyyyMMdd。 */
289
+ statDate: string
290
+ }
291
+
292
+ export interface QueryDocumentStatisticalDataResponse {
293
+ dataList?: object[]
294
+ metaList?: {
295
+ kpiId: string
296
+ kpiName: string
297
+ unit: string
298
+ kpiCaliber: string
299
+ period: string
300
+ }[]
301
+ }
302
+
303
+ export interface QueryCheckinStatisticalDataQuery {
304
+ /** 查询时间,日期格式为yyyyMMdd。 */
305
+ statDate: string
306
+ }
307
+
308
+ export interface QueryCheckinStatisticalDataResponse {
309
+ dataList?: object[]
310
+ metaList?: {
311
+ kpiId: string
312
+ kpiName: string
313
+ unit: string
314
+ kpiCaliber: string
315
+ period: string
316
+ }[]
317
+ }
318
+
319
+ export interface QueryApprovalStatisticalDataQuery {
320
+ /** 查询时间,日期格式为yyyyMMdd。 */
321
+ statDate: string
322
+ }
323
+
324
+ export interface QueryApprovalStatisticalDataResponse {
325
+ dataList?: object[]
326
+ metaList?: {
327
+ kpiId: string
328
+ kpiName: string
329
+ unit: string
330
+ kpiCaliber: string
331
+ period: string
332
+ }[]
333
+ }
334
+
335
+ export interface QueryReportStatisticalDataQuery {
336
+ /** 查询时间,日期格式为yyyyMMdd。 */
337
+ statDate: string
338
+ }
339
+
340
+ export interface QueryReportStatisticalDataResponse {
341
+ dataList?: object[]
342
+ metaList?: {
343
+ kpiId: string
344
+ kpiName: string
345
+ unit: string
346
+ kpiCaliber: string
347
+ period: string
348
+ }[]
349
+ }
350
+
351
+ export interface QueryAttendanceStatisticalDataQuery {
352
+ /** 查询时间,日期格式为yyyyMMdd。 */
353
+ statDate: string
354
+ }
355
+
356
+ export interface QueryAttendanceStatisticalDataResponse {
357
+ dataList?: object[]
358
+ metaList?: {
359
+ kpiId: string
360
+ kpiName: string
361
+ unit: string
362
+ kpiCaliber: string
363
+ period: string
364
+ }[]
365
+ }
366
+
367
+ export interface QueryDriveStatisticalDataQuery {
368
+ /** 查询时间,日期格式为yyyyMMdd。 */
369
+ statDate: string
370
+ }
371
+
372
+ export interface QueryDriveStatisticalDataResponse {
373
+ dataList?: object[]
374
+ metaList?: {
375
+ kpiId: string
376
+ kpiName: string
377
+ unit: string
378
+ kpiCaliber: string
379
+ period: string
380
+ }[]
381
+ }
382
+
383
+ export interface QueryMailStatisticalDataQuery {
384
+ /** 查询时间,日期格式为yyyyMMdd。 */
385
+ statDate: string
386
+ }
387
+
388
+ export interface QueryMailStatisticalDataResponse {
389
+ dataList?: object[]
390
+ metaList?: {
391
+ kpiId: string
392
+ kpiName: string
393
+ unit: string
394
+ kpiCaliber: string
395
+ period: string
396
+ }[]
397
+ }
398
+
399
+ export interface QueryCalendarStatisticalDataQuery {
400
+ /** 查询时间,日期格式为yyyyMMdd。 */
401
+ statDate: string
402
+ }
403
+
404
+ export interface QueryCalendarStatisticalDataResponse {
405
+ dataList?: object[]
406
+ metaList?: {
407
+ kpiId: string
408
+ kpiName: string
409
+ unit: string
410
+ kpiCaliber: string
411
+ period: string
412
+ }[]
413
+ }
414
+
415
+ export interface QueryDigitalDistrictOrgInfoParams {
416
+ /** 查询时间,日期格式为yyyyMMdd。 */
417
+ statDates: string[]
418
+ /** 数字区县组织corpId列表。 */
419
+ corpIds: string[]
420
+ }
421
+
422
+ export interface QueryDigitalDistrictOrgInfoResponse {
423
+ arguments?: string[]
424
+ result?: string
425
+ }
426
+
427
+ // funcName: isOldApi
428
+ Internal.define({
429
+ '/datacenter/generalDataServices': {
430
+ GET: { queryGeneralDataService: false },
431
+ },
432
+ '/datacenter/onlineUserData': {
433
+ GET: { queryOnlineUserStatisticalData: false },
434
+ },
435
+ '/datacenter/activeUserData': {
436
+ GET: { queryActiveUserStatisticalData: false },
437
+ },
438
+ '/datacenter/employeeTypeData': {
439
+ GET: { queryEmployeeTypeStatisticalData: false },
440
+ },
441
+ '/datacenter/circleData': { GET: { queryCircleStatisticalData: false } },
442
+ '/datacenter/singleMessagerData': {
443
+ GET: { querySingleMessageStatisticalData: false },
444
+ },
445
+ '/datacenter/groupMessageData': {
446
+ GET: { queryGroupMessageStatisticalData: false },
447
+ },
448
+ '/datacenter/dingSendData': { GET: { queryDingSendStatisticalData: false } },
449
+ '/datacenter/dingReciveData': {
450
+ GET: { queryDingReciveStatisticalData: false },
451
+ },
452
+ '/datacenter/vedioMeetingData': {
453
+ GET: { queryVedioMeetingStatisticalData: false },
454
+ },
455
+ '/datacenter/telMeetingData': {
456
+ GET: { queryTelMeetingStatisticalData: false },
457
+ },
458
+ '/datacenter/groupLiveData': {
459
+ GET: { queryGroupLiveStatisticalData: false },
460
+ },
461
+ '/datacenter/redEnvelopeSendData': {
462
+ GET: { queryRedEnvelopeSendStatisticalData: false },
463
+ },
464
+ '/datacenter/redEnvelopeReciveData': {
465
+ GET: { queryRedEnvelopeReciveStatisticalData: false },
466
+ },
467
+ '/datacenter/blackboardData': {
468
+ GET: { queryBlackboardStatisticalData: false },
469
+ },
470
+ '/datacenter/todoUserData': { GET: { queryTodoStatisticalData: false } },
471
+ '/datacenter/healtheUserData': { GET: { queryHealthStatisticalData: false } },
472
+ '/datacenter/documentData': { GET: { queryDocumentStatisticalData: false } },
473
+ '/datacenter/checkinData': { GET: { queryCheckinStatisticalData: false } },
474
+ '/datacenter/approvalData': { GET: { queryApprovalStatisticalData: false } },
475
+ '/datacenter/reportData': { GET: { queryReportStatisticalData: false } },
476
+ '/datacenter/attendanceData': {
477
+ GET: { queryAttendanceStatisticalData: false },
478
+ },
479
+ '/datacenter/driveData': { GET: { queryDriveStatisticalData: false } },
480
+ '/datacenter/mailData': { GET: { queryMailStatisticalData: false } },
481
+ '/datacenter/calendarData': { GET: { queryCalendarStatisticalData: false } },
482
+ '/datacenter/digitalCounty/orgInfos/query': {
483
+ POST: { queryDigitalDistrictOrgInfo: false },
484
+ },
485
+ })
486
+
487
+ declare module '../internal' {
488
+ interface Internal {
489
+ /**
490
+ * 数据资产平台数据服务接口
491
+ * @see https://open.dingtalk.com/document/orgapp-server/data-assets-platform-data-services-apis
492
+ */
493
+ queryGeneralDataService(
494
+ query: QueryGeneralDataServiceQuery,
495
+ ): Promise<QueryGeneralDataServiceResponse>
496
+ /**
497
+ * 获取企业用户在线统计数据
498
+ * @see https://open.dingtalk.com/document/orgapp/retrieve-online-statistics-of-enterprise-users
499
+ */
500
+ queryOnlineUserStatisticalData(
501
+ query: QueryOnlineUserStatisticalDataQuery,
502
+ ): Promise<QueryOnlineUserStatisticalDataResponse>
503
+ /**
504
+ * 获取企业用户激活状态统计数据
505
+ * @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-user-activation-status
506
+ */
507
+ queryActiveUserStatisticalData(
508
+ query: QueryActiveUserStatisticalDataQuery,
509
+ ): Promise<QueryActiveUserStatisticalDataResponse>
510
+ /**
511
+ * 获取企业员工类型统计数据
512
+ * @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-employee-types
513
+ */
514
+ queryEmployeeTypeStatisticalData(
515
+ query: QueryEmployeeTypeStatisticalDataQuery,
516
+ ): Promise<QueryEmployeeTypeStatisticalDataResponse>
517
+ /**
518
+ * 获取企业全员圈统计数据
519
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistical-data-of-all-employees-of-an-enterprise
520
+ */
521
+ queryCircleStatisticalData(
522
+ query: QueryCircleStatisticalDataQuery,
523
+ ): Promise<QueryCircleStatisticalDataResponse>
524
+ /**
525
+ * 获取企业单聊统计数据
526
+ * @see https://open.dingtalk.com/document/orgapp/queries-the-statistics-on-one-time-enterprise-chats
527
+ */
528
+ querySingleMessageStatisticalData(
529
+ query: QuerySingleMessageStatisticalDataQuery,
530
+ ): Promise<QuerySingleMessageStatisticalDataResponse>
531
+ /**
532
+ * 获取企业群聊统计数据
533
+ * @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-group-chat-statistics
534
+ */
535
+ queryGroupMessageStatisticalData(
536
+ query: QueryGroupMessageStatisticalDataQuery,
537
+ ): Promise<QueryGroupMessageStatisticalDataResponse>
538
+ /**
539
+ * 获取企业DING发送统计数据
540
+ * @see https://open.dingtalk.com/document/orgapp/obtain-sending-statistics-of-an-enterprise-ding
541
+ */
542
+ queryDingSendStatisticalData(
543
+ query: QueryDingSendStatisticalDataQuery,
544
+ ): Promise<QueryDingSendStatisticalDataResponse>
545
+ /**
546
+ * 获取企业DING接收及评论统计数据
547
+ * @see https://open.dingtalk.com/document/orgapp/obtain-statistics-on-receiving-and-comments-of-enterprise-ding
548
+ */
549
+ queryDingReciveStatisticalData(
550
+ query: QueryDingReciveStatisticalDataQuery,
551
+ ): Promise<QueryDingReciveStatisticalDataResponse>
552
+ /**
553
+ * 获取企业视频会议统计数据
554
+ * @see https://open.dingtalk.com/document/orgapp/get-enterprise-video-conference-statistics
555
+ */
556
+ queryVedioMeetingStatisticalData(
557
+ query: QueryVedioMeetingStatisticalDataQuery,
558
+ ): Promise<QueryVedioMeetingStatisticalDataResponse>
559
+ /**
560
+ * 获取企业电话会议统计数据
561
+ * @see https://open.dingtalk.com/document/orgapp/get-enterprise-teleconference-statistics
562
+ */
563
+ queryTelMeetingStatisticalData(
564
+ query: QueryTelMeetingStatisticalDataQuery,
565
+ ): Promise<QueryTelMeetingStatisticalDataResponse>
566
+ /**
567
+ * 获取企业群直播统计数据
568
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-live-stream-statistics-for-an-enterprise-group
569
+ */
570
+ queryGroupLiveStatisticalData(
571
+ query: QueryGroupLiveStatisticalDataQuery,
572
+ ): Promise<QueryGroupLiveStatisticalDataResponse>
573
+ /**
574
+ * 获取企业发送红包统计数据
575
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-red-packets-issued-by-enterprises
576
+ */
577
+ queryRedEnvelopeSendStatisticalData(
578
+ query: QueryRedEnvelopeSendStatisticalDataQuery,
579
+ ): Promise<QueryRedEnvelopeSendStatisticalDataResponse>
580
+ /**
581
+ * 获取企业接收红包统计数据
582
+ * @see https://open.dingtalk.com/document/orgapp/queries-the-red-envelope-receiving-statistics-of-an-enterprise
583
+ */
584
+ queryRedEnvelopeReciveStatisticalData(
585
+ query: QueryRedEnvelopeReciveStatisticalDataQuery,
586
+ ): Promise<QueryRedEnvelopeReciveStatisticalDataResponse>
587
+ /**
588
+ * 获取企业公告统计数据
589
+ * @see https://open.dingtalk.com/document/orgapp/queries-corporate-announcement-statistics
590
+ */
591
+ queryBlackboardStatisticalData(
592
+ query: QueryBlackboardStatisticalDataQuery,
593
+ ): Promise<QueryBlackboardStatisticalDataResponse>
594
+ /**
595
+ * 获取企业待办统计数据
596
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-to-do-statistics-of-an-enterprise
597
+ */
598
+ queryTodoStatisticalData(
599
+ query: QueryTodoStatisticalDataQuery,
600
+ ): Promise<QueryTodoStatisticalDataResponse>
601
+ /**
602
+ * 获取企业钉钉运动统计数据
603
+ * @see https://open.dingtalk.com/document/orgapp/queries-dingtalk-movement-statistics
604
+ */
605
+ queryHealthStatisticalData(
606
+ query: QueryHealthStatisticalDataQuery,
607
+ ): Promise<QueryHealthStatisticalDataResponse>
608
+ /**
609
+ * 获取企业文档统计数据
610
+ * @see https://open.dingtalk.com/document/orgapp/get-enterprise-document-statistics
611
+ */
612
+ queryDocumentStatisticalData(
613
+ query: QueryDocumentStatisticalDataQuery,
614
+ ): Promise<QueryDocumentStatisticalDataResponse>
615
+ /**
616
+ * 获取企业签到统计数据
617
+ * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-check-in-statistics
618
+ */
619
+ queryCheckinStatisticalData(
620
+ query: QueryCheckinStatisticalDataQuery,
621
+ ): Promise<QueryCheckinStatisticalDataResponse>
622
+ /**
623
+ * 获取企业审批统计数据
624
+ * @see https://open.dingtalk.com/document/orgapp/obtains-enterprise-approval-statistics
625
+ */
626
+ queryApprovalStatisticalData(
627
+ query: QueryApprovalStatisticalDataQuery,
628
+ ): Promise<QueryApprovalStatisticalDataResponse>
629
+ /**
630
+ * 获取企业日志统计数据
631
+ * @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-log-statistics
632
+ */
633
+ queryReportStatisticalData(
634
+ query: QueryReportStatisticalDataQuery,
635
+ ): Promise<QueryReportStatisticalDataResponse>
636
+ /**
637
+ * 获取企业考勤统计数据
638
+ * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-attendance-statistics
639
+ */
640
+ queryAttendanceStatisticalData(
641
+ query: QueryAttendanceStatisticalDataQuery,
642
+ ): Promise<QueryAttendanceStatisticalDataResponse>
643
+ /**
644
+ * 获取企业钉盘统计数据
645
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-enterprise-dingtalk-trays
646
+ */
647
+ queryDriveStatisticalData(
648
+ query: QueryDriveStatisticalDataQuery,
649
+ ): Promise<QueryDriveStatisticalDataResponse>
650
+ /**
651
+ * 获取企业邮箱统计数据
652
+ * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-email-statistics
653
+ */
654
+ queryMailStatisticalData(
655
+ query: QueryMailStatisticalDataQuery,
656
+ ): Promise<QueryMailStatisticalDataResponse>
657
+ /**
658
+ * 获取企业日程统计数据
659
+ * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-schedule-statistics
660
+ */
661
+ queryCalendarStatisticalData(
662
+ query: QueryCalendarStatisticalDataQuery,
663
+ ): Promise<QueryCalendarStatisticalDataResponse>
664
+ /**
665
+ * 获取数字区县组织信息
666
+ * @see https://open.dingtalk.com/document/orgapp/querydigitaldistrictorginfo-api-reference
667
+ */
668
+ queryDigitalDistrictOrgInfo(
669
+ params: QueryDigitalDistrictOrgInfoParams,
670
+ ): Promise<QueryDigitalDistrictOrgInfoResponse>
671
+ }
672
+ }