Skip to content

Commit

Permalink
chore: dingtalk api redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Oct 1, 2023
1 parent b3361cc commit 0afad33
Show file tree
Hide file tree
Showing 42 changed files with 650 additions and 650 deletions.
24 changes: 12 additions & 12 deletions adapters/dingtalk/src/api/alitrip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<BillSettementBtripTrainResponse>
/**
* 查询酒店结算记账数据
* @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<BillSettementHotelResponse>
/**
* 查询用车结算记账记录
* @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<BillSettementCarResponse>
/**
* 查询机票结算记账数据
* @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<BillSettementFlightResponse>
/**
* 搜索第三方机票超标审批单
* @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<GetFlightExceedApplyResponse>
/**
* 关联单号查询相关订单信息列表
* @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<QueryUnionOrderResponse>
/**
* 搜索第三方火车票超标审批单
* @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<GetTrainExceedApplyResponse>
/**
* 搜索第三方酒店超标审批单
* @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<GetHotelExceedApplyResponse>
/**
* 同步超标审批结果
* @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<SyncExceedApplyResponse>
/**
* 查询市内用车申请单
* @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<QueryCityCarApplyResponse>
/**
* 审批市内用车申请单
* @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<ApproveCityCarApplyResponse>
/**
* 同步市内用车申请单
* @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,
Expand Down
6 changes: 3 additions & 3 deletions adapters/dingtalk/src/api/attendance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<GetAdjustmentsResponse>
/**
* 加班规则列表
* @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<GetSimpleOvertimeSettingResponse>
/**
* 批量获取加班规则设置
* @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,
Expand Down
16 changes: 8 additions & 8 deletions adapters/dingtalk/src/api/badge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<CreateBadgeNotifyResponse>
/**
* 通知钉工牌码验证结果
* @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<NotifyBadgeCodeVerifyResultResponse>
/**
* 配置企业钉工牌
* @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<SaveBadgeCodeCorpInstanceResponse>
/**
* 通知支付结果
* @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<NotifyBadgeCodePayResultResponse>
/**
* 创建钉工牌电子码
* @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<CreateBadgeCodeUserInstanceResponse>
/**
* 通知退款结果
* @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<NotifyBadgeCodeRefundResultResponse>
/**
* 更新钉工牌电子码
* @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<UpdateBadgeCodeUserInstanceResponse>
/**
* 解码钉工牌电子码
* @see https://developers.dingtalk.com/document/isvapp/stack-dingtalk-badge
* @see https://open.dingtalk.com/document/isvapp/stack-dingtalk-badge
*/
decodeBadgeCode(
params: DecodeBadgeCodeParams,
Expand Down
2 changes: 1 addition & 1 deletion adapters/dingtalk/src/api/blackboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 0afad33

Please sign in to comment.