From b697737f281023871227b26b6c9d6c309cd3e899 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 31 三月 2025 14:23:19 +0800
Subject: [PATCH] feat: 接口对接
---
src/services/api/typings.d.ts | 532 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 532 insertions(+), 0 deletions(-)
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 3ebe7a9..16cfb6c 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -94,6 +94,13 @@
attachments?: AddInsuranceClaimAttachmentInput[];
}
+ interface AddInsuranceOrderBillFile {
+ /** 淇濆崟鍙� */
+ orderNo?: string;
+ /** 淇濆崟鏂囦欢 */
+ orderBillFile?: string;
+ }
+
interface AddInsuranceOrderMaterialInput {
insuranceOrderId?: string;
/** 鏂囦欢鍚嶇О */
@@ -119,6 +126,14 @@
interface APIapiDefinitionParams {
includeTypes?: boolean;
+ }
+
+ interface APIcheckInrancesSerialNumStatusParams {
+ serialNum?: string;
+ }
+
+ interface APIclearInsuranceStaffDataParams {
+ id?: string;
}
interface APIcreateParams {
@@ -167,6 +182,10 @@
id?: string;
}
+ interface APIexportInsuranceBatchStaffParams {
+ batchBillId?: string;
+ }
+
interface APIfindByEmailParams {
email?: string;
}
@@ -197,6 +216,10 @@
moduleId?: string;
}
+ interface APIgetBatchDetailForCheckParams {
+ batchBillId?: string;
+ }
+
interface APIgetCountParams {
filter?: string;
}
@@ -217,6 +240,10 @@
orderId?: string;
}
+ interface APIgetInsuranceClaimDetailListParams {
+ id?: string;
+ }
+
interface APIgetInsuranceClaimDetailParams {
id?: string;
}
@@ -231,6 +258,22 @@
interface APIgetInsuranceOrderMaterialListParams {
id?: string;
+ }
+
+ interface APIgetInsurancePolicyHeadDtoParams {
+ id?: string;
+ }
+
+ interface APIgetInsurancePolicyStampFilesParams {
+ id?: string;
+ }
+
+ interface APIgetInsuranceStaffListExportParams {
+ id?: string;
+ }
+
+ interface APIgetInsureBatchDetailParams {
+ batchBillId?: string;
}
interface APIgetListParams {
@@ -299,6 +342,16 @@
interface APIgetVersionSubModuleParams {
versionId?: string;
+ }
+
+ interface APIimportInsDetailStaffToListParams {
+ url?: string;
+ id?: string;
+ }
+
+ interface APIimportInsStaffToListParams {
+ url?: string;
+ serialNum?: string;
}
interface APIsearchParams {
@@ -405,6 +458,30 @@
objectId?: string;
}
+ type BatchBillCheckStatus = 1 | 2 | 10 | 15 | 20 | 30 | -40 | -30 | -20 | -11 | -10 | -1;
+
+ type BatchChangeTypeEnum = 10 | 20 | 30 | 40;
+
+ interface BatchDetailForCheckDto {
+ /** 鎵瑰崟Id */
+ insureBatchBillId?: string;
+ /** 瀹℃牳鐞嗙敱 */
+ auditNote?: string;
+ /** 鎵瑰崟缂栧彿 */
+ batchBillNo?: string;
+ checkStatus?: BatchBillCheckStatus;
+ /** 鐢熸晥鏃堕棿 */
+ effectTime?: string;
+ /** 闄勪欢涓婁紶 */
+ attachmentUrl?: string;
+ /** 淇濆崟鍙� */
+ insureBillNo?: string;
+ /** 鎶曚繚浜� */
+ enterpriseName?: string;
+ /** 鎵规敼浜哄憳璇︽儏 */
+ staffList?: InsureBatchBillDetailDto[];
+ }
+
interface ChangePasswordInput {
currentPassword?: string;
newPassword: string;
@@ -416,6 +493,20 @@
id2?: string;
sortCode2?: number;
type?: number;
+ }
+
+ interface CheckImportBatchAddOrSubOrderDataOutput {
+ /** 閿欒鏁版嵁鍒楄〃 */
+ error?: ImportBatchAddOrSubOrderDataInput[];
+ /** 鏂板鏁版嵁鍒楄〃 */
+ addOrSub?: ImportBatchAddOrSubOrderDataInput[];
+ }
+
+ interface CheckImportBatchUpdateOrderDataOutput {
+ /** 閿欒鏁版嵁鍒楄〃 */
+ error?: ImportBatchUpdateOrderDataInput[];
+ /** 鏇挎崲鏁版嵁鍒楄〃 */
+ update?: ImportBatchUpdateOrderDataInput[];
}
interface CheckLoginVerificationCodeInput {
@@ -457,6 +548,18 @@
clientId?: string;
/** 瑙掕壊 */
roleNames?: string[];
+ /** 鏄惁鐞嗚禂鎻愰啋 */
+ sendClaimMessage?: boolean;
+ /** 鏄惁淇濆崟鍒版湡鎻愰啋 */
+ sendBillExpireMessage?: boolean;
+ /** 鏄惁鐭俊鎻愰啋 */
+ isSendMessage?: boolean;
+ /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */
+ staffChangeMessage?: boolean;
+ /** 鏄惁鎵规敼鎻愰啋 */
+ batchUpdateMessage?: boolean;
+ /** 浼佷笟鍚嶇О */
+ enterpriseName?: string;
}
interface CreateOrUpdateRoleInput {
@@ -518,6 +621,15 @@
dateSeparator?: string;
shortTimePattern?: string;
longTimePattern?: string;
+ }
+
+ interface DownsizingInsuranceOrderData {
+ /** 瀵煎叆鍦板潃 */
+ url?: string;
+ /** 淇濆崟鍙� */
+ orderNo?: string;
+ /** 鍑忓憳淇濆崟id */
+ downsizingInsuranceList?: string[];
}
interface EntityExtensionDto {
@@ -614,8 +726,124 @@
key?: string;
}
+ interface GetEffectingStaffListInput {
+ claimDateTime?: string;
+ idNumber?: string;
+ }
+
interface GetFeatureListResultDto {
groups?: FeatureGroupDto[];
+ }
+
+ interface GetInsuranceBatchBillForCheckInput {
+ pageModel?: Pagination;
+ /** 鐢宠鏃ユ湡寮�濮� */
+ creationTimeBegin?: string;
+ /** 鐢宠鏃ユ湡缁撴潫 */
+ creationTimeEnd?: string;
+ /** 鎵瑰崟鍙� */
+ batchBillNo?: string;
+ checkStatus?: BatchBillCheckStatus;
+ }
+
+ interface GetInsuranceBatchBillInput {
+ pageModel?: Pagination;
+ /** 淇濆崟Id */
+ insurancePolicyId?: string;
+ }
+
+ interface GetInsurancePageInput {
+ pageModel?: Pagination;
+ importStartDateTime?: string;
+ importEndDateTime?: string;
+ condition?: string;
+ insurancePeriod?: string;
+ status?: InsurancePolicyStatusEnum;
+ }
+
+ interface GetInsurancePageOutput {
+ id?: string;
+ userId?: string;
+ /** 鎶曚繚浜� */
+ insurerName?: string;
+ /** 琚繚闄╀汉 */
+ policyerName?: string;
+ /** 鎵规鍙� */
+ serialNum?: string;
+ status?: InsurancePolicyStatusEnum;
+ /** 浜哄憳娓呭崟鐘舵�� */
+ listStatus?: string;
+ batchStatus?: number;
+ checkStatus?: BatchBillCheckStatus;
+ /** 淇濋 */
+ sumInsured?: number;
+ /** 淇濊垂 */
+ amount?: number;
+ /** 鎶曚繚浜烘暟 */
+ insureCount?: number;
+ /** 鐞嗚禂鏁伴噺 */
+ claimCount?: number;
+ /** 鎶曚繚鏈烘瀯 */
+ insuranceOrg?: string;
+ /** 鎶曚繚鏂瑰紡 鏈堜繚:30D 骞翠繚: 360D */
+ insurancePeriod?: string;
+ /** 鏂规鍚嶇О */
+ insuranceScheme?: string;
+ /** 淇濆崟鏂囦欢 */
+ insureBillUrl?: string;
+ /** 鏄惁宸蹭笂浼犵洊绔犳枃浠� */
+ isUploadEffectFile?: boolean;
+ /** 鐩栫珷鏂囦欢 */
+ effectBillUrl?: string;
+ /** 淇濋櫓鍗曞彿 */
+ insureBillNo?: string;
+ /** 瀵煎叆鏂囦欢 */
+ importFileUrl?: string;
+ lastImportTime?: string;
+ /** 淇濆崟鐢熸晥鏃堕棿 */
+ effectStartTime?: string;
+ /** 淇濆崟澶辨晥鏃堕棿 */
+ effectEndTime?: string;
+ emploerNames?: string[];
+ creationTime?: string;
+ companyName?: string;
+ isClosedOutTime?: boolean;
+ }
+
+ interface GetInsurancePageOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetInsurancePageOutput[];
+ }
+
+ interface GetInsuranceStaffListInput {
+ pageModel?: Pagination;
+ condition?: string;
+ insurancePolicyId?: string;
+ }
+
+ interface GetInsuranceStaffPageTemplate {
+ id?: string;
+ policyId?: string;
+ serialNumber?: number;
+ name?: string;
+ gender?: string;
+ certType?: string;
+ certNo?: string;
+ jobName?: string;
+ userEmploer?: string;
+ address?: string;
+ age?: number;
+ birthDay?: string;
+ phone?: string;
+ claimCount?: number;
+ creationTime?: string;
+ }
+
+ interface GetInsuranceStaffPageTemplatePageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetInsuranceStaffPageTemplate[];
}
interface GetPermissionListResultDto {
@@ -765,6 +993,107 @@
roleNames: string[];
}
+ interface ImportBatchAddOrSubOrderDataInput {
+ /** 鎵规敼鏍囧織 */
+ changeFlag: string;
+ /** 鏂规浠g爜 */
+ insuranceScheme: string;
+ /** 濮撳悕 */
+ name: string;
+ /** 璇佷欢绫诲瀷 */
+ certType: string;
+ /** 璇佷欢鍙风爜 */
+ idNumber: string;
+ /** 骞撮緞 */
+ age?: number;
+ /** 鐢佃瘽鍙风爜 */
+ phoneNumber?: string;
+ /** 鑱屼笟/宸ョ */
+ workType: string;
+ /** 鎬у埆 */
+ gender?: string;
+ /** 鍑虹敓鏃ユ湡 */
+ birthDay?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ }
+
+ interface ImportBatchAddOrSubOrderInput {
+ /** 瀵煎叆鍦板潃 */
+ url?: string;
+ /** 鎶曚繚Id */
+ insurePolicyId?: string;
+ }
+
+ interface ImportBatchStaffListInput {
+ originIdNumber?: string;
+ /** 鐢佃瘽鍙风爜 */
+ phoneNumber?: string;
+ id?: number;
+ name?: string;
+ age?: number;
+ gender?: string;
+ certType?: string;
+ idNumber?: string;
+ insuranceScheme?: string;
+ workType?: string;
+ birthDay?: string;
+ remark?: string;
+ }
+
+ interface ImportBatchUpdateOrderDataInput {
+ /** 鍘熻淇濅汉濮撳悕 */
+ orginName: string;
+ /** 鍘熻淇濅汉璇佷欢鍙风爜 */
+ orginIdNumber: string;
+ /** 濮撳悕 */
+ name: string;
+ /** 璇佷欢绫诲瀷 */
+ certType: string;
+ /** 璇佷欢鍙风爜 */
+ idNumber: string;
+ /** 鐢佃瘽鍙风爜 */
+ phoneNumber?: string;
+ /** 鑱屼笟/宸ョ */
+ workType: string;
+ /** 鎬у埆 */
+ gender?: string;
+ /** 骞撮緞 */
+ age?: number;
+ /** 鍑虹敓鏃ユ湡 */
+ birthDay?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ changeFlag?: string;
+ }
+
+ interface ImportInsStaffAnalysisList {
+ id?: string;
+ /** 濮撳悕 */
+ name?: string;
+ /** 鎬у埆 */
+ sex?: string;
+ /** 璇佷欢绫诲瀷 */
+ certType?: string;
+ /** 韬唤璇佸彿 */
+ certNo?: string;
+ /** 骞撮緞 */
+ age?: number;
+ /** 鐢熸棩 */
+ birthDay?: string;
+ /** 鐢ㄥ伐浼佷笟 */
+ useEmploer?: string;
+ /** 闆囧憳宸ョ */
+ jobName?: string;
+ /** 鐢ㄥ伐鍦扮偣 */
+ address?: string;
+ phone?: string;
+ /** 澶囨敞 */
+ note?: string;
+ /** 1姝e父 0寮傚父 */
+ isNormal?: boolean;
+ }
+
type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50;
interface InsuranceClaimAttachmentOutput {
@@ -854,6 +1183,8 @@
disabilityRatio?: number;
/** 鐞嗚禂娓犻亾 */
claimChannel?: string;
+ /** 鐞嗚禂娓犻亾 */
+ companyName?: string;
claimResult?: InsuranceClaimResultEnum;
claimResultStr?: string;
/** 涓嬫閲戦 */
@@ -895,6 +1226,7 @@
laborContractEnterprise?: string;
/** 瀹為檯宸ヤ綔鍗曚綅 */
workEnterprise?: string;
+ workAddress?: string;
/** 淇濋櫓璧峰鏃堕棿 */
insuranceBeginTime?: string;
insuranceBeginTimeShow?: string;
@@ -905,6 +1237,8 @@
insuredInstitution?: string;
/** 鎶曚繚鏂规 */
insuranceScheme?: string;
+ /** 鎶曚繚鏂瑰紡 */
+ insuranceType?: string;
/** 鍦ㄨ亴鏍囪瘑 */
onJobFlag?: string;
/** 鎬у埆 */
@@ -934,6 +1268,12 @@
orderNo?: string;
/** 淇濆崟鍏宠仈鍞竴瀛楃涓� */
orderRelevanceStr?: string;
+ /** 淇濆崟鏂囦欢 */
+ orderBillFile?: string;
+ /** 鎶曚繚浜哄拰琚姇淇濅汉 */
+ enterpriseName?: string;
+ phone?: string;
+ insuranceOrg?: string;
}
interface InsuranceOrderListOutputPageOutput {
@@ -948,6 +1288,99 @@
url?: string;
/** 鏉愭枡鍚嶇О */
materialName?: string;
+ }
+
+ type InsurancePolicyStatusEnum = 10 | 20 | 30;
+
+ interface InsureBatchBillDetailDto {
+ /** 鎵瑰崟Id */
+ insureBatchBillId?: string;
+ /** 鎶曚繚Id */
+ insurePolicyId?: string;
+ insurancePolicyDetailId?: string;
+ /** 淇敼淇℃伅 */
+ modifyInfo?: string;
+ /** 鍚嶇О */
+ name?: string;
+ /** 璇佷欢绫诲埆 */
+ certType?: string;
+ /** 韬唤璇佸彿 */
+ idNumber?: string;
+ /** 鎬у埆 */
+ gender?: string;
+ /** 鎵嬫満鍙风爜 */
+ phoneNumber?: string;
+ /** 骞撮緞 */
+ age?: number;
+ /** 鍑虹敓鏃ユ湡 */
+ birthDay?: string;
+ /** 鑱屼笟鍚嶇О */
+ workType?: string;
+ changeType?: BatchChangeTypeEnum;
+ }
+
+ interface InsureBatchBillDto {
+ /** 鎵瑰崟Id */
+ insureBatchBillId?: string;
+ /** 鎵瑰崟缂栧彿 */
+ batchBillNo?: string;
+ /** 淇濆崟Id */
+ insurancePolicyId?: string;
+ changeType?: BatchChangeTypeEnum;
+ checkStatus?: BatchBillCheckStatus;
+ /** 鍦ㄤ繚浜烘暟 */
+ insurePersonNumber?: number;
+ /** 鍘熸湰鍦ㄤ繚浜烘暟 */
+ orginInsurePersonNumber?: number;
+ /** 鏂板浜烘暟 */
+ addPersonNumber?: number;
+ /** 鐢宠鏃ユ湡 */
+ creationTime?: string;
+ /** 鍑忓皯浜烘暟 */
+ subPersonNumber?: number;
+ /** 瀹℃牳鐞嗙敱 */
+ auditNote?: string;
+ /** 瀹℃牳鏃堕棿 */
+ checkDate?: string;
+ /** 瀹℃牳浜� */
+ checkUserId?: string;
+ /** 鐢熸晥鏃堕棿 */
+ effectTime?: string;
+ /** 闄勪欢涓婁紶 */
+ attachmentUrl?: string;
+ }
+
+ interface InsureBatchBillDtoPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: InsureBatchBillDto[];
+ }
+
+ interface InsureBatchBillInput {
+ /** 鎶曚繚Id */
+ insurancePolicyId?: string;
+ /** 鎵瑰崟Id */
+ batchBillId?: string;
+ /** 鏈熸湜鐢熸晥 */
+ effectTime?: string;
+ changeType?: BatchChangeTypeEnum;
+ /** 鎵瑰浜哄憳鍒楄〃 */
+ addInsStaffList?: ImportBatchStaffListInput[];
+ /** 淇敼浜哄憳鍒楄〃 */
+ updateInsStaffList?: ImportBatchStaffListInput[];
+ /** 鍒犻櫎浜哄憳鍒楄〃 */
+ delInsStaffList?: ImportBatchStaffListInput[];
+ }
+
+ interface InsureBatchDetailDto {
+ /** 鎵规敼浜哄憳璇︽儏 */
+ staffList?: InsureBatchBillDetailDto[];
+ /** 鐢熸晥鏃堕棿 */
+ effectTime?: string;
+ /** 淇濆崟鍙� */
+ insureBillNo?: string;
+ /** 鎶曚繚浜� */
+ enterpriseName?: string;
}
interface IStringValueType {
@@ -1189,18 +1622,23 @@
month?: number;
/** 鐞嗚禂娓犻亾 */
claimChannel?: string;
+ companyName?: string;
}
interface QueryInsuranceClaimPageInput {
pageModel?: Pagination;
/** 鐞嗚禂娓犻亾 */
claimChannel?: string;
+ /** 鍏徃鍚嶇О */
+ companyName?: string;
/** 鍔冲姩鍚堝悓鍗曚綅 */
laborContractEnterprise?: string;
/** 瀹為檯宸ヤ綔鍗曚綅 */
workEnterprise?: string;
/** 韬唤璇佸彿 */
idNumber?: string;
+ /** 鎶曚繚浜�/琚繚浜� */
+ insurerName?: string;
claimResult?: InsuranceClaimResultEnum;
}
@@ -1217,6 +1655,8 @@
condition?: string;
/** 澧炲噺鍛樻煡璇� */
onJobFlag?: string;
+ /** 鎶曚繚鏂瑰紡鏌ヨ 鏈堜繚/骞翠繚 */
+ insuranceType?: string;
importChannel?: string;
}
@@ -1314,6 +1754,24 @@
phoneNumber: string;
}
+ interface SetInsureBatchBillStatusInput {
+ /** 鎵瑰崟Id */
+ insureBatchBillId?: string;
+ /** 鎵瑰崟鍙� */
+ batchBillNo?: string;
+ /** 瀹℃牳鐞嗙敱 */
+ auditNote?: string;
+ checkStatus?: BatchBillCheckStatus;
+ /** 瀹℃牳鏃堕棿 */
+ checkDate?: string;
+ /** 瀹℃牳浜� */
+ checkUserId?: string;
+ /** 鐢熸晥鏃堕棿 */
+ effectTime?: string;
+ /** 闄勪欢涓婁紶 */
+ attachmentUrl?: string;
+ }
+
interface SetMyModule {
moduleId?: string;
sequence?: number;
@@ -1383,6 +1841,18 @@
phoneNumber: string;
/** 娓犻亾 */
channel?: string;
+ /** 鏄惁鐞嗚禂鎻愰啋 */
+ sendClaimMessage?: boolean;
+ /** 鏄惁淇濆崟鍒版湡鎻愰啋 */
+ sendBillExpireMessage?: boolean;
+ /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */
+ staffChangeMessage?: boolean;
+ /** 鏄惁鎵规敼鎻愰啋 */
+ batchUpdateMessage?: boolean;
+ /** 鍏徃鍚� */
+ enterpriseName?: string;
+ /** 鏄惁鐭俊鎻愰啋 */
+ isSendMessage?: boolean;
/** 瑙掕壊 */
roleNames?: string[];
}
@@ -1455,6 +1925,14 @@
id?: string;
}
+ interface UpdateInsuranceStaffInfoInput {
+ insurancePolicyId?: string;
+ id?: string;
+ name?: string;
+ idNumber?: string;
+ phone?: string;
+ }
+
interface UpdatePassWordInput {
id?: string;
passWord?: string;
@@ -1482,6 +1960,36 @@
name?: string;
surname?: string;
phoneNumber?: string;
+ }
+
+ interface UplaodInsuranceBillFileInput {
+ /** 淇濆崟Id */
+ insurancePolicyId?: string;
+ /** 淇濆崟鍙� */
+ insureBillNo?: string;
+ /** 淇濆崟璧锋湡 */
+ effectStartTime?: string;
+ /** 淇濆崟姝㈡湡 */
+ effectEndTime?: string;
+ /** 鍙備繚鏈烘瀯 */
+ insuranceOrg?: string;
+ /** 鎶曚繚鏂瑰紡 鏈堜繚:30D 骞翠繚: 360D */
+ insurancePeriod?: string;
+ /** 鏂规鍚嶇О */
+ insuranceScheme?: string;
+ /** 淇濋 */
+ sumInsured?: number;
+ /** 淇濊垂 */
+ amount?: number;
+ /** 淇濆崟鏂囦欢 */
+ insureBillUrl?: string;
+ }
+
+ interface UploadInsuranceStampFilesInput {
+ /** 淇濆崟Id */
+ insurancePolicyId?: string;
+ /** 鐩栫珷鏂囦欢 */
+ listFiles?: string[];
}
interface UserData {
@@ -1520,8 +2028,20 @@
channel?: string;
/** 鐢ㄦ埛绔疘d */
clientId?: string;
+ /** 鏄惁鐞嗚禂鎻愰啋 */
+ sendClaimMessage?: boolean;
+ /** 鏄惁淇濆崟鍒版湡鎻愰啋 */
+ sendBillExpireMessage?: boolean;
+ /** 鏄惁鐭俊鎻愰啋 */
+ isSendMessage?: boolean;
/** 瑙掕壊 */
roleNames?: string[];
+ /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */
+ staffChangeMessage?: boolean;
+ /** 鏄惁鎵规敼鎻愰啋 */
+ batchUpdateMessage?: boolean;
+ /** 浼佷笟鍚嶇О */
+ enterpriseName?: string;
}
interface UserListOutput {
@@ -1538,8 +2058,20 @@
channel?: string;
/** 鐢ㄦ埛绔疘d */
clientId?: string;
+ /** 鏄惁鐞嗚禂鎻愰啋 */
+ sendClaimMessage?: boolean;
+ /** 鏄惁淇濆崟鍒版湡鎻愰啋 */
+ sendBillExpireMessage?: boolean;
+ /** 鏄惁鐭俊鎻愰啋 */
+ isSendMessage?: boolean;
/** 瑙掕壊 */
roleNames?: string[];
+ /** 鏄惁浜哄憳鍙樻洿鎻愰啋 */
+ staffChangeMessage?: boolean;
+ /** 鏄惁鎵规敼鎻愰啋 */
+ batchUpdateMessage?: boolean;
+ /** 浼佷笟鍚嶇О */
+ enterpriseName?: string;
}
interface UserListOutputPageOutput {
--
Gitblit v1.9.1