From 30c817b5bd6cd1d3b44afe12fac6f1a7064b8689 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期六, 28 六月 2025 15:57:23 +0800 Subject: [PATCH] feat: v2.2 --- src/services/api/typings.d.ts | 137 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 120 insertions(+), 17 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index 676f2d5..a495e80 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 { @@ -937,6 +972,12 @@ pageModel?: Pagination; objectData?: any; data?: GetInsuranceStaffPageTemplate[]; + } + + interface GetInsureProductSchemePageInput { + pageModel?: Pagination; + /** 淇濋櫓浜у搧Id */ + insureProductId?: string; } interface GetInsureProductSettingPageInput { @@ -1273,8 +1314,6 @@ businessType?: InsuranceClaimAttachmentBusinessTypeEnum; } - type InsuranceClaimAuditStatusEnum = 10 | 20 | -10; - interface InsuranceClaimDetailOutput { id?: string; /** 娓犻亾 */ @@ -1480,10 +1519,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 +1656,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 +1715,8 @@ properties?: Record<string, any>; } + type JToken = JToken[]; + interface KeyInput { id?: string; } -- Gitblit v1.9.1