From b9306ff4178b859a55915c948cdc1ef82b054796 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 01 八月 2025 17:35:13 +0800 Subject: [PATCH] fix: 修改底层 --- src/services/api/typings.d.ts | 1812 ++++++--------------------------------------------------- 1 files changed, 213 insertions(+), 1,599 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index f04a84b..e0a4ec0 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -3,1629 +3,243 @@ [key: string]: any; } - interface AccessRefreshToken { - refreshToken?: string; - clientId?: string; - } + type AuthPasswordLoginCallback = true; - interface AccessRequestDto { - clientId?: string; - userName?: string; - userPassword?: string; - scope?: string; - } - - interface ActionApiDescriptionModel { - uniqueName?: string; - name?: string; - httpMethod?: string; - url?: string; - supportedVersions?: string[]; - parametersOnMethod?: MethodParameterApiDescriptionModel[]; - parameters?: ParameterApiDescriptionModel[]; - returnValue?: ReturnValueApiDescriptionModel; - allowAnonymous?: boolean; - implementFrom?: string; - } - - interface AddInsuranceClaimAttachmentInput { - /** 鏂囦欢鍚嶇О */ - fileName?: string; - /** 鏂囦欢鍦板潃 */ - url?: string; - businessType?: InsuranceClaimAttachmentBusinessTypeEnum; - } - - interface AddInsuranceClaimInput { - /** 娓犻亾 */ - channel?: string; - /** 濮撳悕 */ - name: string; - /** 韬唤璇佸彿 */ - idNumber: string; - /** 宸ョ */ - workType: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTime: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTime: string; - /** 鍙備繚鏈烘瀯 */ - insuredInstitution: string; - /** 鎶曚繚鏂规 */ - insuranceScheme: string; - /** 鍦ㄨ亴鏍囪瘑 */ - onJobFlag?: string; - /** 鎬у埆 */ - gender?: string; - /** 骞撮緞 */ - age?: number; - /** 淇濊垂閲戦 */ - premiumAmount?: number; - /** 澧炲噺璐圭敤 */ - incDecAmount?: number; - /** 淇濆崟id */ - insuranceOrderId?: string; - /** 鎶ユ鏃堕棿 */ - reportedTime: string; - /** 鑱旂郴鐢佃瘽 */ - contactNumber: string; - /** 澶囩敤鑱旂郴鐢佃瘽 */ - bakContactNumber?: string; - /** 浜嬫晠绫诲瀷 */ - accidentType: string; - /** 浜嬫晠鍙戠敓鏃堕棿 */ - accidentTime: string; - /** 浼ゆ畫姣斾緥 */ - disabilityRatio?: number; - /** 浜嬪彂鍦扮偣 */ - accidentAddress: string; - /** 浜嬫晠缁忚繃 */ - accidentProcess: string; - claimResult?: InsuranceClaimResultEnum; - /** 涓嬫閲戦 */ - downPaymentAmount?: number; - /** 鐞嗚禂缁撴灉鏃堕棿 */ - claimResultTime?: string; - /** 闄勪欢闆嗗悎 */ - attachments?: AddInsuranceClaimAttachmentInput[]; - } - - interface AddInsuranceOrderMaterialInput { - insuranceOrderId?: string; - /** 鏂囦欢鍚嶇О */ - fileName?: string; - /** 鏂囦欢鍦板潃 */ - url?: string; - /** 鏉愭枡鍚嶇О */ - materialName: string; - } - - interface AllSubModule { - pageButton?: ModuleButtonDto[]; - dataButton?: ModuleButtonDto[]; - column?: ModuleColumnDto[]; - } - - interface APIaddOrEditModuleStatusParams { - id?: string; - isMenu?: number; - enabledMark?: number; - isCache?: boolean; - } - - interface APIapiDefinitionParams { - includeTypes?: boolean; - } - - interface APIcreateParams { - systemEmail: string; - systemPassword: string; - versionId?: string; - systemUserName: string; - systemName: string; - name: string; - extraProperties?: Record<string, any>; - } - - interface APIdeleteDefaultConnectionStringParams { - id?: string; - } - - interface APIdeleteModuleButtonParams { - id?: string; - } - - interface APIdeleteModuleColumnParams { - id?: string; - } - - interface APIdeleteModuleParams { - id?: string; - } - - interface APIdeleteRoleParams { - id?: string; - } - - interface APIdeleteRoleParams { - id?: string; - } - - interface APIdeleteTenantParams { - id?: string; - } - - interface APIdeleteUserParams { - id?: string; - } - - interface APIdetailParams { - id?: string; - } - - interface APIfindByEmailParams { - email?: string; - } - - interface APIfindByIdParams { - id?: string; - } - - interface APIfindByUsernameParams { - userName?: string; - } - - interface APIfindByUserNameParams { - userName?: string; - } - - interface APIforbiddenRoleParams { - roleName?: string; - permissionName?: string; - } - - interface APIforbiddenUserParams { - userId?: string; - permissionName?: string; - } - - interface APIgetAllSubModuleParams { - moduleId?: string; - } - - interface APIgetCountParams { - filter?: string; - } - - interface APIgetCurrentSubModuleListParams { - moduleId?: string; - } - - interface APIgetDefaultConnectionStringParams { - id?: string; - } - - interface APIgetFirstCurrentUserModuleListCacheByModuleIdParams { - moduleId?: string; - } - - interface APIgetInsuranceClaimDetailByOrderIdParams { - orderId?: string; - } - - interface APIgetInsuranceClaimDetailParams { - id?: string; - } - - interface APIgetInsuranceClaimYearMonthCountListParams { - year?: number; - } - - interface APIgetInsuranceOrderDetailParams { - id?: string; - } - - interface APIgetInsuranceOrderMaterialListParams { - id?: string; - } - - interface APIgetListParams { - filter?: string; - clientId?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; - } - - interface APIgetListParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; - } - - interface APIgetParams { - providerName?: string; - providerKey?: string; - } - - interface APIgetParams { - id?: string; - } - - interface APIgetParams { - id?: string; - } - - interface APIgetParams { - providerName?: string; - providerKey?: string; - } - - interface APIgetParams { - id?: string; - } - - interface APIgetRolesIdRolesParams { - id: string; - } - - interface APIgetUserDetailParams { - id?: string; - } - - interface APIgetUserListByPhoneNumberParams { - phoneNumber?: string; - clientId?: string; - } - - interface APIgetUserOrRoleModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetUserOrRoleSubModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetVersionModuleListParams { - versionId?: string; - } - - interface APIgetVersionSubModuleParams { - versionId?: string; - } - - interface APIsearchParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; - } - - interface APIsetForRoleParams { - roleName?: string; - permissionName?: string; - } - - interface APIsetForUserParams { - userId?: string; - permissionName?: string; - } - - interface APIupdateDefaultConnectionStringParams { - id?: string; - defaultConnectionString?: string; - } - - interface APIupdateParams { - providerName?: string; - providerKey?: string; - } - - interface APIupdateParams { - id?: string; - } - - interface APIupdateParams { - id?: string; - } - - interface APIupdateParams { - providerName?: string; - providerKey?: string; - } - - interface APIupdateParams { - id?: string; - name: string; - extraProperties?: Record<string, any>; - } - - interface APIupdateRolesParams { - id?: string; - } - - interface ApplicationApiDescriptionModel { - modules?: Record<string, any>; - types?: Record<string, any>; - } - - interface ApplicationAuthConfigurationDto { - policies?: Record<string, any>; - grantedPolicies?: Record<string, any>; - } - - interface ApplicationConfigurationDto { - localization?: ApplicationLocalizationConfigurationDto; - auth?: ApplicationAuthConfigurationDto; - setting?: ApplicationSettingConfigurationDto; - currentUser?: CurrentUserDto; - features?: ApplicationFeatureConfigurationDto; - multiTenancy?: MultiTenancyInfoDto; - currentTenant?: CurrentTenantDto; - timing?: TimingDto; - clock?: ClockDto; - objectExtensions?: ObjectExtensionsDto; - } - - interface ApplicationFeatureConfigurationDto { - values?: Record<string, any>; - } - - interface ApplicationLocalizationConfigurationDto { - values?: Record<string, any>; - languages?: LanguageInfo[]; - currentCulture?: CurrentCultureDto; - defaultResourceName?: string; - languagesMap?: Record<string, any>; - languageFilesMap?: Record<string, any>; - } - - interface ApplicationSettingConfigurationDto { - values?: Record<string, any>; - } - - interface BaseAuthorizeDto { - moduleType?: number; - moduleId?: string; - objectType?: number; - objectId?: string; - addOrDelete?: number; - } - - interface BaseAuthorizeInput { - moduleTypeInfo?: ModuleTypeInfo[]; - objectType?: number; - objectId?: string; - } - - interface ChangePasswordInput { - currentPassword?: string; - newPassword: string; - } - - interface ChangeSortInput { - id1?: string; - sortCode1?: number; - id2?: string; - sortCode2?: number; - type?: number; - } - - interface CheckLoginVerificationCodeInput { - messageType?: string; - phoneNumber: string; - verificationCode?: string; - } - - interface ClockDto { - kind?: string; - } - - interface ControllerApiDescriptionModel { - controllerName?: string; - controllerGroupName?: string; - type?: string; - interfaces?: ControllerInterfaceApiDescriptionModel[]; - actions?: Record<string, any>; - } - - interface ControllerInterfaceApiDescriptionModel { - type?: string; - } - - interface CreateAccountInput { - /** 鍚嶇О */ - name?: string; - /** 鐢ㄦ埛鍚� */ - userName: string; - /** 澶囨敞 */ - remark?: string; - /** 瀵嗙爜 */ - password: string; - /** 鎵嬫満鍙� */ - phoneNumber?: string; - /** 娓犻亾 */ - channel?: string; - /** 鐢ㄦ埛绔疘d */ - clientId?: string; - /** 瑙掕壊 */ - roleNames?: string[]; - } - - interface CreateOrUpdateRoleInput { - /** 鍚嶇О */ - name?: string; - /** 鎺掑簭 */ - sequence?: number; - /** 閮ㄩ棬Id */ - departmentId?: number; - /** 鏁版嵁鑼冨洿 鍏ㄩ儴鏁版嵁100 涓汉鏁版嵁 10 */ - dataRange?: number; - /** 澶囨敞 */ - remark?: string; - /** 瑙掕壊Id */ - id?: string; - } - - interface CurrentCultureDto { - displayName?: string; - englishName?: string; - threeLetterIsoLanguageName?: string; - twoLetterIsoLanguageName?: string; - isRightToLeft?: boolean; - cultureName?: string; - name?: string; - nativeName?: string; - dateTimeFormat?: DateTimeFormatDto; - } - - interface CurrentTenantDto { - id?: string; - name?: string; - isAvailable?: boolean; - } - - interface CurrentUserDto { - isAuthenticated?: boolean; - id?: string; - tenantId?: string; - impersonatorUserId?: string; - impersonatorTenantId?: string; - impersonatorUserName?: string; - impersonatorTenantName?: string; - userName?: string; - name?: string; - surName?: string; - email?: string; - emailVerified?: boolean; - phoneNumber?: string; - phoneNumberVerified?: boolean; - roles?: string[]; - } - - interface DateTimeFormatDto { - calendarAlgorithmType?: string; - dateTimeFormatLong?: string; - shortDatePattern?: string; - fullDateTimePattern?: string; - dateSeparator?: string; - shortTimePattern?: string; - longTimePattern?: string; - } - - interface EntityExtensionDto { - properties?: Record<string, any>; - configuration?: Record<string, any>; - } - - interface ExtensionEnumDto { - fields?: ExtensionEnumFieldDto[]; - localizationResource?: string; - } - - interface ExtensionEnumFieldDto { - name?: string; - value?: any; - } - - interface ExtensionPropertyApiCreateDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyApiDto { - onGet?: ExtensionPropertyApiGetDto; - onCreate?: ExtensionPropertyApiCreateDto; - onUpdate?: ExtensionPropertyApiUpdateDto; - } - - interface ExtensionPropertyApiGetDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyApiUpdateDto { - isAvailable?: boolean; - } - - interface ExtensionPropertyAttributeDto { - typeSimple?: string; - config?: Record<string, any>; - } - - interface ExtensionPropertyDto { - type?: string; - typeSimple?: string; - displayName?: LocalizableStringDto; - api?: ExtensionPropertyApiDto; - ui?: ExtensionPropertyUiDto; - attributes?: ExtensionPropertyAttributeDto[]; - configuration?: Record<string, any>; - defaultValue?: any; - } - - interface ExtensionPropertyUiDto { - onTable?: ExtensionPropertyUiTableDto; - onCreateForm?: ExtensionPropertyUiFormDto; - onEditForm?: ExtensionPropertyUiFormDto; - lookup?: ExtensionPropertyUiLookupDto; - } - - interface ExtensionPropertyUiFormDto { - isVisible?: boolean; - } - - interface ExtensionPropertyUiLookupDto { - url?: string; - resultListPropertyName?: string; - displayPropertyName?: string; - valuePropertyName?: string; - filterParamName?: string; - } - - interface ExtensionPropertyUiTableDto { - isVisible?: boolean; - } - - interface FeatureDto { - name?: string; - displayName?: string; - value?: string; - provider?: FeatureProviderDto; - description?: string; - valueType?: IStringValueType; - depth?: number; - parentName?: string; - } - - interface FeatureGroupDto { - name?: string; - displayName?: string; - features?: FeatureDto[]; - } - - interface FeatureProviderDto { - name?: string; - key?: string; - } - - interface GetFeatureListResultDto { - groups?: FeatureGroupDto[]; - } - - interface GetPermissionListResultDto { - entityDisplayName?: string; - groups?: PermissionGroupDto[]; - } - - interface GetRolesInput { - pageModel?: Pagination; - /** 鏌ヨ鏉′欢锛氳鑹插悕绉� */ - queryCondition?: string; - } - - interface IanaTimeZone { - timeZoneName?: string; - } - - interface IdentityModelTokenCacheItem { - accessToken?: string; - expiresIn?: number; - creationTime?: string; - refreshToken?: string; - } - - interface IdentityRoleCreateDto { - extraProperties?: Record<string, any>; - name: string; - isDefault?: boolean; - isPublic?: boolean; - sequence?: number; - note?: string; - roleType?: number; - isLeader?: boolean; - } - - interface IdentityRoleDto { - extraProperties?: Record<string, any>; - id?: string; - name?: string; - isDefault?: boolean; - isStatic?: boolean; - isPublic?: boolean; - concurrencyStamp?: string; - sequence?: number; - isEnable?: boolean; - note?: string; - roleType?: number; - } - - interface IdentityRoleDtoListResultDto { - items?: IdentityRoleDto[]; - } - - interface IdentityRoleDtoPagedResultDto { - items?: IdentityRoleDto[]; - totalCount?: number; - } - - interface IdentityRoleListInput { - pageModel?: Pagination; - name?: string; - type?: number; - roleIds?: string[]; - } - - interface IdentityRoleUpdateDto { - extraProperties?: Record<string, any>; - name: string; - isDefault?: boolean; - isPublic?: boolean; - concurrencyStamp?: string; - sequence?: number; - isEnable?: boolean; - roleType?: number; - isLeader?: boolean; - note?: string; - isSetEnable?: boolean; - } - - interface IdentityUserCreateDto { - extraProperties?: Record<string, any>; - userName: string; - name?: string; - surname?: string; - email?: string; - phoneNumber?: string; - lockoutEnabled?: boolean; - sex?: number; - roleNames?: string[]; - password?: string; - versionId?: string; - clientId?: string; - } - - interface IdentityUserDto { - extraProperties?: Record<string, any>; - id?: string; - creationTime?: string; - creatorId?: string; - lastModificationTime?: string; - lastModifierId?: string; - isDeleted?: boolean; - deleterId?: string; - deletionTime?: string; - tenantId?: string; - userName?: string; - name?: string; - surname?: string; - email?: string; - sex?: number; - emailConfirmed?: boolean; - phoneNumber?: string; - phoneNumberConfirmed?: boolean; - lockoutEnabled?: boolean; - lockoutEnd?: string; - concurrencyStamp?: string; - clientId?: string; - roles?: IdentityRoleDto[]; - } - - interface IdentityUserDtoPagedResultDto { - items?: IdentityUserDto[]; - totalCount?: number; - } - - interface IdentityUserDtoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: IdentityUserDto[]; - } - - interface IdentityUserUpdateDto { - extraProperties?: Record<string, any>; - userName: string; - name?: string; - surname?: string; - email?: string; - phoneNumber?: string; - lockoutEnabled?: boolean; - sex?: number; - roleNames?: string[]; - password?: string; - concurrencyStamp?: string; - } - - interface IdentityUserUpdateRolesDto { - roleNames: string[]; - } - - interface ImportInsuranceOrderDataOutput { - /** 娓犻亾 */ - channel: string; - /** 濮撳悕 */ - name: string; - /** 韬唤璇佸彿 */ - idNumber: string; - /** 宸ョ */ - workType: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTimeStr: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTimeStr: string; - insuranceEndTime?: string; - insuranceBeginTime?: string; - /** 鍙備繚鏈烘瀯 */ - insuredInstitution: string; - /** 鎶曚繚鏂规 */ - insuranceScheme: string; - /** 鍦ㄨ亴鏍囪瘑 */ - onJobFlag: string; - /** 鎬у埆 */ - gender: string; - /** 骞撮緞 */ - ageStr: string; - age?: number; - /** 韬唤璇佹牎楠岀粨鏋� */ - idCardCheckResult: string; - /** 韬唤璇侀噸澶嶆牎楠岀粨鏋� */ - idCardRepeatResult: string; - /** 淇濊垂閲戦 */ - premiumAmountStr: string; - /** 澧炲噺璐圭敤 */ - incDecAmountStr: string; - incDecAmount?: number; - premiumAmount?: number; - /** 涓氬姟鍛樺悕绉� */ - salesmanName?: string; - /** 淇濆崟鍙� */ - orderNo?: string; - /** 淇濆崟鍏宠仈鍞竴瀛楃涓� */ - orderRelevanceStr?: string; - /** 淇濆崟鏍囪瘑瀛楁 */ - orderFlagStr?: string; - /** 寮傚父娑堟伅 */ - erroMsg?: string; - } - - type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50; - - interface InsuranceClaimAttachmentOutput { - /** 鏂囦欢鍚嶇О */ - fileName?: string; - /** 鏂囦欢鍦板潃 */ - url?: string; - businessType?: InsuranceClaimAttachmentBusinessTypeEnum; - } - - interface InsuranceClaimDetailOutput { - id?: string; - /** 娓犻亾 */ - channel?: string; - /** 濮撳悕 */ - name?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - /** 宸ョ */ - workType?: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise?: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise?: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTime?: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTime?: string; - /** 鍙備繚鏈烘瀯 */ - insuredInstitution?: string; - /** 鎶曚繚鏂规 */ - insuranceScheme?: string; - /** 鍦ㄨ亴鏍囪瘑 */ - onJobFlag?: string; - /** 琛屽埆 */ - gender?: string; - /** 骞撮緞 */ - age?: number; - /** 淇濊垂閲戦 */ - premiumAmount?: number; - /** 澧炲噺璐圭敤 */ - incDecAmount?: number; - /** 淇濆崟id */ - insuranceOrderId?: string; - /** 鎶ユ鏃堕棿 */ - reportedTime?: string; - /** 鑱旂郴鐢佃瘽 */ - contactNumber?: string; - /** 澶囩敤鑱旂郴鐢佃瘽 */ - bakContactNumber?: string; - /** 浜嬫晠绫诲瀷 */ - accidentType?: string; - /** 浜嬫晠鍙戠敓鏃堕棿 */ - accidentTime?: string; - /** 浼ゆ畫姣斾緥 */ - disabilityRatio?: number; - /** 浜嬪彂鍦扮偣 */ - accidentAddress?: string; - /** 浜嬫晠缁忚繃 */ - accidentProcess?: string; - claimResult?: InsuranceClaimResultEnum; - /** 涓嬫閲戦 */ - downPaymentAmount?: number; - /** 鐞嗚禂缁撴灉鏃堕棿 */ - claimResultTime?: string; - /** 闄勪欢闆嗗悎 */ - attachments?: InsuranceClaimAttachmentOutput[]; - } - - interface InsuranceClaimListOutput { - id?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - /** 濮撳悕 */ - name?: string; - /** 鎶ユ鏃堕棿 */ - reportedTime?: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTime?: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTime?: string; - /** 浜嬫晠绫诲瀷 */ - accidentType?: string; - /** 浜嬫晠鍙戠敓鏃堕棿 */ - accidentTime?: string; - /** 浼ゆ畫姣斾緥 */ - disabilityRatio?: number; - /** 鐞嗚禂娓犻亾 */ - claimChannel?: string; - claimResult?: InsuranceClaimResultEnum; - /** 涓嬫閲戦 */ - downPaymentAmount?: number; - /** 鐞嗚禂缁撴灉鏃堕棿 */ - claimResultTime?: string; - /** 淇濆崟id */ - insuranceOrderId?: string; - } - - interface InsuranceClaimListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: InsuranceClaimListOutput[]; - } - - type InsuranceClaimResultEnum = 10 | 20 | 30; - - interface InsuranceClaimYearMonthCountListOutput { - year?: number; - month?: number; - count?: number; - } - - interface InsuranceOrderListOutput { - id?: string; - /** 娓犻亾 */ - channel?: string; - /** 濮撳悕 */ - name?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - /** 宸ョ */ - workType?: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise?: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise?: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTime?: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTime?: string; - /** 鍙備繚鏈烘瀯 */ - insuredInstitution?: string; - /** 鎶曚繚鏂规 */ - insuranceScheme?: string; - /** 鍦ㄨ亴鏍囪瘑 */ - onJobFlag?: string; - /** 鎬у埆 */ - gender?: string; - /** 骞撮緞 */ - age?: number; - /** 韬唤璇佹牎楠岀粨鏋� */ - idCardCheckResult?: string; - /** 韬唤璇侀噸澶嶆牎楠岀粨鏋� */ - idCardRepeatResult?: string; - /** 淇濊垂閲戦 */ - premiumAmount?: number; - /** 澧炲噺璐圭敤 */ - incDecAmount?: number; - /** 瀵煎叆娓犻亾 */ - importChannel?: string; - /** 瀵煎叆鏃ユ湡 */ - createTime?: string; - isIndustrialInjury?: string; - /** 鍒涘缓浜� */ - creatorId?: string; - /** 涓氬姟鍛樺悕绉� */ - salesmanName?: string; - /** 淇濆崟鍙� */ - orderNo?: string; - /** 淇濆崟鍏宠仈鍞竴瀛楃涓� */ - orderRelevanceStr?: string; - } - - interface InsuranceOrderListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: InsuranceOrderListOutput[]; - } - - interface InsuranceOrderMaterialListOutput { - id?: string; - /** 鏂囦欢鍦板潃 */ - url?: string; - /** 鏉愭枡鍚嶇О */ - materialName?: string; - } - - interface IStringValueType { - name?: string; - properties?: Record<string, any>; - validator?: IValueValidator; - } - - interface IValueValidator { - name?: string; - properties?: Record<string, any>; - } - - interface KeyInput { - id?: string; - } - - interface KeyPageInput { - pageModel?: Pagination; - id?: string; - } - - interface LanguageInfo { - cultureName?: string; - uiCultureName?: string; - displayName?: string; - flagIcon?: string; - } - - interface LocalizableStringDto { - name?: string; - resource?: string; - } - - interface MethodParameterApiDescriptionModel { - name?: string; - typeAsString?: string; - type?: string; - typeSimple?: string; - isOptional?: boolean; - defaultValue?: any; - } - - interface ModuleApiDescriptionModel { - rootPath?: string; - remoteServiceName?: string; - controllers?: Record<string, any>; - } - - interface ModuleButtonDto { - id?: string; - moduleId?: string; - parentId?: string; - icon?: string; - enCode?: string; - name?: string; - actionAddress?: string; - sortCode?: number; - buttonType?: number; - hasCheck?: boolean; - } - - interface ModuleColumnDto { - id?: string; - moduleId?: string; - parentId?: string; - enCode?: string; - name?: string; - sortCode?: number; - description?: string; - width?: number; - hasCheck?: boolean; - apiName?: string; - isShow?: boolean; - realColumn?: string; - } - - interface ModuleDto { - id?: string; - description?: string; - sortCode?: number; - enabledMark?: number; - parentId?: string; - name?: string; - isCache?: boolean; - path?: string; - viewAddress?: string; - levelNum?: number; - enCode?: string; - icon?: string; - hasCheck?: boolean; - isMenu?: number; - parentModuleName?: string; - } - - interface ModuleExtensionDto { - entities?: Record<string, any>; - configuration?: Record<string, any>; - } - - interface ModuleTypeInfo { - moduleType?: number; - moduleId?: string; - } - - interface MultiTenancyInfoDto { - isEnabled?: boolean; - } - - interface MyModuleDto { - id?: string; - description?: string; - sortCode?: number; - enabledMark?: number; - parentId?: string; - name?: string; - isCache?: boolean; - path?: string; - viewAddress?: string; - levelNum?: number; - enCode?: string; - icon?: string; - hasCheck?: boolean; - isMenu?: number; - parentModuleName?: string; - sequence?: number; - } - - interface NameValue { - name?: string; - value?: string; - } - - interface ObjectExtensionsDto { - modules?: Record<string, any>; - enums?: Record<string, any>; - } - - interface OrderInput { - property?: string; - order?: OrderTypeEnum; - } - - type OrderTypeEnum = 0 | 1; - - interface OssSTSReponse { - expiration?: string; - ossAccessSecret?: string; - ossAccessKeyId?: string; - securityToken?: string; - requestId?: string; - } - - interface PageInput { - pageModel?: Pagination; - } - - interface PageUserInput { - pageModel?: Pagination; - key?: string; - roleType?: string; - } - - interface Pagination { - rows?: number; - page?: number; - orderInput?: OrderInput[]; - totalCount?: number; - totalPage?: number; - } - - interface ParameterApiDescriptionModel { - nameOnMethod?: string; - name?: string; - jsonName?: string; - type?: string; - typeSimple?: string; - isOptional?: boolean; - defaultValue?: any; - constraintTypes?: string[]; - bindingSourceId?: string; - descriptorName?: string; - } - - interface PasswordLoginInput { + interface AuthPasswordLoginCommand { /** 璐﹀彿 */ - loginName: string; - /** 鐧诲綍瀵嗙爜 */ - password: string; - } - - interface PermissionGrantInfoDto { - name?: string; - displayName?: string; - parentName?: string; - isGranted?: boolean; - allowedProviders?: string[]; - grantedProviders?: ProviderInfoDto[]; - } - - interface PermissionGroupDto { - name?: string; - displayName?: string; - permissions?: PermissionGrantInfoDto[]; - } - - interface PhoneToken { - phone?: string; - phoneCode?: string; - clientId?: string; - } - - interface ProfileDto { - extraProperties?: Record<string, any>; - userName?: string; - email?: string; - name?: string; - surname?: string; - phoneNumber?: string; - isExternal?: boolean; - hasPassword?: boolean; - } - - interface PropertyApiDescriptionModel { - name?: string; - jsonName?: string; - type?: string; - typeSimple?: string; - isRequired?: boolean; - } - - interface ProviderInfoDto { - providerName?: string; - providerKey?: string; - } - - interface QueryInsuranceClaimCountInput { - year?: number; - month?: number; - /** 鐞嗚禂娓犻亾 */ - claimChannel?: string; - } - - interface QueryInsuranceClaimPageInput { - pageModel?: Pagination; - /** 鐞嗚禂娓犻亾 */ - claimChannel?: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise?: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise?: string; - /** 韬唤璇佸彿 */ - idNumber?: string; - } - - interface QueryInsuranceOrderListByOrderRelevanceInput { - idIdNumber?: string; - reportedTime?: string; - } - - interface QueryInsuranceOrderPageInput { - pageModel?: Pagination; - beginCreationTime?: string; - endCreationTime?: string; - importChannel?: string; - } - - interface QueryUserPageInput { - pageModel?: Pagination; - searchKey?: string; - } - - interface RegisterDto { - extraProperties?: Record<string, any>; userName: string; - emailAddress: string; - sex?: number; - password: string; - appName: string; - } - - interface RemoteServiceErrorInfo { - code?: string; - message?: string; - details?: string; - data?: Record<string, any>; - validationErrors?: RemoteServiceValidationErrorInfo[]; - } - - interface RemoteServiceErrorResponse { - error?: RemoteServiceErrorInfo; - } - - interface RemoteServiceValidationErrorInfo { - message?: string; - members?: string[]; - } - - interface ResetPasswordDto { - userId?: string; - resetToken: string; - password: string; - } - - interface ResetPassWordInput { - userId?: string; - name?: string; - userName?: string; - phoneNumber?: string; - password?: string; - } - - interface ReturnValueApiDescriptionModel { - type?: string; - typeSimple?: string; - } - - interface RoleEnableOrForbidInput { - /** 瑙掕壊Id */ - id?: string; - /** 鍚敤锛歵rue锛岀鐢細false */ - isEnable?: boolean; - } - - interface RoleInfo { - /** 瑙掕壊Id */ - id?: string; - /** 鍚嶇О */ - name?: string; - /** 鎺掑簭 */ - sequence?: number; - /** 鏄惁鍙敤 */ - isEnable?: boolean; - /** 閮ㄩ棬Id */ - departmentId?: number; - /** 鏁版嵁鑼冨洿 鍏ㄩ儴鏁版嵁锛�100 涓汉鏁版嵁锛�10 */ - dataRange?: number; - /** 璐﹀彿鏁伴噺 */ - userCount?: number; - /** 澶囨敞 */ - remark?: string; - } - - interface RoleInfoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: RoleInfo[]; - } - - interface SendPasswordResetCodeDto { - email: string; - appName: string; - returnUrl?: string; - returnUrlHash?: string; - } - - interface SendPhoneMessageBaseInput { - messageType?: string; - phoneNumber: string; - } - - interface SetMyModule { - moduleId?: string; - sequence?: number; - } - - interface SetMyModuleInput { - moduleIds?: SetMyModule[]; - } - - interface SetRoleUserInput { - userId?: string[]; - roleId?: string; - } - - interface SetUserRoleInput { - userId?: string; - roleName?: string[]; - extendId?: string; - type?: number; - } - - interface SetVersionModuleInput { - versionId: string; - modules: ModuleTypeInfo[]; - } - - interface TenantDto { - extraProperties?: Record<string, any>; - id?: string; - name?: string; - } - - interface TenantDtoPagedResultDto { - items?: TenantDto[]; - totalCount?: number; - } - - interface TimeZone { - iana?: IanaTimeZone; - windows?: WindowsTimeZone; - } - - interface TimingDto { - timeZone?: TimeZone; - } - - interface TypeApiDescriptionModel { - baseType?: string; - isEnum?: boolean; - enumNames?: string[]; - enumValues?: any[]; - genericArguments?: string[]; - properties?: PropertyApiDescriptionModel[]; - } - - interface UpdateAccountInput { - id?: string; - /** 鍚嶇О */ - name?: string; - /** 鐢ㄦ埛鍚� */ - userName: string; - /** 澶囨敞 */ - remark?: string; /** 瀵嗙爜 */ - password?: string; - /** 鎵嬫満鍙� */ - phoneNumber?: string; - /** 娓犻亾 */ - channel?: string; - /** 瑙掕壊 */ - roleNames?: string[]; + password: string; + type?: EnumUserType; + clientType?: EnumClientType; } - interface UpdateFeatureDto { - name?: string; - value?: string; + enum EnumClientType { + /**鐢佃剳缃戦〉 */ + PcWeb = 10, + /**寰俊灏忕▼搴� */ + Wxmp = 20, } - interface UpdateFeaturesDto { - features?: UpdateFeatureDto[]; + enum EnumMenuType { + /**鑿滃崟 */ + Menu = 10, + /**椤甸潰 */ + Page = 20, + /**妯℃�佹 */ + Modal = 30, + /**鎸夐挳 */ + Button = 40, + /**瀛楁 */ + Field = 50, } - interface UpdateInsuranceClaimInput { - /** 娓犻亾 */ - channel?: string; - /** 濮撳悕 */ - name: string; - /** 韬唤璇佸彿 */ - idNumber: string; - /** 宸ョ */ - workType: string; - /** 鍔冲姩鍚堝悓鍗曚綅 */ - laborContractEnterprise: string; - /** 瀹為檯宸ヤ綔鍗曚綅 */ - workEnterprise: string; - /** 淇濋櫓璧峰鏃堕棿 */ - insuranceBeginTime: string; - /** 淇濋櫓缁撴潫鏃堕棿 */ - insuranceEndTime: string; - /** 鍙備繚鏈烘瀯 */ - insuredInstitution: string; - /** 鎶曚繚鏂规 */ - insuranceScheme: string; - /** 鍦ㄨ亴鏍囪瘑 */ - onJobFlag?: string; - /** 鎬у埆 */ - gender?: string; - /** 骞撮緞 */ - age?: number; - /** 淇濊垂閲戦 */ - premiumAmount?: number; - /** 澧炲噺璐圭敤 */ - incDecAmount?: number; - /** 淇濆崟id */ - insuranceOrderId?: string; - /** 鎶ユ鏃堕棿 */ - reportedTime: string; - /** 鑱旂郴鐢佃瘽 */ - contactNumber: string; - /** 澶囩敤鑱旂郴鐢佃瘽 */ - bakContactNumber?: string; - /** 浜嬫晠绫诲瀷 */ - accidentType: string; - /** 浜嬫晠鍙戠敓鏃堕棿 */ - accidentTime: string; - /** 浼ゆ畫姣斾緥 */ - disabilityRatio?: number; - /** 浜嬪彂鍦扮偣 */ - accidentAddress: string; - /** 浜嬫晠缁忚繃 */ - accidentProcess: string; - claimResult?: InsuranceClaimResultEnum; - /** 涓嬫閲戦 */ - downPaymentAmount?: number; - /** 鐞嗚禂缁撴灉鏃堕棿 */ - claimResultTime?: string; - /** 闄勪欢闆嗗悎 */ - attachments?: AddInsuranceClaimAttachmentInput[]; + enum EnumMenuVisitLevel { + /**鎵�鏈変汉 */ + Everyone = 10, + /**闇�瑕佺櫥褰� */ + NeedLogin = 20, + /**闇�瑕佹潈闄� */ + NeedPower = 30, + } + + enum EnumUserType { + /**涓汉 */ + Personal = 10, + /**浼佷笟 */ + Enterprise = 20, + /**杩愯惀 */ + Operation = 100, + } + + interface FriendlyResultAuthPasswordLoginCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + data?: AuthPasswordLoginCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + errors?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultGuid { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 鏁版嵁 */ + data?: string; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + errors?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultMenuListCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + data?: MenuListCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + errors?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultMenuSubListCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + data?: MenuSubListCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + errors?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface MenuListCallback { + items?: MenuListCallbackItem[]; + } + + interface MenuListCallbackItem { + /** Id */ id?: string; - } - - interface UpdatePassWordInput { - id?: string; - passWord?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 鑿滃崟璺緞 */ + path?: string; + /** 缂栧彿 */ code?: string; - } - - interface UpdatePassWordInputWithNoCode { - id?: string; - passWord?: string; - } - - interface UpdatePermissionDto { - name?: string; - isGranted?: boolean; - } - - interface UpdatePermissionsDto { - permissions?: UpdatePermissionDto[]; - } - - interface UpdateProfileDto { - extraProperties?: Record<string, any>; - userName?: string; - email?: string; - name?: string; - surname?: string; - phoneNumber?: string; - } - - interface UserData { - id?: string; - tenantId?: string; - userName?: string; - name?: string; - surname?: string; - email?: string; - emailConfirmed?: boolean; - phoneNumber?: string; - phoneNumberConfirmed?: boolean; - sex?: number; - clientId?: string; - creationTime?: string; - lockoutEnd?: string; - extraProperties?: Record<string, any>; - lockoutEnabled?: boolean; - } - - interface UserDataListResultDto { - items?: UserData[]; - } - - interface UserDetailOutput { - id?: string; /** 鍚嶇О */ name?: string; - /** 鐢ㄦ埛鍚� */ - userName?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁闅愯棌 */ + isHidden?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; /** 澶囨敞 */ remark?: string; - /** 鎵嬫満鍙� */ - phoneNumber?: string; - /** 娓犻亾 */ - channel?: string; - /** 鐢ㄦ埛绔疘d */ - clientId?: string; - /** 瑙掕壊 */ - roleNames?: string[]; } - interface UserListOutput { + interface MenuListQuery { + /** 涓婄骇Id */ + parentId?: string; + /** 鍏抽敭瀛� */ + keywords?: string; + } + + interface MenuSaveCommand { + /** Id */ id?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code: string; + /** 鍚嶇О */ + name: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍒楀锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁闅愯棌 */ + isHidden?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface MenuSubListCallback { + groups?: MenuSubListCallbackGroup[]; + } + + interface MenuSubListCallbackGroup { /** 鍚嶇О */ name?: string; - /** 鐢ㄦ埛鍚� */ - userName?: string; + /** 鎸夐挳 */ + buttons?: MenuSubListCallbackItem[]; + /** 瀛楁 */ + fields?: MenuSubListCallbackItem[]; + } + + interface MenuSubListCallbackItem { + /** Id */ + id?: string; + /** 涓婄骇Id */ + parentId?: string; + /** 鑿滃崟璺緞 */ + path?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍒楀锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁闅愯棌 */ + isHidden?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; /** 澶囨敞 */ remark?: string; - /** 鎵嬫満鍙� */ - phoneNumber?: string; - /** 娓犻亾 */ - channel?: string; - /** 鐢ㄦ埛绔疘d */ - clientId?: string; - /** 瑙掕壊 */ - roleNames?: string[]; } - interface UserListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: UserListOutput[]; - } - - interface VersionCache { - name?: string; - departmentCount?: number; - apiCount?: number; - remark?: string; - } - - interface VersionCreate { - name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; - remark?: string; - } - - interface VersionDto { - id?: string; - name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; - } - - interface VersionDtoPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: VersionDto[]; - } - - interface VersionUpdateInput { - id?: string; - name?: string; - departmentCount?: number; - apiCount?: number; - remark?: string; - sequence?: number; - } - - interface WindowsTimeZone { - timeZoneId?: string; + interface MenuSubListQuery { + /** 涓婄骇Id */ + parentId?: string; } } -- Gitblit v1.9.1