@satorijs/adapter-dingtalk 2.0.0 → 2.0.2
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 +12 -12
- package/lib/api/attendance.d.ts +3 -3
- package/lib/api/badge.d.ts +8 -8
- package/lib/api/blackboard.d.ts +1 -1
- package/lib/api/calendar.d.ts +28 -28
- package/lib/api/card.d.ts +6 -6
- package/lib/api/conference.d.ts +23 -23
- package/lib/api/connector.d.ts +3 -3
- package/lib/api/contact.d.ts +2 -2
- package/lib/api/convFile.d.ts +4 -4
- package/lib/api/crm.d.ts +28 -28
- package/lib/api/customerService.d.ts +4 -4
- package/lib/api/datacenter.d.ts +26 -26
- package/lib/api/devicemng.d.ts +5 -5
- package/lib/api/diot.d.ts +1 -1
- package/lib/api/doc.d.ts +8 -8
- package/lib/api/drive.d.ts +4 -4
- package/lib/api/edu.d.ts +5 -5
- package/lib/api/esign.d.ts +2 -2
- package/lib/api/exclusive.d.ts +14 -14
- package/lib/api/h3yun.d.ts +20 -20
- package/lib/api/hrm.d.ts +9 -9
- package/lib/api/im.d.ts +37 -37
- package/lib/api/industry.d.ts +5 -5
- package/lib/api/jzcrm.d.ts +13 -13
- package/lib/api/link.d.ts +4 -4
- package/lib/api/live.d.ts +6 -6
- package/lib/api/microApp.d.ts +12 -12
- package/lib/api/oapi.d.ts +257 -257
- package/lib/api/oauth2.d.ts +7 -7
- package/lib/api/pedia.d.ts +6 -6
- package/lib/api/project.d.ts +50 -50
- package/lib/api/resident.d.ts +6 -6
- package/lib/api/robot.d.ts +14 -14
- package/lib/api/rooms.d.ts +12 -12
- package/lib/api/serviceGroup.d.ts +8 -8
- package/lib/api/storage.d.ts +51 -51
- package/lib/api/swform.d.ts +3 -3
- package/lib/api/todo.d.ts +5 -5
- package/lib/api/wiki.d.ts +6 -6
- package/lib/api/workbench.d.ts +3 -3
- package/lib/api/yida.d.ts +60 -60
- package/lib/bot.d.ts +5 -6
- package/lib/http.d.ts +2 -3
- package/lib/index.js +164 -165
- package/lib/index.js.map +2 -2
- package/lib/message.d.ts +2 -2
- package/lib/utils.d.ts +2 -2
- package/lib/ws.d.ts +3 -3
- package/package.json +7 -4
package/lib/api/crm.d.ts
CHANGED
|
@@ -519,142 +519,142 @@ declare module '../internal' {
|
|
|
519
519
|
interface Internal {
|
|
520
520
|
/**
|
|
521
521
|
* 营销服融合三方全局信息
|
|
522
|
-
* @see https://
|
|
522
|
+
* @see https://open.dingtalk.com/document/isvapp/get-customer-management-global-information
|
|
523
523
|
*/
|
|
524
524
|
queryGlobalInfo(query: QueryGlobalInfoQuery): Promise<QueryGlobalInfoResponse>;
|
|
525
525
|
/**
|
|
526
526
|
* 批量修改跟进记录
|
|
527
|
-
* @see https://
|
|
527
|
+
* @see https://open.dingtalk.com/document/orgapp/batch-update-follow-up-record-data
|
|
528
528
|
*/
|
|
529
529
|
batchUpdateFollowRecords(params: BatchUpdateFollowRecordsParams): Promise<BatchUpdateFollowRecordsResponse>;
|
|
530
530
|
/**
|
|
531
531
|
* 批量新增跟进记录
|
|
532
|
-
* @see https://
|
|
532
|
+
* @see https://open.dingtalk.com/document/orgapp/batch-add-follow-up-record-data
|
|
533
533
|
*/
|
|
534
534
|
batchAddFollowRecords(params: BatchAddFollowRecordsParams): Promise<BatchAddFollowRecordsResponse>;
|
|
535
535
|
/**
|
|
536
536
|
* 批量删除跟进记录
|
|
537
|
-
* @see https://
|
|
537
|
+
* @see https://open.dingtalk.com/document/orgapp/batch-delete-follow-up-record-data
|
|
538
538
|
*/
|
|
539
539
|
batchRemoveFollowRecords(params: BatchRemoveFollowRecordsParams): Promise<BatchRemoveFollowRecordsResponse>;
|
|
540
540
|
/**
|
|
541
541
|
* 删除CRM自定义对象数据
|
|
542
|
-
* @see https://
|
|
542
|
+
* @see https://open.dingtalk.com/document/orgapp/delete-crm-custom-object-data
|
|
543
543
|
*/
|
|
544
544
|
deleteCrmCustomObjectData(instanceId: string, query: DeleteCrmCustomObjectDataQuery): Promise<DeleteCrmCustomObjectDataResponse>;
|
|
545
545
|
/**
|
|
546
546
|
* 批量修改联系人
|
|
547
|
-
* @see https://
|
|
547
|
+
* @see https://open.dingtalk.com/document/orgapp/modify-contact-data-in-batches
|
|
548
548
|
*/
|
|
549
549
|
batchUpdateContacts(params: BatchUpdateContactsParams): Promise<BatchUpdateContactsResponse>;
|
|
550
550
|
/**
|
|
551
551
|
* 批量新增联系人
|
|
552
|
-
* @see https://
|
|
552
|
+
* @see https://open.dingtalk.com/document/orgapp/add-contact-data-in-batches
|
|
553
553
|
*/
|
|
554
554
|
batchAddContacts(params: BatchAddContactsParams): Promise<BatchAddContactsResponse>;
|
|
555
555
|
/**
|
|
556
556
|
* 批量新增关系数据
|
|
557
|
-
* @see https://
|
|
557
|
+
* @see https://open.dingtalk.com/document/orgapp/add-multiple-relationship-data-in-batches
|
|
558
558
|
*/
|
|
559
559
|
batchAddRelationDatas(params: BatchAddRelationDatasParams): Promise<BatchAddRelationDatasResponse>;
|
|
560
560
|
/**
|
|
561
561
|
* 批量修改关系数据
|
|
562
|
-
* @see https://
|
|
562
|
+
* @see https://open.dingtalk.com/document/orgapp/update-multiple-relational-data-tables-at-a-time
|
|
563
563
|
*/
|
|
564
564
|
batchUpdateRelationDatas(params: BatchUpdateRelationDatasParams): Promise<BatchUpdateRelationDatasResponse>;
|
|
565
565
|
/**
|
|
566
566
|
* 获取个人客户或企业客户查重字段
|
|
567
|
-
* @see https://
|
|
567
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-duplicate-check-fields
|
|
568
568
|
*/
|
|
569
569
|
getRelationUkSetting(query: GetRelationUkSettingQuery): Promise<GetRelationUkSettingResponse>;
|
|
570
570
|
/**
|
|
571
571
|
* 创建客户群
|
|
572
|
-
* @see https://
|
|
572
|
+
* @see https://open.dingtalk.com/document/isvapp/create-a-customer-group
|
|
573
573
|
*/
|
|
574
574
|
crmCreateGroup(params: CrmCreateGroupParams): Promise<CrmCreateGroupResponse>;
|
|
575
575
|
/**
|
|
576
576
|
* 批量查询客户群
|
|
577
|
-
* @see https://
|
|
577
|
+
* @see https://open.dingtalk.com/document/isvapp/query-customer-groups-in-batches
|
|
578
578
|
*/
|
|
579
579
|
getCrmGroupChatMulti(params: GetCrmGroupChatMultiParams): Promise<GetCrmGroupChatMultiResponse>;
|
|
580
580
|
/**
|
|
581
581
|
* 获取单个客户群详情
|
|
582
|
-
* @see https://
|
|
582
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-a-single-customer-group
|
|
583
583
|
*/
|
|
584
584
|
getCrmGroupChatSingle(query: GetCrmGroupChatSingleQuery): Promise<GetCrmGroupChatSingleResponse>;
|
|
585
585
|
/**
|
|
586
586
|
* 查询客户数据
|
|
587
|
-
* @see https://
|
|
587
|
+
* @see https://open.dingtalk.com/document/isvapp/querying-customer-data
|
|
588
588
|
*/
|
|
589
589
|
queryRelationDatasByTargetId(targetId: string, query: QueryRelationDatasByTargetIdQuery): Promise<QueryRelationDatasByTargetIdResponse>;
|
|
590
590
|
/**
|
|
591
591
|
* 查询客户群列表
|
|
592
|
-
* @see https://
|
|
592
|
+
* @see https://open.dingtalk.com/document/isvapp/query-a-list-of-customer-groups
|
|
593
593
|
*/
|
|
594
594
|
queryCrmGroupChats(query: QueryCrmGroupChatsQuery): Promise<QueryCrmGroupChatsResponse>;
|
|
595
595
|
/**
|
|
596
596
|
* 更新客户群组
|
|
597
|
-
* @see https://
|
|
597
|
+
* @see https://open.dingtalk.com/document/orgapp/crm-update-group
|
|
598
598
|
*/
|
|
599
599
|
crmUpdateGroupSet(params: CrmUpdateGroupSetParams): Promise<void>;
|
|
600
600
|
/**
|
|
601
601
|
* 查询客户群组列表
|
|
602
|
-
* @see https://
|
|
602
|
+
* @see https://open.dingtalk.com/document/isvapp/query-the-list-of-customer-groups-set
|
|
603
603
|
*/
|
|
604
604
|
listGroupSet(query: ListGroupSetQuery): Promise<ListGroupSetResponse>;
|
|
605
605
|
/**
|
|
606
606
|
* 创建群组
|
|
607
|
-
* @see https://
|
|
607
|
+
* @see https://open.dingtalk.com/document/isvapp/create-a-customer-group-set
|
|
608
608
|
*/
|
|
609
609
|
createGroupSet(params: CreateGroupSetParams): Promise<CreateGroupSetResponse>;
|
|
610
610
|
/**
|
|
611
611
|
* 获取单个客户群组详情
|
|
612
|
-
* @see https://
|
|
612
|
+
* @see https://open.dingtalk.com/document/isvapp/queries-the-details-of-a-single-customer-group
|
|
613
613
|
*/
|
|
614
614
|
getGroupSet(query: GetGroupSetQuery): Promise<GetGroupSetResponse>;
|
|
615
615
|
/**
|
|
616
616
|
* 更新crm个人客户(或企业客户)
|
|
617
|
-
* @see https://
|
|
617
|
+
* @see https://open.dingtalk.com/document/isvapp/update-crm-personal-customers
|
|
618
618
|
*/
|
|
619
619
|
updateCrmPersonalCustomer(params: UpdateCrmPersonalCustomerParams): Promise<UpdateCrmPersonalCustomerResponse>;
|
|
620
620
|
/**
|
|
621
621
|
* 添加crm个人客户(或企业客户)
|
|
622
|
-
* @see https://
|
|
622
|
+
* @see https://open.dingtalk.com/document/orgapp/add-crm-personal-customers
|
|
623
623
|
*/
|
|
624
624
|
addCrmPersonalCustomer(params: AddCrmPersonalCustomerParams): Promise<AddCrmPersonalCustomerResponse>;
|
|
625
625
|
/**
|
|
626
626
|
* 删除crm个人客户(或企业客户)
|
|
627
|
-
* @see https://
|
|
627
|
+
* @see https://open.dingtalk.com/document/orgapp/delete-crm-personal-customer
|
|
628
628
|
*/
|
|
629
629
|
deleteCrmPersonalCustomer(dataId: string, query: DeleteCrmPersonalCustomerQuery): Promise<DeleteCrmPersonalCustomerResponse>;
|
|
630
630
|
/**
|
|
631
631
|
* 获取CRM客户对象的元数据描述
|
|
632
|
-
* @see https://
|
|
632
|
+
* @see https://open.dingtalk.com/document/isvapp/get-metadata-description-of-crm-customer-object-1
|
|
633
633
|
*/
|
|
634
634
|
describeCrmPersonalCustomerObjectMeta(query: DescribeCrmPersonalCustomerObjectMetaQuery): Promise<DescribeCrmPersonalCustomerObjectMetaResponse>;
|
|
635
635
|
/**
|
|
636
636
|
* 批量获取crm个人客户
|
|
637
|
-
* @see https://
|
|
637
|
+
* @see https://open.dingtalk.com/document/isvapp/acquire-crm-individual-customers-in-batches
|
|
638
638
|
*/
|
|
639
639
|
listCrmPersonalCustomers(query: ListCrmPersonalCustomersQuery): Promise<ListCrmPersonalCustomersResponse>;
|
|
640
640
|
/**
|
|
641
641
|
* 根据指定查询条件批量获取客户数据
|
|
642
|
-
* @see https://
|
|
642
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-crm-individual-customers-in-batches-based-on-specified-query
|
|
643
643
|
*/
|
|
644
644
|
queryCrmPersonalCustomer(query: QueryCrmPersonalCustomerQuery): Promise<QueryCrmPersonalCustomerResponse>;
|
|
645
645
|
/**
|
|
646
646
|
* 获取全量个人或企业客户数据
|
|
647
|
-
* @see https://
|
|
647
|
+
* @see https://open.dingtalk.com/document/orgapp/crm-obtains-all-private-sea-customer-data
|
|
648
648
|
*/
|
|
649
649
|
queryAllCustomer(params: QueryAllCustomerParams): Promise<QueryAllCustomerResponse>;
|
|
650
650
|
/**
|
|
651
651
|
* 服务窗单发接口,指定消息接收人发送
|
|
652
|
-
* @see https://
|
|
652
|
+
* @see https://open.dingtalk.com/document/isvapp/sends-a-single-message-from-the-service-window
|
|
653
653
|
*/
|
|
654
654
|
sendOfficialAccountOTOMessage(params: SendOfficialAccountOTOMessageParams): Promise<SendOfficialAccountOTOMessageResponse>;
|
|
655
655
|
/**
|
|
656
656
|
* 服务窗消息群发
|
|
657
|
-
* @see https://
|
|
657
|
+
* @see https://open.dingtalk.com/document/isvapp/batch-sending-of-service-window-messages
|
|
658
658
|
*/
|
|
659
659
|
batchSendOfficialAccountOTOMessage(params: BatchSendOfficialAccountOTOMessageParams): Promise<BatchSendOfficialAccountOTOMessageResponse>;
|
|
660
660
|
}
|
|
@@ -105,22 +105,22 @@ declare module '../internal' {
|
|
|
105
105
|
interface Internal {
|
|
106
106
|
/**
|
|
107
107
|
* 执行工单活动
|
|
108
|
-
* @see https://
|
|
108
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-execute-work-order-activities
|
|
109
109
|
*/
|
|
110
110
|
executeActivity(ticketId: string, params: ExecuteActivityParams): Promise<ExecuteActivityResponse>;
|
|
111
111
|
/**
|
|
112
112
|
* 查询动作记录
|
|
113
|
-
* @see https://
|
|
113
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-query-action-records
|
|
114
114
|
*/
|
|
115
115
|
pageListAction(ticketId: string, query: PageListActionQuery): Promise<PageListActionResponse>;
|
|
116
116
|
/**
|
|
117
117
|
* 分页查询工单
|
|
118
|
-
* @see https://
|
|
118
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-paging-query-work-order
|
|
119
119
|
*/
|
|
120
120
|
pageListTicket(query: PageListTicketQuery): Promise<PageListTicketResponse>;
|
|
121
121
|
/**
|
|
122
122
|
* 创建自助单
|
|
123
|
-
* @see https://
|
|
123
|
+
* @see https://open.dingtalk.com/document/isvapp/smart-customer-service-create-a-self-service-order
|
|
124
124
|
*/
|
|
125
125
|
createTicket(params: CreateTicketParams): Promise<CreateTicketResponse>;
|
|
126
126
|
}
|
package/lib/api/datacenter.d.ts
CHANGED
|
@@ -373,132 +373,132 @@ declare module '../internal' {
|
|
|
373
373
|
interface Internal {
|
|
374
374
|
/**
|
|
375
375
|
* 数据资产平台数据服务接口
|
|
376
|
-
* @see https://
|
|
376
|
+
* @see https://open.dingtalk.com/document/orgapp-server/data-assets-platform-data-services-apis
|
|
377
377
|
*/
|
|
378
378
|
queryGeneralDataService(query: QueryGeneralDataServiceQuery): Promise<QueryGeneralDataServiceResponse>;
|
|
379
379
|
/**
|
|
380
380
|
* 获取企业用户在线统计数据
|
|
381
|
-
* @see https://
|
|
381
|
+
* @see https://open.dingtalk.com/document/orgapp/retrieve-online-statistics-of-enterprise-users
|
|
382
382
|
*/
|
|
383
383
|
queryOnlineUserStatisticalData(query: QueryOnlineUserStatisticalDataQuery): Promise<QueryOnlineUserStatisticalDataResponse>;
|
|
384
384
|
/**
|
|
385
385
|
* 获取企业用户激活状态统计数据
|
|
386
|
-
* @see https://
|
|
386
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-user-activation-status
|
|
387
387
|
*/
|
|
388
388
|
queryActiveUserStatisticalData(query: QueryActiveUserStatisticalDataQuery): Promise<QueryActiveUserStatisticalDataResponse>;
|
|
389
389
|
/**
|
|
390
390
|
* 获取企业员工类型统计数据
|
|
391
|
-
* @see https://
|
|
391
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-employee-types
|
|
392
392
|
*/
|
|
393
393
|
queryEmployeeTypeStatisticalData(query: QueryEmployeeTypeStatisticalDataQuery): Promise<QueryEmployeeTypeStatisticalDataResponse>;
|
|
394
394
|
/**
|
|
395
395
|
* 获取企业全员圈统计数据
|
|
396
|
-
* @see https://
|
|
396
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-statistical-data-of-all-employees-of-an-enterprise
|
|
397
397
|
*/
|
|
398
398
|
queryCircleStatisticalData(query: QueryCircleStatisticalDataQuery): Promise<QueryCircleStatisticalDataResponse>;
|
|
399
399
|
/**
|
|
400
400
|
* 获取企业单聊统计数据
|
|
401
|
-
* @see https://
|
|
401
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-the-statistics-on-one-time-enterprise-chats
|
|
402
402
|
*/
|
|
403
403
|
querySingleMessageStatisticalData(query: QuerySingleMessageStatisticalDataQuery): Promise<QuerySingleMessageStatisticalDataResponse>;
|
|
404
404
|
/**
|
|
405
405
|
* 获取企业群聊统计数据
|
|
406
|
-
* @see https://
|
|
406
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-group-chat-statistics
|
|
407
407
|
*/
|
|
408
408
|
queryGroupMessageStatisticalData(query: QueryGroupMessageStatisticalDataQuery): Promise<QueryGroupMessageStatisticalDataResponse>;
|
|
409
409
|
/**
|
|
410
410
|
* 获取企业DING发送统计数据
|
|
411
|
-
* @see https://
|
|
411
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-sending-statistics-of-an-enterprise-ding
|
|
412
412
|
*/
|
|
413
413
|
queryDingSendStatisticalData(query: QueryDingSendStatisticalDataQuery): Promise<QueryDingSendStatisticalDataResponse>;
|
|
414
414
|
/**
|
|
415
415
|
* 获取企业DING接收及评论统计数据
|
|
416
|
-
* @see https://
|
|
416
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-statistics-on-receiving-and-comments-of-enterprise-ding
|
|
417
417
|
*/
|
|
418
418
|
queryDingReciveStatisticalData(query: QueryDingReciveStatisticalDataQuery): Promise<QueryDingReciveStatisticalDataResponse>;
|
|
419
419
|
/**
|
|
420
420
|
* 获取企业视频会议统计数据
|
|
421
|
-
* @see https://
|
|
421
|
+
* @see https://open.dingtalk.com/document/orgapp/get-enterprise-video-conference-statistics
|
|
422
422
|
*/
|
|
423
423
|
queryVedioMeetingStatisticalData(query: QueryVedioMeetingStatisticalDataQuery): Promise<QueryVedioMeetingStatisticalDataResponse>;
|
|
424
424
|
/**
|
|
425
425
|
* 获取企业电话会议统计数据
|
|
426
|
-
* @see https://
|
|
426
|
+
* @see https://open.dingtalk.com/document/orgapp/get-enterprise-teleconference-statistics
|
|
427
427
|
*/
|
|
428
428
|
queryTelMeetingStatisticalData(query: QueryTelMeetingStatisticalDataQuery): Promise<QueryTelMeetingStatisticalDataResponse>;
|
|
429
429
|
/**
|
|
430
430
|
* 获取企业群直播统计数据
|
|
431
|
-
* @see https://
|
|
431
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-live-stream-statistics-for-an-enterprise-group
|
|
432
432
|
*/
|
|
433
433
|
queryGroupLiveStatisticalData(query: QueryGroupLiveStatisticalDataQuery): Promise<QueryGroupLiveStatisticalDataResponse>;
|
|
434
434
|
/**
|
|
435
435
|
* 获取企业发送红包统计数据
|
|
436
|
-
* @see https://
|
|
436
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-red-packets-issued-by-enterprises
|
|
437
437
|
*/
|
|
438
438
|
queryRedEnvelopeSendStatisticalData(query: QueryRedEnvelopeSendStatisticalDataQuery): Promise<QueryRedEnvelopeSendStatisticalDataResponse>;
|
|
439
439
|
/**
|
|
440
440
|
* 获取企业接收红包统计数据
|
|
441
|
-
* @see https://
|
|
441
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-the-red-envelope-receiving-statistics-of-an-enterprise
|
|
442
442
|
*/
|
|
443
443
|
queryRedEnvelopeReciveStatisticalData(query: QueryRedEnvelopeReciveStatisticalDataQuery): Promise<QueryRedEnvelopeReciveStatisticalDataResponse>;
|
|
444
444
|
/**
|
|
445
445
|
* 获取企业公告统计数据
|
|
446
|
-
* @see https://
|
|
446
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-corporate-announcement-statistics
|
|
447
447
|
*/
|
|
448
448
|
queryBlackboardStatisticalData(query: QueryBlackboardStatisticalDataQuery): Promise<QueryBlackboardStatisticalDataResponse>;
|
|
449
449
|
/**
|
|
450
450
|
* 获取企业待办统计数据
|
|
451
|
-
* @see https://
|
|
451
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-to-do-statistics-of-an-enterprise
|
|
452
452
|
*/
|
|
453
453
|
queryTodoStatisticalData(query: QueryTodoStatisticalDataQuery): Promise<QueryTodoStatisticalDataResponse>;
|
|
454
454
|
/**
|
|
455
455
|
* 获取企业钉钉运动统计数据
|
|
456
|
-
* @see https://
|
|
456
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-dingtalk-movement-statistics
|
|
457
457
|
*/
|
|
458
458
|
queryHealthStatisticalData(query: QueryHealthStatisticalDataQuery): Promise<QueryHealthStatisticalDataResponse>;
|
|
459
459
|
/**
|
|
460
460
|
* 获取企业文档统计数据
|
|
461
|
-
* @see https://
|
|
461
|
+
* @see https://open.dingtalk.com/document/orgapp/get-enterprise-document-statistics
|
|
462
462
|
*/
|
|
463
463
|
queryDocumentStatisticalData(query: QueryDocumentStatisticalDataQuery): Promise<QueryDocumentStatisticalDataResponse>;
|
|
464
464
|
/**
|
|
465
465
|
* 获取企业签到统计数据
|
|
466
|
-
* @see https://
|
|
466
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-enterprise-check-in-statistics
|
|
467
467
|
*/
|
|
468
468
|
queryCheckinStatisticalData(query: QueryCheckinStatisticalDataQuery): Promise<QueryCheckinStatisticalDataResponse>;
|
|
469
469
|
/**
|
|
470
470
|
* 获取企业审批统计数据
|
|
471
|
-
* @see https://
|
|
471
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-enterprise-approval-statistics
|
|
472
472
|
*/
|
|
473
473
|
queryApprovalStatisticalData(query: QueryApprovalStatisticalDataQuery): Promise<QueryApprovalStatisticalDataResponse>;
|
|
474
474
|
/**
|
|
475
475
|
* 获取企业日志统计数据
|
|
476
|
-
* @see https://
|
|
476
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-log-statistics
|
|
477
477
|
*/
|
|
478
478
|
queryReportStatisticalData(query: QueryReportStatisticalDataQuery): Promise<QueryReportStatisticalDataResponse>;
|
|
479
479
|
/**
|
|
480
480
|
* 获取企业考勤统计数据
|
|
481
|
-
* @see https://
|
|
481
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-enterprise-attendance-statistics
|
|
482
482
|
*/
|
|
483
483
|
queryAttendanceStatisticalData(query: QueryAttendanceStatisticalDataQuery): Promise<QueryAttendanceStatisticalDataResponse>;
|
|
484
484
|
/**
|
|
485
485
|
* 获取企业钉盘统计数据
|
|
486
|
-
* @see https://
|
|
486
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-enterprise-dingtalk-trays
|
|
487
487
|
*/
|
|
488
488
|
queryDriveStatisticalData(query: QueryDriveStatisticalDataQuery): Promise<QueryDriveStatisticalDataResponse>;
|
|
489
489
|
/**
|
|
490
490
|
* 获取企业邮箱统计数据
|
|
491
|
-
* @see https://
|
|
491
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-enterprise-email-statistics
|
|
492
492
|
*/
|
|
493
493
|
queryMailStatisticalData(query: QueryMailStatisticalDataQuery): Promise<QueryMailStatisticalDataResponse>;
|
|
494
494
|
/**
|
|
495
495
|
* 获取企业日程统计数据
|
|
496
|
-
* @see https://
|
|
496
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-enterprise-schedule-statistics
|
|
497
497
|
*/
|
|
498
498
|
queryCalendarStatisticalData(query: QueryCalendarStatisticalDataQuery): Promise<QueryCalendarStatisticalDataResponse>;
|
|
499
499
|
/**
|
|
500
500
|
* 获取数字区县组织信息
|
|
501
|
-
* @see https://
|
|
501
|
+
* @see https://open.dingtalk.com/document/orgapp/querydigitaldistrictorginfo-api-reference
|
|
502
502
|
*/
|
|
503
503
|
queryDigitalDistrictOrgInfo(params: QueryDigitalDistrictOrgInfoParams): Promise<QueryDigitalDistrictOrgInfoResponse>;
|
|
504
504
|
}
|
package/lib/api/devicemng.d.ts
CHANGED
|
@@ -133,27 +133,27 @@ declare module '../internal' {
|
|
|
133
133
|
interface Internal {
|
|
134
134
|
/**
|
|
135
135
|
* 获取报修信息
|
|
136
|
-
* @see https://
|
|
136
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-the-repair-report-record
|
|
137
137
|
*/
|
|
138
138
|
listMaintainInfo(params: ListMaintainInfoParams): Promise<ListMaintainInfoResponse>;
|
|
139
139
|
/**
|
|
140
140
|
* 获取巡检、保养记录
|
|
141
|
-
* @see https://
|
|
141
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-inspection-and-maintenance-records
|
|
142
142
|
*/
|
|
143
143
|
listInspectInfo(params: ListInspectInfoParams): Promise<ListInspectInfoResponse>;
|
|
144
144
|
/**
|
|
145
145
|
* 查询激活的设备信息
|
|
146
|
-
* @see https://
|
|
146
|
+
* @see https://open.dingtalk.com/document/isvapp/query-information-about-a-registered-device
|
|
147
147
|
*/
|
|
148
148
|
listActivateDevices(query: ListActivateDevicesQuery): Promise<ListActivateDevicesResponse>;
|
|
149
149
|
/**
|
|
150
150
|
* 批量注册与激活设备
|
|
151
|
-
* @see https://
|
|
151
|
+
* @see https://open.dingtalk.com/document/isvapp/register-and-activate-devices-in-batches
|
|
152
152
|
*/
|
|
153
153
|
registerAndActivateDeviceBatch(params: RegisterAndActivateDeviceBatchParams): Promise<RegisterAndActivateDeviceBatchResponse>;
|
|
154
154
|
/**
|
|
155
155
|
* 注册与激活设备
|
|
156
|
-
* @see https://
|
|
156
|
+
* @see https://open.dingtalk.com/document/isvapp/register-the-device-to-the-dingtalk
|
|
157
157
|
*/
|
|
158
158
|
registerAndActivateDevice(params: RegisterAndActivateDeviceParams): Promise<RegisterAndActivateDeviceResponse>;
|
|
159
159
|
}
|
package/lib/api/diot.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare module '../internal' {
|
|
|
5
5
|
interface Internal {
|
|
6
6
|
/**
|
|
7
7
|
* 升级设备
|
|
8
|
-
* @see https://
|
|
8
|
+
* @see https://open.dingtalk.com/document/app/upgrade-equipment
|
|
9
9
|
*/
|
|
10
10
|
upgradeDevice(): Promise<UpgradeDeviceResponse>;
|
|
11
11
|
}
|
package/lib/api/doc.d.ts
CHANGED
|
@@ -98,42 +98,42 @@ declare module '../internal' {
|
|
|
98
98
|
interface Internal {
|
|
99
99
|
/**
|
|
100
100
|
* 设置行隐藏或显示
|
|
101
|
-
* @see https://
|
|
101
|
+
* @see https://open.dingtalk.com/document/app/set-row-visibility
|
|
102
102
|
*/
|
|
103
103
|
setRowsVisibility(workbookId: string, sheetId: string, query: SetRowsVisibilityQuery, params: SetRowsVisibilityParams): Promise<SetRowsVisibilityResponse>;
|
|
104
104
|
/**
|
|
105
105
|
* 设置列隐藏或显示
|
|
106
|
-
* @see https://
|
|
106
|
+
* @see https://open.dingtalk.com/document/app/set-column-visibility
|
|
107
107
|
*/
|
|
108
108
|
setColumnsVisibility(workbookId: string, sheetId: string, query: SetColumnsVisibilityQuery, params: SetColumnsVisibilityParams): Promise<SetColumnsVisibilityResponse>;
|
|
109
109
|
/**
|
|
110
110
|
* 删除行
|
|
111
|
-
* @see https://
|
|
111
|
+
* @see https://open.dingtalk.com/document/app/delete-row
|
|
112
112
|
*/
|
|
113
113
|
deleteRows(workbookId: string, sheetId: string, query: DeleteRowsQuery, params: DeleteRowsParams): Promise<DeleteRowsResponse>;
|
|
114
114
|
/**
|
|
115
115
|
* 删除列
|
|
116
|
-
* @see https://
|
|
116
|
+
* @see https://open.dingtalk.com/document/app/delete-column
|
|
117
117
|
*/
|
|
118
118
|
deleteColumns(workbookId: string, sheetId: string, query: DeleteColumnsQuery, params: DeleteColumnsParams): Promise<DeleteColumnsResponse>;
|
|
119
119
|
/**
|
|
120
120
|
* 指定行上方插入若干行
|
|
121
|
-
* @see https://
|
|
121
|
+
* @see https://open.dingtalk.com/document/app/insert-rows-before-rows
|
|
122
122
|
*/
|
|
123
123
|
insertRowsBefore(workbookId: string, sheetId: string, query: InsertRowsBeforeQuery, params: InsertRowsBeforeParams): Promise<InsertRowsBeforeResponse>;
|
|
124
124
|
/**
|
|
125
125
|
* 指定列左侧插入若干列
|
|
126
|
-
* @see https://
|
|
126
|
+
* @see https://open.dingtalk.com/document/app/insert-column-before-column
|
|
127
127
|
*/
|
|
128
128
|
insertColumnsBefore(workbookId: string, sheetId: string, query: InsertColumnsBeforeQuery, params: InsertColumnsBeforeParams): Promise<InsertColumnsBeforeResponse>;
|
|
129
129
|
/**
|
|
130
130
|
* 清除单元格区域内所有内容
|
|
131
|
-
* @see https://
|
|
131
|
+
* @see https://open.dingtalk.com/document/app/clear-all
|
|
132
132
|
*/
|
|
133
133
|
clear(workbookId: string, sheetId: string, rangeAddress: string, query: ClearQuery): Promise<ClearResponse>;
|
|
134
134
|
/**
|
|
135
135
|
* 清除单元格区域内数据
|
|
136
|
-
* @see https://
|
|
136
|
+
* @see https://open.dingtalk.com/document/app/clear-cell-data
|
|
137
137
|
*/
|
|
138
138
|
clearData(workbookId: string, sheetId: string, rangeAddress: string, query: ClearDataQuery): Promise<ClearDataResponse>;
|
|
139
139
|
}
|
package/lib/api/drive.d.ts
CHANGED
|
@@ -65,22 +65,22 @@ declare module '../internal' {
|
|
|
65
65
|
interface Internal {
|
|
66
66
|
/**
|
|
67
67
|
* 新建自定义空间
|
|
68
|
-
* @see https://
|
|
68
|
+
* @see https://open.dingtalk.com/document/isvapp/new-custom-space
|
|
69
69
|
*/
|
|
70
70
|
addCustomSpace(params: AddCustomSpaceParams): Promise<AddCustomSpaceResponse>;
|
|
71
71
|
/**
|
|
72
72
|
* 删除空间
|
|
73
|
-
* @see https://
|
|
73
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-a-space
|
|
74
74
|
*/
|
|
75
75
|
deleteSpace(spaceId: string, query: DeleteSpaceQuery): Promise<void>;
|
|
76
76
|
/**
|
|
77
77
|
* 新建空间
|
|
78
|
-
* @see https://
|
|
78
|
+
* @see https://open.dingtalk.com/document/isvapp/new-space
|
|
79
79
|
*/
|
|
80
80
|
driveAddSpace(params: DriveAddSpaceParams): Promise<DriveAddSpaceResponse>;
|
|
81
81
|
/**
|
|
82
82
|
* 获取空间列表
|
|
83
|
-
* @see https://
|
|
83
|
+
* @see https://open.dingtalk.com/document/isvapp/queries-a-space-list
|
|
84
84
|
*/
|
|
85
85
|
listSpaces(query: ListSpacesQuery): Promise<ListSpacesResponse>;
|
|
86
86
|
}
|
package/lib/api/edu.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export interface MoveStudentParams {
|
|
2
|
-
/** 操作者的userid,可调用[通过免登码获取用户信息](https://
|
|
2
|
+
/** 操作者的userid,可调用[通过免登码获取用户信息](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */
|
|
3
3
|
operator: string;
|
|
4
|
-
/** 学生的userid,可调用[获取人员列表](https://
|
|
4
|
+
/** 学生的userid,可调用[获取人员列表](https://open.dingtalk.com/document/app/obtains-a-list-of-home-school-user-identities)接口获取。 */
|
|
5
5
|
userId: string;
|
|
6
|
-
/** 原班级ID,可调用[获取部门列表](https://
|
|
6
|
+
/** 原班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */
|
|
7
7
|
originClassId: number;
|
|
8
|
-
/** 目标班级ID,可调用[获取部门列表](https://
|
|
8
|
+
/** 目标班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */
|
|
9
9
|
targetClassId: number;
|
|
10
10
|
}
|
|
11
11
|
export interface MoveStudentResponse {
|
|
@@ -15,7 +15,7 @@ declare module '../internal' {
|
|
|
15
15
|
interface Internal {
|
|
16
16
|
/**
|
|
17
17
|
* 学生调班
|
|
18
|
-
* @see https://
|
|
18
|
+
* @see https://open.dingtalk.com/document/isvapp/shift-students
|
|
19
19
|
*/
|
|
20
20
|
moveStudent(params: MoveStudentParams): Promise<MoveStudentResponse>;
|
|
21
21
|
}
|
package/lib/api/esign.d.ts
CHANGED
|
@@ -21,12 +21,12 @@ declare module '../internal' {
|
|
|
21
21
|
interface Internal {
|
|
22
22
|
/**
|
|
23
23
|
* 获取流程任务的所有合同列表
|
|
24
|
-
* @see https://
|
|
24
|
+
* @see https://open.dingtalk.com/document/isvapp/get-a-list-of-all-contracts-for-the-process-task
|
|
25
25
|
*/
|
|
26
26
|
getFlowDocs(taskId: string): Promise<GetFlowDocsResponse>;
|
|
27
27
|
/**
|
|
28
28
|
* 获取流程任务用印审批列表
|
|
29
|
-
* @see https://
|
|
29
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-print-approval-list-for-process-tasks
|
|
30
30
|
*/
|
|
31
31
|
approvalList(taskId: string): Promise<ApprovalListResponse>;
|
|
32
32
|
}
|
package/lib/api/exclusive.d.ts
CHANGED
|
@@ -231,72 +231,72 @@ declare module '../internal' {
|
|
|
231
231
|
interface Internal {
|
|
232
232
|
/**
|
|
233
233
|
* 获取用户截屏操作记录
|
|
234
|
-
* @see https://
|
|
234
|
+
* @see https://open.dingtalk.com/document/app/obtain-anti-screen-capture-operation-records
|
|
235
235
|
*/
|
|
236
236
|
queryUserBehavior(params: QueryUserBehaviorParams): Promise<QueryUserBehaviorResponse>;
|
|
237
237
|
/**
|
|
238
238
|
* 获取公共设备列表。
|
|
239
|
-
* @see https://
|
|
239
|
+
* @see https://open.dingtalk.com/document/orgapp/query-public-equipment
|
|
240
240
|
*/
|
|
241
241
|
getPublicDevices(query: GetPublicDevicesQuery): Promise<GetPublicDevicesResponse>;
|
|
242
242
|
/**
|
|
243
243
|
* 通过接口发送电话DING
|
|
244
|
-
* @see https://
|
|
244
|
+
* @see https://open.dingtalk.com/document/orgapp/outgoing-phone-ding
|
|
245
245
|
*/
|
|
246
246
|
sendPhoneDing(params: SendPhoneDingParams): Promise<SendPhoneDingResponse>;
|
|
247
247
|
/**
|
|
248
248
|
* 根据userId查询人员的标签信息
|
|
249
|
-
* @see https://
|
|
249
|
+
* @see https://open.dingtalk.com/document/isvapp/you-can-call-this-operation-to-retrieve-the-user-tag
|
|
250
250
|
*/
|
|
251
251
|
queryPartnerInfo(userId: string): Promise<QueryPartnerInfoResponse>;
|
|
252
252
|
/**
|
|
253
253
|
* 根据会议逻辑ID查询会议基本信息
|
|
254
|
-
* @see https://
|
|
254
|
+
* @see https://open.dingtalk.com/document/isvapp/you-can-call-this-operation-to-query-the-basic-information
|
|
255
255
|
*/
|
|
256
256
|
getConfBaseInfoByLogicalId(query: GetConfBaseInfoByLogicalIdQuery): Promise<GetConfBaseInfoByLogicalIdResponse>;
|
|
257
257
|
/**
|
|
258
258
|
* 批量新增可信设备
|
|
259
|
-
* @see https://
|
|
259
|
+
* @see https://open.dingtalk.com/document/isvapp/add-trusted-devices-in-batches
|
|
260
260
|
*/
|
|
261
261
|
createTrustedDeviceBatch(params: CreateTrustedDeviceBatchParams): Promise<CreateTrustedDeviceBatchResponse>;
|
|
262
262
|
/**
|
|
263
263
|
* 获取企业文件审计日志
|
|
264
|
-
* @see https://
|
|
264
|
+
* @see https://open.dingtalk.com/document/app/queries-file-audit-logs
|
|
265
265
|
*/
|
|
266
266
|
listAuditLog(query: ListAuditLogQuery): Promise<ListAuditLogResponse>;
|
|
267
267
|
/**
|
|
268
268
|
* 群禁言或解禁
|
|
269
|
-
* @see https://
|
|
269
|
+
* @see https://open.dingtalk.com/document/isvapp/exclusive-dingtalk-group-ban
|
|
270
270
|
*/
|
|
271
271
|
banOrOpenGroupWords(params: BanOrOpenGroupWordsParams): Promise<BanOrOpenGroupWordsResponse>;
|
|
272
272
|
/**
|
|
273
273
|
* 获取审计协议签署人员信息
|
|
274
|
-
* @see https://
|
|
274
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-information-about-the-persons-who-sign-the-audit
|
|
275
275
|
*/
|
|
276
276
|
getSignedDetailByPage(query: GetSignedDetailByPageQuery): Promise<GetSignedDetailByPageResponse>;
|
|
277
277
|
/**
|
|
278
278
|
* 发送文件更改的评论
|
|
279
|
-
* @see https://
|
|
279
|
+
* @see https://open.dingtalk.com/document/isvapp/send-comments-on-file-changes
|
|
280
280
|
*/
|
|
281
281
|
publishFileChangeNotice(params: PublishFileChangeNoticeParams): Promise<void>;
|
|
282
282
|
/**
|
|
283
283
|
* 通过接口发送应用内DING
|
|
284
|
-
* @see https://
|
|
284
|
+
* @see https://open.dingtalk.com/document/orgapp/send-in-application-ding
|
|
285
285
|
*/
|
|
286
286
|
sendAppDing(params: SendAppDingParams): Promise<void>;
|
|
287
287
|
/**
|
|
288
288
|
* 伙伴钉根据父标签查询子标签
|
|
289
|
-
* @see https://
|
|
289
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-child-tags-from-a-parent-tag
|
|
290
290
|
*/
|
|
291
291
|
getPartnerTypeByParentId(parentId: string): Promise<GetPartnerTypeByParentIdResponse>;
|
|
292
292
|
/**
|
|
293
293
|
* 设置部门伙伴类型和伙伴编码
|
|
294
|
-
* @see https://
|
|
294
|
+
* @see https://open.dingtalk.com/document/isvapp/set-department-partner-type-and-partner-code
|
|
295
295
|
*/
|
|
296
296
|
setDeptPartnerTypeAndNum(params: SetDeptPartnerTypeAndNumParams): Promise<void>;
|
|
297
297
|
/**
|
|
298
298
|
* 获取可打标部门列表
|
|
299
|
-
* @see https://
|
|
299
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-departments-that-can-be-marked
|
|
300
300
|
*/
|
|
301
301
|
getAllLabelableDepts(): Promise<GetAllLabelableDeptsResponse>;
|
|
302
302
|
}
|