From 0afad339387fd1f491f68c28cae89c6a62dc89bf Mon Sep 17 00:00:00 2001 From: Shigma Date: Mon, 2 Oct 2023 02:28:22 +0800 Subject: [PATCH] chore: dingtalk api redirection --- adapters/dingtalk/src/api/alitrip.ts | 24 +- adapters/dingtalk/src/api/attendance.ts | 6 +- adapters/dingtalk/src/api/badge.ts | 16 +- adapters/dingtalk/src/api/blackboard.ts | 2 +- adapters/dingtalk/src/api/calendar.ts | 56 ++--- adapters/dingtalk/src/api/card.ts | 12 +- adapters/dingtalk/src/api/conference.ts | 46 ++-- adapters/dingtalk/src/api/connector.ts | 6 +- adapters/dingtalk/src/api/contact.ts | 4 +- adapters/dingtalk/src/api/convFile.ts | 8 +- adapters/dingtalk/src/api/crm.ts | 56 ++--- adapters/dingtalk/src/api/customerService.ts | 8 +- adapters/dingtalk/src/api/datacenter.ts | 52 ++-- adapters/dingtalk/src/api/devicemng.ts | 10 +- adapters/dingtalk/src/api/diot.ts | 2 +- adapters/dingtalk/src/api/doc.ts | 16 +- adapters/dingtalk/src/api/drive.ts | 8 +- adapters/dingtalk/src/api/edu.ts | 10 +- adapters/dingtalk/src/api/esign.ts | 4 +- adapters/dingtalk/src/api/exclusive.ts | 28 +-- adapters/dingtalk/src/api/h3yun.ts | 40 +-- adapters/dingtalk/src/api/hrm.ts | 18 +- adapters/dingtalk/src/api/im.ts | 74 +++--- adapters/dingtalk/src/api/industry.ts | 10 +- adapters/dingtalk/src/api/jzcrm.ts | 26 +- adapters/dingtalk/src/api/link.ts | 8 +- adapters/dingtalk/src/api/live.ts | 12 +- adapters/dingtalk/src/api/microApp.ts | 24 +- adapters/dingtalk/src/api/oapi.ts | 252 +++++++++---------- adapters/dingtalk/src/api/oauth2.ts | 14 +- adapters/dingtalk/src/api/pedia.ts | 12 +- adapters/dingtalk/src/api/project.ts | 100 ++++---- adapters/dingtalk/src/api/resident.ts | 12 +- adapters/dingtalk/src/api/robot.ts | 28 +-- adapters/dingtalk/src/api/rooms.ts | 24 +- adapters/dingtalk/src/api/serviceGroup.ts | 16 +- adapters/dingtalk/src/api/storage.ts | 102 ++++---- adapters/dingtalk/src/api/swform.ts | 6 +- adapters/dingtalk/src/api/todo.ts | 10 +- adapters/dingtalk/src/api/wiki.ts | 12 +- adapters/dingtalk/src/api/workbench.ts | 6 +- adapters/dingtalk/src/api/yida.ts | 120 ++++----- 42 files changed, 650 insertions(+), 650 deletions(-) diff --git a/adapters/dingtalk/src/api/alitrip.ts b/adapters/dingtalk/src/api/alitrip.ts index 819e643d..45ed04ce 100644 --- a/adapters/dingtalk/src/api/alitrip.ts +++ b/adapters/dingtalk/src/api/alitrip.ts @@ -381,84 +381,84 @@ declare module '../internal' { interface Internal { /** * 查询商旅火车票结算记账数据 - * @see https://developers.dingtalk.com/document/isvapp/business-travel-train-ticket-settlement-bookkeeping-query-interface + * @see https://open.dingtalk.com/document/isvapp/business-travel-train-ticket-settlement-bookkeeping-query-interface */ billSettementBtripTrain( query: BillSettementBtripTrainQuery, ): Promise /** * 查询酒店结算记账数据 - * @see https://developers.dingtalk.com/document/isvapp/hotel-settlement-bookkeeping-query-interface + * @see https://open.dingtalk.com/document/isvapp/hotel-settlement-bookkeeping-query-interface */ billSettementHotel( query: BillSettementHotelQuery, ): Promise /** * 查询用车结算记账记录 - * @see https://developers.dingtalk.com/document/isvapp/query-interface-for-vehicle-settlement-and-bookkeeping + * @see https://open.dingtalk.com/document/isvapp/query-interface-for-vehicle-settlement-and-bookkeeping */ billSettementCar( query: BillSettementCarQuery, ): Promise /** * 查询机票结算记账数据 - * @see https://developers.dingtalk.com/document/isvapp/ticket-settlement-bookkeeping-query-interface + * @see https://open.dingtalk.com/document/isvapp/ticket-settlement-bookkeeping-query-interface */ billSettementFlight( query: BillSettementFlightQuery, ): Promise /** * 搜索第三方机票超标审批单 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-flight-get + * @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-flight-get */ getFlightExceedApply( query: GetFlightExceedApplyQuery, ): Promise /** * 关联单号查询相关订单信息列表 - * @see https://developers.dingtalk.com/document/isvapp/link-no-to-query-the-list-of-related-order-information + * @see https://open.dingtalk.com/document/isvapp/link-no-to-query-the-list-of-related-order-information */ queryUnionOrder( query: QueryUnionOrderQuery, ): Promise /** * 搜索第三方火车票超标审批单 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-train-get + * @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-train-get */ getTrainExceedApply( query: GetTrainExceedApplyQuery, ): Promise /** * 搜索第三方酒店超标审批单 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-hotel-get + * @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-hotel-get */ getHotelExceedApply( query: GetHotelExceedApplyQuery, ): Promise /** * 同步超标审批结果 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-sync + * @see https://open.dingtalk.com/document/isvapp/dingtalk-oapi-alitrip-btrip-exceedapply-sync */ syncExceedApply( query: SyncExceedApplyQuery, ): Promise /** * 查询市内用车申请单 - * @see https://developers.dingtalk.com/document/isvapp/query-the-application-form-for-third-party-vehicles-in-the-city + * @see https://open.dingtalk.com/document/isvapp/query-the-application-form-for-third-party-vehicles-in-the-city */ queryCityCarApply( query: QueryCityCarApplyQuery, ): Promise /** * 审批市内用车申请单 - * @see https://developers.dingtalk.com/document/isvapp/approval-of-third-party-city-car-application-form + * @see https://open.dingtalk.com/document/isvapp/approval-of-third-party-city-car-application-form */ approveCityCarApply( params: ApproveCityCarApplyParams, ): Promise /** * 同步市内用车申请单 - * @see https://developers.dingtalk.com/document/isvapp/synchronize-third-party-city-vehicle-approval-form + * @see https://open.dingtalk.com/document/isvapp/synchronize-third-party-city-vehicle-approval-form */ addCityCarApply( params: AddCityCarApplyParams, diff --git a/adapters/dingtalk/src/api/attendance.ts b/adapters/dingtalk/src/api/attendance.ts index 1582ad65..568f63e8 100644 --- a/adapters/dingtalk/src/api/attendance.ts +++ b/adapters/dingtalk/src/api/attendance.ts @@ -60,19 +60,19 @@ declare module '../internal' { interface Internal { /** * 获取补卡规则列表 - * @see https://developers.dingtalk.com/document/isvapp/retrieve-a-list-of-replenishment-rules-by-page + * @see https://open.dingtalk.com/document/isvapp/retrieve-a-list-of-replenishment-rules-by-page */ getAdjustments(query: GetAdjustmentsQuery): Promise /** * 加班规则列表 - * @see https://developers.dingtalk.com/document/isvapp/retrieve-a-list-of-overtime-rules-by-page + * @see https://open.dingtalk.com/document/isvapp/retrieve-a-list-of-overtime-rules-by-page */ getSimpleOvertimeSetting( query: GetSimpleOvertimeSettingQuery, ): Promise /** * 批量获取加班规则设置 - * @see https://developers.dingtalk.com/document/isvapp/batch-retrieve-overtime-rules + * @see https://open.dingtalk.com/document/isvapp/batch-retrieve-overtime-rules */ getOvertimeSetting( params: GetOvertimeSettingParams, diff --git a/adapters/dingtalk/src/api/badge.ts b/adapters/dingtalk/src/api/badge.ts index e7ea8bc4..d4b8f0e0 100644 --- a/adapters/dingtalk/src/api/badge.ts +++ b/adapters/dingtalk/src/api/badge.ts @@ -227,56 +227,56 @@ declare module '../internal' { interface Internal { /** * 钉工牌通知消息 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-badge-notification-message + * @see https://open.dingtalk.com/document/isvapp/dingtalk-badge-notification-message */ createBadgeNotify( params: CreateBadgeNotifyParams, ): Promise /** * 通知钉工牌码验证结果 - * @see https://developers.dingtalk.com/document/isvapp/notification-dingtalk-badge-verification-result + * @see https://open.dingtalk.com/document/isvapp/notification-dingtalk-badge-verification-result */ notifyBadgeCodeVerifyResult( params: NotifyBadgeCodeVerifyResultParams, ): Promise /** * 配置企业钉工牌 - * @see https://developers.dingtalk.com/document/isvapp/save-dingtalk-enterprise-instance + * @see https://open.dingtalk.com/document/isvapp/save-dingtalk-enterprise-instance */ saveBadgeCodeCorpInstance( params: SaveBadgeCodeCorpInstanceParams, ): Promise /** * 通知支付结果 - * @see https://developers.dingtalk.com/document/isvapp/sync-dingtalk-badge-code-payment-result + * @see https://open.dingtalk.com/document/isvapp/sync-dingtalk-badge-code-payment-result */ notifyBadgeCodePayResult( params: NotifyBadgeCodePayResultParams, ): Promise /** * 创建钉工牌电子码 - * @see https://developers.dingtalk.com/document/isvapp/create-a-badge-user-instance + * @see https://open.dingtalk.com/document/isvapp/create-a-badge-user-instance */ createBadgeCodeUserInstance( params: CreateBadgeCodeUserInstanceParams, ): Promise /** * 通知退款结果 - * @see https://developers.dingtalk.com/document/isvapp/notification-dingtalk-badge-code-refund-result + * @see https://open.dingtalk.com/document/isvapp/notification-dingtalk-badge-code-refund-result */ notifyBadgeCodeRefundResult( params: NotifyBadgeCodeRefundResultParams, ): Promise /** * 更新钉工牌电子码 - * @see https://developers.dingtalk.com/document/isvapp/update-dingtalk-user-instance + * @see https://open.dingtalk.com/document/isvapp/update-dingtalk-user-instance */ updateBadgeCodeUserInstance( params: UpdateBadgeCodeUserInstanceParams, ): Promise /** * 解码钉工牌电子码 - * @see https://developers.dingtalk.com/document/isvapp/stack-dingtalk-badge + * @see https://open.dingtalk.com/document/isvapp/stack-dingtalk-badge */ decodeBadgeCode( params: DecodeBadgeCodeParams, diff --git a/adapters/dingtalk/src/api/blackboard.ts b/adapters/dingtalk/src/api/blackboard.ts index eb79700d..355b5c27 100644 --- a/adapters/dingtalk/src/api/blackboard.ts +++ b/adapters/dingtalk/src/api/blackboard.ts @@ -19,7 +19,7 @@ declare module '../internal' { interface Internal { /** * 获取公告钉盘空间信息 - * @see https://developers.dingtalk.com/document/app/obtain-bulletin-nail-disk-space-information + * @see https://open.dingtalk.com/document/app/obtain-bulletin-nail-disk-space-information */ queryBlackboardSpace( query: QueryBlackboardSpaceQuery, diff --git a/adapters/dingtalk/src/api/calendar.ts b/adapters/dingtalk/src/api/calendar.ts index abacc708..b407296c 100644 --- a/adapters/dingtalk/src/api/calendar.ts +++ b/adapters/dingtalk/src/api/calendar.ts @@ -167,7 +167,7 @@ export interface ListCalendarsResponse { } export interface GetScheduleParams { - /** 查询目标用户的unionId,可通过[根据userid获取用户详情](https://developers.dingtalk.com/document/app/query-user-details)接口获取。 */ + /** 查询目标用户的unionId,可通过[根据userid获取用户详情](https://open.dingtalk.com/document/app/query-user-details)接口获取。 */ userIds: string[] /** 查询的开始时间。 */ startTime: string @@ -584,7 +584,7 @@ declare module '../internal' { interface Internal { /** * 查询会议室忙闲 - * @see https://developers.dingtalk.com/document/isvapp/queries-free-and-busy-meeting-room-information + * @see https://open.dingtalk.com/document/isvapp/queries-free-and-busy-meeting-room-information */ getMeetingRoomsSchedule( userId: string, @@ -592,7 +592,7 @@ declare module '../internal' { ): Promise /** * 添加会议室 - * @see https://developers.dingtalk.com/document/app/add-a-meeting-room + * @see https://open.dingtalk.com/document/app/add-a-meeting-room */ addMeetingRooms( userId: string, @@ -602,7 +602,7 @@ declare module '../internal' { ): Promise /** * 删除会议室 - * @see https://developers.dingtalk.com/document/isvapp/cancel-a-meeting-room-reservation + * @see https://open.dingtalk.com/document/isvapp/cancel-a-meeting-room-reservation */ removeMeetingRooms( userId: string, @@ -612,7 +612,7 @@ declare module '../internal' { ): Promise /** * 取消订阅公共日历 - * @see https://developers.dingtalk.com/document/orgapp/unsubscribe-from-a-public-calendar + * @see https://open.dingtalk.com/document/orgapp/unsubscribe-from-a-public-calendar */ unsubscribeCalendar( userId: string, @@ -620,7 +620,7 @@ declare module '../internal' { ): Promise /** * 删除订阅日历 - * @see https://developers.dingtalk.com/document/isvapp/delete-subscription-calendar + * @see https://open.dingtalk.com/document/isvapp/delete-subscription-calendar */ deleteSubscribedCalendar( userId: string, @@ -628,7 +628,7 @@ declare module '../internal' { ): Promise /** * 查询单个订阅日历详情 - * @see https://developers.dingtalk.com/document/isvapp/query-a-single-subscription-calendar + * @see https://open.dingtalk.com/document/isvapp/query-a-single-subscription-calendar */ getSubscribedCalendar( userId: string, @@ -636,7 +636,7 @@ declare module '../internal' { ): Promise /** * 创建订阅日历 - * @see https://developers.dingtalk.com/document/isvapp/create-subscription-calendar + * @see https://open.dingtalk.com/document/isvapp/create-subscription-calendar */ createSubscribedCalendar( userId: string, @@ -644,7 +644,7 @@ declare module '../internal' { ): Promise /** * 针对单个日程进行签退 - * @see https://developers.dingtalk.com/document/isvapp/sign-off-for-a-single-schedule + * @see https://open.dingtalk.com/document/isvapp/sign-off-for-a-single-schedule */ signOut( userId: string, @@ -653,7 +653,7 @@ declare module '../internal' { ): Promise /** * 查看单个日程的签退详情 - * @see https://developers.dingtalk.com/document/isvapp/view-the-billing-details-of-a-single-schedule + * @see https://open.dingtalk.com/document/isvapp/view-the-billing-details-of-a-single-schedule */ getSignOutList( userId: string, @@ -663,12 +663,12 @@ declare module '../internal' { ): Promise /** * 订阅公共日历 - * @see https://developers.dingtalk.com/document/orgapp/subscribe-to-a-public-calendar + * @see https://open.dingtalk.com/document/orgapp/subscribe-to-a-public-calendar */ subscribeCalendar(userId: string, calendarId: string): Promise /** * 获取日程参与者 - * @see https://developers.dingtalk.com/document/isvapp/query-schedule-participants + * @see https://open.dingtalk.com/document/isvapp/query-schedule-participants */ listAttendees( userId: string, @@ -678,7 +678,7 @@ declare module '../internal' { ): Promise /** * 针对单个日程进行签到 - * @see https://developers.dingtalk.com/document/orgapp-server/sign-in-for-a-single-schedule + * @see https://open.dingtalk.com/document/orgapp-server/sign-in-for-a-single-schedule */ signIn( userId: string, @@ -687,17 +687,17 @@ declare module '../internal' { ): Promise /** * 获取访问控制列表 - * @see https://developers.dingtalk.com/document/personalapp/get-access-control-list + * @see https://open.dingtalk.com/document/personalapp/get-access-control-list */ listAcls(userId: string, calendarId: string): Promise /** * 删除访问控制 - * @see https://developers.dingtalk.com/document/personalapp/delete-access-control + * @see https://open.dingtalk.com/document/personalapp/delete-access-control */ deleteAcl(userId: string, calendarId: string, aclId: string): Promise /** * 创建访问控制 - * @see https://developers.dingtalk.com/document/personalapp/create-access-control + * @see https://open.dingtalk.com/document/personalapp/create-access-control */ createAcls( userId: string, @@ -706,7 +706,7 @@ declare module '../internal' { ): Promise /** * 查看单个日程的签到详情 - * @see https://developers.dingtalk.com/document/isvapp/view-the-check-in-details-of-a-single-schedule + * @see https://open.dingtalk.com/document/isvapp/view-the-check-in-details-of-a-single-schedule */ getSignInList( userId: string, @@ -716,12 +716,12 @@ declare module '../internal' { ): Promise /** * 查询日历 - * @see https://developers.dingtalk.com/document/isvapp/query-the-calendar + * @see https://open.dingtalk.com/document/isvapp/query-the-calendar */ listCalendars(userId: string): Promise /** * 获取用户忙闲信息 - * @see https://developers.dingtalk.com/document/isvapp/free-schedule + * @see https://open.dingtalk.com/document/isvapp/free-schedule */ getSchedule( userId: string, @@ -729,7 +729,7 @@ declare module '../internal' { ): Promise /** * 查询日程列表 - * @see https://developers.dingtalk.com/document/personalapp/query-an-event-list-1 + * @see https://open.dingtalk.com/document/personalapp/query-an-event-list-1 */ listEvents( userId: string, @@ -738,7 +738,7 @@ declare module '../internal' { ): Promise /** * 查询日程列表 - * @see https://developers.dingtalk.com/document/personalapp/query-a-single-schedule + * @see https://open.dingtalk.com/document/personalapp/query-a-single-schedule */ getEvent( userId: string, @@ -748,7 +748,7 @@ declare module '../internal' { ): Promise /** * 新增日程参与人 - * @see https://developers.dingtalk.com/document/isvapp/add-schedule-participant + * @see https://open.dingtalk.com/document/isvapp/add-schedule-participant */ addAttendee( userId: string, @@ -758,7 +758,7 @@ declare module '../internal' { ): Promise /** * 删除日程参与人 - * @see https://developers.dingtalk.com/document/isvapp/delete-schedule-participant + * @see https://open.dingtalk.com/document/isvapp/delete-schedule-participant */ removeAttendee( userId: string, @@ -768,7 +768,7 @@ declare module '../internal' { ): Promise /** * 删除指定日程 - * @see https://developers.dingtalk.com/document/isvapp/delete-schedule + * @see https://open.dingtalk.com/document/isvapp/delete-schedule */ deleteEvent( userId: string, @@ -777,7 +777,7 @@ declare module '../internal' { ): Promise /** * 创建日程 - * @see https://developers.dingtalk.com/document/personalapp/create-schedule + * @see https://open.dingtalk.com/document/personalapp/create-schedule */ createEvent( userId: string, @@ -786,7 +786,7 @@ declare module '../internal' { ): Promise /** * 查询日程视图列表以查看闲忙,展开循环日程 - * @see https://developers.dingtalk.com/document/personalapp/query-schedule-view-1 + * @see https://open.dingtalk.com/document/personalapp/query-schedule-view-1 */ listEventsView( userId: string, @@ -795,7 +795,7 @@ declare module '../internal' { ): Promise /** * 回复日程邀请 - * @see https://developers.dingtalk.com/document/isvapp/participants-respond-to-schedule-invitations + * @see https://open.dingtalk.com/document/isvapp/participants-respond-to-schedule-invitations */ respondEvent( userId: string, @@ -805,7 +805,7 @@ declare module '../internal' { ): Promise /** * 修改日程 - * @see https://developers.dingtalk.com/document/personalapp/modify-schedule + * @see https://open.dingtalk.com/document/personalapp/modify-schedule */ patchEvent( userId: string, diff --git a/adapters/dingtalk/src/api/card.ts b/adapters/dingtalk/src/api/card.ts index 8fed6b31..22d73f95 100644 --- a/adapters/dingtalk/src/api/card.ts +++ b/adapters/dingtalk/src/api/card.ts @@ -179,36 +179,36 @@ declare module '../internal' { interface Internal { /** * 更新卡片 - * @see https://developers.dingtalk.com/document/orgapp/interactive-card-update-interface + * @see https://open.dingtalk.com/document/orgapp/interactive-card-update-interface */ updateCard(params: UpdateCardParams): Promise /** * 创建卡片 - * @see https://developers.dingtalk.com/document/orgapp/interface-for-creating-a-card-instance + * @see https://open.dingtalk.com/document/orgapp/interface-for-creating-a-card-instance */ createCard(params: CreateCardParams): Promise /** * 创建并投放卡片 - * @see https://developers.dingtalk.com/document/orgapp/create-and-deliver-cards + * @see https://open.dingtalk.com/document/orgapp/create-and-deliver-cards */ createAndDeliver( params: CreateAndDeliverParams, ): Promise /** * 注册卡片回调地址 - * @see https://developers.dingtalk.com/document/orgapp/register-card-callback-address + * @see https://open.dingtalk.com/document/orgapp/register-card-callback-address */ registerCallback( params: RegisterCallbackParams, ): Promise /** * 新增或更新卡片的场域信息 - * @see https://developers.dingtalk.com/document/orgapp/add-field-interface + * @see https://open.dingtalk.com/document/orgapp/add-field-interface */ appendSpace(params: AppendSpaceParams): Promise /** * 投放卡片 - * @see https://developers.dingtalk.com/document/isvapp/delivery-card-interface + * @see https://open.dingtalk.com/document/isvapp/delivery-card-interface */ deliverCard(params: DeliverCardParams): Promise } diff --git a/adapters/dingtalk/src/api/conference.ts b/adapters/dingtalk/src/api/conference.ts index 2101009c..11a09d4f 100644 --- a/adapters/dingtalk/src/api/conference.ts +++ b/adapters/dingtalk/src/api/conference.ts @@ -143,7 +143,7 @@ export interface StopStreamOutParams { streamId: string /** 是否停止所有流,为true时**streamId**参数无效。 */ stopAllStream: unknown - /** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://developers.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ + /** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ unionId: string } @@ -152,7 +152,7 @@ export interface StopStreamOutResponse { } export interface StartStreamOutParams { - /** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://developers.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ + /** 用户unionId,可以调用[通过免登码获取用户信息(v2)](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ unionId: string /** 是否需要主持人加入后才允许推流。 */ needHostJoin: unknown @@ -400,7 +400,7 @@ declare module '../internal' { interface Internal { /** * 邀请其他人员 - * @see https://developers.dingtalk.com/document/orgapp/invite-users-to-join + * @see https://open.dingtalk.com/document/orgapp/invite-users-to-join */ inviteUsers( conferenceId: string, @@ -408,12 +408,12 @@ declare module '../internal' { ): Promise /** * 设置全员看他 - * @see https://developers.dingtalk.com/document/orgapp/set-the-whole-staff-to-see-him + * @see https://open.dingtalk.com/document/orgapp/set-the-whole-staff-to-see-him */ focus(conferenceId: string, params: FocusParams): Promise /** * 设置联席主持人 - * @see https://developers.dingtalk.com/document/orgapp/set-up-co-hosts + * @see https://open.dingtalk.com/document/orgapp/set-up-co-hosts */ cohosts( conferenceId: string, @@ -421,7 +421,7 @@ declare module '../internal' { ): Promise /** * 指定人员静音或取消静音 - * @see https://developers.dingtalk.com/document/orgapp/specify-person-to-mute-or-unmute + * @see https://open.dingtalk.com/document/orgapp/specify-person-to-mute-or-unmute */ muteMembers( conferenceId: string, @@ -429,7 +429,7 @@ declare module '../internal' { ): Promise /** * 分页获取预约会议历史会议信息,当前仅返回最后一次的会议信息 - * @see https://developers.dingtalk.com/document/orgapp/query-appointment-meeting-history-meeting-information + * @see https://open.dingtalk.com/document/orgapp/query-appointment-meeting-history-meeting-information */ queryScheduleConferenceInfo( scheduleConferenceId: string, @@ -437,7 +437,7 @@ declare module '../internal' { ): Promise /** * 查询会议录制的详情信息 - * @see https://developers.dingtalk.com/document/isvapp/query-recording-information + * @see https://open.dingtalk.com/document/isvapp/query-recording-information */ queryCloudRecordVideo( conferenceId: string, @@ -445,7 +445,7 @@ declare module '../internal' { ): Promise /** * 查询会议录制中的文本信息 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-text-information-about-cloud-recording + * @see https://open.dingtalk.com/document/isvapp/queries-the-text-information-about-cloud-recording */ queryCloudRecordText( conferenceId: string, @@ -453,7 +453,7 @@ declare module '../internal' { ): Promise /** * 查询会议录制中的视频信息 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-playback-information-about-a-recorded-cloud-video + * @see https://open.dingtalk.com/document/isvapp/queries-the-playback-information-about-a-recorded-cloud-video */ queryCloudRecordVideoPlayInfo( conferenceId: string, @@ -461,7 +461,7 @@ declare module '../internal' { ): Promise /** * 停止视频会议云录制 - * @see https://developers.dingtalk.com/document/isvapp/video-conferencing-stops-cloud-recording + * @see https://open.dingtalk.com/document/isvapp/video-conferencing-stops-cloud-recording */ stopCloudRecord( conferenceId: string, @@ -469,7 +469,7 @@ declare module '../internal' { ): Promise /** * 会议停止直播推流 - * @see https://developers.dingtalk.com/document/orgapp/videoconferencing-stops-live-stream-ingest + * @see https://open.dingtalk.com/document/orgapp/videoconferencing-stops-live-stream-ingest */ stopStreamOut( conferenceId: string, @@ -477,7 +477,7 @@ declare module '../internal' { ): Promise /** * 会议开始直播推流 - * @see https://developers.dingtalk.com/document/orgapp/video-conference-enables-live-stream-ingest + * @see https://open.dingtalk.com/document/orgapp/video-conference-enables-live-stream-ingest */ startStreamOut( conferenceId: string, @@ -485,7 +485,7 @@ declare module '../internal' { ): Promise /** * 开启视频会议云录制 - * @see https://developers.dingtalk.com/document/isvapp/video-conference-open-cloud-recording + * @see https://open.dingtalk.com/document/isvapp/video-conference-open-cloud-recording */ startCloudRecord( conferenceId: string, @@ -493,14 +493,14 @@ declare module '../internal' { ): Promise /** * 批量查询视频会议信息 - * @see https://developers.dingtalk.com/document/isvapp/batch-query-of-video-conference-information + * @see https://open.dingtalk.com/document/isvapp/batch-query-of-video-conference-information */ queryConferenceInfoBatch( params: QueryConferenceInfoBatchParams, ): Promise /** * 关闭视频会议 - * @see https://developers.dingtalk.com/document/isvapp/close-audio-video-conferencing + * @see https://open.dingtalk.com/document/isvapp/close-audio-video-conferencing */ closeVideoConference( conferenceId: string, @@ -508,14 +508,14 @@ declare module '../internal' { ): Promise /** * 创建视频会议 - * @see https://developers.dingtalk.com/document/isvapp/create-a-video-conference + * @see https://open.dingtalk.com/document/isvapp/create-a-video-conference */ createVideoConference( params: CreateVideoConferenceParams, ): Promise /** * 查询视频会议成员 - * @see https://developers.dingtalk.com/document/app/query-video-meeting-member-information + * @see https://open.dingtalk.com/document/app/query-video-meeting-member-information */ queryConferenceMembers( conferenceId: string, @@ -523,21 +523,21 @@ declare module '../internal' { ): Promise /** * 查询视频会议信息 - * @see https://developers.dingtalk.com/document/app/querying-video-conference-information + * @see https://open.dingtalk.com/document/app/querying-video-conference-information */ queryConferenceInfo( conferenceId: string, ): Promise /** * 取消预约会议 - * @see https://developers.dingtalk.com/document/app/cancel-appointment-meeting + * @see https://open.dingtalk.com/document/app/cancel-appointment-meeting */ cancelScheduleConference( params: CancelScheduleConferenceParams, ): Promise /** * 查询预约会议信息 - * @see https://developers.dingtalk.com/document/app/query-meeting-reservation + * @see https://open.dingtalk.com/document/app/query-meeting-reservation */ queryScheduleConference( scheduleConferenceId: string, @@ -545,14 +545,14 @@ declare module '../internal' { ): Promise /** * 更新预约会议 - * @see https://developers.dingtalk.com/document/app/update-appointment-meeting + * @see https://open.dingtalk.com/document/app/update-appointment-meeting */ updateScheduleConference( params: UpdateScheduleConferenceParams, ): Promise /** * 创建预约会议 - * @see https://developers.dingtalk.com/document/app/create-appointment-meeting + * @see https://open.dingtalk.com/document/app/create-appointment-meeting */ createScheduleConference( params: CreateScheduleConferenceParams, diff --git a/adapters/dingtalk/src/api/connector.ts b/adapters/dingtalk/src/api/connector.ts index a4f92f6f..8db89c04 100644 --- a/adapters/dingtalk/src/api/connector.ts +++ b/adapters/dingtalk/src/api/connector.ts @@ -77,7 +77,7 @@ declare module '../internal' { interface Internal { /** * 通过业务主键拉取单条连接器主数据 - * @see https://developers.dingtalk.com/document/connector/pull-a-single-primary-record-based-on-the-business-primary + * @see https://open.dingtalk.com/document/connector/pull-a-single-primary-record-based-on-the-business-primary */ pullDataByPk( dataModelId: string, @@ -85,12 +85,12 @@ declare module '../internal' { ): Promise /** * 分页拉取连接器主数据 - * @see https://developers.dingtalk.com/document/connector/bulk-pull-dingtalk-connector-master-data + * @see https://open.dingtalk.com/document/connector/bulk-pull-dingtalk-connector-master-data */ pullDataByPage(query: PullDataByPageQuery): Promise /** * 同步连接器数据 - * @see https://developers.dingtalk.com/document/connector/dingtalk-connector-data-synchronization-interface + * @see https://open.dingtalk.com/document/connector/dingtalk-connector-data-synchronization-interface */ syncData(params: SyncDataParams): Promise } diff --git a/adapters/dingtalk/src/api/contact.ts b/adapters/dingtalk/src/api/contact.ts index bd6ef295..6910dcab 100644 --- a/adapters/dingtalk/src/api/contact.ts +++ b/adapters/dingtalk/src/api/contact.ts @@ -42,12 +42,12 @@ declare module '../internal' { interface Internal { /** * 查询企业认证信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-enterprise-authentication-information + * @see https://open.dingtalk.com/document/isvapp/obtain-enterprise-authentication-information */ getOrgAuthInfo(query: GetOrgAuthInfoQuery): Promise /** * 批量通过分支组织的关联申请 - * @see https://developers.dingtalk.com/document/isvapp/apply-for-association-with-multiple-branches-in-batch-batch-through-the-application-of-partner-organizations-to-join-contact + * @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 */ batchApproveUnionApply( params: BatchApproveUnionApplyParams, diff --git a/adapters/dingtalk/src/api/convFile.ts b/adapters/dingtalk/src/api/convFile.ts index c1663429..74ffc442 100644 --- a/adapters/dingtalk/src/api/convFile.ts +++ b/adapters/dingtalk/src/api/convFile.ts @@ -135,7 +135,7 @@ declare module '../internal' { interface Internal { /** * 发送文件链接到指定会话 - * @see https://developers.dingtalk.com/document/orgapp/send-a-file-link-to-the-specified-session + * @see https://open.dingtalk.com/document/orgapp/send-a-file-link-to-the-specified-session */ sendLink( query: SendLinkQuery, @@ -143,12 +143,12 @@ declare module '../internal' { ): Promise /** * 发送文件到指定会话 - * @see https://developers.dingtalk.com/document/orgapp/send-file-to-specified-session + * @see https://open.dingtalk.com/document/orgapp/send-file-to-specified-session */ send(query: SendQuery, params: SendParams): Promise /** * 获取IM会话存储空间信息 - * @see https://developers.dingtalk.com/document/orgapp/obtain-group-storage-space-information + * @see https://open.dingtalk.com/document/orgapp/obtain-group-storage-space-information */ convFileGetSpace( query: ConvFileGetSpaceQuery, @@ -156,7 +156,7 @@ declare module '../internal' { ): Promise /** * 以应用身份发送文件给自己 - * @see https://developers.dingtalk.com/document/isvapp/sends-a-storage-file-to-a-specified-user + * @see https://open.dingtalk.com/document/isvapp/sends-a-storage-file-to-a-specified-user */ sendByApp( query: SendByAppQuery, diff --git a/adapters/dingtalk/src/api/crm.ts b/adapters/dingtalk/src/api/crm.ts index ed7adecf..3004eadb 100644 --- a/adapters/dingtalk/src/api/crm.ts +++ b/adapters/dingtalk/src/api/crm.ts @@ -635,35 +635,35 @@ declare module '../internal' { interface Internal { /** * 营销服融合三方全局信息 - * @see https://developers.dingtalk.com/document/isvapp/get-customer-management-global-information + * @see https://open.dingtalk.com/document/isvapp/get-customer-management-global-information */ queryGlobalInfo( query: QueryGlobalInfoQuery, ): Promise /** * 批量修改跟进记录 - * @see https://developers.dingtalk.com/document/orgapp/batch-update-follow-up-record-data + * @see https://open.dingtalk.com/document/orgapp/batch-update-follow-up-record-data */ batchUpdateFollowRecords( params: BatchUpdateFollowRecordsParams, ): Promise /** * 批量新增跟进记录 - * @see https://developers.dingtalk.com/document/orgapp/batch-add-follow-up-record-data + * @see https://open.dingtalk.com/document/orgapp/batch-add-follow-up-record-data */ batchAddFollowRecords( params: BatchAddFollowRecordsParams, ): Promise /** * 批量删除跟进记录 - * @see https://developers.dingtalk.com/document/orgapp/batch-delete-follow-up-record-data + * @see https://open.dingtalk.com/document/orgapp/batch-delete-follow-up-record-data */ batchRemoveFollowRecords( params: BatchRemoveFollowRecordsParams, ): Promise /** * 删除CRM自定义对象数据 - * @see https://developers.dingtalk.com/document/orgapp/delete-crm-custom-object-data + * @see https://open.dingtalk.com/document/orgapp/delete-crm-custom-object-data */ deleteCrmCustomObjectData( instanceId: string, @@ -671,63 +671,63 @@ declare module '../internal' { ): Promise /** * 批量修改联系人 - * @see https://developers.dingtalk.com/document/orgapp/modify-contact-data-in-batches + * @see https://open.dingtalk.com/document/orgapp/modify-contact-data-in-batches */ batchUpdateContacts( params: BatchUpdateContactsParams, ): Promise /** * 批量新增联系人 - * @see https://developers.dingtalk.com/document/orgapp/add-contact-data-in-batches + * @see https://open.dingtalk.com/document/orgapp/add-contact-data-in-batches */ batchAddContacts( params: BatchAddContactsParams, ): Promise /** * 批量新增关系数据 - * @see https://developers.dingtalk.com/document/orgapp/add-multiple-relationship-data-in-batches + * @see https://open.dingtalk.com/document/orgapp/add-multiple-relationship-data-in-batches */ batchAddRelationDatas( params: BatchAddRelationDatasParams, ): Promise /** * 批量修改关系数据 - * @see https://developers.dingtalk.com/document/orgapp/update-multiple-relational-data-tables-at-a-time + * @see https://open.dingtalk.com/document/orgapp/update-multiple-relational-data-tables-at-a-time */ batchUpdateRelationDatas( params: BatchUpdateRelationDatasParams, ): Promise /** * 获取个人客户或企业客户查重字段 - * @see https://developers.dingtalk.com/document/isvapp/obtain-duplicate-check-fields + * @see https://open.dingtalk.com/document/isvapp/obtain-duplicate-check-fields */ getRelationUkSetting( query: GetRelationUkSettingQuery, ): Promise /** * 创建客户群 - * @see https://developers.dingtalk.com/document/isvapp/create-a-customer-group + * @see https://open.dingtalk.com/document/isvapp/create-a-customer-group */ crmCreateGroup( params: CrmCreateGroupParams, ): Promise /** * 批量查询客户群 - * @see https://developers.dingtalk.com/document/isvapp/query-customer-groups-in-batches + * @see https://open.dingtalk.com/document/isvapp/query-customer-groups-in-batches */ getCrmGroupChatMulti( params: GetCrmGroupChatMultiParams, ): Promise /** * 获取单个客户群详情 - * @see https://developers.dingtalk.com/document/isvapp/obtain-a-single-customer-group + * @see https://open.dingtalk.com/document/isvapp/obtain-a-single-customer-group */ getCrmGroupChatSingle( query: GetCrmGroupChatSingleQuery, ): Promise /** * 查询客户数据 - * @see https://developers.dingtalk.com/document/isvapp/querying-customer-data + * @see https://open.dingtalk.com/document/isvapp/querying-customer-data */ queryRelationDatasByTargetId( targetId: string, @@ -735,50 +735,50 @@ declare module '../internal' { ): Promise /** * 查询客户群列表 - * @see https://developers.dingtalk.com/document/isvapp/query-a-list-of-customer-groups + * @see https://open.dingtalk.com/document/isvapp/query-a-list-of-customer-groups */ queryCrmGroupChats( query: QueryCrmGroupChatsQuery, ): Promise /** * 更新客户群组 - * @see https://developers.dingtalk.com/document/orgapp/crm-update-group + * @see https://open.dingtalk.com/document/orgapp/crm-update-group */ crmUpdateGroupSet(params: CrmUpdateGroupSetParams): Promise /** * 查询客户群组列表 - * @see https://developers.dingtalk.com/document/isvapp/query-the-list-of-customer-groups-set + * @see https://open.dingtalk.com/document/isvapp/query-the-list-of-customer-groups-set */ listGroupSet(query: ListGroupSetQuery): Promise /** * 创建群组 - * @see https://developers.dingtalk.com/document/isvapp/create-a-customer-group-set + * @see https://open.dingtalk.com/document/isvapp/create-a-customer-group-set */ createGroupSet( params: CreateGroupSetParams, ): Promise /** * 获取单个客户群组详情 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-details-of-a-single-customer-group + * @see https://open.dingtalk.com/document/isvapp/queries-the-details-of-a-single-customer-group */ getGroupSet(query: GetGroupSetQuery): Promise /** * 更新crm个人客户(或企业客户) - * @see https://developers.dingtalk.com/document/isvapp/update-crm-personal-customers + * @see https://open.dingtalk.com/document/isvapp/update-crm-personal-customers */ updateCrmPersonalCustomer( params: UpdateCrmPersonalCustomerParams, ): Promise /** * 添加crm个人客户(或企业客户) - * @see https://developers.dingtalk.com/document/orgapp/add-crm-personal-customers + * @see https://open.dingtalk.com/document/orgapp/add-crm-personal-customers */ addCrmPersonalCustomer( params: AddCrmPersonalCustomerParams, ): Promise /** * 删除crm个人客户(或企业客户) - * @see https://developers.dingtalk.com/document/orgapp/delete-crm-personal-customer + * @see https://open.dingtalk.com/document/orgapp/delete-crm-personal-customer */ deleteCrmPersonalCustomer( dataId: string, @@ -786,42 +786,42 @@ declare module '../internal' { ): Promise /** * 获取CRM客户对象的元数据描述 - * @see https://developers.dingtalk.com/document/isvapp/get-metadata-description-of-crm-customer-object-1 + * @see https://open.dingtalk.com/document/isvapp/get-metadata-description-of-crm-customer-object-1 */ describeCrmPersonalCustomerObjectMeta( query: DescribeCrmPersonalCustomerObjectMetaQuery, ): Promise /** * 批量获取crm个人客户 - * @see https://developers.dingtalk.com/document/isvapp/acquire-crm-individual-customers-in-batches + * @see https://open.dingtalk.com/document/isvapp/acquire-crm-individual-customers-in-batches */ listCrmPersonalCustomers( query: ListCrmPersonalCustomersQuery, ): Promise /** * 根据指定查询条件批量获取客户数据 - * @see https://developers.dingtalk.com/document/isvapp/obtains-crm-individual-customers-in-batches-based-on-specified-query + * @see https://open.dingtalk.com/document/isvapp/obtains-crm-individual-customers-in-batches-based-on-specified-query */ queryCrmPersonalCustomer( query: QueryCrmPersonalCustomerQuery, ): Promise /** * 获取全量个人或企业客户数据 - * @see https://developers.dingtalk.com/document/orgapp/crm-obtains-all-private-sea-customer-data + * @see https://open.dingtalk.com/document/orgapp/crm-obtains-all-private-sea-customer-data */ queryAllCustomer( params: QueryAllCustomerParams, ): Promise /** * 服务窗单发接口,指定消息接收人发送 - * @see https://developers.dingtalk.com/document/isvapp/sends-a-single-message-from-the-service-window + * @see https://open.dingtalk.com/document/isvapp/sends-a-single-message-from-the-service-window */ sendOfficialAccountOTOMessage( params: SendOfficialAccountOTOMessageParams, ): Promise /** * 服务窗消息群发 - * @see https://developers.dingtalk.com/document/isvapp/batch-sending-of-service-window-messages + * @see https://open.dingtalk.com/document/isvapp/batch-sending-of-service-window-messages */ batchSendOfficialAccountOTOMessage( params: BatchSendOfficialAccountOTOMessageParams, diff --git a/adapters/dingtalk/src/api/customerService.ts b/adapters/dingtalk/src/api/customerService.ts index 68c29079..f2c73f05 100644 --- a/adapters/dingtalk/src/api/customerService.ts +++ b/adapters/dingtalk/src/api/customerService.ts @@ -128,7 +128,7 @@ declare module '../internal' { interface Internal { /** * 执行工单活动 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-customer-service-execute-work-order-activities + * @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-execute-work-order-activities */ executeActivity( ticketId: string, @@ -136,7 +136,7 @@ declare module '../internal' { ): Promise /** * 查询动作记录 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-customer-service-query-action-records + * @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-query-action-records */ pageListAction( ticketId: string, @@ -144,12 +144,12 @@ declare module '../internal' { ): Promise /** * 分页查询工单 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-customer-service-paging-query-work-order + * @see https://open.dingtalk.com/document/isvapp/intelligent-customer-service-paging-query-work-order */ pageListTicket(query: PageListTicketQuery): Promise /** * 创建自助单 - * @see https://developers.dingtalk.com/document/isvapp/smart-customer-service-create-a-self-service-order + * @see https://open.dingtalk.com/document/isvapp/smart-customer-service-create-a-self-service-order */ createTicket(params: CreateTicketParams): Promise } diff --git a/adapters/dingtalk/src/api/datacenter.ts b/adapters/dingtalk/src/api/datacenter.ts index 91e0c633..d5bcafdf 100644 --- a/adapters/dingtalk/src/api/datacenter.ts +++ b/adapters/dingtalk/src/api/datacenter.ts @@ -488,182 +488,182 @@ declare module '../internal' { interface Internal { /** * 数据资产平台数据服务接口 - * @see https://developers.dingtalk.com/document/orgapp-server/data-assets-platform-data-services-apis + * @see https://open.dingtalk.com/document/orgapp-server/data-assets-platform-data-services-apis */ queryGeneralDataService( query: QueryGeneralDataServiceQuery, ): Promise /** * 获取企业用户在线统计数据 - * @see https://developers.dingtalk.com/document/orgapp/retrieve-online-statistics-of-enterprise-users + * @see https://open.dingtalk.com/document/orgapp/retrieve-online-statistics-of-enterprise-users */ queryOnlineUserStatisticalData( query: QueryOnlineUserStatisticalDataQuery, ): Promise /** * 获取企业用户激活状态统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-statistics-on-user-activation-status + * @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-user-activation-status */ queryActiveUserStatisticalData( query: QueryActiveUserStatisticalDataQuery, ): Promise /** * 获取企业员工类型统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-statistics-on-employee-types + * @see https://open.dingtalk.com/document/orgapp/obtains-statistics-on-employee-types */ queryEmployeeTypeStatisticalData( query: QueryEmployeeTypeStatisticalDataQuery, ): Promise /** * 获取企业全员圈统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-statistical-data-of-all-employees-of-an-enterprise + * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistical-data-of-all-employees-of-an-enterprise */ queryCircleStatisticalData( query: QueryCircleStatisticalDataQuery, ): Promise /** * 获取企业单聊统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-statistics-on-one-time-enterprise-chats + * @see https://open.dingtalk.com/document/orgapp/queries-the-statistics-on-one-time-enterprise-chats */ querySingleMessageStatisticalData( query: QuerySingleMessageStatisticalDataQuery, ): Promise /** * 获取企业群聊统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtain-enterprise-group-chat-statistics + * @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-group-chat-statistics */ queryGroupMessageStatisticalData( query: QueryGroupMessageStatisticalDataQuery, ): Promise /** * 获取企业DING发送统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtain-sending-statistics-of-an-enterprise-ding + * @see https://open.dingtalk.com/document/orgapp/obtain-sending-statistics-of-an-enterprise-ding */ queryDingSendStatisticalData( query: QueryDingSendStatisticalDataQuery, ): Promise /** * 获取企业DING接收及评论统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtain-statistics-on-receiving-and-comments-of-enterprise-ding + * @see https://open.dingtalk.com/document/orgapp/obtain-statistics-on-receiving-and-comments-of-enterprise-ding */ queryDingReciveStatisticalData( query: QueryDingReciveStatisticalDataQuery, ): Promise /** * 获取企业视频会议统计数据 - * @see https://developers.dingtalk.com/document/orgapp/get-enterprise-video-conference-statistics + * @see https://open.dingtalk.com/document/orgapp/get-enterprise-video-conference-statistics */ queryVedioMeetingStatisticalData( query: QueryVedioMeetingStatisticalDataQuery, ): Promise /** * 获取企业电话会议统计数据 - * @see https://developers.dingtalk.com/document/orgapp/get-enterprise-teleconference-statistics + * @see https://open.dingtalk.com/document/orgapp/get-enterprise-teleconference-statistics */ queryTelMeetingStatisticalData( query: QueryTelMeetingStatisticalDataQuery, ): Promise /** * 获取企业群直播统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-live-stream-statistics-for-an-enterprise-group + * @see https://open.dingtalk.com/document/orgapp/obtains-the-live-stream-statistics-for-an-enterprise-group */ queryGroupLiveStatisticalData( query: QueryGroupLiveStatisticalDataQuery, ): Promise /** * 获取企业发送红包统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-statistics-on-red-packets-issued-by-enterprises + * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-red-packets-issued-by-enterprises */ queryRedEnvelopeSendStatisticalData( query: QueryRedEnvelopeSendStatisticalDataQuery, ): Promise /** * 获取企业接收红包统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-red-envelope-receiving-statistics-of-an-enterprise + * @see https://open.dingtalk.com/document/orgapp/queries-the-red-envelope-receiving-statistics-of-an-enterprise */ queryRedEnvelopeReciveStatisticalData( query: QueryRedEnvelopeReciveStatisticalDataQuery, ): Promise /** * 获取企业公告统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-corporate-announcement-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-corporate-announcement-statistics */ queryBlackboardStatisticalData( query: QueryBlackboardStatisticalDataQuery, ): Promise /** * 获取企业待办统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-to-do-statistics-of-an-enterprise + * @see https://open.dingtalk.com/document/orgapp/obtains-the-to-do-statistics-of-an-enterprise */ queryTodoStatisticalData( query: QueryTodoStatisticalDataQuery, ): Promise /** * 获取企业钉钉运动统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-dingtalk-movement-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-dingtalk-movement-statistics */ queryHealthStatisticalData( query: QueryHealthStatisticalDataQuery, ): Promise /** * 获取企业文档统计数据 - * @see https://developers.dingtalk.com/document/orgapp/get-enterprise-document-statistics + * @see https://open.dingtalk.com/document/orgapp/get-enterprise-document-statistics */ queryDocumentStatisticalData( query: QueryDocumentStatisticalDataQuery, ): Promise /** * 获取企业签到统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-enterprise-check-in-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-check-in-statistics */ queryCheckinStatisticalData( query: QueryCheckinStatisticalDataQuery, ): Promise /** * 获取企业审批统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-enterprise-approval-statistics + * @see https://open.dingtalk.com/document/orgapp/obtains-enterprise-approval-statistics */ queryApprovalStatisticalData( query: QueryApprovalStatisticalDataQuery, ): Promise /** * 获取企业日志统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtain-enterprise-log-statistics + * @see https://open.dingtalk.com/document/orgapp/obtain-enterprise-log-statistics */ queryReportStatisticalData( query: QueryReportStatisticalDataQuery, ): Promise /** * 获取企业考勤统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-enterprise-attendance-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-attendance-statistics */ queryAttendanceStatisticalData( query: QueryAttendanceStatisticalDataQuery, ): Promise /** * 获取企业钉盘统计数据 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-statistics-on-enterprise-dingtalk-trays + * @see https://open.dingtalk.com/document/orgapp/obtains-the-statistics-on-enterprise-dingtalk-trays */ queryDriveStatisticalData( query: QueryDriveStatisticalDataQuery, ): Promise /** * 获取企业邮箱统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-enterprise-email-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-email-statistics */ queryMailStatisticalData( query: QueryMailStatisticalDataQuery, ): Promise /** * 获取企业日程统计数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-enterprise-schedule-statistics + * @see https://open.dingtalk.com/document/orgapp/queries-enterprise-schedule-statistics */ queryCalendarStatisticalData( query: QueryCalendarStatisticalDataQuery, ): Promise /** * 获取数字区县组织信息 - * @see https://developers.dingtalk.com/document/orgapp/querydigitaldistrictorginfo-api-reference + * @see https://open.dingtalk.com/document/orgapp/querydigitaldistrictorginfo-api-reference */ queryDigitalDistrictOrgInfo( params: QueryDigitalDistrictOrgInfoParams, diff --git a/adapters/dingtalk/src/api/devicemng.ts b/adapters/dingtalk/src/api/devicemng.ts index 5766cb70..0d552d5e 100644 --- a/adapters/dingtalk/src/api/devicemng.ts +++ b/adapters/dingtalk/src/api/devicemng.ts @@ -165,35 +165,35 @@ declare module '../internal' { interface Internal { /** * 获取报修信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-repair-report-record + * @see https://open.dingtalk.com/document/isvapp/obtain-the-repair-report-record */ listMaintainInfo( params: ListMaintainInfoParams, ): Promise /** * 获取巡检、保养记录 - * @see https://developers.dingtalk.com/document/isvapp/obtain-inspection-and-maintenance-records + * @see https://open.dingtalk.com/document/isvapp/obtain-inspection-and-maintenance-records */ listInspectInfo( params: ListInspectInfoParams, ): Promise /** * 查询激活的设备信息 - * @see https://developers.dingtalk.com/document/isvapp/query-information-about-a-registered-device + * @see https://open.dingtalk.com/document/isvapp/query-information-about-a-registered-device */ listActivateDevices( query: ListActivateDevicesQuery, ): Promise /** * 批量注册与激活设备 - * @see https://developers.dingtalk.com/document/isvapp/register-and-activate-devices-in-batches + * @see https://open.dingtalk.com/document/isvapp/register-and-activate-devices-in-batches */ registerAndActivateDeviceBatch( params: RegisterAndActivateDeviceBatchParams, ): Promise /** * 注册与激活设备 - * @see https://developers.dingtalk.com/document/isvapp/register-the-device-to-the-dingtalk + * @see https://open.dingtalk.com/document/isvapp/register-the-device-to-the-dingtalk */ registerAndActivateDevice( params: RegisterAndActivateDeviceParams, diff --git a/adapters/dingtalk/src/api/diot.ts b/adapters/dingtalk/src/api/diot.ts index 4be3701d..6f134793 100644 --- a/adapters/dingtalk/src/api/diot.ts +++ b/adapters/dingtalk/src/api/diot.ts @@ -12,7 +12,7 @@ declare module '../internal' { interface Internal { /** * 升级设备 - * @see https://developers.dingtalk.com/document/app/upgrade-equipment + * @see https://open.dingtalk.com/document/app/upgrade-equipment */ upgradeDevice(): Promise } diff --git a/adapters/dingtalk/src/api/doc.ts b/adapters/dingtalk/src/api/doc.ts index 521fdcdc..e73929e5 100644 --- a/adapters/dingtalk/src/api/doc.ts +++ b/adapters/dingtalk/src/api/doc.ts @@ -150,7 +150,7 @@ declare module '../internal' { interface Internal { /** * 设置行隐藏或显示 - * @see https://developers.dingtalk.com/document/app/set-row-visibility + * @see https://open.dingtalk.com/document/app/set-row-visibility */ setRowsVisibility( workbookId: string, @@ -160,7 +160,7 @@ declare module '../internal' { ): Promise /** * 设置列隐藏或显示 - * @see https://developers.dingtalk.com/document/app/set-column-visibility + * @see https://open.dingtalk.com/document/app/set-column-visibility */ setColumnsVisibility( workbookId: string, @@ -170,7 +170,7 @@ declare module '../internal' { ): Promise /** * 删除行 - * @see https://developers.dingtalk.com/document/app/delete-row + * @see https://open.dingtalk.com/document/app/delete-row */ deleteRows( workbookId: string, @@ -180,7 +180,7 @@ declare module '../internal' { ): Promise /** * 删除列 - * @see https://developers.dingtalk.com/document/app/delete-column + * @see https://open.dingtalk.com/document/app/delete-column */ deleteColumns( workbookId: string, @@ -190,7 +190,7 @@ declare module '../internal' { ): Promise /** * 指定行上方插入若干行 - * @see https://developers.dingtalk.com/document/app/insert-rows-before-rows + * @see https://open.dingtalk.com/document/app/insert-rows-before-rows */ insertRowsBefore( workbookId: string, @@ -200,7 +200,7 @@ declare module '../internal' { ): Promise /** * 指定列左侧插入若干列 - * @see https://developers.dingtalk.com/document/app/insert-column-before-column + * @see https://open.dingtalk.com/document/app/insert-column-before-column */ insertColumnsBefore( workbookId: string, @@ -210,7 +210,7 @@ declare module '../internal' { ): Promise /** * 清除单元格区域内所有内容 - * @see https://developers.dingtalk.com/document/app/clear-all + * @see https://open.dingtalk.com/document/app/clear-all */ clear( workbookId: string, @@ -220,7 +220,7 @@ declare module '../internal' { ): Promise /** * 清除单元格区域内数据 - * @see https://developers.dingtalk.com/document/app/clear-cell-data + * @see https://open.dingtalk.com/document/app/clear-cell-data */ clearData( workbookId: string, diff --git a/adapters/dingtalk/src/api/drive.ts b/adapters/dingtalk/src/api/drive.ts index 78be7058..85153061 100644 --- a/adapters/dingtalk/src/api/drive.ts +++ b/adapters/dingtalk/src/api/drive.ts @@ -85,24 +85,24 @@ declare module '../internal' { interface Internal { /** * 新建自定义空间 - * @see https://developers.dingtalk.com/document/isvapp/new-custom-space + * @see https://open.dingtalk.com/document/isvapp/new-custom-space */ addCustomSpace( params: AddCustomSpaceParams, ): Promise /** * 删除空间 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-space + * @see https://open.dingtalk.com/document/isvapp/delete-a-space */ deleteSpace(spaceId: string, query: DeleteSpaceQuery): Promise /** * 新建空间 - * @see https://developers.dingtalk.com/document/isvapp/new-space + * @see https://open.dingtalk.com/document/isvapp/new-space */ driveAddSpace(params: DriveAddSpaceParams): Promise /** * 获取空间列表 - * @see https://developers.dingtalk.com/document/isvapp/queries-a-space-list + * @see https://open.dingtalk.com/document/isvapp/queries-a-space-list */ listSpaces(query: ListSpacesQuery): Promise } diff --git a/adapters/dingtalk/src/api/edu.ts b/adapters/dingtalk/src/api/edu.ts index 9b11932a..e897a3f8 100644 --- a/adapters/dingtalk/src/api/edu.ts +++ b/adapters/dingtalk/src/api/edu.ts @@ -2,13 +2,13 @@ import { Internal } from '../internal' // GENERATED CONTENT export interface MoveStudentParams { - /** 操作者的userid,可调用[通过免登码获取用户信息](https://developers.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ + /** 操作者的userid,可调用[通过免登码获取用户信息](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ operator: string - /** 学生的userid,可调用[获取人员列表](https://developers.dingtalk.com/document/app/obtains-a-list-of-home-school-user-identities)接口获取。 */ + /** 学生的userid,可调用[获取人员列表](https://open.dingtalk.com/document/app/obtains-a-list-of-home-school-user-identities)接口获取。 */ userId: string - /** 原班级ID,可调用[获取部门列表](https://developers.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */ + /** 原班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */ originClassId: number - /** 目标班级ID,可调用[获取部门列表](https://developers.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */ + /** 目标班级ID,可调用[获取部门列表](https://open.dingtalk.com/document/app/obtains-the-department-node-list)接口获取。 */ targetClassId: number } @@ -23,7 +23,7 @@ declare module '../internal' { interface Internal { /** * 学生调班 - * @see https://developers.dingtalk.com/document/isvapp/shift-students + * @see https://open.dingtalk.com/document/isvapp/shift-students */ moveStudent(params: MoveStudentParams): Promise } diff --git a/adapters/dingtalk/src/api/esign.ts b/adapters/dingtalk/src/api/esign.ts index f1b59218..e0141850 100644 --- a/adapters/dingtalk/src/api/esign.ts +++ b/adapters/dingtalk/src/api/esign.ts @@ -32,12 +32,12 @@ declare module '../internal' { interface Internal { /** * 获取流程任务的所有合同列表 - * @see https://developers.dingtalk.com/document/isvapp/get-a-list-of-all-contracts-for-the-process-task + * @see https://open.dingtalk.com/document/isvapp/get-a-list-of-all-contracts-for-the-process-task */ getFlowDocs(taskId: string): Promise /** * 获取流程任务用印审批列表 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-print-approval-list-for-process-tasks + * @see https://open.dingtalk.com/document/isvapp/obtains-the-print-approval-list-for-process-tasks */ approvalList(taskId: string): Promise } diff --git a/adapters/dingtalk/src/api/exclusive.ts b/adapters/dingtalk/src/api/exclusive.ts index 0f91218c..354829cc 100644 --- a/adapters/dingtalk/src/api/exclusive.ts +++ b/adapters/dingtalk/src/api/exclusive.ts @@ -282,90 +282,90 @@ declare module '../internal' { interface Internal { /** * 获取用户截屏操作记录 - * @see https://developers.dingtalk.com/document/app/obtain-anti-screen-capture-operation-records + * @see https://open.dingtalk.com/document/app/obtain-anti-screen-capture-operation-records */ queryUserBehavior( params: QueryUserBehaviorParams, ): Promise /** * 获取公共设备列表。 - * @see https://developers.dingtalk.com/document/orgapp/query-public-equipment + * @see https://open.dingtalk.com/document/orgapp/query-public-equipment */ getPublicDevices( query: GetPublicDevicesQuery, ): Promise /** * 通过接口发送电话DING - * @see https://developers.dingtalk.com/document/orgapp/outgoing-phone-ding + * @see https://open.dingtalk.com/document/orgapp/outgoing-phone-ding */ sendPhoneDing(params: SendPhoneDingParams): Promise /** * 根据userId查询人员的标签信息 - * @see https://developers.dingtalk.com/document/isvapp/you-can-call-this-operation-to-retrieve-the-user-tag + * @see https://open.dingtalk.com/document/isvapp/you-can-call-this-operation-to-retrieve-the-user-tag */ queryPartnerInfo(userId: string): Promise /** * 根据会议逻辑ID查询会议基本信息 - * @see https://developers.dingtalk.com/document/isvapp/you-can-call-this-operation-to-query-the-basic-information + * @see https://open.dingtalk.com/document/isvapp/you-can-call-this-operation-to-query-the-basic-information */ getConfBaseInfoByLogicalId( query: GetConfBaseInfoByLogicalIdQuery, ): Promise /** * 批量新增可信设备 - * @see https://developers.dingtalk.com/document/isvapp/add-trusted-devices-in-batches + * @see https://open.dingtalk.com/document/isvapp/add-trusted-devices-in-batches */ createTrustedDeviceBatch( params: CreateTrustedDeviceBatchParams, ): Promise /** * 获取企业文件审计日志 - * @see https://developers.dingtalk.com/document/app/queries-file-audit-logs + * @see https://open.dingtalk.com/document/app/queries-file-audit-logs */ listAuditLog(query: ListAuditLogQuery): Promise /** * 群禁言或解禁 - * @see https://developers.dingtalk.com/document/isvapp/exclusive-dingtalk-group-ban + * @see https://open.dingtalk.com/document/isvapp/exclusive-dingtalk-group-ban */ banOrOpenGroupWords( params: BanOrOpenGroupWordsParams, ): Promise /** * 获取审计协议签署人员信息 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-information-about-the-persons-who-sign-the-audit + * @see https://open.dingtalk.com/document/isvapp/obtains-the-information-about-the-persons-who-sign-the-audit */ getSignedDetailByPage( query: GetSignedDetailByPageQuery, ): Promise /** * 发送文件更改的评论 - * @see https://developers.dingtalk.com/document/isvapp/send-comments-on-file-changes + * @see https://open.dingtalk.com/document/isvapp/send-comments-on-file-changes */ publishFileChangeNotice( params: PublishFileChangeNoticeParams, ): Promise /** * 通过接口发送应用内DING - * @see https://developers.dingtalk.com/document/orgapp/send-in-application-ding + * @see https://open.dingtalk.com/document/orgapp/send-in-application-ding */ sendAppDing(params: SendAppDingParams): Promise /** * 伙伴钉根据父标签查询子标签 - * @see https://developers.dingtalk.com/document/isvapp/obtain-child-tags-from-a-parent-tag + * @see https://open.dingtalk.com/document/isvapp/obtain-child-tags-from-a-parent-tag */ getPartnerTypeByParentId( parentId: string, ): Promise /** * 设置部门伙伴类型和伙伴编码 - * @see https://developers.dingtalk.com/document/isvapp/set-department-partner-type-and-partner-code + * @see https://open.dingtalk.com/document/isvapp/set-department-partner-type-and-partner-code */ setDeptPartnerTypeAndNum( params: SetDeptPartnerTypeAndNumParams, ): Promise /** * 获取可打标部门列表 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-departments-that-can-be-marked + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-departments-that-can-be-marked */ getAllLabelableDepts(): Promise } diff --git a/adapters/dingtalk/src/api/h3yun.ts b/adapters/dingtalk/src/api/h3yun.ts index 4c6d29b6..3ea912ac 100644 --- a/adapters/dingtalk/src/api/h3yun.ts +++ b/adapters/dingtalk/src/api/h3yun.ts @@ -409,126 +409,126 @@ declare module '../internal' { interface Internal { /** * 获取文件上传地址 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-upload-url-of-a-file-2 + * @see https://open.dingtalk.com/document/isvapp/obtain-the-upload-url-of-a-file-2 */ getUploadUrl(query: GetUploadUrlQuery): Promise /** * 获取应用功能节点 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-application-feature-nodes + * @see https://open.dingtalk.com/document/isvapp/queries-the-application-feature-nodes */ queryAppFunctionNodes( query: QueryAppFunctionNodesQuery, ): Promise /** * 创建流程实例 - * @see https://developers.dingtalk.com/document/isvapp/create-a-process-instance + * @see https://open.dingtalk.com/document/isvapp/create-a-process-instance */ createProcessesInstance( params: CreateProcessesInstanceParams, ): Promise /** * 删除流程实例数据 - * @see https://developers.dingtalk.com/document/isvapp/delete-process-instance-data + * @see https://open.dingtalk.com/document/isvapp/delete-process-instance-data */ deleteProcessesInstance( query: DeleteProcessesInstanceQuery, ): Promise /** * 获取表单对象结构 - * @see https://developers.dingtalk.com/document/isvapp/gets-the-form-object-structure + * @see https://open.dingtalk.com/document/isvapp/gets-the-form-object-structure */ loadBizFields(query: LoadBizFieldsQuery): Promise /** * 获取流程实例节点工作项 - * @see https://developers.dingtalk.com/document/isvapp/query-flow-instance-node-work-items + * @see https://open.dingtalk.com/document/isvapp/query-flow-instance-node-work-items */ queryProcessesWorkItems( query: QueryProcessesWorkItemsQuery, ): Promise /** * 批量新增表单业务数据 - * @see https://developers.dingtalk.com/document/isvapp/batch-add-form-business-data + * @see https://open.dingtalk.com/document/isvapp/batch-add-form-business-data */ batchInsertBizObject( params: BatchInsertBizObjectParams, ): Promise /** * 删除业务对象 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-business-object + * @see https://open.dingtalk.com/document/isvapp/delete-a-business-object */ deleteBizObject( query: DeleteBizObjectQuery, ): Promise /** * 取消流程实例 - * @see https://developers.dingtalk.com/document/isvapp/cancel-a-process-instance + * @see https://open.dingtalk.com/document/isvapp/cancel-a-process-instance */ cancelProcessInstance( params: CancelProcessInstanceParams, ): Promise /** * 创建表单业务数据 - * @see https://developers.dingtalk.com/document/isvapp/create-form-business-data + * @see https://open.dingtalk.com/document/isvapp/create-form-business-data */ createBizObject( params: CreateBizObjectParams, ): Promise /** * 查询流程实例 - * @see https://developers.dingtalk.com/document/isvapp/query-flow-instances + * @see https://open.dingtalk.com/document/isvapp/query-flow-instances */ queryProcessesInstance( query: QueryProcessesInstanceQuery, ): Promise /** * 修改表单业务对象数据 - * @see https://developers.dingtalk.com/document/isvapp/modify-form-business-object-data + * @see https://open.dingtalk.com/document/isvapp/modify-form-business-object-data */ updateBizObject( params: UpdateBizObjectParams, ): Promise /** * 获取业务实例信息 - * @see https://developers.dingtalk.com/document/isvapp/queries-business-instance-information + * @see https://open.dingtalk.com/document/isvapp/queries-business-instance-information */ loadBizObject(query: LoadBizObjectQuery): Promise /** * 查询表单业务数据列表 - * @see https://developers.dingtalk.com/document/isvapp/querying-form-business-data + * @see https://open.dingtalk.com/document/isvapp/querying-form-business-data */ loadBizObjects( params: LoadBizObjectsParams, ): Promise /** * 获取附件临时免登地址 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-temporary-attachment-free-address + * @see https://open.dingtalk.com/document/isvapp/obtain-the-temporary-attachment-free-address */ getAttachmentTemporaryUrl( query: GetAttachmentTemporaryUrlQuery, ): Promise /** * 获取角色用户数据 - * @see https://developers.dingtalk.com/document/isvapp/obtain-role-data-1 + * @see https://open.dingtalk.com/document/isvapp/obtain-role-data-1 */ getRoleUsers(query: GetRoleUsersQuery): Promise /** * 获取角色数据 - * @see https://developers.dingtalk.com/document/isvapp/obtain-role-data + * @see https://open.dingtalk.com/document/isvapp/obtain-role-data */ getRoles(): Promise /** * 获取用户数据 - * @see https://developers.dingtalk.com/document/isvapp/obtain-user-data + * @see https://open.dingtalk.com/document/isvapp/obtain-user-data */ getUsers(query: GetUsersQuery): Promise /** * 获取应用列表 - * @see https://developers.dingtalk.com/document/isvapp/queries-applications + * @see https://open.dingtalk.com/document/isvapp/queries-applications */ getApps(params: GetAppsParams): Promise /** * 获取组织数据 - * @see https://developers.dingtalk.com/document/isvapp/queries-organization-data + * @see https://open.dingtalk.com/document/isvapp/queries-organization-data */ getOrganizations( query: GetOrganizationsQuery, diff --git a/adapters/dingtalk/src/api/hrm.ts b/adapters/dingtalk/src/api/hrm.ts index eec9cd62..a24b9967 100644 --- a/adapters/dingtalk/src/api/hrm.ts +++ b/adapters/dingtalk/src/api/hrm.ts @@ -209,28 +209,28 @@ declare module '../internal' { interface Internal { /** * 修改员工最后一次离职信息 - * @see https://developers.dingtalk.com/document/app/modify-resigned-employee-information + * @see https://open.dingtalk.com/document/app/modify-resigned-employee-information */ hrmProcessUpdateTerminationInfo( params: HrmProcessUpdateTerminationInfoParams, ): Promise /** * 智能人事转正接口 - * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-staff-to-become-regular + * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-staff-to-become-regular */ hrmProcessRegular( params: HrmProcessRegularParams, ): Promise /** * 获取离职员工列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-list-of-employees-who-have-left + * @see https://open.dingtalk.com/document/isvapp/obtain-the-list-of-employees-who-have-left */ queryDismissionStaffIdList( query: QueryDismissionStaffIdListQuery, ): Promise /** * 新增或删除花名册选项类型字段的选项 - * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-roster-field-option-modification + * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-roster-field-option-modification */ rosterMetaFieldOptionsUpdate( query: RosterMetaFieldOptionsUpdateQuery, @@ -238,31 +238,31 @@ declare module '../internal' { ): Promise /** * 智能人事员工调岗 - * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-staff-transfer + * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-staff-transfer */ hrmProcessTransfer( params: HrmProcessTransferParams, ): Promise /** * 批量获取员工离职信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-multiple-employee-demission-information-1 + * @see https://open.dingtalk.com/document/isvapp/obtain-multiple-employee-demission-information-1 */ queryHrmEmployeeDismissionInfo( query: QueryHrmEmployeeDismissionInfoQuery, ): Promise /** * 获取企业职务列表 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-enterprise-jobs + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-enterprise-jobs */ queryJobs(query: QueryJobsQuery): Promise /** * 获取企业职级列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-ranks + * @see https://open.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-ranks */ queryJobRanks(query: QueryJobRanksQuery): Promise /** * 获取企业职位列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-positions + * @see https://open.dingtalk.com/document/isvapp/obtain-a-list-of-enterprise-positions */ queryPositions( query: QueryPositionsQuery, diff --git a/adapters/dingtalk/src/api/im.ts b/adapters/dingtalk/src/api/im.ts index 9cb944b1..fcc54948 100644 --- a/adapters/dingtalk/src/api/im.ts +++ b/adapters/dingtalk/src/api/im.ts @@ -93,7 +93,7 @@ export interface UpdateGroupSubAdminResponse { } export interface UpdateMemberGroupNickParams { - /** 场景群群ID,可以调用[创建场景群](https://developers.dingtalk.com/document/chatgroup/create-a-scene-group-v2)接口获取。 */ + /** 场景群群ID,可以调用[创建场景群](https://open.dingtalk.com/document/chatgroup/create-a-scene-group-v2)接口获取。 */ openConversationId: string /** 用户的userid。 */ userId: string @@ -734,244 +734,244 @@ declare module '../internal' { interface Internal { /** * 查询群内群模板机器人 - * @see https://developers.dingtalk.com/document/isvapp/query-intra-group-template-robot + * @see https://open.dingtalk.com/document/isvapp/query-intra-group-template-robot */ querySceneGroupTemplateRobot( query: QuerySceneGroupTemplateRobotQuery, ): Promise /** * 查询群成员 - * @see https://developers.dingtalk.com/document/orgapp/query-group-members + * @see https://open.dingtalk.com/document/orgapp/query-group-members */ batchQueryGroupMember( params: BatchQueryGroupMemberParams, ): Promise /** * 查询群禁言状态 - * @see https://developers.dingtalk.com/document/orgapp/query-group-silence-status + * @see https://open.dingtalk.com/document/orgapp/query-group-silence-status */ queryGroupMuteStatus( query: QueryGroupMuteStatusQuery, ): Promise /** * 设置群成员禁言状态 - * @see https://developers.dingtalk.com/document/orgapp/set-group-members-access-control + * @see https://open.dingtalk.com/document/orgapp/set-group-members-access-control */ updateMemberBanWords(params: UpdateMemberBanWordsParams): Promise /** * 查询群简要信息 - * @see https://developers.dingtalk.com/document/isvapp/query-group-brief-information + * @see https://open.dingtalk.com/document/isvapp/query-group-brief-information */ getSceneGroupInfo( params: GetSceneGroupInfoParams, ): Promise /** * 更新群管理员 - * @see https://developers.dingtalk.com/document/isvapp/update-group-administrator + * @see https://open.dingtalk.com/document/isvapp/update-group-administrator */ updateGroupSubAdmin( params: UpdateGroupSubAdminParams, ): Promise /** * 更新群成员的群昵称 - * @see https://developers.dingtalk.com/document/isvapp/update-group-nicknames-for-group-members + * @see https://open.dingtalk.com/document/isvapp/update-group-nicknames-for-group-members */ updateMemberGroupNick( params: UpdateMemberGroupNickParams, ): Promise /** * 发送模板响应式可交互式卡片 - * @see https://developers.dingtalk.com/document/orgapp/send-lightweight-interactive-cards + * @see https://open.dingtalk.com/document/orgapp/send-lightweight-interactive-cards */ sendTemplateInteractiveCard( params: SendTemplateInteractiveCardParams, ): Promise /** * 更新钉钉互动卡片 - * @see https://developers.dingtalk.com/document/orgapp/update-dingtalk-interactive-cards-1 + * @see https://open.dingtalk.com/document/orgapp/update-dingtalk-interactive-cards-1 */ updateInteractiveCard( params: UpdateInteractiveCardParams, ): Promise /** * 发送可交互式动态卡片 - * @see https://developers.dingtalk.com/document/orgapp/send-interactive-dynamic-cards-1 + * @see https://open.dingtalk.com/document/orgapp/send-interactive-dynamic-cards-1 */ sendInteractiveCard( params: SendInteractiveCardParams, ): Promise /** * 更新机器人发送互动卡片 - * @see https://developers.dingtalk.com/document/orgapp/update-the-robot-to-send-interactive-cards + * @see https://open.dingtalk.com/document/orgapp/update-the-robot-to-send-interactive-cards */ updateRobotInteractiveCard( params: UpdateRobotInteractiveCardParams, ): Promise /** * 机器人发送互动卡片(普通版) - * @see https://developers.dingtalk.com/document/orgapp/robots-send-interactive-cards + * @see https://open.dingtalk.com/document/orgapp/robots-send-interactive-cards */ sendRobotInteractiveCard( params: SendRobotInteractiveCardParams, ): Promise /** * 获取群会话的OpenConversationId - * @see https://developers.dingtalk.com/document/orgapp/obtain-group-openconversationid + * @see https://open.dingtalk.com/document/orgapp/obtain-group-openconversationid */ chatIdToOpenConversationId( chatId: string, ): Promise /** * 设置群管理员 - * @see https://developers.dingtalk.com/document/orgapp/batch-setup-group-administrator + * @see https://open.dingtalk.com/document/orgapp/batch-setup-group-administrator */ chatSubAdminUpdate( params: ChatSubAdminUpdateParams, ): Promise /** * 创建普通群 - * @see https://developers.dingtalk.com/document/app/create-common-group-new-version + * @see https://open.dingtalk.com/document/app/create-common-group-new-version */ imCreateGroup(params: ImCreateGroupParams): Promise /** * 创建两人群 - * @see https://developers.dingtalk.com/document/app/creating-two-groups-of-people + * @see https://open.dingtalk.com/document/app/creating-two-groups-of-people */ createCoupleGroup( params: CreateCoupleGroupParams, ): Promise /** * 更换群主 - * @see https://developers.dingtalk.com/document/isvapp/change-group-owner + * @see https://open.dingtalk.com/document/isvapp/change-group-owner */ changeGroupOwner( params: ChangeGroupOwnerParams, ): Promise /** * 解散互通群 - * @see https://developers.dingtalk.com/document/isvapp/disband-bc-interconnection-group + * @see https://open.dingtalk.com/document/isvapp/disband-bc-interconnection-group */ dismissGroupConversation( params: DismissGroupConversationParams, ): Promise /** * 机器人发送消息 - * @see https://developers.dingtalk.com/document/app/group-robots-send-messages + * @see https://open.dingtalk.com/document/app/group-robots-send-messages */ sendRobotMessage( params: SendRobotMessageParams, ): Promise /** * 创建店铺群 - * @see https://developers.dingtalk.com/document/isvapp/create-a-store-group + * @see https://open.dingtalk.com/document/isvapp/create-a-store-group */ createStoreGroupConversation( params: CreateStoreGroupConversationParams, ): Promise /** * 创建钉外两人群 - * @see https://developers.dingtalk.com/document/isvapp/create-two-people-outside-the-nail + * @see https://open.dingtalk.com/document/isvapp/create-two-people-outside-the-nail */ createCoupleGroupConversation( params: CreateCoupleGroupConversationParams, ): Promise /** * 修改群名称 - * @see https://developers.dingtalk.com/document/isvapp/modify-the-group-name + * @see https://open.dingtalk.com/document/isvapp/modify-the-group-name */ updateGroupName( params: UpdateGroupNameParams, ): Promise /** * 修改群头像 - * @see https://developers.dingtalk.com/document/isvapp/modify-the-avatar-of-a-communication-group + * @see https://open.dingtalk.com/document/isvapp/modify-the-avatar-of-a-communication-group */ updateGroupAvatar( params: UpdateGroupAvatarParams, ): Promise /** * 批量查询群信息 - * @see https://developers.dingtalk.com/document/isvapp/batch-query-cross-nail-two-group-list + * @see https://open.dingtalk.com/document/isvapp/batch-query-cross-nail-two-group-list */ querySingleGroup( params: QuerySingleGroupParams, ): Promise /** * 查询群成员列表 - * @see https://developers.dingtalk.com/document/isvapp/query-the-group-member-list + * @see https://open.dingtalk.com/document/isvapp/query-the-group-member-list */ queryGroupMember( query: QueryGroupMemberQuery, ): Promise /** * 批量查询未读消息数 - * @see https://developers.dingtalk.com/document/isvapp/query-the-number-of-unread-messages-for-users-outside-of + * @see https://open.dingtalk.com/document/isvapp/query-the-number-of-unread-messages-for-users-outside-of */ queryUnReadMessage( params: QueryUnReadMessageParams, ): Promise /** * 发送ToB消息 - * @see https://developers.dingtalk.com/document/isvapp/a-user-outside-the-dingtalk-sends-a-message-to-the + * @see https://open.dingtalk.com/document/isvapp/a-user-outside-the-dingtalk-sends-a-message-to-the */ sendMessage(params: SendMessageParams): Promise /** * 移除群成员 - * @see https://developers.dingtalk.com/document/isvapp/remove-a-connected-group-member + * @see https://open.dingtalk.com/document/isvapp/remove-a-connected-group-member */ removeGroupMember( params: RemoveGroupMemberParams, ): Promise /** * 添加群成员 - * @see https://developers.dingtalk.com/document/isvapp/add-group-members + * @see https://open.dingtalk.com/document/isvapp/add-group-members */ addGroupMember( params: AddGroupMemberParams, ): Promise /** * 创建互通群(支持普通互通群、跨钉两人群) - * @see https://developers.dingtalk.com/document/isvapp/create-a-common-group-or-cross-nail-group + * @see https://open.dingtalk.com/document/isvapp/create-a-common-group-or-cross-nail-group */ createGroupConversation( params: CreateGroupConversationParams, ): Promise /** * 发送ToC消息 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-users-send-messages-to-the-group-or-dingtalk-users + * @see https://open.dingtalk.com/document/isvapp/dingtalk-users-send-messages-to-the-group-or-dingtalk-users */ sendDingMessage( params: SendDingMessageParams, ): Promise /** * 创建ToB会话地址 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-session-address + * @see https://open.dingtalk.com/document/isvapp/obtain-the-session-address */ getConversationUrl( params: GetConversationUrlParams, ): Promise /** * 创建钉外账号 - * @see https://developers.dingtalk.com/document/isvapp/create-bc-account-association + * @see https://open.dingtalk.com/document/isvapp/create-bc-account-association */ createInterconnection( params: CreateInterconnectionParams, ): Promise /** * 人与人会话中机器人发送互动卡片 - * @see https://developers.dingtalk.com/document/orgapp/send-dingtalk-interactive-cards-to-person-to-person-chat-sessions + * @see https://open.dingtalk.com/document/orgapp/send-dingtalk-interactive-cards-to-person-to-person-chat-sessions */ sendOTOInteractiveCard( params: SendOTOInteractiveCardParams, ): Promise /** * 关闭互动卡片吊顶 - * @see https://developers.dingtalk.com/document/orgapp/close-interactive-card-ceiling + * @see https://open.dingtalk.com/document/orgapp/close-interactive-card-ceiling */ closeTopbox(params: CloseTopboxParams): Promise /** * 创建并开启互动卡片吊顶 - * @see https://developers.dingtalk.com/document/orgapp/create-and-open-an-interactive-card-ceiling + * @see https://open.dingtalk.com/document/orgapp/create-and-open-an-interactive-card-ceiling */ createTopbox(params: CreateTopboxParams): Promise } diff --git a/adapters/dingtalk/src/api/industry.ts b/adapters/dingtalk/src/api/industry.ts index 5d45768a..e2c9066d 100644 --- a/adapters/dingtalk/src/api/industry.ts +++ b/adapters/dingtalk/src/api/industry.ts @@ -116,35 +116,35 @@ declare module '../internal' { interface Internal { /** * 查询园区项目详情 - * @see https://developers.dingtalk.com/document/isvapp/query-a-project-in-a-specified-campus + * @see https://open.dingtalk.com/document/isvapp/query-a-project-in-a-specified-campus */ campusGetCampus( query: CampusGetCampusQuery, ): Promise /** * 查询项目组信息 - * @see https://developers.dingtalk.com/document/isvapp/query-a-project-group-in-the-specified-park + * @see https://open.dingtalk.com/document/isvapp/query-a-project-group-in-the-specified-park */ campusGetCampusGroup( query: CampusGetCampusGroupQuery, ): Promise /** * 创建园区项目 - * @see https://developers.dingtalk.com/document/isvapp/create-a-campus-project + * @see https://open.dingtalk.com/document/isvapp/create-a-campus-project */ campusCreateCampus( params: CampusCreateCampusParams, ): Promise /** * 创建项目组 - * @see https://developers.dingtalk.com/document/isvapp/create-a-project-group + * @see https://open.dingtalk.com/document/isvapp/create-a-project-group */ campusCreateCampusGroup( params: CampusCreateCampusGroupParams, ): Promise /** * 删除项目组 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-project-group + * @see https://open.dingtalk.com/document/isvapp/delete-a-project-group */ campusDeleteCampusGroup( query: CampusDeleteCampusGroupQuery, diff --git a/adapters/dingtalk/src/api/jzcrm.ts b/adapters/dingtalk/src/api/jzcrm.ts index 81886293..cf29ae3d 100644 --- a/adapters/dingtalk/src/api/jzcrm.ts +++ b/adapters/dingtalk/src/api/jzcrm.ts @@ -233,71 +233,71 @@ declare module '../internal' { interface Internal { /** * 联系人 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-contacts + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-contacts */ editContact(params: EditContactParams): Promise /** * 客户公共池 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-customer-public-pools + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-customer-public-pools */ editCustomerPool( params: EditCustomerPoolParams, ): Promise /** * 编辑销售换货单数据 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-sales-order + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-sales-order */ editExchange(params: EditExchangeParams): Promise /** * 编辑产品数据 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-product-information + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-product-information */ editGoods(params: EditGoodsParams): Promise /** * 编辑出库单信息 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-an-issue-ticket + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-an-issue-ticket */ editOutstock(params: EditOutstockParams): Promise /** * 编辑入库单数据 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-shipment-record + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-shipment-record */ editIntostock(params: EditIntostockParams): Promise /** * 生产单 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-a-production-order + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-a-production-order */ editProduction( params: EditProductionParams, ): Promise /** * 采购单 - * @see https://developers.dingtalk.com/document/isvapp/edit-purchase-order + * @see https://open.dingtalk.com/document/isvapp/edit-purchase-order */ editPurchase(params: EditPurchaseParams): Promise /** * 合同订单 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-contract-orders + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-contract-orders */ editOrder(params: EditOrderParams): Promise /** * 发货单 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-invoices + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-invoices */ editInvoice(params: EditInvoiceParams): Promise /** * 客户资料 - * @see https://developers.dingtalk.com/document/isvapp/add-or-edit-customer-profile + * @see https://open.dingtalk.com/document/isvapp/add-or-edit-customer-profile */ editCustomer(params: EditCustomerParams): Promise /** * 获取数据详情 - * @see https://developers.dingtalk.com/document/isvapp/queries-data-details + * @see https://open.dingtalk.com/document/isvapp/queries-data-details */ getDataView(query: GetDataViewQuery): Promise /** * 获取数据列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-data-list + * @see https://open.dingtalk.com/document/isvapp/obtain-the-data-list */ getDataList(query: GetDataListQuery): Promise } diff --git a/adapters/dingtalk/src/api/link.ts b/adapters/dingtalk/src/api/link.ts index b12d2097..e8904d17 100644 --- a/adapters/dingtalk/src/api/link.ts +++ b/adapters/dingtalk/src/api/link.ts @@ -68,24 +68,24 @@ declare module '../internal' { interface Internal { /** * 获取用户关注状态 - * @see https://developers.dingtalk.com/document/orgapp/obtain-the-attention-status-of-the-user-service-window + * @see https://open.dingtalk.com/document/orgapp/obtain-the-attention-status-of-the-user-service-window */ getUserFollowStatus( query: GetUserFollowStatusQuery, ): Promise /** * 获取企业下服务窗帐号列表 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-list-of-services-under-an-enterprise + * @see https://open.dingtalk.com/document/orgapp/queries-the-list-of-services-under-an-enterprise */ listAccount(): Promise /** * 批量获取关注服务窗用户信息 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-follower-information-from-the-service-window + * @see https://open.dingtalk.com/document/orgapp/obtains-the-follower-information-from-the-service-window */ listFollower(query: ListFollowerQuery): Promise /** * 获取服务窗关注人信息 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-follower-information-of-the-service-window + * @see https://open.dingtalk.com/document/orgapp/queries-the-follower-information-of-the-service-window */ getFollowerInfo( query: GetFollowerInfoQuery, diff --git a/adapters/dingtalk/src/api/live.ts b/adapters/dingtalk/src/api/live.ts index a490b98e..db241582 100644 --- a/adapters/dingtalk/src/api/live.ts +++ b/adapters/dingtalk/src/api/live.ts @@ -126,36 +126,36 @@ declare module '../internal' { interface Internal { /** * 删除直播 - * @see https://developers.dingtalk.com/document/isvapp/delete-live-streaming + * @see https://open.dingtalk.com/document/isvapp/delete-live-streaming */ deleteLive(query: DeleteLiveQuery): Promise /** * 查询直播观看人员信息 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-viewing-information-of-viewers + * @see https://open.dingtalk.com/document/isvapp/queries-the-viewing-information-of-viewers */ queryLiveWatchUserList( query: QueryLiveWatchUserListQuery, ): Promise /** * 获取直播的观看数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-playback-data-of-a-live-stream + * @see https://open.dingtalk.com/document/orgapp/queries-the-playback-data-of-a-live-stream */ queryLiveWatchDetail( query: QueryLiveWatchDetailQuery, ): Promise /** * 修改直播属性信息 - * @see https://developers.dingtalk.com/document/isvapp/modify-live-streaming + * @see https://open.dingtalk.com/document/isvapp/modify-live-streaming */ updateLive(params: UpdateLiveParams): Promise /** * 创建直播 - * @see https://developers.dingtalk.com/document/isvapp/create-live-streaming + * @see https://open.dingtalk.com/document/isvapp/create-live-streaming */ createLive(params: CreateLiveParams): Promise /** * 查询直播详情 - * @see https://developers.dingtalk.com/document/isvapp/queries-the-live-streaming-information + * @see https://open.dingtalk.com/document/isvapp/queries-the-live-streaming-information */ queryLiveInfo(query: QueryLiveInfoQuery): Promise } diff --git a/adapters/dingtalk/src/api/microApp.ts b/adapters/dingtalk/src/api/microApp.ts index 6aa4ff10..4736616c 100644 --- a/adapters/dingtalk/src/api/microApp.ts +++ b/adapters/dingtalk/src/api/microApp.ts @@ -227,7 +227,7 @@ declare module '../internal' { interface Internal { /** * 回滚企业内部小程序版本 - * @see https://developers.dingtalk.com/document/app/rollback-of-enterprise-internal-applet-version + * @see https://open.dingtalk.com/document/app/rollback-of-enterprise-internal-applet-version */ rollbackInnerAppVersion( agentId: number, @@ -235,7 +235,7 @@ declare module '../internal' { ): Promise /** * 发布企业内部小程序版本 - * @see https://developers.dingtalk.com/document/orgapp/release-internal-applet-version + * @see https://open.dingtalk.com/document/orgapp/release-internal-applet-version */ publishInnerAppVersion( agentId: number, @@ -243,7 +243,7 @@ declare module '../internal' { ): Promise /** * 获取企业内部小程序历史版本列表 - * @see https://developers.dingtalk.com/document/orgapp/obtain-the-list-of-historical-versions-of-enterprise-internal-applets + * @see https://open.dingtalk.com/document/orgapp/obtain-the-list-of-historical-versions-of-enterprise-internal-applets */ pageInnerAppHistoryVersion( agentId: number, @@ -251,22 +251,22 @@ declare module '../internal' { ): Promise /** * 获取企业内部小程序的版本列表 - * @see https://developers.dingtalk.com/document/orgapp/get-the-version-list-of-the-enterprise-internal-applet + * @see https://open.dingtalk.com/document/orgapp/get-the-version-list-of-the-enterprise-internal-applet */ listInnerAppVersion(agentId: number): Promise /** * 获取企业所有内部应用列表 - * @see https://developers.dingtalk.com/document/orgapp/get-a-list-of-all-applications-inside-the-enterprise + * @see https://open.dingtalk.com/document/orgapp/get-a-list-of-all-applications-inside-the-enterprise */ listAllInnerApps(): Promise /** * 获取企业内部应用微应用的可使用范围 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-application-visible-range + * @see https://open.dingtalk.com/document/orgapp/obtains-the-application-visible-range */ getMicroAppScope(agentId: number): Promise /** * 更新企业内部应用微应用的可使用范围 - * @see https://developers.dingtalk.com/document/orgapp/update-the-visible-range-of-micro-applications + * @see https://open.dingtalk.com/document/orgapp/update-the-visible-range-of-micro-applications */ setMicroAppScope( agentId: number, @@ -274,17 +274,17 @@ declare module '../internal' { ): Promise /** * 获取用户可见的企业应用列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-list-of-enterprise-applications-visible-to-a-user + * @see https://open.dingtalk.com/document/orgapp/obtains-the-list-of-enterprise-applications-visible-to-a-user */ listUserVilebleApp(userId: string): Promise /** * 获取企业所有应用列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-a-list-of-all-enterprise-applications + * @see https://open.dingtalk.com/document/orgapp/obtains-a-list-of-all-enterprise-applications */ listAllApp(): Promise /** * 删除企业内部应用 - * @see https://developers.dingtalk.com/document/app/delete-an-internal-h5-application + * @see https://open.dingtalk.com/document/app/delete-an-internal-h5-application */ deleteInnerApp( agentId: number, @@ -292,7 +292,7 @@ declare module '../internal' { ): Promise /** * 更新企业内部应用 - * @see https://developers.dingtalk.com/document/app/update-internal-h5-applications + * @see https://open.dingtalk.com/document/app/update-internal-h5-applications */ updateInnerApp( agentId: number, @@ -300,7 +300,7 @@ declare module '../internal' { ): Promise /** * 创建企业内部应用 - * @see https://developers.dingtalk.com/document/app/create-an-h5-application-for-your-enterprise + * @see https://open.dingtalk.com/document/app/create-an-h5-application-for-your-enterprise */ createInnerApp( params: CreateInnerAppParams, diff --git a/adapters/dingtalk/src/api/oapi.ts b/adapters/dingtalk/src/api/oapi.ts index b531f80a..97cb05d5 100644 --- a/adapters/dingtalk/src/api/oapi.ts +++ b/adapters/dingtalk/src/api/oapi.ts @@ -229,7 +229,7 @@ export interface OapiV2UserUpdateParams { exclusive_mobile_verify_status?: string /** 修改本组织专属帐号时可指定昵称 */ nickname?: string - /** 修改本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://developers.dingtalk.com/document/app/upload-media-files */ + /** 修改本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://open.dingtalk.com/document/app/upload-media-files */ avatarMediaId?: string /** 自定义字段更新模式,0-覆盖方式 1-追加方式 (默认是覆盖) */ ext_attrs_update_mode?: unknown @@ -305,7 +305,7 @@ export interface OapiV2UserCreateParams { outer_exclusive_corpid?: string /** 需要添加的专属帐号所属userid */ outer_exclusive_userid?: string - /** 创建本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://developers.dingtalk.com/document/app/upload-media-files */ + /** 创建本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://open.dingtalk.com/document/app/upload-media-files */ avatarMediaId?: string /** 创建本组织专属帐号时可指定昵称 */ nickname?: string @@ -3226,246 +3226,246 @@ declare module '../internal' { interface Internal { /** * 该接口用于获取企业授权凭证 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-enterprise-authorized-credential + * @see https://open.dingtalk.com/document/isvapp/obtains-the-enterprise-authorized-credential */ oapiServiceGetCorpToken( params: OapiServiceGetCorpTokenParams, ): Promise /** * 获取应用后台免登的access_token - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-ssotoken-for-micro-application-background-logon-free + * @see https://open.dingtalk.com/document/isvapp/obtain-the-ssotoken-for-micro-application-background-logon-free */ oapiSsoGettoken( query: OapiSsoGettokenQuery, ): Promise /** * 获取jsapi ticket - * @see https://developers.dingtalk.com/document/isvapp/obtain-jsapi_ticket + * @see https://open.dingtalk.com/document/isvapp/obtain-jsapi_ticket */ oapiGetJsapiTicket(): Promise /** * 获取企业内部应用的access_token - * @see https://developers.dingtalk.com/document/orgapp/obtain-orgapp-token + * @see https://open.dingtalk.com/document/orgapp/obtain-orgapp-token */ oapiGettoken(query: OapiGettokenQuery): Promise /** * 通过免登码获取用户userid - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-userid-of-a-user-by-using-the-log-free + * @see https://open.dingtalk.com/document/isvapp/obtain-the-userid-of-a-user-by-using-the-log-free */ oapiV2UserGetuserinfo( params: OapiV2UserGetuserinfoParams, ): Promise /** * 该接口用于获取授权用户信息 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-the-user-information-based-on-the-sns-temporary-authorization + * @see https://open.dingtalk.com/document/isvapp-server/obtain-the-user-information-based-on-the-sns-temporary-authorization */ oapiSnsGetuserinfoBycode( params: OapiSnsGetuserinfoBycodeParams, ): Promise /** * 获取应用管理后台免登的用户信息 - * @see https://developers.dingtalk.com/document/isvapp/exchange-code-for-the-identity-information-of-a-microapplication-administrator + * @see https://open.dingtalk.com/document/isvapp/exchange-code-for-the-identity-information-of-a-microapplication-administrator */ oapiSsoGetuserinfo( query: OapiSsoGetuserinfoQuery, ): Promise /** * 获取企业授权信息 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-basic-information-of-an-enterprise + * @see https://open.dingtalk.com/document/isvapp/obtains-the-basic-information-of-an-enterprise */ oapiServiceGetAuthInfo( params: OapiServiceGetAuthInfoParams, ): Promise /** * 用户信息更新 - * @see https://developers.dingtalk.com/document/orgapp/update-dedicated-accounts-information + * @see https://open.dingtalk.com/document/orgapp/update-dedicated-accounts-information */ oapiV2UserUpdate( params: OapiV2UserUpdateParams, ): Promise /** * 用户信息创建 - * @see https://developers.dingtalk.com/document/orgapp/user-information-creation + * @see https://open.dingtalk.com/document/orgapp/user-information-creation */ oapiV2UserCreate( params: OapiV2UserCreateParams, ): Promise /** * 获取主干组织列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-backbone-organization-list + * @see https://open.dingtalk.com/document/isvapp/obtain-backbone-organization-list */ oapiOrgUnionTrunkGet(): Promise /** * 获取员工花名册的元数据定义(包括花名册分组、字段定义) - * @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-roster-metadata-query + * @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-roster-metadata-query */ oapiSmartworkHrmRosterMetaGet( params: OapiSmartworkHrmRosterMetaGetParams, ): Promise /** * 获取员工花名册指定字段的信息,支持明细分组字段 - * @see https://developers.dingtalk.com/document/orgapp/intelligent-personnel-obtain-employee-roster-information + * @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-obtain-employee-roster-information */ oapiSmartworkHrmEmployeeV2List( params: OapiSmartworkHrmEmployeeV2ListParams, ): Promise /** * 智能人事更新员工档案信息,支持明细分组 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-update-employee-file-information + * @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-update-employee-file-information */ oapiSmartworkHrmEmployeeV2Update( params: OapiSmartworkHrmEmployeeV2UpdateParams, ): Promise /** * 提供给ISV查询花名册的员工档案信息中有权限的字段列表 - * @see https://developers.dingtalk.com/document/isvapp/get-roster-field-group-details + * @see https://open.dingtalk.com/document/isvapp/get-roster-field-group-details */ oapiSmartworkHrmEmployeeFieldGrouplist( params: OapiSmartworkHrmEmployeeFieldGrouplistParams, ): Promise /** * 智能人事更新员工档案员工信息 - * @see https://developers.dingtalk.com/document/isvapp-server/update-employee-roster + * @see https://open.dingtalk.com/document/isvapp-server/update-employee-roster */ oapiSmartworkHrmEmployeeUpdate( params: OapiSmartworkHrmEmployeeUpdateParams, ): Promise /** * 智能人事业务,提供企业/ISV按在职状态分页查询公司在职员工id列表 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-on-the-job-employees-of-the + * @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-on-the-job-employees-of-the */ oapiSmartworkHrmEmployeeQueryonjob( params: OapiSmartworkHrmEmployeeQueryonjobParams, ): Promise /** * 智能人事业务,企业/ISV分页查询公司待入职员工id列表 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-employees-to-be-hired + * @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-employees-to-be-hired */ oapiSmartworkHrmEmployeeQuerypreentry( params: OapiSmartworkHrmEmployeeQuerypreentryParams, ): Promise /** * 智能人事添加待入职员工信息 - * @see https://developers.dingtalk.com/document/isvapp/add-employees-to-be-hired-through-intelligent-personnel + * @see https://open.dingtalk.com/document/isvapp/add-employees-to-be-hired-through-intelligent-personnel */ oapiSmartworkHrmEmployeeAddpreentry( params: OapiSmartworkHrmEmployeeAddpreentryParams, ): Promise /** * 智能人事业务,企业/ISV根据员工id批量访问员工花名册信息 - * @see https://developers.dingtalk.com/document/isvapp-server/obtaining-employee-roster-field-information + * @see https://open.dingtalk.com/document/isvapp-server/obtaining-employee-roster-field-information */ oapiSmartworkHrmEmployeeList( params: OapiSmartworkHrmEmployeeListParams, ): Promise /** * 企业可以根据模板名称获取模板详情 - * @see https://developers.dingtalk.com/document/isvapp/query-template-details + * @see https://open.dingtalk.com/document/isvapp/query-template-details */ oapiReportTemplateGetbyname( params: OapiReportTemplateGetbynameParams, ): Promise /** * 提供企业员工创建日志的接口 - * @see https://developers.dingtalk.com/document/isvapp/create-a-log + * @see https://open.dingtalk.com/document/isvapp/create-a-log */ oapiReportCreate( params: OapiReportCreateParams, ): Promise /** * 第三方系统会调用这个接口保存日志内容,后续在写日志页面再拉取此内容。 - * @see https://developers.dingtalk.com/document/isvapp/save-custom-log-content + * @see https://open.dingtalk.com/document/isvapp/save-custom-log-content */ oapiReportSavecontent( params: OapiReportSavecontentParams, ): Promise /** * 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送的日志概要信息 - * @see https://developers.dingtalk.com/document/orgapp/view-log-summary-data + * @see https://open.dingtalk.com/document/orgapp/view-log-summary-data */ oapiReportSimplelist( params: OapiReportSimplelistParams, ): Promise /** * 分页获取日志相关人员列表,包括已读人员列表、评论人员列表、点赞人员列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-a-list-of-log-related-personnel-by-type + * @see https://open.dingtalk.com/document/orgapp/obtains-a-list-of-log-related-personnel-by-type */ oapiReportStatisticsListbytype( params: OapiReportStatisticsListbytypeParams, ): Promise /** * 获取日志的分享人员列表 - * @see https://developers.dingtalk.com/document/orgapp/queries-log-sharing-personnel + * @see https://open.dingtalk.com/document/orgapp/queries-log-sharing-personnel */ oapiReportReceiverList( params: OapiReportReceiverListParams, ): Promise /** * 分页获取评论详情,包括评论人userid、评论内容、评论时间 - * @see https://developers.dingtalk.com/document/orgapp/queries-log-comment-details + * @see https://open.dingtalk.com/document/orgapp/queries-log-comment-details */ oapiReportCommentList( params: OapiReportCommentListParams, ): Promise /** * 获取日志统计数据 - * @see https://developers.dingtalk.com/document/orgapp/query-log-statistics + * @see https://open.dingtalk.com/document/orgapp/query-log-statistics */ oapiReportStatistics( params: OapiReportStatisticsParams, ): Promise /** * 查询企业员工的日志未读数 - * @see https://developers.dingtalk.com/document/orgapp/querying-the-employee-s-log-is-not-reading + * @see https://open.dingtalk.com/document/orgapp/querying-the-employee-s-log-is-not-reading */ oapiReportGetunreadcount( params: OapiReportGetunreadcountParams, ): Promise /** * 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送和修改的日志详细信息 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-the-logs-that-are-sent-by + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-the-logs-that-are-sent-by */ oapiReportList( params: OapiReportListParams, ): Promise /** * 根据用户userId获取当前企业下可见的日志模板列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-list-of-visible-log-templates-based-on-the + * @see https://open.dingtalk.com/document/orgapp/obtains-the-list-of-visible-log-templates-based-on-the */ oapiReportTemplateListbyuserid( params: OapiReportTemplateListbyuseridParams, ): Promise /** * 查询多个用户一段时间范围内的签到记录,只给企业调用,ISV无法调用。 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-check-in-records-of-multiple-users + * @see https://open.dingtalk.com/document/isvapp/obtain-the-check-in-records-of-multiple-users */ oapiCheckinRecordGet( params: OapiCheckinRecordGetParams, ): Promise /** * 该接口用于获取部门用户签到记录 - * @see https://developers.dingtalk.com/document/orgapp/get-check-in-data + * @see https://open.dingtalk.com/document/orgapp/get-check-in-data */ oapiCheckinRecord( query: OapiCheckinRecordQuery, ): Promise /** * 获取企业公告未删除分类列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-list-of-categories-not-deleted-for-enterprise-announcements + * @see https://open.dingtalk.com/document/orgapp/obtains-the-list-of-categories-not-deleted-for-enterprise-announcements */ oapiBlackboardCategoryList( params: OapiBlackboardCategoryListParams, ): Promise /** * 根据公告id修改企业公告,只有以下身份可以修改:1、主管理员2、公告子管理员并且是待修改公告的创建者 - * @see https://developers.dingtalk.com/document/orgapp/modify-the-announcement-according-to-the-announcement-id + * @see https://open.dingtalk.com/document/orgapp/modify-the-announcement-according-to-the-announcement-id */ oapiBlackboardUpdate( params: OapiBlackboardUpdateParams, ): Promise /** * 根据公告id删除企业公告,只有以下身份可以删除1、主管理员2、公告子管理员并且是待删除公告创建者 - * @see https://developers.dingtalk.com/document/orgapp/delete-announcements-based-on-the-announcement-id + * @see https://open.dingtalk.com/document/orgapp/delete-announcements-based-on-the-announcement-id */ oapiBlackboardDelete( params: OapiBlackboardDeleteParams, @@ -3477,604 +3477,604 @@ declare module '../internal' { * 1.2 公告的接收人 * 2、非保密公告 * 2.1 企业内的人都可见 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-details-of-a-bulletin-that-is-not-deleted + * @see https://open.dingtalk.com/document/orgapp/obtains-the-details-of-a-bulletin-that-is-not-deleted */ oapiBlackboardGet( params: OapiBlackboardGetParams, ): Promise /** * 通过接口可以获取到企业未删除的钉钉公告id列表 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-id-list-of-announcements-that-are-not-deleted + * @see https://open.dingtalk.com/document/orgapp/obtains-the-id-list-of-announcements-that-are-not-deleted */ oapiBlackboardListids( params: OapiBlackboardListidsParams, ): Promise /** * 管理员可以通过该接口创建钉钉企业公告 - * @see https://developers.dingtalk.com/document/orgapp/create-an-enterprise-announcement + * @see https://open.dingtalk.com/document/orgapp/create-an-enterprise-announcement */ oapiBlackboardCreate( params: OapiBlackboardCreateParams, ): Promise /** * 列出用户当前有权限看到的10条公告,可用于在企业自定义工作首页进行公告轮播展示 - * @see https://developers.dingtalk.com/document/orgapp/list-the-user-s-announcement-list + * @see https://open.dingtalk.com/document/orgapp/list-the-user-s-announcement-list */ oapiBlackboardListtopten( params: OapiBlackboardListtoptenParams, ): Promise /** * 查询用户是否参与企业步数排行榜 - * @see https://developers.dingtalk.com/document/isvapp/check-whether-dingtalk-is-enabled + * @see https://open.dingtalk.com/document/isvapp/check-whether-dingtalk-is-enabled */ oapiHealthStepinfoGetuserstatus( params: OapiHealthStepinfoGetuserstatusParams, ): Promise /** * 批量获取钉钉运动数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-the-number-of-dingtalk-movement-steps-of-multiple-users + * @see https://open.dingtalk.com/document/orgapp/queries-the-number-of-dingtalk-movement-steps-of-multiple-users */ oapiHealthStepinfoListbyuserid( params: OapiHealthStepinfoListbyuseridParams, ): Promise /** * 查询企业用户或部门每天的钉钉运动步数,最多可以查询31天的数据 - * @see https://developers.dingtalk.com/document/orgapp/queries-individual-or-department-dingtalk-exercise-steps + * @see https://open.dingtalk.com/document/orgapp/queries-individual-or-department-dingtalk-exercise-steps */ oapiHealthStepinfoList( params: OapiHealthStepinfoListParams, ): Promise /** * 该接口用于获取员工可见的应用列表 - * @see https://developers.dingtalk.com/document/orgapp-server/list-the-microapplications-visible-to-employees + * @see https://open.dingtalk.com/document/orgapp-server/list-the-microapplications-visible-to-employees */ oapiMicroappListByUserid( query: OapiMicroappListByUseridQuery, ): Promise /** * 列出微应用 - * @see https://developers.dingtalk.com/document/orgapp-server/manager-microapplications-api-permission + * @see https://open.dingtalk.com/document/orgapp-server/manager-microapplications-api-permission */ oapiMicroappList(): Promise /** * 删除微应用 - * @see https://developers.dingtalk.com/document/orgapp-server/delete-an-h5-microapplication + * @see https://open.dingtalk.com/document/orgapp-server/delete-an-h5-microapplication */ oapiMicroappDelete( params: OapiMicroappDeleteParams, ): Promise /** * 该接口用于设置应用的可见范围 - * @see https://developers.dingtalk.com/document/orgapp-server/set-the-visible-range-of-the-microapplication + * @see https://open.dingtalk.com/document/orgapp-server/set-the-visible-range-of-the-microapplication */ oapiMicroappSetVisibleScopes( params: OapiMicroappSetVisibleScopesParams, ): Promise /** * 获取应用的可见范围 - * @see https://developers.dingtalk.com/document/orgapp-server/gets-the-microapplication-visible-range-set-by-the-enterprise + * @see https://open.dingtalk.com/document/orgapp-server/gets-the-microapplication-visible-range-set-by-the-enterprise */ oapiMicroappVisibleScopes( params: OapiMicroappVisibleScopesParams, ): Promise /** * 用户使用音频 media_id 或 url 进行请求,服务通过回调的方式通知用户翻译结果 - * @see https://developers.dingtalk.com/document/isvapp/asr-short-sentence-recognition + * @see https://open.dingtalk.com/document/isvapp/asr-short-sentence-recognition */ oapiAsrVoiceTranslate( params: OapiAsrVoiceTranslateParams, ): Promise /** * 输入一段文本,得到翻译指定语言后的译文,支持多种语言的互译 - * @see https://developers.dingtalk.com/document/isvapp/dingtalk-translation + * @see https://open.dingtalk.com/document/isvapp/dingtalk-translation */ oapiAiMtTranslate( params: OapiAiMtTranslateParams, ): Promise /** * OCR文字识别 - * @see https://developers.dingtalk.com/document/isvapp/structured-image-recognition-api + * @see https://open.dingtalk.com/document/isvapp/structured-image-recognition-api */ oapiOcrStructuredRecognize( params: OapiOcrStructuredRecognizeParams, ): Promise /** * 场开放场景下,基于群模板定义的机器人向群内发消息 - * @see https://developers.dingtalk.com/document/isvapp/send-group-helper-message + * @see https://open.dingtalk.com/document/isvapp/send-group-helper-message */ oapiImChatScencegroupMessageSendV2( params: OapiImChatScencegroupMessageSendV2Params, ): Promise /** * 根据定义的模板id,创建自定义场景群 - * @see https://developers.dingtalk.com/document/isvapp/deactivate-group-template + * @see https://open.dingtalk.com/document/isvapp/deactivate-group-template */ oapiImChatScenegroupTemplateClose( params: OapiImChatScenegroupTemplateCloseParams, ): Promise /** * 根据传入的模板id,启用群会话群模板功能 - * @see https://developers.dingtalk.com/document/isvapp/enable-group-template + * @see https://open.dingtalk.com/document/isvapp/enable-group-template */ oapiImChatScenegroupTemplateApply( params: OapiImChatScenegroupTemplateApplyParams, ): Promise /** * 注册互动卡片回调地址 - * @see https://developers.dingtalk.com/document/orgapp/registration-card-interaction-callback-address-1 + * @see https://open.dingtalk.com/document/orgapp/registration-card-interaction-callback-address-1 */ oapiImChatScencegroupInteractivecardCallbackRegister( params: OapiImChatScencegroupInteractivecardCallbackRegisterParams, ): Promise /** * 根据定义的模板id,创建自定义场景群 - * @see https://developers.dingtalk.com/document/isvapp/create-group + * @see https://open.dingtalk.com/document/isvapp/create-group */ oapiImChatScenegroupCreate( params: OapiImChatScenegroupCreateParams, ): Promise /** * 新增场景群成员 - * @see https://developers.dingtalk.com/document/isvapp/add-group-members-1 + * @see https://open.dingtalk.com/document/isvapp/add-group-members-1 */ oapiImChatScenegroupMemberAdd( params: OapiImChatScenegroupMemberAddParams, ): Promise /** * 获取场景群成员 - * @see https://developers.dingtalk.com/document/group/obtains-scene-members + * @see https://open.dingtalk.com/document/group/obtains-scene-members */ oapiImChatScenegroupMemberGet( params: OapiImChatScenegroupMemberGetParams, ): Promise /** * 根据传入的群id,更新群相关内容 - * @see https://developers.dingtalk.com/document/isvapp/update-group + * @see https://open.dingtalk.com/document/isvapp/update-group */ oapiImChatScenegroupUpdate( params: OapiImChatScenegroupUpdateParams, ): Promise /** * 删除场景群成员 - * @see https://developers.dingtalk.com/document/isvapp/delete-group-members + * @see https://open.dingtalk.com/document/isvapp/delete-group-members */ oapiImChatScenegroupMemberDelete( params: OapiImChatScenegroupMemberDeleteParams, ): Promise /** * 根据群id,获取群的基本信息 - * @see https://developers.dingtalk.com/document/isvapp/querying-group-information + * @see https://open.dingtalk.com/document/isvapp/querying-group-information */ oapiImChatScenegroupGet( params: OapiImChatScenegroupGetParams, ): Promise /** * 自定义机器人发送消息 - * @see https://developers.dingtalk.com/document/isvapp/custom-bot-access-send-message + * @see https://open.dingtalk.com/document/isvapp/custom-bot-access-send-message */ oapiRobotSend(params: OapiRobotSendParams): Promise /** * 配置发票适用人群 - * @see https://developers.dingtalk.com/document/isvapp/configure-invoice-users + * @see https://open.dingtalk.com/document/isvapp/configure-invoice-users */ oapiAlitripBtripInvoiceSettingRule( params: OapiAlitripBtripInvoiceSettingRuleParams, ): Promise /** * 新增发票配置 - * @see https://developers.dingtalk.com/document/isvapp/new-invoice-configuration + * @see https://open.dingtalk.com/document/isvapp/new-invoice-configuration */ oapiAlitripBtripInvoiceSettingAdd( params: OapiAlitripBtripInvoiceSettingAddParams, ): Promise /** * 删除项目 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-project + * @see https://open.dingtalk.com/document/isvapp/delete-a-project */ oapiAlitripBtripProjectDelete( params: OapiAlitripBtripProjectDeleteParams, ): Promise /** * 项目变更 - * @see https://developers.dingtalk.com/document/isvapp/project-change + * @see https://open.dingtalk.com/document/isvapp/project-change */ oapiAlitripBtripProjectModify( params: OapiAlitripBtripProjectModifyParams, ): Promise /** * 添加项目 - * @see https://developers.dingtalk.com/document/isvapp/add-a-project + * @see https://open.dingtalk.com/document/isvapp/add-a-project */ oapiAlitripBtripProjectAdd( params: OapiAlitripBtripProjectAddParams, ): Promise /** * 删除发票配置 - * @see https://developers.dingtalk.com/document/isvapp/delete-invoice-configuration + * @see https://open.dingtalk.com/document/isvapp/delete-invoice-configuration */ oapiAlitripBtripInvoiceSettingDelete( params: OapiAlitripBtripInvoiceSettingDeleteParams, ): Promise /** * 修改发票配置 - * @see https://developers.dingtalk.com/document/isvapp/modify-invoice-configuration + * @see https://open.dingtalk.com/document/isvapp/modify-invoice-configuration */ oapiAlitripBtripInvoiceSettingModify( params: OapiAlitripBtripInvoiceSettingModifyParams, ): Promise /** * 查询预估价 - * @see https://developers.dingtalk.com/document/isvapp/query-estimated-price + * @see https://open.dingtalk.com/document/isvapp/query-estimated-price */ oapiAlitripBtripPriceQuery( params: OapiAlitripBtripPriceQueryParams, ): Promise /** * 火车票城市搜索 - * @see https://developers.dingtalk.com/document/isvapp/train-ticket-city-search + * @see https://open.dingtalk.com/document/isvapp/train-ticket-city-search */ oapiAlitripBtripTrainCitySuggest( params: OapiAlitripBtripTrainCitySuggestParams, ): Promise /** * 获取月对账结算数据 - * @see https://developers.dingtalk.com/document/isvapp/obtain-monthly-reconciliation-settlement-data + * @see https://open.dingtalk.com/document/isvapp/obtain-monthly-reconciliation-settlement-data */ oapiAlitripBtripMonthbillUrlGet( params: OapiAlitripBtripMonthbillUrlGetParams, ): Promise /** * 获取商旅访问地址 - * @see https://developers.dingtalk.com/document/isvapp/obtain-business-travel-access-addresses + * @see https://open.dingtalk.com/document/isvapp/obtain-business-travel-access-addresses */ oapiAlitripBtripAddressGet( params: OapiAlitripBtripAddressGetParams, ): Promise /** * 修改申请单 - * @see https://developers.dingtalk.com/document/isvapp/user-modify-approval-form + * @see https://open.dingtalk.com/document/isvapp/user-modify-approval-form */ oapiAlitripBtripApprovalModify( params: OapiAlitripBtripApprovalModifyParams, ): Promise /** * 机票城市搜索 - * @see https://developers.dingtalk.com/document/isvapp/air-ticket-city-search + * @see https://open.dingtalk.com/document/isvapp/air-ticket-city-search */ oapiAlitripBtripFlightCitySuggest( params: OapiAlitripBtripFlightCitySuggestParams, ): Promise /** * 获取用车订单数据 - * @see https://developers.dingtalk.com/document/isvapp/vehicle-order-query-interface + * @see https://open.dingtalk.com/document/isvapp/vehicle-order-query-interface */ oapiAlitripBtripVehicleOrderSearch( params: OapiAlitripBtripVehicleOrderSearchParams, ): Promise /** * 查询成本中心 - * @see https://developers.dingtalk.com/document/isvapp/query-cost-center + * @see https://open.dingtalk.com/document/isvapp/query-cost-center */ oapiAlitripBtripCostCenterQuery( params: OapiAlitripBtripCostCenterQueryParams, ): Promise /** * 更新申请单状态 - * @see https://developers.dingtalk.com/document/isvapp/update-approval-form + * @see https://open.dingtalk.com/document/isvapp/update-approval-form */ oapiAlitripBtripApprovalUpdate( params: OapiAlitripBtripApprovalUpdateParams, ): Promise /** * 新建成本中心 - * @see https://developers.dingtalk.com/document/isvapp/new-cost-center + * @see https://open.dingtalk.com/document/isvapp/new-cost-center */ oapiAlitripBtripCostCenterNew( params: OapiAlitripBtripCostCenterNewParams, ): Promise /** * 修改成本中心基本信息 - * @see https://developers.dingtalk.com/document/isvapp/modify-basic-cost-center-information + * @see https://open.dingtalk.com/document/isvapp/modify-basic-cost-center-information */ oapiAlitripBtripCostCenterModify( params: OapiAlitripBtripCostCenterModifyParams, ): Promise /** * 删除成本中心 - * @see https://developers.dingtalk.com/document/isvapp/delete-cost-center + * @see https://open.dingtalk.com/document/isvapp/delete-cost-center */ oapiAlitripBtripCostCenterDelete( params: OapiAlitripBtripCostCenterDeleteParams, ): Promise /** * 设置成本中心人员信息 - * @see https://developers.dingtalk.com/document/isvapp/set-up-cost-center-personnel-information + * @see https://open.dingtalk.com/document/isvapp/set-up-cost-center-personnel-information */ oapiAlitripBtripCostCenterEntitySet( params: OapiAlitripBtripCostCenterEntitySetParams, ): Promise /** * 企业获取商旅酒店订单数据 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-order-data-of-enterprise-hotels + * @see https://open.dingtalk.com/document/isvapp/obtains-the-order-data-of-enterprise-hotels */ oapiAlitripBtripHotelOrderSearch( params: OapiAlitripBtripHotelOrderSearchParams, ): Promise /** * 获取企业火车票订单数据 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-enterprise-train-ticket-order-data + * @see https://open.dingtalk.com/document/isvapp/obtains-the-enterprise-train-ticket-order-data */ oapiAlitripBtripTrainOrderSearch( params: OapiAlitripBtripTrainOrderSearchParams, ): Promise /** * 获取企业机票订单数据 - * @see https://developers.dingtalk.com/document/isvapp/obtains-enterprise-ticket-order-data + * @see https://open.dingtalk.com/document/isvapp/obtains-enterprise-ticket-order-data */ oapiAlitripBtripFlightOrderSearch( params: OapiAlitripBtripFlightOrderSearchParams, ): Promise /** * 查询可用发票列表 - * @see https://developers.dingtalk.com/document/isvapp/query-available-invoices + * @see https://open.dingtalk.com/document/isvapp/query-available-invoices */ oapiAlitripBtripInvoiceSearch( params: OapiAlitripBtripInvoiceSearchParams, ): Promise /** * 商旅成本中心转换为外部成本中心 - * @see https://developers.dingtalk.com/document/isvapp/business-travel-cost-center-converted-to-external-cost-center + * @see https://open.dingtalk.com/document/isvapp/business-travel-cost-center-converted-to-external-cost-center */ oapiAlitripBtripCostCenterTransfer( params: OapiAlitripBtripCostCenterTransferParams, ): Promise /** * 获取申请单详情 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-detailed-data-of-a-single-request + * @see https://open.dingtalk.com/document/isvapp/obtains-the-detailed-data-of-a-single-request */ oapiAlitripBtripApplyGet( params: OapiAlitripBtripApplyGetParams, ): Promise /** * 获取申请单列表 - * @see https://developers.dingtalk.com/document/isvapp/search-enterprise-approval-form-data + * @see https://open.dingtalk.com/document/isvapp/search-enterprise-approval-form-data */ oapiAlitripBtripApplySearch( params: OapiAlitripBtripApplySearchParams, ): Promise /** * 用户新建审批单 - * @see https://developers.dingtalk.com/document/isvapp/user-new-approval-form + * @see https://open.dingtalk.com/document/isvapp/user-new-approval-form */ oapiAlitripBtripApprovalNew( params: OapiAlitripBtripApprovalNewParams, ): Promise /** * 删除成本中心人员信息 - * @see https://developers.dingtalk.com/document/isvapp/delete-cost-center-personnel-information + * @see https://open.dingtalk.com/document/isvapp/delete-cost-center-personnel-information */ oapiAlitripBtripCostCenterEntityDelete( params: OapiAlitripBtripCostCenterEntityDeleteParams, ): Promise /** * 获取钉钉项目空间任务中文件的操作日志列表 - * @see https://developers.dingtalk.com/document/orgapp/query-file-operation-logs-of-a-project + * @see https://open.dingtalk.com/document/orgapp/query-file-operation-logs-of-a-project */ oapiWorkspaceAuditlogList( params: OapiWorkspaceAuditlogListParams, ): Promise /** * 查询当前用户的数字化考试情况,是否获取了证书 - * @see https://developers.dingtalk.com/document/isvapp/obtain-digital-certificate + * @see https://open.dingtalk.com/document/isvapp/obtain-digital-certificate */ oapiEduCertGet( params: OapiEduCertGetParams, ): Promise /** * 获取家校用户身份列表 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-home-school-user-identities + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-home-school-user-identities */ oapiEduUserList( params: OapiEduUserListParams, ): Promise /** * 查询企业下的智能硬件设备详情 - * @see https://developers.dingtalk.com/document/isvapp/the-smart-hardware-can-query-details-based-on-the-device + * @see https://open.dingtalk.com/document/isvapp/the-smart-hardware-can-query-details-based-on-the-device */ oapiSmartdeviceDeviceQuerybyid( params: OapiSmartdeviceDeviceQuerybyidParams, ): Promise /** * 查询企业下的智能硬件设备列表 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-list-query + * @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-list-query */ oapiSmartdeviceDeviceQuerylist( params: OapiSmartdeviceDeviceQuerylistParams, ): Promise /** * 查询企业下的智能硬件设备详情 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-device-query + * @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-device-query */ oapiSmartdeviceDeviceQuery( params: OapiSmartdeviceDeviceQueryParams, ): Promise /** * 解除企业下的智能硬件设备绑定 - * @see https://developers.dingtalk.com/document/isvapp/intelligent-hardware-device-nickname-modification + * @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-device-nickname-modification */ oapiSmartdeviceDeviceUpdatenick( params: OapiSmartdeviceDeviceUpdatenickParams, ): Promise /** * 解除企业下的智能硬件设备绑定 - * @see https://developers.dingtalk.com/document/isvapp/unbind-a-smart-hardware-device + * @see https://open.dingtalk.com/document/isvapp/unbind-a-smart-hardware-device */ oapiSmartdeviceDeviceUnbind( params: OapiSmartdeviceDeviceUnbindParams, ): Promise /** * 智能设备接入钉钉时,需要和组织建立绑定关系,此接口用于创建绑定关系。 - * @see https://developers.dingtalk.com/document/isvapp/establishing-a-binding-relationship-between-intelligent-hardware-and-cloud + * @see https://open.dingtalk.com/document/isvapp/establishing-a-binding-relationship-between-intelligent-hardware-and-cloud */ oapiSmartdeviceExternalBind( params: OapiSmartdeviceExternalBindParams, ): Promise /** * 删除当前组织CRM指定联系人的接口 - * @see https://developers.dingtalk.com/document/orgapp/delete-crm-contact + * @see https://open.dingtalk.com/document/orgapp/delete-crm-contact */ oapiCrmObjectdataContactDelete( params: OapiCrmObjectdataContactDeleteParams, ): Promise /** * 创建CRM自定义对象数据 - * @see https://developers.dingtalk.com/document/orgapp/dingtalk-paas-master-create-custom-crm-object-data + * @see https://open.dingtalk.com/document/orgapp/dingtalk-paas-master-create-custom-crm-object-data */ oapiCrmObjectdataCustomobjectCreate( params: OapiCrmObjectdataCustomobjectCreateParams, ): Promise /** * 钉钉PaaS主数据-更新CRM自定义对象数据 - * @see https://developers.dingtalk.com/document/orgapp/crm-master-data-opens-interface-for-updating-custom-object-data + * @see https://open.dingtalk.com/document/orgapp/crm-master-data-opens-interface-for-updating-custom-object-data */ oapiCrmObjectdataCustomobjectUpdate( params: OapiCrmObjectdataCustomobjectUpdateParams, ): Promise /** * 根据实例ID列表批量获取CRM自定义表单数据,最多可一次获取200条数据 - * @see https://developers.dingtalk.com/document/orgapp/retrieves-custom-crm-forms-from-the-id-list + * @see https://open.dingtalk.com/document/orgapp/retrieves-custom-crm-forms-from-the-id-list */ oapiCrmObjectdataList( params: OapiCrmObjectdataListParams, ): Promise /** * 获取CRM自定义对象数据,最多可一次获取200条数据 - * @see https://developers.dingtalk.com/document/orgapp/retrieve-custom-crm-object-data + * @see https://open.dingtalk.com/document/orgapp/retrieve-custom-crm-object-data */ oapiCrmObjectdataQuery( params: OapiCrmObjectdataQueryParams, ): Promise /** * 获取自定义对象的元数据 - * @see https://developers.dingtalk.com/document/orgapp/get-metadata-description-of-crm-custom-object + * @see https://open.dingtalk.com/document/orgapp/get-metadata-description-of-crm-custom-object */ oapiCrmObjectmetaDescribe( params: OapiCrmObjectmetaDescribeParams, ): Promise /** * 根据指定查询条件批量获取联系人数据,最多可一次获取200条数据 - * @see https://developers.dingtalk.com/document/isvapp/query-contact-data + * @see https://open.dingtalk.com/document/isvapp/query-contact-data */ oapiCrmObjectdataContactQuery( params: OapiCrmObjectdataContactQueryParams, ): Promise /** * 根据实例ID列表批量获取跟进记录数据,最多可一次获取200条数据 - * @see https://developers.dingtalk.com/document/orgapp/dingtalk-the-primary-data-of-apsara-stack-agility-paas-allows-you + * @see https://open.dingtalk.com/document/orgapp/dingtalk-the-primary-data-of-apsara-stack-agility-paas-allows-you */ oapiCrmObjectdataFollowrecordList( params: OapiCrmObjectdataFollowrecordListParams, ): Promise /** * 根据指定查询条件批量获取跟进记录数据,最多可一次获取200条数据 - * @see https://developers.dingtalk.com/document/orgapp/query-and-dingtalk-data-of-track-records-in-apsara-stack + * @see https://open.dingtalk.com/document/orgapp/query-and-dingtalk-data-of-track-records-in-apsara-stack */ oapiCrmObjectdataFollowrecordQuery( params: OapiCrmObjectdataFollowrecordQueryParams, ): Promise /** * 按照ID列表批量获取联系人数据 - * @see https://developers.dingtalk.com/document/orgapp/retrieves-contact-data-in-batches-based-on-the-id-list + * @see https://open.dingtalk.com/document/orgapp/retrieves-contact-data-in-batches-based-on-the-id-list */ oapiCrmObjectdataContactList( params: OapiCrmObjectdataContactListParams, ): Promise /** * 获取联系人对象的元数据 - * @see https://developers.dingtalk.com/document/isvapp/get-metadata-for-a-contact + * @see https://open.dingtalk.com/document/isvapp/get-metadata-for-a-contact */ oapiCrmObjectmetaContactDescribe(): Promise /** * 获取跟进记录对象的元数据 - * @see https://developers.dingtalk.com/document/isvapp/get-the-metadata-of-the-follow-up-record-object + * @see https://open.dingtalk.com/document/isvapp/get-the-metadata-of-the-follow-up-record-object */ oapiCrmObjectmetaFollowrecordDescribe(): Promise /** * 发送文件给指定用户 - * @see https://developers.dingtalk.com/document/isvapp-server/sends-a-file-to-a-specified-user + * @see https://open.dingtalk.com/document/isvapp-server/sends-a-file-to-a-specified-user */ oapiCspaceAddToSingleChat( params: OapiCspaceAddToSingleChatParams, ): Promise /** * 授权用户访问企业下的自定义空间 - * @see https://developers.dingtalk.com/document/isvapp-server/authorize-a-user-to-access-a-custom-workspace-of-an + * @see https://open.dingtalk.com/document/isvapp-server/authorize-a-user-to-access-a-custom-workspace-of-an */ oapiCspaceGrantCustomSpace( query: OapiCspaceGrantCustomSpaceQuery, ): Promise /** * 获取企业下的自定义空间 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-user-space-under-the-enterprise + * @see https://open.dingtalk.com/document/isvapp-server/obtain-user-space-under-the-enterprise */ oapiCspaceGetCustomSpace( query: OapiCspaceGetCustomSpaceQuery, ): Promise /** * 新增文件到用户钉盘 - * @see https://developers.dingtalk.com/document/isvapp-server/add-file-to-user-s-dingtalk-disk + * @see https://open.dingtalk.com/document/isvapp-server/add-file-to-user-s-dingtalk-disk */ oapiCspaceAdd(query: OapiCspaceAddQuery): Promise /** * 增加和删除群管理员接口 - * @see https://developers.dingtalk.com/document/orgapp/set-chat-admin + * @see https://open.dingtalk.com/document/orgapp/set-chat-admin */ oapiChatSubadminUpdate( params: OapiChatSubadminUpdateParams, ): Promise /** * 获取群入群二维码邀请链接 - * @see https://developers.dingtalk.com/document/orgapp/obtain-a-qr-code-link + * @see https://open.dingtalk.com/document/orgapp/obtain-a-qr-code-link */ oapiChatQrcodeGet( params: OapiChatQrcodeGetParams, ): Promise /** * 设置群成员之间是否可以添加好友和私聊的开关 - * @see https://developers.dingtalk.com/document/orgapp/set-private-chat + * @see https://open.dingtalk.com/document/orgapp/set-private-chat */ oapiChatMemberFriendswitchUpdate( params: OapiChatMemberFriendswitchUpdateParams, ): Promise /** * 设置群成员的群昵称 - * @see https://developers.dingtalk.com/document/orgapp/set-a-group-nickname + * @see https://open.dingtalk.com/document/orgapp/set-a-group-nickname */ oapiChatUpdategroupnick( params: OapiChatUpdategroupnickParams, ): Promise /** * 修改群会话 - * @see https://developers.dingtalk.com/document/orgapp/modify-a-group-session + * @see https://open.dingtalk.com/document/orgapp/modify-a-group-session */ oapiChatUpdate( params: OapiChatUpdateParams, ): Promise /** * 该接口用于创建会话 - * @see https://developers.dingtalk.com/document/orgapp/create-group-session + * @see https://open.dingtalk.com/document/orgapp/create-group-session */ oapiChatCreate( params: OapiChatCreateParams, ): Promise /** * 获取群会话 - * @see https://developers.dingtalk.com/document/orgapp/obtain-a-group-session + * @see https://open.dingtalk.com/document/orgapp/obtain-a-group-session */ oapiChatGet(query: OapiChatGetQuery): Promise /** * 通过工作助理机器人给企业员工发送消息 - * @see https://developers.dingtalk.com/document/orgapp/the-message-pushing-interface-of-the-assistant + * @see https://open.dingtalk.com/document/orgapp/the-message-pushing-interface-of-the-assistant */ oapiSmartbotMsgPush( params: OapiSmartbotMsgPushParams, diff --git a/adapters/dingtalk/src/api/oauth2.ts b/adapters/dingtalk/src/api/oauth2.ts index 345de54f..0ab9502d 100644 --- a/adapters/dingtalk/src/api/oauth2.ts +++ b/adapters/dingtalk/src/api/oauth2.ts @@ -103,43 +103,43 @@ declare module '../internal' { interface Internal { /** * 生成jsapi ticket - * @see https://developers.dingtalk.com/document/isvapp/create-a-jsapi-ticket + * @see https://open.dingtalk.com/document/isvapp/create-a-jsapi-ticket */ createJsapiTicket(): Promise /** * 生成微应用管理后台accessToken - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-access_token-of-the-micro-application-background-without-log-on + * @see https://open.dingtalk.com/document/isvapp/obtain-the-access_token-of-the-micro-application-background-without-log-on */ getSsoAccessToken( params: GetSsoAccessTokenParams, ): Promise /** * 查询个人授权记录 - * @see https://developers.dingtalk.com/document/isvapp/query-individual-authorization-records + * @see https://open.dingtalk.com/document/isvapp/query-individual-authorization-records */ getPersonalAuthRule(): Promise /** * 获取企业accessToken(企业内部应用) - * @see https://developers.dingtalk.com/document/orgapp/obtain-the-access_token-of-an-internal-app + * @see https://open.dingtalk.com/document/orgapp/obtain-the-access_token-of-an-internal-app */ getAccessToken( params: GetAccessTokenParams, ): Promise /** * 获取企业accessToken(应用商店应用) - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-access_token-of-the-authorized-enterprise + * @see https://open.dingtalk.com/document/isvapp/obtain-the-access_token-of-the-authorized-enterprise */ getCorpAccessToken( params: GetCorpAccessTokenParams, ): Promise /** * 获取用户token - * @see https://developers.dingtalk.com/document/isvapp/obtain-user-token + * @see https://open.dingtalk.com/document/isvapp/obtain-user-token */ getUserToken(params: GetUserTokenParams): Promise /** * 查询微应用后台免登的用户信息 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-identity-of-an-application-administrator + * @see https://open.dingtalk.com/document/isvapp/obtains-the-identity-of-an-application-administrator */ getSsoUserInfo(query: GetSsoUserInfoQuery): Promise } diff --git a/adapters/dingtalk/src/api/pedia.ts b/adapters/dingtalk/src/api/pedia.ts index 47505264..c5c29f4a 100644 --- a/adapters/dingtalk/src/api/pedia.ts +++ b/adapters/dingtalk/src/api/pedia.ts @@ -180,42 +180,42 @@ declare module '../internal' { interface Internal { /** * 根据词条主键ID查询当前词条详情 - * @see https://developers.dingtalk.com/document/app/entry-query + * @see https://open.dingtalk.com/document/app/entry-query */ pediaWordsQuery( query: PediaWordsQueryQuery, ): Promise /** * 分页获取企业词条信息 - * @see https://developers.dingtalk.com/document/app/entry-search + * @see https://open.dingtalk.com/document/app/entry-search */ pediaWordsSearch( params: PediaWordsSearchParams, ): Promise /** * 企业百科针对待审核词条进行审核 - * @see https://developers.dingtalk.com/document/app/entry-review + * @see https://open.dingtalk.com/document/app/entry-review */ pediaWordsApprove( params: PediaWordsApproveParams, ): Promise /** * 企业百科针对uuid删除当前词条 - * @see https://developers.dingtalk.com/document/app/entry-delete + * @see https://open.dingtalk.com/document/app/entry-delete */ pediaWordsDelete( query: PediaWordsDeleteQuery, ): Promise /** * 企业百科对当前已经生效词条进行编辑 - * @see https://developers.dingtalk.com/document/app/update-entry + * @see https://open.dingtalk.com/document/app/update-entry */ pediaWordsUpdate( params: PediaWordsUpdateParams, ): Promise /** * 企业百科增加当前企业词条信息 - * @see https://developers.dingtalk.com/document/app/new-entry + * @see https://open.dingtalk.com/document/app/new-entry */ pediaWordsAdd(params: PediaWordsAddParams): Promise } diff --git a/adapters/dingtalk/src/api/project.ts b/adapters/dingtalk/src/api/project.ts index ecf83505..32055455 100644 --- a/adapters/dingtalk/src/api/project.ts +++ b/adapters/dingtalk/src/api/project.ts @@ -1097,7 +1097,7 @@ declare module '../internal' { interface Internal { /** * 创建或更新项目概览中自定义字段值 - * @see https://developers.dingtalk.com/document/orgapp/create-project-custom-fields + * @see https://open.dingtalk.com/document/orgapp/create-project-custom-fields */ createProjectCustomfieldStatus( userId: string, @@ -1106,7 +1106,7 @@ declare module '../internal' { ): Promise /** * 更新任务标题 - * @see https://developers.dingtalk.com/document/orgapp/update-task-content + * @see https://open.dingtalk.com/document/orgapp/update-task-content */ updateTaskContent( userId: string, @@ -1115,7 +1115,7 @@ declare module '../internal' { ): Promise /** * 更新任务备注 - * @see https://developers.dingtalk.com/document/orgapp/update-task-notes + * @see https://open.dingtalk.com/document/orgapp/update-task-notes */ updateTaskNote( userId: string, @@ -1124,7 +1124,7 @@ declare module '../internal' { ): Promise /** * 更新任务参与者 - * @see https://developers.dingtalk.com/document/orgapp/update-task-participants + * @see https://open.dingtalk.com/document/orgapp/update-task-participants */ updateTaskInvolvemembers( userId: string, @@ -1133,7 +1133,7 @@ declare module '../internal' { ): Promise /** * 更新任务执行者 - * @see https://developers.dingtalk.com/document/orgapp/update-task-performer + * @see https://open.dingtalk.com/document/orgapp/update-task-performer */ updateTaskExecutor( userId: string, @@ -1142,7 +1142,7 @@ declare module '../internal' { ): Promise /** * 更新任务优先级 - * @see https://developers.dingtalk.com/document/orgapp/update-task-priority + * @see https://open.dingtalk.com/document/orgapp/update-task-priority */ updateTaskPriority( userId: string, @@ -1151,7 +1151,7 @@ declare module '../internal' { ): Promise /** * 更新任务截止时间 - * @see https://developers.dingtalk.com/document/orgapp/update-task-deadline + * @see https://open.dingtalk.com/document/orgapp/update-task-deadline */ updateTaskDueDate( userId: string, @@ -1160,7 +1160,7 @@ declare module '../internal' { ): Promise /** * 获取任务详情 - * @see https://developers.dingtalk.com/document/orgapp/get-task-details + * @see https://open.dingtalk.com/document/orgapp/get-task-details */ getTaskByIds( userId: string, @@ -1168,12 +1168,12 @@ declare module '../internal' { ): Promise /** * 任务迁移至回收站 - * @see https://developers.dingtalk.com/document/orgapp/archive-tasks + * @see https://open.dingtalk.com/document/orgapp/archive-tasks */ archiveTask(userId: string, taskId: string): Promise /** * 查询用户任务列表 - * @see https://developers.dingtalk.com/document/orgapp/querying-user-tasks + * @see https://open.dingtalk.com/document/orgapp/querying-user-tasks */ searchUserTask( userId: string, @@ -1181,7 +1181,7 @@ declare module '../internal' { ): Promise /** * 获取任务列表 - * @see https://developers.dingtalk.com/document/orgapp/get-task-list + * @see https://open.dingtalk.com/document/orgapp/get-task-list */ seachTaskStage( userId: string, @@ -1190,7 +1190,7 @@ declare module '../internal' { ): Promise /** * 查询任务分组 - * @see https://developers.dingtalk.com/document/orgapp/query-task-grouping + * @see https://open.dingtalk.com/document/orgapp/query-task-grouping */ searchTaskList( userId: string, @@ -1199,7 +1199,7 @@ declare module '../internal' { ): Promise /** * 查询任务工作流 - * @see https://developers.dingtalk.com/document/orgapp/query-task-workflow + * @see https://open.dingtalk.com/document/orgapp/query-task-workflow */ searchTaskFlow( userId: string, @@ -1208,7 +1208,7 @@ declare module '../internal' { ): Promise /** * 查询项目状态 - * @see https://developers.dingtalk.com/document/orgapp/query-project-status + * @see https://open.dingtalk.com/document/orgapp/query-project-status */ getProjectStatusList( userId: string, @@ -1216,7 +1216,7 @@ declare module '../internal' { ): Promise /** * 删除项目成员 - * @see https://developers.dingtalk.com/document/orgapp/delete-project-members + * @see https://open.dingtalk.com/document/orgapp/delete-project-members */ deleteProjectMember( userId: string, @@ -1225,7 +1225,7 @@ declare module '../internal' { ): Promise /** * 获取项目成员 - * @see https://developers.dingtalk.com/document/orgapp/get-project-members + * @see https://open.dingtalk.com/document/orgapp/get-project-members */ getProjectMemebers( userId: string, @@ -1234,7 +1234,7 @@ declare module '../internal' { ): Promise /** * 查询项目 - * @see https://developers.dingtalk.com/document/orgapp/query-enterprise-all-projects + * @see https://open.dingtalk.com/document/orgapp/query-enterprise-all-projects */ queryProject( userId: string, @@ -1242,7 +1242,7 @@ declare module '../internal' { ): Promise /** * 搜索任务工作流状态 - * @see https://developers.dingtalk.com/document/isvapp/search-task-workflow-status + * @see https://open.dingtalk.com/document/isvapp/search-task-workflow-status */ searchTaskflowStatus( userId: string, @@ -1251,7 +1251,7 @@ declare module '../internal' { ): Promise /** * 更新任务工作流状态 - * @see https://developers.dingtalk.com/document/isvapp/update-task-workflow-status + * @see https://open.dingtalk.com/document/isvapp/update-task-workflow-status */ updateTaskTaskflowstatus( userId: string, @@ -1260,7 +1260,7 @@ declare module '../internal' { ): Promise /** * 更新任务开始时间 - * @see https://developers.dingtalk.com/document/orgapp/update-task-start-time + * @see https://open.dingtalk.com/document/orgapp/update-task-start-time */ updateTaskStartdate( userId: string, @@ -1269,7 +1269,7 @@ declare module '../internal' { ): Promise /** * 创建项目 - * @see https://developers.dingtalk.com/document/orgapp/create-project + * @see https://open.dingtalk.com/document/orgapp/create-project */ createProject( userId: string, @@ -1277,7 +1277,7 @@ declare module '../internal' { ): Promise /** * 获取用户加入的项目 - * @see https://developers.dingtalk.com/document/orgapp/get-projects-joined-by-users + * @see https://open.dingtalk.com/document/orgapp/get-projects-joined-by-users */ getUserJoinedProject( userId: string, @@ -1285,7 +1285,7 @@ declare module '../internal' { ): Promise /** * 项目放入回收站 - * @see https://developers.dingtalk.com/document/orgapp/items-in-recycle-bin + * @see https://open.dingtalk.com/document/orgapp/items-in-recycle-bin */ archiveProject( userId: string, @@ -1293,7 +1293,7 @@ declare module '../internal' { ): Promise /** * 恢复项目归档 - * @see https://developers.dingtalk.com/document/orgapp/cancel-project-archiving + * @see https://open.dingtalk.com/document/orgapp/cancel-project-archiving */ unSuspendProject( projectId: string, @@ -1301,7 +1301,7 @@ declare module '../internal' { ): Promise /** * 归档项目 - * @see https://developers.dingtalk.com/document/orgapp/archiving-project + * @see https://open.dingtalk.com/document/orgapp/archiving-project */ suspendProject( projectId: string, @@ -1309,7 +1309,7 @@ declare module '../internal' { ): Promise /** * 查询项目中的任务 - * @see https://developers.dingtalk.com/document/isvapp/query-tasks-in-a-project + * @see https://open.dingtalk.com/document/isvapp/query-tasks-in-a-project */ queryTaskOfProject( userId: string, @@ -1318,7 +1318,7 @@ declare module '../internal' { ): Promise /** * 录入实际工时接口 - * @see https://developers.dingtalk.com/document/isvapp/create-actual-work + * @see https://open.dingtalk.com/document/isvapp/create-actual-work */ createWorkTime( userId: string, @@ -1327,7 +1327,7 @@ declare module '../internal' { ): Promise /** * 录入计划工时 - * @see https://developers.dingtalk.com/document/isvapp/create-planned-work + * @see https://open.dingtalk.com/document/isvapp/create-planned-work */ createPlanTime( userId: string, @@ -1336,7 +1336,7 @@ declare module '../internal' { ): Promise /** * 更新任务自定义字段的值 - * @see https://developers.dingtalk.com/document/isvapp/update-task-custom-field-value + * @see https://open.dingtalk.com/document/isvapp/update-task-custom-field-value */ updateCustomfieldValue( userId: string, @@ -1345,21 +1345,21 @@ declare module '../internal' { ): Promise /** * 根据钉钉UserId获取Teambition用户Id - * @see https://developers.dingtalk.com/document/isvapp/obtain-dingtalk-teambition-user-id-based-on-userid + * @see https://open.dingtalk.com/document/isvapp/obtain-dingtalk-teambition-user-id-based-on-userid */ getTbUserIdByStaffId( query: GetTbUserIdByStaffIdQuery, ): Promise /** * 获取Teambition企业Id - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-teambition-enterprise-id + * @see https://open.dingtalk.com/document/isvapp/obtain-the-teambition-enterprise-id */ getTbOrgIdByDingOrgId( query: GetTbOrgIdByDingOrgIdQuery, ): Promise /** * 更新项目的分组 - * @see https://developers.dingtalk.com/document/isvapp/update-project-grouping + * @see https://open.dingtalk.com/document/isvapp/update-project-grouping */ updateProjectGroup( userId: string, @@ -1368,7 +1368,7 @@ declare module '../internal' { ): Promise /** * 增加项目成员 - * @see https://developers.dingtalk.com/document/isvapp/add-project-members + * @see https://open.dingtalk.com/document/isvapp/add-project-members */ addProjectMember( userId: string, @@ -1377,7 +1377,7 @@ declare module '../internal' { ): Promise /** * 根据项目模板创建项目 - * @see https://developers.dingtalk.com/document/isvapp/create-a-project-from-a-project-template + * @see https://open.dingtalk.com/document/isvapp/create-a-project-from-a-project-template */ createProjectByTemplate( userId: string, @@ -1385,7 +1385,7 @@ declare module '../internal' { ): Promise /** * 查询可见的项目分组 - * @see https://developers.dingtalk.com/document/isvapp/query-available-project-groups + * @see https://open.dingtalk.com/document/isvapp/query-available-project-groups */ getProjectGroup( userId: string, @@ -1393,7 +1393,7 @@ declare module '../internal' { ): Promise /** * 按项目模板名字搜索企业自定义模板 - * @see https://developers.dingtalk.com/document/isvapp/search-for-enterprise-custom-templates-by-project-template-name + * @see https://open.dingtalk.com/document/isvapp/search-for-enterprise-custom-templates-by-project-template-name */ searchProjectTemplate( userId: string, @@ -1401,7 +1401,7 @@ declare module '../internal' { ): Promise /** * 创建任务关联对象 - * @see https://developers.dingtalk.com/document/isvapp/create-a-linked-object-associated-with-a-task + * @see https://open.dingtalk.com/document/isvapp/create-a-linked-object-associated-with-a-task */ createTaskObjectLink( userId: string, @@ -1410,7 +1410,7 @@ declare module '../internal' { ): Promise /** * 创建项目任务 - * @see https://developers.dingtalk.com/document/isvapp/create-a-project-task + * @see https://open.dingtalk.com/document/isvapp/create-a-project-task */ createTask( userId: string, @@ -1418,7 +1418,7 @@ declare module '../internal' { ): Promise /** * 批量获取任务详情 - * @see https://developers.dingtalk.com/document/isvapp/obtains-details-about-multiple-free-tasks-isv + * @see https://open.dingtalk.com/document/isvapp/obtains-details-about-multiple-free-tasks-isv */ getOrganizatioTaskByIds( userId: string, @@ -1426,7 +1426,7 @@ declare module '../internal' { ): Promise /** * 更新自由任务优先级 - * @see https://developers.dingtalk.com/document/isvapp/update-the-priority-of-a-free-migration-job + * @see https://open.dingtalk.com/document/isvapp/update-the-priority-of-a-free-migration-job */ updateOrganizationTaskPriority( taskId: string, @@ -1435,7 +1435,7 @@ declare module '../internal' { ): Promise /** * 更改自由任务备注 - * @see https://developers.dingtalk.com/document/isvapp/update-free-task-notes-isv + * @see https://open.dingtalk.com/document/isvapp/update-free-task-notes-isv */ updateOrganizationTaskNote( taskId: string, @@ -1444,7 +1444,7 @@ declare module '../internal' { ): Promise /** * 更新自由任务参与者 - * @see https://developers.dingtalk.com/document/isvapp/add-or-remove-participants-of-free-tasks + * @see https://open.dingtalk.com/document/isvapp/add-or-remove-participants-of-free-tasks */ updateOrganizationTaskInvolveMembers( taskId: string, @@ -1453,7 +1453,7 @@ declare module '../internal' { ): Promise /** * 更改自由任务执行者 - * @see https://developers.dingtalk.com/document/isvapp/update-free-task-executor + * @see https://open.dingtalk.com/document/isvapp/update-free-task-executor */ updateOrganizationTaskExecutor( taskId: string, @@ -1462,7 +1462,7 @@ declare module '../internal' { ): Promise /** * 更新自由任务截止时间 - * @see https://developers.dingtalk.com/document/isvapp/update-free-task-deadline + * @see https://open.dingtalk.com/document/isvapp/update-free-task-deadline */ updateOrganizationTaskDueDate( taskId: string, @@ -1471,7 +1471,7 @@ declare module '../internal' { ): Promise /** * 更改自由任务标题 - * @see https://developers.dingtalk.com/document/isvapp/update-free-task-title + * @see https://open.dingtalk.com/document/isvapp/update-free-task-title */ updateOrganizationTaskContent( taskId: string, @@ -1480,7 +1480,7 @@ declare module '../internal' { ): Promise /** * 更改自由任务状态 - * @see https://developers.dingtalk.com/document/isvapp/update-free-task-status + * @see https://open.dingtalk.com/document/isvapp/update-free-task-status */ updateOrganizationTaskStatus( taskId: string, @@ -1489,14 +1489,14 @@ declare module '../internal' { ): Promise /** * 获取企业优先级列表 - * @see https://developers.dingtalk.com/document/isvapp/query-a-priority-list-isv + * @see https://open.dingtalk.com/document/isvapp/query-a-priority-list-isv */ getOrganizationPriorityList( userId: string, ): Promise /** * 获取自由任务详情 - * @see https://developers.dingtalk.com/document/isvapp/queries-free-task-details-isv + * @see https://open.dingtalk.com/document/isvapp/queries-free-task-details-isv */ getOrganizationTask( taskId: string, @@ -1504,12 +1504,12 @@ declare module '../internal' { ): Promise /** * 删除任务 - * @see https://developers.dingtalk.com/document/orgapp/delete-task + * @see https://open.dingtalk.com/document/orgapp/delete-task */ deleteTask(userId: string, taskId: string): Promise /** * 创建自由任务 - * @see https://developers.dingtalk.com/document/isvapp/create-a-free-task-isv + * @see https://open.dingtalk.com/document/isvapp/create-a-free-task-isv */ createOrganizationTask( userId: string, diff --git a/adapters/dingtalk/src/api/resident.ts b/adapters/dingtalk/src/api/resident.ts index 8dad639c..14710027 100644 --- a/adapters/dingtalk/src/api/resident.ts +++ b/adapters/dingtalk/src/api/resident.ts @@ -6,7 +6,7 @@ export interface AddPointQuery { isCircle: unknown /** 加减积分的唯一幂等标志,由调用方自己生成。 */ uuid: string - /** 用户userid,可以调用[通过免登码获取用户信息](https://developers.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ + /** 用户userid,可以调用[通过免登码获取用户信息](https://open.dingtalk.com/document/app/obtain-the-userid-of-a-user-by-using-the-log-free)接口获取。 */ userId: string /** 规则代码。可以为空。 */ ruleCode?: string @@ -100,31 +100,31 @@ declare module '../internal' { interface Internal { /** * 增加或减少居民积分 - * @see https://developers.dingtalk.com/document/isvapp/increase-or-decrease-resident-points + * @see https://open.dingtalk.com/document/isvapp/increase-or-decrease-resident-points */ addPoint(query: AddPointQuery): Promise /** * 查询数字区县居民积分流水 - * @see https://developers.dingtalk.com/document/isvapp/query-the-integral-flow-records-by-page + * @see https://open.dingtalk.com/document/isvapp/query-the-integral-flow-records-by-page */ pagePointHistory( query: PagePointHistoryQuery, ): Promise /** * 查询组织维度配置的的积分规则 - * @see https://developers.dingtalk.com/document/isvapp/query-all-credit-rules + * @see https://open.dingtalk.com/document/isvapp/query-all-credit-rules */ listPointRules(query: ListPointRulesQuery): Promise /** * 获取行业角色下的用户列表 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-users-under-an-industry-role + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-users-under-an-industry-role */ listIndustryRoleUsers( query: ListIndustryRoleUsersQuery, ): Promise /** * 获取用户所在的行业角色信息 - * @see https://developers.dingtalk.com/document/isvapp/obtains-information-about-the-industry-role-to-which-the-user + * @see https://open.dingtalk.com/document/isvapp/obtains-information-about-the-industry-role-to-which-the-user */ listUserIndustryRoles( query: ListUserIndustryRolesQuery, diff --git a/adapters/dingtalk/src/api/robot.ts b/adapters/dingtalk/src/api/robot.ts index 3d1a370b..bff07639 100644 --- a/adapters/dingtalk/src/api/robot.ts +++ b/adapters/dingtalk/src/api/robot.ts @@ -234,90 +234,90 @@ declare module '../internal' { interface Internal { /** * 查询群内的机器人列表 - * @see https://developers.dingtalk.com/document/orgapp/obtain-the-list-of-robots-in-the-group + * @see https://open.dingtalk.com/document/orgapp/obtain-the-list-of-robots-in-the-group */ getBotListInGroup( params: GetBotListInGroupParams, ): Promise /** * 获取机器人消息中文件下载链接 - * @see https://developers.dingtalk.com/document/isvapp/download-the-file-content-of-the-robot-receiving-message + * @see https://open.dingtalk.com/document/isvapp/download-the-file-content-of-the-robot-receiving-message */ robotMessageFileDownload( params: RobotMessageFileDownloadParams, ): Promise /** * 清空单聊机器人快捷入口 - * @see https://developers.dingtalk.com/document/orgapp/clear-single-chat-robot-quick-entry + * @see https://open.dingtalk.com/document/orgapp/clear-single-chat-robot-quick-entry */ clearRobotPlugin( params: ClearRobotPluginParams, ): Promise /** * 设置单聊机器人快捷入口 - * @see https://developers.dingtalk.com/document/orgapp/set-robot-quick-entrance + * @see https://open.dingtalk.com/document/orgapp/set-robot-quick-entrance */ setRobotPlugin( params: SetRobotPluginParams, ): Promise /** * 查询单聊机器人快捷入口 - * @see https://developers.dingtalk.com/document/orgapp/quick-entrance-of-inquiry-single-chat-robot + * @see https://open.dingtalk.com/document/orgapp/quick-entrance-of-inquiry-single-chat-robot */ queryRobotPlugin( params: QueryRobotPluginParams, ): Promise /** * 企业机器人撤回内部群消息 - * @see https://developers.dingtalk.com/document/orgapp/enterprise-chatbot-withdraws-internal-group-messages + * @see https://open.dingtalk.com/document/orgapp/enterprise-chatbot-withdraws-internal-group-messages */ orgGroupRecall( params: OrgGroupRecallParams, ): Promise /** * 查询企业机器人群聊消息用户已读状态 - * @see https://developers.dingtalk.com/document/orgapp/chatbot-queries-the-read-status-of-a-message + * @see https://open.dingtalk.com/document/orgapp/chatbot-queries-the-read-status-of-a-message */ orgGroupQuery(params: OrgGroupQueryParams): Promise /** * 机器人发送群聊消息 - * @see https://developers.dingtalk.com/document/orgapp/the-robot-sends-a-group-message + * @see https://open.dingtalk.com/document/orgapp/the-robot-sends-a-group-message */ orgGroupSend(params: OrgGroupSendParams): Promise /** * 批量撤回人与机器人会话中机器人消息 - * @see https://developers.dingtalk.com/document/orgapp/batch-message-recall-chat + * @see https://open.dingtalk.com/document/orgapp/batch-message-recall-chat */ batchRecallOTO( params: BatchRecallOTOParams, ): Promise /** * 批量查询人与机器人会话机器人消息是否已读 - * @see https://developers.dingtalk.com/document/orgapp/chatbot-batch-query-the-read-status-of-messages + * @see https://open.dingtalk.com/document/orgapp/chatbot-batch-query-the-read-status-of-messages */ batchOTOQuery(query: BatchOTOQueryQuery): Promise /** * 批量发送人与机器人会话中机器人消息 - * @see https://developers.dingtalk.com/document/orgapp/chatbots-send-one-on-one-chat-messages-in-batches + * @see https://open.dingtalk.com/document/orgapp/chatbots-send-one-on-one-chat-messages-in-batches */ batchSendOTO(params: BatchSendOTOParams): Promise /** * 人与人会话中机器人发送普通消息 - * @see https://developers.dingtalk.com/document/orgapp/the-robot-sends-ordinary-messages-in-a-person-to-person-conversation + * @see https://open.dingtalk.com/document/orgapp/the-robot-sends-ordinary-messages-in-a-person-to-person-conversation */ privateChatSend( params: PrivateChatSendParams, ): Promise /** * 查询人与人会话中机器人已读消息 - * @see https://developers.dingtalk.com/document/orgapp/query-the-read-list-of-robot-messages-in-person-to-person-conversations + * @see https://open.dingtalk.com/document/orgapp/query-the-read-list-of-robot-messages-in-person-to-person-conversations */ privateChatQuery( params: PrivateChatQueryParams, ): Promise /** * 批量撤回人与人会话中机器人消息 - * @see https://developers.dingtalk.com/document/orgapp/batch-withdrawal-of-single-chat-robot-messages-in-person-to-person-conversations + * @see https://open.dingtalk.com/document/orgapp/batch-withdrawal-of-single-chat-robot-messages-in-person-to-person-conversations */ batchRecallPrivateChat( params: BatchRecallPrivateChatParams, diff --git a/adapters/dingtalk/src/api/rooms.ts b/adapters/dingtalk/src/api/rooms.ts index e5e0541d..b4212b83 100644 --- a/adapters/dingtalk/src/api/rooms.ts +++ b/adapters/dingtalk/src/api/rooms.ts @@ -243,7 +243,7 @@ declare module '../internal' { interface Internal { /** * 查询设备属性 - * @see https://developers.dingtalk.com/document/app/querying-video-conference-device-attribute-information + * @see https://open.dingtalk.com/document/app/querying-video-conference-device-attribute-information */ queryDeviceProperties( query: QueryDevicePropertiesQuery, @@ -251,14 +251,14 @@ declare module '../internal' { ): Promise /** * 查询设备信息 - * @see https://developers.dingtalk.com/document/app/querying-video-conference-device-information + * @see https://open.dingtalk.com/document/app/querying-video-conference-device-information */ queryMeetingRoomDevice( query: QueryMeetingRoomDeviceQuery, ): Promise /** * 删除会议室分组 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-conference-room-group + * @see https://open.dingtalk.com/document/isvapp/delete-a-conference-room-group */ deleteMeetingRoomGroup( groupId: number, @@ -266,21 +266,21 @@ declare module '../internal' { ): Promise /** * 更新会议室分组信息 - * @see https://developers.dingtalk.com/document/isvapp/update-meeting-room-group-information + * @see https://open.dingtalk.com/document/isvapp/update-meeting-room-group-information */ updateMeetingRoomGroup( params: UpdateMeetingRoomGroupParams, ): Promise /** * 查询会议室分组列表 - * @see https://developers.dingtalk.com/document/isvapp/query-meeting-room-groups + * @see https://open.dingtalk.com/document/isvapp/query-meeting-room-groups */ queryMeetingRoomGroupList( query: QueryMeetingRoomGroupListQuery, ): Promise /** * 查询会议室分组信息 - * @see https://developers.dingtalk.com/document/isvapp/query-meeting-room-group-information + * @see https://open.dingtalk.com/document/isvapp/query-meeting-room-group-information */ queryMeetingRoomGroup( groupId: number, @@ -288,14 +288,14 @@ declare module '../internal' { ): Promise /** * 创建会议室分组 - * @see https://developers.dingtalk.com/document/isvapp/create-a-meeting-room-group + * @see https://open.dingtalk.com/document/isvapp/create-a-meeting-room-group */ createMeetingRoomGroup( params: CreateMeetingRoomGroupParams, ): Promise /** * 删除会议室 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-meeting-room + * @see https://open.dingtalk.com/document/isvapp/delete-a-meeting-room */ deleteMeetingRoom( roomId: string, @@ -303,21 +303,21 @@ declare module '../internal' { ): Promise /** * 查询会议室列表 - * @see https://developers.dingtalk.com/document/isvapp/check-the-meeting-room-list + * @see https://open.dingtalk.com/document/isvapp/check-the-meeting-room-list */ queryMeetingRoomList( query: QueryMeetingRoomListQuery, ): Promise /** * 更新会议室信息 - * @see https://developers.dingtalk.com/document/isvapp/update-meeting-room-information + * @see https://open.dingtalk.com/document/isvapp/update-meeting-room-information */ updateMeetingRoom( params: UpdateMeetingRoomParams, ): Promise /** * 查询会议室详情 - * @see https://developers.dingtalk.com/document/isvapp/check-meeting-room-details + * @see https://open.dingtalk.com/document/isvapp/check-meeting-room-details */ queryMeetingRoom( roomId: string, @@ -325,7 +325,7 @@ declare module '../internal' { ): Promise /** * 创建智能会议室 - * @see https://developers.dingtalk.com/document/isvapp/create-a-meeting-room + * @see https://open.dingtalk.com/document/isvapp/create-a-meeting-room */ createMeetingRoom( params: CreateMeetingRoomParams, diff --git a/adapters/dingtalk/src/api/serviceGroup.ts b/adapters/dingtalk/src/api/serviceGroup.ts index 625753cc..01418c2f 100644 --- a/adapters/dingtalk/src/api/serviceGroup.ts +++ b/adapters/dingtalk/src/api/serviceGroup.ts @@ -164,50 +164,50 @@ declare module '../internal' { interface Internal { /** * 添加服务群成员 - * @see https://developers.dingtalk.com/document/orgapp/add-service-group-members + * @see https://open.dingtalk.com/document/orgapp/add-service-group-members */ addMemberToServiceGroup( params: AddMemberToServiceGroupParams, ): Promise /** * 服务群发任务 - * @see https://developers.dingtalk.com/document/orgapp/service-group-sending-task-interface + * @see https://open.dingtalk.com/document/orgapp/service-group-sending-task-interface */ sendMsgByTask(params: SendMsgByTaskParams): Promise /** * 升级普通群为服务群 - * @see https://developers.dingtalk.com/document/orgapp/a-dingtalk-group-is-upgraded-to-one-of-the-intelligent + * @see https://open.dingtalk.com/document/orgapp/a-dingtalk-group-is-upgraded-to-one-of-the-intelligent */ upgradeNormalGroup(params: UpgradeNormalGroupParams): Promise /** * 升级云客服服务群为钉钉智能服务群 - * @see https://developers.dingtalk.com/document/orgapp/upgraded-the-cloud-customer-service-group-to-the-dingtalk-intelligent + * @see https://open.dingtalk.com/document/orgapp/upgraded-the-cloud-customer-service-group-to-the-dingtalk-intelligent */ upgradeCloudGroup(params: UpgradeCloudGroupParams): Promise /** * 查询服务群活跃成员 - * @see https://developers.dingtalk.com/document/orgapp/queries-active-service-users + * @see https://open.dingtalk.com/document/orgapp/queries-active-service-users */ queryActiveUsers( query: QueryActiveUsersQuery, ): Promise /** * 服务群发消息 - * @see https://developers.dingtalk.com/document/orgapp/service-group-message-sending-interface + * @see https://open.dingtalk.com/document/orgapp/service-group-message-sending-interface */ sendServiceGroupMessage( params: SendServiceGroupMessageParams, ): Promise /** * 创建服务群 - * @see https://developers.dingtalk.com/document/orgapp/create-a-scenario-service-group + * @see https://open.dingtalk.com/document/orgapp/create-a-scenario-service-group */ serviceGroupCreateGroup( params: ServiceGroupCreateGroupParams, ): Promise /** * 更换服务群所在的群分组 - * @see https://developers.dingtalk.com/document/isvapp/modify-a-service-group + * @see https://open.dingtalk.com/document/isvapp/modify-a-service-group */ serviceGroupUpdateGroupSet( params: ServiceGroupUpdateGroupSetParams, diff --git a/adapters/dingtalk/src/api/storage.ts b/adapters/dingtalk/src/api/storage.ts index 30df1653..8f585a3b 100644 --- a/adapters/dingtalk/src/api/storage.ts +++ b/adapters/dingtalk/src/api/storage.ts @@ -1251,7 +1251,7 @@ declare module '../internal' { interface Internal { /** * 搜索知识库 - * @see https://developers.dingtalk.com/document/orgapp/search-knowledge-base + * @see https://open.dingtalk.com/document/orgapp/search-knowledge-base */ searchWorkspaces( query: SearchWorkspacesQuery, @@ -1259,7 +1259,7 @@ declare module '../internal' { ): Promise /** * 设置权限继承模式 - * @see https://developers.dingtalk.com/document/orgapp/set-permission-inheritance-mode + * @see https://open.dingtalk.com/document/orgapp/set-permission-inheritance-mode */ setPermissionInheritance( dentryUuid: string, @@ -1268,7 +1268,7 @@ declare module '../internal' { ): Promise /** * 获取权限继承模式 - * @see https://developers.dingtalk.com/document/orgapp/get-permission-inheritance-mode + * @see https://open.dingtalk.com/document/orgapp/get-permission-inheritance-mode */ getPermissionInheritance( dentryUuid: string, @@ -1276,7 +1276,7 @@ declare module '../internal' { ): Promise /** * 修改权限 - * @see https://developers.dingtalk.com/document/orgapp/modify-permissions-file + * @see https://open.dingtalk.com/document/orgapp/modify-permissions-file */ storageUpdatePermission( dentryUuid: string, @@ -1285,7 +1285,7 @@ declare module '../internal' { ): Promise /** * 删除权限 - * @see https://developers.dingtalk.com/document/orgapp/delete-permissions-file + * @see https://open.dingtalk.com/document/orgapp/delete-permissions-file */ storageDeletePermission( dentryUuid: string, @@ -1294,7 +1294,7 @@ declare module '../internal' { ): Promise /** * 添加权限 - * @see https://developers.dingtalk.com/document/orgapp/add-permissions-file + * @see https://open.dingtalk.com/document/orgapp/add-permissions-file */ storageAddPermission( dentryUuid: string, @@ -1303,7 +1303,7 @@ declare module '../internal' { ): Promise /** * 获取权限列表 - * @see https://developers.dingtalk.com/document/orgapp/get-permission-list + * @see https://open.dingtalk.com/document/orgapp/get-permission-list */ listPermissionsOrg( dentryUuid: string, @@ -1312,7 +1312,7 @@ declare module '../internal' { ): Promise /** * 搜索文件 - * @see https://developers.dingtalk.com/document/orgapp/search-for-files + * @see https://open.dingtalk.com/document/orgapp/search-for-files */ searchDentries( query: SearchDentriesQuery, @@ -1320,7 +1320,7 @@ declare module '../internal' { ): Promise /** * 提交文件 - * @see https://developers.dingtalk.com/document/app/submittal-file + * @see https://open.dingtalk.com/document/app/submittal-file */ storageCommitFile( parentDentryUuid: string, @@ -1329,7 +1329,7 @@ declare module '../internal' { ): Promise /** * 获取文件上传信息 - * @see https://developers.dingtalk.com/document/app/obtain-file-upload-informations + * @see https://open.dingtalk.com/document/app/obtain-file-upload-informations */ storageGetFileUploadInfo( parentDentryUuid: string, @@ -1338,7 +1338,7 @@ declare module '../internal' { ): Promise /** * 取消订阅文件变更事件 - * @see https://developers.dingtalk.com/document/isvapp/unsubscribe-from-file-change-event + * @see https://open.dingtalk.com/document/isvapp/unsubscribe-from-file-change-event */ unsubscribeEvent( query: UnsubscribeEventQuery, @@ -1346,7 +1346,7 @@ declare module '../internal' { ): Promise /** * 获取文件列表 - * @see https://developers.dingtalk.com/document/isvapp/get-the-list-of-files-or-folders-under-a-space + * @see https://open.dingtalk.com/document/isvapp/get-the-list-of-files-or-folders-under-a-space */ listAllDentries( spaceId: string, @@ -1355,7 +1355,7 @@ declare module '../internal' { ): Promise /** * 批量获取文件(夹)信息 - * @see https://developers.dingtalk.com/document/isvapp/get-file-or-folder-information-in-bulk + * @see https://open.dingtalk.com/document/isvapp/get-file-or-folder-information-in-bulk */ getDentries( spaceId: string, @@ -1364,7 +1364,7 @@ declare module '../internal' { ): Promise /** * 批量获取文件缩略图 - * @see undefined + * @see https://open.dingtalk.com/document/isvapp/get-file-thumbnails-in-bulk */ getDentryThumbnails( spaceId: string, @@ -1373,7 +1373,7 @@ declare module '../internal' { ): Promise /** * 批量移动文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/bulk-move-files-or-folders + * @see https://open.dingtalk.com/document/isvapp/bulk-move-files-or-folders */ moveDentries( spaceId: string, @@ -1382,7 +1382,7 @@ declare module '../internal' { ): Promise /** * 批量拷贝文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/copy-files-or-folders-in-bulk + * @see https://open.dingtalk.com/document/isvapp/copy-files-or-folders-in-bulk */ copyDentries( spaceId: string, @@ -1391,7 +1391,7 @@ declare module '../internal' { ): Promise /** * 批量删除文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/delete-files-or-folders-in-bulk + * @see https://open.dingtalk.com/document/isvapp/delete-files-or-folders-in-bulk */ deleteDentries( spaceId: string, @@ -1400,12 +1400,12 @@ declare module '../internal' { ): Promise /** * 获取异步任务信息 - * @see https://developers.dingtalk.com/document/isvapp/get-the-asynchronous-task-information-in-storage + * @see https://open.dingtalk.com/document/isvapp/get-the-asynchronous-task-information-in-storage */ getTask(taskId: string, query: GetTaskQuery): Promise /** * 初始化文件分片上传 - * @see https://developers.dingtalk.com/document/isvapp/initialize-a-multipart-upload-object + * @see https://open.dingtalk.com/document/isvapp/initialize-a-multipart-upload-object */ initMultipartFileUpload( spaceId: string, @@ -1414,7 +1414,7 @@ declare module '../internal' { ): Promise /** * 获取文件上传信息(分片上传) - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-information-about-multipart-uploads-of-an-object + * @see https://open.dingtalk.com/document/isvapp/obtains-the-information-about-multipart-uploads-of-an-object */ getMultipartFileUploadInfos( query: GetMultipartFileUploadInfosQuery, @@ -1422,12 +1422,12 @@ declare module '../internal' { ): Promise /** * 获取企业存储中企业维度的信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-enterprise-information-1 + * @see https://open.dingtalk.com/document/isvapp/obtain-enterprise-information-1 */ getOrg(corpId: string, query: GetOrgQuery): Promise /** * 还原回收站中的回收项 - * @see https://developers.dingtalk.com/document/isvapp/restore-recycle-items + * @see https://open.dingtalk.com/document/isvapp/restore-recycle-items */ restoreRecycleItem( recycleBinId: string, @@ -1437,12 +1437,12 @@ declare module '../internal' { ): Promise /** * 获取回收站信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-information-about-the-recycle-bin + * @see https://open.dingtalk.com/document/isvapp/obtain-information-about-the-recycle-bin */ getRecycleBin(query: GetRecycleBinQuery): Promise /** * 获取回收项详情 - * @see https://developers.dingtalk.com/document/isvapp/obtain-recycling-item-information + * @see https://open.dingtalk.com/document/isvapp/obtain-recycling-item-information */ getRecycleItem( recycleBinId: string, @@ -1451,7 +1451,7 @@ declare module '../internal' { ): Promise /** * 删除回收项, 删除之后该记录从回收站删除, 后续文件就无法恢复了 - * @see https://developers.dingtalk.com/document/isvapp/delete-recycle-item + * @see https://open.dingtalk.com/document/isvapp/delete-recycle-item */ deleteRecycleItem( recycleBinId: string, @@ -1460,7 +1460,7 @@ declare module '../internal' { ): Promise /** * 清空回收站 - * @see https://developers.dingtalk.com/document/isvapp/empty-the-recycle-bin + * @see https://open.dingtalk.com/document/isvapp/empty-the-recycle-bin */ clearRecycleBin( recycleBinId: string, @@ -1468,7 +1468,7 @@ declare module '../internal' { ): Promise /** * 批量删除回收项, 删除之后该记录从回收站删除, 后续文件就无法恢复了 - * @see https://developers.dingtalk.com/document/isvapp/batch-delete-recycle-items + * @see https://open.dingtalk.com/document/isvapp/batch-delete-recycle-items */ deleteRecycleItems( recycleBinId: string, @@ -1477,7 +1477,7 @@ declare module '../internal' { ): Promise /** * 批量还原回收站中的回收项 - * @see https://developers.dingtalk.com/document/isvapp/batch-restore-recycled-items + * @see https://open.dingtalk.com/document/isvapp/batch-restore-recycled-items */ restoreRecycleItems( recycleBinId: string, @@ -1486,7 +1486,7 @@ declare module '../internal' { ): Promise /** * 获取文件历史版本 - * @see https://developers.dingtalk.com/document/isvapp/obtains-a-list-of-file-versions + * @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-file-versions */ listDentryVersions( spaceId: string, @@ -1495,7 +1495,7 @@ declare module '../internal' { ): Promise /** * 获取文件打开链接 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-object-preview-or-editing-information + * @see https://open.dingtalk.com/document/isvapp/obtains-the-object-preview-or-editing-information */ getDentryOpenInfo( spaceId: string, @@ -1505,7 +1505,7 @@ declare module '../internal' { ): Promise /** * 移动文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/move-a-file-or-folder + * @see https://open.dingtalk.com/document/isvapp/move-a-file-or-folder */ moveDentry( spaceId: string, @@ -1515,7 +1515,7 @@ declare module '../internal' { ): Promise /** * 获取权限列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-a-permission-list-storage + * @see https://open.dingtalk.com/document/isvapp/obtain-a-permission-list-storage */ listPermissionsIsv( spaceId: string, @@ -1525,7 +1525,7 @@ declare module '../internal' { ): Promise /** * 获取文件下载信息 - * @see https://developers.dingtalk.com/document/orgapp/obtains-the-download-information-about-a-file + * @see https://open.dingtalk.com/document/orgapp/obtains-the-download-information-about-a-file */ getFileDownloadInfo( spaceId: string, @@ -1535,7 +1535,7 @@ declare module '../internal' { ): Promise /** * 获取回收项列表 - * @see https://developers.dingtalk.com/document/isvapp/gets-the-list-of-recycle-items + * @see https://open.dingtalk.com/document/isvapp/gets-the-list-of-recycle-items */ listRecycleItems( recycleBinId: string, @@ -1543,7 +1543,7 @@ declare module '../internal' { ): Promise /** * 删除文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/delete-a-file-or-folder + * @see https://open.dingtalk.com/document/isvapp/delete-a-file-or-folder */ deleteDentry( spaceId: string, @@ -1552,7 +1552,7 @@ declare module '../internal' { ): Promise /** * 重命名文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/rename-a-file-or-folder + * @see https://open.dingtalk.com/document/isvapp/rename-a-file-or-folder */ renameDentry( spaceId: string, @@ -1562,7 +1562,7 @@ declare module '../internal' { ): Promise /** * 获取文件列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-file-list-storage + * @see https://open.dingtalk.com/document/isvapp/obtain-the-file-list-storage */ listDentries( spaceId: string, @@ -1570,7 +1570,7 @@ declare module '../internal' { ): Promise /** * 恢复文件历史版本 - * @see https://developers.dingtalk.com/document/isvapp/restore-previous-versions-of-files + * @see https://open.dingtalk.com/document/isvapp/restore-previous-versions-of-files */ revertDentryVersion( spaceId: string, @@ -1580,7 +1580,7 @@ declare module '../internal' { ): Promise /** * 拷贝文件或文件夹 - * @see https://developers.dingtalk.com/document/isvapp/copy-an-object + * @see https://open.dingtalk.com/document/isvapp/copy-an-object */ copyDentry( spaceId: string, @@ -1590,12 +1590,12 @@ declare module '../internal' { ): Promise /** * 获取开放平台应用在企业存储中的相关应用信息 - * @see https://developers.dingtalk.com/document/isvapp/queries-application-information-1 + * @see https://open.dingtalk.com/document/isvapp/queries-application-information-1 */ getCurrentApp(query: GetCurrentAppQuery): Promise /** * 获取空间信息 - * @see https://developers.dingtalk.com/document/isvapp/get-space-information + * @see https://open.dingtalk.com/document/isvapp/get-space-information */ storageGetSpace( spaceId: string, @@ -1603,7 +1603,7 @@ declare module '../internal' { ): Promise /** * 添加文件夹 - * @see https://developers.dingtalk.com/document/isvapp/add-folder + * @see https://open.dingtalk.com/document/isvapp/add-folder */ addFolder( spaceId: string, @@ -1613,7 +1613,7 @@ declare module '../internal' { ): Promise /** * 获取文件(夹)信息 - * @see https://developers.dingtalk.com/document/isvapp/obtain-file-or-folder-information + * @see https://open.dingtalk.com/document/isvapp/obtain-file-or-folder-information */ getDentry( spaceId: string, @@ -1623,7 +1623,7 @@ declare module '../internal' { ): Promise /** * 删除文件上的App属性值 - * @see https://developers.dingtalk.com/document/isvapp/delete-file-app-attribute + * @see https://open.dingtalk.com/document/isvapp/delete-file-app-attribute */ deleteDentryAppProperties( spaceId: number, @@ -1633,7 +1633,7 @@ declare module '../internal' { ): Promise /** * 修改文件上的App属性值 - * @see https://developers.dingtalk.com/document/isvapp/update-the-application-properties-of-a-file-or-folder + * @see https://open.dingtalk.com/document/isvapp/update-the-application-properties-of-a-file-or-folder */ updateDentryAppProperties( spaceId: number, @@ -1643,7 +1643,7 @@ declare module '../internal' { ): Promise /** * 提交文件 - * @see https://developers.dingtalk.com/document/orgapp/submit-documents + * @see https://open.dingtalk.com/document/orgapp/submit-documents */ storageCommitFile( spaceId: string, @@ -1652,7 +1652,7 @@ declare module '../internal' { ): Promise /** * 获取文件上传信息 - * @see https://developers.dingtalk.com/document/orgapp/obtain-storage-upload-information + * @see https://open.dingtalk.com/document/orgapp/obtain-storage-upload-information */ storageGetFileUploadInfo( spaceId: string, @@ -1661,7 +1661,7 @@ declare module '../internal' { ): Promise /** * 修改权限 - * @see https://developers.dingtalk.com/document/isvapp/modify-storage-permissions + * @see https://open.dingtalk.com/document/isvapp/modify-storage-permissions */ storageUpdatePermission( spaceId: string, @@ -1671,7 +1671,7 @@ declare module '../internal' { ): Promise /** * 删除权限 - * @see https://developers.dingtalk.com/document/isvapp/delete-storage-permissions + * @see https://open.dingtalk.com/document/isvapp/delete-storage-permissions */ storageDeletePermission( spaceId: string, @@ -1681,7 +1681,7 @@ declare module '../internal' { ): Promise /** * 添加权限 - * @see https://developers.dingtalk.com/document/isvapp/add-permissions-storage + * @see https://open.dingtalk.com/document/isvapp/add-permissions-storage */ storageAddPermission( spaceId: string, @@ -1691,7 +1691,7 @@ declare module '../internal' { ): Promise /** * 添加空间 - * @see https://developers.dingtalk.com/document/isvapp/add-space + * @see https://open.dingtalk.com/document/isvapp/add-space */ storageAddSpace( query: StorageAddSpaceQuery, diff --git a/adapters/dingtalk/src/api/swform.ts b/adapters/dingtalk/src/api/swform.ts index af98d570..f79b2aa4 100644 --- a/adapters/dingtalk/src/api/swform.ts +++ b/adapters/dingtalk/src/api/swform.ts @@ -69,7 +69,7 @@ declare module '../internal' { interface Internal { /** * 获取单条填表实例详情 - * @see https://developers.dingtalk.com/document/isvapp/obtains-the-instance-details-of-a-single-fill-table + * @see https://open.dingtalk.com/document/isvapp/obtains-the-instance-details-of-a-single-fill-table */ getFormInstance( formInstanceId: string, @@ -77,7 +77,7 @@ declare module '../internal' { ): Promise /** * 获取填表实例列表 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-table-filling-instance-list-data + * @see https://open.dingtalk.com/document/isvapp/obtain-the-table-filling-instance-list-data */ listFormInstances( formCode: string, @@ -85,7 +85,7 @@ declare module '../internal' { ): Promise /** * 获取用户创建的填表模板列表 - * @see https://developers.dingtalk.com/document/isvapp/new-obtains-the-template-that-a-user-creates + * @see https://open.dingtalk.com/document/isvapp/new-obtains-the-template-that-a-user-creates */ listFormSchemasByCreator( query: ListFormSchemasByCreatorQuery, diff --git a/adapters/dingtalk/src/api/todo.ts b/adapters/dingtalk/src/api/todo.ts index dde58045..2045770a 100644 --- a/adapters/dingtalk/src/api/todo.ts +++ b/adapters/dingtalk/src/api/todo.ts @@ -172,7 +172,7 @@ declare module '../internal' { interface Internal { /** * 查询企业下用户待办列表 - * @see https://developers.dingtalk.com/document/isvapp/query-the-to-do-list-of-enterprise-users + * @see https://open.dingtalk.com/document/isvapp/query-the-to-do-list-of-enterprise-users */ queryOrgTodoTasks( unionId: string, @@ -180,7 +180,7 @@ declare module '../internal' { ): Promise /** * 更新钉钉待办执行者状态 - * @see https://developers.dingtalk.com/document/isvapp/update-dingtalk-to-do-status + * @see https://open.dingtalk.com/document/isvapp/update-dingtalk-to-do-status */ updateTodoTaskExecutorStatus( unionId: string, @@ -190,7 +190,7 @@ declare module '../internal' { ): Promise /** * 创建待办 - * @see https://developers.dingtalk.com/document/isvapp/add-dingtalk-to-do-task + * @see https://open.dingtalk.com/document/isvapp/add-dingtalk-to-do-task */ createTodoTask( unionId: string, @@ -199,7 +199,7 @@ declare module '../internal' { ): Promise /** * 更新钉钉待办任务 - * @see https://developers.dingtalk.com/document/isvapp/updates-dingtalk-to-do-tasks + * @see https://open.dingtalk.com/document/isvapp/updates-dingtalk-to-do-tasks */ updateTodoTask( unionId: string, @@ -209,7 +209,7 @@ declare module '../internal' { ): Promise /** * 删除钉钉待办任务 - * @see https://developers.dingtalk.com/document/isvapp/delete-dingtalk-to-do-tasks + * @see https://open.dingtalk.com/document/isvapp/delete-dingtalk-to-do-tasks */ deleteTodoTask( unionId: string, diff --git a/adapters/dingtalk/src/api/wiki.ts b/adapters/dingtalk/src/api/wiki.ts index d01c8332..99c6aa13 100644 --- a/adapters/dingtalk/src/api/wiki.ts +++ b/adapters/dingtalk/src/api/wiki.ts @@ -189,12 +189,12 @@ declare module '../internal' { interface Internal { /** * 获取节点列表 - * @see https://developers.dingtalk.com/document/orgapp/get-node-list + * @see https://open.dingtalk.com/document/orgapp/get-node-list */ listNodes(query: ListNodesQuery): Promise /** * 通过链接获取节点 - * @see https://developers.dingtalk.com/document/orgapp/get-node-by-link + * @see https://open.dingtalk.com/document/orgapp/get-node-by-link */ getNodeByUrl( query: GetNodeByUrlQuery, @@ -202,7 +202,7 @@ declare module '../internal' { ): Promise /** * 批量获取节点 - * @see https://developers.dingtalk.com/document/orgapp/obtain-nodes-in-batch + * @see https://open.dingtalk.com/document/orgapp/obtain-nodes-in-batch */ getNodes( query: GetNodesQuery, @@ -210,19 +210,19 @@ declare module '../internal' { ): Promise /** * 获取节点 - * @see https://developers.dingtalk.com/document/orgapp/get-node + * @see https://open.dingtalk.com/document/orgapp/get-node */ getNode(nodeId: string, query: GetNodeQuery): Promise /** * 根据词条名称获取该词条释义 - * @see https://developers.dingtalk.com/document/orgapp/enterprise-encyclopedia-query-entry-details-by-entry-name + * @see https://open.dingtalk.com/document/orgapp/enterprise-encyclopedia-query-entry-details-by-entry-name */ wikiWordsDetail( query: WikiWordsDetailQuery, ): Promise /** * 外部传递过来的消息根据百科词库分词 - * @see https://developers.dingtalk.com/document/orgapp/enterprise-encyclopedia-match-entries-in-a-text + * @see https://open.dingtalk.com/document/orgapp/enterprise-encyclopedia-match-entries-in-a-text */ wikiWordsParse( params: WikiWordsParseParams, diff --git a/adapters/dingtalk/src/api/workbench.ts b/adapters/dingtalk/src/api/workbench.ts index 75b2f9fe..59d85852 100644 --- a/adapters/dingtalk/src/api/workbench.ts +++ b/adapters/dingtalk/src/api/workbench.ts @@ -50,21 +50,21 @@ declare module '../internal' { interface Internal { /** * 批量添加最近使用记录 - * @see https://developers.dingtalk.com/document/app/add-recently-used-apps-in-bulk + * @see https://open.dingtalk.com/document/app/add-recently-used-apps-in-bulk */ addRecentUserAppList( params: AddRecentUserAppListParams, ): Promise /** * 获取插件的校验规则 - * @see https://developers.dingtalk.com/document/dashboard/you-can-call-this-operation-to-obtain-the-information-about + * @see https://open.dingtalk.com/document/dashboard/you-can-call-this-operation-to-obtain-the-information-about */ getPluginRuleCheckInfo( query: GetPluginRuleCheckInfoQuery, ): Promise /** * 获取工作台插件的权限点 - * @see https://developers.dingtalk.com/document/dashboard/obtain-the-permissions-of-the-workbench-plug-in + * @see https://open.dingtalk.com/document/dashboard/obtain-the-permissions-of-the-workbench-plug-in */ getPluginPermissionPoint( query: GetPluginPermissionPointQuery, diff --git a/adapters/dingtalk/src/api/yida.ts b/adapters/dingtalk/src/api/yida.ts index ad806f81..e7918120 100644 --- a/adapters/dingtalk/src/api/yida.ts +++ b/adapters/dingtalk/src/api/yida.ts @@ -1752,117 +1752,117 @@ declare module '../internal' { interface Internal { /** * 获取应用内表单列表信息 - * @see https://developers.dingtalk.com/document/app/depending-on-the-application-id-to-get-the-form-list + * @see https://open.dingtalk.com/document/app/depending-on-the-application-id-to-get-the-form-list */ getFormListInApp( query: GetFormListInAppQuery, ): Promise /** * 根据表单ID获取字段信息 - * @see https://developers.dingtalk.com/document/isvapp/get-form-field-information-based-on-form-uuid + * @see https://open.dingtalk.com/document/isvapp/get-form-field-information-based-on-form-uuid */ getFieldDefByUuid( query: GetFieldDefByUuidQuery, ): Promise /** * 批量审批 - * @see https://developers.dingtalk.com/document/app/bulk-approval + * @see https://open.dingtalk.com/document/app/bulk-approval */ executeBatchTask( params: ExecuteBatchTaskParams, ): Promise /** * 查询表单的变更记录 - * @see https://developers.dingtalk.com/document/app/query-the-operation-records-of-a-form + * @see https://open.dingtalk.com/document/app/query-the-operation-records-of-a-form */ listOperationLogs( params: ListOperationLogsParams, ): Promise /** * 查询表单实例评论列表 - * @see https://developers.dingtalk.com/document/isvapp/batch-query-of-comments-appropriate-for-form-instances + * @see https://open.dingtalk.com/document/isvapp/batch-query-of-comments-appropriate-for-form-instances */ listFormRemarks( params: ListFormRemarksParams, ): Promise /** * 查询服务调用记录 - * @see https://developers.dingtalk.com/document/isvapp/execution-records-of-form-service-calls + * @see https://open.dingtalk.com/document/isvapp/execution-records-of-form-service-calls */ queryServiceRecord( query: QueryServiceRecordQuery, ): Promise /** * 批量删除指定的表单实例 - * @see https://developers.dingtalk.com/document/isvapp/delete-multiple-form-instances + * @see https://open.dingtalk.com/document/isvapp/delete-multiple-form-instances */ batchRemovalByFormInstanceIdList( params: BatchRemovalByFormInstanceIdListParams, ): Promise /** * 将多条表单实例的指定表单组件更新成指定值 - * @see https://developers.dingtalk.com/document/isvapp/batch-update-of-component-values-in-form-instances + * @see https://open.dingtalk.com/document/isvapp/batch-update-of-component-values-in-form-instances */ batchUpdateFormDataByInstanceId( params: BatchUpdateFormDataByInstanceIdParams, ): Promise /** * 通过表单实例数据批量更新表单实例 - * @see https://developers.dingtalk.com/document/isvapp/batch-update-of-form-instances-through-form-component-data + * @see https://open.dingtalk.com/document/isvapp/batch-update-of-form-instances-through-form-component-data */ batchUpdateFormDataByInstanceMap( params: BatchUpdateFormDataByInstanceMapParams, ): Promise /** * 获取组织下的宜搭应用列表 - * @see https://developers.dingtalk.com/document/isvapp/query-the-application-list + * @see https://open.dingtalk.com/document/isvapp/query-the-application-list */ listApplication( query: ListApplicationQuery, ): Promise /** * 批量保存表单实例数据 - * @see https://developers.dingtalk.com/document/isvapp/create-multiple-form-instances + * @see https://open.dingtalk.com/document/isvapp/create-multiple-form-instances */ batchSaveFormData( params: BatchSaveFormDataParams, ): Promise /** * 通过高级查询条件查询表单实例数据(不返回子表单组件数据) - * @see https://developers.dingtalk.com/document/isvapp/obtain-form-instance-data-using-advanced-query-conditions-excluding-subform + * @see https://open.dingtalk.com/document/isvapp/obtain-form-instance-data-using-advanced-query-conditions-excluding-subform */ searchFormDataSecondGenerationNoTableField( params: SearchFormDataSecondGenerationNoTableFieldParams, ): Promise /** * 新增或更新表单实例 - * @see https://developers.dingtalk.com/document/isvapp/add-or-update-form-instances + * @see https://open.dingtalk.com/document/isvapp/add-or-update-form-instances */ createOrUpdateFormData( params: CreateOrUpdateFormDataParams, ): Promise /** * 通过高级检索条件查询表单实例 - * @see https://developers.dingtalk.com/document/isvapp/query-form-instances-using-advanced-search-conditions + * @see https://open.dingtalk.com/document/isvapp/query-form-instances-using-advanced-search-conditions */ searchFormDataSecondGeneration( params: SearchFormDataSecondGenerationParams, ): Promise /** * 批量获取指定表单实例ID列表对应的表单实例数据 - * @see https://developers.dingtalk.com/document/isvapp/obtain-multiple-form-instance-data + * @see https://open.dingtalk.com/document/isvapp/obtain-multiple-form-instance-data */ batchGetFormDataByIdList( params: BatchGetFormDataByIdListParams, ): Promise /** * 查询抄送我的任务列表(应用维度) - * @see https://developers.dingtalk.com/document/app/query-copied-my-task-list-application-dimension + * @see https://open.dingtalk.com/document/app/query-copied-my-task-list-application-dimension */ getTaskCopies(query: GetTaskCopiesQuery): Promise /** * 根据条件搜索表单实例 ID 列表 - * @see https://developers.dingtalk.com/document/app/obtain-the-ids-of-multiple-form-instances + * @see https://open.dingtalk.com/document/app/obtain-the-ids-of-multiple-form-instances */ searchFormDataIdList( appType: string, @@ -1872,7 +1872,7 @@ declare module '../internal' { ): Promise /** * 获取子表单数据 - * @see https://developers.dingtalk.com/document/app/obtain-child-table-component-data + * @see https://open.dingtalk.com/document/app/obtain-child-table-component-data */ listTableDataByFormInstanceIdTableId( formInstanceId: string, @@ -1880,7 +1880,7 @@ declare module '../internal' { ): Promise /** * 查询已完成任务列表 - * @see https://developers.dingtalk.com/document/app/obtains-the-completed-approval-tasks-in-an-organization + * @see https://open.dingtalk.com/document/app/obtains-the-completed-approval-tasks-in-an-organization */ getCorpAccomplishmentTasks( corpId: string, @@ -1889,7 +1889,7 @@ declare module '../internal' { ): Promise /** * 获取表单定义 - * @see https://developers.dingtalk.com/document/app/get-a-list-of-form-component-definitions + * @see https://open.dingtalk.com/document/app/get-a-list-of-form-component-definitions */ getFormComponentDefinitionList( appType: string, @@ -1898,7 +1898,7 @@ declare module '../internal' { ): Promise /** * 根据条件搜索流程实例 ID - * @see https://developers.dingtalk.com/document/app/obtains-a-list-of-instance-ids + * @see https://open.dingtalk.com/document/app/obtains-a-list-of-instance-ids */ getInstanceIdList( query: GetInstanceIdListQuery, @@ -1906,14 +1906,14 @@ declare module '../internal' { ): Promise /** * 根据实例 ID 列表批量获取流程实例详情 - * @see https://developers.dingtalk.com/document/app/queries-multiple-process-instances + * @see https://open.dingtalk.com/document/app/queries-multiple-process-instances */ getInstancesByIdList( query: GetInstancesByIdListQuery, ): Promise /** * 获取组织内某人提交的任务 - * @see https://developers.dingtalk.com/document/app/obtains-the-tasks-submitted-by-someone-in-an-organization + * @see https://open.dingtalk.com/document/app/obtains-the-tasks-submitted-by-someone-in-an-organization */ getMeCorpSubmission( userId: string, @@ -1921,7 +1921,7 @@ declare module '../internal' { ): Promise /** * 获取流程定义 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-process-definition + * @see https://open.dingtalk.com/document/isvapp-server/obtain-process-definition */ getProcessDefinition( processInstanceId: string, @@ -1929,12 +1929,12 @@ declare module '../internal' { ): Promise /** * 查询待办任务列表 - * @see https://developers.dingtalk.com/document/app/query-tasks-from-the-organization-dimension + * @see https://open.dingtalk.com/document/app/query-tasks-from-the-organization-dimension */ getCorpTasks(query: GetCorpTasksQuery): Promise /** * 查询抄送我的任务列表(企业维度) - * @see https://developers.dingtalk.com/document/app/get-notifications-sent-to-users + * @see https://open.dingtalk.com/document/app/get-notifications-sent-to-users */ getNotifyMe( userId: string, @@ -1942,7 +1942,7 @@ declare module '../internal' { ): Promise /** * 获取流程节点按钮列表 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-a-list-of-process-node-buttons-1 + * @see https://open.dingtalk.com/document/isvapp-server/obtain-a-list-of-process-node-buttons-1 */ getActivityButtonList( appType: string, @@ -1952,51 +1952,51 @@ declare module '../internal' { ): Promise /** * 获取平台服务资源 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-platform-service-resources + * @see https://open.dingtalk.com/document/isvapp-server/obtain-platform-service-resources */ getApplicationAuthorizationServicePlatformResource( query: GetApplicationAuthorizationServicePlatformResourceQuery, ): Promise /** * 更新流程实例 - * @see https://developers.dingtalk.com/document/isvapp-server/update-process-instance-1 + * @see https://open.dingtalk.com/document/isvapp-server/update-process-instance-1 */ updateInstance(params: UpdateInstanceParams): Promise /** * 删除流程实例 - * @see https://developers.dingtalk.com/document/app/delete-process-instance + * @see https://open.dingtalk.com/document/app/delete-process-instance */ deleteInstance(query: DeleteInstanceQuery): Promise /** * 获取审批记录 - * @see https://developers.dingtalk.com/document/app/queries-an-approval-record + * @see https://open.dingtalk.com/document/app/queries-an-approval-record */ getOperationRecords( query: GetOperationRecordsQuery, ): Promise /** * 终止流程实例 - * @see https://developers.dingtalk.com/document/app/terminate-a-process-instance + * @see https://open.dingtalk.com/document/app/terminate-a-process-instance */ terminateInstance(query: TerminateInstanceQuery): Promise /** * 执行审批任务 - * @see https://developers.dingtalk.com/document/app/execute-approval-tasks + * @see https://open.dingtalk.com/document/app/execute-approval-tasks */ executeTask(params: ExecuteTaskParams): Promise /** * 执行宜搭平台的审批任务 - * @see https://developers.dingtalk.com/document/isvapp-server/execute-appropriate-approval-tasks + * @see https://open.dingtalk.com/document/isvapp-server/execute-appropriate-approval-tasks */ executePlatformTask(params: ExecutePlatformTaskParams): Promise /** * 执行转交任务 - * @see https://developers.dingtalk.com/document/app/transfer-tasks + * @see https://open.dingtalk.com/document/app/transfer-tasks */ redirectTask(params: RedirectTaskParams): Promise /** * 附件地址转临时免登地址 - * @see https://developers.dingtalk.com/document/isvapp/obtain-the-temporary-free-access-address-of-yixian-accessories + * @see https://open.dingtalk.com/document/isvapp/obtain-the-temporary-free-access-address-of-yixian-accessories */ getOpenUrl( appType: string, @@ -2004,132 +2004,132 @@ declare module '../internal' { ): Promise /** * 提交表单/流程实例下的评论 - * @see https://developers.dingtalk.com/document/app/submit-comment + * @see https://open.dingtalk.com/document/app/submit-comment */ saveFormRemark( params: SaveFormRemarkParams, ): Promise /** * 获取应用下的页面列表 - * @see https://developers.dingtalk.com/document/isvapp-server/obtains-the-page-list-under-an-application + * @see https://open.dingtalk.com/document/isvapp-server/obtains-the-page-list-under-an-application */ listNavigationByFormType( query: ListNavigationByFormTypeQuery, ): Promise /** * 多渠道新购校验 - * @see https://developers.dingtalk.com/document/isvapp-server/multi-channel-new-purchase-verification + * @see https://open.dingtalk.com/document/isvapp-server/multi-channel-new-purchase-verification */ validateOrderBuy( query: ValidateOrderBuyQuery, ): Promise /** * 查询流程运行任务(vpc) - * @see https://developers.dingtalk.com/document/app/query-process-running-tasks-vpc + * @see https://open.dingtalk.com/document/app/query-process-running-tasks-vpc */ getRunningTasks( query: GetRunningTasksQuery, ): Promise /** * 获取流程设计的节点信息 - * @see https://developers.dingtalk.com/document/isvapp-server/obtain-the-information-about-the-nodes-in-process-design-1 + * @see https://open.dingtalk.com/document/isvapp-server/obtain-the-information-about-the-nodes-in-process-design-1 */ getActivityList( query: GetActivityListQuery, ): Promise /** * 执行自定义API - * @see https://developers.dingtalk.com/document/isvapp-server/run-custom-api + * @see https://open.dingtalk.com/document/isvapp-server/run-custom-api */ executeCustomApi( query: ExecuteCustomApiQuery, ): Promise /** * 查询激活码 - * @see https://developers.dingtalk.com/document/isvapp-server/query-activation-code + * @see https://open.dingtalk.com/document/isvapp-server/query-activation-code */ searchActivationCode( query: SearchActivationCodeQuery, ): Promise /** * 查询销售用户信息 - * @see https://developers.dingtalk.com/document/isvapp-server/query-sales-user-information + * @see https://open.dingtalk.com/document/isvapp-server/query-sales-user-information */ getSaleUserInfoByUserId( query: GetSaleUserInfoByUserIdQuery, ): Promise /** * 查询企业级别 - * @see https://developers.dingtalk.com/document/isvapp-server/query-enterprise-level + * @see https://open.dingtalk.com/document/isvapp-server/query-enterprise-level */ getCorpLevelByAccountId( query: GetCorpLevelByAccountIdQuery, ): Promise /** * 更新状态 - * @see https://developers.dingtalk.com/document/isvapp-server/update-status + * @see https://open.dingtalk.com/document/isvapp-server/update-status */ updateStatus(params: UpdateStatusParams): Promise /** * 校验订单的升级 - * @see https://developers.dingtalk.com/document/isvapp-server/verification-order-upgrade + * @see https://open.dingtalk.com/document/isvapp-server/verification-order-upgrade */ validateOrderUpgrade( query: ValidateOrderUpgradeQuery, ): Promise /** * 发布商品 - * @see https://developers.dingtalk.com/document/isvapp-server/release-products + * @see https://open.dingtalk.com/document/isvapp-server/release-products */ releaseCommodity( query: ReleaseCommodityQuery, ): Promise /** * 使商品过期 - * @see https://developers.dingtalk.com/document/isvapp-server/make-goods-expire + * @see https://open.dingtalk.com/document/isvapp-server/make-goods-expire */ expireCommodity( query: ExpireCommodityQuery, ): Promise /** * 退还商品 - * @see https://developers.dingtalk.com/document/isvapp-server/refund-of-goods + * @see https://open.dingtalk.com/document/isvapp-server/refund-of-goods */ refundCommodity( query: RefundCommodityQuery, ): Promise /** * 搜索表单中指定人员组件的值 - * @see https://developers.dingtalk.com/document/app/gets-the-value-of-the-employee-component + * @see https://open.dingtalk.com/document/app/gets-the-value-of-the-employee-component */ searchEmployeeFieldValues( params: SearchEmployeeFieldValuesParams, ): Promise /** * 删除序列 - * @see https://developers.dingtalk.com/document/isvapp-server/delete-sequence + * @see https://open.dingtalk.com/document/isvapp-server/delete-sequence */ deleteSequence(query: DeleteSequenceQuery): Promise /** * 新增表单实例 - * @see https://developers.dingtalk.com/document/app/save-form-data + * @see https://open.dingtalk.com/document/app/save-form-data */ saveFormData(params: SaveFormDataParams): Promise /** * 更新表单实例 - * @see https://developers.dingtalk.com/document/orgapp/update-form-data + * @see https://open.dingtalk.com/document/orgapp/update-form-data */ updateFormData(params: UpdateFormDataParams): Promise /** * 根据条件搜索表单实例详情列表,对应原searchFormDatas - * @see https://developers.dingtalk.com/document/app/querying-form-instance-data + * @see https://open.dingtalk.com/document/app/querying-form-instance-data */ searchFormDatas( params: SearchFormDatasParams, ): Promise /** * 根据搜索条件获取流程表单实例详情 - * @see https://developers.dingtalk.com/document/app/obtain-process-instance + * @see https://open.dingtalk.com/document/app/obtain-process-instance */ getInstances( query: GetInstancesQuery, @@ -2137,12 +2137,12 @@ declare module '../internal' { ): Promise /** * 删除表单实例 - * @see https://developers.dingtalk.com/document/app/delete-form-data + * @see https://open.dingtalk.com/document/app/delete-form-data */ deleteFormData(query: DeleteFormDataQuery): Promise /** * 根据实例 ID 获取流程实例详情 - * @see https://developers.dingtalk.com/document/app/queries-a-process-instance-based-on-its-id + * @see https://open.dingtalk.com/document/app/queries-a-process-instance-based-on-its-id */ getInstanceById( id: string, @@ -2150,12 +2150,12 @@ declare module '../internal' { ): Promise /** * 发起新的流程实例 - * @see https://developers.dingtalk.com/document/app/initiate-the-approval-process + * @see https://open.dingtalk.com/document/app/initiate-the-approval-process */ startInstance(params: StartInstanceParams): Promise /** * 根据表单 ID 查询实例详情 - * @see https://developers.dingtalk.com/document/app/query-form-data + * @see https://open.dingtalk.com/document/app/query-form-data */ getFormDataByID( id: string,