From b42ca1e9ab197ce53828f4607610ae10f25965bb Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 12 十二月 2025 19:59:13 +0800
Subject: [PATCH] feat: 新增渠道包
---
src/services/api/typings.d.ts | 388 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 364 insertions(+), 24 deletions(-)
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 6d96f49..af06ffb 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -140,6 +140,16 @@
taskInfoId?: string;
}
+ interface APIgetEnterpriseInsuranceProductSelectParams {
+ /** 渚涘簲鍟咺d */
+ supplierEnterpriseId?: string;
+ }
+
+ interface APIgetEnterpriseInsuranceSettingParams {
+ /** Id */
+ id?: string;
+ }
+
interface APIgetEnterpriseLoginInfoParams {
/** 鏌ヨ浼佷笟鐢ㄦ埛鐧诲綍淇℃伅 */
request?: GetEnterpriseLoginInfoQuery;
@@ -546,6 +556,8 @@
}
interface CalcTaskTotalServiceFeeCommand {
+ /** 渚涘簲鍟咺d */
+ supplierEnterpriseId?: string;
billingMethod?: EnumBillingMethod;
/** 鏈嶅姟璐� */
serviceFee?: number;
@@ -553,17 +565,30 @@
verifyWorkHours?: number;
/** 鎬讳欢鏁� */
totalPieceQuantity?: number;
+ /** 淇濋櫓浜у搧Id */
+ insuranceProductId?: string;
/** 闇�姹備汉鏁� */
needPeopleNumber?: number;
/** 浠诲姟寮�濮嬫椂闂� */
beginTime?: string;
/** 浠诲姟缁撴潫鏃堕棿 */
endTime?: string;
+ /** 楠屾敹鏂瑰紡 */
+ checkReceiveMethods?: EnumTaskCheckReceiveMethod[];
}
interface CalcTaskTotalServiceFeeCommandResult {
/** 鏈嶅姟璐� */
totalServiceFee?: number;
+ /** 淇濊垂鍗曚环 */
+ insuranceUnitPrice?: number;
+ /** 棰勮淇濊垂 */
+ insuranceTotalPrice?: number;
+ insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
+ /** 鎶曚繚渚涘簲鍟嗚处鍙� */
+ insuranceSupplierAccount?: string;
+ /** 淇濋櫓渚涘簲鍟咺d */
+ insuranceSupplierId?: string;
}
interface ChangePhoneNumberCommand {
@@ -1042,6 +1067,11 @@
Pass = 30,
}
+ enum EnumInsuranceSupplierAccess {
+ /**浜鸿祫鍥� */
+ WaterDropCloud = 10,
+ }
+
enum EnumLogLevel {
/**璺熻釜 */
Trace = 10,
@@ -1167,54 +1197,62 @@
FlexJobServerTaskUser = 2,
/**浠诲姟楠屾敹 */
FlexJobServerTaskCheckReceive = 3,
+ /**鎶曚繚浜у搧 */
+ FlexJobServerInsuranceProduct = 4,
+ /**浼佷笟鎶曚繚浜у搧 */
+ FlexJobServerEnterpriseInsuranceProduct = 5,
/**缂栧彿鍦板潃 */
- CommonServerCodeUrls = 4,
+ CommonServerCodeUrls = 6,
/**鏂囦欢 */
- CommonServerFileUtils = 5,
+ CommonServerFileUtils = 7,
/**浜嬩欢 */
- CommonServerEventUtils = 6,
+ CommonServerEventUtils = 8,
/**鏂囧瓧璇嗗埆 */
- CommonServerOcrUtils = 7,
+ CommonServerOcrUtils = 9,
/**鏃ュ織璁板綍 */
- CommonServerLogRecords = 8,
+ CommonServerLogRecords = 10,
/**鍚屾鏁版嵁搴� */
- CommonServerSyncDatabase = 9,
+ CommonServerSyncDatabase = 11,
/**鐭俊宸ュ叿 */
- CommonServerSmsUtils = 10,
+ CommonServerSmsUtils = 12,
/**閰嶇疆 */
- CommonServerSettings = 11,
+ CommonServerSettings = 13,
/**宸茶 */
- CommonServerReadRecord = 12,
+ CommonServerReadRecord = 14,
+ /**寰俊灏忕▼搴� */
+ CommonServerWxmp = 15,
/**鐢ㄦ埛璁よ瘉 */
- UserServerAuth = 13,
+ UserServerAuth = 16,
/**鐢ㄦ埛鑿滃崟 */
- UserServerMenu = 14,
+ UserServerMenu = 17,
/**鐢ㄦ埛璧勬簮 */
- UserServerResource = 15,
+ UserServerResource = 18,
/**鐢ㄦ埛瑙掕壊 */
- UserServerRole = 16,
+ UserServerRole = 19,
/**鐢ㄦ埛淇℃伅 */
- UserServerUser = 17,
+ UserServerUser = 20,
/**鐢ㄦ埛閽卞寘 */
- UserServerUserWallet = 18,
+ UserServerUserWallet = 21,
/**鐢靛瓙绛� */
- UserServerElectronSign = 19,
+ UserServerElectronSign = 22,
/**鐢ㄦ埛绠�鍘� */
- UserServerUserResume = 20,
+ UserServerUserResume = 23,
/**浼佷笟淇℃伅 */
- UserServerEnterprise = 21,
+ UserServerEnterprise = 24,
/**浼佷笟閽卞寘 */
- UserServerEnterpriseWallet = 22,
+ UserServerEnterpriseWallet = 25,
/**浼佷笟鍚堜綔閽卞寘 */
- UserServerEnterpriseCooperationWallet = 23,
+ UserServerEnterpriseCooperationWallet = 26,
/**鐏靛伐淇℃伅 */
- UserServerEnterpriseEmployee = 24,
+ UserServerEnterpriseEmployee = 27,
/**鐢靛瓙绛� */
- ElectronSignServerElectronSign = 25,
+ ElectronSignServerElectronSign = 28,
/**鐭俊 */
- ToolServerSms = 26,
+ ToolServerSms = 29,
/**灏忕▼搴� */
- ToolServerWxmp = 27,
+ ToolServerWxmp = 30,
+ /**淇濋櫓 */
+ WaterDropCloudServerInsurance = 31,
}
enum EnumResourceMethod {
@@ -1614,6 +1652,35 @@
VERIFY_FAIL = 1,
/**楠岃瘉涓紝鍟嗘埛鍙彂璧锋彁鐜板皾璇� */
VERIFYING = 2,
+ }
+
+ enum EnumWxmpSubscribMessageTemplate {
+ /**宸ユ槗璧� */
+ HireCompletedToPersonal = 0,
+ /**宸ユ槗璧� */
+ ElectronSignStatusChangedForPersonal = 1,
+ /**宸ユ槗璧� */
+ ArrangeCompletedToPersonal = 2,
+ /**宸ユ槗璧� */
+ TaskCheckReceiveResultToPersonal = 3,
+ /**宸ユ槗璧� */
+ SettlementReceiveToPersonal = 4,
+ /**鐏靛伐杈� */
+ TaskCheckReceiveResultToEnterprise = 5,
+ /**鐏靛伐杈� */
+ SettlementWaitAuditToEnterprise = 6,
+ /**鐏靛伐杈� */
+ SettlementReceiveToEnterprise = 7,
+ /**鐏靛伐杈� */
+ RechargeStatusChangedToEnterprise = 8,
+ /**娣橀棯宸� */
+ SettlementWaitSureToSupplier = 9,
+ /**娣橀棯宸� */
+ SettlementReceiveToSupplier = 10,
+ /**娣橀棯宸� */
+ RechargeStatusChangedToSupplier = 11,
+ /**娣橀棯宸� */
+ CheckInToSupplier = 12,
}
interface ExportEnterpriseBalanceDetailsCommand {
@@ -2188,6 +2255,42 @@
timestamp?: number;
}
+ interface FriendlyResultGetEnterpriseInsuranceProductsQueryResult {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ data?: GetEnterpriseInsuranceProductsQueryResult;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultGetEnterpriseInsuranceSettingQueryResult {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ data?: GetEnterpriseInsuranceSettingQueryResult;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
interface FriendlyResultGetEnterpriseLoginInfoQueryResult {
/** 璺熻釜Id */
traceId?: string;
@@ -2448,6 +2551,24 @@
/** 閿欒鐮� */
errorCode?: string;
data?: GetIdentityFrontOcrCommandResult;
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultGetInsuranceProductsQueryResult {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ data?: GetInsuranceProductsQueryResult;
/** 鎵ц鎴愬姛 */
success?: boolean;
/** 閿欒淇℃伅 */
@@ -3564,6 +3685,25 @@
errorCode?: string;
/** 鏁版嵁 */
data?: SelectOptionGuidGetTaskSelectQueryOption[];
+ /** 鎵ц鎴愬姛 */
+ success?: boolean;
+ /** 閿欒淇℃伅 */
+ msg?: any;
+ /** 闄勫姞鏁版嵁 */
+ extras?: any;
+ /** 鏃堕棿鎴� */
+ timestamp?: number;
+ }
+
+ interface FriendlyResultListSelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption {
+ /** 璺熻釜Id */
+ traceId?: string;
+ /** 鐘舵�佺爜 */
+ code?: number;
+ /** 閿欒鐮� */
+ errorCode?: string;
+ /** 鏁版嵁 */
+ data?: SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption[];
/** 鎵ц鎴愬姛 */
success?: boolean;
/** 閿欒淇℃伅 */
@@ -5028,6 +5168,78 @@
createdTime?: string;
}
+ interface GetEnterpriseInsuranceProductSelectQueryOption {
+ /** Id */
+ id?: string;
+ /** 浜у搧鍚嶇О */
+ name?: string;
+ }
+
+ interface GetEnterpriseInsuranceProductsQuery {
+ /** 浼佷笟鍚堜綔Id */
+ enterpriseCooperationId: string;
+ /** 鍏抽敭瀛� */
+ keywords?: string;
+ /** 淇濋櫓鍏徃缂栧彿 */
+ supplierCode?: string;
+ /** 淇濋櫓闄╃缂栧彿 */
+ typeCode?: string;
+ /** 淇濋缂栧彿 */
+ sumInsuredCode?: string;
+ /** 鎶曚繚鏂瑰紡缂栧彿 */
+ periodCode?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ pageModel?: PagedListQueryPageModel;
+ }
+
+ interface GetEnterpriseInsuranceProductsQueryResult {
+ pageModel?: PagedListQueryResultPageModel;
+ /** 鏁版嵁 */
+ data?: GetEnterpriseInsuranceProductsQueryResultItem[];
+ }
+
+ interface GetEnterpriseInsuranceProductsQueryResultItem {
+ /** Id */
+ id?: string;
+ /** 淇濋櫓鍏徃缂栧彿 */
+ supplierCode?: string;
+ /** 淇濋櫓鍏徃 */
+ supplierContent?: string;
+ /** 浜у搧鍚嶇О */
+ name?: string;
+ /** 淇濋櫓闄╃缂栧彿 */
+ typeCode?: string;
+ /** 淇濋櫓闄╃ */
+ typeContent?: string;
+ /** 淇濋缂栧彿 */
+ sumInsuredCode?: string;
+ /** 淇濋 */
+ sumInsuredContent?: string;
+ /** 鎶曚繚鏂瑰紡缂栧彿 */
+ periodCode?: string;
+ /** 鎶曚繚鏂瑰紡 */
+ periodContent?: string;
+ /** 鑱屼笟绫诲埆缂栧彿 */
+ jobCategoryCode?: string;
+ /** 鑱屼笟绫诲埆 */
+ jobCategoryContent?: string;
+ /** 鎶曚繚鐗堟湰缂栧彿 */
+ versionCode?: string;
+ /** 鎶曚繚鐗堟湰 */
+ versionContent?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ }
+
+ interface GetEnterpriseInsuranceSettingQueryResult {
+ /** Id */
+ id?: string;
+ insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
+ /** 鎶曚繚渚涘簲鍟嗚处鍙� */
+ insuranceSupplierAccount?: string;
+ }
+
type GetEnterpriseLoginInfoQuery = Record<string, any>;
interface GetEnterpriseLoginInfoQueryResult {
@@ -5548,6 +5760,61 @@
model?: BaiduOcrIdentityFrontResultModel;
}
+ interface GetInsuranceProductsQuery {
+ /** 鍏抽敭瀛� */
+ keywords?: string;
+ /** 淇濋櫓鍏徃缂栧彿 */
+ supplierCode?: string;
+ /** 淇濋櫓闄╃缂栧彿 */
+ typeCode?: string;
+ /** 淇濋缂栧彿 */
+ sumInsuredCode?: string;
+ /** 鎶曚繚鏂瑰紡缂栧彿 */
+ periodCode?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ pageModel?: PagedListQueryPageModel;
+ }
+
+ interface GetInsuranceProductsQueryResult {
+ pageModel?: PagedListQueryResultPageModel;
+ /** 鏁版嵁 */
+ data?: GetInsuranceProductsQueryResultItem[];
+ }
+
+ interface GetInsuranceProductsQueryResultItem {
+ /** Id */
+ id?: string;
+ /** 淇濋櫓鍏徃缂栧彿 */
+ supplierCode?: string;
+ /** 淇濋櫓鍏徃 */
+ supplierContent?: string;
+ /** 浜у搧鍚嶇О */
+ name?: string;
+ /** 淇濋櫓闄╃缂栧彿 */
+ typeCode?: string;
+ /** 淇濋櫓闄╃ */
+ typeContent?: string;
+ /** 淇濋缂栧彿 */
+ sumInsuredCode?: string;
+ /** 淇濋 */
+ sumInsuredContent?: string;
+ /** 鎶曚繚鏂瑰紡缂栧彿 */
+ periodCode?: string;
+ /** 鎶曚繚鏂瑰紡 */
+ periodContent?: string;
+ /** 鑱屼笟绫诲埆缂栧彿 */
+ jobCategoryCode?: string;
+ /** 鑱屼笟绫诲埆 */
+ jobCategoryContent?: string;
+ /** 鎶曚繚鐗堟湰缂栧彿 */
+ versionCode?: string;
+ /** 鎶曚繚鐗堟湰 */
+ versionContent?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ }
+
interface GetLicenseOcrCommand {
access?: EnumOcrAccess;
/** 鍦烘櫙 */
@@ -5854,6 +6121,8 @@
serviceFeeRate?: number;
/** 鍙戠エ绋庣偣 */
invoiceTaxPointRate?: number;
+ /** 鏄惁宸查厤缃� */
+ isConfigured?: boolean;
}
interface GetPersonalApplyTaskInfosQuery {
@@ -6936,6 +7205,8 @@
/** 渚涘簲鍟咺d */
supplierEnterpriseId?: string;
supplierEnterprise?: GetSupplierEnterpriseSelectQueryOptionEnterprise;
+ /** 鏄惁宸查厤缃繚闄� */
+ isConfiguredInsurance?: boolean;
}
interface GetSupplierEnterpriseSelectQueryOptionEnterprise {
@@ -7037,6 +7308,10 @@
timeoutServiceFee?: number;
/** 鎬讳欢鏁� */
totalPieceQuantity?: number;
+ /** 淇濋櫓浜у搧Id */
+ insuranceProductId?: string;
+ /** 淇濋櫓浜у搧鍚嶇О */
+ insuranceProductName?: string;
settlementCycle?: EnumSettlementCycle;
/** 缁撶畻鏃ユ湡 */
settlementDate?: number;
@@ -8335,6 +8610,27 @@
ext?: string;
}
+ interface SaveInsuranceProductCommand {
+ /** 淇濋櫓鍏徃缂栧彿 */
+ supplierCode: string;
+ /** 浜у搧鍚嶇О */
+ name: string;
+ /** 淇濋櫓闄╃缂栧彿 */
+ typeCode?: string;
+ /** 淇濋缂栧彿 */
+ sumInsuredCode?: string;
+ /** 鎶曚繚鏂瑰紡缂栧彿 */
+ periodCode?: string;
+ /** 鑱屼笟绫诲埆缂栧彿 */
+ jobCategoryCode?: string;
+ /** 鐗堟湰缂栧彿 */
+ versionCode?: string;
+ /** 鏄惁绂佺敤 */
+ isDisabled?: boolean;
+ /** Id */
+ id?: string;
+ }
+
interface SaveMenuButtonCommand {
/** 鑿滃崟Id */
parentId?: string;
@@ -8587,6 +8883,8 @@
timeoutServiceFee?: number;
/** 鎬讳欢鏁� */
totalPieceQuantity?: number;
+ /** 淇濋櫓浜у搧Id */
+ insuranceProductId?: string;
settlementCycle: EnumSettlementCycle;
/** 缁撶畻鏃ユ湡 */
settlementDate: number;
@@ -8770,6 +9068,14 @@
data?: GetTaskSelectQueryOption;
}
+ interface SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption {
+ /** 鍊� */
+ value?: string;
+ /** 鏍囩 */
+ label?: string;
+ data?: GetEnterpriseInsuranceProductSelectQueryOption;
+ }
+
interface SelectOptionStringGetDictionaryDataSelectQueryResultOption {
/** 鍊� */
value?: string;
@@ -8804,7 +9110,27 @@
phoneNumber: string;
}
+ interface SendWxmpSubscribMessageCommand {
+ template: EnumWxmpSubscribMessageTemplate;
+ /** 鐐瑰嚮妯℃澘鍗$墖鍚庣殑璺宠浆椤甸潰锛屼粎闄愭湰灏忕▼搴忓唴鐨勯〉闈€�傛敮鎸佸甫鍙傛暟,锛堢ず渚媔ndex?foo=bar锛夈�傝瀛楁涓嶅~鍒欐ā鏉挎棤璺宠浆 */
+ page?: string;
+ /** 鐢ㄦ埛Id */
+ userId?: string;
+ /** 浼佷笟Id */
+ enterpriseId?: string;
+ /** 鍏宠仈Id */
+ relationId?: string;
+ }
+
interface SetDictionaryDataIsDisabledCommand {
+ ids?: string[];
+ /** 鏄惁宸茬鐢� */
+ isDisabled?: boolean;
+ }
+
+ interface SetDisabledEnterpriseInsuranceProductsCommand {
+ /** 浼佷笟鍚堜綔Id */
+ enterpriseCooperationId?: string;
ids?: string[];
/** 鏄惁宸茬鐢� */
isDisabled?: boolean;
@@ -8817,6 +9143,14 @@
electronSignAccesses?: EnumElectronSignAccess[];
}
+ interface SetEnterpriseInsuranceSettingCommand {
+ /** Id */
+ id?: string;
+ insuranceSupplierAccess?: EnumInsuranceSupplierAccess;
+ /** 鎶曚繚渚涘簲鍟嗚处鍙� */
+ insuranceSupplierAccount?: string;
+ }
+
interface SetEnterpriseSmsSettingCommand {
/** Id */
id?: string;
@@ -8831,6 +9165,12 @@
isDisabled?: boolean;
}
+ interface SetIsDisabledInsuranceProductCommand {
+ ids?: string[];
+ /** 鏄惁宸茬鐢� */
+ isDisabled?: boolean;
+ }
+
interface SetMenuSwitchCommand {
/** Id */
ids?: string[];
--
Gitblit v1.9.1