pay-employee/src/gen/ApiTypes.d.ts

45 lines
1.3 KiB
TypeScript
Raw Normal View History

2025-07-08 16:49:39 +08:00
declare namespace ApiTypes {
namespace Login {
namespace Auth {
type Login = {
"code": string; // 微信code
2025-07-09 00:34:00 +08:00
"app_id": string; // 小程序app_id
2025-07-08 16:49:39 +08:00
};
type BindPhoneNumber = {
"code"?: string; // 微信code
"phone"?: string; // 手机号
"phone_validate_code"?: string; // 手机验证码
2025-07-09 00:34:00 +08:00
"app_id": string; // 小程序app_id
2025-07-08 16:49:39 +08:00
};
type GetAccessToken = {
"user_name": string; // 用户名
"password": string; // 密码
};
type WorkLogin = {
"code": string; // 企业微信code
"phone"?: string; // 手机号
"real_name"?: string; // 真实姓名
2025-07-09 00:34:00 +08:00
"app_id": string; // 企业微信CorpID
2025-07-08 16:49:39 +08:00
};
type BindWork = {
"session_key": string; // -
"iv": string; // -
"encrypted_data": string; // -
2025-07-09 00:34:00 +08:00
"app_id": string; // 小程序app_id
2025-07-08 16:49:39 +08:00
};
type GetWorkAccessToken = {
"user_name": string; // 用户名
"password": string; // 密码
"work_marker": string; // 企业标记
};
type PreUpload = {
2025-07-09 00:34:00 +08:00
"filename": string; // 文件名称
"alc": string; // 访问限制 public-read, private
2025-07-08 16:49:39 +08:00
};
2025-07-09 00:34:00 +08:00
type TemporaryUrl = {
"filename": string; // 文件名称
2025-07-08 16:49:39 +08:00
};
}
}
}