@satorijs/adapter-dingtalk 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/alitrip.d.ts +12 -12
- package/lib/api/attendance.d.ts +3 -3
- package/lib/api/badge.d.ts +8 -8
- package/lib/api/blackboard.d.ts +1 -1
- package/lib/api/calendar.d.ts +28 -28
- package/lib/api/card.d.ts +6 -6
- package/lib/api/conference.d.ts +23 -23
- package/lib/api/connector.d.ts +3 -3
- package/lib/api/contact.d.ts +2 -2
- package/lib/api/convFile.d.ts +4 -4
- package/lib/api/crm.d.ts +28 -28
- package/lib/api/customerService.d.ts +4 -4
- package/lib/api/datacenter.d.ts +26 -26
- package/lib/api/devicemng.d.ts +5 -5
- package/lib/api/diot.d.ts +1 -1
- package/lib/api/doc.d.ts +8 -8
- package/lib/api/drive.d.ts +4 -4
- package/lib/api/edu.d.ts +5 -5
- package/lib/api/esign.d.ts +2 -2
- package/lib/api/exclusive.d.ts +14 -14
- package/lib/api/h3yun.d.ts +20 -20
- package/lib/api/hrm.d.ts +9 -9
- package/lib/api/im.d.ts +37 -37
- package/lib/api/industry.d.ts +5 -5
- package/lib/api/jzcrm.d.ts +13 -13
- package/lib/api/link.d.ts +4 -4
- package/lib/api/live.d.ts +6 -6
- package/lib/api/microApp.d.ts +12 -12
- package/lib/api/oapi.d.ts +257 -257
- package/lib/api/oauth2.d.ts +7 -7
- package/lib/api/pedia.d.ts +6 -6
- package/lib/api/project.d.ts +50 -50
- package/lib/api/resident.d.ts +6 -6
- package/lib/api/robot.d.ts +14 -14
- package/lib/api/rooms.d.ts +12 -12
- package/lib/api/serviceGroup.d.ts +8 -8
- package/lib/api/storage.d.ts +51 -51
- package/lib/api/swform.d.ts +3 -3
- package/lib/api/todo.d.ts +5 -5
- package/lib/api/wiki.d.ts +6 -6
- package/lib/api/workbench.d.ts +3 -3
- package/lib/api/yida.d.ts +60 -60
- package/lib/bot.d.ts +5 -6
- package/lib/http.d.ts +2 -3
- package/lib/index.js +164 -165
- package/lib/index.js.map +2 -2
- package/lib/message.d.ts +2 -2
- package/lib/utils.d.ts +2 -2
- package/lib/ws.d.ts +3 -3
- package/package.json +7 -4
package/lib/api/oapi.d.ts
CHANGED
|
@@ -211,7 +211,7 @@ export interface OapiV2UserUpdateParams {
|
|
|
211
211
|
exclusive_mobile_verify_status?: string;
|
|
212
212
|
/** 修改本组织专属帐号时可指定昵称 */
|
|
213
213
|
nickname?: string;
|
|
214
|
-
/** 修改本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://
|
|
214
|
+
/** 修改本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://open.dingtalk.com/document/app/upload-media-files */
|
|
215
215
|
avatarMediaId?: string;
|
|
216
216
|
/** 自定义字段更新模式,0-覆盖方式 1-追加方式 (默认是覆盖) */
|
|
217
217
|
ext_attrs_update_mode?: unknown;
|
|
@@ -285,7 +285,7 @@ export interface OapiV2UserCreateParams {
|
|
|
285
285
|
outer_exclusive_corpid?: string;
|
|
286
286
|
/** 需要添加的专属帐号所属userid */
|
|
287
287
|
outer_exclusive_userid?: string;
|
|
288
|
-
/** 创建本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://
|
|
288
|
+
/** 创建本组织专属帐号时可指定头像MediaId。只支持参考jpg/png,生成方法 https://open.dingtalk.com/document/app/upload-media-files */
|
|
289
289
|
avatarMediaId?: string;
|
|
290
290
|
/** 创建本组织专属帐号时可指定昵称 */
|
|
291
291
|
nickname?: string;
|
|
@@ -2734,628 +2734,628 @@ declare module '../internal' {
|
|
|
2734
2734
|
interface Internal {
|
|
2735
2735
|
/**
|
|
2736
2736
|
* 该接口用于获取企业授权凭证
|
|
2737
|
-
* @see https://
|
|
2737
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-enterprise-authorized-credential
|
|
2738
2738
|
*/
|
|
2739
|
-
|
|
2739
|
+
oapiServiceGetCorpToken(params: OapiServiceGetCorpTokenParams): Promise<OapiServiceGetCorpTokenResponse>;
|
|
2740
2740
|
/**
|
|
2741
2741
|
* 获取应用后台免登的access_token
|
|
2742
|
-
* @see https://
|
|
2742
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-the-ssotoken-for-micro-application-background-logon-free
|
|
2743
2743
|
*/
|
|
2744
|
-
|
|
2744
|
+
oapiSsoGettoken(query: OapiSsoGettokenQuery): Promise<OapiSsoGettokenResponse>;
|
|
2745
2745
|
/**
|
|
2746
2746
|
* 获取jsapi ticket
|
|
2747
|
-
* @see https://
|
|
2747
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-jsapi_ticket
|
|
2748
2748
|
*/
|
|
2749
|
-
|
|
2749
|
+
oapiGetJsapiTicket(): Promise<OapiGetJsapiTicketResponse>;
|
|
2750
2750
|
/**
|
|
2751
2751
|
* 获取企业内部应用的access_token
|
|
2752
|
-
* @see https://
|
|
2752
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-orgapp-token
|
|
2753
2753
|
*/
|
|
2754
|
-
|
|
2754
|
+
oapiGettoken(query: OapiGettokenQuery): Promise<OapiGettokenResponse>;
|
|
2755
2755
|
/**
|
|
2756
2756
|
* 通过免登码获取用户userid
|
|
2757
|
-
* @see https://
|
|
2757
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-the-userid-of-a-user-by-using-the-log-free
|
|
2758
2758
|
*/
|
|
2759
|
-
|
|
2759
|
+
oapiV2UserGetuserinfo(params: OapiV2UserGetuserinfoParams): Promise<OapiV2UserGetuserinfoResponse>;
|
|
2760
2760
|
/**
|
|
2761
2761
|
* 该接口用于获取授权用户信息
|
|
2762
|
-
* @see https://
|
|
2762
|
+
* @see https://open.dingtalk.com/document/isvapp-server/obtain-the-user-information-based-on-the-sns-temporary-authorization
|
|
2763
2763
|
*/
|
|
2764
|
-
|
|
2764
|
+
oapiSnsGetuserinfoBycode(params: OapiSnsGetuserinfoBycodeParams): Promise<OapiSnsGetuserinfoBycodeResponse>;
|
|
2765
2765
|
/**
|
|
2766
2766
|
* 获取应用管理后台免登的用户信息
|
|
2767
|
-
* @see https://
|
|
2767
|
+
* @see https://open.dingtalk.com/document/isvapp/exchange-code-for-the-identity-information-of-a-microapplication-administrator
|
|
2768
2768
|
*/
|
|
2769
|
-
|
|
2769
|
+
oapiSsoGetuserinfo(query: OapiSsoGetuserinfoQuery): Promise<OapiSsoGetuserinfoResponse>;
|
|
2770
2770
|
/**
|
|
2771
2771
|
* 获取企业授权信息
|
|
2772
|
-
* @see https://
|
|
2772
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-basic-information-of-an-enterprise
|
|
2773
2773
|
*/
|
|
2774
|
-
|
|
2774
|
+
oapiServiceGetAuthInfo(params: OapiServiceGetAuthInfoParams): Promise<OapiServiceGetAuthInfoResponse>;
|
|
2775
2775
|
/**
|
|
2776
2776
|
* 用户信息更新
|
|
2777
|
-
* @see https://
|
|
2777
|
+
* @see https://open.dingtalk.com/document/orgapp/update-dedicated-accounts-information
|
|
2778
2778
|
*/
|
|
2779
|
-
|
|
2779
|
+
oapiV2UserUpdate(params: OapiV2UserUpdateParams): Promise<OapiV2UserUpdateResponse>;
|
|
2780
2780
|
/**
|
|
2781
2781
|
* 用户信息创建
|
|
2782
|
-
* @see https://
|
|
2782
|
+
* @see https://open.dingtalk.com/document/orgapp/user-information-creation
|
|
2783
2783
|
*/
|
|
2784
|
-
|
|
2784
|
+
oapiV2UserCreate(params: OapiV2UserCreateParams): Promise<OapiV2UserCreateResponse>;
|
|
2785
2785
|
/**
|
|
2786
2786
|
* 获取主干组织列表
|
|
2787
|
-
* @see https://
|
|
2787
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-backbone-organization-list
|
|
2788
2788
|
*/
|
|
2789
|
-
|
|
2789
|
+
oapiOrgUnionTrunkGet(): Promise<OapiOrgUnionTrunkGetResponse>;
|
|
2790
2790
|
/**
|
|
2791
2791
|
* 获取员工花名册的元数据定义(包括花名册分组、字段定义)
|
|
2792
|
-
* @see https://
|
|
2792
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-roster-metadata-query
|
|
2793
2793
|
*/
|
|
2794
|
-
|
|
2794
|
+
oapiSmartworkHrmRosterMetaGet(params: OapiSmartworkHrmRosterMetaGetParams): Promise<OapiSmartworkHrmRosterMetaGetResponse>;
|
|
2795
2795
|
/**
|
|
2796
2796
|
* 获取员工花名册指定字段的信息,支持明细分组字段
|
|
2797
|
-
* @see https://
|
|
2797
|
+
* @see https://open.dingtalk.com/document/orgapp/intelligent-personnel-obtain-employee-roster-information
|
|
2798
2798
|
*/
|
|
2799
|
-
|
|
2799
|
+
oapiSmartworkHrmEmployeeV2List(params: OapiSmartworkHrmEmployeeV2ListParams): Promise<OapiSmartworkHrmEmployeeV2ListResponse>;
|
|
2800
2800
|
/**
|
|
2801
2801
|
* 智能人事更新员工档案信息,支持明细分组
|
|
2802
|
-
* @see https://
|
|
2802
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-update-employee-file-information
|
|
2803
2803
|
*/
|
|
2804
|
-
|
|
2804
|
+
oapiSmartworkHrmEmployeeV2Update(params: OapiSmartworkHrmEmployeeV2UpdateParams): Promise<OapiSmartworkHrmEmployeeV2UpdateResponse>;
|
|
2805
2805
|
/**
|
|
2806
2806
|
* 提供给ISV查询花名册的员工档案信息中有权限的字段列表
|
|
2807
|
-
* @see https://
|
|
2807
|
+
* @see https://open.dingtalk.com/document/isvapp/get-roster-field-group-details
|
|
2808
2808
|
*/
|
|
2809
|
-
|
|
2809
|
+
oapiSmartworkHrmEmployeeFieldGrouplist(params: OapiSmartworkHrmEmployeeFieldGrouplistParams): Promise<OapiSmartworkHrmEmployeeFieldGrouplistResponse>;
|
|
2810
2810
|
/**
|
|
2811
2811
|
* 智能人事更新员工档案员工信息
|
|
2812
|
-
* @see https://
|
|
2812
|
+
* @see https://open.dingtalk.com/document/isvapp-server/update-employee-roster
|
|
2813
2813
|
*/
|
|
2814
|
-
|
|
2814
|
+
oapiSmartworkHrmEmployeeUpdate(params: OapiSmartworkHrmEmployeeUpdateParams): Promise<OapiSmartworkHrmEmployeeUpdateResponse>;
|
|
2815
2815
|
/**
|
|
2816
2816
|
* 智能人事业务,提供企业/ISV按在职状态分页查询公司在职员工id列表
|
|
2817
|
-
* @see https://
|
|
2817
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-on-the-job-employees-of-the
|
|
2818
2818
|
*/
|
|
2819
|
-
|
|
2819
|
+
oapiSmartworkHrmEmployeeQueryonjob(params: OapiSmartworkHrmEmployeeQueryonjobParams): Promise<OapiSmartworkHrmEmployeeQueryonjobResponse>;
|
|
2820
2820
|
/**
|
|
2821
2821
|
* 智能人事业务,企业/ISV分页查询公司待入职员工id列表
|
|
2822
|
-
* @see https://
|
|
2822
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-personnel-query-the-list-of-employees-to-be-hired
|
|
2823
2823
|
*/
|
|
2824
|
-
|
|
2824
|
+
oapiSmartworkHrmEmployeeQuerypreentry(params: OapiSmartworkHrmEmployeeQuerypreentryParams): Promise<OapiSmartworkHrmEmployeeQuerypreentryResponse>;
|
|
2825
2825
|
/**
|
|
2826
2826
|
* 智能人事添加待入职员工信息
|
|
2827
|
-
* @see https://
|
|
2827
|
+
* @see https://open.dingtalk.com/document/isvapp/add-employees-to-be-hired-through-intelligent-personnel
|
|
2828
2828
|
*/
|
|
2829
|
-
|
|
2829
|
+
oapiSmartworkHrmEmployeeAddpreentry(params: OapiSmartworkHrmEmployeeAddpreentryParams): Promise<OapiSmartworkHrmEmployeeAddpreentryResponse>;
|
|
2830
2830
|
/**
|
|
2831
2831
|
* 智能人事业务,企业/ISV根据员工id批量访问员工花名册信息
|
|
2832
|
-
* @see https://
|
|
2832
|
+
* @see https://open.dingtalk.com/document/isvapp-server/obtaining-employee-roster-field-information
|
|
2833
2833
|
*/
|
|
2834
|
-
|
|
2834
|
+
oapiSmartworkHrmEmployeeList(params: OapiSmartworkHrmEmployeeListParams): Promise<OapiSmartworkHrmEmployeeListResponse>;
|
|
2835
2835
|
/**
|
|
2836
2836
|
* 企业可以根据模板名称获取模板详情
|
|
2837
|
-
* @see https://
|
|
2837
|
+
* @see https://open.dingtalk.com/document/isvapp/query-template-details
|
|
2838
2838
|
*/
|
|
2839
|
-
|
|
2839
|
+
oapiReportTemplateGetbyname(params: OapiReportTemplateGetbynameParams): Promise<OapiReportTemplateGetbynameResponse>;
|
|
2840
2840
|
/**
|
|
2841
2841
|
* 提供企业员工创建日志的接口
|
|
2842
|
-
* @see https://
|
|
2842
|
+
* @see https://open.dingtalk.com/document/isvapp/create-a-log
|
|
2843
2843
|
*/
|
|
2844
|
-
|
|
2844
|
+
oapiReportCreate(params: OapiReportCreateParams): Promise<OapiReportCreateResponse>;
|
|
2845
2845
|
/**
|
|
2846
2846
|
* 第三方系统会调用这个接口保存日志内容,后续在写日志页面再拉取此内容。
|
|
2847
|
-
* @see https://
|
|
2847
|
+
* @see https://open.dingtalk.com/document/isvapp/save-custom-log-content
|
|
2848
2848
|
*/
|
|
2849
|
-
|
|
2849
|
+
oapiReportSavecontent(params: OapiReportSavecontentParams): Promise<OapiReportSavecontentResponse>;
|
|
2850
2850
|
/**
|
|
2851
2851
|
* 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送的日志概要信息
|
|
2852
|
-
* @see https://
|
|
2852
|
+
* @see https://open.dingtalk.com/document/orgapp/view-log-summary-data
|
|
2853
2853
|
*/
|
|
2854
|
-
|
|
2854
|
+
oapiReportSimplelist(params: OapiReportSimplelistParams): Promise<OapiReportSimplelistResponse>;
|
|
2855
2855
|
/**
|
|
2856
2856
|
* 分页获取日志相关人员列表,包括已读人员列表、评论人员列表、点赞人员列表
|
|
2857
|
-
* @see https://
|
|
2857
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-a-list-of-log-related-personnel-by-type
|
|
2858
2858
|
*/
|
|
2859
|
-
|
|
2859
|
+
oapiReportStatisticsListbytype(params: OapiReportStatisticsListbytypeParams): Promise<OapiReportStatisticsListbytypeResponse>;
|
|
2860
2860
|
/**
|
|
2861
2861
|
* 获取日志的分享人员列表
|
|
2862
|
-
* @see https://
|
|
2862
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-log-sharing-personnel
|
|
2863
2863
|
*/
|
|
2864
|
-
|
|
2864
|
+
oapiReportReceiverList(params: OapiReportReceiverListParams): Promise<OapiReportReceiverListResponse>;
|
|
2865
2865
|
/**
|
|
2866
2866
|
* 分页获取评论详情,包括评论人userid、评论内容、评论时间
|
|
2867
|
-
* @see https://
|
|
2867
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-log-comment-details
|
|
2868
2868
|
*/
|
|
2869
|
-
|
|
2869
|
+
oapiReportCommentList(params: OapiReportCommentListParams): Promise<OapiReportCommentListResponse>;
|
|
2870
2870
|
/**
|
|
2871
2871
|
* 获取日志统计数据
|
|
2872
|
-
* @see https://
|
|
2872
|
+
* @see https://open.dingtalk.com/document/orgapp/query-log-statistics
|
|
2873
2873
|
*/
|
|
2874
|
-
|
|
2874
|
+
oapiReportStatistics(params: OapiReportStatisticsParams): Promise<OapiReportStatisticsResponse>;
|
|
2875
2875
|
/**
|
|
2876
2876
|
* 查询企业员工的日志未读数
|
|
2877
|
-
* @see https://
|
|
2877
|
+
* @see https://open.dingtalk.com/document/orgapp/querying-the-employee-s-log-is-not-reading
|
|
2878
2878
|
*/
|
|
2879
|
-
|
|
2879
|
+
oapiReportGetunreadcount(params: OapiReportGetunreadcountParams): Promise<OapiReportGetunreadcountResponse>;
|
|
2880
2880
|
/**
|
|
2881
2881
|
* 企业可以根据员工userid或者日志模板名称,分页获取员工一段时间范围内在【日志】微应用发送和修改的日志详细信息
|
|
2882
|
-
* @see https://
|
|
2882
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-the-logs-that-are-sent-by
|
|
2883
2883
|
*/
|
|
2884
|
-
|
|
2884
|
+
oapiReportList(params: OapiReportListParams): Promise<OapiReportListResponse>;
|
|
2885
2885
|
/**
|
|
2886
2886
|
* 根据用户userId获取当前企业下可见的日志模板列表
|
|
2887
|
-
* @see https://
|
|
2887
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-list-of-visible-log-templates-based-on-the
|
|
2888
2888
|
*/
|
|
2889
|
-
|
|
2889
|
+
oapiReportTemplateListbyuserid(params: OapiReportTemplateListbyuseridParams): Promise<OapiReportTemplateListbyuseridResponse>;
|
|
2890
2890
|
/**
|
|
2891
2891
|
* 查询多个用户一段时间范围内的签到记录,只给企业调用,ISV无法调用。
|
|
2892
|
-
* @see https://
|
|
2892
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-the-check-in-records-of-multiple-users
|
|
2893
2893
|
*/
|
|
2894
|
-
|
|
2894
|
+
oapiCheckinRecordGet(params: OapiCheckinRecordGetParams): Promise<OapiCheckinRecordGetResponse>;
|
|
2895
2895
|
/**
|
|
2896
2896
|
* 该接口用于获取部门用户签到记录
|
|
2897
|
-
* @see https://
|
|
2897
|
+
* @see https://open.dingtalk.com/document/orgapp/get-check-in-data
|
|
2898
2898
|
*/
|
|
2899
|
-
|
|
2899
|
+
oapiCheckinRecord(query: OapiCheckinRecordQuery): Promise<OapiCheckinRecordResponse>;
|
|
2900
2900
|
/**
|
|
2901
2901
|
* 获取企业公告未删除分类列表
|
|
2902
|
-
* @see https://
|
|
2902
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-list-of-categories-not-deleted-for-enterprise-announcements
|
|
2903
2903
|
*/
|
|
2904
|
-
|
|
2904
|
+
oapiBlackboardCategoryList(params: OapiBlackboardCategoryListParams): Promise<OapiBlackboardCategoryListResponse>;
|
|
2905
2905
|
/**
|
|
2906
2906
|
* 根据公告id修改企业公告,只有以下身份可以修改:1、主管理员2、公告子管理员并且是待修改公告的创建者
|
|
2907
|
-
* @see https://
|
|
2907
|
+
* @see https://open.dingtalk.com/document/orgapp/modify-the-announcement-according-to-the-announcement-id
|
|
2908
2908
|
*/
|
|
2909
|
-
|
|
2909
|
+
oapiBlackboardUpdate(params: OapiBlackboardUpdateParams): Promise<OapiBlackboardUpdateResponse>;
|
|
2910
2910
|
/**
|
|
2911
2911
|
* 根据公告id删除企业公告,只有以下身份可以删除1、主管理员2、公告子管理员并且是待删除公告创建者
|
|
2912
|
-
* @see https://
|
|
2912
|
+
* @see https://open.dingtalk.com/document/orgapp/delete-announcements-based-on-the-announcement-id
|
|
2913
2913
|
*/
|
|
2914
|
-
|
|
2914
|
+
oapiBlackboardDelete(params: OapiBlackboardDeleteParams): Promise<OapiBlackboardDeleteResponse>;
|
|
2915
2915
|
/**
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2916
|
+
* 根据公告ID获取企业未删除公告详情,只有以下身份可以查看:
|
|
2917
|
+
* 1、保密公告
|
|
2918
|
+
* 1.1 公告管理员
|
|
2919
|
+
* 1.2 公告的接收人
|
|
2920
|
+
* 2、非保密公告
|
|
2921
|
+
* 2.1 企业内的人都可见
|
|
2922
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-details-of-a-bulletin-that-is-not-deleted
|
|
2923
|
+
*/
|
|
2924
|
+
oapiBlackboardGet(params: OapiBlackboardGetParams): Promise<OapiBlackboardGetResponse>;
|
|
2925
2925
|
/**
|
|
2926
2926
|
* 通过接口可以获取到企业未删除的钉钉公告id列表
|
|
2927
|
-
* @see https://
|
|
2927
|
+
* @see https://open.dingtalk.com/document/orgapp/obtains-the-id-list-of-announcements-that-are-not-deleted
|
|
2928
2928
|
*/
|
|
2929
|
-
|
|
2929
|
+
oapiBlackboardListids(params: OapiBlackboardListidsParams): Promise<OapiBlackboardListidsResponse>;
|
|
2930
2930
|
/**
|
|
2931
2931
|
* 管理员可以通过该接口创建钉钉企业公告
|
|
2932
|
-
* @see https://
|
|
2932
|
+
* @see https://open.dingtalk.com/document/orgapp/create-an-enterprise-announcement
|
|
2933
2933
|
*/
|
|
2934
|
-
|
|
2934
|
+
oapiBlackboardCreate(params: OapiBlackboardCreateParams): Promise<OapiBlackboardCreateResponse>;
|
|
2935
2935
|
/**
|
|
2936
2936
|
* 列出用户当前有权限看到的10条公告,可用于在企业自定义工作首页进行公告轮播展示
|
|
2937
|
-
* @see https://
|
|
2937
|
+
* @see https://open.dingtalk.com/document/orgapp/list-the-user-s-announcement-list
|
|
2938
2938
|
*/
|
|
2939
|
-
|
|
2939
|
+
oapiBlackboardListtopten(params: OapiBlackboardListtoptenParams): Promise<OapiBlackboardListtoptenResponse>;
|
|
2940
2940
|
/**
|
|
2941
2941
|
* 查询用户是否参与企业步数排行榜
|
|
2942
|
-
* @see https://
|
|
2942
|
+
* @see https://open.dingtalk.com/document/isvapp/check-whether-dingtalk-is-enabled
|
|
2943
2943
|
*/
|
|
2944
|
-
|
|
2944
|
+
oapiHealthStepinfoGetuserstatus(params: OapiHealthStepinfoGetuserstatusParams): Promise<OapiHealthStepinfoGetuserstatusResponse>;
|
|
2945
2945
|
/**
|
|
2946
2946
|
* 批量获取钉钉运动数据
|
|
2947
|
-
* @see https://
|
|
2947
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-the-number-of-dingtalk-movement-steps-of-multiple-users
|
|
2948
2948
|
*/
|
|
2949
|
-
|
|
2949
|
+
oapiHealthStepinfoListbyuserid(params: OapiHealthStepinfoListbyuseridParams): Promise<OapiHealthStepinfoListbyuseridResponse>;
|
|
2950
2950
|
/**
|
|
2951
2951
|
* 查询企业用户或部门每天的钉钉运动步数,最多可以查询31天的数据
|
|
2952
|
-
* @see https://
|
|
2952
|
+
* @see https://open.dingtalk.com/document/orgapp/queries-individual-or-department-dingtalk-exercise-steps
|
|
2953
2953
|
*/
|
|
2954
|
-
|
|
2954
|
+
oapiHealthStepinfoList(params: OapiHealthStepinfoListParams): Promise<OapiHealthStepinfoListResponse>;
|
|
2955
2955
|
/**
|
|
2956
2956
|
* 该接口用于获取员工可见的应用列表
|
|
2957
|
-
* @see https://
|
|
2957
|
+
* @see https://open.dingtalk.com/document/orgapp-server/list-the-microapplications-visible-to-employees
|
|
2958
2958
|
*/
|
|
2959
|
-
|
|
2959
|
+
oapiMicroappListByUserid(query: OapiMicroappListByUseridQuery): Promise<OapiMicroappListByUseridResponse>;
|
|
2960
2960
|
/**
|
|
2961
2961
|
* 列出微应用
|
|
2962
|
-
* @see https://
|
|
2962
|
+
* @see https://open.dingtalk.com/document/orgapp-server/manager-microapplications-api-permission
|
|
2963
2963
|
*/
|
|
2964
|
-
|
|
2964
|
+
oapiMicroappList(): Promise<OapiMicroappListResponse>;
|
|
2965
2965
|
/**
|
|
2966
2966
|
* 删除微应用
|
|
2967
|
-
* @see https://
|
|
2967
|
+
* @see https://open.dingtalk.com/document/orgapp-server/delete-an-h5-microapplication
|
|
2968
2968
|
*/
|
|
2969
|
-
|
|
2969
|
+
oapiMicroappDelete(params: OapiMicroappDeleteParams): Promise<OapiMicroappDeleteResponse>;
|
|
2970
2970
|
/**
|
|
2971
2971
|
* 该接口用于设置应用的可见范围
|
|
2972
|
-
* @see https://
|
|
2972
|
+
* @see https://open.dingtalk.com/document/orgapp-server/set-the-visible-range-of-the-microapplication
|
|
2973
2973
|
*/
|
|
2974
|
-
|
|
2974
|
+
oapiMicroappSetVisibleScopes(params: OapiMicroappSetVisibleScopesParams): Promise<OapiMicroappSetVisibleScopesResponse>;
|
|
2975
2975
|
/**
|
|
2976
2976
|
* 获取应用的可见范围
|
|
2977
|
-
* @see https://
|
|
2977
|
+
* @see https://open.dingtalk.com/document/orgapp-server/gets-the-microapplication-visible-range-set-by-the-enterprise
|
|
2978
2978
|
*/
|
|
2979
|
-
|
|
2979
|
+
oapiMicroappVisibleScopes(params: OapiMicroappVisibleScopesParams): Promise<OapiMicroappVisibleScopesResponse>;
|
|
2980
2980
|
/**
|
|
2981
2981
|
* 用户使用音频 media_id 或 url 进行请求,服务通过回调的方式通知用户翻译结果
|
|
2982
|
-
* @see https://
|
|
2982
|
+
* @see https://open.dingtalk.com/document/isvapp/asr-short-sentence-recognition
|
|
2983
2983
|
*/
|
|
2984
|
-
|
|
2984
|
+
oapiAsrVoiceTranslate(params: OapiAsrVoiceTranslateParams): Promise<OapiAsrVoiceTranslateResponse>;
|
|
2985
2985
|
/**
|
|
2986
2986
|
* 输入一段文本,得到翻译指定语言后的译文,支持多种语言的互译
|
|
2987
|
-
* @see https://
|
|
2987
|
+
* @see https://open.dingtalk.com/document/isvapp/dingtalk-translation
|
|
2988
2988
|
*/
|
|
2989
|
-
|
|
2989
|
+
oapiAiMtTranslate(params: OapiAiMtTranslateParams): Promise<OapiAiMtTranslateResponse>;
|
|
2990
2990
|
/**
|
|
2991
2991
|
* OCR文字识别
|
|
2992
|
-
* @see https://
|
|
2992
|
+
* @see https://open.dingtalk.com/document/isvapp/structured-image-recognition-api
|
|
2993
2993
|
*/
|
|
2994
|
-
|
|
2994
|
+
oapiOcrStructuredRecognize(params: OapiOcrStructuredRecognizeParams): Promise<OapiOcrStructuredRecognizeResponse>;
|
|
2995
2995
|
/**
|
|
2996
2996
|
* 场开放场景下,基于群模板定义的机器人向群内发消息
|
|
2997
|
-
* @see https://
|
|
2997
|
+
* @see https://open.dingtalk.com/document/isvapp/send-group-helper-message
|
|
2998
2998
|
*/
|
|
2999
|
-
|
|
2999
|
+
oapiImChatScencegroupMessageSendV2(params: OapiImChatScencegroupMessageSendV2Params): Promise<OapiImChatScencegroupMessageSendV2Response>;
|
|
3000
3000
|
/**
|
|
3001
3001
|
* 根据定义的模板id,创建自定义场景群
|
|
3002
|
-
* @see https://
|
|
3002
|
+
* @see https://open.dingtalk.com/document/isvapp/deactivate-group-template
|
|
3003
3003
|
*/
|
|
3004
|
-
|
|
3004
|
+
oapiImChatScenegroupTemplateClose(params: OapiImChatScenegroupTemplateCloseParams): Promise<OapiImChatScenegroupTemplateCloseResponse>;
|
|
3005
3005
|
/**
|
|
3006
3006
|
* 根据传入的模板id,启用群会话群模板功能
|
|
3007
|
-
* @see https://
|
|
3007
|
+
* @see https://open.dingtalk.com/document/isvapp/enable-group-template
|
|
3008
3008
|
*/
|
|
3009
|
-
|
|
3009
|
+
oapiImChatScenegroupTemplateApply(params: OapiImChatScenegroupTemplateApplyParams): Promise<OapiImChatScenegroupTemplateApplyResponse>;
|
|
3010
3010
|
/**
|
|
3011
3011
|
* 注册互动卡片回调地址
|
|
3012
|
-
* @see https://
|
|
3012
|
+
* @see https://open.dingtalk.com/document/orgapp/registration-card-interaction-callback-address-1
|
|
3013
3013
|
*/
|
|
3014
|
-
|
|
3014
|
+
oapiImChatScencegroupInteractivecardCallbackRegister(params: OapiImChatScencegroupInteractivecardCallbackRegisterParams): Promise<OapiImChatScencegroupInteractivecardCallbackRegisterResponse>;
|
|
3015
3015
|
/**
|
|
3016
3016
|
* 根据定义的模板id,创建自定义场景群
|
|
3017
|
-
* @see https://
|
|
3017
|
+
* @see https://open.dingtalk.com/document/isvapp/create-group
|
|
3018
3018
|
*/
|
|
3019
|
-
|
|
3019
|
+
oapiImChatScenegroupCreate(params: OapiImChatScenegroupCreateParams): Promise<OapiImChatScenegroupCreateResponse>;
|
|
3020
3020
|
/**
|
|
3021
3021
|
* 新增场景群成员
|
|
3022
|
-
* @see https://
|
|
3022
|
+
* @see https://open.dingtalk.com/document/isvapp/add-group-members-1
|
|
3023
3023
|
*/
|
|
3024
|
-
|
|
3024
|
+
oapiImChatScenegroupMemberAdd(params: OapiImChatScenegroupMemberAddParams): Promise<OapiImChatScenegroupMemberAddResponse>;
|
|
3025
3025
|
/**
|
|
3026
3026
|
* 获取场景群成员
|
|
3027
|
-
* @see https://
|
|
3027
|
+
* @see https://open.dingtalk.com/document/group/obtains-scene-members
|
|
3028
3028
|
*/
|
|
3029
|
-
|
|
3029
|
+
oapiImChatScenegroupMemberGet(params: OapiImChatScenegroupMemberGetParams): Promise<OapiImChatScenegroupMemberGetResponse>;
|
|
3030
3030
|
/**
|
|
3031
3031
|
* 根据传入的群id,更新群相关内容
|
|
3032
|
-
* @see https://
|
|
3032
|
+
* @see https://open.dingtalk.com/document/isvapp/update-group
|
|
3033
3033
|
*/
|
|
3034
|
-
|
|
3034
|
+
oapiImChatScenegroupUpdate(params: OapiImChatScenegroupUpdateParams): Promise<OapiImChatScenegroupUpdateResponse>;
|
|
3035
3035
|
/**
|
|
3036
3036
|
* 删除场景群成员
|
|
3037
|
-
* @see https://
|
|
3037
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-group-members
|
|
3038
3038
|
*/
|
|
3039
|
-
|
|
3039
|
+
oapiImChatScenegroupMemberDelete(params: OapiImChatScenegroupMemberDeleteParams): Promise<OapiImChatScenegroupMemberDeleteResponse>;
|
|
3040
3040
|
/**
|
|
3041
3041
|
* 根据群id,获取群的基本信息
|
|
3042
|
-
* @see https://
|
|
3042
|
+
* @see https://open.dingtalk.com/document/isvapp/querying-group-information
|
|
3043
3043
|
*/
|
|
3044
|
-
|
|
3044
|
+
oapiImChatScenegroupGet(params: OapiImChatScenegroupGetParams): Promise<OapiImChatScenegroupGetResponse>;
|
|
3045
3045
|
/**
|
|
3046
3046
|
* 自定义机器人发送消息
|
|
3047
|
-
* @see https://
|
|
3047
|
+
* @see https://open.dingtalk.com/document/isvapp/custom-bot-access-send-message
|
|
3048
3048
|
*/
|
|
3049
|
-
|
|
3049
|
+
oapiRobotSend(params: OapiRobotSendParams): Promise<OapiRobotSendResponse>;
|
|
3050
3050
|
/**
|
|
3051
3051
|
* 配置发票适用人群
|
|
3052
|
-
* @see https://
|
|
3052
|
+
* @see https://open.dingtalk.com/document/isvapp/configure-invoice-users
|
|
3053
3053
|
*/
|
|
3054
|
-
|
|
3054
|
+
oapiAlitripBtripInvoiceSettingRule(params: OapiAlitripBtripInvoiceSettingRuleParams): Promise<OapiAlitripBtripInvoiceSettingRuleResponse>;
|
|
3055
3055
|
/**
|
|
3056
3056
|
* 新增发票配置
|
|
3057
|
-
* @see https://
|
|
3057
|
+
* @see https://open.dingtalk.com/document/isvapp/new-invoice-configuration
|
|
3058
3058
|
*/
|
|
3059
|
-
|
|
3059
|
+
oapiAlitripBtripInvoiceSettingAdd(params: OapiAlitripBtripInvoiceSettingAddParams): Promise<OapiAlitripBtripInvoiceSettingAddResponse>;
|
|
3060
3060
|
/**
|
|
3061
3061
|
* 删除项目
|
|
3062
|
-
* @see https://
|
|
3062
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-a-project
|
|
3063
3063
|
*/
|
|
3064
|
-
|
|
3064
|
+
oapiAlitripBtripProjectDelete(params: OapiAlitripBtripProjectDeleteParams): Promise<OapiAlitripBtripProjectDeleteResponse>;
|
|
3065
3065
|
/**
|
|
3066
3066
|
* 项目变更
|
|
3067
|
-
* @see https://
|
|
3067
|
+
* @see https://open.dingtalk.com/document/isvapp/project-change
|
|
3068
3068
|
*/
|
|
3069
|
-
|
|
3069
|
+
oapiAlitripBtripProjectModify(params: OapiAlitripBtripProjectModifyParams): Promise<OapiAlitripBtripProjectModifyResponse>;
|
|
3070
3070
|
/**
|
|
3071
3071
|
* 添加项目
|
|
3072
|
-
* @see https://
|
|
3072
|
+
* @see https://open.dingtalk.com/document/isvapp/add-a-project
|
|
3073
3073
|
*/
|
|
3074
|
-
|
|
3074
|
+
oapiAlitripBtripProjectAdd(params: OapiAlitripBtripProjectAddParams): Promise<OapiAlitripBtripProjectAddResponse>;
|
|
3075
3075
|
/**
|
|
3076
3076
|
* 删除发票配置
|
|
3077
|
-
* @see https://
|
|
3077
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-invoice-configuration
|
|
3078
3078
|
*/
|
|
3079
|
-
|
|
3079
|
+
oapiAlitripBtripInvoiceSettingDelete(params: OapiAlitripBtripInvoiceSettingDeleteParams): Promise<OapiAlitripBtripInvoiceSettingDeleteResponse>;
|
|
3080
3080
|
/**
|
|
3081
3081
|
* 修改发票配置
|
|
3082
|
-
* @see https://
|
|
3082
|
+
* @see https://open.dingtalk.com/document/isvapp/modify-invoice-configuration
|
|
3083
3083
|
*/
|
|
3084
|
-
|
|
3084
|
+
oapiAlitripBtripInvoiceSettingModify(params: OapiAlitripBtripInvoiceSettingModifyParams): Promise<OapiAlitripBtripInvoiceSettingModifyResponse>;
|
|
3085
3085
|
/**
|
|
3086
3086
|
* 查询预估价
|
|
3087
|
-
* @see https://
|
|
3087
|
+
* @see https://open.dingtalk.com/document/isvapp/query-estimated-price
|
|
3088
3088
|
*/
|
|
3089
|
-
|
|
3089
|
+
oapiAlitripBtripPriceQuery(params: OapiAlitripBtripPriceQueryParams): Promise<OapiAlitripBtripPriceQueryResponse>;
|
|
3090
3090
|
/**
|
|
3091
3091
|
* 火车票城市搜索
|
|
3092
|
-
* @see https://
|
|
3092
|
+
* @see https://open.dingtalk.com/document/isvapp/train-ticket-city-search
|
|
3093
3093
|
*/
|
|
3094
|
-
|
|
3094
|
+
oapiAlitripBtripTrainCitySuggest(params: OapiAlitripBtripTrainCitySuggestParams): Promise<OapiAlitripBtripTrainCitySuggestResponse>;
|
|
3095
3095
|
/**
|
|
3096
3096
|
* 获取月对账结算数据
|
|
3097
|
-
* @see https://
|
|
3097
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-monthly-reconciliation-settlement-data
|
|
3098
3098
|
*/
|
|
3099
|
-
|
|
3099
|
+
oapiAlitripBtripMonthbillUrlGet(params: OapiAlitripBtripMonthbillUrlGetParams): Promise<OapiAlitripBtripMonthbillUrlGetResponse>;
|
|
3100
3100
|
/**
|
|
3101
3101
|
* 获取商旅访问地址
|
|
3102
|
-
* @see https://
|
|
3102
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-business-travel-access-addresses
|
|
3103
3103
|
*/
|
|
3104
|
-
|
|
3104
|
+
oapiAlitripBtripAddressGet(params: OapiAlitripBtripAddressGetParams): Promise<OapiAlitripBtripAddressGetResponse>;
|
|
3105
3105
|
/**
|
|
3106
3106
|
* 修改申请单
|
|
3107
|
-
* @see https://
|
|
3107
|
+
* @see https://open.dingtalk.com/document/isvapp/user-modify-approval-form
|
|
3108
3108
|
*/
|
|
3109
|
-
|
|
3109
|
+
oapiAlitripBtripApprovalModify(params: OapiAlitripBtripApprovalModifyParams): Promise<OapiAlitripBtripApprovalModifyResponse>;
|
|
3110
3110
|
/**
|
|
3111
3111
|
* 机票城市搜索
|
|
3112
|
-
* @see https://
|
|
3112
|
+
* @see https://open.dingtalk.com/document/isvapp/air-ticket-city-search
|
|
3113
3113
|
*/
|
|
3114
|
-
|
|
3114
|
+
oapiAlitripBtripFlightCitySuggest(params: OapiAlitripBtripFlightCitySuggestParams): Promise<OapiAlitripBtripFlightCitySuggestResponse>;
|
|
3115
3115
|
/**
|
|
3116
3116
|
* 获取用车订单数据
|
|
3117
|
-
* @see https://
|
|
3117
|
+
* @see https://open.dingtalk.com/document/isvapp/vehicle-order-query-interface
|
|
3118
3118
|
*/
|
|
3119
|
-
|
|
3119
|
+
oapiAlitripBtripVehicleOrderSearch(params: OapiAlitripBtripVehicleOrderSearchParams): Promise<OapiAlitripBtripVehicleOrderSearchResponse>;
|
|
3120
3120
|
/**
|
|
3121
3121
|
* 查询成本中心
|
|
3122
|
-
* @see https://
|
|
3122
|
+
* @see https://open.dingtalk.com/document/isvapp/query-cost-center
|
|
3123
3123
|
*/
|
|
3124
|
-
|
|
3124
|
+
oapiAlitripBtripCostCenterQuery(params: OapiAlitripBtripCostCenterQueryParams): Promise<OapiAlitripBtripCostCenterQueryResponse>;
|
|
3125
3125
|
/**
|
|
3126
3126
|
* 更新申请单状态
|
|
3127
|
-
* @see https://
|
|
3127
|
+
* @see https://open.dingtalk.com/document/isvapp/update-approval-form
|
|
3128
3128
|
*/
|
|
3129
|
-
|
|
3129
|
+
oapiAlitripBtripApprovalUpdate(params: OapiAlitripBtripApprovalUpdateParams): Promise<OapiAlitripBtripApprovalUpdateResponse>;
|
|
3130
3130
|
/**
|
|
3131
3131
|
* 新建成本中心
|
|
3132
|
-
* @see https://
|
|
3132
|
+
* @see https://open.dingtalk.com/document/isvapp/new-cost-center
|
|
3133
3133
|
*/
|
|
3134
|
-
|
|
3134
|
+
oapiAlitripBtripCostCenterNew(params: OapiAlitripBtripCostCenterNewParams): Promise<OapiAlitripBtripCostCenterNewResponse>;
|
|
3135
3135
|
/**
|
|
3136
3136
|
* 修改成本中心基本信息
|
|
3137
|
-
* @see https://
|
|
3137
|
+
* @see https://open.dingtalk.com/document/isvapp/modify-basic-cost-center-information
|
|
3138
3138
|
*/
|
|
3139
|
-
|
|
3139
|
+
oapiAlitripBtripCostCenterModify(params: OapiAlitripBtripCostCenterModifyParams): Promise<OapiAlitripBtripCostCenterModifyResponse>;
|
|
3140
3140
|
/**
|
|
3141
3141
|
* 删除成本中心
|
|
3142
|
-
* @see https://
|
|
3142
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-cost-center
|
|
3143
3143
|
*/
|
|
3144
|
-
|
|
3144
|
+
oapiAlitripBtripCostCenterDelete(params: OapiAlitripBtripCostCenterDeleteParams): Promise<OapiAlitripBtripCostCenterDeleteResponse>;
|
|
3145
3145
|
/**
|
|
3146
3146
|
* 设置成本中心人员信息
|
|
3147
|
-
* @see https://
|
|
3147
|
+
* @see https://open.dingtalk.com/document/isvapp/set-up-cost-center-personnel-information
|
|
3148
3148
|
*/
|
|
3149
|
-
|
|
3149
|
+
oapiAlitripBtripCostCenterEntitySet(params: OapiAlitripBtripCostCenterEntitySetParams): Promise<OapiAlitripBtripCostCenterEntitySetResponse>;
|
|
3150
3150
|
/**
|
|
3151
3151
|
* 企业获取商旅酒店订单数据
|
|
3152
|
-
* @see https://
|
|
3152
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-order-data-of-enterprise-hotels
|
|
3153
3153
|
*/
|
|
3154
|
-
|
|
3154
|
+
oapiAlitripBtripHotelOrderSearch(params: OapiAlitripBtripHotelOrderSearchParams): Promise<OapiAlitripBtripHotelOrderSearchResponse>;
|
|
3155
3155
|
/**
|
|
3156
3156
|
* 获取企业火车票订单数据
|
|
3157
|
-
* @see https://
|
|
3157
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-enterprise-train-ticket-order-data
|
|
3158
3158
|
*/
|
|
3159
|
-
|
|
3159
|
+
oapiAlitripBtripTrainOrderSearch(params: OapiAlitripBtripTrainOrderSearchParams): Promise<OapiAlitripBtripTrainOrderSearchResponse>;
|
|
3160
3160
|
/**
|
|
3161
3161
|
* 获取企业机票订单数据
|
|
3162
|
-
* @see https://
|
|
3162
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-enterprise-ticket-order-data
|
|
3163
3163
|
*/
|
|
3164
|
-
|
|
3164
|
+
oapiAlitripBtripFlightOrderSearch(params: OapiAlitripBtripFlightOrderSearchParams): Promise<OapiAlitripBtripFlightOrderSearchResponse>;
|
|
3165
3165
|
/**
|
|
3166
3166
|
* 查询可用发票列表
|
|
3167
|
-
* @see https://
|
|
3167
|
+
* @see https://open.dingtalk.com/document/isvapp/query-available-invoices
|
|
3168
3168
|
*/
|
|
3169
|
-
|
|
3169
|
+
oapiAlitripBtripInvoiceSearch(params: OapiAlitripBtripInvoiceSearchParams): Promise<OapiAlitripBtripInvoiceSearchResponse>;
|
|
3170
3170
|
/**
|
|
3171
3171
|
* 商旅成本中心转换为外部成本中心
|
|
3172
|
-
* @see https://
|
|
3172
|
+
* @see https://open.dingtalk.com/document/isvapp/business-travel-cost-center-converted-to-external-cost-center
|
|
3173
3173
|
*/
|
|
3174
|
-
|
|
3174
|
+
oapiAlitripBtripCostCenterTransfer(params: OapiAlitripBtripCostCenterTransferParams): Promise<OapiAlitripBtripCostCenterTransferResponse>;
|
|
3175
3175
|
/**
|
|
3176
3176
|
* 获取申请单详情
|
|
3177
|
-
* @see https://
|
|
3177
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-the-detailed-data-of-a-single-request
|
|
3178
3178
|
*/
|
|
3179
|
-
|
|
3179
|
+
oapiAlitripBtripApplyGet(params: OapiAlitripBtripApplyGetParams): Promise<OapiAlitripBtripApplyGetResponse>;
|
|
3180
3180
|
/**
|
|
3181
3181
|
* 获取申请单列表
|
|
3182
|
-
* @see https://
|
|
3182
|
+
* @see https://open.dingtalk.com/document/isvapp/search-enterprise-approval-form-data
|
|
3183
3183
|
*/
|
|
3184
|
-
|
|
3184
|
+
oapiAlitripBtripApplySearch(params: OapiAlitripBtripApplySearchParams): Promise<OapiAlitripBtripApplySearchResponse>;
|
|
3185
3185
|
/**
|
|
3186
3186
|
* 用户新建审批单
|
|
3187
|
-
* @see https://
|
|
3187
|
+
* @see https://open.dingtalk.com/document/isvapp/user-new-approval-form
|
|
3188
3188
|
*/
|
|
3189
|
-
|
|
3189
|
+
oapiAlitripBtripApprovalNew(params: OapiAlitripBtripApprovalNewParams): Promise<OapiAlitripBtripApprovalNewResponse>;
|
|
3190
3190
|
/**
|
|
3191
3191
|
* 删除成本中心人员信息
|
|
3192
|
-
* @see https://
|
|
3192
|
+
* @see https://open.dingtalk.com/document/isvapp/delete-cost-center-personnel-information
|
|
3193
3193
|
*/
|
|
3194
|
-
|
|
3194
|
+
oapiAlitripBtripCostCenterEntityDelete(params: OapiAlitripBtripCostCenterEntityDeleteParams): Promise<OapiAlitripBtripCostCenterEntityDeleteResponse>;
|
|
3195
3195
|
/**
|
|
3196
3196
|
* 获取钉钉项目空间任务中文件的操作日志列表
|
|
3197
|
-
* @see https://
|
|
3197
|
+
* @see https://open.dingtalk.com/document/orgapp/query-file-operation-logs-of-a-project
|
|
3198
3198
|
*/
|
|
3199
|
-
|
|
3199
|
+
oapiWorkspaceAuditlogList(params: OapiWorkspaceAuditlogListParams): Promise<OapiWorkspaceAuditlogListResponse>;
|
|
3200
3200
|
/**
|
|
3201
3201
|
* 查询当前用户的数字化考试情况,是否获取了证书
|
|
3202
|
-
* @see https://
|
|
3202
|
+
* @see https://open.dingtalk.com/document/isvapp/obtain-digital-certificate
|
|
3203
3203
|
*/
|
|
3204
|
-
|
|
3204
|
+
oapiEduCertGet(params: OapiEduCertGetParams): Promise<OapiEduCertGetResponse>;
|
|
3205
3205
|
/**
|
|
3206
3206
|
* 获取家校用户身份列表
|
|
3207
|
-
* @see https://
|
|
3207
|
+
* @see https://open.dingtalk.com/document/isvapp/obtains-a-list-of-home-school-user-identities
|
|
3208
3208
|
*/
|
|
3209
|
-
|
|
3209
|
+
oapiEduUserList(params: OapiEduUserListParams): Promise<OapiEduUserListResponse>;
|
|
3210
3210
|
/**
|
|
3211
3211
|
* 查询企业下的智能硬件设备详情
|
|
3212
|
-
* @see https://
|
|
3212
|
+
* @see https://open.dingtalk.com/document/isvapp/the-smart-hardware-can-query-details-based-on-the-device
|
|
3213
3213
|
*/
|
|
3214
|
-
|
|
3214
|
+
oapiSmartdeviceDeviceQuerybyid(params: OapiSmartdeviceDeviceQuerybyidParams): Promise<OapiSmartdeviceDeviceQuerybyidResponse>;
|
|
3215
3215
|
/**
|
|
3216
3216
|
* 查询企业下的智能硬件设备列表
|
|
3217
|
-
* @see https://
|
|
3217
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-list-query
|
|
3218
3218
|
*/
|
|
3219
|
-
|
|
3219
|
+
oapiSmartdeviceDeviceQuerylist(params: OapiSmartdeviceDeviceQuerylistParams): Promise<OapiSmartdeviceDeviceQuerylistResponse>;
|
|
3220
3220
|
/**
|
|
3221
3221
|
* 查询企业下的智能硬件设备详情
|
|
3222
|
-
* @see https://
|
|
3222
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-device-query
|
|
3223
3223
|
*/
|
|
3224
|
-
|
|
3224
|
+
oapiSmartdeviceDeviceQuery(params: OapiSmartdeviceDeviceQueryParams): Promise<OapiSmartdeviceDeviceQueryResponse>;
|
|
3225
3225
|
/**
|
|
3226
3226
|
* 解除企业下的智能硬件设备绑定
|
|
3227
|
-
* @see https://
|
|
3227
|
+
* @see https://open.dingtalk.com/document/isvapp/intelligent-hardware-device-nickname-modification
|
|
3228
3228
|
*/
|
|
3229
|
-
|
|
3229
|
+
oapiSmartdeviceDeviceUpdatenick(params: OapiSmartdeviceDeviceUpdatenickParams): Promise<OapiSmartdeviceDeviceUpdatenickResponse>;
|
|
3230
3230
|
/**
|
|
3231
3231
|
* 解除企业下的智能硬件设备绑定
|
|
3232
|
-
* @see https://
|
|
3232
|
+
* @see https://open.dingtalk.com/document/isvapp/unbind-a-smart-hardware-device
|
|
3233
3233
|
*/
|
|
3234
|
-
|
|
3234
|
+
oapiSmartdeviceDeviceUnbind(params: OapiSmartdeviceDeviceUnbindParams): Promise<OapiSmartdeviceDeviceUnbindResponse>;
|
|
3235
3235
|
/**
|
|
3236
3236
|
* 智能设备接入钉钉时,需要和组织建立绑定关系,此接口用于创建绑定关系。
|
|
3237
|
-
* @see https://
|
|
3237
|
+
* @see https://open.dingtalk.com/document/isvapp/establishing-a-binding-relationship-between-intelligent-hardware-and-cloud
|
|
3238
3238
|
*/
|
|
3239
|
-
|
|
3239
|
+
oapiSmartdeviceExternalBind(params: OapiSmartdeviceExternalBindParams): Promise<OapiSmartdeviceExternalBindResponse>;
|
|
3240
3240
|
/**
|
|
3241
3241
|
* 删除当前组织CRM指定联系人的接口
|
|
3242
|
-
* @see https://
|
|
3242
|
+
* @see https://open.dingtalk.com/document/orgapp/delete-crm-contact
|
|
3243
3243
|
*/
|
|
3244
|
-
|
|
3244
|
+
oapiCrmObjectdataContactDelete(params: OapiCrmObjectdataContactDeleteParams): Promise<OapiCrmObjectdataContactDeleteResponse>;
|
|
3245
3245
|
/**
|
|
3246
3246
|
* 创建CRM自定义对象数据
|
|
3247
|
-
* @see https://
|
|
3247
|
+
* @see https://open.dingtalk.com/document/orgapp/dingtalk-paas-master-create-custom-crm-object-data
|
|
3248
3248
|
*/
|
|
3249
|
-
|
|
3249
|
+
oapiCrmObjectdataCustomobjectCreate(params: OapiCrmObjectdataCustomobjectCreateParams): Promise<OapiCrmObjectdataCustomobjectCreateResponse>;
|
|
3250
3250
|
/**
|
|
3251
3251
|
* 钉钉PaaS主数据-更新CRM自定义对象数据
|
|
3252
|
-
* @see https://
|
|
3252
|
+
* @see https://open.dingtalk.com/document/orgapp/crm-master-data-opens-interface-for-updating-custom-object-data
|
|
3253
3253
|
*/
|
|
3254
|
-
|
|
3254
|
+
oapiCrmObjectdataCustomobjectUpdate(params: OapiCrmObjectdataCustomobjectUpdateParams): Promise<OapiCrmObjectdataCustomobjectUpdateResponse>;
|
|
3255
3255
|
/**
|
|
3256
3256
|
* 根据实例ID列表批量获取CRM自定义表单数据,最多可一次获取200条数据
|
|
3257
|
-
* @see https://
|
|
3257
|
+
* @see https://open.dingtalk.com/document/orgapp/retrieves-custom-crm-forms-from-the-id-list
|
|
3258
3258
|
*/
|
|
3259
|
-
|
|
3259
|
+
oapiCrmObjectdataList(params: OapiCrmObjectdataListParams): Promise<OapiCrmObjectdataListResponse>;
|
|
3260
3260
|
/**
|
|
3261
3261
|
* 获取CRM自定义对象数据,最多可一次获取200条数据
|
|
3262
|
-
* @see https://
|
|
3262
|
+
* @see https://open.dingtalk.com/document/orgapp/retrieve-custom-crm-object-data
|
|
3263
3263
|
*/
|
|
3264
|
-
|
|
3264
|
+
oapiCrmObjectdataQuery(params: OapiCrmObjectdataQueryParams): Promise<OapiCrmObjectdataQueryResponse>;
|
|
3265
3265
|
/**
|
|
3266
3266
|
* 获取自定义对象的元数据
|
|
3267
|
-
* @see https://
|
|
3267
|
+
* @see https://open.dingtalk.com/document/orgapp/get-metadata-description-of-crm-custom-object
|
|
3268
3268
|
*/
|
|
3269
|
-
|
|
3269
|
+
oapiCrmObjectmetaDescribe(params: OapiCrmObjectmetaDescribeParams): Promise<OapiCrmObjectmetaDescribeResponse>;
|
|
3270
3270
|
/**
|
|
3271
3271
|
* 根据指定查询条件批量获取联系人数据,最多可一次获取200条数据
|
|
3272
|
-
* @see https://
|
|
3272
|
+
* @see https://open.dingtalk.com/document/isvapp/query-contact-data
|
|
3273
3273
|
*/
|
|
3274
|
-
|
|
3274
|
+
oapiCrmObjectdataContactQuery(params: OapiCrmObjectdataContactQueryParams): Promise<OapiCrmObjectdataContactQueryResponse>;
|
|
3275
3275
|
/**
|
|
3276
3276
|
* 根据实例ID列表批量获取跟进记录数据,最多可一次获取200条数据
|
|
3277
|
-
* @see https://
|
|
3277
|
+
* @see https://open.dingtalk.com/document/orgapp/dingtalk-the-primary-data-of-apsara-stack-agility-paas-allows-you
|
|
3278
3278
|
*/
|
|
3279
|
-
|
|
3279
|
+
oapiCrmObjectdataFollowrecordList(params: OapiCrmObjectdataFollowrecordListParams): Promise<OapiCrmObjectdataFollowrecordListResponse>;
|
|
3280
3280
|
/**
|
|
3281
3281
|
* 根据指定查询条件批量获取跟进记录数据,最多可一次获取200条数据
|
|
3282
|
-
* @see https://
|
|
3282
|
+
* @see https://open.dingtalk.com/document/orgapp/query-and-dingtalk-data-of-track-records-in-apsara-stack
|
|
3283
3283
|
*/
|
|
3284
|
-
|
|
3284
|
+
oapiCrmObjectdataFollowrecordQuery(params: OapiCrmObjectdataFollowrecordQueryParams): Promise<OapiCrmObjectdataFollowrecordQueryResponse>;
|
|
3285
3285
|
/**
|
|
3286
3286
|
* 按照ID列表批量获取联系人数据
|
|
3287
|
-
* @see https://
|
|
3287
|
+
* @see https://open.dingtalk.com/document/orgapp/retrieves-contact-data-in-batches-based-on-the-id-list
|
|
3288
3288
|
*/
|
|
3289
|
-
|
|
3289
|
+
oapiCrmObjectdataContactList(params: OapiCrmObjectdataContactListParams): Promise<OapiCrmObjectdataContactListResponse>;
|
|
3290
3290
|
/**
|
|
3291
3291
|
* 获取联系人对象的元数据
|
|
3292
|
-
* @see https://
|
|
3292
|
+
* @see https://open.dingtalk.com/document/isvapp/get-metadata-for-a-contact
|
|
3293
3293
|
*/
|
|
3294
|
-
|
|
3294
|
+
oapiCrmObjectmetaContactDescribe(): Promise<OapiCrmObjectmetaContactDescribeResponse>;
|
|
3295
3295
|
/**
|
|
3296
3296
|
* 获取跟进记录对象的元数据
|
|
3297
|
-
* @see https://
|
|
3297
|
+
* @see https://open.dingtalk.com/document/isvapp/get-the-metadata-of-the-follow-up-record-object
|
|
3298
3298
|
*/
|
|
3299
|
-
|
|
3299
|
+
oapiCrmObjectmetaFollowrecordDescribe(): Promise<OapiCrmObjectmetaFollowrecordDescribeResponse>;
|
|
3300
3300
|
/**
|
|
3301
3301
|
* 发送文件给指定用户
|
|
3302
|
-
* @see https://
|
|
3302
|
+
* @see https://open.dingtalk.com/document/isvapp-server/sends-a-file-to-a-specified-user
|
|
3303
3303
|
*/
|
|
3304
|
-
|
|
3304
|
+
oapiCspaceAddToSingleChat(params: OapiCspaceAddToSingleChatParams): Promise<OapiCspaceAddToSingleChatResponse>;
|
|
3305
3305
|
/**
|
|
3306
3306
|
* 授权用户访问企业下的自定义空间
|
|
3307
|
-
* @see https://
|
|
3307
|
+
* @see https://open.dingtalk.com/document/isvapp-server/authorize-a-user-to-access-a-custom-workspace-of-an
|
|
3308
3308
|
*/
|
|
3309
|
-
|
|
3309
|
+
oapiCspaceGrantCustomSpace(query: OapiCspaceGrantCustomSpaceQuery): Promise<OapiCspaceGrantCustomSpaceResponse>;
|
|
3310
3310
|
/**
|
|
3311
3311
|
* 获取企业下的自定义空间
|
|
3312
|
-
* @see https://
|
|
3312
|
+
* @see https://open.dingtalk.com/document/isvapp-server/obtain-user-space-under-the-enterprise
|
|
3313
3313
|
*/
|
|
3314
|
-
|
|
3314
|
+
oapiCspaceGetCustomSpace(query: OapiCspaceGetCustomSpaceQuery): Promise<OapiCspaceGetCustomSpaceResponse>;
|
|
3315
3315
|
/**
|
|
3316
3316
|
* 新增文件到用户钉盘
|
|
3317
|
-
* @see https://
|
|
3317
|
+
* @see https://open.dingtalk.com/document/isvapp-server/add-file-to-user-s-dingtalk-disk
|
|
3318
3318
|
*/
|
|
3319
|
-
|
|
3319
|
+
oapiCspaceAdd(query: OapiCspaceAddQuery): Promise<OapiCspaceAddResponse>;
|
|
3320
3320
|
/**
|
|
3321
3321
|
* 增加和删除群管理员接口
|
|
3322
|
-
* @see https://
|
|
3322
|
+
* @see https://open.dingtalk.com/document/orgapp/set-chat-admin
|
|
3323
3323
|
*/
|
|
3324
|
-
|
|
3324
|
+
oapiChatSubadminUpdate(params: OapiChatSubadminUpdateParams): Promise<OapiChatSubadminUpdateResponse>;
|
|
3325
3325
|
/**
|
|
3326
3326
|
* 获取群入群二维码邀请链接
|
|
3327
|
-
* @see https://
|
|
3327
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-a-qr-code-link
|
|
3328
3328
|
*/
|
|
3329
|
-
|
|
3329
|
+
oapiChatQrcodeGet(params: OapiChatQrcodeGetParams): Promise<OapiChatQrcodeGetResponse>;
|
|
3330
3330
|
/**
|
|
3331
3331
|
* 设置群成员之间是否可以添加好友和私聊的开关
|
|
3332
|
-
* @see https://
|
|
3332
|
+
* @see https://open.dingtalk.com/document/orgapp/set-private-chat
|
|
3333
3333
|
*/
|
|
3334
|
-
|
|
3334
|
+
oapiChatMemberFriendswitchUpdate(params: OapiChatMemberFriendswitchUpdateParams): Promise<OapiChatMemberFriendswitchUpdateResponse>;
|
|
3335
3335
|
/**
|
|
3336
3336
|
* 设置群成员的群昵称
|
|
3337
|
-
* @see https://
|
|
3337
|
+
* @see https://open.dingtalk.com/document/orgapp/set-a-group-nickname
|
|
3338
3338
|
*/
|
|
3339
|
-
|
|
3339
|
+
oapiChatUpdategroupnick(params: OapiChatUpdategroupnickParams): Promise<OapiChatUpdategroupnickResponse>;
|
|
3340
3340
|
/**
|
|
3341
3341
|
* 修改群会话
|
|
3342
|
-
* @see https://
|
|
3342
|
+
* @see https://open.dingtalk.com/document/orgapp/modify-a-group-session
|
|
3343
3343
|
*/
|
|
3344
|
-
|
|
3344
|
+
oapiChatUpdate(params: OapiChatUpdateParams): Promise<OapiChatUpdateResponse>;
|
|
3345
3345
|
/**
|
|
3346
3346
|
* 该接口用于创建会话
|
|
3347
|
-
* @see https://
|
|
3347
|
+
* @see https://open.dingtalk.com/document/orgapp/create-group-session
|
|
3348
3348
|
*/
|
|
3349
|
-
|
|
3349
|
+
oapiChatCreate(params: OapiChatCreateParams): Promise<OapiChatCreateResponse>;
|
|
3350
3350
|
/**
|
|
3351
3351
|
* 获取群会话
|
|
3352
|
-
* @see https://
|
|
3352
|
+
* @see https://open.dingtalk.com/document/orgapp/obtain-a-group-session
|
|
3353
3353
|
*/
|
|
3354
|
-
|
|
3354
|
+
oapiChatGet(query: OapiChatGetQuery): Promise<OapiChatGetResponse>;
|
|
3355
3355
|
/**
|
|
3356
3356
|
* 通过工作助理机器人给企业员工发送消息
|
|
3357
|
-
* @see https://
|
|
3357
|
+
* @see https://open.dingtalk.com/document/orgapp/the-message-pushing-interface-of-the-assistant
|
|
3358
3358
|
*/
|
|
3359
|
-
|
|
3359
|
+
oapiSmartbotMsgPush(params: OapiSmartbotMsgPushParams): Promise<OapiSmartbotMsgPushResponse>;
|
|
3360
3360
|
}
|
|
3361
3361
|
}
|