@satorijs/adapter-dingtalk 1.0.2 → 2.0.1
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 +3 -4
- package/lib/http.d.ts +2 -2
- package/lib/index.js +159 -157
- package/lib/index.js.map +2 -2
- package/lib/ws.d.ts +1 -1
- package/package.json +2 -2
package/lib/api/alitrip.d.ts
CHANGED
|
@@ -334,62 +334,62 @@ declare module '../internal' {
|
|
|
334
334
|
interface Internal {
|
|
335
335
|
/**
|
|
336
336
|
* 查询商旅火车票结算记账数据
|
|
337
|
-
* @see https://
|
|
337
|
+
* @see https://open.dingtalk.com/document/isvapp/business-travel-train-ticket-settlement-bookkeeping-query-interface
|
|
338
338
|
*/
|
|
339
339
|
billSettementBtripTrain(query: BillSettementBtripTrainQuery): Promise<BillSettementBtripTrainResponse>;
|
|
340
340
|
/**
|
|
341
341
|
* 查询酒店结算记账数据
|
|
342
|
-
* @see https://
|
|
342
|
+
* @see https://open.dingtalk.com/document/isvapp/hotel-settlement-bookkeeping-query-interface
|
|
343
343
|
*/
|
|
344
344
|
billSettementHotel(query: BillSettementHotelQuery): Promise<BillSettementHotelResponse>;
|
|
345
345
|
/**
|
|
346
346
|
* 查询用车结算记账记录
|
|
347
|
-
* @see https://
|
|
347
|
+
* @see https://open.dingtalk.com/document/isvapp/query-interface-for-vehicle-settlement-and-bookkeeping
|
|
348
348
|
*/
|
|
349
349
|
billSettementCar(query: BillSettementCarQuery): Promise<BillSettementCarResponse>;
|
|
350
350
|
/**
|
|
351
351
|
* 查询机票结算记账数据
|
|
352
|
-
* @see https://
|
|
352
|
+
* @see https://open.dingtalk.com/document/isvapp/ticket-settlement-bookkeeping-query-interface
|
|
353
353
|
*/
|
|
354
354
|
billSettementFlight(query: BillSettementFlightQuery): Promise<BillSettementFlightResponse>;
|
|
355
355
|
/**
|
|
356
356
|
* 搜索第三方机票超标审批单
|
|
357
|
-
* @see https://
|
|
357
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-flight-get
|
|
358
358
|
*/
|
|
359
359
|
getFlightExceedApply(query: GetFlightExceedApplyQuery): Promise<GetFlightExceedApplyResponse>;
|
|
360
360
|
/**
|
|
361
361
|
* 关联单号查询相关订单信息列表
|
|
362
|
-
* @see https://
|
|
362
|
+
* @see https://open.dingtalk.com/document/isvapp/link-no-to-query-the-list-of-related-order-information
|
|
363
363
|
*/
|
|
364
364
|
queryUnionOrder(query: QueryUnionOrderQuery): Promise<QueryUnionOrderResponse>;
|
|
365
365
|
/**
|
|
366
366
|
* 搜索第三方火车票超标审批单
|
|
367
|
-
* @see https://
|
|
367
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-train-get
|
|
368
368
|
*/
|
|
369
369
|
getTrainExceedApply(query: GetTrainExceedApplyQuery): Promise<GetTrainExceedApplyResponse>;
|
|
370
370
|
/**
|
|
371
371
|
* 搜索第三方酒店超标审批单
|
|
372
|
-
* @see https://
|
|
372
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-hotel-get
|
|
373
373
|
*/
|
|
374
374
|
getHotelExceedApply(query: GetHotelExceedApplyQuery): Promise<GetHotelExceedApplyResponse>;
|
|
375
375
|
/**
|
|
376
376
|
* 同步超标审批结果
|
|
377
|
-
* @see https://
|
|
377
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-sync
|
|
378
378
|
*/
|
|
379
379
|
syncExceedApply(query: SyncExceedApplyQuery): Promise<SyncExceedApplyResponse>;
|
|
380
380
|
/**
|
|
381
381
|
* 查询市内用车申请单
|
|
382
|
-
* @see https://
|
|
382
|
+
* @see https://open.dingtalk.com/document/isvapp/query-the-application-form-for-third-party-vehicles-in-the-city
|
|
383
383
|
*/
|
|
384
384
|
queryCityCarApply(query: QueryCityCarApplyQuery): Promise<QueryCityCarApplyResponse>;
|
|
385
385
|
/**
|
|
386
386
|
* 审批市内用车申请单
|
|
387
|
-
* @see https://
|
|
387
|
+
* @see https://open.dingtalk.com/document/isvapp/approval-of-third-party-city-car-application-form
|
|
388
388
|
*/
|
|
389
389
|
approveCityCarApply(params: ApproveCityCarApplyParams): Promise<ApproveCityCarApplyResponse>;
|
|
390
390
|
/**
|
|
391
391
|
* 同步市内用车申请单
|
|
392
|
-
* @see https://
|
|
392
|
+
* @see https://open.dingtalk.com/document/isvapp/synchronize-third-party-city-vehicle-approval-form
|
|
393
393
|
*/
|
|
394
394
|
addCityCarApply(params: AddCityCarApplyParams): Promise<AddCityCarApplyResponse>;
|
|
395
395
|
}
|
package/lib/api/attendance.d.ts
CHANGED
|
@@ -45,17 +45,17 @@ declare module '../internal' {
|
|
|
45
45
|
interface Internal {
|
|
46
46
|
/**
|
|
47
47
|
* 获取补卡规则列表
|
|
48
|
-
* @see https://
|
|
48
|
+
* @see https://open.dingtalk.com/document/isvapp/retrieve-a-list-of-replenishment-rules-by-page
|
|
49
49
|
*/
|
|
50
50
|
getAdjustments(query: GetAdjustmentsQuery): Promise<GetAdjustmentsResponse>;
|
|
51
51
|
/**
|
|
52
52
|
* 加班规则列表
|
|
53
|
-
* @see https://
|
|
53
|
+
* @see https://open.dingtalk.com/document/isvapp/retrieve-a-list-of-overtime-rules-by-page
|
|
54
54
|
*/
|
|
55
55
|
getSimpleOvertimeSetting(query: GetSimpleOvertimeSettingQuery): Promise<GetSimpleOvertimeSettingResponse>;
|
|
56
56
|
/**
|
|
57
57
|
* 批量获取加班规则设置
|
|
58
|
-
* @see https://
|
|
58
|
+
* @see https://open.dingtalk.com/document/isvapp/batch-retrieve-overtime-rules
|
|
59
59
|
*/
|
|
60
60
|
getOvertimeSetting(params: GetOvertimeSettingParams): Promise<GetOvertimeSettingResponse>;
|
|
61
61
|
}
|
package/lib/api/badge.d.ts
CHANGED
|
@@ -190,42 +190,42 @@ declare module '../internal' {
|
|
|
190
190
|
interface Internal {
|
|
191
191
|
/**
|
|
192
192
|
* 钉工牌通知消息
|
|
193
|
-
* @see https://
|
|
193
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-badge-notification-message
|
|
194
194
|
*/
|
|
195
195
|
createBadgeNotify(params: CreateBadgeNotifyParams): Promise<CreateBadgeNotifyResponse>;
|
|
196
196
|
/**
|
|
197
197
|
* 通知钉工牌码验证结果
|
|
198
|
-
* @see https://
|
|
198
|
+
* @see https://open.dingtalk.com/document/isvapp/notification-dingtalk-badge-verification-result
|
|
199
199
|
*/
|
|
200
200
|
notifyBadgeCodeVerifyResult(params: NotifyBadgeCodeVerifyResultParams): Promise<NotifyBadgeCodeVerifyResultResponse>;
|
|
201
201
|
/**
|
|
202
202
|
* 配置企业钉工牌
|
|
203
|
-
* @see https://
|
|
203
|
+
* @see https://open.dingtalk.com/document/isvapp/save-dingtalk-enterprise-instance
|
|
204
204
|
*/
|
|
205
205
|
saveBadgeCodeCorpInstance(params: SaveBadgeCodeCorpInstanceParams): Promise<SaveBadgeCodeCorpInstanceResponse>;
|
|
206
206
|
/**
|
|
207
207
|
* 通知支付结果
|
|
208
|
-
* @see https://
|
|
208
|
+
* @see https://open.dingtalk.com/document/isvapp/sync-dingtalk-badge-code-payment-result
|
|
209
209
|
*/
|
|
210
210
|
notifyBadgeCodePayResult(params: NotifyBadgeCodePayResultParams): Promise<NotifyBadgeCodePayResultResponse>;
|
|
211
211
|
/**
|
|
212
212
|
* 创建钉工牌电子码
|
|
213
|
-
* @see https://
|
|
213
|
+
* @see https://open.dingtalk.com/document/isvapp/create-a-badge-user-instance
|
|
214
214
|
*/
|
|
215
215
|
createBadgeCodeUserInstance(params: CreateBadgeCodeUserInstanceParams): Promise<CreateBadgeCodeUserInstanceResponse>;
|
|
216
216
|
/**
|
|
217
217
|
* 通知退款结果
|
|
218
|
-
* @see https://
|
|
218
|
+
* @see https://open.dingtalk.com/document/isvapp/notification-dingtalk-badge-code-refund-result
|
|
219
219
|
*/
|
|
220
220
|
notifyBadgeCodeRefundResult(params: NotifyBadgeCodeRefundResultParams): Promise<NotifyBadgeCodeRefundResultResponse>;
|
|
221
221
|
/**
|
|
222
222
|
* 更新钉工牌电子码
|
|
223
|
-
* @see https://
|
|
223
|
+
* @see https://open.dingtalk.com/document/isvapp/update-dingtalk-user-instance
|
|
224
224
|
*/
|
|
225
225
|
updateBadgeCodeUserInstance(params: UpdateBadgeCodeUserInstanceParams): Promise<UpdateBadgeCodeUserInstanceResponse>;
|
|
226
226
|
/**
|
|
227
227
|
* 解码钉工牌电子码
|
|
228
|
-
* @see https://
|
|
228
|
+
* @see https://open.dingtalk.com/document/isvapp/stack-dingtalk-badge
|
|
229
229
|
*/
|
|
230
230
|
decodeBadgeCode(params: DecodeBadgeCodeParams): Promise<DecodeBadgeCodeResponse>;
|
|
231
231
|
}
|
package/lib/api/blackboard.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ declare module '../internal' {
|
|
|
9
9
|
interface Internal {
|
|
10
10
|
/**
|
|
11
11
|
* 获取公告钉盘空间信息
|
|
12
|
-
* @see https://
|
|
12
|
+
* @see https://open.dingtalk.com/document/app/obtain-bulletin-nail-disk-space-information
|
|
13
13
|
*/
|
|
14
14
|
queryBlackboardSpace(query: QueryBlackboardSpaceQuery): Promise<QueryBlackboardSpaceResponse>;
|
|
15
15
|
}
|
package/lib/api/calendar.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export interface ListCalendarsResponse {
|
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
export interface GetScheduleParams {
|
|
144
|
-
/** 查询目标用户的unionId,可通过[根据userid获取用户详情](https://
|
|
144
|
+
/** 查询目标用户的unionId,可通过[根据userid获取用户详情](https://open.dingtalk.com/document/app/query-user-details)接口获取。 */
|
|
145
145
|
userIds: string[];
|
|
146
146
|
/** 查询的开始时间。 */
|
|
147
147
|
startTime: string;
|
|
@@ -483,137 +483,137 @@ declare module '../internal' {
|
|
|
483
483
|
interface Internal {
|
|
484
484
|
/**
|
|
485
485
|
* 查询会议室忙闲
|
|
486
|
-
* @see https://
|
|
486
|
+
* @see https://open.dingtalk.com/document/isvapp/queries-free-and-busy-meeting-room-information
|
|
487
487
|
*/
|
|
488
488
|
getMeetingRoomsSchedule(userId: string, params: GetMeetingRoomsScheduleParams): Promise<GetMeetingRoomsScheduleResponse>;
|
|
489
489
|
/**
|
|
490
490
|
* 添加会议室
|
|
491
|
-
* @see https://
|
|
491
|
+
* @see https://open.dingtalk.com/document/app/add-a-meeting-room
|
|
492
492
|
*/
|
|
493
493
|
addMeetingRooms(userId: string, calendarId: string, eventId: string, params: AddMeetingRoomsParams): Promise<AddMeetingRoomsResponse>;
|
|
494
494
|
/**
|
|
495
495
|
* 删除会议室
|
|
496
|
-
* @see https://
|
|
496
|
+
* @see https://open.dingtalk.com/document/isvapp/cancel-a-meeting-room-reservation
|
|
497
497
|
*/
|
|
498
498
|
removeMeetingRooms(userId: string, calendarId: string, eventId: string, params: RemoveMeetingRoomsParams): Promise<RemoveMeetingRoomsResponse>;
|
|
499
499
|
/**
|
|
500
500
|
* 取消订阅公共日历
|
|
501
|
-
* @see https://
|
|
501
|
+
* @see https://open.dingtalk.com/document/orgapp/unsubscribe-from-a-public-calendar
|
|
502
502
|
*/
|
|
503
503
|
unsubscribeCalendar(userId: string, calendarId: string): Promise<UnsubscribeCalendarResponse>;
|
|
504
504
|
/**
|
|
505
505
|
* 删除订阅日历
|
|
506
|
-
* @see https://
|
|
506
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-subscription-calendar
|
|
507
507
|
*/
|
|
508
508
|
deleteSubscribedCalendar(userId: string, calendarId: string): Promise<DeleteSubscribedCalendarResponse>;
|
|
509
509
|
/**
|
|
510
510
|
* 查询单个订阅日历详情
|
|
511
|
-
* @see https://
|
|
511
|
+
* @see https://open.dingtalk.com/document/isvapp/query-a-single-subscription-calendar
|
|
512
512
|
*/
|
|
513
513
|
getSubscribedCalendar(userId: string, calendarId: string): Promise<GetSubscribedCalendarResponse>;
|
|
514
514
|
/**
|
|
515
515
|
* 创建订阅日历
|
|
516
|
-
* @see https://
|
|
516
|
+
* @see https://open.dingtalk.com/document/isvapp/create-subscription-calendar
|
|
517
517
|
*/
|
|
518
518
|
createSubscribedCalendar(userId: string, params: CreateSubscribedCalendarParams): Promise<CreateSubscribedCalendarResponse>;
|
|
519
519
|
/**
|
|
520
520
|
* 针对单个日程进行签退
|
|
521
|
-
* @see https://
|
|
521
|
+
* @see https://open.dingtalk.com/document/isvapp/sign-off-for-a-single-schedule
|
|
522
522
|
*/
|
|
523
523
|
signOut(userId: string, calendarId: string, eventId: string): Promise<SignOutResponse>;
|
|
524
524
|
/**
|
|
525
525
|
* 查看单个日程的签退详情
|
|
526
|
-
* @see https://
|
|
526
|
+
* @see https://open.dingtalk.com/document/isvapp/view-the-billing-details-of-a-single-schedule
|
|
527
527
|
*/
|
|
528
528
|
getSignOutList(userId: string, calendarId: string, eventId: string, query: GetSignOutListQuery): Promise<GetSignOutListResponse>;
|
|
529
529
|
/**
|
|
530
530
|
* 订阅公共日历
|
|
531
|
-
* @see https://
|
|
531
|
+
* @see https://open.dingtalk.com/document/orgapp/subscribe-to-a-public-calendar
|
|
532
532
|
*/
|
|
533
533
|
subscribeCalendar(userId: string, calendarId: string): Promise<void>;
|
|
534
534
|
/**
|
|
535
535
|
* 获取日程参与者
|
|
536
|
-
* @see https://
|
|
536
|
+
* @see https://open.dingtalk.com/document/isvapp/query-schedule-participants
|
|
537
537
|
*/
|
|
538
538
|
listAttendees(userId: string, calendarId: string, eventId: string, query: ListAttendeesQuery): Promise<ListAttendeesResponse>;
|
|
539
539
|
/**
|
|
540
540
|
* 针对单个日程进行签到
|
|
541
|
-
* @see https://
|
|
541
|
+
* @see https://open.dingtalk.com/document/orgapp-server/sign-in-for-a-single-schedule
|
|
542
542
|
*/
|
|
543
543
|
signIn(userId: string, calendarId: string, eventId: string): Promise<SignInResponse>;
|
|
544
544
|
/**
|
|
545
545
|
* 获取访问控制列表
|
|
546
|
-
* @see https://
|
|
546
|
+
* @see https://open.dingtalk.com/document/personalapp/get-access-control-list
|
|
547
547
|
*/
|
|
548
548
|
listAcls(userId: string, calendarId: string): Promise<ListAclsResponse>;
|
|
549
549
|
/**
|
|
550
550
|
* 删除访问控制
|
|
551
|
-
* @see https://
|
|
551
|
+
* @see https://open.dingtalk.com/document/personalapp/delete-access-control
|
|
552
552
|
*/
|
|
553
553
|
deleteAcl(userId: string, calendarId: string, aclId: string): Promise<void>;
|
|
554
554
|
/**
|
|
555
555
|
* 创建访问控制
|
|
556
|
-
* @see https://
|
|
556
|
+
* @see https://open.dingtalk.com/document/personalapp/create-access-control
|
|
557
557
|
*/
|
|
558
558
|
createAcls(userId: string, calendarId: string, params: CreateAclsParams): Promise<CreateAclsResponse>;
|
|
559
559
|
/**
|
|
560
560
|
* 查看单个日程的签到详情
|
|
561
|
-
* @see https://
|
|
561
|
+
* @see https://open.dingtalk.com/document/isvapp/view-the-check-in-details-of-a-single-schedule
|
|
562
562
|
*/
|
|
563
563
|
getSignInList(userId: string, calendarId: string, eventId: string, query: GetSignInListQuery): Promise<GetSignInListResponse>;
|
|
564
564
|
/**
|
|
565
565
|
* 查询日历
|
|
566
|
-
* @see https://
|
|
566
|
+
* @see https://open.dingtalk.com/document/isvapp/query-the-calendar
|
|
567
567
|
*/
|
|
568
568
|
listCalendars(userId: string): Promise<ListCalendarsResponse>;
|
|
569
569
|
/**
|
|
570
570
|
* 获取用户忙闲信息
|
|
571
|
-
* @see https://
|
|
571
|
+
* @see https://open.dingtalk.com/document/isvapp/free-schedule
|
|
572
572
|
*/
|
|
573
573
|
getSchedule(userId: string, params: GetScheduleParams): Promise<GetScheduleResponse>;
|
|
574
574
|
/**
|
|
575
575
|
* 查询日程列表
|
|
576
|
-
* @see https://
|
|
576
|
+
* @see https://open.dingtalk.com/document/personalapp/query-an-event-list-1
|
|
577
577
|
*/
|
|
578
578
|
listEvents(userId: string, calendarId: string, query: ListEventsQuery): Promise<ListEventsResponse>;
|
|
579
579
|
/**
|
|
580
580
|
* 查询日程列表
|
|
581
|
-
* @see https://
|
|
581
|
+
* @see https://open.dingtalk.com/document/personalapp/query-a-single-schedule
|
|
582
582
|
*/
|
|
583
583
|
getEvent(userId: string, calendarId: string, eventId: string, query: GetEventQuery): Promise<GetEventResponse>;
|
|
584
584
|
/**
|
|
585
585
|
* 新增日程参与人
|
|
586
|
-
* @see https://
|
|
586
|
+
* @see https://open.dingtalk.com/document/isvapp/add-schedule-participant
|
|
587
587
|
*/
|
|
588
588
|
addAttendee(userId: string, calendarId: string, eventId: string, params: AddAttendeeParams): Promise<void>;
|
|
589
589
|
/**
|
|
590
590
|
* 删除日程参与人
|
|
591
|
-
* @see https://
|
|
591
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-schedule-participant
|
|
592
592
|
*/
|
|
593
593
|
removeAttendee(userId: string, calendarId: string, eventId: string, params: RemoveAttendeeParams): Promise<void>;
|
|
594
594
|
/**
|
|
595
595
|
* 删除指定日程
|
|
596
|
-
* @see https://
|
|
596
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-schedule
|
|
597
597
|
*/
|
|
598
598
|
deleteEvent(userId: string, calendarId: string, eventId: string): Promise<void>;
|
|
599
599
|
/**
|
|
600
600
|
* 创建日程
|
|
601
|
-
* @see https://
|
|
601
|
+
* @see https://open.dingtalk.com/document/personalapp/create-schedule
|
|
602
602
|
*/
|
|
603
603
|
createEvent(userId: string, calendarId: string, params: CreateEventParams): Promise<CreateEventResponse>;
|
|
604
604
|
/**
|
|
605
605
|
* 查询日程视图列表以查看闲忙,展开循环日程
|
|
606
|
-
* @see https://
|
|
606
|
+
* @see https://open.dingtalk.com/document/personalapp/query-schedule-view-1
|
|
607
607
|
*/
|
|
608
608
|
listEventsView(userId: string, calendarId: string, query: ListEventsViewQuery): Promise<ListEventsViewResponse>;
|
|
609
609
|
/**
|
|
610
610
|
* 回复日程邀请
|
|
611
|
-
* @see https://
|
|
611
|
+
* @see https://open.dingtalk.com/document/isvapp/participants-respond-to-schedule-invitations
|
|
612
612
|
*/
|
|
613
613
|
respondEvent(userId: string, calendarId: string, eventId: string, params: RespondEventParams): Promise<void>;
|
|
614
614
|
/**
|
|
615
615
|
* 修改日程
|
|
616
|
-
* @see https://
|
|
616
|
+
* @see https://open.dingtalk.com/document/personalapp/modify-schedule
|
|
617
617
|
*/
|
|
618
618
|
patchEvent(userId: string, calendarId: string, eventId: string, params: PatchEventParams): Promise<PatchEventResponse>;
|
|
619
619
|
}
|
package/lib/api/card.d.ts
CHANGED
|
@@ -152,32 +152,32 @@ declare module '../internal' {
|
|
|
152
152
|
interface Internal {
|
|
153
153
|
/**
|
|
154
154
|
* 更新卡片
|
|
155
|
-
* @see https://
|
|
155
|
+
* @see https://open.dingtalk.com/document/orgapp/interactive-card-update-interface
|
|
156
156
|
*/
|
|
157
157
|
updateCard(params: UpdateCardParams): Promise<UpdateCardResponse>;
|
|
158
158
|
/**
|
|
159
159
|
* 创建卡片
|
|
160
|
-
* @see https://
|
|
160
|
+
* @see https://open.dingtalk.com/document/orgapp/interface-for-creating-a-card-instance
|
|
161
161
|
*/
|
|
162
162
|
createCard(params: CreateCardParams): Promise<CreateCardResponse>;
|
|
163
163
|
/**
|
|
164
164
|
* 创建并投放卡片
|
|
165
|
-
* @see https://
|
|
165
|
+
* @see https://open.dingtalk.com/document/orgapp/create-and-deliver-cards
|
|
166
166
|
*/
|
|
167
167
|
createAndDeliver(params: CreateAndDeliverParams): Promise<CreateAndDeliverResponse>;
|
|
168
168
|
/**
|
|
169
169
|
* 注册卡片回调地址
|
|
170
|
-
* @see https://
|
|
170
|
+
* @see https://open.dingtalk.com/document/orgapp/register-card-callback-address
|
|
171
171
|
*/
|
|
172
172
|
registerCallback(params: RegisterCallbackParams): Promise<RegisterCallbackResponse>;
|
|
173
173
|
/**
|
|
174
174
|
* 新增或更新卡片的场域信息
|
|
175
|
-
* @see https://
|
|
175
|
+
* @see https://open.dingtalk.com/document/orgapp/add-field-interface
|
|
176
176
|
*/
|
|
177
177
|
appendSpace(params: AppendSpaceParams): Promise<AppendSpaceResponse>;
|
|
178
178
|
/**
|
|
179
179
|
* 投放卡片
|
|
180
|
-
* @see https://
|
|
180
|
+
* @see https://open.dingtalk.com/document/isvapp/delivery-card-interface
|
|
181
181
|
*/
|
|
182
182
|
deliverCard(params: DeliverCardParams): Promise<DeliverCardResponse>;
|
|
183
183
|
}
|
package/lib/api/conference.d.ts
CHANGED
|
@@ -122,14 +122,14 @@ export interface StopStreamOutParams {
|
|
|
122
122
|
streamId: string;
|
|
123
123
|
/** 是否停止所有流,为true时**streamId**参数无效。 */
|
|
124
124
|
stopAllStream: unknown;
|
|
125
|
-
/** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://
|
|
125
|
+
/** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */
|
|
126
126
|
unionId: string;
|
|
127
127
|
}
|
|
128
128
|
export interface StopStreamOutResponse {
|
|
129
129
|
code: string;
|
|
130
130
|
}
|
|
131
131
|
export interface StartStreamOutParams {
|
|
132
|
-
/** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://
|
|
132
|
+
/** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */
|
|
133
133
|
unionId: string;
|
|
134
134
|
/** 是否需要主持人加入后才允许推流。 */
|
|
135
135
|
needHostJoin: unknown;
|
|
@@ -296,107 +296,107 @@ declare module '../internal' {
|
|
|
296
296
|
interface Internal {
|
|
297
297
|
/**
|
|
298
298
|
* 邀请其他人员
|
|
299
|
-
* @see https://
|
|
299
|
+
* @see https://open.dingtalk.com/document/orgapp/invite-users-to-join
|
|
300
300
|
*/
|
|
301
301
|
inviteUsers(conferenceId: string, params: InviteUsersParams): Promise<InviteUsersResponse>;
|
|
302
302
|
/**
|
|
303
303
|
* 设置全员看他
|
|
304
|
-
* @see https://
|
|
304
|
+
* @see https://open.dingtalk.com/document/orgapp/set-the-whole-staff-to-see-him
|
|
305
305
|
*/
|
|
306
306
|
focus(conferenceId: string, params: FocusParams): Promise<FocusResponse>;
|
|
307
307
|
/**
|
|
308
308
|
* 设置联席主持人
|
|
309
|
-
* @see https://
|
|
309
|
+
* @see https://open.dingtalk.com/document/orgapp/set-up-co-hosts
|
|
310
310
|
*/
|
|
311
311
|
cohosts(conferenceId: string, params: CohostsParams): Promise<CohostsResponse>;
|
|
312
312
|
/**
|
|
313
313
|
* 指定人员静音或取消静音
|
|
314
|
-
* @see https://
|
|
314
|
+
* @see https://open.dingtalk.com/document/orgapp/specify-person-to-mute-or-unmute
|
|
315
315
|
*/
|
|
316
316
|
muteMembers(conferenceId: string, params: MuteMembersParams): Promise<MuteMembersResponse>;
|
|
317
317
|
/**
|
|
318
318
|
* 分页获取预约会议历史会议信息,当前仅返回最后一次的会议信息
|
|
319
|
-
* @see https://
|
|
319
|
+
* @see https://open.dingtalk.com/document/orgapp/query-appointment-meeting-history-meeting-information
|
|
320
320
|
*/
|
|
321
321
|
queryScheduleConferenceInfo(scheduleConferenceId: string, query: QueryScheduleConferenceInfoQuery): Promise<QueryScheduleConferenceInfoResponse>;
|
|
322
322
|
/**
|
|
323
323
|
* 查询会议录制的详情信息
|
|
324
|
-
* @see https://
|
|
324
|
+
* @see https://open.dingtalk.com/document/isvapp/query-recording-information
|
|
325
325
|
*/
|
|
326
326
|
queryCloudRecordVideo(conferenceId: string, query: QueryCloudRecordVideoQuery): Promise<QueryCloudRecordVideoResponse>;
|
|
327
327
|
/**
|
|
328
328
|
* 查询会议录制中的文本信息
|
|
329
|
-
* @see https://
|
|
329
|
+
* @see https://open.dingtalk.com/document/isvapp/queries-the-text-information-about-cloud-recording
|
|
330
330
|
*/
|
|
331
331
|
queryCloudRecordText(conferenceId: string, query: QueryCloudRecordTextQuery): Promise<QueryCloudRecordTextResponse>;
|
|
332
332
|
/**
|
|
333
333
|
* 查询会议录制中的视频信息
|
|
334
|
-
* @see https://
|
|
334
|
+
* @see https://open.dingtalk.com/document/isvapp/queries-the-playback-information-about-a-recorded-cloud-video
|
|
335
335
|
*/
|
|
336
336
|
queryCloudRecordVideoPlayInfo(conferenceId: string, query: QueryCloudRecordVideoPlayInfoQuery): Promise<QueryCloudRecordVideoPlayInfoResponse>;
|
|
337
337
|
/**
|
|
338
338
|
* 停止视频会议云录制
|
|
339
|
-
* @see https://
|
|
339
|
+
* @see https://open.dingtalk.com/document/isvapp/video-conferencing-stops-cloud-recording
|
|
340
340
|
*/
|
|
341
341
|
stopCloudRecord(conferenceId: string, params: StopCloudRecordParams): Promise<StopCloudRecordResponse>;
|
|
342
342
|
/**
|
|
343
343
|
* 会议停止直播推流
|
|
344
|
-
* @see https://
|
|
344
|
+
* @see https://open.dingtalk.com/document/orgapp/videoconferencing-stops-live-stream-ingest
|
|
345
345
|
*/
|
|
346
346
|
stopStreamOut(conferenceId: string, params: StopStreamOutParams): Promise<StopStreamOutResponse>;
|
|
347
347
|
/**
|
|
348
348
|
* 会议开始直播推流
|
|
349
|
-
* @see https://
|
|
349
|
+
* @see https://open.dingtalk.com/document/orgapp/video-conference-enables-live-stream-ingest
|
|
350
350
|
*/
|
|
351
351
|
startStreamOut(conferenceId: string, params: StartStreamOutParams): Promise<StartStreamOutResponse>;
|
|
352
352
|
/**
|
|
353
353
|
* 开启视频会议云录制
|
|
354
|
-
* @see https://
|
|
354
|
+
* @see https://open.dingtalk.com/document/isvapp/video-conference-open-cloud-recording
|
|
355
355
|
*/
|
|
356
356
|
startCloudRecord(conferenceId: string, params: StartCloudRecordParams): Promise<StartCloudRecordResponse>;
|
|
357
357
|
/**
|
|
358
358
|
* 批量查询视频会议信息
|
|
359
|
-
* @see https://
|
|
359
|
+
* @see https://open.dingtalk.com/document/isvapp/batch-query-of-video-conference-information
|
|
360
360
|
*/
|
|
361
361
|
queryConferenceInfoBatch(params: QueryConferenceInfoBatchParams): Promise<QueryConferenceInfoBatchResponse>;
|
|
362
362
|
/**
|
|
363
363
|
* 关闭视频会议
|
|
364
|
-
* @see https://
|
|
364
|
+
* @see https://open.dingtalk.com/document/isvapp/close-audio-video-conferencing
|
|
365
365
|
*/
|
|
366
366
|
closeVideoConference(conferenceId: string, query: CloseVideoConferenceQuery): Promise<CloseVideoConferenceResponse>;
|
|
367
367
|
/**
|
|
368
368
|
* 创建视频会议
|
|
369
|
-
* @see https://
|
|
369
|
+
* @see https://open.dingtalk.com/document/isvapp/create-a-video-conference
|
|
370
370
|
*/
|
|
371
371
|
createVideoConference(params: CreateVideoConferenceParams): Promise<CreateVideoConferenceResponse>;
|
|
372
372
|
/**
|
|
373
373
|
* 查询视频会议成员
|
|
374
|
-
* @see https://
|
|
374
|
+
* @see https://open.dingtalk.com/document/app/query-video-meeting-member-information
|
|
375
375
|
*/
|
|
376
376
|
queryConferenceMembers(conferenceId: string, query: QueryConferenceMembersQuery): Promise<QueryConferenceMembersResponse>;
|
|
377
377
|
/**
|
|
378
378
|
* 查询视频会议信息
|
|
379
|
-
* @see https://
|
|
379
|
+
* @see https://open.dingtalk.com/document/app/querying-video-conference-information
|
|
380
380
|
*/
|
|
381
381
|
queryConferenceInfo(conferenceId: string): Promise<QueryConferenceInfoResponse>;
|
|
382
382
|
/**
|
|
383
383
|
* 取消预约会议
|
|
384
|
-
* @see https://
|
|
384
|
+
* @see https://open.dingtalk.com/document/app/cancel-appointment-meeting
|
|
385
385
|
*/
|
|
386
386
|
cancelScheduleConference(params: CancelScheduleConferenceParams): Promise<CancelScheduleConferenceResponse>;
|
|
387
387
|
/**
|
|
388
388
|
* 查询预约会议信息
|
|
389
|
-
* @see https://
|
|
389
|
+
* @see https://open.dingtalk.com/document/app/query-meeting-reservation
|
|
390
390
|
*/
|
|
391
391
|
queryScheduleConference(scheduleConferenceId: string, query: QueryScheduleConferenceQuery): Promise<QueryScheduleConferenceResponse>;
|
|
392
392
|
/**
|
|
393
393
|
* 更新预约会议
|
|
394
|
-
* @see https://
|
|
394
|
+
* @see https://open.dingtalk.com/document/app/update-appointment-meeting
|
|
395
395
|
*/
|
|
396
396
|
updateScheduleConference(params: UpdateScheduleConferenceParams): Promise<UpdateScheduleConferenceResponse>;
|
|
397
397
|
/**
|
|
398
398
|
* 创建预约会议
|
|
399
|
-
* @see https://
|
|
399
|
+
* @see https://open.dingtalk.com/document/app/create-appointment-meeting
|
|
400
400
|
*/
|
|
401
401
|
createScheduleConference(params: CreateScheduleConferenceParams): Promise<CreateScheduleConferenceResponse>;
|
|
402
402
|
}
|
package/lib/api/connector.d.ts
CHANGED
|
@@ -61,17 +61,17 @@ declare module '../internal' {
|
|
|
61
61
|
interface Internal {
|
|
62
62
|
/**
|
|
63
63
|
* 通过业务主键拉取单条连接器主数据
|
|
64
|
-
* @see https://
|
|
64
|
+
* @see https://open.dingtalk.com/document/connector/pull-a-single-primary-record-based-on-the-business-primary
|
|
65
65
|
*/
|
|
66
66
|
pullDataByPk(dataModelId: string, query: PullDataByPkQuery): Promise<PullDataByPkResponse>;
|
|
67
67
|
/**
|
|
68
68
|
* 分页拉取连接器主数据
|
|
69
|
-
* @see https://
|
|
69
|
+
* @see https://open.dingtalk.com/document/connector/bulk-pull-dingtalk-connector-master-data
|
|
70
70
|
*/
|
|
71
71
|
pullDataByPage(query: PullDataByPageQuery): Promise<PullDataByPageResponse>;
|
|
72
72
|
/**
|
|
73
73
|
* 同步连接器数据
|
|
74
|
-
* @see https://
|
|
74
|
+
* @see https://open.dingtalk.com/document/connector/dingtalk-connector-data-synchronization-interface
|
|
75
75
|
*/
|
|
76
76
|
syncData(params: SyncDataParams): Promise<SyncDataResponse>;
|
|
77
77
|
}
|
package/lib/api/contact.d.ts
CHANGED
|
@@ -27,12 +27,12 @@ declare module '../internal' {
|
|
|
27
27
|
interface Internal {
|
|
28
28
|
/**
|
|
29
29
|
* 查询企业认证信息
|
|
30
|
-
* @see https://
|
|
30
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-enterprise-authentication-information
|
|
31
31
|
*/
|
|
32
32
|
getOrgAuthInfo(query: GetOrgAuthInfoQuery): Promise<GetOrgAuthInfoResponse>;
|
|
33
33
|
/**
|
|
34
34
|
* 批量通过分支组织的关联申请
|
|
35
|
-
* @see https://
|
|
35
|
+
* @see https://open.dingtalk.com/document/isvapp/apply-for-association-with-multiple-branches-in-batch-batch-through-the-application-of-partner-organizations-to-join-contact
|
|
36
36
|
*/
|
|
37
37
|
batchApproveUnionApply(params: BatchApproveUnionApplyParams): Promise<BatchApproveUnionApplyResponse>;
|
|
38
38
|
}
|
package/lib/api/convFile.d.ts
CHANGED
|
@@ -112,22 +112,22 @@ declare module '../internal' {
|
|
|
112
112
|
interface Internal {
|
|
113
113
|
/**
|
|
114
114
|
* 发送文件链接到指定会话
|
|
115
|
-
* @see https://
|
|
115
|
+
* @see https://open.dingtalk.com/document/orgapp/send-a-file-link-to-the-specified-session
|
|
116
116
|
*/
|
|
117
117
|
sendLink(query: SendLinkQuery, params: SendLinkParams): Promise<SendLinkResponse>;
|
|
118
118
|
/**
|
|
119
119
|
* 发送文件到指定会话
|
|
120
|
-
* @see https://
|
|
120
|
+
* @see https://open.dingtalk.com/document/orgapp/send-file-to-specified-session
|
|
121
121
|
*/
|
|
122
122
|
send(query: SendQuery, params: SendParams): Promise<SendResponse>;
|
|
123
123
|
/**
|
|
124
124
|
* 获取IM会话存储空间信息
|
|
125
|
-
* @see https://
|
|
125
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-group-storage-space-information
|
|
126
126
|
*/
|
|
127
127
|
convFileGetSpace(query: ConvFileGetSpaceQuery, params: ConvFileGetSpaceParams): Promise<ConvFileGetSpaceResponse>;
|
|
128
128
|
/**
|
|
129
129
|
* 以应用身份发送文件给自己
|
|
130
|
-
* @see https://
|
|
130
|
+
* @see https://open.dingtalk.com/document/isvapp/sends-a-storage-file-to-a-specified-user
|
|
131
131
|
*/
|
|
132
132
|
sendByApp(query: SendByAppQuery, params: SendByAppParams): Promise<SendByAppResponse>;
|
|
133
133
|
}
|