From 8e94e3f60a91e536d69e643b4dc13804b79370bc Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期二, 05 八月 2025 17:40:06 +0800 Subject: [PATCH] feat: 页面 --- src/services/api/typings.d.ts | 2199 +++++++++++++++++----------------------------------------- 1 files changed, 665 insertions(+), 1,534 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index f04a84b..5773566 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -3,1141 +3,349 @@ [key: string]: any; } - interface AccessRefreshToken { - refreshToken?: string; - clientId?: string; + interface APIgetAliyunOSSAcsParams { + /** 鑾峰彇闃块噷浜慜SS鎺堟潈淇℃伅 */ + request?: GetAliyunOSSAcsQuery; } - interface AccessRequestDto { - clientId?: string; - userName?: string; - userPassword?: string; - scope?: string; + interface APIgetCurrentLogierMenusParams { + /** 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛鑿滃崟 */ + request?: GetCurrentLogierMenusQuery; } - 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 { + interface APIgetMenuParams { + /** Id */ 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 */ + roleId?: string; + } + + interface APIgetMenusParams { + /** 鐢ㄦ埛绫诲瀷 */ + userType?: EnumUserType; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetResourceFieldsParams { + /** Id */ id?: string; } - interface CurrentCultureDto { - displayName?: string; - englishName?: string; - threeLetterIsoLanguageName?: string; - twoLetterIsoLanguageName?: string; - isRightToLeft?: boolean; - cultureName?: string; - name?: string; - nativeName?: string; - dateTimeFormat?: DateTimeFormatDto; + interface APIgetResourcesParams { + /** 璇锋眰鏂瑰紡 */ + method?: EnumResourceMethod; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 瑙掕壊Id */ + roleId?: string; } - 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 { + interface APIgetRoleParams { + /** Id */ id?: string; } - interface KeyPageInput { - pageModel?: Pagination; - id?: string; + interface DeleteMenuCommand { + ids: string[]; } - interface LanguageInfo { - cultureName?: string; - uiCultureName?: string; - displayName?: string; - flagIcon?: string; + interface DeleteRoleCommand { + ids: string[]; } - interface LocalizableStringDto { - name?: string; - resource?: string; + enum EnumClientType { + /**鐢佃剳缃戦〉 */ + PcWeb = 10, + /**寰俊灏忕▼搴� */ + Wxmp = 20, } - interface MethodParameterApiDescriptionModel { - name?: string; - typeAsString?: string; - type?: string; - typeSimple?: string; - isOptional?: boolean; - defaultValue?: any; + enum EnumMenuType { + /**鑿滃崟 */ + Menu = 10, + /**椤甸潰 */ + Page = 20, + /**妯℃�佹 */ + Modal = 30, + /**鎸夐挳 */ + Button = 40, + /**瀛楁 */ + Field = 50, } - interface ModuleApiDescriptionModel { - rootPath?: string; - remoteServiceName?: string; - controllers?: Record<string, any>; + enum EnumMenuVisitLevel { + /**鎵�鏈変汉 */ + Everyone = 10, + /**闇�瑕佺櫥褰� */ + NeedLogin = 20, + /**闇�瑕佹潈闄� */ + NeedPower = 30, } - interface ModuleButtonDto { - id?: string; - moduleId?: string; - parentId?: string; - icon?: string; - enCode?: string; - name?: string; - actionAddress?: string; - sortCode?: number; - buttonType?: number; - hasCheck?: boolean; + enum EnumPagedListOrder { + /**鍗囧簭 */ + Asc = 0, + /**闄嶅簭 */ + Desc = 1, } - 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; + enum EnumResourceController { + /**鏁版嵁瀛楀吀 */ + Dictionary = 0, + /**鐢ㄦ埛璁よ瘉 */ + Auth = 1, + /**鐢ㄦ埛鑿滃崟 */ + Menu = 2, + /**鐢ㄦ埛璧勬簮 */ + Resource = 3, + /**鐢ㄦ埛瑙掕壊 */ + Role = 4, } - 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; + enum EnumResourceMethod { + /**鏌ヨ */ + Get = 10, + /**鎻愪氦 */ + Post = 20, + /**淇敼 */ + Put = 30, + /**鍒犻櫎 */ + Delete = 40, } - interface ModuleExtensionDto { - entities?: Record<string, any>; - configuration?: Record<string, any>; + enum EnumRoleWebApiDataPower { + /**鑷畾涔� */ + Custom = 1, + /**鏌ヨ涓汉鍒涘缓鏁版嵁 */ + Creator = 10, + /**鏌ヨ褰撳墠閮ㄩ棬鏁版嵁 */ + CurrentDepartment = 20, + /**鏌ヨ褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹� */ + NestingDepartment = 21, + /**鏌ヨ褰撳墠浼佷笟鎵�鏈夋暟鎹� */ + CurrentEnterprise = 30, + /**鏌ヨ鎵�鏈� */ + All = 999, } - interface ModuleTypeInfo { - moduleType?: number; - moduleId?: string; + enum EnumUserType { + /**涓汉 */ + Personal = 10, + /**浼佷笟 */ + Enterprise = 20, + /**杩愯惀 */ + Operation = 100, } - interface MultiTenancyInfoDto { - isEnabled?: boolean; + interface FriendlyResultGetAliyunOSSAcsQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetAliyunOSSAcsQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - 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 FriendlyResultGetMenuQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetMenuQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface NameValue { - name?: string; - value?: string; + interface FriendlyResultGetRoleQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetRoleQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface ObjectExtensionsDto { - modules?: Record<string, any>; - enums?: Record<string, any>; + interface FriendlyResultGuid { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: string; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface OrderInput { - property?: string; - order?: OrderTypeEnum; + interface FriendlyResultInt32 { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: number; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - type OrderTypeEnum = 0 | 1; + interface FriendlyResultListGetMenusQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetMenusQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } - interface OssSTSReponse { + interface FriendlyResultListGetResourceFieldsQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourceFieldsQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultListGetResourcesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourcesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetDictionaryDatasQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryDatasQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPagedListQueryResultGetRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetRolesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + interface FriendlyResultPasswordLoginCommandCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PasswordLoginCommandCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; + } + + type GetAliyunOSSAcsQuery = Record<string, any>; + + interface GetAliyunOSSAcsQueryResult { expiration?: string; ossAccessSecret?: string; ossAccessKeyId?: string; @@ -1145,487 +353,410 @@ requestId?: string; } - interface PageInput { - pageModel?: Pagination; + type GetCurrentLogierMenusQuery = Record<string, any>; + + interface GetDictionaryDatasQuery { + pageModel?: PagedListQueryPageModel; } - interface PageUserInput { - pageModel?: Pagination; - key?: string; - roleType?: string; + type GetDictionaryDatasQueryResultItem = Record<string, any>; + + interface GetMenuQueryResult { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 涓婄骇Id */ + parentId?: string; + /** 鑿滃崟璺緞 */ + path?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + /** 鍒嗙粍 */ + groups?: GetMenuQueryResultGroup[]; } - interface Pagination { + interface GetMenuQueryResultButton { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetMenuQueryResultButtonLocation { + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鎸夐挳 */ + buttons?: GetMenuQueryResultButton[]; + } + + interface GetMenuQueryResultField { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetMenuQueryResultGroup { + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 鎸夐挳浣嶇疆 */ + buttonLocations?: GetMenuQueryResultButtonLocation[]; + /** 瀛楁 */ + fields?: GetMenuQueryResultField[]; + } + + interface GetMenusQueryResultItem { + /** Id */ + id?: string; + /** 鏄惁閫夋嫨锛堢敤鎴疯鑹叉巿鏉冿級 */ + isChecked?: boolean; + /** 涓婄骇Id */ + parentId?: string; + /** 涓嬬骇 */ + children?: GetMenusQueryResultItem[]; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鑿滃崟璺緞 */ + path?: string; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface GetResourceFieldsQueryResultItem { + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + } + + interface GetResourcesQueryResultItem { + /** Id */ + id?: string; + /** 鏄惁閫変腑锛堢敤浜庤鑹叉巿鏉冿級 */ + isChecked?: boolean; + controller?: EnumResourceController; + /** 濮旀墭鍚嶇О */ + actionName?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + method?: EnumResourceMethod; + /** 璺敱 */ + route?: string; + /** 璇锋眰绫诲瀷鍚嶇О */ + requestTypeName?: string; + /** 璇锋眰绫诲瀷鍏ㄥ悕 */ + requestTypeFullName?: string; + /** 鍝嶅簲绫诲瀷鍚嶇О */ + responseTypeName?: string; + /** 鍝嶅簲绫诲瀷鍏ㄥ悕 */ + responseTypeFullName?: string; + } + + interface GetRoleQueryResult { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; + } + + interface GetRoleQueryResultResource { + /** 璧勬簮Id */ + resourceId?: string; + dataPower?: EnumRoleWebApiDataPower; + } + + interface GetRolesQuery { + pageModel?: PagedListQueryPageModel; + userType?: EnumUserType; + clientType?: EnumClientType; + } + + interface GetRolesQueryResultItem { + /** Id */ + id?: string; + /** 鍚嶇О */ + name?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; + /** 澶囨敞 */ + remark?: string; + } + + interface PagedListQueryPageModel { + /** 琛屾暟 */ rows?: number; + /** 椤电爜 */ page?: number; - orderInput?: OrderInput[]; + /** 鎺掑簭 */ + orderInput?: PagedListQueryPageModelOrderInput[]; + } + + interface PagedListQueryPageModelOrderInput { + /** 灞炴�� */ + property?: string; + order?: EnumPagedListOrder; + } + + interface PagedListQueryResultGetDictionaryDatasQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetDictionaryDatasQueryResultItem[]; + } + + interface PagedListQueryResultGetRolesQueryResultItem { + pageModel?: PagedListQueryResultPageModel; + /** 鏁版嵁 */ + data?: GetRolesQueryResultItem[]; + } + + interface PagedListQueryResultPageModel { + /** 琛屾暟 */ + rows?: number; + /** 椤电爜 */ + page?: number; + /** 鎺掑簭 */ + orderInput?: PagedListQueryPageModelOrderInput[]; + /** 鎬绘暟 */ 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 PasswordLoginCommand { /** 璐﹀彿 */ - 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; + interface PasswordLoginCommandCallback { + /** 鐢ㄦ埛璁块棶浠ょ墝 */ + accessToken?: string; + /** 鍒锋柊浠ょ墝 */ + refreshToken?: string; } - interface UpdateFeaturesDto { - features?: UpdateFeatureDto[]; - } - - 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[]; + interface SaveMenuButtonCommand { + /** Id */ id?: string; - } - - interface UpdatePassWordInput { - id?: string; - passWord?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; } - interface UpdatePassWordInputWithNoCode { + interface SaveMenuCommand { + /** Id */ id?: string; - passWord?: string; - } - - interface UpdatePermissionDto { + userType?: EnumUserType; + clientType?: EnumClientType; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - isGranted?: boolean; + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ + url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + /** 鍒嗙粍 */ + groups?: SaveMenuCommandGroup[]; } - interface UpdatePermissionsDto { - permissions?: UpdatePermissionDto[]; - } - - interface UpdateProfileDto { - extraProperties?: Record<string, any>; - userName?: string; - email?: string; - name?: string; - surname?: string; - phoneNumber?: string; - } - - interface UserData { + interface SaveMenuCommandButton { + /** Id */ id?: string; - tenantId?: string; - userName?: string; + /** 缂栧彿 */ + code?: 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; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; } - interface UserDataListResultDto { - items?: UserData[]; + interface SaveMenuCommandButtonLocation { + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鎸夐挳 */ + buttons?: SaveMenuCommandButton[]; } - interface UserDetailOutput { + interface SaveMenuCommandField { + /** Id */ + id?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface SaveMenuCommandGroup { + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 鎸夐挳浣嶇疆 */ + buttonLocations?: SaveMenuCommandButtonLocation[]; + /** 瀛楁 */ + fields?: SaveMenuCommandField[]; + } + + interface SaveMenuFieldCommand { + /** Id */ + id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ + name?: string; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + } + + interface SaveRoleCommand { + /** Id */ id?: string; /** 鍚嶇О */ name?: string; - /** 鐢ㄦ埛鍚� */ - userName?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + dataPower?: EnumRoleWebApiDataPower; /** 澶囨敞 */ remark?: string; - /** 鎵嬫満鍙� */ - phoneNumber?: string; - /** 娓犻亾 */ - channel?: string; - /** 鐢ㄦ埛绔疘d */ - clientId?: string; - /** 瑙掕壊 */ - roleNames?: string[]; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; } - interface UserListOutput { - id?: string; - /** 鍚嶇О */ - name?: string; - /** 鐢ㄦ埛鍚� */ - userName?: string; - /** 澶囨敞 */ - 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 SetMenuSwitchCommand { + /** Id */ + ids?: string[]; + type?: EnumMenuType; + /** 鏄惁绂佺敤锛坣ull鏃朵笉鏇存柊锛� */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨锛坣ull鏃朵笉鏇存柊锛� */ + isCache?: boolean; } } -- Gitblit v1.9.1