From 32f3091fe077045427d16a3dec43f140c02eb91e Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 30 六月 2025 17:47:02 +0800
Subject: [PATCH] feat: v2.2

---
 src/services/api/typings.d.ts |  392 +++++++++++++++++--------------------------------------
 1 files changed, 123 insertions(+), 269 deletions(-)

diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 50d3d46..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 {
@@ -376,10 +389,6 @@
   interface APIsetForUserParams {
     userId?: string;
     permissionName?: string;
-  }
-
-  interface APIsuccessParams {
-    input?: string;
   }
 
   interface APIupdateDefaultConnectionStringParams {
@@ -581,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;
   }
 
@@ -905,6 +931,11 @@
     auditRemark?: string;
     /** 淇濋櫓浜у搧IdNumber */
     productIdNumber?: string;
+    /** 鏄惁璧扮嚎涓婃祦绋� */
+    productOnline?: boolean;
+    payStatus?: InsurancePolicyListPayStatusEnum;
+    /** 浠绘剰鍒嗘壒鏀粯瀹屾垚 */
+    anyPayComplete?: boolean;
   }
 
   interface GetInsurancePageOutputPageOutput {
@@ -928,6 +959,10 @@
     certType?: string;
     certNo?: string;
     jobName?: string;
+    /** 鑱屼笟绫诲瀷 */
+    occupationType?: string;
+    /** 鑱屼笟鐮佸�� */
+    occupationCode?: string;
     userEmploer?: string;
     address?: string;
     age?: number;
@@ -941,6 +976,12 @@
     pageModel?: Pagination;
     objectData?: any;
     data?: GetInsuranceStaffPageTemplate[];
+  }
+
+  interface GetInsureProductSchemePageInput {
+    pageModel?: Pagination;
+    /** 淇濋櫓浜у搧Id */
+    insureProductId?: string;
   }
 
   interface GetInsureProductSettingPageInput {
@@ -1258,6 +1299,10 @@
     useEmploer?: string;
     /** 闆囧憳宸ョ */
     jobName?: string;
+    /** 鑱屼笟绫诲瀷 */
+    occupationType?: string;
+    /** 鑱屼笟鐮佸�� */
+    occupationCode?: string;
     /** 鐢ㄥ伐鍦扮偣 */
     address?: string;
     phone?: string;
@@ -1485,9 +1530,46 @@
     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;
 
@@ -1582,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;
@@ -1617,6 +1722,8 @@
     name?: string;
     properties?: Record<string, any>;
   }
