From 7c86889e5177ae0da77fd75f298fabe9971b2822 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 30 六月 2025 14:34:28 +0800 Subject: [PATCH] feat: v2.2 --- src/services/api/typings.d.ts | 145 ++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 128 insertions(+), 17 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 676f2d5..65eef95 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -152,6 +152,10 @@ id?: string; } + interface APIdeleteInsureProductSchemeParams { + id?: string; + } + interface APIdeleteInsureProductSettingParams { id?: string; } @@ -270,6 +274,10 @@ id?: string; } + interface APIgetInsurancePolicyPayParams { + id?: string; + } + interface APIgetInsurancePolicyStampFilesParams { id?: string; } @@ -280,6 +288,10 @@ interface APIgetInsureBatchDetailParams { batchBillId?: string; + } + + interface APIgetInvoiceIdParams { + id: string; } interface APIgetListParams { @@ -359,6 +371,7 @@ url?: string; serialNum?: string; productIdNumber?: string; + productSchemeIdNumber?: string; } interface APIsearchParams { @@ -577,18 +590,35 @@ enterpriseName?: string; } + interface CreateOrUpdateInsureProductSchemeInput { + /** Id */ + id?: string; + /** 淇濋櫓浜у搧Id */ + insureProductId: string; + /** 鏂规Id */ + idNumber: string; + /** 鏂规浠g爜 */ + code?: string; + /** 鏂规鍚嶇О */ + name: string; + /** 鎶曚繚鏂瑰紡 */ + period: string; + /** 淇濋 */ + insured: number; + /** 淇濊垂 */ + signPremium: number; + } + interface CreateOrUpdateInsureProductSettingInput { id?: string; - /** 鐢ㄦ埛ID */ - userId?: string; /** 浜у搧ID */ productIdNumber: string; + /** 鍟嗗搧浠g爜 */ + productCode?: string; /** 鍙備繚鏈烘瀯 */ insuranceOrg: string; - /** 鎶曚繚鏂规 */ - insuranceScheme: string; - /** 鎶曚繚鏂瑰紡 */ - insurancePeriod: string; + /** 浜у搧鍚嶇О */ + productName: string; status?: InsureProductSettingStatusEnum; } @@ -846,7 +876,7 @@ condition?: string; insurancePeriod?: string; status?: InsurancePolicyStatusEnum; - auditStatus?: InsuranceClaimAuditStatusEnum; + auditStatus?: InsurancePolicyAuditStatusEnum; } interface GetInsurancePageOutput { @@ -896,11 +926,16 @@ creationTime?: string; companyName?: string; isClosedOutTime?: boolean; - auditStatus?: InsuranceClaimAuditStatusEnum; + auditStatus?: InsurancePolicyAuditStatusEnum; /** 瀹℃牳澶囨敞 */ auditRemark?: string; /** 淇濋櫓浜у搧IdNumber */ productIdNumber?: string; + /** 鏄惁璧扮嚎涓婃祦绋� */ + productOnline?: boolean; + payStatus?: InsurancePolicyListPayStatusEnum; + /** 浠绘剰鍒嗘壒鏀粯瀹屾垚 */ + anyPayComplete?: boolean; } interface GetInsurancePageOutputPageOutput { @@ -924,6 +959,10 @@ certType?: string; certNo?: string; jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; userEmploer?: string; address?: string; age?: number; @@ -937,6 +976,12 @@ pageModel?: Pagination; objectData?: any; data?: GetInsuranceStaffPageTemplate[]; + } + + interface GetInsureProductSchemePageInput { + pageModel?: Pagination; + /** 淇濋櫓浜у搧Id */ + insureProductId?: string; } interface GetInsureProductSettingPageInput { @@ -1254,6 +1299,10 @@ useEmploer?: string; /** 闆囧憳宸ョ */ jobName?: string; + /** 鑱屼笟绫诲瀷 */ + occupationType?: string; + /** 鑱屼笟鐮佸�� */ + occupationCode?: string; /** 鐢ㄥ伐鍦扮偣 */ address?: string; phone?: string; @@ -1272,8 +1321,6 @@ url?: string; businessType?: InsuranceClaimAttachmentBusinessTypeEnum; } - - type InsuranceClaimAuditStatusEnum = 10 | 20 | -10; interface InsuranceClaimDetailOutput { id?: string; @@ -1480,10 +1527,49 @@ sumInsured?: number; /** 淇濊垂 */ amount?: number; - auditStatus?: InsuranceClaimAuditStatusEnum; + auditStatus?: InsurancePolicyAuditStatusEnum; /** 瀹℃牳澶囨敞 */ auditRemark?: string; + /** 杩斿洖鍦板潃 */ + returnUrl?: string; } + + type InsurancePolicyAuditStatusEnum = 10 | 20 | -10; + + type InsurancePolicyListPayStatusEnum = 1 | 2; + + interface InsurancePolicyPayDto { + id?: string; + /** 璁㈠崟鍙� */ + channelOrderNo?: string; + /** 鎶曚繚鍗曞彿 */ + proposalNo?: string; + /** 鏀粯鐭摼 */ + payUrl?: string; + /** 鏀粯娴佹按鍙� */ + payRegistrationNo?: string; + /** 淇濊垂閲戦 */ + sumSignPremium?: number; + status?: InsurancePolicyPayStatusEnum; + /** 淇濆崟鍙� */ + policyNo?: string; + /** 鐢靛瓙淇濆崟閾炬帴 */ + policyUrl?: string; + /** 鐢靛瓙淇濆崟閾炬帴 */ + policyOssUrl?: string; + /** 瀹屾垚鏃堕棿 */ + completionTime?: string; + /** 鍙戠エ鍙风爜 */ + invoiceSerialNo?: string; + /** 鍙戠エ浠风◣鍚堣 */ + invoicePlanFee?: number; + /** 鍙戠エ涓嬭浇鍦板潃 */ + invoiceDownloadUrl?: string; + /** 鍙戠エ涓嬭浇鍦板潃 */ + invoiceDownloadOssUrl?: string; + } + + type InsurancePolicyPayStatusEnum = 1 | 2; type InsurancePolicyStatusEnum = 10 | 20 | 30; @@ -1578,18 +1664,41 @@ enterpriseName?: string; } + interface InsureProductSchemeDto { + /** Id */ + id?: string; + /** 淇濋櫓浜у搧Id */ + insureProductId?: string; + /** 鏂规Id */ + idNumber?: string; + /** 鏂规浠g爜 */ + code?: string; + /** 鏂规鍚嶇О */ + name?: string; + /** 鎶曚繚鏂瑰紡 */ + period?: string; + /** 淇濋 */ + insured?: number; + /** 淇濊垂 */ + signPremium?: number; + } + + interface InsureProductSchemeDtoPageOutput { + pageModel?: Pagination; + objectData?: any; + data?: InsureProductSchemeDto[]; + } + interface InsureProductSettingDto { id?: string; - /** 鐢ㄦ埛ID */ - userId?: string; /** 浜у搧ID */ productIdNumber?: string; + /** 鍟嗗搧浠g爜 */ + productCode?: string; /** 鍙備繚鏈烘瀯 */ insuranceOrg?: string; - /** 鎶曚繚鏂规 */ - insuranceScheme?: string; - /** 鎶曚繚鏂瑰紡 */ - insurancePeriod?: string; + /** 浜у搧鍚嶇О */ + productName?: string; status?: InsureProductSettingStatusEnum; /** 鍒涘缓鏃堕棿 */ creationTime?: string; @@ -1614,6 +1723,8 @@ properties?: Record<string, any>; } + type JToken = JToken[]; + interface KeyInput { id?: string; } -- Gitblit v1.9.1