@satorijs/adapter-dingtalk 2.0.0 → 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.
Files changed (48) hide show
  1. package/lib/api/alitrip.d.ts +12 -12
  2. package/lib/api/attendance.d.ts +3 -3
  3. package/lib/api/badge.d.ts +8 -8
  4. package/lib/api/blackboard.d.ts +1 -1
  5. package/lib/api/calendar.d.ts +28 -28
  6. package/lib/api/card.d.ts +6 -6
  7. package/lib/api/conference.d.ts +23 -23
  8. package/lib/api/connector.d.ts +3 -3
  9. package/lib/api/contact.d.ts +2 -2
  10. package/lib/api/convFile.d.ts +4 -4
  11. package/lib/api/crm.d.ts +28 -28
  12. package/lib/api/customerService.d.ts +4 -4
  13. package/lib/api/datacenter.d.ts +26 -26
  14. package/lib/api/devicemng.d.ts +5 -5
  15. package/lib/api/diot.d.ts +1 -1
  16. package/lib/api/doc.d.ts +8 -8
  17. package/lib/api/drive.d.ts +4 -4
  18. package/lib/api/edu.d.ts +5 -5
  19. package/lib/api/esign.d.ts +2 -2
  20. package/lib/api/exclusive.d.ts +14 -14
  21. package/lib/api/h3yun.d.ts +20 -20
  22. package/lib/api/hrm.d.ts +9 -9
  23. package/lib/api/im.d.ts +37 -37
  24. package/lib/api/industry.d.ts +5 -5
  25. package/lib/api/jzcrm.d.ts +13 -13
  26. package/lib/api/link.d.ts +4 -4
  27. package/lib/api/live.d.ts +6 -6
  28. package/lib/api/microApp.d.ts +12 -12
  29. package/lib/api/oapi.d.ts +257 -257
  30. package/lib/api/oauth2.d.ts +7 -7
  31. package/lib/api/pedia.d.ts +6 -6
  32. package/lib/api/project.d.ts +50 -50
  33. package/lib/api/resident.d.ts +6 -6
  34. package/lib/api/robot.d.ts +14 -14
  35. package/lib/api/rooms.d.ts +12 -12
  36. package/lib/api/serviceGroup.d.ts +8 -8
  37. package/lib/api/storage.d.ts +51 -51
  38. package/lib/api/swform.d.ts +3 -3
  39. package/lib/api/todo.d.ts +5 -5
  40. package/lib/api/wiki.d.ts +6 -6
  41. package/lib/api/workbench.d.ts +3 -3
  42. package/lib/api/yida.d.ts +60 -60
  43. package/lib/bot.d.ts +3 -4
  44. package/lib/http.d.ts +2 -2
  45. package/lib/index.js +159 -157
  46. package/lib/index.js.map +2 -2
  47. package/lib/ws.d.ts +1 -1
  48. package/package.json +2 -2