+
+  type JToken = JToken[];
 
   interface KeyInput {
     id?: string;
@@ -1836,259 +1943,6 @@
     type?: string;
     typeSimple?: string;
     isRequired?: boolean;
-  }
-
-  interface ProposalInput {
-    sign?: ProposalInputSign;
-    request?: ProposalInputRequest;
-  }
-
-  interface ProposalInputRequest {
-    head?: ProposalInputRequestHead;
-    body?: ProposalInputRequestBody;
-  }
-
-  interface ProposalInputRequestBody {
-    commonPlan?: ProposalInputRequestBodyCommonPlan;
-    /** 鏂规璇︽儏 */
-    planDetails?: ProposalInputRequestBodyPlanDetail[];
-    policyHolder?: ProposalInputRequestBodyPolicyHolder;
-    /** 琚繚浜轰俊鎭� */
-    policyInsureds?: ProposalInputRequestBodyPolicyInsured[];
-    /** 闄勫睘琚繚闄╀汉淇℃伅 */
-    extraPolicyInsureds?: ProposalInputRequestBodyExtraPolicyInsured[];
-    insuredType?: ProposalInputRequestBodyInsuredType;
-    trade?: ProposalInputRequestBodyTrade;
-    /** 鎷撳睍鑺傜偣 */
-    policyExtra?: ProposalInputRequestBodyPolicyExtra[];
-  }
-
-  interface ProposalInputRequestBodyCommonPlan {
-    /** 鎶曚繚鏃堕棿 */
-    operateDate?: string;
-    /** 璧蜂繚鏃堕棿 */
-    startTime?: string;
-    /** 缁堜繚鏃堕棿 */
-    endTime?: string;
-    /** 甯佸埆 */
-    currency?: string;
-    /** 鎬讳繚棰� */
-    sumInsured?: string;
-    /** 鎬讳繚璐� */
-    sumSignPremium?: string;
-  }
-
-  interface ProposalInputRequestBodyExtraPolicyInsured {
-    /** 鏂规浠g爜锛堝彲閫夛級
-淇濆徃鎻愪緵瀹為檯鏂规浠g爜锛岄潪瑙佽垂涓嬩负蹇呬紶 */
-    planCode?: string;
-    /** 瀹㈡埛瑙掕壊锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2, 3, 4 */
-    role?: string;
-    /** 涓庢姇淇濅汉鍏崇郴锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2, 3, 4, 5, 6, 7, 8, 9 */
-    relationToAppnt?: string;
-    /** 瀹㈡埛绫诲瀷锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2 */
-    type?: string;
-    /** 琚繚浜哄悕绉帮紙蹇呴渶锛� */
-    name?: string;
-    /** 璇佷欢绫诲瀷锛堝繀闇�锛�
-鏋氫妇鍊�: 01, 02, 04, 05, 06, 07, 08, 09, 10, 13, 14, 16, 17, 18, 19, 20 */
-    certType?: string;
-    /** 璇佷欢鍙风爜锛堝繀闇�锛� */
-    certNo?: string;
-    /** 鎬у埆锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2 */
-    gender?: string;
-    /** 鍑虹敓鏃ユ湡锛堝繀闇�锛�
-鏍煎紡: yyyy-MM-dd */
-    birthday?: string;
-    /** 骞撮緞锛堝繀闇�锛�
-鑼冨洿: 0-100 */
-    age?: number;
-    /** 涓庝富琚繚闄╀汉鍏崇郴锛堝彲閫夛級
-鏋氫妇鍊�: 1, 2, 3, 4, 5, 6, 7, 8 */
-    relationToMainInsured?: string;
-    /** 鏈夋棤绀句繚锛堝彲閫夛級
-鏋氫妇鍊�: Y, N */
-    socialInsuFlag?: string;
-    /** 璇︾粏鍦板潃锛堝彲閫夛級 */
-    address?: string;
-    /** 閭锛堝彲閫夛級 */
-    email?: string;
-    /** 鎵嬫満鍙凤紙鍙�夛級 */
-    mobile?: string;
-    /** 鑱屼笟浠g爜锛堝彲閫夛級 */
-    occupationCode?: string;
-  }
-
-  interface ProposalInputRequestBodyInsuredType {
-    /** 鏍囩殑鏍囩锛堝繀闇�锛�
-0-浜у搧闄勫姞瑕佺礌(浜у搧灞傜骇)銆�1-鏍囩殑绫诲瀷锛堟柟妗堝眰绾э級銆�2-鏍囩殑闄勫姞瑕佺礌锛堣淇濅汉灞傜骇锛� */
-    flag?: number;
-    /** 鏍囩殑绫诲瀷鍚嶇О锛堝繀闇�锛� */
-    insuredTypeName?: string;
-    /** 瑕佺礌浠g爜锛堝繀闇�锛� */
-    factorCode?: string;
-    /** 鏍囩殑绫诲瀷浠g爜锛堝繀闇�锛� */
-    insuredTypeCode?: string;
-    /** 瑕佺礌鍚嶇О锛堝繀闇�锛� */
-    factorName?: string;
-    /** 瑕佺礌鍊硷紙蹇呴渶锛�
-褰揻actorCode涓篎WDZ锛宖actorName涓烘埧灞嬪湴鍧�鏃讹紝factorValue浼犲弬涓簀son瀛楃涓诧紝鏍煎紡涓猴細
-"{"factorProvince":"120000","detailAddress":"澶╂触甯�-澶╂触甯�-绾㈡ˉ鍖�","factorCity":"120100","factorCounty":"120106","houseAddress":"娴嬭瘯鍦板潃"}" */
-    factorValue?: string;
-    /** 灞炴�э紙蹇呴渶锛�
-鍥哄畾鍊硷細{"codeTable":"CD000049"} */
-    attribute?: string;
-  }
-
-  interface ProposalInputRequestBodyPlanDetail {
-    /** 鏂规浠g爜 */
-    planCode?: string;
-    /** 浠芥暟 */
-    copies?: number;
-    /** 鏂规鍚嶇О */
-    planName?: string;
-  }
-
-  interface ProposalInputRequestBodyPolicyExtra {
-    /** 鎷撳睍瀛楁浠g爜锛堝繀闇�锛� */
-    extraCode?: string;
-    /** 鎷撳睍瀛楁鍚嶇О锛堝繀闇�锛� */
-    extraName?: string;
-    /** 鎷撳睍瀛楁鍊硷紙蹇呴渶锛� */
-    extraValue?: string;
-  }
-
-  interface ProposalInputRequestBodyPolicyHolder {
-    /** 瀹㈡埛瑙掕壊 */
-    role?: string;
-    /** 瀹㈡埛绫诲瀷 */
-    type?: string;
-    /** 鎶曚繚浜哄悕绉� */
-    name?: string;
-    /** 璇佷欢绫诲瀷 */
-    certType?: string;
-    /** 璇佷欢鍙风爜 */
-    certNo?: string;
-    /** 鎬у埆 */
-    gender?: string;
-    /** 鍑虹敓鏃ユ湡 */
-    birthday?: string;
-    /** 鎵嬫満鍙风爜 */
-    mobile?: string;
-    /** 閭鍦板潃 */
-    email?: string;
-    /** 骞撮緞 */
-    age?: string;
-    /** 鍦板潃 */
-    address?: string;
-    /** 鑱旂郴浜哄鍚� */
-    linkerName?: string;
-    /** 鑱旂郴浜虹數璇� */
-    linkerMobile?: string;
-    /** 鑱屼笟浠g爜 */
-    occupationCode?: string;
-    /** 鑱屼笟绫诲埆 */
-    occupationType?: string;
-  }
-
-  interface ProposalInputRequestBodyPolicyInsured {
-    /** 鏂规浠g爜锛堝繀闇�锛� */
-    planCode?: string;
-    /** 瀹㈡埛瑙掕壊锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2, 3, 4 */
-    role?: string;
-    /** 涓庢姇淇濅汉鍏崇郴锛堝繀闇�锛�
-鎶曚繚浜烘槸鍥綋鏃讹紝琚繚浜轰笌鎶曚繚浜哄叧绯诲彧鑳芥槸6(闆囦剑)銆�7(鍔冲姟)鎴�8(鍏朵粬)
-鏋氫妇鍊�: 1, 2, 3, 4, 5, 6, 7, 8, 9 */
-    relationToAppnt?: string;
-    /** 瀹㈡埛绫诲瀷锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2 */
-    type?: string;
-    /** 琚繚浜哄悕绉帮紙蹇呴渶锛� */
-    name?: string;
-    /** 璇佷欢绫诲瀷锛堝繀闇�锛�
-鏋氫妇鍊�: 01, 02, 04, 05, 06, 07, 08, 09, 10, 13, 14, 16, 17, 18, 19, 20
-榛樿鍊�: 01 */
-    certType?: string;
-    /** 璇佷欢鍙风爜锛堝繀闇�锛� */
-    certNo?: string;
-    /** 鎬у埆锛堝繀闇�锛�
-鏋氫妇鍊�: 1, 2 */
-    gender?: string;
-    /** 鍑虹敓鏃ユ湡锛堝繀闇�锛�
-鏍煎紡: yyyy-MM-dd */
-    birthday?: string;
-    /** 骞撮緞锛堝繀闇�锛�
-鑼冨洿: 0-100 */
-    age?: number;
-    /** 涓庝富琚繚闄╀汉鍏崇郴锛堝彲閫夛級
-鏋氫妇鍊�: 1, 2, 3, 4, 5, 6, 7, 8 */
-    relationToMainInsured?: string;
-    /** 鏈夋棤绀句繚锛堝彲閫夛級
-鏋氫妇鍊�: Y, N
-榛樿鍊�: N */
-    socialInsuFlag?: string;
-    /** 璇︾粏鍦板潃锛堝彲閫夛級 */
-    address?: string;
-    /** 閭锛堝彲閫夛級 */
-    email?: string;
-    /** 鎵嬫満鍙凤紙鍙�夛級 */
-    mobile?: string;
-    /** 鑱屼笟浠g爜锛堝彲閫夛級 */
-    occupationCode?: string;
-    /** 楣婃ˉ涓撶敤鍥犲瓙锛堝彲閫夛級
-闈炲繀椤�,鐗规畩鎯呭喌闇�浼犲�� 绀轰緥:{"FL0078":"N"} */
-    factorMap?: string;
-    /** 淇濆崟璧锋湡锛堝彲閫夛紝鎵归噺鍑哄崟蹇呴』锛� */
-    startTime?: string;
-    /** 淇濆崟姝㈡湡锛堝彲閫夛紝鎵归噺鍑哄崟蹇呴』锛� */
-    endTime?: string;
-  }
-
-  interface ProposalInputRequestBodyTrade {
-    /** 鏀粯鎴愬姛璺宠浆鍦板潃锛堝彲閫夛級
-瑙佽垂蹇呬紶 */
-    returnUrl?: string;
-    /** 寰俊灏忕▼搴忔敮浠榓ppId锛堝彲閫夛級
-寰俊灏忕▼搴忓搴旂殑appId锛屽皬绋嬪簭绛剧害骞舵敮浠樺満鏅紶閫� */
-    appId?: string;
-    /** 寰俊灏忕▼搴忔敮浠榦penID锛堝彲閫夛級
-openID 寰俊openid锛屽皬绋嬪簭绛剧害骞舵敮浠樺満鏅紶閫� */
-    openId?: string;
-  }
-
-  interface ProposalInputRequestHead {
-    /** 绗笁鏂硅鍗曞彿 */
-    channelOrderNo?: string;
-    /** 鍟嗘埛缂栫爜 */
-    agencyCode?: string;
-    /** 鍟嗗搧缂栫爜 */
-    productCode?: string;
-    /** 涓氬姟绫诲瀷 */
-    businessType?: string;
-    applyTime?: string;
-    /** 瀛愬晢鎴风紪鐮� */
-    subAgencyCode?: string;
-  }
-
-  interface ProposalInputSign {
-    /** 绛惧悕 */
-    signature?: string;
-  }
-
-  interface ProposalResponseData {
-    /** 鎶曚繚鍗曞彿锛堝彲閫夛級 */
-    proposalNo?: string;
-    /** 鏀粯鐭摼锛堝彲閫夛級 */
-    payUrl?: string;
-    /** 鏀粯闀块摼锛堝彲閫夛級 */
-    longPayUrl?: string;
-    /** 鏀粯娴佹按鍙凤紙鍙�夛級 */
-    payRegistrationNo?: string;
   }
 
   interface ProviderInfoDto {

--
Gitblit v1.9.1