From 9d8ef3a592b3102c8d4133e601b31aacb91866f6 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期二, 05 八月 2025 10:34:54 +0800 Subject: [PATCH] fix: 修改功能模块 --- src/services/api/typings.d.ts | 2085 ++++++++++++++++++----------------------------------------- 1 files changed, 636 insertions(+), 1,449 deletions(-) diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts index efb90c7..d97b45f 100644 --- a/src/services/api/typings.d.ts +++ b/src/services/api/typings.d.ts @@ -3,1048 +3,344 @@ [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 ActionApiDescriptionModel { - uniqueName?: string; - name?: string; - httpMethod?: string; - url?: string; - supportedVersions?: string[]; - parametersOnMethod?: MethodParameterApiDescriptionModel[]; - parameters?: ParameterApiDescriptionModel[]; - returnValue?: ReturnValueApiDescriptionModel; - allowAnonymous?: boolean; - implementFrom?: string; - } - - interface AddEidtFlexTaskInput { - taskId?: string; - taskName?: string; - feeType?: FlexTaskFeeTypeEnum; - /** 鏈嶅姟璐� 鍏�/鏈� */ - fee?: number; - settleType?: FlexTaskSettleTypeEnum; - /** 绂忓埄Id */ - listAideIds?: string[]; - minAge?: number; - maxAge?: number; - sexType?: GenderTypeEnum; - /** 璇佷功Id */ - listCertionIds?: string[]; - provinceId?: string; - cityId?: string; - areaId?: string; - address?: string; - startDate?: string; - endDate?: string; - } - - interface AllSubModule { - pageButton?: ModuleButtonDto[]; - dataButton?: ModuleButtonDto[]; - column?: ModuleColumnDto[]; - } - - interface AnyUserByPhoneNumberInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface APIaddOrEditModuleStatusParams { + interface APIgetMenuParams { + /** Id */ id?: string; - isMenu?: number; - enabledMark?: number; - isCache?: boolean; + /** 瑙掕壊Id */ + roleId?: string; } - interface APIapiDefinitionParams { - includeTypes?: boolean; + interface APIgetMenusParams { + /** 鐢ㄦ埛绫诲瀷 */ + userType?: EnumUserType; + /** 瀹㈡埛绔被鍨� */ + clientType?: EnumClientType; + /** 瑙掕壊Id */ + roleId?: string; } - interface APIcreateParams { - systemEmail: string; - systemPassword: string; - versionId?: string; - systemUserName: string; - systemName: string; - name: string; - extraProperties?: Record<string, any>; - } - - interface APIdeleteDefaultConnectionStringParams { + interface APIgetResourceFieldsParams { + /** Id */ id?: string; } - interface APIdeleteFlexTaskParams { + interface APIgetResourcesParams { + /** 璇锋眰鏂瑰紡 */ + method?: EnumResourceMethod; + /** 鍏抽敭瀛� */ + keywords?: string; + /** 瑙掕壊Id */ + roleId?: string; + } + + interface APIgetRoleParams { + /** Id */ id?: string; } - interface APIdeleteModuleButtonParams { - id?: string; + interface DeleteMenuCommand { + ids: string[]; } - interface APIdeleteModuleColumnParams { - id?: string; + interface DeleteRoleCommand { + ids: string[]; } - interface APIdeleteModuleParams { - id?: string; + enum EnumClientType { + /**鐢佃剳缃戦〉 */ + PcWeb = 10, + /**寰俊灏忕▼搴� */ + Wxmp = 20, } - interface APIdeleteRoleParams { - id?: string; + enum EnumMenuType { + /**鑿滃崟 */ + Menu = 10, + /**椤甸潰 */ + Page = 20, + /**妯℃�佹 */ + Modal = 30, + /**鎸夐挳 */ + Button = 40, + /**瀛楁 */ + Field = 50, } - interface APIdeleteTenantParams { - id?: string; + enum EnumMenuVisitLevel { + /**鎵�鏈変汉 */ + Everyone = 10, + /**闇�瑕佺櫥褰� */ + NeedLogin = 20, + /**闇�瑕佹潈闄� */ + NeedPower = 30, } - interface APIdeleteUserParams { - id?: string; + enum EnumPagedListOrder { + /**鍗囧簭 */ + Ascending = 0, + /**闄嶅簭 */ + Descending = 1, } - interface APIdetailParams { - id?: string; + enum EnumResourceController { + /**鏁版嵁瀛楀吀 */ + Dictionary = 0, + /**鐢ㄦ埛璁よ瘉 */ + Auth = 1, + /**鐢ㄦ埛鑿滃崟 */ + Menu = 2, + /**鐢ㄦ埛璧勬簮 */ + Resource = 3, + /**鐢ㄦ埛瑙掕壊 */ + Role = 4, } - interface APIfindByEmailParams { - email?: string; + enum EnumResourceMethod { + /**鏌ヨ */ + Get = 10, + /**鎻愪氦 */ + Post = 20, + /**淇敼 */ + Put = 30, + /**鍒犻櫎 */ + Delete = 40, } - interface APIfindByIdParams { - id?: string; + enum EnumRoleWebApiDataPower { + /**鑷畾涔� */ + Custom = 1, + /**鏌ヨ涓汉鍒涘缓鏁版嵁 */ + Creator = 10, + /**鏌ヨ褰撳墠閮ㄩ棬鏁版嵁 */ + CurrentDepartment = 20, + /**鏌ヨ褰撳墠鍙婁笅绾ч儴闂ㄦ暟鎹� */ + NestingDepartment = 21, + /**鏌ヨ褰撳墠浼佷笟鎵�鏈夋暟鎹� */ + CurrentEnterprise = 30, + /**鏌ヨ鎵�鏈� */ + All = 999, } - interface APIfindByUsernameParams { - userName?: string; + enum EnumUserType { + /**涓汉 */ + Personal = 10, + /**浼佷笟 */ + Enterprise = 20, + /**杩愯惀 */ + Operation = 100, } - interface APIfindByUserNameParams { - userName?: string; + interface FriendlyResultGetAliyunOSSAcsQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetAliyunOSSAcsQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIforbiddenRoleParams { - roleName?: string; - permissionName?: string; + interface FriendlyResultGetMenuQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetMenuQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIforbiddenUserParams { - userId?: string; - permissionName?: string; + interface FriendlyResultGetRoleQueryResult { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: GetRoleQueryResult; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetAllSubModuleParams { - moduleId?: string; + interface FriendlyResultGuid { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: string; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetCountParams { - filter?: string; + interface FriendlyResultInt32 { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: number; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetCurrentSubModuleListParams { - moduleId?: string; + interface FriendlyResultListGetMenusQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetMenusQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetDefaultConnectionStringParams { - id?: string; + interface FriendlyResultListGetResourceFieldsQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourceFieldsQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetFirstCurrentUserModuleListCacheByModuleIdParams { - moduleId?: string; + interface FriendlyResultListGetResourcesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + /** 鏁版嵁 */ + data?: GetResourcesQueryResultItem[]; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetFlexTaskDtoParams { - id?: string; + interface FriendlyResultPagedListQueryResultGetDictionaryDatasQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetDictionaryDatasQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetListParams { - filter?: string; - clientId?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; + interface FriendlyResultPagedListQueryResultGetRolesQueryResultItem { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PagedListQueryResultGetRolesQueryResultItem; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetListParams { - filter?: string; - sorting?: string; - skipCount?: number; - maxResultCount?: number; + interface FriendlyResultPasswordLoginCommandCallback { + /** 璺熻釜Id */ + traceId?: string; + /** 鐘舵�佺爜 */ + code?: number; + /** 閿欒鐮� */ + errorCode?: string; + data?: PasswordLoginCommandCallback; + /** 鎵ц鎴愬姛 */ + success?: boolean; + /** 閿欒淇℃伅 */ + msg?: any; + /** 闄勫姞鏁版嵁 */ + extras?: any; + /** 鏃堕棿鎴� */ + timestamp?: number; } - interface APIgetParams { - providerName?: string; - providerKey?: string; - } + type GetAliyunOSSAcsQuery = Record<string, any>; - interface APIgetParams { - id?: string; - } - - interface APIgetParams { - id?: string; - } - - interface APIgetParams { - providerName?: string; - providerKey?: string; - } - - interface APIgetParams { - id?: string; - } - - interface APIgetPreViewCacheParams { - id?: string; - } - - interface APIgetQrCodeLoginResultParams { - /** 鎵爜鐧诲綍Id */ - uId?: string; - } - - interface APIgetRolesIdRolesParams { - id: string; - } - - interface APIgetUserListByPhoneNumberParams { - phoneNumber?: string; - clientId?: string; - } - - interface APIgetUserOrRoleModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetUserOrRoleSubModuleListParams { - id?: string; - objectType?: number; - } - - interface APIgetUserResumeCertificateDetailByIdParams { - id?: string; - } - - interface APIgetVersionModuleListParams { - versionId?: string; - } - - interface APIgetVersionSubModuleParams { - versionId?: string; - } - - interface APIgetWxIndentityParams { - /** 鐢ㄦ埛鐧诲綍鍑瘉 */ - code?: string; - wxMiniApp?: WxMiniAppEnum; - } - - interface APIisRepeatByPhoneNumberParams { - phoneNumber?: 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 APIvatLicenseParams { - url?: string; - } - - interface APIwxMiniAppUserLoginParams { - /** 鐢ㄦ埛鐧诲綍鍑瘉 */ - code?: string; - wxMiniApp?: WxMiniAppEnum; - } - - 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 ChangePasswordFromCurrentPwdInput { - /** 鏂板瘑鐮� */ - newPassword?: string; - userId?: string; - /** 褰撳墠瀵嗙爜 */ - currentPassword: string; - } - - interface ChangePasswordFromPhoneNumberInput { - /** 鏂板瘑鐮� */ - newPassword?: string; - userId?: string; - /** 鐭俊楠岃瘉鐮� */ - verificationCode: string; - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface ChangePasswordInput { - currentPassword?: string; - newPassword: string; - } - - interface ChangePhoneNumberInput { - userId?: string; - /** 鏂版墜鏈哄彿 */ - newPhoneNumber: string; - } - - interface ChangeSortInput { - id1?: string; - sortCode1?: number; - id2?: string; - sortCode2?: number; - type?: number; - } - - interface ChangeUserNameInput { - /** 鏂拌处鍙� */ - newUserName?: string; - /** 鐢ㄦ埛id */ - userId?: string; - } - - interface ChangeUserPhoneNumberForUserInput { - userId?: string; - /** 鏂版墜鏈哄彿 */ - newPhoneNumber: string; - /** 褰撳墠瀵嗙爜 */ - currentPassword: string; - /** 鐭俊楠岃瘉鐮� */ - verificationCode: string; - } - - interface CheckLoginVerificationCodeInput { - messageType?: string; - phoneNumber: string; - verificationCode?: string; - } - - interface ClockDto { - kind?: string; - } - - interface ConditionInfo { - id?: string; - name?: string; - sort?: number; - } - - interface ControllerApiDescriptionModel { - controllerName?: string; - controllerGroupName?: string; - type?: string; - interfaces?: ControllerInterfaceApiDescriptionModel[]; - actions?: Record<string, any>; - } - - interface ControllerInterfaceApiDescriptionModel { - type?: string; - } - - interface CreateOrEditSearchInput { - id?: string; - parentId?: string; - searchType: number; - belongType?: number; - name: string; - sort: number; - status: boolean; - src?: string; - isRecommend?: boolean; - } - - 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 EnableSearchSettingInput { - id: string; - status: boolean; - } - - 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 FlexTaskAideDto { - id?: string; - aideType?: FlexTaskAideEnum; - name?: string; - } - - type FlexTaskAideEnum = 10 | 20; - - type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40; - - type FlexTaskReleaseStatusEnum = 10 | 20; - - type FlexTaskSettleTypeEnum = 10 | 20 | 30; - - type GenderTypeEnum = 1 | 2; - - interface GenerateUserNameInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface GetFeatureListResultDto { - groups?: FeatureGroupDto[]; - } - - interface GetFlexTaskDtoOutput { - taskId?: string; - taskName?: string; - isArrange?: boolean; - startDate?: string; - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - feeTypeName?: string; - settleType?: FlexTaskSettleTypeEnum; - settleTypeName?: string; - taskWeals?: FlexTaskAideDto[]; - taskCerts?: FlexTaskAideDto[]; - fee?: number; - provinceId?: string; - cityId?: string; - areaId?: string; - provinceName?: string; - cityName?: string; - areaName?: string; - address?: string; - creationDate?: string; - minAge?: number; - maxAge?: number; - sexType?: GenderTypeEnum; - } - - interface GetFlexTaskListByStatusInput { - pageModel?: Pagination; - releaseStatus?: FlexTaskReleaseStatusEnum; - } - - interface GetFlexTaskListInput { - pageModel?: Pagination; - /** 鏄惁宸插畨鎺掍换鍔� */ - isArrange?: boolean; - /** 鏄惁宸查獙鏀� */ - isOverCheck?: boolean; - } - - interface GetFlexTaskListOutput { - taskId?: string; - taskName?: string; - isArrange?: boolean; - startDate?: string; - endDate?: string; - feeType?: FlexTaskFeeTypeEnum; - feeTypeName?: string; - settleType?: FlexTaskSettleTypeEnum; - settleTypeName?: string; - fee?: number; - provinceName?: string; - cityName?: string; - areaName?: string; - address?: string; - applyWorkerCount?: number; - creationDate?: string; - } - - interface GetFlexTaskListOutputPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetFlexTaskListOutput[]; - } - - interface GetPermissionListResultDto { - entityDisplayName?: string; - groups?: PermissionGroupDto[]; - } - - interface GetSearchSettingList { - id?: string; - parentId?: string; - parentName?: string; - belongType?: number; - name?: string; - sort?: number; - status?: boolean; - clickCount?: number; - src?: string; - isRecommend?: boolean; - } - - interface GetSearchSettingListInput { - pageModel?: Pagination; - searchType: number; - belongType?: number; - name?: string; - isRecommend?: boolean; - status?: boolean; - parentId?: string; - } - - interface GetSearchSettingListPageOutput { - pageModel?: Pagination; - objectData?: any; - data?: GetSearchSettingList[]; - } - - interface GetTypeSearchSettingList { - id?: string; - name?: string; - src?: string; - } - - interface GetTypeSearchSettingListInput { - searchType: number; - belongType?: number; - } - - 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 IdNameOutput { - id?: string; - name?: 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 LicenseOcrModel { - name?: string; - cardNum?: string; - address?: string; - type?: string; - dateFrom?: string; - dateTo?: string; - societyCode?: string; - registerMoney?: string; - businessRange?: string; - legalPerson?: 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 MyResumeOutput { - resumeBaseInfo?: UserResumeBaseInfoOutput; - resumeExpectationJob?: UserResumeExpectationJobOutput; - } - - 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 { + interface GetAliyunOSSAcsQueryResult { expiration?: string; ossAccessSecret?: string; ossAccessKeyId?: string; @@ -1052,508 +348,399 @@ requestId?: string; } - interface PageInput { - pageModel?: Pagination; + 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; + /** 鑿滃崟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; + } + + 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 { - /** 鐧诲綍鍚� */ - loginName: string; - /** 鐧诲綍瀵嗙爜 */ + interface PasswordLoginCommand { + /** 璐﹀彿 */ + userName: string; + /** 瀵嗙爜 */ password: string; + type?: EnumUserType; + clientType?: EnumClientType; } - interface PermissionGrantInfoDto { + interface PasswordLoginCommandCallback { + /** 鐢ㄦ埛璁块棶浠ょ墝 */ + accessToken?: string; + /** 鍒锋柊浠ょ墝 */ + refreshToken?: string; + } + + interface SaveMenuButtonCommand { + /** Id */ + id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - displayName?: string; - parentName?: string; - isGranted?: boolean; - allowedProviders?: string[]; - grantedProviders?: ProviderInfoDto[]; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; } - interface PermissionGroupDto { + interface SaveMenuCommand { + /** Id */ + id?: string; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 涓婄骇Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - displayName?: string; - permissions?: PermissionGrantInfoDto[]; - } - - interface PhoneMesssageCodeLoginInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - /** 楠岃瘉鐮� */ - code: string; - type?: UserTypeEnum; - } - - interface PhoneMesssageCodeRegisterInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - /** 楠岃瘉鐮� */ - code: string; - type?: UserTypeEnum; - } - - 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 QrCodeLogin { - /** 鎵爜鐧诲綍Id */ - uId?: string; - /** 浜岀淮鐮佸湴鍧� */ + type?: EnumMenuType; + visitLevel?: EnumMenuVisitLevel; + /** 鍥炬爣 */ + icon?: string; + /** 閾炬帴鍦板潃 */ url?: string; + /** 鏄惁绂佺敤 */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨 */ + isCache?: boolean; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; + /** 鍒嗙粍 */ + groups?: SaveMenuCommandGroup[]; } - interface RegisterDto { - extraProperties?: Record<string, any>; - userName: string; - emailAddress: string; - sex?: number; - password: string; - appName: string; - } - - interface RemoteServiceErrorInfo { + interface SaveMenuCommandButton { + /** Id */ + id?: string; + /** 缂栧彿 */ code?: string; - message?: string; - details?: string; - data?: Record<string, any>; - validationErrors?: RemoteServiceValidationErrorInfo[]; - } - - interface RemoteServiceErrorResponse { - error?: RemoteServiceErrorInfo; - } - - interface RemoteServiceValidationErrorInfo { - message?: string; - members?: string[]; - } - - interface ResetPasswordBaseInput { - userId?: string; - } - - interface ResetPasswordDto { - userId?: string; - resetToken: string; - password: string; - } - - interface ResetPassWordInput { - userId?: string; + /** 鍚嶇О */ name?: string; - userName?: string; - phoneNumber?: string; - password?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ + remark?: string; } - interface ReturnValueApiDescriptionModel { - type?: string; - typeSimple?: string; + interface SaveMenuCommandButtonLocation { + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鎸夐挳 */ + buttons?: SaveMenuCommandButton[]; } - interface SaveUserResumeBaseInfoInput { - name?: string; - socialIdentity?: string; - educationalLevel?: string; - residentProvinceCode?: number; - residentCityCode?: number; - residentProvinceName?: string; - residentCityName?: string; - } - - interface SaveUserResumeCertificateInput { + interface SaveMenuCommandField { + /** Id */ id?: string; - certificateTypeId?: string; - certificateNo?: string; - beginTime?: string; - endTime?: string; - isPermanent?: boolean; - certificateUnit?: string; - certificateFrontImgUrl?: string; - certificateBackImgUrl?: string; - } - - interface SaveUserResumeDetailInfoInput { - lifeCircleImgUrlList?: string[]; - height?: string; - weight?: string; - } - - interface SaveUserResumeExpectationJobInput { - jobIdList?: string[]; - freeTime?: UserResumeFreeTimeEnum; - jobSeekingStatus?: UserResumeJobSeekingStatusEnum; - } - - interface SaveUserResumeWorkExperienceInput { - workingSeniority?: string; - workExperience?: string; - } - - interface SearchConditionList { - searchType?: number; - belongType?: number; - conditionList?: ConditionInfo[]; - } - - interface SendPasswordResetCodeDto { - email: string; - appName: string; - returnUrl?: string; - returnUrlHash?: string; - } - - interface SendPhoneMessageBaseInput { - messageType?: string; - phoneNumber: string; - } - - interface SendPhoneMesssageCodeInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - } - - interface SendPhoneVerificationCodeByBusinessTypeInput { - /** 鎵嬫満鍙� */ - phoneNumber: string; - businessType?: VerificationCodeBusinessTypeEnum; - } - - interface SetMyModule { - moduleId?: string; - sequence?: number; - } - - interface SetMyModuleInput { - moduleIds?: SetMyModule[]; - } - - interface SetPreViewCacheInput { - preViewData?: string; - } - - 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 UnbindingUserPhoneNumber { - userId?: string; - } - - interface UpdateFeatureDto { - name?: string; - value?: string; - } - - interface UpdateFeaturesDto { - features?: UpdateFeatureDto[]; - } - - interface UpdatePassWordInput { - id?: string; - passWord?: 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 UpdateTaskReleaseStatusInput { - taskId?: string; - releaseStatus?: FlexTaskReleaseStatusEnum; - } - - 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 UserResumeBaseInfoOutput { - name?: string; - phoneNumber?: string; - socialIdentity?: string; - socialIdentityName?: string; - educationalLevel?: string; - educationalLevelName?: string; - residentProvinceCode?: number; - residentCityCode?: number; - residentProvinceName?: string; - residentCityName?: string; - } - - interface UserResumeCertificateDetailOutput { - id?: string; - userResumeId?: string; - certificateTypeId?: string; - certificateNo?: string; - beginTime?: string; - endTime?: string; - isPermanent?: boolean; - certificateUnit?: string; - certificateFrontImgUrl?: string; - certificateBackImgUrl?: string; - } - - interface UserResumeCertificateListOutput { - id?: string; - certificateTypeId?: string; - certificateTypeName?: string; - userResumeId?: string; - } - - interface UserResumeDetailInfoOutput { - height?: string; - weight?: string; - lifeCircleImgUrlList?: string[]; - } - - interface UserResumeExpectationJobOutput { - jobIdList?: IdNameOutput[]; - freeTime?: UserResumeFreeTimeEnum; - jobSeekingStatus?: UserResumeJobSeekingStatusEnum; - } - - type UserResumeFreeTimeEnum = 1 | 2 | 3 | 4 | 5; - - type UserResumeJobSeekingStatusEnum = 1 | 2 | 3; - - interface UserResumeWorkExperienceOutput { - workingSeniority?: string; - workExperience?: string; - } - - type UserTypeEnum = 1 | 2; - - type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920; - - interface VersionCache { - name?: string; - departmentCount?: number; - apiCount?: number; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ remark?: string; } - interface VersionCreate { + interface SaveMenuCommandGroup { + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 鎸夐挳浣嶇疆 */ + buttonLocations?: SaveMenuCommandButtonLocation[]; + /** 瀛楁 */ + fields?: SaveMenuCommandField[]; + } + + interface SaveMenuFieldCommand { + /** Id */ + id?: string; + /** 鑿滃崟Id */ + parentId?: string; + /** 缂栧彿 */ + code?: string; + /** 鍚嶇О */ name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; + /** 鍒嗙粍鍚嶇О锛堢敤浜庢寜閽�/瀛楁锛� */ + group?: string; + /** 浣嶇疆锛堢敤浜庢寜閽級 */ + location?: string; + /** 鍥炬爣 */ + icon?: string; + /** 瀹藉害锛堢敤浜庢寜閽�/鍒�/鍏冪礌锛� */ + width?: string; + /** 鎺掑簭 */ + sort?: number; + /** 澶囨敞 */ remark?: string; } - interface VersionDto { + interface SaveRoleCommand { + /** Id */ id?: string; + /** 鍚嶇О */ name?: string; - departmentCount?: number; - apiCount?: number; - sequence?: number; + userType?: EnumUserType; + clientType?: EnumClientType; + /** 鏈�浣庣骇鍒� */ + minLevel?: number; + /** 鑿滃崟Id */ + menuIds?: string[]; + /** 璧勬簮 */ + resources?: GetRoleQueryResultResource[]; } - 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; - } - - type WxMiniAppEnum = 10; - - interface WxMiniAppIndentityInfo { - /** 浼氳瘽瀵嗛挜 */ - sessionKey?: string; - /** 灏忕▼搴廜penId */ - openId?: string; - /** 鐢ㄦ埛鍚嶏紙璇ュ�间负绌哄垯闇�鎵嬫満鎺堟潈鐧诲綍锛屼笉涓虹┖鍒欏凡鏈夎灏忕▼搴忕敤鎴凤級 */ - userName?: string; - } - - interface WxMiniAppLoginInfo { - /** 鐘舵�侊細-10锛氫簩缁寸爜杩囨湡/鐧诲綍鏃舵晥杩囨湡锛�0锛氱櫥褰曞垵濮�/浜岀淮鐮佸垵鐢熸垚锛�10锛氱櫥褰曠‘璁� */ - status?: number; - /** 鐢ㄦ埛鍚� */ - userName?: string; - accessToken?: IdentityModelTokenCacheItem; - } - - interface WxMiniAppPhoneAuthLoginFromScanInput { - /** 锛堟壂鐮侊級鐧诲綍Id */ - uId: string; - /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */ - encryptedData: string; - /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */ - iv: string; - /** 鑾峰彇浼氳瘽瀵嗛挜 */ - sessionKey: string; - /** 灏忕▼搴廜penId */ - openId: string; - wxMiniApp?: WxMiniAppEnum; - } - - interface WxMiniAppPhoneLoginInput { - /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */ - encryptedData: string; - /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */ - iv: string; - /** 鑾峰彇浼氳瘽瀵嗛挜 */ - sessionKey: string; - /** 灏忕▼搴廜penId */ - openId: string; - wxMiniApp?: WxMiniAppEnum; - } - - interface WxMiniAppUserLoginFromScanInput { - /** 锛堟壂鐮侊級鐧诲綍Id */ - uId: string; - /** 鐢ㄦ埛鍚� */ - userName: string; - /** 灏忕▼搴廜penId */ - openId: string; + interface SetMenuSwitchCommand { + /** Id */ + ids?: string[]; + type?: EnumMenuType; + /** 鏄惁绂佺敤锛坣ull鏃朵笉鏇存柊锛� */ + isDisabled?: boolean; + /** 鏄惁缂撳瓨锛坣ull鏃朵笉鏇存柊锛� */ + isCache?: boolean; } } -- Gitblit v1.9.1