@@ -335,102 +335,102 @@ declare module '../internal' {
335
335
  interface Internal {
336
336
  /**
337
337
  * 获取文件上传地址
338
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-upload-url-of-a-file-2
338
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-upload-url-of-a-file-2
339
339
  */
340
340
  getUploadUrl(query: GetUploadUrlQuery): Promise<GetUploadUrlResponse>;
341
341
  /**
342
342
  * 获取应用功能节点
343
- * @see https://developers.dingtalk.com/document/isvapp/queries-the-application-feature-nodes
343
+ * @see https://open.dingtalk.com/document/isvapp/queries-the-application-feature-nodes
344
344
  */
345
345
  queryAppFunctionNodes(query: QueryAppFunctionNodesQuery): Promise<QueryAppFunctionNodesResponse>;
346
346
  /**
347
347
  * 创建流程实例
348
- * @see https://developers.dingtalk.com/document/isvapp/create-a-process-instance
348
+ * @see https://open.dingtalk.com/document/isvapp/create-a-process-instance
349
349
  */
350
350
  createProcessesInstance(params: CreateProcessesInstanceParams): Promise<CreateProcessesInstanceResponse>;
351
351
  /**
352
352
  * 删除流程实例数据
353
- * @see https://developers.dingtalk.com/document/isvapp/delete-process-instance-data
353
+ * @see https://open.dingtalk.com/document/isvapp/delete-process-instance-data
354
354
  */
355
355
  deleteProcessesInstance(query: DeleteProcessesInstanceQuery): Promise<DeleteProcessesInstanceResponse>;
356
356
  /**
357
357
  * 获取表单对象结构
358
- * @see https://developers.dingtalk.com/document/isvapp/gets-the-form-object-structure
358
+ * @see https://open.dingtalk.com/document/isvapp/gets-the-form-object-structure
359
359
  */
360
360
  loadBizFields(query: LoadBizFieldsQuery): Promise<LoadBizFieldsResponse>;
361
361
  /**
362
362
  * 获取流程实例节点工作项
363
- * @see https://developers.dingtalk.com/document/isvapp/query-flow-instance-node-work-items
363
+ * @see https://open.dingtalk.com/document/isvapp/query-flow-instance-node-work-items
364
364
  */
365
365
  queryProcessesWorkItems(query: QueryProcessesWorkItemsQuery): Promise<QueryProcessesWorkItemsResponse>;
366
366
  /**
367
367
  * 批量新增表单业务数据
368
- * @see https://developers.dingtalk.com/document/isvapp/batch-add-form-business-data
368
+ * @see https://open.dingtalk.com/document/isvapp/batch-add-form-business-data
369
369
  */
370
370
  batchInsertBizObject(params: BatchInsertBizObjectParams): Promise<BatchInsertBizObjectResponse>;
371
371
  /**
372
372
  * 删除业务对象
373
- * @see https://developers.dingtalk.com/document/isvapp/delete-a-business-object
373
+ * @see https://open.dingtalk.com/document/isvapp/delete-a-business-object
374
374
  */
375
375
  deleteBizObject(query: DeleteBizObjectQuery): Promise<DeleteBizObjectResponse>;
376
376
  /**
377
377
  * 取消流程实例
378
- * @see https://developers.dingtalk.com/document/isvapp/cancel-a-process-instance
378
+ * @see https://open.dingtalk.com/document/isvapp/cancel-a-process-instance
379
379
  */
380
380
  cancelProcessInstance(params: CancelProcessInstanceParams): Promise<CancelProcessInstanceResponse>;
381
381
  /**
382
382
  * 创建表单业务数据
383
- * @see https://developers.dingtalk.com/document/isvapp/create-form-business-data
383
+ * @see https://open.dingtalk.com/document/isvapp/create-form-business-data
384
384
  */
385
385
  createBizObject(params: CreateBizObjectParams): Promise<CreateBizObjectResponse>;
386
386
  /**
387
387
  * 查询流程实例
388
- * @see https://developers.dingtalk.com/document/isvapp/query-flow-instances
388
+ * @see https://open.dingtalk.com/document/isvapp/query-flow-instances
389
389
  */
390
390
  queryProcessesInstance(query: QueryProcessesInstanceQuery): Promise<QueryProcessesInstanceResponse>;
391
391
  /**
392
392
  * 修改表单业务对象数据
393
- * @see https://developers.dingtalk.com/document/isvapp/modify-form-business-object-data
393
+ * @see https://open.dingtalk.com/document/isvapp/modify-form-business-object-data
394
394
  */
395
395
  updateBizObject(params: UpdateBizObjectParams): Promise<UpdateBizObjectResponse>;
396
396
  /**
397
397
  * 获取业务实例信息
398
- * @see https://developers.dingtalk.com/document/isvapp/queries-business-instance-information
398
+ * @see https://open.dingtalk.com/document/isvapp/queries-business-instance-information
399
399
  */
400
400
  loadBizObject(query: LoadBizObjectQuery): Promise<LoadBizObjectResponse>;
401
401
  /**
402
402
  * 查询表单业务数据列表
403
- * @see https://developers.dingtalk.com/document/isvapp/querying-form-business-data
403
+ * @see https://open.dingtalk.com/document/isvapp/querying-form-business-data
404
404
  */
405
405
  loadBizObjects(params: LoadBizObjectsParams): Promise<LoadBizObjectsResponse>;
406
406
  /**
407
407
  * 获取附件临时免登地址
408
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-temporary-attachment-free-address
408
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-temporary-attachment-free-address
409
409
  */
410
410
  getAttachmentTemporaryUrl(query: GetAttachmentTemporaryUrlQuery): Promise<GetAttachmentTemporaryUrlResponse>;
411
411
  /**
412
412
  * 获取角色用户数据
413
- * @see https://developers.dingtalk.com/document/isvapp/obtain-role-data-1
413
+ * @see https://open.dingtalk.com/document/isvapp/obtain-role-data-1
414
414
  */
415
415
  getRoleUsers(query: GetRoleUsersQuery): Promise<GetRoleUsersResponse>;
416
416
  /**
417
417
  * 获取角色数据
418
- * @see https://developers.dingtalk.com/document/isvapp/obtain-role-data
418
+ * @see https://open.dingtalk.com/document/isvapp/obtain-role-data
419
419
  */
420
420
  getRoles(): Promise<GetRolesResponse>;
421
421
  /**
422
422
  * 获取用户数据
423
- * @see https://developers.dingtalk.com/document/isvapp/obtain-user-data
423
+ * @see https://open.dingtalk.com/document/isvapp/obtain-user-data
424
424
  */
425
425
  getUsers(query: GetUsersQuery): Promise<GetUsersResponse>;
426
426
  /**
427
427
  * 获取应用列表
428
- * @see https://developers.dingtalk.com/document/isvapp/queries-applications
428
+ * @see https://open.dingtalk.com/document/isvapp/queries-applications
429
429
  */
430
430
  getApps(params: GetAppsParams): Promise<GetAppsResponse>;
431
431
  /**
432
432
  * 获取组织数据
433
- * @see https://developers.dingtalk.com/document/isvapp/queries-organization-data
433
+ * @see https://open.dingtalk.com/document/isvapp/queries-organization-data
434
434
  */
435
435
  getOrganizations(query: GetOrganizationsQuery): Promise<GetOrganizationsResponse>;
436
436
  }
package/lib/api/hrm.d.ts CHANGED
@@ -167,47 +167,47 @@ declare module '../internal' {
167
167
  interface Internal {
168
168
  /**
169
169
  * 修改员工最后一次离职信息
170
- * @see https://developers.dingtalk.com/document/app/modify-resigned-employee-information
170
+ * @see https://open.dingtalk.com/document/app/modify-resigned-employee-information
171
171
  */
172
172
  hrmProcessUpdateTerminationInfo(params: HrmProcessUpdateTerminationInfoParams): Promise<HrmProcessUpdateTerminationInfoResponse>;
173
173
  /**
174
174
  * 智能人事转正接口
175
- * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-staff-to-become-regular
175
+ * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-staff-to-become-regular
176
176
  */
177
177
  hrmProcessRegular(params: HrmProcessRegularParams): Promise<HrmProcessRegularResponse>;
178
178
  /**
179
179
  * 获取离职员工列表
180
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-list-of-employees-who-have-left
180
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-list-of-employees-who-have-left
181
181
  */
182
182
  queryDismissionStaffIdList(query: QueryDismissionStaffIdListQuery): Promise<QueryDismissionStaffIdListResponse>;
183
183
  /**
184
184
  * 新增或删除花名册选项类型字段的选项
185
- * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-roster-field-option-modification
185
+ * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-roster-field-option-modification
186
186
  */
187
187
  rosterMetaFieldOptionsUpdate(query: RosterMetaFieldOptionsUpdateQuery, params: RosterMetaFieldOptionsUpdateParams): Promise<RosterMetaFieldOptionsUpdateResponse>;
188
188
  /**
189
189
  * 智能人事员工调岗
190
- * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-staff-transfer
190
+ * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-staff-transfer
191
191
  */
192
192
  hrmProcessTransfer(params: HrmProcessTransferParams): Promise<HrmProcessTransferResponse>;
193
193
  /**
194
194
  * 批量获取员工离职信息
195
- * @see https://developers.dingtalk.com/document/isvapp/obtain-multiple-employee-demission-information-1
195
+ * @see https://open.dingtalk.com/document/isvapp/obtain-multiple-employee-demission-information-1
196
196
  */
197
197
  queryHrmEmployeeDismissionInfo(query: QueryHrmEmployeeDismissionInfoQuery): Promise<QueryHrmEmployeeDismissionInfoResponse>;
198
198
  /**
199
199
  * 获取企业职务列表
200
- * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-enterprise-jobs
200
+ * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-enterprise-jobs
201
201
  */
202
202
  queryJobs(query: QueryJobsQuery): Promise<QueryJobsResponse>;
203
203
  /**
204
204
  * 获取企业职级列表
205
- * @see https://developers.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-ranks
205
+ * @see https://open.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-ranks
206
206
  */
207
207
  queryJobRanks(query: QueryJobRanksQuery): Promise<QueryJobRanksResponse>;
208
208
  /**
209
209
  * 获取企业职位列表
210
- * @see https://developers.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-positions
210
+ * @see https://open.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-positions
211
211
  */
212
212
  queryPositions(query: QueryPositionsQuery, params: QueryPositionsParams): Promise<QueryPositionsResponse>;
213
213
  }
package/lib/api/im.d.ts CHANGED
@@ -79,7 +79,7 @@ export interface UpdateGroupSubAdminResponse {
79
79
  success: unknown;
80
80
  }
81
81
  export interface UpdateMemberGroupNickParams {
82
- /** 场景群群ID,可以调用[创建场景群](https://developers.dingtalk.com/document/chatgroup/create-a-scene-group-v2)接口获取。 */
82
+ /** 场景群群ID,可以调用[创建场景群](https://open.dingtalk.com/document/chatgroup/create-a-scene-group-v2)接口获取。 */
83
83
  openConversationId: string;
84
84
  /** 用户的userid。 */
85
85
  userId: string;
@@ -590,182 +590,182 @@ declare module '../internal' {
590
590
  interface Internal {
591
591
  /**
592
592
  * 查询群内群模板机器人
593
- * @see https://developers.dingtalk.com/document/isvapp/query-intra-group-template-robot
593
+ * @see https://open.dingtalk.com/document/isvapp/query-intra-group-template-robot
594
594
  */
595
595
  querySceneGroupTemplateRobot(query: QuerySceneGroupTemplateRobotQuery): Promise<QuerySceneGroupTemplateRobotResponse>;
596
596
  /**
597
597
  * 查询群成员
598
- * @see https://developers.dingtalk.com/document/orgapp/query-group-members
598
+ * @see https://open.dingtalk.com/document/orgapp/query-group-members
599
599
  */
600
600
  batchQueryGroupMember(params: BatchQueryGroupMemberParams): Promise<BatchQueryGroupMemberResponse>;
601
601
  /**
602
602
  * 查询群禁言状态
603
- * @see https://developers.dingtalk.com/document/orgapp/query-group-silence-status
603
+ * @see https://open.dingtalk.com/document/orgapp/query-group-silence-status
604
604
  */
605
605
  queryGroupMuteStatus(query: QueryGroupMuteStatusQuery): Promise<QueryGroupMuteStatusResponse>;
606
606
  /**
607
607
  * 设置群成员禁言状态
608
- * @see https://developers.dingtalk.com/document/orgapp/set-group-members-access-control
608
+ * @see https://open.dingtalk.com/document/orgapp/set-group-members-access-control
609
609
  */
610
610
  updateMemberBanWords(params: UpdateMemberBanWordsParams): Promise<void>;
611
611
  /**
612
612
  * 查询群简要信息
613
- * @see https://developers.dingtalk.com/document/isvapp/query-group-brief-information
613
+ * @see https://open.dingtalk.com/document/isvapp/query-group-brief-information
614
614
  */
615
615
  getSceneGroupInfo(params: GetSceneGroupInfoParams): Promise<GetSceneGroupInfoResponse>;
616
616
  /**
617
617
  * 更新群管理员
618
- * @see https://developers.dingtalk.com/document/isvapp/update-group-administrator
618
+ * @see https://open.dingtalk.com/document/isvapp/update-group-administrator
619
619
  */
620
620
  updateGroupSubAdmin(params: UpdateGroupSubAdminParams): Promise<UpdateGroupSubAdminResponse>;
621
621
  /**
622
622
  * 更新群成员的群昵称
623
- * @see https://developers.dingtalk.com/document/isvapp/update-group-nicknames-for-group-members
623
+ * @see https://open.dingtalk.com/document/isvapp/update-group-nicknames-for-group-members
624
624
  */
625
625
  updateMemberGroupNick(params: UpdateMemberGroupNickParams): Promise<UpdateMemberGroupNickResponse>;
626
626
  /**
627
627
  * 发送模板响应式可交互式卡片
628
- * @see https://developers.dingtalk.com/document/orgapp/send-lightweight-interactive-cards
628
+ * @see https://open.dingtalk.com/document/orgapp/send-lightweight-interactive-cards
629
629
  */
630
630
  sendTemplateInteractiveCard(params: SendTemplateInteractiveCardParams): Promise<SendTemplateInteractiveCardResponse>;
631
631
  /**
632
632
  * 更新钉钉互动卡片
633
- * @see https://developers.dingtalk.com/document/orgapp/update-dingtalk-interactive-cards-1
633
+ * @see https://open.dingtalk.com/document/orgapp/update-dingtalk-interactive-cards-1
634
634
  */
635
635
  updateInteractiveCard(params: UpdateInteractiveCardParams): Promise<UpdateInteractiveCardResponse>;
636
636
  /**
637
637
  * 发送可交互式动态卡片
638
- * @see https://developers.dingtalk.com/document/orgapp/send-interactive-dynamic-cards-1
638
+ * @see https://open.dingtalk.com/document/orgapp/send-interactive-dynamic-cards-1
639
639
  */
640
640
  sendInteractiveCard(params: SendInteractiveCardParams): Promise<SendInteractiveCardResponse>;
641
641
  /**
642
642
  * 更新机器人发送互动卡片
643
- * @see https://developers.dingtalk.com/document/orgapp/update-the-robot-to-send-interactive-cards
643
+ * @see https://open.dingtalk.com/document/orgapp/update-the-robot-to-send-interactive-cards
644
644
  */
645
645
  updateRobotInteractiveCard(params: UpdateRobotInteractiveCardParams): Promise<UpdateRobotInteractiveCardResponse>;
646
646
  /**
647
647
  * 机器人发送互动卡片(普通版)
648
- * @see https://developers.dingtalk.com/document/orgapp/robots-send-interactive-cards
648
+ * @see https://open.dingtalk.com/document/orgapp/robots-send-interactive-cards
649
649
  */
650
650
  sendRobotInteractiveCard(params: SendRobotInteractiveCardParams): Promise<SendRobotInteractiveCardResponse>;
651
651
  /**
652
652
  * 获取群会话的OpenConversationId
653
- * @see https://developers.dingtalk.com/document/orgapp/obtain-group-openconversationid
653
+ * @see https://open.dingtalk.com/document/orgapp/obtain-group-openconversationid
654
654
  */
655
655
  chatIdToOpenConversationId(chatId: string): Promise<ChatIdToOpenConversationIdResponse>;
656
656
  /**
657
657
  * 设置群管理员
658
- * @see https://developers.dingtalk.com/document/orgapp/batch-setup-group-administrator
658
+ * @see https://open.dingtalk.com/document/orgapp/batch-setup-group-administrator
659
659
  */
660
660
  chatSubAdminUpdate(params: ChatSubAdminUpdateParams): Promise<ChatSubAdminUpdateResponse>;
661
661
  /**
662
662
  * 创建普通群
663
- * @see https://developers.dingtalk.com/document/app/create-common-group-new-version
663
+ * @see https://open.dingtalk.com/document/app/create-common-group-new-version
664
664
  */
665
665
  imCreateGroup(params: ImCreateGroupParams): Promise<ImCreateGroupResponse>;
666
666
  /**
667
667
  * 创建两人群
668
- * @see https://developers.dingtalk.com/document/app/creating-two-groups-of-people
668
+ * @see https://open.dingtalk.com/document/app/creating-two-groups-of-people
669
669
  */
670
670
  createCoupleGroup(params: CreateCoupleGroupParams): Promise<CreateCoupleGroupResponse>;
671
671
  /**
672
672
  * 更换群主
673
- * @see https://developers.dingtalk.com/document/isvapp/change-group-owner
673
+ * @see https://open.dingtalk.com/document/isvapp/change-group-owner
674
674
  */
675
675
  changeGroupOwner(params: ChangeGroupOwnerParams): Promise<ChangeGroupOwnerResponse>;
676
676
  /**
677
677
  * 解散互通群
678
- * @see https://developers.dingtalk.com/document/isvapp/disband-bc-interconnection-group
678
+ * @see https://open.dingtalk.com/document/isvapp/disband-bc-interconnection-group
679
679
  */
680
680
  dismissGroupConversation(params: DismissGroupConversationParams): Promise<DismissGroupConversationResponse>;
681
681
  /**
682
682
  * 机器人发送消息
683
- * @see https://developers.dingtalk.com/document/app/group-robots-send-messages
683
+ * @see https://open.dingtalk.com/document/app/group-robots-send-messages
684
684
  */
685
685
  sendRobotMessage(params: SendRobotMessageParams): Promise<SendRobotMessageResponse>;
686
686
  /**
687
687
  * 创建店铺群
688
- * @see https://developers.dingtalk.com/document/isvapp/create-a-store-group
688
+ * @see https://open.dingtalk.com/document/isvapp/create-a-store-group
689
689
  */
690
690
  createStoreGroupConversation(params: CreateStoreGroupConversationParams): Promise<CreateStoreGroupConversationResponse>;
691
691
  /**
692
692
  * 创建钉外两人群
693
- * @see https://developers.dingtalk.com/document/isvapp/create-two-people-outside-the-nail
693
+ * @see https://open.dingtalk.com/document/isvapp/create-two-people-outside-the-nail
694
694
  */
695
695
  createCoupleGroupConversation(params: CreateCoupleGroupConversationParams): Promise<CreateCoupleGroupConversationResponse>;
696
696
  /**
697
697
  * 修改群名称
698
- * @see https://developers.dingtalk.com/document/isvapp/modify-the-group-name
698
+ * @see https://open.dingtalk.com/document/isvapp/modify-the-group-name
699
699
  */
700
700
  updateGroupName(params: UpdateGroupNameParams): Promise<UpdateGroupNameResponse>;
701
701
  /**
702
702
  * 修改群头像
703
- * @see https://developers.dingtalk.com/document/isvapp/modify-the-avatar-of-a-communication-group
703
+ * @see https://open.dingtalk.com/document/isvapp/modify-the-avatar-of-a-communication-group
704
704
  */
705
705
  updateGroupAvatar(params: UpdateGroupAvatarParams): Promise<UpdateGroupAvatarResponse>;
706
706
  /**
707
707
  * 批量查询群信息
708
- * @see https://developers.dingtalk.com/document/isvapp/batch-query-cross-nail-two-group-list
708
+ * @see https://open.dingtalk.com/document/isvapp/batch-query-cross-nail-two-group-list
709
709
  */
710
710
  querySingleGroup(params: QuerySingleGroupParams): Promise<QuerySingleGroupResponse>;
711
711
  /**
712
712
  * 查询群成员列表
713
- * @see https://developers.dingtalk.com/document/isvapp/query-the-group-member-list
713
+ * @see https://open.dingtalk.com/document/isvapp/query-the-group-member-list
714
714
  */
715
715
  queryGroupMember(query: QueryGroupMemberQuery): Promise<QueryGroupMemberResponse>;
716
716
  /**
717
717
  * 批量查询未读消息数
718
- * @see https://developers.dingtalk.com/document/isvapp/query-the-number-of-unread-messages-for-users-outside-of
718
+ * @see https://open.dingtalk.com/document/isvapp/query-the-number-of-unread-messages-for-users-outside-of
719
719
  */
720
720
  queryUnReadMessage(params: QueryUnReadMessageParams): Promise<QueryUnReadMessageResponse>;
721
721
  /**
722
722
  * 发送ToB消息
723
- * @see https://developers.dingtalk.com/document/isvapp/a-user-outside-the-dingtalk-sends-a-message-to-the
723
+ * @see https://open.dingtalk.com/document/isvapp/a-user-outside-the-dingtalk-sends-a-message-to-the
724
724
  */
725
725
  sendMessage(params: SendMessageParams): Promise<SendMessageResponse>;
726
726
  /**
727
727
  * 移除群成员
728
- * @see https://developers.dingtalk.com/document/isvapp/remove-a-connected-group-member
728
+ * @see https://open.dingtalk.com/document/isvapp/remove-a-connected-group-member
729
729
  */
730
730
  removeGroupMember(params: RemoveGroupMemberParams): Promise<RemoveGroupMemberResponse>;
731
731
  /**
732
732
  * 添加群成员
733
- * @see https://developers.dingtalk.com/document/isvapp/add-group-members
733
+ * @see https://open.dingtalk.com/document/isvapp/add-group-members
734
734
  */
735
735
  addGroupMember(params: AddGroupMemberParams): Promise<AddGroupMemberResponse>;
736
736
  /**
737
737
  * 创建互通群(支持普通互通群、跨钉两人群)
738
- * @see https://developers.dingtalk.com/document/isvapp/create-a-common-group-or-cross-nail-group
738
+ * @see https://open.dingtalk.com/document/isvapp/create-a-common-group-or-cross-nail-group
739
739
  */
740
740
  createGroupConversation(params: CreateGroupConversationParams): Promise<CreateGroupConversationResponse>;
741
741
  /**
742
742
  * 发送ToC消息
743
- * @see https://developers.dingtalk.com/document/isvapp/dingtalk-users-send-messages-to-the-group-or-dingtalk-users
743
+ * @see https://open.dingtalk.com/document/isvapp/dingtalk-users-send-messages-to-the-group-or-dingtalk-users
744
744
  */
745
745
  sendDingMessage(params: SendDingMessageParams): Promise<SendDingMessageResponse>;
746
746
  /**
747
747
  * 创建ToB会话地址
748
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-session-address
748
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-session-address
749
749
  */
750
750
  getConversationUrl(params: GetConversationUrlParams): Promise<GetConversationUrlResponse>;
751
751
  /**
752
752
  * 创建钉外账号
753
- * @see https://developers.dingtalk.com/document/isvapp/create-bc-account-association
753
+ * @see https://open.dingtalk.com/document/isvapp/create-bc-account-association
754
754
  */
755
755
  createInterconnection(params: CreateInterconnectionParams): Promise<CreateInterconnectionResponse>;
756
756
  /**
757
757
  * 人与人会话中机器人发送互动卡片
758
- * @see https://developers.dingtalk.com/document/orgapp/send-dingtalk-interactive-cards-to-person-to-person-chat-sessions
758
+ * @see https://open.dingtalk.com/document/orgapp/send-dingtalk-interactive-cards-to-person-to-person-chat-sessions
759
759
  */
760
760
  sendOTOInteractiveCard(params: SendOTOInteractiveCardParams): Promise<SendOTOInteractiveCardResponse>;
761
761
  /**
762
762
  * 关闭互动卡片吊顶
763
- * @see https://developers.dingtalk.com/document/orgapp/close-interactive-card-ceiling
763
+ * @see https://open.dingtalk.com/document/orgapp/close-interactive-card-ceiling
764
764
  */
765
765
  closeTopbox(params: CloseTopboxParams): Promise<CloseTopboxResponse>;
766
766
  /**
767
767
  * 创建并开启互动卡片吊顶
768
- * @see https://developers.dingtalk.com/document/orgapp/create-and-open-an-interactive-card-ceiling
768
+ * @see https://open.dingtalk.com/document/orgapp/create-and-open-an-interactive-card-ceiling
769
769
  */
770
770
  createTopbox(params: CreateTopboxParams): Promise<CreateTopboxResponse>;
771
771
  }
@@ -90,27 +90,27 @@ declare module '../internal' {
90
90
  interface Internal {
91
91
  /**
92
92
  * 查询园区项目详情
93
- * @see https://developers.dingtalk.com/document/isvapp/query-a-project-in-a-specified-campus
93
+ * @see https://open.dingtalk.com/document/isvapp/query-a-project-in-a-specified-campus
94
94
  */
95
95
  campusGetCampus(query: CampusGetCampusQuery): Promise<CampusGetCampusResponse>;
96
96
  /**
97
97
  * 查询项目组信息
98
- * @see https://developers.dingtalk.com/document/isvapp/query-a-project-group-in-the-specified-park
98
+ * @see https://open.dingtalk.com/document/isvapp/query-a-project-group-in-the-specified-park
99
99
  */
100
100
  campusGetCampusGroup(query: CampusGetCampusGroupQuery): Promise<CampusGetCampusGroupResponse>;
101
101
  /**
102
102
  * 创建园区项目
103
- * @see https://developers.dingtalk.com/document/isvapp/create-a-campus-project
103
+ * @see https://open.dingtalk.com/document/isvapp/create-a-campus-project
104
104
  */
105
105
  campusCreateCampus(params: CampusCreateCampusParams): Promise<CampusCreateCampusResponse>;
106
106
  /**
107
107
  * 创建项目组
108
- * @see https://developers.dingtalk.com/document/isvapp/create-a-project-group
108
+ * @see https://open.dingtalk.com/document/isvapp/create-a-project-group
109
109
  */
110
110
  campusCreateCampusGroup(params: CampusCreateCampusGroupParams): Promise<CampusCreateCampusGroupResponse>;
111
111
  /**
112
112
  * 删除项目组
113
- * @see https://developers.dingtalk.com/document/isvapp/delete-a-project-group
113
+ * @see https://open.dingtalk.com/document/isvapp/delete-a-project-group
114
114
  */
115
115
  campusDeleteCampusGroup(query: CampusDeleteCampusGroupQuery): Promise<CampusDeleteCampusGroupResponse>;
116
116
  }
@@ -187,67 +187,67 @@ declare module '../internal' {
187
187
  interface Internal {
188
188
  /**
189
189
  * 联系人
190
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-contacts
190
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-contacts
191
191
  */
192
192
  editContact(params: EditContactParams): Promise<EditContactResponse>;
193
193
  /**
194
194
  * 客户公共池
195
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-customer-public-pools
195
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-customer-public-pools
196
196
  */
197
197
  editCustomerPool(params: EditCustomerPoolParams): Promise<EditCustomerPoolResponse>;
198
198
  /**
199
199
  * 编辑销售换货单数据
200
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-sales-order
200
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-sales-order
201
201
  */
202
202
  editExchange(params: EditExchangeParams): Promise<EditExchangeResponse>;
203
203
  /**
204
204
  * 编辑产品数据
205
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-product-information
205
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-product-information
206
206
  */
207
207
  editGoods(params: EditGoodsParams): Promise<EditGoodsResponse>;
208
208
  /**
209
209
  * 编辑出库单信息
210
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-an-issue-ticket
210
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-an-issue-ticket
211
211
  */
212
212
  editOutstock(params: EditOutstockParams): Promise<EditOutstockResponse>;
213
213
  /**
214
214
  * 编辑入库单数据
215
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-shipment-record
215
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-shipment-record
216
216
  */
217
217
  editIntostock(params: EditIntostockParams): Promise<EditIntostockResponse>;
218
218
  /**
219
219
  * 生产单
220
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-production-order
220
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-production-order
221
221
  */
222
222
  editProduction(params: EditProductionParams): Promise<EditProductionResponse>;
223
223
  /**
224
224
  * 采购单
225
- * @see https://developers.dingtalk.com/document/isvapp/edit-purchase-order
225
+ * @see https://open.dingtalk.com/document/isvapp/edit-purchase-order
226
226
  */
227
227
  editPurchase(params: EditPurchaseParams): Promise<EditPurchaseResponse>;
228
228
  /**
229
229
  * 合同订单
230
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-contract-orders
230
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-contract-orders
231
231
  */
232
232
  editOrder(params: EditOrderParams): Promise<EditOrderResponse>;
233
233
  /**
234
234
  * 发货单
235
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-invoices
235
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-invoices
236
236
  */
237
237
  editInvoice(params: EditInvoiceParams): Promise<EditInvoiceResponse>;
238
238
  /**
239
239
  * 客户资料
240
- * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-customer-profile
240
+ * @see https://open.dingtalk.com/document/isvapp/add-or-edit-customer-profile
241
241
  */
242
242
  editCustomer(params: EditCustomerParams): Promise<EditCustomerResponse>;
243
243
  /**
244
244
  * 获取数据详情
245
- * @see https://developers.dingtalk.com/document/isvapp/queries-data-details
245
+ * @see https://open.dingtalk.com/document/isvapp/queries-data-details
246
246
  */
247
247
  getDataView(query: GetDataViewQuery): Promise<GetDataViewResponse>;
248
248
  /**
249
249
  * 获取数据列表
250
- * @see https://developers.dingtalk.com/document/isvapp/obtain-the-data-list
250
+ * @see https://open.dingtalk.com/document/isvapp/obtain-the-data-list
251
251
  */
252
252
  getDataList(query: GetDataListQuery): Promise<GetDataListResponse>;
253
253
  }
package/lib/api/link.d.ts CHANGED
@@ -50,22 +50,22 @@ declare module '../internal' {
50
50
  interface Internal {
51
51
  /**
52
52
  * 获取用户关注状态
53
- * @see https://developers.dingtalk.com/document/orgapp/obtain-the-attention-status-of-the-user-service-window
53
+ * @see https://open.dingtalk.com/document/orgapp/obtain-the-attention-status-of-the-user-service-window
54
54
  */
55
55
  getUserFollowStatus(query: GetUserFollowStatusQuery): Promise<GetUserFollowStatusResponse>;
56
56
  /**
57
57
  * 获取企业下服务窗帐号列表
58
- * @see https://developers.dingtalk.com/document/orgapp/queries-the-list-of-services-under-an-enterprise
58
+ * @see https://open.dingtalk.com/document/orgapp/queries-the-list-of-services-under-an-enterprise
59
59
  */
60
60
  listAccount(): Promise<ListAccountResponse>;
61
61
  /**
62
62
  * 批量获取关注服务窗用户信息
63
- * @see https://developers.dingtalk.com/document/orgapp/obtains-the-follower-information-from-the-service-window
63
+ * @see https://open.dingtalk.com/document/orgapp/obtains-the-follower-information-from-the-service-window
64
64
  */
65
65
  listFollower(query: ListFollowerQuery): Promise<ListFollowerResponse>;
66
66
  /**
67
67
  * 获取服务窗关注人信息
68
- * @see https://developers.dingtalk.com/document/orgapp/queries-the-follower-information-of-the-service-window
68
+ * @see https://open.dingtalk.com/document/orgapp/queries-the-follower-information-of-the-service-window
69
69
  */
70
70
  getFollowerInfo(query: GetFollowerInfoQuery): Promise<GetFollowerInfoResponse>;
71
71
  }
package/lib/api/live.d.ts CHANGED
@@ -99,32 +99,32 @@ declare module '../internal' {
99
99
  interface Internal {
100
100
  /**
101
101
  * 删除直播
102
- * @see https://developers.dingtalk.com/document/isvapp/delete-live-streaming
102
+ * @see https://open.dingtalk.com/document/isvapp/delete-live-streaming
103
103
  */
104
104
  deleteLive(query: DeleteLiveQuery): Promise<DeleteLiveResponse>;
105
105
  /**
106
106
  * 查询直播观看人员信息
107
- * @see https://developers.dingtalk.com/document/isvapp/queries-the-viewing-information-of-viewers
107
+ * @see https://open.dingtalk.com/document/isvapp/queries-the-viewing-information-of-viewers
108
108
  */
109
109
  queryLiveWatchUserList(query: QueryLiveWatchUserListQuery): Promise<QueryLiveWatchUserListResponse>;
110
110
  /**
111
111
  * 获取直播的观看数据
112
- * @see https://developers.dingtalk.com/document/orgapp/queries-the-playback-data-of-a-live-stream
112
+ * @see https://open.dingtalk.com/document/orgapp/queries-the-playback-data-of-a-live-stream
113
113
  */
114
114
  queryLiveWatchDetail(query: QueryLiveWatchDetailQuery): Promise<QueryLiveWatchDetailResponse>;
115
115
  /**
116
116
  * 修改直播属性信息
117
- * @see https://developers.dingtalk.com/document/isvapp/modify-live-streaming
117
+ * @see https://open.dingtalk.com/document/isvapp/modify-live-streaming
118
118
  */
119
119
  updateLive(params: UpdateLiveParams): Promise<UpdateLiveResponse>;
120
120
  /**
121
121
  * 创建直播
122
- * @see https://developers.dingtalk.com/document/isvapp/create-live-streaming
122
+ * @see https://open.dingtalk.com/document/isvapp/create-live-streaming
123
123
  */
124
124
  createLive(params: CreateLiveParams): Promise<CreateLiveResponse>;
125
125
  /**
126
126
  * 查询直播详情
127
- * @see https://developers.dingtalk.com/document/isvapp/queries-the-live-streaming-information
127
+ * @see https://open.dingtalk.com/document/isvapp/queries-the-live-streaming-information
128
128
  */
129
129
  queryLiveInfo(query: QueryLiveInfoQuery): Promise<QueryLiveInfoResponse>;
130
130
  }