@tongji_api/sdk
Version:
同济大学开放平台SDK
1,062 lines (1,061 loc) • 39 kB
TypeScript
export interface OAuthConfig {
clientId: string;
clientSecret: string;
tokenUrl: string;
}
export interface TokenResponse {
access_token: string;
refresh_token: string;
expires_in: number;
}
export declare class OAuthClient {
private static instance;
private axiosInstance;
private config;
private accessToken;
private tokenExpiresAt;
private constructor();
private isTokenValid;
private getClientCredentialsToken;
refreshToken(refreshToken: string): Promise<TokenResponse>;
static getInstance(config?: OAuthConfig): OAuthClient;
static resetInstance(): void;
v1_dc_sep_auth_update_contact_info(body: {
userId?: string;
email?: string;
phone?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_sep_auth_all_contact_info(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_info_idcard_validateDate(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_sep_auth_person_contact_info(query: {
userId: string;
name: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_user_user_data_statistics(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_info_person_info_by_cardno(query: {
cardNo: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_info_dm_card_no_info(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_user_person_info_by_pid(query?: {
pid?: string;
sincePid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_single_info(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_info_cardno_validate(query?: {
userId?: string;
cardNo?: string;
name?: string;
cardNoLastSix?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_user_person_all_info_by_userid(query: {
userId: string;
statusCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_add_info(query?: {
statusCode?: string;
deptCode?: string;
userTypeCode?: string;
sinceUserId?: string;
sinceCreateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_all_info(query?: {
statusCode?: string;
deptCode?: string;
userTypeCode?: string;
sinceUserId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_update_info(query?: {
statusCode?: string;
deptCode?: string;
userTypeCode?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_user_pm_member_info(query?: {
cardNo?: string;
userId?: string;
sinceCardNo?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_user_user_annual_bill(query: {
userId: string;
year: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_all_address_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_card_no_info(query: {
userId: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_student_leave(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_student_work_info_competition_winners(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_student_info_student_graduation(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_all_student(body: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_student_work_info_class_info(headers?: Record<string, string>): Promise<any>;
v1_dc_student_work_info_student_headteacher_counselor_info(query?: {
userId?: string;
sinceUserId?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_user_student_infos(query?: {
userId?: string;
sinceTime?: string;
statusCode?: string;
deptCode?: string;
secondDeptCode?: string;
leaveSchoolCode?: string;
isMembershipCode?: string;
registrationStatusCode?: string;
userTypeCode?: string;
trainingCategoryCode?: string;
currentGrade?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_user_cec_student_infos(query?: {
userId?: string;
statusCode?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_student_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_student_accommodation_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_work_study(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_honorary_title(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_stipend(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_scholarship(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_hardship_allowance(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_student_work_info_student_loan(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_user_website_teacher_info(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_user_secretary_info(headers?: Record<string, string>): Promise<any>;
v2_dc_user_teacher_infos(query?: {
userId?: string;
statusCode?: string;
deptCode?: string;
currentStatusCode?: string;
userTypeCode?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_teacher_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_teacher_title_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_sep_auth_senior_talents_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_user_postdoc_info(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_info_student_guidance(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_calendar(query?: {
fromDate?: string;
endDate?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_postgraduate_gpa_and_ms(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_postgraduate_degree_course_ms(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_undergraduate_summarized_grades(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_postgraduate_degree_course_credit(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_postgraduate_completed_credit(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_postgraduate_required_credit(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_culture_plan_count(query?: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_lecture_count_advanced_lecture(query?: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_sports_test_health(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_teaching_info_stu_tencent_meeting_course(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_student_timetable(query?: {
userId?: string;
calendarId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_teaching_info_student_timetable(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_culture_plan_get(query?: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_teaching_info_teacher_timetable(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_sports_test_data(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_undergraduate_score(query?: {
calendarId?: string;
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_postgraduate_score(query?: {
calendarId?: string;
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_cet_score(query?: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_school_calendar_all_term_calendar(headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_msg_list(headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_classroom_get_timetable_by_classroom(query?: {
calendarId?: string;
classroomIds?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_classroom_order_list(query?: {
title?: string;
campusCd?: string;
buildingId?: string;
classroomNo?: string;
orderSourceCd?: string;
serviceDirectoryCd?: string;
orderCategoryCd?: string;
orderStatusCd?: string;
username?: string;
startDt?: string;
endDt?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_classroom_all_classroom_list(query?: {
campus?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_classroom_get_classroom_by_tower(query?: {
towerCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_school_calendar_current_term_calendar(headers?: Record<string, string>): Promise<any>;
v1_rt_classroom_course_list(query?: {
classroomNo?: string;
buildingId?: string;
startDt?: string;
endDt?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_msg_detail(headers?: Record<string, string>): Promise<any>;
v1_rt_classroom_classroom_list(query?: {
current?: string;
size?: string;
buildingId?: string;
name?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_classroom_device_list(query?: {
current?: string;
size?: string;
name?: string;
buildingId?: string;
campusCdId?: string;
courseStatus?: string;
seewoStatus?: string;
projectorStatus?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_manual_arrange(query?: {
pageNum?: string;
pageSize?: string;
calendarId?: string;
code?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_teacher_by_courseno(query: {
courseNo: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_student_by_courseno(query: {
courseNo: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_ugrd_major(query?: {
grade?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_onetongji_grad_major(headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_achievements_awarded_textbooks(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_achievements_boutique_class(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_achievements_edu_reform_proj(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_achievements_teaching_achievement_award(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_achievements_teaching_award(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_info_graduate_thesis_details(query?: {
userId?: string;
sinceUserId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_info_undergraduate_thesis_details(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_teaching_info_undergraduate_thesis_guidance_sum(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_teaching_info_semester(headers?: Record<string, string>): Promise<any>;
v1_rt_research_patent(query?: {
userId?: string;
appNo?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_research_software_works(query?: {
userId?: string;
recordNo?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_longitudinal_project_for_PD(query?: {
userId?: string;
projClassifyCode?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_longitudinal_project_fund(query?: {
userId?: string;
projClassifyCode?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_reward(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_scientific_paper_data(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_patent(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v2_dc_research_work(query?: {
userId?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_card_card_balance(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_card_history_flow(query: {
userId: string;
tradeStartTime?: string;
tradeEndTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_week_or_month_sum(query: {
userId: string;
cycle: string;
tradeStartTime?: string;
tradeEndTime?: string;
n?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_door_school_access_control(query: {
userId: string;
portNum?: string;
dataStartTime?: string;
dataEndTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_door_all_person_access_control(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_door_plate_number(query: {
plateNumber: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_card_card_access_control(query?: {
userId?: string;
dataEvent?: string;
dataStartTime?: string;
dataEndTime?: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_door_campus_access_control(query?: {
userId?: string;
portNum?: string;
dataStartTime?: string;
dataEndTime?: string;
sinceCardRecordID?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_card_card_current_actual_flow(query?: {
userId?: string;
dataStartTime?: string;
dataEndTime?: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_door_access_restriction(query: {
cardNo: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_card_card_photo(query: {
userId: string;
source?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_card_account(query?: {
userId?: string;
identity?: string;
sinceCradld?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_student_student_abroad(query: {
userId: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_nyzx_electricity_user(query?: {
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_nyzx_electricity_user_record(query?: {
userId?: string;
startDate?: string;
endDate?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_nyzx_room_id(query: {
campusId: string;
buildingName: string;
room: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_card_userid_by_cardid(query: {
cardId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_sep_auth_dept_cadre_info(headers?: Record<string, string>): Promise<any>;
v1_dc_door_all_person_attendance_record(query: {
userId: string;
years: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_car_entry_permit_info(query?: {
userId?: string;
plateNumber?: string;
sinceId?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_meeting_meeting_reservation_info(query?: {
userId?: string;
sinceWid?: string;
sinceUpdateTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_book_library_current_borrow(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_lib_lib_access(query?: {
userId?: string;
direction?: string;
dataStartTime?: string;
dataEndTime?: string;
sinceVisitNo?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_lib_lib_access_control(query: {
userId: string;
direction?: string;
visitStartTime?: string;
visitEndTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_lib_lend_info_all(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_asset_equipment_info(query?: {
userId?: string;
acctUnitCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_asset_purchase_requisition_info(query: {
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_dc_contract_info_contract(query: {
userId: string;
sinceNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_purchase_contract_info_by_number(query: {
contractNumber: string;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_purchase_contract_info_by_org_supplier(query?: {
organizationCode?: string;
supplierName?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_benchmark_info(query: {
xm: string;
gmsfhm: string;
qqrxm: string;
qqrgmsfhm: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_shanghai_identity_card(query: {
zjxm: string;
zjsfzhm: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_employee_insurance(query: {
xm: string;
zjhm: string;
tyxym: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_face_check(body: {
image?: string;
gmsfzhm?: string;
xm?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_school_roll(query: {
xm: string;
zjhm: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_benchmark_info_check(query: {
xm: string;
zjhm: string;
qzytjy?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_degree(query: {
xm: string;
xwzsbh: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_education(query?: {
xm?: string;
zjhm?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_education_data_sh_qrcode_query(query: {
data: string;
}, headers?: Record<string, string>): Promise<any>;
v1_tool_encryption_encrypt_something(body: {
key?: string;
plaintext?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_service_count(query: {
startTime: string;
endTime: string;
type: string;
}, headers?: Record<string, string>): Promise<any>;
v1_tool_encryption_decrypt_something(body: {
key?: string;
ciphertext?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_apps_list(query?: {
thirdpartyId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_notification_sms(body: {
userId?: [];
content?: string;
time?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_notification_email(body: {
userId?: [];
title?: string;
content?: string;
attaches?: object;
time?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_department_list(headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_person_update(query: {
eventId: string;
eventTitle: string;
isAllDay: string;
startTime: string;
endTime: string;
eventAddr?: string;
eventDesc?: string;
linkUrl?: string;
eventRepeatType: string;
eventRepeatData?: string;
remindTimes?: string;
userId: string;
remindChannel?: string;
deadline?: string;
dayOfWeek?: string;
weekIndex?: string;
rangeType?: string;
rangeNum?: string;
modifyType?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_push_apps(body: {
apps?: object;
id?: number;
name?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_delete_inst(query: {
instId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_notification_result(body: {
ucsId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_delete_task(query: {
taskId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_push_task_log(body: {
logs?: object;
userId?: string;
taskId?: number;
instId?: number;
nodeName?: string;
operationDesc?: string;
comment?: string;
created?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_person_create(body: {
eventTitle?: string;
isAllDay?: number;
startTime?: string;
endTime?: string;
eventAddr?: string;
eventDesc?: string;
linkUrl?: string;
eventRepeatType?: number;
eventRepeatData?: number;
remindTimes?: number;
userId?: string;
remindChannel?: string;
deadline?: string;
dayOfWeek?: string;
weekIndex?: string;
rangeType?: string;
rangeNum?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_process_list(query: {
instId: string;
thirdpartyId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_inst_list(query: {
status: string;
p?: string;
appId?: string;
departmentId?: string;
userId: string;
pageSize?: string;
startTime?: string;
endTime?: string;
instId?: string;
keyword?: string;
thirdpartyName?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_delete(query: {
eventId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_task_inst_list(query: {
status: string;
appId?: string;
p?: string;
userId: string;
pageSize?: string;
instId?: string;
keyword?: string;
timeLower?: string;
timeUpper?: string;
readStatus?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_source_list(headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_list(query: {
userId: string;
startTime: string;
endTime: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_detail(query: {
eventId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_group_create(body: {
eventTitle?: string;
isAllDay?: number;
startTime?: string;
endTime?: string;
eventAddr?: string;
eventDesc?: string;
linkUrl?: string;
eventRepeatType?: number;
eventRepeatData?: number;
remindTimes?: number;
userId?: string;
remindChannel?: string;
deadline?: string;
dayOfWeek?: string;
weekIndex?: string;
rangeType?: string;
rangeNum?: number;
attendUserAccount?: string[];
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_push_task(body: {
instData?: object;
instId?: number;
appId?: number;
creator?: string;
created?: string;
finished?: string;
percent?: number;
status?: number;
nodeId?: number;
nodeName?: string[];
name?: string;
formUrlView?: string;
formMobileUrlView?: string;
processPicUrl?: string;
taskData?: object;
taskId?: number;
formUrl?: string;
formMobileUrl?: string;
userIds?: string[];
sendMsg?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_notification_mp(body: {
userId?: string;
type?: string;
url?: string;
data?: object;
time?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_task_list(query: {
status: string;
p?: string;
appId?: string;
departmentId?: string;
userId: string;
pageSize?: string;
startTime?: string;
endTime?: string;
instId?: string;
keyword?: string;
keywordType?: string;
thirdpartyName?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_delete_app(query: {
appId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_app_update(body: {
eventId?: string;
title?: string;
partakeUserlds?: string[];
desc?: string;
addr?: string;
linkUrl?: string;
startTime?: string;
endTime?: string;
state?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_resource_data_delete(body: {
resourceNumber?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_group_update(body: {
eventId?: string;
eventTitle?: string;
isAllDay?: number;
startTime?: string;
endTime?: string;
eventAddr?: string;
eventDesc?: string;
linkUrl?: string;
eventRepeatType?: number;
eventRepeatData?: number;
remindTimes?: number;
userId?: string;
remindChannel?: string;
deadline?: string;
dayOfWeek?: string;
weekIndex?: string;
rangeType?: string;
rangeNum?: number;
attendUserAccount?: string[];
modifyType?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_media_publish(body: {
platformId?: string;
taskId?: string;
resourceId?: string;
hlsTime?: number;
encrypt?: boolean;
callback?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_sms_verify_code_check(body: {
phone?: string;
verifyCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_media_preview(query?: {
platformId?: string;
resourceId?: string;
resolution?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_media_detail(query?: {
contentSourceId?: string;
userId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_calendar_app_create(body: {
title?: string;
partakeUserlds?: string[];
desc?: string;
addr?: string;
linkUrl?: string;
startTime?: string;
endTime?: string;
state?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_sms_verify_code_send(body: {
phone?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_email_verify_code_check(body: {
email?: string;
verifyCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_resource_data_sync(body: {
resourceNumber?: string;
resourceName?: string;
seq?: string;
resourceSystem?: string;
isOpen?: string;
campusCode?: string;
building?: string;
detailedLocation?: string;
galleryful?: string;
userId?: string;
userName?: string;
userPhone?: string;
userDeptCode?: string;
matchingSetting?: string;
detailedIntroduction?: string;
base64Str?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_tool_image_image_to_base64(query: {
image_url: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_media_list(query?: {
userId?: string;
pageNumber?: string;
pageSize?: string;
contentSourceId?: string;
type?: string;
stuff?: string;
title?: string;
tag?: string;
addUserId?: string;
addUser?: string;
addUserRealname?: string;
addTime?: string;
modifyUser?: string;
modifyTime?: string;
sourceSystemId?: string;
status?: string;
examineFlag?: string;
extendinfo?: string;
fileSize?: string;
pubStatus?: string;
eduExtend?: string;
eduAudioText?: string;
transcodeStatus?: string;
parentId?: string;
moveFolderFlag?: string;
moveSLFlag?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_media_course_study_record(query?: {
courseCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_email_verify_code_send(body: {
email?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_tool_map_geocode_geo(headers?: Record<string, string>): Promise<any>;
v1_tool_map_district(headers?: Record<string, string>): Promise<any>;
v1_tool_map_ip(headers?: Record<string, string>): Promise<any>;
v1_tool_weather_today(headers?: Record<string, string>): Promise<any>;
v1_infra_tag_get_tags(headers?: Record<string, string>): Promise<any>;
v1_infra_tag_get_userIds_by_tag(query: {
id: string;
pageNo?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_task_center_source_list_filtered_by_params(query: {
status: string;
userId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_notification_wecom(body: {
userId?: [];
content?: string;
time?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_electronic_signature_seal(body: {
exampleInfos?: object;
docName?: string;
relDocId?: string;
watermarkState?: string;
fileInfos?: object;
fileDownloadAddress?: string;
order?: string;
signatories?: object;
acrossAxisInfos?: object;
crossSealHeight?: number;
startPageNo?: number;
endPageNo?: number;
skipPage?: boolean;
leftSide?: boolean;
sealType?: string;
axisInfo?: object;
fieldX?: number;
fieldY?: number;
pageNum?: number;
signatoryType?: string;
enterpriseSignatory?: object;
orgId?: string;
keywordInfo?: object;
heightMoveSize?: number;
index?: number;
keyword?: string;
moveSize?: number;
moveType?: string;
watermarkVO?: object;
fontSize?: number;
opacity?: number;
ratation?: number;
text?: string;
signatoryOrders?: object;
orderNum?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_electronic_signature_getFile(query: {
taskId: string;
inline?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_face_analyseImage(body: {
image?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_infra_face_getResult(query: {
batchId: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_wecom_send_app_message(body: {
userId?: string;
touser?: string;
totag?: string;
msgtype?: string;
agentid?: number;
text?: object;
safe?: number;
enable_id_trans?: number;
enable_duplicate_check?: number;
duplicate_check_interval?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_wecom_recall_app_message(body: {
msgid?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_ai_llm_rerank_bge(query: {
query: string;
model: string;
documents: string;
}, headers?: Record<string, string>): Promise<any>;
v1_ai_tools_ocr_paddle_plain(query: {
file_url: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_limit_get_interface_usage_info(query?: {
urlPath?: string;
clientId?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_api_get_api_count_by_endpoint(query: {
endpoint: string;
startTime?: string;
endTime?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_api_get_api_list(headers?: Record<string, string>): Promise<any>;
v1_rt_payment_order_query(body: {
sign?: string;
sysid?: string;
subsysid?: string;
billno?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_limit_set_totalnumber_of_interface_call_perday(query: {
urlPath: string;
limitCount: string;
}, headers?: Record<string, string>): Promise<any>;
v1_openplatform_limit_set_client_call(query: {
urlPath: string;
}, body: {
clientid?: string;
count?: number;
}, headers?: Record<string, string>): Promise<any>;
v1_rt_finance_fundcard_info(query: {
fundCardNo: string;
}, headers?: Record<string, string>): Promise<any>;
v1_metadata_asset_campus_gate(query?: {
isUseCode?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_metadata_teacher_status(headers?: Record<string, string>): Promise<any>;
v1_rt_user_organization_list(query?: {
isUseCode?: string;
deptCode?: string;
upperDeptCode?: string;
level?: string;
}, headers?: Record<string, string>): Promise<any>;
v1_metadata_user_sex_code(headers?: Record<string, string>): Promise<any>;
v1_metadata_user_person_idcard_type(headers?: Record<string, string>): Promise<any>;
v1_metadata_meeting_meeting_room(headers?: Record<string, string>): Promise<any>;
}