type ObjectMap = { [key in Key]: Value; }; interface FetchTypes { error: 'error'; success: key; loading: 'loading'; } interface FetchAction { type: key; payload: BO; } declare namespace defs { export class AccountBO { /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** type */ type?: 'PERSONAL' | 'PRODUCE'; /** userId */ userId?: string; /** userName */ userName?: string; } export class AccountSourceVO { /** 是否可同步 */ syncable?: boolean; /** 账号类型 */ type?: string; } export class ActionObjectTreeDTO { /** 采样到的行为数 */ behaviorNumber?: number; /** 采样到的行为数占总数的百分比 */ behaviorNumberPercent?: number; /** 对象属性 */ children?: Array; /** 显示名称 */ displayName?: string; /** 行为ID */ id?: string; /** name */ name?: string; /** 类型 */ type?: string; } export class AddActionCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class AddBehaviorCommand { /** 动作ID */ actionId?: string; /** 增加规则 */ addRuleCommand?: defs.AddRuleCommand; /** 业务线ID */ bizLineId?: string; /** 域ID */ domainId?: string; /** 对象ID */ objectId?: string; } export class AddBizLineCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** domainId */ domainId?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class AddDomainCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class AddFactoryLabelCommand { /** 数据来源设置 */ dataSetDTOS?: Array; /** 工厂标签基本信息 */ factoryLabelCreateProfileDTO?: defs.FactoryLabelCreateProfileDTO; /** 标签生成规则配置 */ labelRuleConfigDTO?: defs.LabelRuleConfigDTO; /** 标签状态 */ labelStatus?: string; } export class AddIdTypeCommand { /** IdType描述 */ desc?: string; /** IdType名 */ idTypeName?: string; } export class AddLabelApproveProcessBO { /** approveId */ approveId?: number; /** comment */ comment?: string; /** targetAccount */ targetAccount?: string; } export class AddLabelCategoryCommand { /** 类目描述 */ desc?: string; /** 类目名称 */ displayName?: string; /** 类目英文名 */ name?: string; /** 提交备注 */ submitComment?: string; } export class AddManualLabelCommand { /** 手工标签信息 */ manualLabelDTOS?: Array; /** 来源表信息 */ sourceTableDTO?: defs.ManualLabelSourceTableDTO; /** 提交备注 */ submitComment?: string; } export class AddObjectCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class AddObjectPropertyCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class AddResourceDTO { /** comment */ comment?: string; /** content */ content?: string; /** contentType */ contentType?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** fullPath */ fullPath?: string; /** name */ name?: string; /** size */ size?: number; } export class AddRuleCommand { /** 发生次数 */ occurrenceCount?: string; /** 行为主体 */ ruleBehaviorSubjects?: Array; /** 规则对象ID */ ruleObjectId?: string; /** 规则对象名 */ ruleObjectName?: string; /** 规则对象属性列表 */ ruleObjectProperties?: Array; /** 调度配置 */ scheduleConfig?: defs.ScheduleConfigDTO; /** 来源表所属业务板块Id, 来源表是逻辑表时必选 */ sourceTableBizUnitId?: string; /** 来源表的筛选条件 */ sourceTableCondition?: string; /** 来源表环境信息 */ sourceTableEnv?: 'DEV' | 'PROD'; /** 源表名: 逻辑表[业务板块名.表名], 物理表[项目名.表名] */ sourceTableName?: string; /** 来源表所属项目ID, 来源表是物理表时必选 */ sourceTableProjectId?: string; /** 来源表类型 */ sourceTableType?: string; } export class AddUpgradeCommand { /** 维护Id */ maintenanceId?: number; /** 操作者 */ operator?: string; /** 租户Id */ tenantId?: number; /** 升级配置 */ upgradeConfigDTO?: defs.UpgradeConfigDTO; } export class ApiPermissionBO { /** account */ account?: defs.AccountBO; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; /** permission */ permission?: defs.BriefBO; } export class ApiPermissionDetailBO { /** account */ account?: defs.AccountBO; /** attributePermissionBOs */ attributePermissionBOs?: Array; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; /** permission */ permission?: defs.BriefBO; } export class ApplyDataSourceBO { /** 帐号 */ accounts?: Array; /** dataSourceIds */ dataSourceIds?: Array; /** 权限类型: SQL_QUERY/SQL_WRITE/SYNC_READ/SYNC_WRITE */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 结束时间 */ permissionEnd?: string; /** 开始时间 */ permissionStart?: string; /** 申请理由 */ reason?: string; } export class ApplyLogicTableBO { /** 帐号 */ accounts?: Array; /** 业务板块id */ bizUnitId?: number; /** 生产开发环境, DEV|PROD */ env?: 'DEV' | 'PROD'; /** logicTables */ logicTables?: Array; /** 权限类型: SQL_QUERY/SQL_WRITE/SYNC_READ/SYNC_WRITE */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 结束时间 */ permissionEnd?: string; /** 开始时间 */ permissionStart?: string; /** 申请理由 */ reason?: string; } export class ApplyPhysicalTableBO { /** 帐号 */ accounts?: Array; /** 生产开发环境, DEV|PROD */ env?: 'DEV' | 'PROD'; /** 权限类型: SQL_QUERY/SQL_WRITE/SYNC_READ/SYNC_WRITE */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 结束时间 */ permissionEnd?: string; /** 开始时间 */ permissionStart?: string; /** physicalTables */ physicalTables?: Array; /** 项目id */ projectId?: number; /** 申请理由 */ reason?: string; } export class ApproveProcessStepBO { /** operateTime */ operateTime?: string; /** operateUserId */ operateUserId?: string; /** operateUserName */ operateUserName?: string; /** operation */ operation?: string; /** reason */ reason?: string; /** result */ result?: string; } export class AtomicIndexAddDTO { /** atomicIndex */ atomicIndex?: defs.AtomicIndexDTO; /** 模型选择路径,用户选择切换模型的顺序,给model name */ modelSelectedPath?: Array; /** projectId */ projectId?: number; /** 提交备注 */ submitComment?: string; /** 是否顺带提交 */ withSubmit?: boolean; } export class AtomicIndexDTO { /** 计算逻辑表达式 */ atomIndexLogic?: string; /** 业务板块ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 数据域 */ dataDomain?: defs.DataDomainDTO; /** 衍生原子指标数据域列表 */ dataDomains?: Array; /** 数据类型 */ dataType?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 是否支持累加 */ isAccSum?: boolean; /** isDerived */ isDerived?: boolean; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 来源模型ID */ modelId?: number; /** 模型类型 */ modelType?: '1' | '2' | '3' | 1 | 2 | 3; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 如果该指标为衍生原子指标,此处表示他所依赖的原子指标 */ parentIds?: Array; /** 所属项目显示名 */ projectCn?: string; /** 所属project,针对odps为所属project */ projectId?: number; /** 所属项目,展示用 */ projectName?: string; /** 是否正在发布 */ publishing?: boolean; /** 原子指标来源路径和属性名 */ sourcePathAttribute?: string; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; /** 原子指标对应时间周期字段 */ timeColAttributeId?: number; /** 原子指标对应时间周期字段的格式 */ timeColFormat?: string; /** 计算逻辑中使用到的字段名 */ usedAttributes?: Array; /** 计算逻辑中使用到的字段(统计路径+字段) */ usedFields?: Array; } export class AtomicIndexDetailDTO { /** 选中的模型属性名 */ attributeName?: string; /** 数据域 */ dataDomainBO?: defs.DataDomainDTO; /** 该属性的衍生和非衍生指标 */ derivedAtomicIndexes?: Array; /** model */ model?: defs.SingleModelDTO; /** modelId */ modelId?: number; /** modelType */ modelType?: '1' | '2' | '3' | 1 | 2 | 3; } export class AttributeAddDTO { /** 字段类型 */ attributeType?: number; /** 属性列表 */ attributes?: Array; /** logics */ logics?: string; /** 是否主键 */ needPk?: boolean; } export class AttributeBatchDeleteResultBO { /** 字段Id */ attributeId?: number; /** deleteSuccess */ deleteSuccess?: boolean; /** 错误信息 */ errorInfo?: string; } export class AttributeDTO { /** 属性数据类型 */ attributeDataType?: string; /** 默认值 */ attributeDefaultValue?: string; /** 属性是否分区 */ attributeIsPartition?: boolean; /** 计算逻辑 */ attributeLogic?: string; /** 作用域 */ attributeScope?: string; /** 属性序列 */ attributeSeq?: number; /** attributeSqlFromPart */ attributeSqlFromPart?: string; /** 事实表属性类型,Dimension(dimension)或度量(measure),@see BizAttributeTypeEnum */ attributeType?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** Dimensionid */ dimensionId?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 是否有下游依赖 */ hasChildDependence?: boolean; /** 是否有线上版本 */ hasOnline?: boolean; /** 热度值 */ hotVal?: number; /** 对象ID */ id?: number; /** 是否外键 */ isFk?: boolean; /** isNotNull */ isNotNull?: boolean; /** 是否物理化 */ isPhysical?: boolean; /** 是否主键 */ isPk?: boolean; /** isRepeat */ isRepeat?: boolean; /** isUnique */ isUnique?: boolean; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** logicTableId */ logicTableId?: number; /** 模型id */ modelId?: number; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 是否推荐字段 */ recommend?: boolean; /** 引用Dimension逻辑表中文名称 */ refDimCn?: string; /** 引用Dimension逻辑表英文名称 */ refDimName?: string; /** 引用Dimension逻辑表ID */ refDimensionId?: number; /** 引用Dimension */ refDimensionIsMaxPt?: boolean; /** 引用Dimension角色名 */ refDimensionRole?: string; /** 引用Dimension角色中文名 */ refDimensionRoleCn?: string; /** 测试状态 */ status?: number; /** 来源表 */ table?: string; /** 租户ID */ tenantId?: number; /** Dimension表属性类型,@see DimensionAttributeTypeEnum */ type?: number; } export class AttributeOperatePeriodBO { /** operateTypes */ operateTypes?: Array; /** periodType */ periodType?: string; /** permissionEnd */ permissionEnd?: string; /** permissionStart */ permissionStart?: string; } export class AttributePermissionBO { /** account */ account?: defs.AccountBO; /** attributeDesc */ attributeDesc?: string; /** attributeName */ attributeName?: string; /** dataType */ dataType?: string; /** operatePeriods */ operatePeriods?: Array; } export class AuthBaseBO {} export class BaseBO { /** 业务板块显示名 */ bizUnitCn?: string; /** 业务板块ID */ bizUnitId?: number; /** 业务板块名 */ bizUnitName?: string; /** 中文名 */ cn?: string; /** 数据源ID */ dataSourceId?: number; /** 数据源名字 */ dataSourceName?: string; /** 描述 */ des?: string; /** 环境 */ env?: 'DEV' | 'PROD'; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 模式 */ modeEnum?: 'BASIC' | 'DEV_PROD'; /** 英文名 */ name?: string; /** 命名空间 */ nameSpaceTag?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class BaseDipResult { /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象id */ id?: string; /** 对象标签列表 */ labels?: Array; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 实体类型 */ tableEntityType?: '1' | '2' | 1 | 2; /** 对象类型 */ type?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; } export class BaseOaTaskBO { /** bizContent */ bizContent?: string; /** createTime */ createTime?: string; /** createUserId */ createUserId?: string; /** createUserName */ createUserName?: string; /** finishTime */ finishTime?: string; /** name */ name?: string; /** objectId */ objectId?: number; /** objectType */ objectType?: 'APPLY' | 'APPROVE'; /** sourceSystem */ sourceSystem?: string; /** status */ status?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; } export class BasicInfoDTO { /** 标签名称 */ displayName?: string; /** 标签ID */ labelId?: string; /** 标签英文名 */ name?: string; /** 命中Id数 */ oneIdCount?: number; /** 结果表表名 */ resultTableName?: string; } export class BasicProjectCreateCommand { /** 业务板块ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 计算引擎源id */ computeEngineId?: number; /** 项目描述 */ desc?: string; /** 英文名 */ name?: string; /** 命名空间 */ nameSpaceTag?: string; /** 项目模式 */ projectMode?: 'DEV_PROD' | 'BASIC'; /** 项目类型 */ projectType?: 'DISTILL' | 'GENERAL'; /** 项目白名单 */ whiteListBOs?: Array; } export class BasicProjectOriginalInfoBO { /** basicProjectBO */ basicProjectBO?: defs.ProjectBO; /** basicProjectMemberBOs */ basicProjectMemberBOs?: Array; } export class BasicScheduleConfigInfoDTO { /** 调度参数配置, 以';'进行分隔, 格式是 A=abc;B=bcd */ configParameters?: string; /** 描述 */ description?: string; /** 逻辑表名称 */ logicalTableName?: string; /** 任务类型 */ operatorType?: | 'HIVE_SQL' | 'HIVE_SQL_23X' | 'HADOOP_MR' | 'MAX_COMPUTE_SQL' | 'MAX_COMPUTE_MR' | 'SPARK_SQL_ON_MAX_COMPUTE' | 'SPARK_JAR_ON_MAX_COMPUTE' | 'SPARK_SQL_ON_HIVE' | 'SPARK_JAR_ON_HIVE' | 'SHELL' | 'DATAX' | 'PYTHON' | 'PERL' | 'ONE_SERVICE_SQL' | 'ONE_SERVICE_SQL_HIVE_11X' | 'ONE_SERVICE_SQL_HIVE_23X' | 'DRY_RUN' | 'IDLE' | 'VIRTUAL'; /** 前端展示的任务类型 */ operatorTypeAlias?: string; /** 优先级 */ priority?: | 'LOWEST' | 'LOWER' | 'LOW' | 'MIDDLE_LOW' | 'MIDDLE' | 'MIDDLE_HIGH' | 'HIGH' | 'HIGHER' | 'HIGHEST'; } export class BatchProjectMemberDTO { /** 目标用户 ID */ userId?: Array; /** 赋予用户的角色 */ userRoleId?: number; } export class BehaviorActionObjectDTO { /** 动作对象 */ actionObject?: string; /** 行为ID */ behaviorId?: string; /** 域-业务线 */ domainBizLine?: string; /** 域id */ domainId?: string; } export class BehaviorDTO { /** 动作ID */ actionId?: string; /** 行为显示名 */ behaviorDisplayName?: string; /** 行为ID */ behaviorId?: string; /** 行为名 */ behaviorName?: string; /** 业务线ID */ bizLineId?: string; /** 域ID */ domainId?: string; /** 对象ID */ objectId?: string; } export class BehaviorDomainDTO { /** 动作对象 */ behaviorActionObjectDTOS?: Array; /** 域id */ domainId?: string; /** 域名称 */ domainName?: string; } export class BehaviorElementDTO { /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** description */ description?: string; /** 名称 */ displayName?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** id */ id?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; } export class BehaviorElementPropertyDTO { /** behaviors */ behaviors?: Array; /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** description */ description?: string; /** 名称 */ displayName?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** id */ id?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; } export class BehaviorObjectPropertyDTO { /** 对象属性显示名 */ disPlayName?: string; /** 对象属性英文名 */ name?: string; /** 属性ID */ propertyId?: string; } export class BehaviorRuleId { /** 行为Id */ behaviorId?: string; /** 规则ID */ ruleId?: string; } export class BehaviorRuleJobDTO { /** 行为ID */ behaviorId?: string; /** 创建人显示名 */ creatorUserDisplayName?: string; /** 创建人 */ creatorUserId?: string; /** 回刷截止时间 */ endDate?: string; /** 创建时间 */ gmtCreate?: string; /** 规则ID */ ruleId?: string; /** 回刷起始时间 */ startDate?: string; /** 回刷任务的状态 */ status?: string; /** 任务实例日志 */ taskInstanceLogs?: Array; } export class BehaviorRuleProfileDTO { /** 行为Id */ behaviorId?: string; /** 行为名称 */ displayName?: string; /** 行为英文名 */ name?: string; /** 规则列表 */ rules?: Array; } export class BehaviorSampleDTO { /** 行为对象名称 */ actionObjectDisplayName?: string; /** 行为ID */ id?: string; /** 对象属性 */ objectProperties?: string; /** id */ personIds?: string; } export class BindProjectOdpsDsBO { /** bindedProjectId */ bindedProjectId?: number; /** bindedProjectName */ bindedProjectName?: string; /** odpsProjectName */ odpsProjectName?: string; } export class BizConditionAddDTO { /** bizConditionBO */ bizConditionBO?: defs.BizConditionDTO; /** 模型选择路径,用户选择切换模型的顺序,给model name */ modelSelectedPath?: Array; /** projectId */ projectId?: number; /** 提交备注 */ submitComment?: string; /** 是否顺带提交 */ withSubmit?: boolean; } export class BizConditionDTO { /** 计算逻辑表达式 */ adjunctWordLogic?: string; /** 业务板块ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 数据域 */ dataDomain?: defs.DataDomainDTO; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 来源模型ID */ modelId?: number; /** 模型类型 */ modelType?: '1' | '2' | '3' | 1 | 2 | 3; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 项目英文名称 */ projectCn?: string; /** 项目ID */ projectId?: number; /** 项目名称,展示用 */ projectName?: string; /** 是否正在发布 */ publishing?: boolean; /** 业务限定来源路径和属性名 */ sourcePathAttribute?: string; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; /** 计算逻辑中使用的字段名 */ usedAttributes?: Array; /** 计算逻辑中使用到的字段(统计路径+字段) */ usedFields?: Array; } export class BizConditionDetailDTO { /** 选中的模型属性名 */ attributeName?: string; /** 选中的模型属性相关的list */ bizConditionBOList?: Array; /** 中文名 */ cn?: string; /** 数据域 */ dataDomain?: defs.DataDomainDTO; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** model */ model?: defs.SingleModelDTO; /** modelId */ modelId?: number; /** modelType */ modelType?: '1' | '2' | '3' | 1 | 2 | 3; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class BizDataDomainBO { /** 业务板块 */ bizUnit?: defs.BizUnitDTO; /** 该业务板块下面的数据域集合 */ domainList?: Array; } export class BizDateFunctionDTO { /** 描述 */ description?: string; /** 名称 */ name?: string; /** 参数列表 */ params?: Array; } export class BizDateRangeDTO { /** 开始日期 */ beginBizDate?: string; /** 结束日期 */ endBizDate?: string; } export class BizDateVO { /** 业务日期 */ bizDate?: | 'yyyy-MM-dd' | 'yyyyMMdd' | 'MMddyyyy' | 'MM-dd-yyyy' | 'ddMMyyyy' | 'dd-MM-yyyy'; /** 业务板块id */ bizUnitId?: number; /** 创建人id */ creator?: string; /** 创建人名称 */ creatorName?: string; /** 创建时间 */ gmtCreate?: string; /** 修改日期 */ gmtModified?: string; /** 修改人id */ lastModifier?: string; /** 修改人名称 */ lastModifierName?: string; } export class BizGraphBO { /** 业务过程 */ bizProcessList?: Array; /** 普通Dimension&&杂项Dimension */ dimList?: Array; /** 数据域 */ domain?: defs.DataDomainDTO; /** 其他Dimension */ otherDimList?: Array; } export class BizLineDTO { /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** description */ description?: string; /** 名称 */ displayName?: string; /** domainId */ domainId?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** id */ id?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; } export class BizLineTreeDTO { /** 采样到的行为数 */ behaviorNumber?: number; /** 采样到的行为数占总数的百分比 */ behaviorNumberPercent?: number; /** 行为对象 */ children?: Array; /** 显示名称 */ displayName?: string; /** 域ID */ domainId?: string; /** 业务线ID */ id?: string; /** name */ name?: string; /** 类型 */ type?: string; } export class BizProcessDTO { /** 归属业务板块 ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 所属数据域 ID */ dataDomainId?: number; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 业务过程是否被依赖 */ hasDependcy?: boolean; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 归属项目 ID */ projectId?: number; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 提交注释 */ submitComment?: string; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; /** 类型 */ type?: number; } export class BizProcessListDTO { /** 归属业务板块 ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 所属数据域 ID */ dataDomainId?: number; /** 数据域名称 */ dataDomainName?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 业务过程是否被依赖 */ hasDependcy?: boolean; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 项目显示名 */ projectCn?: string; /** 归属项目 ID */ projectId?: number; /** 项目名称 */ projectName?: string; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 状态名称 */ statusName?: string; /** 提交注释 */ submitComment?: string; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; /** 类型 */ type?: number; } export class BizProcessSimpleInfoBO { /** 业务过程ID */ bizProcessId?: number; /** 业务过程名称 */ bizProcessName?: string; /** 关联的DimensionID列表 */ refDimIds?: Array; } export class BizProcessStructureBO { /** 业务过程列表 */ bizProcessSimpleInfoBOList?: Array; /** Dimension列表 */ dimensionSimpleInfoBOList?: Array; } export class BizUnitDTO { /** 业务板块用途:萃取或数据研发 */ bizUnitSpec?: 'BIZ_UNIT_SPEC_DISTILL' | 'BIZ_UNIT_SPEC_DATADEV'; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 环境 */ env?: 'DEV' | 'PROD'; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 定制icon */ icon?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 模式:basic或者devprod */ modeEnum?: 'BASIC' | 'DEV_PROD'; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class BizUnitGlobalAssetBO { /** 业务板块ID */ bizUnitId?: number; /** 业务板块名称 */ bizUnitName?: string; /** 业务板块计算消耗[离线数据] */ calculationConsumption?: number; /** 业务板块下Dimension逻辑表数量 */ dimensionTableCnt?: number; /** 业务板块下事实逻辑表数量 */ factTableCnt?: number; /** 业务板块下项目总数 */ projectCnt?: number; /** 业务板块存消耗[离线数据] */ storage?: number; /** 业务板块下汇总逻辑表数量 */ summaryTableCnt?: number; /** 业务板块下表数量(包括事实逻辑表,Dimension逻辑表,汇总逻辑表) */ tableCnt?: number; } export class BriefBO { /** cn */ cn?: string; /** desc */ desc?: string; /** id */ id?: string; /** name */ name?: string; } export class BriefBizUnitBO { /** cn */ cn?: string; /** desc */ desc?: string; /** id */ id?: string; /** name */ name?: string; } export class BriefDataSourceBO { /** cn */ cn?: string; /** desc */ desc?: string; /** id */ id?: string; /** name */ name?: string; /** type */ type?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4'; } export class BriefFunctionPermissionBO { /** identity */ identity?: string; /** level */ level?: 'HIGH' | 'MIDDLE' | 'LOW'; /** name */ name?: string; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; } export class BriefLogicTableBO { /** cn */ cn?: string; /** desc */ desc?: string; /** env */ env?: 'DEV' | 'PROD'; /** id */ id?: string; /** name */ name?: string; /** tableType */ tableType?: | 'PHYSICAL_TABLE' | 'PHYSICAL_FIELD' | 'FACT_TABLE' | 'FACT_TABLE_FIELD' | 'DIM_TABLE' | 'DIM_TABLE_FIELD' | 'SUM_TABLE' | 'SUM_TABLE_FIELD' | 'DATASOURCE' | 'LOGICAL_TABLE' | 'LOGICAL_FIELD' | 'OS_API' | 'OS_API_FIELD' | 'PAGE' | 'BIZ_UNIT' | 'PROJECT' | 'STREAM_COMPUTE' | 'STREAM_JOB' | 'STREAM_FUNCTION' | 'STREAM_META' | 'STREAM_META_FIELD'; } export class BriefPhysicalTableBO { /** cn */ cn?: string; /** desc */ desc?: string; /** env */ env?: 'DEV' | 'PROD'; /** id */ id?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** projectName */ projectName?: string; } export class BriefProjectBO { /** cn */ cn?: string; /** desc */ desc?: string; /** id */ id?: string; /** name */ name?: string; } export class BriefUserBO { /** id */ id?: string; /** name */ name?: string; } export class BusinessDateTaskList { /** 业务日期 */ bizDate?: string; /** 任务列表 */ tasks?: Array; } export class CallbackSettings { /** affectTaskStatus */ affectTaskStatus?: boolean; /** connectTimeoutInMilliSeconds */ connectTimeoutInMilliSeconds?: number; /** maxRetryTimes */ maxRetryTimes?: number; /** retryIntervalInMilliSeconds */ retryIntervalInMilliSeconds?: number; /** socketTimeoutInMilliSeconds */ socketTimeoutInMilliSeconds?: number; } export class ChangeBehaviorRuleCommand { /** 动作ID */ actionId?: string; /** 增加规则 */ addRuleCommand?: defs.AddRuleCommand; /** 业务线ID */ bizLineId?: string; /** 域ID */ domainId?: string; /** 对象ID */ objectId?: string; /** 行为规则ID */ ruleId?: string; } export class ChangeFactoryLabelCategoryCommand { /** 标签Id列表 */ factoryLabelIds?: Array; /** 标签类目id */ labelCategoryId?: string; } export class ChangeFactoryLabelCommand { /** 标签参数 */ addFactoryLabelCommand?: defs.AddFactoryLabelCommand; /** 标签ID */ labelId?: string; /** 生命周期 */ lifeCycle?: string; } export class ChangeFactoryLabelPublicStatusCommand { /** 标签Id列表 */ factoryLabelIds?: Array; /** 标签公开状态 */ labelPublicStatus?: string; } export class ChangeLabelCategoryCommand { /** 标签类目参数 */ addLabelCategoryCommand?: defs.AddLabelCategoryCommand; /** 标签类目Id */ labelCategoryId?: string; } export class ChangeManualLabelCategoryCommand { /** 标签类目id */ labelCategoryId?: string; /** 标签Id列表 */ manualLabelIds?: Array; } export class ChangeManualLabelPublicStatusCommand { /** 标签公开状态 */ labelPublicStatus?: string; /** 标签Id列表 */ manualLabelIds?: Array; } export class Character {} export class CodeAssistBO { /** 当前返回是否是所有的提示内容 */ allEntities?: boolean; /** 代码提示条目 */ entities?: Array; } export class CodeAssistEntityBO { /** ID */ id?: string; /** 实体英文名 */ name?: string; /** 实体中文名 */ nameCn?: string; /** 父实体ID */ parentEntityId?: string; /** 父实体名称 */ parentEntityName?: string; /** 实体类型 */ type?: string; /** 实体类型名称 */ typeName?: string; } export class CodeDTO { /** 代码所属对象的业务板块名称 */ catalog?: string; /** 代码 */ code?: string; /** 环境 */ environment?: 'DEV' | 'PROD'; /** 代码所属对象的字段,指标,限定名 */ field?: string; /** 项目ID */ projectId?: number; /** 代码所属对象的来源表catalog,物理表为项目名,逻辑表为业务板块名 */ sourceCatalog?: string; /** 代码所属对象的主来源字段名 */ sourceField?: string; /** 代码所属对象的来源表名 */ sourceTable?: string; /** 代码所属对象的表名 */ table?: string; /** 租户ID */ tenantId?: number; /** 代码类型,默认为SQL */ type?: 'SQL' | 'PYTHON' | 'PERL'; /** 用户ID */ userId?: string; } export class CodeEditorFunctionMetaBO { /** DDL语句 */ ddl?: string; } export class CodeEditorTableMetaBO { /** DDL语句 */ ddl?: string; } export class CodeValidateDTO { /** 校验错误代码 */ errorCode?: string; /** 校验附加结果信息 */ extraMessage?: object; /** 校验结果信息 */ message?: string; /** 校验是否成功 */ success?: boolean; } export class ColumnBO { /** 中文名 */ cn?: string; /** 字段ID */ columnId?: string; /** 字段中文名称 */ comment?: string; /** 创建时间 */ createTime?: string; /** 描述 */ des?: string; /** 是否外键字段 */ fk?: boolean; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** guid */ guid?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 字段英文名称 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 是否分区字段 */ partition?: boolean; /** partitioned */ partitioned?: boolean; /** 是否主键字段 */ pk?: boolean; /** sequence */ seqNumber?: number; /** 租户ID */ tenantId?: number; /** 字段类型 */ type?: string; /** 示例值 */ values?: Array; } export class ComputeEngineVO { /** clusterUrls */ clusterUrls?: Array; /** hostIps */ hostIps?: string; /** type */ type?: string; /** version */ version?: string; /** versionKeyEnumStringMap */ versionKeyEnumStringMap?: ObjectMap; } export class ComputingEngineBO { /** clusterUrls */ clusterUrls?: Array; /** displayName */ displayName?: string; /** hostIps */ hostIps?: Array; /** type */ type?: 'MAX_COMPUTE' | 'HADOOP' | 'E_MAP_REDUCE' | 'FLINK'; /** version */ version?: string; } export class ConfigErrorInfoDTO { /** 错误code */ errorCode?: string; /** 错误信息 */ errorMsg?: string; } export class ConfigOwnFunctionPermissionBO { /** approveUserIds */ approveUserIds?: Array; /** functionPermissionId */ functionPermissionId?: string; /** functionPermissionName */ functionPermissionName?: string; /** periodLimitDays */ periodLimitDays?: number; /** periodLimitType */ periodLimitType?: | 'LONG_TERM' | 'DAYS_30' | 'DAYS_90' | 'DAYS_180' | 'CUSTOM'; } export class ConnectivityResult { /** failedCode */ failedCode?: string; /** msg */ msg?: string; /** status */ status?: boolean; } export class CoverageDTO { /** 最大范围值 */ maxValue?: number; /** 最小范围值 */ minValue?: number; } export class CreateDirectoryCommand { /** category */ category?: number; /** dirName */ dirName?: string; /** name */ name?: string; /** projectId */ projectId?: number; } export class CreateNodeDTO { /** 类别,此处写死codeManage */ category?: string; /** 节点描述 */ description?: string; /** 所在目录位置 */ dirName?: string; /** id */ id?: number; /** 节点名称 */ name?: string; /** 节点类型 */ operatorType?: number; /** 所属projectId */ projectId?: number; /** 调度类型 */ rsType?: number; } export class CreatedOaTaskBO { /** bizContent */ bizContent?: string; /** createTime */ createTime?: string; /** createUserId */ createUserId?: string; /** createUserName */ createUserName?: string; /** finishTime */ finishTime?: string; /** handleCandidates */ handleCandidates?: Array; /** name */ name?: string; /** objectId */ objectId?: number; /** objectType */ objectType?: 'APPLY' | 'APPROVE'; /** sourceSystem */ sourceSystem?: string; /** status */ status?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; } export class Creator { /** userId */ userId?: string; /** userName */ userName?: string; } export class CrossPeriodUpstreamDTO { /** 关联的字段列表 */ associatedColumns?: Array; /** associatedColumnsLowerCase */ associatedColumnsLowerCase?: Array; /** 周期差, 恒为正数, 从1开始 */ periodDiff?: number; /** 跨周期依赖类型, 自依赖[SELF_DEPEND], 自定义[CUSTOMIZED] */ type?: 'SELF_DEPEND' | 'CUSTOMIZED'; /** 上游节点id */ upstreamNodeId?: string; } export class CustomizeConfigDTO { /** configContent */ configContent?: string; /** configSwitchOn */ configSwitchOn?: boolean; } export class CustomizeConfigSaveCommand { /** configContent */ configContent?: string; /** configSwitchOn */ configSwitchOn?: boolean; } export class CustomizeConfigUpdateCommand { /** configContent */ configContent?: string; /** configSwitchOn */ configSwitchOn?: boolean; } export class DashBoardDTO { /** 表头数据 */ dashBoardHeader?: defs.DashBoardHeaderDTO; /** 图表数据 */ tree?: Array; } export class DashBoardHeaderDTO { /** 采样到的行为数 */ behaviorDataNumber?: number; /** 最近一次更新时间 */ lastestUpdateTime?: string; /** 已上线的规则数 */ ruleNumber?: number; /** 行为表 */ table?: string; } export class DataDomainDTO { /** 英文缩写 */ abbreviation?: string; /** bizUnitId */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class DataDomainDimDTO { /** dims */ dims?: Array; /** domain */ domain?: defs.DataDomainDTO; } export class DataProcessPublishRecordDTO { /** 变更类型 */ changeType?: number; /** 数据域id */ dataDomainId?: number; /** 完成时间 */ finishTime?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModify?: string; /** id */ id?: number; /** 节点id */ nodeId?: string; /** 对象中文名 */ objectCn?: string; /** 对象id */ objectId?: string; /** 对象名称 */ objectName?: string; /** 对象类型 */ objectType?: number; /** 对象版本 */ objectVersion?: string; /** 项目id */ projectId?: number; /** 发布错误信息 */ publishError?: string; /** 发布ID */ publishId?: string; /** 发布名称 */ publishName?: string; /** 发布状态 */ publishStatus?: number; /** 发布人 */ publisher?: string; /** 发布人名字 */ publisherName?: string; /** submitted */ submitted?: boolean; /** 租户 */ tenantId?: number; } export class DataProcessSubmitRecordBO { /** changeType */ changeType?: '0' | '1' | '2' | 0 | 1 | 2; /** dataDomainId */ dataDomainId?: number; /** gmtCreate */ gmtCreate?: string; /** gmtModify */ gmtModify?: string; /** id */ id?: number; /** nodeId */ nodeId?: string; /** objectCn */ objectCn?: string; /** objectId */ objectId?: string; /** objectName */ objectName?: string; /** objectType */ objectType?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** objectVersion */ objectVersion?: string; /** operatorType */ operatorType?: | 'HIVE_SQL' | 'HIVE_SQL_23X' | 'HADOOP_MR' | 'MAX_COMPUTE_SQL' | 'MAX_COMPUTE_MR' | 'SPARK_SQL_ON_MAX_COMPUTE' | 'SPARK_JAR_ON_MAX_COMPUTE' | 'SPARK_SQL_ON_HIVE' | 'SPARK_JAR_ON_HIVE' | 'SHELL' | 'DATAX' | 'PYTHON' | 'PERL' | 'ONE_SERVICE_SQL' | 'ONE_SERVICE_SQL_HIVE_11X' | 'ONE_SERVICE_SQL_HIVE_23X' | 'DRY_RUN' | 'IDLE' | 'VIRTUAL'; /** projectId */ projectId?: number; /** published */ published?: boolean; /** status */ status?: '0' | '1' | '2' | 0 | 1 | 2; /** submitComment */ submitComment?: string; /** submitter */ submitter?: string; /** tenantId */ tenantId?: number; } export class DataProcessSubmitRecordDTO { /** 变更类型 */ changeType?: number; /** 数据域id */ dataDomainId?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModify?: string; /** id */ id?: number; /** 节点id */ nodeId?: string; /** 对象中文名 */ objectCn?: string; /** 对象id */ objectId?: string; /** 对象名称 */ objectName?: string; /** 对象类型 */ objectType?: number; /** 对象版本 */ objectVersion?: string; /** 项目id */ projectId?: number; /** published */ published?: boolean; /** 提交备注 */ submitComment?: string; /** 提交人 */ submitter?: string; /** 提交人名字 */ submitterName?: string; /** 租户 */ tenantId?: number; } export class DataSectionBO { /** key */ key?: string; /** value */ value?: number; } export class DataSetBehaviorWeightDTO { /** 行为DTO */ behaviorDTO?: defs.BehaviorDTO; /** 行为权重 */ behaviorWeight?: number; } export class DataSetDTO { /** 对象属性筛选 */ conditions?: Array; /** 选中的行为 */ dataSetBehaviorWeightDTOS?: Array; /** 选中的行为 */ dataSetId?: string; /** 直接打标-标签值 */ directlyValue?: string; /** 域Id列表 */ domainIds?: Array; /** 打标方式 */ labelingType?: string; /** 属性映射打标 */ objectPropertyLabelingRuleDTOS?: Array; /** 对象属性集合选择(交集 or 并集) */ objectPropertyRelations?: Array; /** 时间跨度:30,60,90,180,365 */ timeSpan?: number; } export class DataSkewConfigDTO { /** abnormalTaskInputBytesRate */ abnormalTaskInputBytesRate?: number; /** abnormalTaskRuntime */ abnormalTaskRuntime?: number; /** abnormalTaskRuntimeRate */ abnormalTaskRuntimeRate?: number; /** dataSkewTaskSkewValueRate */ dataSkewTaskSkewValueRate?: number; /** dataSkewTaskSkewValueThreshold */ dataSkewTaskSkewValueThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class DataSkewConfigSaveCommand { /** abnormalTaskInputBytesRate */ abnormalTaskInputBytesRate?: number; /** abnormalTaskRuntime */ abnormalTaskRuntime?: number; /** abnormalTaskRuntimeRate */ abnormalTaskRuntimeRate?: number; /** dataSkewTaskSkewValueRate */ dataSkewTaskSkewValueRate?: number; /** dataSkewTaskSkewValueThreshold */ dataSkewTaskSkewValueThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class DataSkewConfigUpdateCommand { /** abnormalTaskInputBytesRate */ abnormalTaskInputBytesRate?: number; /** abnormalTaskRuntime */ abnormalTaskRuntime?: number; /** abnormalTaskRuntimeRate */ abnormalTaskRuntimeRate?: number; /** dataSkewTaskSkewValueRate */ dataSkewTaskSkewValueRate?: number; /** dataSkewTaskSkewValueThreshold */ dataSkewTaskSkewValueThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class DataSourceBasicInfoUpdateDTO { /** dataSourceId */ dataSourceId?: number; /** description */ description?: string; /** modifier */ modifier?: string; /** name */ name?: string; /** tenantId */ tenantId?: number; } export class DataSourceCheckActivityDTO { /** configItems */ configItems?: ObjectMap; /** dataSourceId */ dataSourceId?: string; /** type */ type?: string; } export class DataSourceConfigVO { /** accessType */ accessType?: string; /** bindProject */ bindProject?: boolean; /** bindProjectName */ bindProjectName?: string; /** clusterHostInfo */ clusterHostInfo?: string; /** cn */ cn?: string; /** computeEngineVO */ computeEngineVO?: defs.ComputeEngineVO; /** connectionParams */ connectionParams?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** dataSourceTypeEnum */ dataSourceTypeEnum?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; /** dataSourceUseTypeEnum */ dataSourceUseTypeEnum?: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; /** dbName */ dbName?: string; /** defaultFS */ defaultFS?: string; /** defaultNameNodePassword */ defaultNameNodePassword?: string; /** defaultNameNodeUser */ defaultNameNodeUser?: string; /** deployType */ deployType?: string; /** des */ des?: string; /** endPoint */ endPoint?: string; /** ftpProtocolEnum */ ftpProtocolEnum?: 'FTP' | 'SFTP'; /** generalKerberosIsOn */ generalKerberosIsOn?: boolean; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** hBaseVersion */ hBaseVersion?: 'V_0_9_X' | 'V_1_1_X'; /** hadoopNameNodes */ hadoopNameNodes?: Array; /** hasKerberosConfigFile */ hasKerberosConfigFile?: boolean; /** hbaseKerberosBO */ hbaseKerberosBO?: defs.KerberosBO; /** hdfsHostLoginInfo */ hdfsHostLoginInfo?: defs.HostLoginInfo; /** hdfsKerberosBO */ hdfsKerberosBO?: defs.KerberosBO; /** hdfsUser */ hdfsUser?: string; /** historyLog */ historyLog?: string; /** hiveKerberosBO */ hiveKerberosBO?: defs.KerberosBO; /** hiveMetaDs */ hiveMetaDs?: defs.DataSourceConfigVO; /** host */ host?: string; /** hostMapping */ hostMapping?: string; /** id */ id?: number; /** instantTaskQueues */ instantTaskQueues?: string; /** kdcAddress */ kdcAddress?: string; /** kerberosConfigFileId */ kerberosConfigFileId?: string; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** maxComputeProject */ maxComputeProject?: string; /** mrJobHistoryWebAddress */ mrJobHistoryWebAddress?: string; /** name */ name?: string; /** owner */ owner?: string; /** ownerName */ ownerName?: string; /** password */ password?: string; /** port */ port?: string; /** scheduledTaskQueues */ scheduledTaskQueues?: string; /** schema */ schema?: string; /** serviceUrl */ serviceUrl?: string; /** sparkDeployTypeEnum */ sparkDeployTypeEnum?: 'STANDALONE' | 'MESOS' | 'YARN'; /** sparkHostLoginInfo */ sparkHostLoginInfo?: defs.HostLoginInfo; /** sparkKerberosBO */ sparkKerberosBO?: defs.KerberosBO; /** sparkMaster */ sparkMaster?: string; /** sparkTaskGenerated */ sparkTaskGenerated?: boolean; /** sparkTaskSupported */ sparkTaskSupported?: boolean; /** tenantId */ tenantId?: number; /** uploadKerberosConfigFileName */ uploadKerberosConfigFileName?: string; /** url */ url?: string; /** user */ user?: string; /** versionMapping */ versionMapping?: ObjectMap>; /** vpcId */ vpcId?: string; /** vpcInstanceId */ vpcInstanceId?: string; /** vpcRegionId */ vpcRegionId?: string; /** yarnConfDir */ yarnConfDir?: string; /** yarnHostsMapping */ yarnHostsMapping?: string; /** yarnNameNodeIp */ yarnNameNodeIp?: string; /** yarnNameNodePassword */ yarnNameNodePassword?: string; /** yarnNameNodeUser */ yarnNameNodeUser?: string; /** yarnResourceManagerWebAddress */ yarnResourceManagerWebAddress?: string; /** yarnWebProxyAddress */ yarnWebProxyAddress?: string; } export class DataSourceConfigurationUpdateDTO { /** dataSourceId */ dataSourceId?: number; /** modifier */ modifier?: string; /** properties */ properties?: ObjectMap; /** tenantId */ tenantId?: number; } export class DataSourceConfigurationVO { /** createTime */ createTime?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** dataSourceId */ dataSourceId?: string; /** dataSourceType */ dataSourceType?: string; /** description */ description?: string; /** modifyTime */ modifyTime?: string; /** name */ name?: string; /** owner */ owner?: string; /** ownerName */ ownerName?: string; /** properties */ properties?: ObjectMap; /** scope */ scope?: string; /** tenantId */ tenantId?: number; } export class DataSourceCreateDTO { /** creator */ creator?: string; /** description */ description?: string; /** name */ name?: string; /** owner */ owner?: string; /** properties */ properties?: ObjectMap; /** scope */ scope?: number; /** tenantId */ tenantId?: number; /** type */ type?: string; } export class DataSourceDTO { /** dataSourceType */ dataSourceType?: number; /** dataSourceTypeName */ dataSourceTypeName?: string; /** datasourceId */ datasourceId?: number; /** datasourceName */ datasourceName?: string; /** dbName */ dbName?: string; /** url */ url?: string; } export class DataSourcePermissionBO { /** account */ account?: defs.AccountBO; /** dataSource */ dataSource?: defs.BriefDataSourceBO; /** operatePeriods */ operatePeriods?: Array; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; /** permissionSourceTypeEnum */ permissionSourceTypeEnum?: 'APPLY' | 'GRANT' | 'OWNER'; /** permissionSourceUserId */ permissionSourceUserId?: string; /** permissionSourceUserName */ permissionSourceUserName?: string; } export class DataSourceSaveResultVO { /** akIsOwner */ akIsOwner?: boolean; /** dataSourceTypeEnum */ dataSourceTypeEnum?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; /** dsId */ dsId?: number; /** warningMessage */ warningMessage?: string; } export class DataSourceSchemaDTO { /** dataSourceType */ dataSourceType?: string; /** metadata */ metadata?: string; } export class DatasourceAccessInfoBO { /** 数据源接入进度,百分制[0-100][离线数据] */ accessProcess?: number; /** 数据源唯一ID */ dsGuid?: string; /** 数据源名称 */ name?: string; } export class DataxColumnVO { /** 格式 */ format?: string; /** 字段序号 */ index?: number; /** 字段名 */ name?: string; /** 字段类型 */ type?: string; /** 字段值 */ value?: string; } export class DataxPluginVO { /** adsAccount */ adsAccount?: string; /** columnList */ columnList?: Array; /** columns */ columns?: Array; /** communicationTableSwitchOn */ communicationTableSwitchOn?: boolean; /** compress */ compress?: string; /** dateFormat */ dateFormat?: string; /** dsId */ dsId?: string; /** elasticsearchColumns */ elasticsearchColumns?: string; /** encoding */ encoding?: string; /** fieldDelimiter */ fieldDelimiter?: string; /** fileFormat */ fileFormat?: string; /** fileName */ fileName?: string; /** fileType */ fileType?: string; /** hbaseReadFilter */ hbaseReadFilter?: string; /** hbaseReadMode */ hbaseReadMode?: string; /** hbaseReadVersion */ hbaseReadVersion?: number; /** indexFile */ indexFile?: string; /** mongodbReadFilter */ mongodbReadFilter?: string; /** mongodbUpsertInfo */ mongodbUpsertInfo?: string; /** multiTable */ multiTable?: boolean; /** odpsConfigForAds */ odpsConfigForAds?: string; /** overwrite */ overwrite?: boolean; /** parquetSchema */ parquetSchema?: string; /** partition */ partition?: string; /** path */ path?: string; /** pkgAuthProject */ pkgAuthProject?: string; /** postSql */ postSql?: string; /** preSql */ preSql?: string; /** project */ project?: string; /** querySql */ querySql?: string; /** rowKey */ rowKey?: string; /** session */ session?: string; /** skipHeader */ skipHeader?: boolean; /** sourceConfig */ sourceConfig?: string; /** splitMode */ splitMode?: string; /** splitPk */ splitPk?: string; /** tableName */ tableName?: string; /** truncate */ truncate?: boolean; /** type */ type?: string; /** versionColumn */ versionColumn?: string; /** writeMode */ writeMode?: string; } export class DataxSettingVO { /** bytes */ bytes?: number; /** channel */ channel?: number; /** jvmOpts */ jvmOpts?: string; /** percentage */ percentage?: number; /** record */ record?: number; } export class DeleteLabelCategoryCommand { /** 标签类目ID */ labelCategoryId?: string; /** 提交备注 */ submitComment?: string; } export class DependenceDTO { /** 聚合根唯一标识 */ aggregationRootId?: number; /** 聚合根名 */ aggregationRootName?: string; /** 聚合根类型 */ aggregationRootType?: string; /** 依赖的聚合根唯一标识 */ depAggregationRootId?: number; /** 依赖聚合根类型 */ depAggregationType?: string; /** 依赖的实体唯一标识 */ depEntityId?: number; /** 依赖的实体类型 */ depEntityType?: string; /** 实体唯一标识 */ entityId?: number; /** 依赖的实体名 */ entityName?: string; /** 实体类型 */ entityType?: string; } export class DerivedIndexAddDTO { /** derivedIndexes */ derivedIndexes?: Array; /** projectId */ projectId?: number; /** 提交备注 */ submitComment?: string; /** 是否顺带提交 */ withSubmit?: boolean; } export class DerivedIndexDTO { /** 中文名 */ cn?: string; /** 数据类型 */ dataType?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** dimIds */ dimIds?: Array; /** 粒度所包含的Dimension */ dimensions?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 所属粒度 */ granularityId?: number; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 派生指标计算逻辑表达式 */ logic?: string; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** parentAtomicIndex */ parentAtomicIndex?: defs.DerivedIndexParentDTO; /** parentAtomicIndexId */ parentAtomicIndexId?: number; /** parentAtomicIndexes */ parentAtomicIndexes?: Array; /** parentBizConditionId */ parentBizConditionId?: number; /** 所属project */ project?: defs.BaseBO; /** 是否正在发布 */ publishing?: boolean; /** 所属时间周期 */ statPeriod?: defs.TimePeriodDTO; /** statPeriodId */ statPeriodId?: number; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; } export class DerivedIndexDimPathDTO { /** Dimension中文名 */ dimCn?: string; /** DimensionID */ dimId?: number; /** Dimension名称 */ dimName?: string; /** 统计路径,如Fact_itm.DIM_seller.DIM_cate */ path?: string; } export class DerivedIndexDimPathOptionDTO { /** dimCn */ dimCn?: string; /** dimId */ dimId?: number; /** dimName */ dimName?: string; /** paths */ paths?: Array; } export class DerivedIndexParentDTO { /** 所属原子指标 */ atomicIndex?: defs.AtomicIndexDTO; /** 业务限定 */ bizCondition?: defs.BizConditionDTO; /** 统计路径列表 */ dimPaths?: Array; } export class DerivedIndexParentOptionsDTO { /** 所属原子指标 */ atomicIndex?: defs.AtomicIndexDTO; /** 业务限定 */ bizConditions?: Array; /** 统计路径列表 */ dimPaths?: Array; } export class DerivedIndexSubmitDTO { /** 派生指标ID列表 */ derivedIndexIds?: Array; /** 项目ID */ projectId?: number; /** 提交备注 */ submitComment?: string; } export class DerivedIndexUpdateDTO { /** derivedIndex */ derivedIndex?: defs.DerivedIndexDTO; /** projectId */ projectId?: number; /** 提交备注 */ submitComment?: string; /** 是否顺带提交 */ withSubmit?: boolean; } export class DevProdBizUnitDTO { /** dev */ dev?: defs.BizUnitDTO; /** prod */ prod?: defs.BizUnitDTO; } export class DevProdProjectCreateCommand { /** 业务板块ID */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 开发项目数据源 */ devDataSourceId?: number; /** 开发项目描述 */ devDes?: string; /** 英文名 */ name?: string; /** 命名空间 */ nameSpaceTag?: string; /** 生产项目数据源 */ prodDataSourceId?: number; /** 生产项目描述 */ prodDes?: string; /** 项目模式 */ projectMode?: 'DEV_PROD' | 'BASIC'; /** 项目白名单 */ whiteListBOs?: Array; } export class DevProdProjectUpdateCommand { /** bizUnitId */ bizUnitId?: number; /** cn */ cn?: string; /** devDes */ devDes?: string; /** id */ id?: number; /** name */ name?: string; /** nameSpaceTag */ nameSpaceTag?: string; /** prodDes */ prodDes?: string; /** whiteListBOs */ whiteListBOs?: Array; } export class DimAddDTO { /** addType */ addType?: '0' | '1' | '2' | '4' | '5' | '6' | 0 | 1 | 2 | 4 | 5 | 6; /** 主Dimension定义 */ baseDimension?: defs.DimDTO; /** bizUnitId */ bizUnitId?: number; /** 父DimensionID */ parentDimensionId?: number; /** 项目ID */ projectId?: number; /** 提交备注 */ submitComment?: string; /** 是否顺带提交 */ withSubmit?: boolean; } export class DimAttributeDTO { /** attributeList */ attributeList?: Array; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class DimDTO { /** 所属业务板块 */ bizUnitId?: number; /** Dimension组List,针对桥接Dimension设计 */ bridgeDims?: Array; /** 中文名 */ cn?: string; /** compositePk */ compositePk?: boolean; /** 所属数据域 */ dataDomain?: defs.DataDomainDTO; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 归档逻辑 */ designArchiveLogic?: string; /** 设计阶段创建时间 */ designGmtCreate?: string; /** 设计阶段修改时间 */ designGmtModified?: string; /** 是否归档 */ designIsArchive?: boolean; /** 设计阶段最后一次修改人 */ designLastModifier?: string; /** 生命周期 */ designLifecycle?: number; /** 设计阶段责任人 */ designOwner?: string; /** 状态 */ designStatus?: '0' | '2' | '100' | '200' | '201' | 0 | 2 | 100 | 200 | 201; /** Dimension主键英文名,对于组合Dimension,此字段为空 */ dimensionPk?: string; /** Dimension主键中文名称 */ dimensionPkCn?: string; /** Dimension主键数据类型 */ dimensionPkDataType?: string; /** Dimension主键计算逻辑 */ dimensionPkLogic?: string; /** Dimension主键源表名 */ dimensionPkSourceTable?: string; /** Dimension类型 */ dimensionType?: '1' | '2' | '4' | '5' | '6' | 1 | 2 | 4 | 5 | 6; /** 枚举Dimension值列表,针对小Dimension设计 */ enumDimensionValueList?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** hasParent */ hasParent?: boolean; /** 是否有生产的Dimension逻辑表 */ hasProdDimTable?: boolean; /** 对象ID */ id?: number; /** isLevel */ isLevel?: boolean; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 层级模板ID */ levelConfig?: defs.LevelDimConfigDTO; /** 层级Dimension主DimensionID */ mainDimId?: number; /** 英文名 */ name?: string; /** 是否需要发布 */ needPublish?: boolean; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 父Dimension */ parentDimension?: defs.DimDTO; /** 所属project显示名 */ projectCn?: string; /** 所属project */ projectId?: number; /** 所属project英文名 */ projectName?: string; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; } export class DimGraphBO { /** Dimension节点List */ dimNodeBOList?: Array; /** Dimension之间的关联关系边list */ relationLineBOList?: Array; } export class DimLevelDTO { /** 所属业务板块 */ bizUnitId?: number; /** Dimension组List,针对桥接Dimension设计 */ bridgeDims?: Array; /** 中文名 */ cn?: string; /** compositePk */ compositePk?: boolean; /** 所属数据域 */ dataDomain?: defs.DataDomainDTO; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 归档逻辑 */ designArchiveLogic?: string; /** 设计阶段创建时间 */ designGmtCreate?: string; /** 设计阶段修改时间 */ designGmtModified?: string; /** 是否归档 */ designIsArchive?: boolean; /** 设计阶段最后一次修改人 */ designLastModifier?: string; /** 生命周期 */ designLifecycle?: number; /** 设计阶段责任人 */ designOwner?: string; /** 状态 */ designStatus?: '0' | '2' | '100' | '200' | '201' | 0 | 2 | 100 | 200 | 201; /** Dimension主键英文名,对于组合Dimension,此字段为空 */ dimensionPk?: string; /** Dimension主键中文名称 */ dimensionPkCn?: string; /** Dimension主键数据类型 */ dimensionPkDataType?: string; /** Dimension主键计算逻辑 */ dimensionPkLogic?: string; /** Dimension主键源表名 */ dimensionPkSourceTable?: string; /** Dimension类型 */ dimensionType?: '1' | '2' | '4' | '5' | '6' | 1 | 2 | 4 | 5 | 6; /** 枚举Dimension值列表,针对小Dimension设计 */ enumDimensionValueList?: Array; /** 属性列表 */ extendAttributes?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** hasParent */ hasParent?: boolean; /** 是否有生产的Dimension逻辑表 */ hasProdDimTable?: boolean; /** 对象ID */ id?: number; /** "是否叶子节点"属性 */ isLeafAttribute?: defs.AttributeDTO; /** isLevel */ isLevel?: boolean; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 叶子属性命名字段 */ leafNamingAttribute?: defs.AttributeDTO; /** 叶子属性主键 */ leafPkAttribute?: defs.AttributeDTO; /** level属性 */ levelAttribute?: defs.AttributeDTO; /** 层级模板ID */ levelConfig?: defs.LevelDimConfigDTO; /** 层级Dimension主DimensionID */ mainDimId?: number; /** 英文名 */ name?: string; /** 命名字段属性 */ namingAttribute?: defs.AttributeDTO; /** 是否需要发布 */ needPublish?: boolean; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 父Dimension */ parentDimension?: defs.DimDTO; /** parentId属性 */ parentIdAttribute?: defs.AttributeDTO; /** 主键属性 */ pkAttribute?: defs.AttributeDTO; /** 所属project显示名 */ projectCn?: string; /** 所属project */ projectId?: number; /** 所属project英文名 */ projectName?: string; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; } export class DimNodeBO { /** 该Dimension节点的子Dimension */ childrenList?: Array; /** Dimension中文名 */ cn?: string; /** Dimensionid */ id?: number; /** Dimension名称 */ name?: string; } export class DimRelationDTO { /** 默认属性值 */ attributeDefaultValue?: string; /** 属性id */ attributeId?: number; /** Dimensionbo */ dim?: defs.DimDTO; /** Dimensionid */ dimId?: number; /** 是否有依赖 */ haveDenepency?: boolean; /** 关联Dimensionbo */ refDim?: defs.DimDTO; /** 引用Dimension逻辑表ID */ refDimId?: number; /** 引用Dimension逻辑表角色 */ refDimRole?: string; /** 引用Dimension逻辑表角色中文名 */ refDimRoleCn?: string; } export class DimTableDetailDTO { /** 字段信息-代码信息 */ attributes?: Array; /** 子Dimension列表-当Dimension为主Dimension时该值为空 */ childrenDims?: Array; /** Dimension表信息 */ dimDTO?: defs.DimDTO; /** 物理化信息 */ logicTableConfigDTO?: defs.LogicTableConfigDTO; /** 调度信息 */ logicalTableScheduleConfigDTO?: defs.LogicalTableScheduleConfigDTO; /** 公用计算逻辑 */ publicSqlDTOS?: Array; /** 版本信息 */ versionDTO?: defs.VersionDTO; } export class Dimension { /** Dimension主键英文名,对于组合Dimension,此字段为空 */ dimensionPk?: string; /** Dimension主键中文名称 */ dimensionPkCn?: string; /** Dimension主键数据类型 */ dimensionPkDataType?: string; /** 中文名 */ displayName?: string; /** 英文名 */ name?: string; /** 租户ID */ tenantId?: string; } export class DimensionSimpleInfoBO { /** Dimension类型,1为普通Dimension */ dimTypeEnum?: '0' | '1' | '2' | '4' | '5' | '6' | 0 | 1 | 2 | 4 | 5 | 6; /** DimensionID */ dimensionId?: number; /** Dimension名称 */ dimensionName?: string; /** 关联的DimensionID列表 */ linkDimIds?: Array; /** 父DimensionID */ parentDimId?: number; } export class DipBizProcessBO { /** 业务过程的id */ id?: number; /** 业务过程的名称 */ name?: string; } export class DipInitLogBO { /** 状态 */ dipInitStatusEnum?: | 'INIT' | 'INIT_PROJECT_DS' | 'START_INIT_HADOOP_RESOURCE' | 'INIT_RESOURCE' | 'INIT_NODE' | 'FAILED' | 'SUCCESS'; /** 是否还有日志产出 */ hasNextLog?: boolean; /** 日志内容 */ logContent?: string; /** 根节点ID */ nodeId?: string; /** 进度 */ percentage?: string; /** 初始化的逻辑项目ID */ projectId?: number; } export class DocAddBO { /** 文档的内容 */ content?: string; /** 文档的ID */ docId?: number; /** 文档的链接 */ docLinkBOs?: Array; /** 文档的类型 */ docType?: string; /** 文档的版本 */ version?: number; } export class DocBO { /** 文档的内容 */ content?: string; /** 文档的id */ docId?: number; /** 文档的原内容 */ sourceContent?: string; /** 文档的版本 */ version?: number; } export class DocLinkBO { /** 文档序号 */ linkIndex?: string; /** 文档URL */ url?: string; } export class DomainDTO { /** bizLineVOS */ bizLineVOS?: Array; /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** description */ description?: string; /** 名称 */ displayName?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** id */ id?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; } export class DomainTreeDTO { /** 采样到的行为数 */ behaviorNumber?: number; /** 采样到的行为数占总数的百分比 */ behaviorNumberPercent?: number; /** 域中包含的业务线 */ children?: Array; /** 显示名称 */ displayName?: string; /** 域ID */ id?: string; /** name */ name?: string; /** 类型 */ type?: string; } export class DsCommonBO { /** accessType */ accessType?: string; /** bindProject */ bindProject?: boolean; /** bindProjectId */ bindProjectId?: number; /** bindProjectName */ bindProjectName?: string; /** cn */ cn?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** dataSourceTypeEnum */ dataSourceTypeEnum?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; /** dataSourceUseTypeEnum */ dataSourceUseTypeEnum?: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; /** dbName */ dbName?: string; /** deployType */ deployType?: string; /** des */ des?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** name */ name?: string; /** owner */ owner?: string; /** ownerName */ ownerName?: string; /** password */ password?: string; /** tenantId */ tenantId?: number; /** user */ user?: string; /** versionMapping */ versionMapping?: ObjectMap>; /** vpcId */ vpcId?: string; /** vpcInstanceId */ vpcInstanceId?: string; /** vpcRegionId */ vpcRegionId?: string; } export class DsConfig { /** callbacks */ callbacks?: Array; /** detailConfig */ detailConfig?: ObjectMap; /** dsId */ dsId?: string; /** environment */ environment?: 'DEV' | 'PROD'; } export class DwsOptContentDTO { /** effectiveTime */ effectiveTime?: string; /** opt */ opt?: boolean; /** optDes */ optDes?: ObjectMap; /** optSql */ optSql?: string; /** originalSql */ originalSql?: string; } export class EditActionCommand { /** actionId */ actionId?: string; /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class EditBizLineCommand { /** bizLineId */ bizLineId?: string; /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class EditDomainCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** domainId */ domainId?: string; /** name */ name?: string; /** submitComment */ submitComment?: string; } export class EditObjectCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** objectId */ objectId?: string; /** submitComment */ submitComment?: string; } export class EditObjectPropertyCommand { /** description */ description?: string; /** displayName */ displayName?: string; /** name */ name?: string; /** objectPropertyId */ objectPropertyId?: string; /** submitComment */ submitComment?: string; } export class EntityTimeInfo { /** createTime */ createTime?: string; /** entityId */ entityId?: string; /** lastModifiedTime */ lastModifiedTime?: string; } export class EntityUserInfo { /** creator */ creator?: defs.Creator; /** entityId */ entityId?: string; /** modifier */ modifier?: defs.Modifier; /** owner */ owner?: defs.Owner; /** project */ project?: defs.ProjectInBrief; /** tenant */ tenant?: defs.TenantInBrief; } export class EnumDimValueDTO { /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** DimensionID */ dimensionId?: number; /** 枚举描述 */ enumDesc?: string; /** 枚举值 */ enumValue?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class ExecuteLabelProgressDTO { /** 执行状态 */ executeStatus?: string; /** 执行进度 */ progress?: number; } export class ExecuteTaskLog { /** 执行任务ID */ executeJobId?: string; /** 实例状态 */ executeJobStatus?: string; } export class ExecuteTimeDTO { /** 执行完成时间 */ executeEndTime?: string; /** 开始执行时间 */ executeStartTime?: string; } export class ExecuteTimeEntity { /** executeEndTime */ executeEndTime?: string; /** executeStartTime */ executeStartTime?: string; } export class ExecutedLabelJobDTO { /** 标签ID */ labelId?: string; /** 任务ID */ labelJobId?: string; } export class ExtInfoDTO { /** 创建人 */ creator?: defs.UserInfoDTO; /** 修改人 */ modifier?: defs.UserInfoDTO; /** owner */ owner?: defs.UserInfoDTO; /** 项目id */ projectId?: string; /** 项目名 */ projectName?: string; /** 租户id */ tenantId?: string; } export class FactTableAttributeRefDTO { /** 字段信息 */ attribute?: defs.AttributeDTO; /** Dimension信息 */ dimRelation?: defs.DimRelationDTO; } export class FactTableDTO { /** 结束条件。针对累积快照模型,结束时间字段(bizTimeColumn)或结束条件必须定义其一 */ bizEndCondition?: string; /** 业务主表 */ bizMainTable?: string; /** 业务主表限定条件 */ bizMainTableCondition?: string; /** 业务主表类型 */ bizMainTableType?: number; /** bizProcessDTO */ bizProcessDTO?: defs.BizProcessDTO; /** 所属业务过程 */ bizProcessId?: number; /** 业务时间字段:业务时间字段(对于事务型,请填写事务时间字段;周期快照型,请填写业务起始时间字段;累积快照,请填写业务结束时间字段;字段可以填写业务日期字段) */ bizTimeColumn?: string; /** 中文名 */ cn?: string; /** 所属数据域bo */ dataDomain?: defs.DataDomainDTO; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 是否有生产的对象 */ hasProd?: boolean; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 业务主表-表name,id,type */ mainTable?: defs.SourceMainTableDTO; /** 模型对应物理模型配置-生命周期 */ modelLifecycle?: number; /** df -> 2 di->1 模型类型:事务型(transaction) or 周期快照型(snapshot) or 累积快照型(accumulating) */ modelType?: number; /** 英文名 */ name?: string; /** 是否需要发布 */ needPublish?: boolean; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 事实逻辑表主键字段 */ pkAttribute?: defs.AttributeDTO; /** 归属project */ projectId?: number; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; } export class FactTableDetailDTO { /** 字段信息-代码信息 */ attributes?: Array; /** 事实表 */ factTableDTO?: defs.FactTableDTO; /** 物理化信息 */ logicTableConfigDTO?: defs.LogicTableConfigDTO; /** 调度信息 */ logicalTableScheduleConfigDTO?: defs.LogicalTableScheduleConfigDTO; /** 公用计算逻辑 */ publicSqlDTOS?: Array; /** 版本信息 */ versionDTO?: defs.VersionDTO; } export class FactoryLabelCreateProfileDTO { /** 描述 */ desc?: string; /** 名称 */ displayName?: string; /** 所属类目 */ labelCategoryId?: string; /** 英文名 */ name?: string; /** 公开状态:PUBLIC/NOT_PUBLIC */ publicStatus?: string; /** 结果表名 */ resultTableName?: string; } export class FactoryLabelDTO { /** 依赖的行为Id列表 */ behaviorIds?: Array; /** 数据集 */ dataSetDTOS?: Array; /** 正在执行的jobId */ executingJobId?: string; /** 标签VO */ factoryLabelDTO?: defs.FactoryLabelDTO; /** 标签内容 */ factoryLabelProfileDTO?: defs.FactoryLabelProfileDTO; /** 标签值配置 */ labelRuleConfigDTO?: defs.LabelRuleConfigDTO; /** 物理化配置 */ physicalConfigDTO?: defs.PhysicalConfigDTO; /** 提交时间 */ submitTime?: string; /** 用户Id */ userId?: string; /** 用户名 */ userName?: string; /** 版本号 */ version?: number; } export class FactoryLabelDependenceDTO { /** 工厂标签依赖的行为ID列表 */ behaviorIds?: Array; /** 工厂标签依赖的行为规则列表 */ ruleIds?: Array; } export class FactoryLabelJobDTO { /** 创建人显示名 */ creatorUserDisplayName?: string; /** 创建人 */ creatorUserId?: string; /** 回刷截止时间 */ endDate?: string; /** 创建时间 */ gmtCreate?: string; /** 标签ID */ labelId?: string; /** 执行任务的状态 */ status?: string; /** 任务实例日志 */ taskInstanceLogDTOS?: Array; } export class FactoryLabelListQuery { /** 筛选条件 */ filterCommand?: defs.FilterCommand; /** 关键词 */ keyword?: string; /** 分页参数 */ pageParam?: defs.PageParam; } export class FactoryLabelProfileDTO { /** 标签描述 */ desc?: string; /** 标签名称 */ displayName?: string; /** 测试运行状态 */ executeStatus?: string; /** 更新时间 */ gmtModified?: string; /** 标签类目 */ labelCategory?: defs.LabelCategoryProfileDTO; /** 执行的节点ID */ labelExecuteNodeId?: string; /** 标签ID */ labelId?: string; /** 标签结果表 */ labelResultTable?: string; /** 最近补数据状态 */ lastRefreshStatus?: string; /** 最近补数据时间 */ lastRefreshTime?: string; /** 标签英文名 */ name?: string; /** 公开状态 */ publicStatus?: string; /** 开发状态 */ status?: string; } export class FactoryLabelPropertyDTO { /** 标签节点 */ executeNodeId?: string; /** 标签 */ factoryLabelDTO?: defs.FactoryLabelDTO; /** 依赖关系 */ factoryLabelDependenceDTO?: defs.FactoryLabelDependenceDTO; } export class FavorParam { /** 对象id */ modelId?: string; /** 对象类型 */ modelType?: number; } export class FileCreateDTO { /** category */ category?: string; /** content */ content?: string; /** dirName */ dirName?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** type */ type?: string; } export class FileUpdateDTO { /** 更新文件内容 */ content?: string; /** 更新文件描述 */ desc?: string; /** 更新文件名 */ name?: string; } export class FilterBO { /** 描述 */ des?: string; /** 子过滤器 */ filterChildren?: Array; /** 唯一id */ id?: string; /** 操作 */ options?: Array; } export class FilterCommand { /** 被选中的筛选项 */ selectedFilters?: Array; } export class FilterDTO { /** 描述 */ des?: string; /** ID */ id?: string; /** 选项 */ options?: Array; } export class FilterOption { /** 数量 */ count?: number; /** 描述 */ des?: string; /** 详细信息 */ detail?: string; /** 值 */ value?: string; } export class FixDataRequestDto { /** childTaskIds */ childTaskIds?: Array; /** excludeTaskIds */ excludeTaskIds?: Array; } export class FlowModifyDto { /** beginBizDate */ beginBizDate?: string; /** bizDate */ bizDate?: string; /** checkDepBetweenDays */ checkDepBetweenDays?: boolean; /** containsDownstreams */ containsDownstreams?: boolean; /** createTime */ createTime?: string; /** dagrunIds */ dagrunIds?: Array; /** endBizDate */ endBizDate?: string; /** excludedNodeIds */ excludedNodeIds?: Array; /** executeMethod */ executeMethod?: | 'CREATE_FLOW' | 'SEARCH_FLOW' | 'SEARCH_FLOW_BY_ID' | 'KILL_FLOW' | 'CREATE_NODE' | 'UPDATE_NODE' | 'UPDATE_NODE_CONTENT' | 'UPDATE_NODE_OUTPUT_NAME' | 'DELETE_NODE' | 'SEARCH_MANUAL_NODE' | 'SEARCH_PERIODIC_NODE' | 'SEARCH_NODE' | 'SEARCH_NODE_BY_OUTPUT_NAME' | 'FUZZY_SEARCH_NODE_BY_OUTPUT_NAME' | 'SEARCH_NODE_CODE' | 'SEARCH_NODE_BY_ID' | 'SEARCH_NODE_PARENTS_BY_DEPTH' | 'SEARCH_NODE_CHILDREN_BY_DEPTH' | 'SEARCH_NODE_PARENTS_BY_DEPTH_WITH_TAGS' | 'SEARCH_NODE_CHILDREN_BY_DEPTH_WITH_TAGS' | 'RESUME_NODE' | 'PAUSE_NODE' | 'SEARCH_NODE_OPLOG' | 'SEARCH_TASK' | 'SEARCH_TASK_RUNLOG' | 'SEARCH_TASK_BY_ID' | 'RERUN_TASK' | 'SEARCH_TASK_PARENTS_BY_DEPTH' | 'SEARCH_TASK_CHILDREN_BY_DEPTH' | 'SEARCH_TASK_PARENTS_BY_DEPTH_WITH_TAGS' | 'SEARCH_TASK_CHILDREN_BY_DEPTH_WITH_TAGS' | 'SEARCH_TASKHISTORY' | 'SETSUCCESS_TASK' | 'KILL_TASK' | 'FIXDATA' | 'UPDATE_PRIORITY_TASK' | 'REMOVE_RELATION_TASK' | 'CREATE_DAG' | 'CREATE_DAG_IF_NOT_EXISTS' | 'REGISTER_FUNCTION' | 'UPDATE_FUNCTION' | 'UNREGISTER_FUNCTION' | 'REGISTER_RESOURCE' | 'UPDATE_RESOURCE' | 'UNREGISTER_RESOURCE' | 'CREATE_TENANT' | 'CREATE_OR_FULLY_UPDATE_TENANT'; /** flowId */ flowId?: string; /** includedNodeIds */ includedNodeIds?: Array; /** name */ name?: string; /** nodeRuntimeContents */ nodeRuntimeContents?: string; /** nodeRuntimeParams */ nodeRuntimeParams?: string; /** parallel */ parallel?: boolean; /** parallelism */ parallelism?: number; /** projectId */ projectId?: string; /** rootNodeId */ rootNodeId?: string; /** tenantId */ tenantId?: string; /** type */ type?: number; /** userId */ userId?: string; } export class Function { /** 函数列表 */ function?: object; /** 函数的类型 */ functionType?: 'SYSTEM' | 'UDF'; } export class FunctionPermissionApplicationForm { /** identity */ identity?: string; /** 权限类型 */ periodType?: | 'SHORT_TIME' | 'DAYS_30' | 'DAYS_90' | 'DAYS_180' | 'LONG_TERM' | 'CUSTOM'; /** 结束时间 */ permissionEnd?: string; /** 开始时间 */ permissionStart?: string; /** 申请理由 */ reason?: string; } export class FunctionPermissionBO { /** approveUsers */ approveUsers?: Array; /** identity */ identity?: string; /** level */ level?: 'HIGH' | 'MIDDLE' | 'LOW'; /** name */ name?: string; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; /** permisstionEnd */ permisstionEnd?: string; } export class GeneratedNodeDTO { /** 节点输出名称 */ nodeOutputName?: string; /** 简单的节点信息, 包括节点id, 节点名称, 责任人等信息 */ simpleNodeInfo?: defs.SimpleNodeInfoDTO; } export class GrantBizUnitPermissionBO { /** account */ account?: Array; /** 权限账号 */ accounts?: Array; /** bizUnitId */ bizUnitId?: number; /** env */ env?: 'DEV' | 'PROD'; /** logicTables */ logicTables?: Array; /** operateTypes */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 权限有效期止 */ permissionEnd?: string; /** 权限有效期起 */ permissionStart?: string; /** reason */ reason?: string; } export class GrantDataSourcePermissionBO { /** account */ account?: Array; /** 权限账号 */ accounts?: Array; /** dataSource */ dataSource?: defs.BriefDataSourceBO; /** operateTypes */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 权限有效期止 */ permissionEnd?: string; /** 权限有效期起 */ permissionStart?: string; /** reason */ reason?: string; } export class GrantFunctionPermissionBO { /** identity */ identity?: string; /** periodType */ periodType?: | 'SHORT_TIME' | 'DAYS_30' | 'DAYS_90' | 'DAYS_180' | 'LONG_TERM' | 'CUSTOM'; /** permissionEnd */ permissionEnd?: string; /** permissionStart */ permissionStart?: string; /** personAccountUserId */ personAccountUserId?: string; /** reason */ reason?: string; } export class GrantProjectPermissionBO { /** account */ account?: Array; /** 权限账号 */ accounts?: Array; /** env */ env?: 'DEV' | 'PROD'; /** operateTypes */ operateTypes?: Array; /** 权限类型 */ periodType?: string; /** 权限有效期止 */ permissionEnd?: string; /** 权限有效期起 */ permissionStart?: string; /** physicalTables */ physicalTables?: Array; /** projectId */ projectId?: number; /** reason */ reason?: string; } export class HadoopNameNodeBO { /** hadoopNameNodeIp */ hadoopNameNodeIp?: string; /** hadoopNameNodePassword */ hadoopNameNodePassword?: string; /** hadoopNameNodePort */ hadoopNameNodePort?: string; /** hadoopNameNodeUser */ hadoopNameNodeUser?: string; } export class HandledOaTaskBO { /** bizContent */ bizContent?: string; /** createTime */ createTime?: string; /** createUserId */ createUserId?: string; /** createUserName */ createUserName?: string; /** finishTime */ finishTime?: string; /** handler */ handler?: string; /** name */ name?: string; /** objectId */ objectId?: number; /** objectType */ objectType?: 'APPLY' | 'APPROVE'; /** sourceSystem */ sourceSystem?: string; /** status */ status?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; } export class HostIp { /** host */ host?: string; /** ip */ ip?: string; } export class HostLoginInfo { /** password */ password?: string; /** user */ user?: string; } export class HttpCallbackParams { /** endpoint */ endpoint?: string; /** httpHeaders */ httpHeaders?: ObjectMap; /** httpMethod */ httpMethod?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD'; /** httpRequestBody */ httpRequestBody?: string; /** httpRequestParams */ httpRequestParams?: ObjectMap; /** path */ path?: string; } export class HttpTaskrunCallbackEntity { /** callbackSettings */ callbackSettings?: defs.CallbackSettings; /** callbackTiming */ callbackTiming?: | 'BEFORE_EXECUTION' | 'AFTER_EXECUTION' | 'AFTER_EXECUTION_SUCCESS' | 'AFTER_EXECUTION_FAILED'; /** callbackType */ callbackType?: 'HTTP' | 'ONE_SERVICE' | 'DQE'; /** httpCallbackParams */ httpCallbackParams?: defs.HttpCallbackParams; /** type */ type?: 'HTTP' | 'ONE_SERVICE' | 'DQE'; } export class IdNormalizationConfigCommand { /** 是否开启归一化 */ condition?: boolean; /** 节点输出名 */ nodeOutPutName?: string; /** ID倒排表 */ physicalTableDTO?: defs.PhysicalTableDTO; /** 分区字段名 */ sourceTableCondition?: string; } export class IdNormalizationConfigDTO { /** 是否开启归一化 */ condition?: boolean; /** Id倒排表 */ physicalTableDTO?: defs.PhysicalTableDTO; /** 是否是分区表 */ sourceTableCondition?: string; /** 租户ID */ tenantId?: string; } export class IdTypeDTO { /** IdType描述 */ desc?: string; /** IdType名 */ idTypeName?: string; /** IdType来源(SYSTEM/CUSTOM) */ idTypeSource?: string; /** 依赖此IdType的规则id列表 */ ruleIds?: Array; /** 租户id */ tenantId?: string; } export class IdeFileBO { /** category */ category?: number; /** content */ content?: string; /** contentType */ contentType?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** expandable */ expandable?: boolean; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** size */ size?: number; /** subNodeCount */ subNodeCount?: number; /** tenantId */ tenantId?: number; } export class IdeLogicalTableNodeBO { /** 逻辑表catalog id */ catalogId?: number; /** 逻辑表catalog名称 */ catalogName?: string; /** 逻辑表catalog类型 */ catalogType?: 'BIZUNIT' | 'LOGICALDB' | 'PHYSICALDB' | 'OTHER'; /** 调度物化节点列表 */ children?: Array; /** 逻辑表下的物化节点数量 */ childrenCount?: number; /** 逻辑表执行开始结束时间 */ executeTimeEntity?: defs.ExecuteTimeEntity; /** 逻辑表发布时间 */ gmtModified?: string; /** 逻辑表ID */ id?: number; /** 是否是叶子节点,默认false */ leaf?: boolean; /** 逻辑表名字 */ name?: string; /** 逻辑表owner */ owner?: string; /** 逻辑表类型 */ type?: string; } export class IdeLogicalTableTaskBO { /** 逻辑表对应的业务日期 */ bizDate?: string; /** 逻辑表catalog id */ catalogId?: number; /** 逻辑表catalog名称 */ catalogName?: string; /** 逻辑表catalog类型 */ catalogType?: 'BIZUNIT' | 'LOGICALDB' | 'PHYSICALDB' | 'OTHER'; /** 调度任务实例列表 */ children?: Array; /** 逻辑表下的物化节点数量 */ childrenCount?: number; /** 逻辑表执行开始结束时间 */ executeTimeEntity?: defs.ExecuteTimeEntity; /** 逻辑表发布时间 */ gmtModified?: string; /** 逻辑表ID */ id?: string; /** 逻辑表实例ID */ instanceId?: string; /** 是否是叶子节点,默认false */ leaf?: boolean; /** 逻辑表名字 */ name?: string; /** 逻辑表owner */ owner?: string; /** 逻辑表类型 */ type?: string; } export class IdeNodeEntity { /** 逻辑表DAG图搜索使用,物化节点的字段列表 */ columns?: Array; /** 节点代码内容 */ content?: string; /** 手工节点运行次数 */ countOfRun?: number; /** cron表达式 */ cronExpression?: string; /** 节点所属的dagId */ dagId?: string; /** 直接下游逻辑DAG节点 */ downstreamLogicalNodeRelations?: Array; /** 直接下游节点 */ downstreamNodeRelations?: Array; /** 数据源配置 */ dsConfig?: defs.DsConfig; /** 手工节点使用,最近一次运行实例的执行状况 */ executeTimeEntity?: defs.ExecuteTimeEntity; /** 是否为叶子节点 */ leaf?: boolean; /** 节点描述 */ nodeDesc?: string; /** 标识节点是由某个组织或应用创建的 */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** 节点名称 */ nodeName?: string; /** 节点输出名称列表,可能有多个 */ nodeOutputNameList?: Array; /** 节点的状态, 1表示正常, 2表示暂停调度 */ nodeStatus?: number; /** 节点类型 */ nodeType?: number; /** Operator类型 */ operatorType?: number; /** 节点的参数 */ params?: string; /** 父节点ID,通常为逻辑表ID */ parentId?: string; /** 父节点名称,通常为逻辑表名 */ parentName?: string; /** 优先级, 越小越高 */ priority?: number; /** 手工节点使用,最近一次运行的实例状态 */ statusCode?: number; /** 节点的标签信息 */ tags?: string; /** 逻辑表DAG实例图使用,当前节点的node对象 */ task?: defs.TaskEntity; /** 节点的时间相关信息 */ timeInfo?: defs.EntityTimeInfo; /** 直接上游逻辑DAG节点 */ upstreamLogicalNodeRelations?: Array; /** 直接上游节点 */ upstreamNodeRelations?: Array; /** 节点的User相关信息 */ userInfo?: defs.EntityUserInfo; /** 节点版本 */ version?: number; } export class IdeNodeRelation { /** 天数差, 默认为空, 如果设置了该值, 则periodDiff无效 */ dayDiff?: number; /** 周期差,非负数, 0表示同周期依赖, 正数表示依赖前N个周期 */ periodDiff?: number; /** 关系类型 */ relationType?: string; /** 上游节点id */ sourceNodeId?: string; /** 上游节点的输出名称 */ sourceNodeOutputName?: string; /** 下游节点id */ targetNodeId?: string; /** 下游节点的输出名称 */ targetNodeOutputName?: string; } export class IdeOperationEntity { /** createTime */ createTime?: string; /** modifiedTime */ modifiedTime?: string; /** nodeId */ nodeId?: string; /** objectIds */ objectIds?: string; /** objectType */ objectType?: number; /** 操作名称 */ operationName?: string; /** operationStatus */ operationStatus?: number; /** operationType */ operationType?: number; /** operator */ operator?: string; } export class IdeResourceBO { /** category */ category?: number; /** content */ content?: string; /** contentType */ contentType?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** expandable */ expandable?: boolean; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** size */ size?: number; /** subNodeCount */ subNodeCount?: number; /** tenantId */ tenantId?: number; } export class IdeSearchResultBO { /** behaviorRules */ behaviorRules?: Array; /** functions */ functions?: Array; /** labels */ labels?: Array; /** logicTables */ logicTables?: Array; /** physicalTables */ physicalTables?: Array; /** resources */ resources?: Array; /** standardDefinitions */ standardDefinitions?: Array; } export class IdeTaskEntity { /** 业务日期 */ bizDate?: string; /** 所属的dagrunId */ dagrunId?: string; /** 任务所属dagrun的类型,可能是[正常1],[补数据2],[手工3] */ dagrunType?: 2 | 2; /** 任务的下游任务 */ downstreamTaskRelations?: Array; /** dsConfig */ dsConfig?: defs.DsConfig; /** 应该运行的时间点 */ dueTime?: string; /** executeTimeEntity */ executeTimeEntity?: defs.ExecuteTimeEntity; /** 所属的flowId,只有在dagrunType不是normal的情况才会有值 */ flowId?: string; /** 在当天运行的所有任务中的顺序 */ index?: number; /** 是否为叶子节点 */ leaf?: boolean; /** nodeFrom */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** Operator类型, 如SQL, DataX等 */ operatorType?: number; /** 任务的参数 */ params?: string; /** 父节点ID,通常为逻辑表ID */ parentId?: string; /** 父节点名称,通常为逻辑表名 */ parentName?: string; /** 优先级, 越小越高 */ priority?: number; /** 任务的状态,[未运行1],[等待调度2],[等待提交3],[等待资源4],[执行中5],[执行失败6],[被终止6],[执行成功0] */ status?: number; /** tags */ tags?: string; /** 任务描述 */ taskDesc?: string; /** taskId */ taskId?: string; /** 任务名称, 一般与节点名称相同 */ taskName?: string; /** 任务类型,可能是[正常1],[虚拟2] */ taskType?: number; /** timeInfo */ timeInfo?: defs.EntityTimeInfo; /** 任务的上游任务 */ upstreamTaskRelations?: Array; /** userInfo */ userInfo?: defs.EntityUserInfo; } export class IdeUdfBO { /** category */ category?: number; /** className */ className?: string; /** commandHelp */ commandHelp?: string; /** content */ content?: string; /** contentType */ contentType?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** expandable */ expandable?: boolean; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** refResources */ refResources?: Array; /** size */ size?: number; /** subNodeCount */ subNodeCount?: number; /** tenantId */ tenantId?: number; /** udfCategory */ udfCategory?: number; } export class InitConfigCommand { /** 业务板块名称 */ bizUnitDisplayName?: string; /** 业务板块英文名 */ bizUnitName?: string; /** 计算引擎源Id */ dataSourceId?: number; /** 研发模式 */ modeEnum?: string; /** 空间类型 */ nameSpace?: string; /** 项目描述 */ projectDesc?: string; /** 项目名称 */ projectDisplayName?: string; /** 项目英文名 */ projectName?: string; } export class InitConfigResultDTO { /** 状态 */ configStatus?: string; /** 错误信息 */ errorInfoDTO?: defs.ConfigErrorInfoDTO; } export class Iterator {} export class KerberosBO { /** kerberosFileId */ kerberosFileId?: string; /** kerberosIsOn */ kerberosIsOn?: boolean; /** kerberosPrincipal */ kerberosPrincipal?: string; /** uploadKeytabFileName */ uploadKeytabFileName?: string; } export class LabelCategoryDTO { /** 创建人 */ createUserId?: string; /** 创建人名称 */ creatorUserName?: string; /** 创建时间 */ gmtCreate?: string; /** 更新时间 */ gmtModified?: string; /** 标签类目描述 */ labelCategoryDes?: string; /** 标签类目名称 */ labelCategoryDisplayName?: string; /** 标签类目ID */ labelCategoryId?: string; /** 标签类目英文名 */ labelCategoryName?: string; /** 下属标签个数 */ labelCount?: number; /** 更新人 */ modifierUserId?: string; /** 更新人名称 */ modifierUserName?: string; } export class LabelCategoryProfileDTO { /** 创建人 */ createUserId?: string; /** 创建人名称 */ creatorUserName?: string; /** 创建时间 */ gmtCreate?: string; /** 更新时间 */ gmtModified?: string; /** 标签类目描述 */ labelCategoryDes?: string; /** 标签类目名称 */ labelCategoryDisplayName?: string; /** 标签类目ID */ labelCategoryId?: string; /** 标签类目英文名 */ labelCategoryName?: string; /** 更新人 */ modifierUserId?: string; /** 更新人名称 */ modifierUserName?: string; } export class LabelDistributionDTO { /** 标签分布 */ labelPreferRangeDTOS?: Array; /** 标签值 */ labelValue?: string; /** 命中率 */ oneIdPercentage?: string; } export class LabelPreferRangeDTO { /** 偏好度 */ percentage?: string; /** 偏好度区间 */ preferInterval?: string; } export class LabelReportDTO { /** 基本信息 */ basicInfoDTO?: defs.BasicInfoDTO; /** 报告生成时间 */ createTime?: string; /** 标签消息来源 */ dataSetDTOS?: Array; /** 标签消息分布 */ labelDistributionDTOS?: Array; /** 结果表抽样 */ labelResultTableSampleDTOS?: Array; } export class LabelResultTableSampleDTO { /** confidence */ confidence?: string; /** count */ count?: string; /** ds */ ds?: string; /** idType */ idType?: string; /** idValue */ idValue?: string; /** prefer */ prefer?: string; } export class LabelRuleConfigDTO { /** 用户覆盖范围 */ coverageDTO?: defs.CoverageDTO; /** 衰减曲线 */ decayCurve?: string; /** 衰减时间周期:7/30 */ decayPeriod?: number; /** 返回标签值个数 */ labelValueCount?: number; } export class LabelTableDTO { /** IdType虚拟Dimension&IdValue虚拟Dimension */ dims?: Array; /** 标签逻辑表名 */ displayName?: string; /** 工厂标签数量 */ factoryLabelNumber?: number; /** 手工标签数量 */ manualLabelNumber?: number; /** 标签逻辑表英文名 */ name?: string; } export class LevelDimConfigDTO { /** 子层字段 */ childFieldName?: string; /** 显示名 */ cn?: string; /** 描述信息 */ des?: string; /** Dimensionlist */ dimensionList?: Array; /** 时间分区逻辑 */ filterCondition?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 生成叶子Dimension */ hasLeaf?: boolean; /** 主键ID */ id?: number; /** 最后一次修改人 */ lastModifier?: string; /** 层级定义 */ maxLevel?: number; /** 中间表名 */ midTableName?: string; /** 名称 */ name?: string; /** 名称字段中文名 */ namingFieldCn?: string; /** 名称字段 */ namingFieldName?: string; /** 责任人 */ owner?: string; /** 父层字段 */ parentFieldName?: string; /** 项目ID */ projectId?: number; /** 项目名称 */ projectName?: string; /** 层级根节点定义 */ rootCondition?: string; /** 源表主键 */ sourcePk?: string; /** 源表主键中文名 */ sourcePkCn?: string; /** 源表主键数据类型 */ sourcePkDataType?: string; /** 源表名 */ sourceTableName?: string; /** 状态 */ status?: number; /** 租户Id */ tenantId?: number; } export class LinkedHashMap {} export class LogicDTO { /** 逻辑关联字段 */ attributes?: Array; /** 批量计算逻辑 */ logic?: string; } export class LogicTableConfigDTO { /** 自定义参数设置 */ customizeConfig?: string; /** 归档逻辑 */ designArchiveLogic?: string; /** 是否归档 */ designIsArchive?: boolean; /** 生命周期 */ designLifecycle?: number; /** 无需物理化字段 */ noLogicAttributeList?: Array; /** 无需物理化字段 */ noLogicAttributes?: string; /** 分区字段/字段id逗号分隔 */ partAttributeList?: Array; /** 分区字段/字段id逗号分隔 */ partAttributes?: string; } export class LogicTableDTO { /** dimTables */ dimTables?: Array; /** factTables */ factTables?: Array; } export class LogicTableDetailBO { /** attributes */ attributes?: Array; /** cn */ cn?: string; /** desc */ desc?: string; /** env */ env?: 'DEV' | 'PROD'; /** id */ id?: string; /** name */ name?: string; /** tableType */ tableType?: | 'PHYSICAL_TABLE' | 'PHYSICAL_FIELD' | 'FACT_TABLE' | 'FACT_TABLE_FIELD' | 'DIM_TABLE' | 'DIM_TABLE_FIELD' | 'SUM_TABLE' | 'SUM_TABLE_FIELD' | 'DATASOURCE' | 'LOGICAL_TABLE' | 'LOGICAL_FIELD' | 'OS_API' | 'OS_API_FIELD' | 'PAGE' | 'BIZ_UNIT' | 'PROJECT' | 'STREAM_COMPUTE' | 'STREAM_JOB' | 'STREAM_FUNCTION' | 'STREAM_META' | 'STREAM_META_FIELD'; } export class LogicTablePermissionBO { /** account */ account?: defs.AccountBO; /** bizUnit */ bizUnit?: defs.BriefBizUnitBO; /** env */ env?: 'DEV' | 'PROD'; /** logicTable */ logicTable?: defs.BriefLogicTableBO; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; } export class LogicTablePermissionDetailBO { /** account */ account?: defs.AccountBO; /** attributePermissionBOs */ attributePermissionBOs?: Array; /** bizUnit */ bizUnit?: defs.BriefBizUnitBO; /** env */ env?: 'DEV' | 'PROD'; /** logicTable */ logicTable?: defs.BriefLogicTableBO; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; } export class LogicalColumnVO { /** 字段中文名 */ columnCnName?: string; /** 字段ID */ columnId?: string; /** 字段名称 */ columnName?: string; /** 字段数据类型 */ dataType?: | 'INT' | 'TINYINT' | 'SMALLINT' | 'BIGINT' | 'VARCHAR' | 'CHAR' | 'STRING' | 'BINARY' | 'FLOAT' | 'DOUBLE' | 'DECIMAL' | 'BOOLEAN' | 'DATETIME' | 'DATE' | 'TIMESTAMP' | 'ARRAY' | 'MAP' | 'STRUCT' | 'UNION'; /** 物化节点ID */ nodeId?: string; /** 字段发布时间 */ produceDate?: string; /** 逻辑表ID */ tableId?: string; } export class LogicalTableColumnsAndTablesDTO { /** columnTableMap */ columnTableMap?: ObjectMap>; /** columns */ columns?: Array; /** tables */ tables?: Array; } export class LogicalTableInputOutputDTO { /** samePeriodUpstreams */ samePeriodUpstreams?: Array; } export class LogicalTableParseIssueDTO { /** 无效的字段名称, 即跨周期依赖填写依赖字段不属于该逻辑表时候报错 */ invalidColumnNames?: Array; /** 没有挂上依赖的上游表 */ missingTables?: Array; /** 逻辑表模型id */ modelId?: number; /** 是否成功, 如果为true, 则说明解析通过, 否则说明有解析出的问题 */ success?: boolean; /** 没有对应节点信息的上游表列表 */ tablesWithoutNodeInfo?: Array; } export class LogicalTableScheduleConfigDTO { /** 基本调度配置信息, 包括名称, 类型, 描述, 调度参数等 */ basicInfo?: defs.BasicScheduleConfigInfoDTO; /** 逻辑表的字段和相关表以及字段和表之间的关系信息 */ columnsAndTables?: defs.LogicalTableColumnsAndTablesDTO; /** 跨周期依赖, 目前是上周期依赖 */ crossPeriodUpstream?: Array; /** 本逻辑表已经生成的节点信息, 包括输出名称, 节点id, 名称, 责任人等 */ generatedNodes?: Array; /** 是否有跨周期的依赖, True/False */ hasCrossPeriodUpstream?: boolean; /** 模型id */ modelId?: number; /** 本周期依赖 */ samePeriodUpstreams?: Array; } export class MaintenanceCommand { /** config */ config?: string; /** gmtCreate */ gmtCreate?: string; /** gmtStart */ gmtStart?: string; /** id */ id?: number; /** messageId */ messageId?: number; /** operator */ operator?: string; /** tenantId */ tenantId?: number; /** type */ type?: string; } export class MaintenanceDTO { /** config */ config?: string; /** gmtComplete */ gmtComplete?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** gmtStart */ gmtStart?: string; /** id */ id?: number; /** messageId */ messageId?: number; /** operator */ operator?: string; /** status */ status?: string; /** tenantId */ tenantId?: number; /** type */ type?: string; } export class ManageBizUnitPermissionBO { /** bizUnit */ bizUnit?: defs.BriefBizUnitBO; /** env */ env?: 'DEV' | 'PROD'; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; /** role */ role?: string; /** source */ source?: string; } export class ManageDataSourcePermissionBO { /** dataSource */ dataSource?: defs.BriefDataSourceBO; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; /** role */ role?: string; /** source */ source?: string; } export class ManageFunctionPermissionBO { /** approveUsers */ approveUsers?: Array; /** identity */ identity?: string; /** level */ level?: 'HIGH' | 'MIDDLE' | 'LOW'; /** name */ name?: string; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; /** permisstionEnd */ permisstionEnd?: string; } export class ManageProjectPermissionBO { /** bizUnit */ bizUnit?: defs.BriefBizUnitBO; /** env */ env?: 'DEV' | 'PROD'; /** ownerId */ ownerId?: string; /** ownerName */ ownerName?: string; /** project */ project?: defs.BriefProjectBO; /** role */ role?: string; /** source */ source?: string; } export class ManualLabelDTO { /** 字段类型 */ dataType?: string; /** 描述 */ desc?: string; /** 名称 */ displayName?: string; /** 标签类目 */ labelCategoryId?: number; /** 公开状态 */ labelPublicStatus?: 'PUBLIC' | 'NOT_PUBLIC'; /** 英文名 */ name?: string; /** 来源字段描述 */ sourceColumnComment?: string; /** 来源字段名 */ sourceColumnName?: string; } export class ManualLabelSourceTableDTO { /** 来源表所处环境 */ env?: 'DEV' | 'PROD'; /** idType列数据类型 */ idTypeColumnDataType?: string; /** idType列名 */ idTypeColumnName?: string; /** idValue列数据类型 */ idValueColumnDataType?: string; /** idValue列名 */ idValueColumnName?: string; /** 分区字段数据类型 */ partitionDataType?: string; /** 分区字段名 */ partitionName?: string; /** 来源项目id */ sourceProjectId?: number; /** 来源表名 */ sourceTableName?: string; } export class ManualLabelVO { /** 描述 */ desc?: string; /** 名称 */ displayName?: string; /** 修改时间 */ gmtModified?: string; /** id */ id?: string; /** 类目名称 */ labelCategoryDisplayName?: string; /** 类目id */ labelCategoryId?: string; /** 类目英文名 */ labelCategoryName?: string; /** 公开状态 */ labelPublicStatus?: string; /** 英文名 */ name?: string; /** 来源表名 */ sourceTableName?: string; } export class MessageBO { /** 消息内容 */ content?: string; /** 生效截止时间 */ effectiveEndTime?: string; /** 生效起始时间 */ effectiveStartTime?: string; /** 消息创建时间 */ gmtCreate?: string; /** 消息修改时间 */ gmtModified?: string; /** 消息ID */ messageId?: number; /** 发送的目标 */ sendTarget?: string; /** 发送的目标类型 */ sendTargetType?: string; } export class MessageProfile { /** 内容 */ content?: string; /** 消息等级 */ messageLevel?: string; /** 消息来源 */ messageSource?: string; /** 消息类型:SYSTEM/CUSTOMIZE */ messageType?: string; /** 消息Url */ messageUrl?: string; /** 标题 */ title?: string; } export class ModelBizDetailAttributeDTO { /** attributeDataType */ attributeDataType?: string; /** attributeDefaultValue */ attributeDefaultValue?: string; /** attributeIsPartition */ attributeIsPartition?: boolean; /** attributeLogic */ attributeLogic?: string; /** attributeScope */ attributeScope?: string; /** attributeSeq */ attributeSeq?: number; /** attributeType */ attributeType?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** modelId */ modelId?: number; /** 英文名 */ name?: string; /** notNull */ notNull?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** physical */ physical?: boolean; /** pk */ pk?: boolean; /** refDimensionId */ refDimensionId?: number; /** refDimensionMaxPt */ refDimensionMaxPt?: boolean; /** refDimensionRole */ refDimensionRole?: string; /** refDimensionRoleCn */ refDimensionRoleCn?: string; /** 租户ID */ tenantId?: number; /** unique */ unique?: boolean; } export class ModelDTO { /** 业务过程ID */ bizProcessId?: number; /** 子区域 */ childs?: Array; /** 模型中文名称 */ cn?: string; /** Dimension类型 */ dimType?: number; /** 模型id */ id?: number; /** 杂项Dimension区 */ junk?: defs.RelationBaseDTO; /** 主键区 */ key?: defs.AttributeDTO; /** 度量区 */ measures?: Array; /** 模型英文名称 */ name?: string; /** 普通字段区 */ normals?: Array; /** 父区域 */ parent?: defs.SingleModelDTO; /** 关联区 */ relations?: Array; /** 系统区 */ sys?: defs.AttributeDTO; } export class ModelDimensionAttributeDTO { /** attributeDataType */ attributeDataType?: string; /** attributeDefaultValue */ attributeDefaultValue?: string; /** attributeIsPartition */ attributeIsPartition?: boolean; /** attributeLogic */ attributeLogic?: string; /** attributeScope */ attributeScope?: string; /** attributeSeq */ attributeSeq?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** description */ description?: string; /** dimensionId */ dimensionId?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** notNull */ notNull?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** physical */ physical?: boolean; /** pk */ pk?: boolean; /** refDimensionId */ refDimensionId?: number; /** refDimensionIsMaxPt */ refDimensionIsMaxPt?: boolean; /** refDimensionRole */ refDimensionRole?: string; /** refDimensionRoleCn */ refDimensionRoleCn?: string; /** status */ status?: number; /** 租户ID */ tenantId?: number; /** type */ type?: number; /** unique */ unique?: boolean; } export class ModelSubmitErrorDTO { /** errorCode */ errorCode?: string; /** 针对权限的需要链接的错误信息 */ errorData?: string; /** 错误信息 */ errorInfo?: string; } export class ModelSubmitMsgDTO { /** 错误信息 */ errorDTO?: defs.ModelSubmitErrorDTO; /** 提示信息 */ warnInfo?: string; } export class ModelSubmitTaskDTO { /** 错误信息 */ errorMsg?: defs.ModelSubmitMsgDTO; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 主键 */ id?: number; /** 模型ID */ modelId?: number; /** 模型类型 */ modelType?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** 提交的类型:9-删除,1-下线,2-提交,3-发布,@see ModelTaskTypeEnum */ submitType?: number; /** 状态 */ taskStatus?: 'SUBMITTING' | 'SUCCESS' | 'FAIL'; /** 租户ID */ tenantId?: number; /** 提交人 */ userId?: string; /** 提示信息 */ warnMsg?: defs.ModelSubmitMsgDTO; } export class Modifier { /** userId */ userId?: string; /** userName */ userName?: string; } export class NodeContentEntity { /** 代码内容 */ content?: string; /** 创建时间 */ gmtCreate?: string; /** 修改者 */ modifier?: string; /** 节点id */ nodeId?: string; /** 备注 */ remark?: string; /** 版本ID */ version?: number; /** 节点的所有内容 */ versionedContent?: defs.VersionedNodeContent; } export class NodeDTO { /** 调度表达式 */ cronExpression?: string; /** 所属的dagId */ dagId?: string; /** 同步配置 */ dataxSettingVO?: defs.DataxSettingVO; /** 数据源配置 */ dsConfig?: defs.DsConfig; /** executeMethod */ executeMethod?: | 'CREATE_FLOW' | 'SEARCH_FLOW' | 'SEARCH_FLOW_BY_ID' | 'KILL_FLOW' | 'CREATE_NODE' | 'UPDATE_NODE' | 'UPDATE_NODE_CONTENT' | 'UPDATE_NODE_OUTPUT_NAME' | 'DELETE_NODE' | 'SEARCH_MANUAL_NODE' | 'SEARCH_PERIODIC_NODE' | 'SEARCH_NODE' | 'SEARCH_NODE_BY_OUTPUT_NAME' | 'FUZZY_SEARCH_NODE_BY_OUTPUT_NAME' | 'SEARCH_NODE_CODE' | 'SEARCH_NODE_BY_ID' | 'SEARCH_NODE_PARENTS_BY_DEPTH' | 'SEARCH_NODE_CHILDREN_BY_DEPTH' | 'SEARCH_NODE_PARENTS_BY_DEPTH_WITH_TAGS' | 'SEARCH_NODE_CHILDREN_BY_DEPTH_WITH_TAGS' | 'RESUME_NODE' | 'PAUSE_NODE' | 'SEARCH_NODE_OPLOG' | 'SEARCH_TASK' | 'SEARCH_TASK_RUNLOG' | 'SEARCH_TASK_BY_ID' | 'RERUN_TASK' | 'SEARCH_TASK_PARENTS_BY_DEPTH' | 'SEARCH_TASK_CHILDREN_BY_DEPTH' | 'SEARCH_TASK_PARENTS_BY_DEPTH_WITH_TAGS' | 'SEARCH_TASK_CHILDREN_BY_DEPTH_WITH_TAGS' | 'SEARCH_TASKHISTORY' | 'SETSUCCESS_TASK' | 'KILL_TASK' | 'FIXDATA' | 'UPDATE_PRIORITY_TASK' | 'REMOVE_RELATION_TASK' | 'CREATE_DAG' | 'CREATE_DAG_IF_NOT_EXISTS' | 'REGISTER_FUNCTION' | 'UPDATE_FUNCTION' | 'UNREGISTER_FUNCTION' | 'REGISTER_RESOURCE' | 'UPDATE_RESOURCE' | 'UNREGISTER_RESOURCE' | 'CREATE_TENANT' | 'CREATE_OR_FULLY_UPDATE_TENANT'; /** 对应于菜单树id */ fileId?: string; /** 文件名 */ fileName?: string; /** 是否有开发环境的节点 */ hasDevNode?: boolean; /** 操作状态id */ id?: number; /** 是否需要发布 */ needPublish?: boolean; /** 节点代码 */ nodeContent?: string; /** 节点描述 */ nodeDesc?: string; /** 标识节点是由某个组织或应用创建的 */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** 节点名称 */ nodeName?: string; /** 节点输出名称 */ nodeOutputNameList?: Array; /** 节点owner */ nodeOwner?: string; /** 节点状态 */ nodeStatus?: number; /** 节点类型 */ nodeType?: number; /** Operator类型 */ operatorType?: number; /** 节点负责人id */ owner?: string; /** 这个给界面显示的字段 */ ownerName?: string; /** 节点参数 */ params?: string; /** 标识节点是否被暂停 */ paused?: boolean; /** 优先级 */ priority?: number; /** projectId */ projectId?: string; /** 是否已发布到生产环境 */ published?: boolean; /** 来源配置 */ reader?: defs.DataxPluginVO; /** 发布状态 */ released?: boolean; /** 备注信息 */ remark?: string; /** 是否可以重跑 */ rerunable?: boolean; /** 发布状态 */ status?: 'DRAFT' | 'SUBMITTED' | 'DEVELOPING'; /** tags */ tags?: string; /** tenantId */ tenantId?: string; /** 上游依赖 */ upstreams?: Array; /** userId */ userId?: string; /** 有效时间区间 */ validPeriod?: defs.Period; /** target配置 */ writer?: defs.DataxPluginVO; } export class NodeRelation { /** 天数差, 默认为空, 如果设置了该值, 则periodDiff无效 */ dayDiff?: number; /** 周期差,非负数, 0表示同周期依赖, 正数表示依赖前N个周期 */ periodDiff?: number; /** 上游节点id */ sourceNodeId?: string; /** 上游节点的输出名称 */ sourceNodeOutputName?: string; /** 下游节点id */ targetNodeId?: string; /** 下游节点的输出名称 */ targetNodeOutputName?: string; } export class NodeRelationDTO { /** 天数差, 默认为空, 如果设置了该值, 则periodDiff无效 */ dayDiff?: number; /** 周期差,非负数, 0表示同周期依赖, 正数表示依赖前N个周期 */ periodDiff?: number; /** 上游节点id */ sourceNodeId?: string; /** 上游节点的输出名称 */ sourceNodeOutputName?: string; /** 下游节点id */ targetNodeId?: string; /** 下游节点的输出名称 */ targetNodeOutputName?: string; } export class NodeVersionDTO { /** 备注 */ comment?: string; /** 是否已经发布到线上 */ existPublished?: boolean; /** 提交时间 */ gmtCreate?: string; /** 更新时间 */ gmtModified?: string; /** id */ id?: number; /** 模型Id */ modelId?: string; /** 模型的类型 */ oneDataType?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** 租户Id */ tenantId?: number; /** 提交人ID */ userId?: string; /** 提交人名称 */ userName?: string; /** 版本 */ version?: string; } export class ObjectLockBO { /** 加锁时间 */ gmtModified?: string; /** objectId */ objectId?: number; /** objectType */ objectType?: string; /** tenantId */ tenantId?: number; /** 加锁用户ID */ userId?: string; /** 加锁用户名 */ userName?: string; } export class ObjectPropertyConditionDTO { /** 条件类型 */ conditionType?: string; /** 条件值 */ conditionValue?: string; /** 属性显示名称 */ objectPropertyDisplayName?: string; /** 属性ID */ objectPropertyId?: string; } export class ObjectPropertyLabelingRuleDTO { /** 属性映射规则条件 */ labelingRules?: Array; /** 映射方式 */ mappingType?: string; /** 属性显示名称 */ objectPorpertyDisplayName?: string; /** 属性ID */ objectPropertyId?: string; } export class ObjectPropertyListTreeDTO { /** 对象属性 */ children?: Array; /** 行为ID */ id?: string; } export class ObjectPropertyMappingCommand { /** 条件 */ condition?: string; /** 条件类型 */ conditionalType?: string; /** 结果 */ result?: string; } export class ObjectPropertyTreeDTO { /** 显示名称 */ displayName?: string; /** name */ name?: string; /** 类型 */ type?: string; } export class ObjectPropertyValueDistributesDTO { /** 属性值分布 */ behaviorObjectPropertyVOs?: Array; /** 属性-对象 */ propertyObjectValue?: string; } export class ObjectPropertyValueDistributionDTO { /** 分布 */ ratio?: number; /** 属性值 */ value?: string; } export class OdpsRegionConfigBO { /** endpoint */ endpoint?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** regionId */ regionId?: string; } export class OfflineFactoryLabelCommand { /** 标签ID */ labelId?: string; /** 提交备注 */ submitComment?: string; } export class OpNodeDTO { /** 节点代码内容 */ content?: string; /** cron表达式 */ cronExpression?: string; /** 节点所属的dagId */ dagId?: string; /** 直接下游节点 */ downstreamNodeRelations?: Array; /** 环境信息 */ env?: string; /** 节点的相关信息 */ extInfoDTO?: defs.ExtInfoDTO; /** 节点描述 */ nodeDesc?: string; /** 标识节点是由某个组织或应用创建的 */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** 节点名称 */ nodeName?: string; /** 节点输出名称列表,可能有多个 */ nodeOutputNameList?: Array; /** 节点的状态, 1表示正常, 2表示暂停调度 */ nodeStatus?: number; /** 节点类型 */ nodeType?: number; /** Operator类型 */ operatorType?: number; /** 节点的参数 */ params?: string; /** 优先级, 越小越高 */ priority?: number; /** tags */ tags?: Array; /** 节点的时间相关信息 */ timeInfo?: defs.TimeInfoDTO; /** 直接上游节点 */ upstreamNodeRelations?: Array; /** 节点版本 */ version?: number; } export class OpTaskDTO { /** 业务日期 */ bizDate?: string; /** 所属的dagrunId */ dagrunId?: string; /** 任务所属dagrun的类型,可能是[正常1],[补数据2],[手工3] */ dagrunType?: 2 | 2; /** 任务的下游任务 */ downstreamTaskRelations?: Array; /** 应该运行的时间点 */ dueTime?: string; /** 环境信息 */ env?: string; /** 任务的执行时间 */ executeTimeEntity?: defs.ExecuteTimeDTO; /** 用户/租户/项目相关信息 */ extInfoDTO?: defs.ExtInfoDTO; /** 所属的flowId,只有在dagrunType不是normal的情况才会有值 */ flowId?: string; /** flowType */ flowType?: any; /** 在当天运行的所有任务中的顺序 */ index?: number; /** nodeFrom */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** Operator类型, 如SQL, DataX等 */ operatorType?: number; /** 任务的参数 */ params?: string; /** 优先级, 越小越高 */ priority?: number; /** 任务的状态,[未运行1],[等待调度2],[等待提交3],[等待资源4],[执行中5],[执行失败6],[被终止6],[执行成功0] */ status?: number; /** tags */ tags?: Array; /** 任务描述 */ taskDesc?: string; /** taskId */ taskId?: string; /** 任务名称, 一般与节点名称相同 */ taskName?: string; /** 任务类型,可能是[正常1],[虚拟2] */ taskType?: number; /** 时间相关信息 */ timeInfo?: defs.TimeInfoDTO; /** 任务的上游任务 */ upstreamTaskRelations?: Array; } export class OperationLogDTO { /** content */ content?: string; /** gmtCreate */ gmtCreate?: string; /** id */ id?: number; /** operator */ operator?: string; /** operatorDisplayName */ operatorDisplayName?: string; /** tenantId */ tenantId?: number; /** time */ time?: string; /** type */ type?: string; } export class OssResourceTypeVO { /** 描述名称 */ desc?: string; /** 文件默认扩展名[可能为空] */ extension?: string; } export class OutputCheckVO { /** code */ code?: string; /** outputNames */ outputNames?: Array; } export class OutputInfoBO { /** 产出时间 */ bizDate?: string; /** 调度代码 */ content?: string; /** 结束时间 */ executeEndTime?: string; /** 执行时长 */ executeSec?: number; /** 起始时间 */ executeStartTime?: string; /** 任务节点id */ nodeId?: string; /** 任务实例id */ taskId?: string; /** 等待时长 */ waitingSec?: number; } export class OutputVO { /** 节点ID */ nodeId?: string; /** 节点名字 */ nodeName?: string; /** 节点输出名字 */ outputName?: string; /** 节点owner */ owner?: string; /** 节点owner名字 */ ownerName?: string; } export class OwnFunctionPermissionBO { /** approveUsers */ approveUsers?: Array; /** functionPermissionId */ functionPermissionId?: string; /** functionPermissionName */ functionPermissionName?: string; /** periodLimitDays */ periodLimitDays?: number; /** periodLimitType */ periodLimitType?: | 'LONG_TERM' | 'DAYS_30' | 'DAYS_90' | 'DAYS_180' | 'CUSTOM'; /** permissionDays */ permissionDays?: number; /** permissionLevel */ permissionLevel?: 'HIGH' | 'MIDDLE' | 'LOW'; } export class Owner { /** userId */ userId?: string; /** userName */ userName?: string; } export class Page { /** data */ data?: Array; /** page */ page?: number; /** size */ size?: number; /** total */ total?: number; } export class PageParam { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export class PagedData { /** data */ data?: Array; /** empty */ empty?: boolean; /** totalCount */ totalCount?: number; } export class PaginatedResult { /** count */ count?: number; /** resultData */ resultData?: Array; } export class ParamBO { /** 数据类型 */ dataType?: string; /** 描述 */ description?: string; /** 参数名 */ name?: string; } export class PartitionBO { /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 分区的列名和值 */ keyValues?: Array>; /** 分区值 */ ptValue?: string; /** 记录数 */ records?: number; } export class Period { /** beginDate */ beginDate?: string; /** beginTimeMillis */ beginTimeMillis?: number; /** endDate */ endDate?: string; /** endTimeMillis */ endTimeMillis?: number; } export class PhysicalConfigDTO { /** 生命周期 */ lifeCycle?: string; } export class PhysicalTableBO { /** columns */ columns?: Array; /** createTime */ createTime?: string; /** dataGmtModified */ dataGmtModified?: string; /** desc */ desc?: string; /** fileType */ fileType?: string; /** guid */ guid?: string; /** location */ location?: string; /** ownerName */ ownerName?: string; /** partitionColumns */ partitionColumns?: Array; /** partitioned */ partitioned?: boolean; /** physicalName */ physicalName?: string; /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** recordTotal */ recordTotal?: number; /** storageVolumn */ storageVolumn?: number; /** subareaNum */ subareaNum?: number; /** tableGmtModified */ tableGmtModified?: string; } export class PhysicalTableColumnDTO { /** 字段描述 */ comment?: string; /** 字段数据类型 */ dataType?: string; /** 字段名 */ name?: string; } export class PhysicalTableDTO { /** 环境 */ env: 'DEV' | 'PROD'; /** 是否是分区表 */ partitioned?: boolean; /** 项目ID */ projectId: string; /** 项目名 */ projectName?: string; /** 表名 */ tableName: string; } export class PhysicalTableDetailBO { /** attributes */ attributes?: Array; /** cn */ cn?: string; /** desc */ desc?: string; /** id */ id?: string; /** name */ name?: string; } export class PhysicalTablePermissionBO { /** account */ account?: defs.AccountBO; /** env */ env?: 'DEV' | 'PROD'; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; /** physicalTable */ physicalTable?: defs.BriefPhysicalTableBO; /** project */ project?: defs.BriefProjectBO; } export class PhysicalTablePermissionDetailBO { /** account */ account?: defs.AccountBO; /** attributePermissionBOs */ attributePermissionBOs?: Array; /** env */ env?: 'DEV' | 'PROD'; /** operateTypes */ operateTypes?: Array; /** owner */ owner?: boolean; /** physicalTable */ physicalTable?: defs.BriefPhysicalTableBO; /** project */ project?: defs.BriefProjectBO; } export class PhysicalTableSummaryBO { /** 表注释 */ comment?: string; /** DDL创建时间 */ gmtDDLCreate?: string; /** DDL修改时间 */ gmtDDLModified?: string; /** 数据更新时间 */ gmtDataModified?: string; /** 最新时间分区 */ latestDatePartition?: string; /** 负责人工号 */ ownerId?: string; /** 负责人名称 */ ownerName?: string; /** 物理表名 */ tableName?: string; } export class PreCompileBO { /** 预编译状态 */ status?: string; /** 预编译任务,单条SQL一个编译任务 */ tasks?: Array; } export class PreCompileTaskBO { /** 预编译结果信息 */ message?: string; /** 预编译产出物理SQL */ physicalSql?: string; /** 预编译错误开始列 */ startCol?: number; /** 预编译错误开始行 */ startRow?: number; /** 预编译状态 */ status?: string; } export class ProfilingStatisticDTO { /** blankRecordRatio */ blankRecordRatio?: number; /** columnName */ columnName?: string; /** commonRecordRatio */ commonRecordRatio?: number; /** dataSectionBOList */ dataSectionBOList?: Array; /** dataType */ dataType?: string; /** maxLength */ maxLength?: string; /** maxValue */ maxValue?: string; /** meanValue */ meanValue?: string; /** minLength */ minLength?: string; /** minValue */ minValue?: string; /** nullRecordRatio */ nullRecordRatio?: number; /** standardDeviation */ standardDeviation?: string; /** tableName */ tableName?: string; /** totalRecordsCount */ totalRecordsCount?: number; /** uniqueKeyCount */ uniqueKeyCount?: string; /** zeroRecordRatio */ zeroRecordRatio?: number; } export class ProjectBO { /** bizUnitCn */ bizUnitCn?: string; /** bizUnitId */ bizUnitId?: number; /** bizUnitName */ bizUnitName?: string; /** cn */ cn?: string; /** dataSourceId */ dataSourceId?: number; /** dataSourceName */ dataSourceName?: string; /** des */ des?: string; /** env */ env?: 'DEV' | 'PROD'; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** hasDependency */ hasDependency?: boolean; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** modeEnum */ modeEnum?: 'BASIC' | 'DEV_PROD'; /** name */ name?: string; /** nameSpaceTag */ nameSpaceTag?: string; /** owner */ owner?: string; /** ownerName */ ownerName?: string; /** projectType */ projectType?: 'DISTILL' | 'GENERAL'; /** tenantId */ tenantId?: number; /** whiteListBOs */ whiteListBOs?: Array; } export class ProjectDTO { /** bindedDs */ bindedDs?: defs.DataSourceDTO; /** projectCnName */ projectCnName?: string; /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** tenantId */ tenantId?: number; } export class ProjectInBrief { /** modeEnum */ modeEnum?: string; /** projectId */ projectId?: string; /** projectName */ projectName?: string; /** projectType */ projectType?: string; } export class ProjectMemberBO { /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** projectId */ projectId?: number; /** tenantId */ tenantId?: number; /** userId */ userId?: string; /** userName */ userName?: string; /** userRoleId */ userRoleId?: number; } export class ProjectMemberDTO { /** 成员姓名 */ name?: string; /** 目标用户 ID */ userId?: string; /** 赋予用户的角色 */ userRoleId?: number; } export class ProjectUpdateBO { /** bizUnitId */ bizUnitId?: number; /** cn */ cn?: string; /** dataSourceId */ dataSourceId?: number; /** des */ des?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** modeEnum */ modeEnum?: 'BASIC' | 'DEV_PROD'; /** name */ name?: string; /** nameSpaceTag */ nameSpaceTag?: string; /** whiteListBOs */ whiteListBOs?: Array; } export class ProjectVO { /** bizUnitCn */ bizUnitCn?: string; /** 业务板块id转换为String类型 */ bizUnitId?: string; /** bizUnitMode */ bizUnitMode?: 'BASIC' | 'DEV_PROD'; /** bizUnitName */ bizUnitName?: string; /** cn */ cn?: string; /** 计算引擎源id转换为String类型 */ computeEngineId?: string; /** 计算引擎类型,MaxCompute:1,Hadoop:2,EMR:3 */ computingEngine?: number; /** 数据源id与计算引擎源id相同,此变量为对应版本前后名称不同的情况 */ dataSourceId?: string; /** dataSourceName */ dataSourceName?: string; /** des */ des?: string; /** env */ env?: 'DEV' | 'PROD'; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** isExistModel */ isExistModel?: boolean; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** 项目成员个数 */ memberCount?: number; /** 项目成员 */ members?: Array; /** modeEnum */ modeEnum?: 'BASIC' | 'DEV_PROD'; /** name */ name?: string; /** nameSpaceTag */ nameSpaceTag?: string; /** owner */ owner?: string; /** ownerName */ ownerName?: string; /** projectType */ projectType?: 'DISTILL' | 'GENERAL'; /** tenantId */ tenantId?: number; /** 当前请求用户在此项目的角色 */ userRoleId?: number; /** 警告信息 */ warningMessages?: Array; /** whiteListBOs */ whiteListBOs?: Array; } export class ProjectValidateResult { /** messageDev */ messageDev?: Array; /** messageProd */ messageProd?: Array; /** projectId */ projectId?: number; /** result */ result?: boolean; } export class PublicSqlDTO { /** 公用计算逻辑创建时间 */ gmtCreate?: string; /** 公用计算逻辑修改时间 */ gmtModified?: string; /** 公用计算逻辑id */ id?: number; /** 公用计算逻辑上一个修改者 */ lastModifier?: string; /** 公用计算逻辑的sql(逻辑) */ logic?: string; /** 公用计算逻辑所属逻辑表id */ logicTableId?: number; /** 公用计算逻辑名称 */ name?: string; /** 公用计算逻辑所属者 */ owner?: string; } export class PublishDTO { /** 发布名 */ publishName?: string; /** 提交id */ submitIds?: Array; } export class PublishValidateResultItemDTO { /** errorCode */ errorCode?: string; /** 错误信息:json */ errorData?: string; /** 说明 */ message?: string; /** 状态 */ status?: string; /** 校验类型 */ topValidateType?: string; /** 校验项 */ validateType?: string; } export class PublishedObjectDTO { /** 业务板块id */ bizUnitId?: number; /** 变更类型 */ changeType?: number; /** 数据域id */ dataDomainId?: number; /** 完成时间 */ finishTime?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModify?: string; /** id */ id?: number; /** 对象中文名 */ objectCn?: string; /** 对象id */ objectId?: string; /** 对象名称 */ objectName?: string; /** 对象类型 */ objectType?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** 对象版本 */ objectVersion?: string; /** 项目id */ projectId?: number; /** 发布错误信息 */ publishError?: string; /** 发布ID */ publishId?: string; /** 发布名称 */ publishName?: string; /** 发布状态 */ publishStatus?: number; /** 发布人 */ publisher?: string; /** 发布人名字 */ publisherName?: string; /** submitted */ submitted?: boolean; /** 租户 */ tenantId?: number; } export class QsmdAlertRecordBO { /** alertId */ alertId?: number; /** alertLevel */ alertLevel?: 'INFORMATION' | 'WARNING' | 'CRITICAL'; /** alertOwner */ alertOwner?: defs.QsmdUser; /** alertReason */ alertReason?: | 'MONITOR_FINISH' | 'MONITOR_ERROR' | 'MONITOR_SET_TIMEOUT' | 'MONITOR_UN_FINISH'; /** alertRecipient */ alertRecipient?: defs.QsmdUser; /** alertRecordStatus */ alertRecordStatus?: 'SUCCESS' | 'SENDING' | 'FAILED' | 'SENT'; /** alertType */ alertType?: 'BY_EMAIL' | 'BY_SMS' | 'BY_CELLPHONE' | 'BY_DINGTALK_ROBOT'; /** content */ content?: string; /** dueAlertTime */ dueAlertTime?: string; /** failedReasonMsg */ failedReasonMsg?: string; /** id */ id?: number; /** monitorType */ monitorType?: 'CUSTOM_TASK_MONITOR'; /** nodeId */ nodeId?: string; /** nodeName */ nodeName?: string; /** projectId */ projectId?: string; /** projectName */ projectName?: string; /** sendAlertTime */ sendAlertTime?: string; /** setTime */ setTime?: string; } export class QsmdCustomAlert { /** alertSentToList */ alertSentToList?: Array; /** alertType */ alertType?: Array; /** creator */ creator?: defs.QsmdUser; /** customAlertReason */ customAlertReason?: | 'MONITOR_FINISH' | 'MONITOR_ERROR' | 'MONITOR_SET_TIMEOUT' | 'MONITOR_UN_FINISH'; /** id */ id?: number; /** nodeId */ nodeId?: string; /** nodeName */ nodeName?: string; /** nodePeriod */ nodePeriod?: | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'OTHER'; /** nodeType */ nodeType?: 'CYCLE' | 'OPERATION'; /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** setTime */ setTime?: string; /** status */ status?: string; /** taskOwner */ taskOwner?: boolean; } export class QsmdCustomAlertModifyDto { /** alertSentTo */ alertSentTo?: Array; /** alertType */ alertType?: Array; /** creatorId */ creatorId?: string; /** customAlertReason */ customAlertReason?: | 'MONITOR_FINISH' | 'MONITOR_ERROR' | 'MONITOR_SET_TIMEOUT' | 'MONITOR_UN_FINISH'; /** nodeInfoList */ nodeInfoList?: Array; /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** setTime */ setTime?: string; /** taskOwner */ taskOwner?: boolean; /** tenantId */ tenantId?: number; } export class QsmdNodeInfo { /** cron */ cron?: string; /** nodeId */ nodeId?: string; /** nodeName */ nodeName?: string; /** nodePeriod */ nodePeriod?: | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'OTHER'; /** nodeType */ nodeType?: 'CYCLE' | 'OPERATION'; /** ownerId */ ownerId?: string; } export class QsmdUser { /** dingtalkPhoneNumber */ dingtalkPhoneNumber?: string; /** dingtalkRobotHook */ dingtalkRobotHook?: string; /** mailAddress */ mailAddress?: string; /** phoneNumber */ phoneNumber?: string; /** userId */ userId?: string; /** userName */ userName?: string; } export class QueryLogVO { /** lastSql */ lastSql?: boolean; /** queryId */ queryId?: string; /** sqlIndex */ sqlIndex?: number; /** sqlTotalNum */ sqlTotalNum?: number; /** taskId */ taskId?: string; /** taskStatus */ taskStatus?: | 'INIT' | 'WAIT_SCHEDULE' | 'WAIT_SUBMISSION' | 'WAIT_RESOURCE' | 'RUNNING' | 'FAILED' | 'KILLING' | 'KILLED' | 'PAUSED' | 'SUCCESS'; /** taskrunLog */ taskrunLog?: defs.TaskrunLog; } export class QueryResultVO { /** queryId */ queryId?: string; /** result */ result?: string; /** taskId */ taskId?: string; } export class QueryVO { /** queryId */ queryId?: string; /** sqlTotalNum */ sqlTotalNum?: number; } export class ReadyToPublishObjectDTO { /** bizUnitId */ bizUnitId?: number; /** changeType */ changeType?: number; /** dataDomainId */ dataDomainId?: number; /** gmtCreate */ gmtCreate?: string; /** gmtModify */ gmtModify?: string; /** nodeId */ nodeId?: string; /** objectCn */ objectCn?: string; /** objectId */ objectId?: string; /** objectName */ objectName?: string; /** objectType */ objectType?: number; /** objectVersion */ objectVersion?: string; /** projectId */ projectId?: number; /** submitComment */ submitComment?: string; /** submitter */ submitter?: string; /** submitterName */ submitterName?: string; /** tenantId */ tenantId?: number; } export class RecommendTableBO { /** 中文名 */ cn?: string; /** 详情页访问次数 */ cnt?: number; /** 描述 */ des?: string; /** 环境类型 */ envType?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象id */ id?: string; /** 对象标签列表 */ labels?: Array; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 实体类型 */ tableEntityType?: '1' | '2' | 1 | 2; /** 对象类型 */ type?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; } export class RefreshBehaviorTaskCommand { /** 行为ID */ behaviorId?: string; /** 截止日期 */ endDate?: string; /** 回刷名 */ name?: string; /** 规则ID列表 */ ruleIds?: Array; /** 起始日期 */ startDate?: string; } export class RefreshFactoryLabelCommand { /** 结束日期, 格式为yymmdd */ endDate?: string; /** 任务名称 */ jobName?: string; /** 标签Id */ labelId?: string; } export class RegionBO { /** region区域 */ regionArea?: string; /** region城市 */ regionCity?: string; /** regionId */ regionId?: string; } export class RegisterUdfDTO { /** className */ className?: string; /** commandHelp */ commandHelp?: string; /** comment */ comment?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** functionName */ functionName?: string; /** refResourceIds */ refResourceIds?: Array; /** udfCategory */ udfCategory?: number; } export class RelatedSearchResultBO { /** 推荐关键字 */ recommendKeywords?: Array; /** 搜索结果 */ searchResults?: Array; } export class RelationBaseDTO { /** 字段中文名称 */ cn?: string; /** 关联属性是否有下游依赖 */ hasChildDependence?: boolean; /** 字段id */ id?: number; /** 字段英文名称 */ name?: string; /** pk */ pk?: boolean; /** 关联Dimension角色名 */ refDimensionRole?: string; /** 关联Dimension角色中文名 */ refDimensionRoleCn?: string; /** 关联Dimension */ relationModel?: defs.SingleModelDTO; /** Dimension表属性类型,@see DimensionAttributeTypeEnum */ type?: number; } export class RelationDTO { /** columnNameList */ columnNameList?: Array; /** envType */ envType?: string; /** modelId */ modelId?: string; /** modelType */ modelType?: number; /** tableName */ tableName?: string; /** tempTable */ tempTable?: boolean; } export class RelationEntity { /** 列名 */ columnNameList?: Array; /** 环境类型 */ envType?: string; /** 表的guid */ modelId?: string; /** 表类型:4是物理表,其他是逻辑表 */ modelType?: number; /** 表名 */ tableName?: string; /** 是否临时表 */ tempTable?: boolean; } export class RelationLineBO { /** Dimension之间关联的业务过程列表 */ bizProcessList?: Array; /** DimensionNode1 */ dim?: defs.DimNodeBO; /** DimensionNode2 */ refDim?: defs.DimNodeBO; /** 边的类型1:业务过程;2:关联 */ type?: number; } export class ResourceAttributeBO { /** 字段中文名 */ attributeCn?: string; /** 字段id */ attributeId?: string; /** 字段名称 */ attributeName?: string; /** 关联Dimension字段 */ children?: Array; /** 数据类型 */ dataType?: string; /** 父字段id */ parentAttributeId?: string; /** 项目id */ projectId?: number; /** 字段类型 */ resourceType?: | 'PHYSICAL_TABLE' | 'PHYSICAL_FIELD' | 'FACT_TABLE' | 'FACT_TABLE_FIELD' | 'DIM_TABLE' | 'DIM_TABLE_FIELD' | 'SUM_TABLE' | 'SUM_TABLE_FIELD' | 'DATASOURCE' | 'LOGICAL_TABLE' | 'LOGICAL_FIELD' | 'OS_API' | 'OS_API_FIELD' | 'PAGE' | 'BIZ_UNIT' | 'PROJECT' | 'STREAM_COMPUTE' | 'STREAM_JOB' | 'STREAM_FUNCTION' | 'STREAM_META' | 'STREAM_META_FIELD'; } export class ResourceMetaBO { /** category */ category?: number; /** contentType */ contentType?: string; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** description */ description?: string; /** dirName */ dirName?: string; /** expandable */ expandable?: boolean; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** name */ name?: string; /** projectId */ projectId?: number; /** subNodeCount */ subNodeCount?: number; /** tenantId */ tenantId?: number; } export class Result { /** code */ code?: string; /** data */ data?: number; /** message */ message?: string; /** monitorLog */ monitorLog?: object; /** traceId */ traceId?: string; } export class RevokeBizUnitPermissionBO { /** bizUnitId */ bizUnitId?: number; /** env */ env?: 'DEV' | 'PROD'; /** logicTables */ logicTables?: Array; /** operateTypes */ operateTypes?: Array; /** personAccountUserId */ personAccountUserId?: string; /** reason */ reason?: string; } export class RevokeDataSourcePermissionBO { /** dataSource */ dataSource?: defs.BriefDataSourceBO; /** operateTypes */ operateTypes?: Array; /** personAccountUserId */ personAccountUserId?: string; /** reason */ reason?: string; } export class RevokeFunctionPermissionBO { /** permission */ permission?: defs.BriefFunctionPermissionBO; /** personAccountUserId */ personAccountUserId?: string; /** reason */ reason?: string; } export class RevokeProjectPermissionBO { /** env */ env?: 'DEV' | 'PROD'; /** operateTypes */ operateTypes?: Array; /** personAccountUserId */ personAccountUserId?: string; /** physicalTables */ physicalTables?: Array; /** reason */ reason?: string; } export class RoleBO { /** description */ description?: string; /** id */ id?: number; /** name */ name?: string; } export class RuleBehaviorSubject { /** 行为ID字段 */ idType?: string; /** 行为ID值 */ idValue?: string; } export class RuleDTO { /** 动作显示名 */ actionDisplayName?: string; /** 动作ID */ actionId?: string; /** 行为名 */ behaviorDisplayName?: string; /** 行为ID */ behaviorId?: string; /** 行为英文名 */ behaviorName?: string; /** 行为主体 */ behaviorSubjects?: Array; /** 行为表名 */ behaviorTableName?: string; /** 业务线显示名 */ bizLineDisplayName?: string; /** 业务线ID */ bizLineId?: string; /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** 名称 */ displayName?: string; /** 域显示名 */ domainDisplayName?: string; /** 域ID */ domainId?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 标签依赖 */ labelDependencies?: Array; /** 最近回刷状态 */ latestRefreshStatus?: string; /** 最近回刷时间 */ latestRefreshTime?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; /** 对象显示名 */ objectDisplayName?: string; /** 对象ID */ objectId?: string; /** 发生次数 */ occurrenceCount?: string; /** 规则ID */ ruleId?: string; /** 规则对象ID */ ruleObjectId?: string; /** 规则对象名 */ ruleObjectName?: string; /** 规则对象属性列表 */ ruleObjectProperties?: Array; /** 调度配置 */ scheduleConfig?: defs.ScheduleConfigDTO; /** 来源表所属业务板块Id:来源表是逻辑表时必选 */ sourceTableBizUnitId?: string; /** 来源表的筛选条件 */ sourceTableCondition?: string; /** 来源表的环境信息 */ sourceTableEnv?: string; /** 源表名: 逻辑表[业务板块名.表名], 物理表[项目名.表名] */ sourceTableName?: string; /** 来源表的项目ID */ sourceTableProjectId?: string; /** 来源表类型 */ sourceTableType?: string; /** 状态 */ status?: string; } export class RuleObjectProperty { /** 对象属性显示名 */ objectPropertyDisplayName?: string; /** 对象属性ID */ objectPropertyId?: string; /** 对象属性名 */ objectPropertyName?: string; /** 对象属性值 */ objectPropertyValue?: string; } export class RuleProfileDTO { /** 行为显示 */ behaviorDisplayName?: string; /** 行为ID */ behaviorId?: string; /** 行为名 */ behaviorName?: string; /** creatorDisplayName */ creatorDisplayName?: string; /** creatorId */ creatorId?: string; /** 描述 */ des?: string; /** 名称 */ displayName?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 最近回刷状态 */ latestRefreshStatus?: string; /** 最近回刷时间 */ latestRefreshTime?: string; /** modifierDisplayName */ modifierDisplayName?: string; /** modifierId */ modifierId?: string; /** 英文名 */ name?: string; /** 规则ID */ ruleId?: string; /** 来源表条件 */ sourceTableCondition?: string; /** 源表名: 逻辑表[业务板块名.表名], 物理表[项目名.表名] */ sourceTableName?: string; /** 来源表类型 */ sourceTableType?: string; /** 规则状态 */ status?: string; } export class RuleScheduleParseQuery { /** 发生次数 */ occurrenceCount?: string; /** 行为主体 */ ruleBehaviorSubjects?: Array; /** 规则对象ID */ ruleObjectId?: string; /** 规则对象名 */ ruleObjectName?: string; /** 规则对象属性列表 */ ruleObjectProperties?: Array; /** 调度配置 */ scheduleConfig?: defs.ScheduleConfigDTO; /** 来源表所属业务板块Id, 来源表是逻辑表时必选 */ sourceTableBizUnitId?: string; /** 来源表的筛选条件 */ sourceTableCondition?: string; /** 来源表环境信息 */ sourceTableEnv?: 'DEV' | 'PROD'; /** 源表名: 逻辑表[业务板块名.表名], 物理表[项目名.表名] */ sourceTableName?: string; /** 来源表所属项目ID, 来源表是物理表时必选 */ sourceTableProjectId?: string; /** 来源表类型 */ sourceTableType?: string; } export class RuleVersionDTO { /** 行为中文名 */ behaviorDisplayName?: string; /** 行为ID */ behaviorId?: string; /** 行为名 */ behaviorName?: string; /** 行为表名 */ behaviorTableName?: string; /** 业务板块名 */ bizUnitName?: string; /** 生命周期 */ lifeCycle?: string; /** 发生次数 */ occurrenceCount?: string; /** 项目名 */ projectName?: string; /** 规则主体 */ ruleBehaviorSubjects?: Array; /** 规则对象ID */ ruleObjectId?: string; /** 规则对象名 */ ruleObjectName?: string; /** 规则对象属性列表 */ ruleObjectProperties?: Array; /** 调度配置 */ scheduleConfig?: defs.ScheduleConfigVersion; /** 来源表名 */ sourceTableName?: string; /** 提交时间 */ submitTime?: string; /** 提交人名 */ submitterName?: string; } export class RunRulePreviewDataCommand { /** 行为ID */ behaviorId?: string; /** 预览数据的行数, 默认值50 */ limit?: number; /** 发生次数 */ occurrenceCount?: string; /** 预览数据的参数 */ params?: ObjectMap; /** 行为主体 */ ruleBehaviorSubjects?: Array; /** 规则对象ID */ ruleObjectId?: string; /** 规则对象名 */ ruleObjectName?: string; /** 规则对象属性列表 */ ruleObjectProperties?: Array; /** 调度配置 */ scheduleConfig?: defs.ScheduleConfigDTO; /** 来源表所属业务板块Id, 来源表是逻辑表时必选 */ sourceTableBizUnitId?: string; /** 来源表的筛选条件 */ sourceTableCondition?: string; /** 来源表环境信息 */ sourceTableEnv?: 'DEV' | 'PROD'; /** 源表名: 逻辑表[业务板块名.表名], 物理表[项目名.表名] */ sourceTableName?: string; /** 来源表所属项目ID, 来源表是物理表时必选 */ sourceTableProjectId?: string; /** 来源表类型 */ sourceTableType?: string; } export class SamePeriodUpstreamDTO { /** 关联的源表 */ associatedSourceTable?: defs.TableDTO; /** 简单的节点信息 */ simpleNodeInfo?: defs.SimpleNodeInfoDTO; /** 上游输出名称 */ upstreamOutputName?: string; } export class SampleDTO { /** 抽样开始时间 */ beginTime?: string; /** behaviorSamples */ behaviorSamples?: Array; /** 抽样结束时间 */ endTime?: string; } export class ScheduleConfigDTO { /** 调度表达式 */ cronExpression?: string; /** 自定义上游节点 */ customUpstreamNodes?: Array; /** 节点ID */ nodeId?: string; /** 节点名 */ nodeName?: string; /** 节点负责人ID */ nodeOwnerId?: string; /** 节点负责人名 */ nodeOwnerName?: string; /** 参数配置 */ paramConfig?: string; /** 是否暂停 */ paused?: boolean; /** 优先级 */ priority?: string; /** 系统的上游节点 */ systemUpstreamNodes?: Array; } export class ScheduleConfigVersion { /** 调度表达式 */ cronExpression?: string; /** 输出节点名 */ outputNodeName?: string; /** 参数配置 */ paramConfig?: string; /** 是否暂停调度 */ paused?: boolean; /** 优先级 */ priority?: string; /** 上游节点 */ upstreamNodes?: Array; } export class ScheduleNode { /** 是否自动解析 */ autoParse?: boolean; /** 节点ID */ nodeId?: string; /** 节点名 */ nodeName?: string; /** 节点输出名 */ nodeOutputName?: string; /** 责任人ID */ ownerId?: string; /** 责任人名 */ ownerName?: string; } export class SearchResultBO { /** 归属业务板块id */ bizUnitId?: number; /** 归属业务板块名称 */ bizUnitName?: string; /** 中文名 */ cn?: string; /** 热度 */ cnt?: number; /** 描述 */ des?: string; /** 表字段数 */ fieldCount?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象id */ id?: string; /** 对象标签列表 */ labels?: Array; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 归属项目标识 */ projectId?: number; /** 归属项目名称 */ projectName?: string; /** 实体类型 */ tableEntityType?: '1' | '2' | 1 | 2; /** 对象类型 */ type?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** 详情页访问次数 */ views?: number; } export class SelectedFilter { /** ID */ id?: string; /** 被选中的筛选项的value */ options?: Array; } export class SemanticOptimizeConfigDTO { /** modelDataVolumeThreshold */ modelDataVolumeThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class SemanticOptimizeConfigSaveCommand { /** modelDataVolumeThreshold */ modelDataVolumeThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class SemanticOptimizeConfigUpdateCommand { /** modelDataVolumeThreshold */ modelDataVolumeThreshold?: number; /** optimizeSwitchOn */ optimizeSwitchOn?: boolean; } export class SimpleNodeInfoDTO { /** 节点id */ nodeId?: string; /** 节点名称 */ nodeName?: string; /** owner的信息, 包括id, name */ ownerInfo?: defs.SimpleUserInfoDTO; } export class SimpleUserInfoDTO { /** 用户id */ userId?: string; /** 用户名称 */ userName?: string; } export class SingleModelDTO { /** 子字段区 */ childAttrs?: Array; /** 子区域 */ childs?: Array; /** 模型中文名称 */ cn?: string; /** Dimension类型 */ dimType?: number; /** 模型id */ id?: number; /** 杂项字段Dimension区 */ junk?: defs.AttributeDTO; /** 主键区 */ key?: defs.AttributeDTO; /** 度量字段区 */ measures?: Array; /** 模型英文名称 */ name?: string; /** 普通字段区 */ normals?: Array; /** 关联字段区 */ relations?: Array; /** 系统字段区 */ sys?: defs.AttributeDTO; } export class SourceMainTableBO { /** 描述 */ desc?: string; /** 最近更新时间 */ lastModifierTime?: number; /** 项目id */ projectId?: number; /** 表id,表可能是物理表(string)或者是逻辑表(long)所以统一处理为string */ tableId?: string; /** 表名称 */ tableName?: string; /** 表类型 */ tableType?: number; } export class SourceMainTableDTO { /** 描述 */ desc?: string; /** 最近更新时间 */ lastModifierTime?: number; /** 项目id */ projectId?: number; /** 表id,表可能是物理表(string)或者是逻辑表(long)所以统一处理为string */ tableId?: string; /** 表名称 */ tableName?: string; /** 表类型 */ tableType?: number; } export class SourceTableDTO { /** 环境 */ env?: string; /** 表名: 物理表是ProjectName.TableName, 逻辑表是BizUnitName.TableName */ name?: string; /** 项目ID */ projectId?: string; } export class SqlEnvParamValidateResultDTO { /** 信息提示 */ errorMsg?: string; /** 异常项 */ type?: string; } export class SqlExecuteLogDTO { /** 是否还有日志 */ hasNextLog?: boolean; /** 日志 */ log?: string; /** 下一次日志的偏移量 */ nextLogOffset?: number; /** 任务执行的状态 */ status?: 'RUNNING' | 'FAILED' | 'KILLING' | 'KILLED' | 'PAUSED' | 'SUCCESS'; } export class StationLetterDTO { /** 是否已读 */ haveRead?: boolean; /** 消息内容 */ messageProfile?: defs.MessageProfile; /** 发送时间 */ sendTime?: string; /** 站内信Id */ stationLetterId?: number; /** 用户Id */ userId?: string; } export class StorageCredentialsBO { /** accessId */ accessId?: string; /** accessKey */ accessKey?: string; /** bucket */ bucket?: string; /** endpoint */ endpoint?: string; /** expiration */ expiration?: number; /** fileSystemType */ fileSystemType?: 'OSS' | 'CEPH' | 'LOCAL_FS'; /** objectName */ objectName?: string; /** ossUri */ ossUri?: string; /** region */ region?: string; /** securityToken */ securityToken?: string; } export class SubmitApproveProcessBO { /** approveId */ approveId?: number; /** approveResult */ approveResult?: | 'APPROVING' | 'ACCEPTED' | 'REJECTED' | 'REVOKED' | 'CALL_BACK_ERROR'; /** comment */ comment?: string; } export class SubmitExistsBehaviorRuleCommand { /** 动作ID */ actionId?: string; /** 增加规则 */ addRuleCommand?: defs.AddRuleCommand; /** 业务线ID */ bizLineId?: string; /** 域ID */ domainId?: string; /** 对象ID */ objectId?: string; /** 行为规则ID */ ruleId?: string; /** 提交注释 */ submitComment?: string; } export class SubmitFactoryLabelCommand { /** 标签参数 */ addFactoryLabelCommand?: defs.AddFactoryLabelCommand; /** 标签ID */ labelId?: string; /** 生命周期 */ lifeCycle?: string; /** 提交备注 */ submitComment?: string; } export class SubmitFactoryLabelPhysicalConfigCommand { /** 标签ID */ labelId?: string; /** 生命周期 */ lifeCycle?: string; } export class SubmitNewBehaviorRuleCommand { /** 动作ID */ actionId?: string; /** 增加规则 */ addRuleCommand?: defs.AddRuleCommand; /** 业务线ID */ bizLineId?: string; /** 域ID */ domainId?: string; /** 对象ID */ objectId?: string; /** 提交注释 */ submitComment?: string; } export class SubmittedObjectDTO { /** 业务板块id */ bizUnitId?: number; /** 变更类型 */ changeType?: number; /** 数据域id */ dataDomainId?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModify?: string; /** id */ id?: number; /** 对象中文名 */ objectCn?: string; /** 对象id */ objectId?: string; /** 对象名称 */ objectName?: string; /** 对象类型 */ objectType?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; /** 对象版本 */ objectVersion?: string; /** 项目id */ projectId?: number; /** published */ published?: boolean; /** 提交备注 */ submitComment?: string; /** 提交人 */ submitter?: string; /** 提交人名字 */ submitterName?: string; /** 租户 */ tenantId?: number; } export class SummaryDerivativeIndexDTO { /** bizConditionMap */ bizConditionMap?: ObjectMap; /** 中文名 */ cn?: string; /** 数据类型 */ dataType?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** dimIds */ dimIds?: Array; /** 粒度所包含的Dimension */ dimensions?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 所属粒度 */ granularityId?: number; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 派生指标计算逻辑表达式 */ logic?: string; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** parentAtomicIndex */ parentAtomicIndex?: defs.DerivedIndexParentDTO; /** parentAtomicIndexId */ parentAtomicIndexId?: number; /** parentAtomicIndexes */ parentAtomicIndexes?: Array; /** parentBizConditionId */ parentBizConditionId?: number; /** 所属project */ project?: defs.BaseBO; /** 是否正在发布 */ publishing?: boolean; /** 所属时间周期 */ statPeriod?: defs.TimePeriodDTO; /** statPeriodId */ statPeriodId?: number; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** summaryTableCatalogList */ summaryTableCatalogList?: Array; /** summaryTableCatalogMap */ summaryTableCatalogMap?: ObjectMap; /** 租户ID */ tenantId?: number; } export class SummaryFilterDTO { /** filterList */ filterList?: Array; /** summaryTableIndexType */ summaryTableIndexType?: number; } export class SummaryPhysicalIndexDTO { /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 关联的DimensionID */ joinDimId?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 关联的分区 */ partitionName?: string; /** 物理指标数据类型 */ physicalIndexDataType?: string; /** 源表字段名 */ sourceColumnName?: string; /** 源项目ID */ sourceProjectId?: number; /** 源表名 */ sourceTableName?: string; /** 物理指标的分类 */ summaryTableCatalogList?: Array; /** summaryTableCatalogMap */ summaryTableCatalogMap?: ObjectMap; /** 租户ID */ tenantId?: number; } export class SummaryTableCatalogDTO { /** bizUnitId */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class SummaryTableConfigDTO { /** 自定义参数设置 */ customizeConfig?: string; /** 生命周期 */ modelLifecycle?: number; /** 语义优化开关 */ semanticOptimizeSwitchOn?: boolean; } export class SummaryTableDTO { /** 业务板块ID */ bizUnitId?: number; /** 业务板块名字 */ bizUnitName?: string; /** 中文名 */ cn?: string; /** 需要删除的派生指标IDs */ delDerivedIds?: Array; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 来源Dimension逻辑表 */ dimAttrList?: Array; /** DimensionID */ dimIds?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 粒度ID */ granularityId?: number; /** 是否有生产的对象 */ hasProd?: boolean; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 是否需要发布 */ needPublish?: boolean; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 提交备注 */ submitComment?: string; /** 是否正在提交 */ submitting?: boolean; /** 来源派生指标 */ summaryDerivativeIndexList?: Array; /** 筛选 */ summaryFilterList?: Array; /** 来源物理表指标 */ summaryPhysicalIndexList?: Array; /** 租户ID */ tenantId?: number; } export class SummaryTableProfileDTO { /** 业务板块ID */ bizUnitId?: number; /** 业务板块名字 */ bizUnitName?: string; /** 中文名 */ cn?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** DimensionID */ dimIds?: Array; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 粒度ID */ granularityId?: number; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 租户ID */ tenantId?: number; } export class SupplementNodeBO { /** aliasName */ aliasName?: string; /** children */ children?: Array; /** 对象中文名称 */ cn?: string; /** count */ count?: number; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** 文件内容数据(仅对任务节点/文件节点有效) */ data?: object; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 所在目录路径(仅对文件/资源节点有效) */ dirName?: string; /** 实例的执行情况 */ executeTimeEntity?: defs.ExecuteTimeEntity; /** expandable */ expandable?: boolean; /** 创建时间(非实体对象节点为空) */ gmtCreate?: string; /** 修改时间(非实体对象节点为空) */ gmtModified?: string; /** 对象 ID */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** leaf */ leaf?: boolean; /** 锁持有人用户ID(非实体对象节点为空) */ lockOwner?: string; /** 锁持有人用户名(非实体对象节点为空) */ lockOwnerName?: string; /** 对象显示名称 */ name?: string; /** 已发布过的节点id */ nodeId?: string; /** 用来说明node的SQL类型,只针对节点生效 */ nodeType?: number; /** 树节点代表的实体对象数据 */ object?: object; /** 是否正在下线 */ offlining?: boolean; /** 用来标志节点是否已发布 */ online?: number; /** 节点的排序字段 */ order?: string; /** 对象所在项目 */ projectId?: number; /** 是否正在发布 */ publishing?: boolean; /** 节点状态:0(草稿), 2(已上线), 100(开发中) */ status?: string; /** 对象 ID String */ stringId?: string; /** 是否正在提交 */ submitting?: boolean; /** 对象类型 */ type?: string; /** url */ url?: string; } export class SupportedTaskTypeBO { /** dsOwner */ dsOwner?: string; /** supported */ supported?: boolean; /** taskType */ taskType?: string; } export class SysFunctionBO { /** 适用数据库 */ availableDb?: string; /** 函数所属分类 */ category?: number; /** 命令格式化 */ commandFormat?: string; /** 负责人 */ creator?: string; /** 使用用例 */ example?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 主键ID */ id?: number; /** 最近修改人 */ lastModifier?: string; /** 函数名 */ name?: string; /** 参数描述 */ paramDesc?: string; /** 项目空间ID */ projectId?: number; /** 用途 */ purpose?: string; /** 函数名 */ type?: string; } export class TableBO { /** allAttributeList */ allAttributeList?: Array; /** 表的关联属性 */ attributes?: Array; /** 子属性 */ childAttributes?: Array; /** Dimension属性 */ dimAttributes?: Array; /** 逻辑表的modelId或物理表的guid */ modelId?: string; } export class TableBloodDTO { /** bizUnitName */ bizUnitName?: string; /** directDownStreamTableCount */ directDownStreamTableCount?: number; /** directUpStreamTableCount */ directUpStreamTableCount?: number; /** downStreamTableList */ downStreamTableList?: Array; /** envType */ envType?: string; /** modelId */ modelId?: string; /** modelType */ modelType?: number; /** nodeId */ nodeId?: string; /** tableOwner */ tableOwner?: string; /** upStreamTableList */ upStreamTableList?: Array; } export class TableBloodRelationBO { /** 该表所属的业务板块 */ bizUnitName?: string; /** 直接下游的表个数 */ directDownStreamTableCount?: number; /** 直接上游的表个数 */ directUpStreamTableCount?: number; /** 下游实体列表 */ downStreamTableList?: Array; /** 环境类型 */ envType?: string; /** 表guid,对逻辑表来说是id */ modelId?: string; /** 表类型 */ modelType?: number; /** 产出物理表的节点id */ nodeId?: string; /** 表的负责人 */ tableOwner?: string; /** 上游实体列表 */ upStreamTableList?: Array; } export class TableDTO { /** 业务板块 */ bizUnitId?: number; /** catalog名称 */ catalogName?: string; /** 中文名 */ cn?: string; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 事实逻辑表表类型df/di */ factModelType?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 表类型 */ modelType?: number; /** 英文名 */ name?: string; /** 是否正在下线 */ offlining?: boolean; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 所属项目 */ projectId?: number; /** 是否正在发布 */ publishing?: boolean; /** 状态 */ status?: number; /** 是否正在提交 */ submitting?: boolean; /** 表名, 不包含catalog名称 */ tableName?: string; /** 表类型, 逻辑表[LOGICAL], 物理表[PHYSICAL]等 */ tableType?: 'LOGICAL' | 'PHYSICAL'; /** 租户ID */ tenantId?: number; } export class TableDetailBO { /** 事实逻辑表业务过程中文名称 */ bizProcessCn?: string; /** 事实逻辑表业务过程Id */ bizProcessId?: number; /** 业务板块中文名称 */ bizUnitCn?: string; /** 业务板块Id */ bizUnitId?: number; /** 业务板块中文名称 */ bizUnitName?: string; /** 表中文名称 */ cn?: string; /** 变更信息-创建时间 */ createTime?: string; /** 数据域空间中文名 */ dataDomainCn?: string; /** 数据域空间Id */ dataDomainId?: number; /** DB类型 */ dbType?: string; /** 描述 */ des?: string; /** 逻辑表-逻辑表表类型 */ dimType?: number; /** Dimension逻辑表Dimension中文名称 */ dimensionCn?: string; /** 是否被收藏 true 是 false 否 */ favFlag?: boolean; /** 收藏次数 */ favtimes?: number; /** 事务发生时间 */ gmtCreate?: string; /** 汇总表统计粒度中文名称 */ granularityCn?: string; /** 表id */ id?: string; /** 变更信息-最近一次数据查看时间 */ lastQueryTime?: string; /** 变更信息-最近一次数据的更新时间 */ latestFinishTime?: string; /** 生命周期 */ lifecycle?: number; /** 主表完整名称 */ mainTableName?: string; /** 表英文名称 */ name?: string; /** 空间tag */ namespaceTag?: string; /** 负责人id */ owner?: string; /** 负责人名称 */ ownerName?: string; /** 主键 */ primarykey?: string; /** 项目id */ projectId?: number; /** 项目名称 */ projectName?: string; /** 读取次数 */ readTimes?: number; /** 存储大小 */ storage?: number; /** 主表筛选条件 */ tableCondition?: string; /** 表实体类型 */ tableEntityType?: number; /** 查询表类型 */ type?: number; /** view */ view?: boolean; /** 浏览次数 */ views?: number; } export class TableLogicVO { /** attributeDTOs */ attributeDTOs?: Array; /** publicSqlDTOs */ publicSqlDTOs?: Array; } export class TableMetaBO { /** attributes */ attributes?: Array; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 租户ID */ tenantId?: number; } export class TableNameWithProjectIdBO { /** projectId */ projectId?: number; /** tableNames */ tableNames?: Array; } export class TagDTO { /** key */ key?: string; /** value */ value?: string; } export class TaskContentEntity { /** taskContent */ taskContent?: string; /** taskId */ taskId?: string; /** version */ version?: number; } export class TaskDiagnosisInfoDTO { /** optSql */ optSql?: string; /** skewInfo */ skewInfo?: string; /** skewSql */ skewSql?: string; /** vdmTaskId */ vdmTaskId?: string; } export class TaskEntity { /** 业务日期 */ bizDate?: string; /** 所属的dagrunId */ dagrunId?: string; /** 任务所属dagrun的类型,可能是[正常1],[补数据2],[手工3] */ dagrunType?: 2 | 2; /** 任务的下游任务 */ downstreamTaskRelations?: Array; /** dsConfig */ dsConfig?: defs.DsConfig; /** 应该运行的时间点 */ dueTime?: string; /** executeTimeEntity */ executeTimeEntity?: defs.ExecuteTimeEntity; /** 所属的flowId,只有在dagrunType不是normal的情况才会有值 */ flowId?: string; /** 在当天运行的所有任务中的顺序 */ index?: number; /** nodeFrom */ nodeFrom?: string; /** 节点id */ nodeId?: string; /** Operator类型, 如SQL, DataX等 */ operatorType?: number; /** 任务的参数 */ params?: string; /** 优先级, 越小越高 */ priority?: number; /** 任务的状态,[未运行1],[等待调度2],[等待提交3],[等待资源4],[执行中5],[执行失败6],[被终止6],[执行成功0] */ status?: number; /** tags */ tags?: string; /** 任务描述 */ taskDesc?: string; /** taskId */ taskId?: string; /** 任务名称, 一般与节点名称相同 */ taskName?: string; /** 任务类型,可能是[正常1],[虚拟2] */ taskType?: number; /** timeInfo */ timeInfo?: defs.EntityTimeInfo; /** 任务的上游任务 */ upstreamTaskRelations?: Array; /** userInfo */ userInfo?: defs.EntityUserInfo; } export class TaskInstanceLogDTO { /** 执行JobID */ executeJobLogs?: Array; /** flow失败原因 */ flowError?: string; /** flowId */ flowId?: string; /** flow状态 */ flowStatus?: string; /** flow类型 */ flowType?: string; } export class TaskRelation { /** sourceTaskId */ sourceTaskId?: string; /** status */ status?: number; /** targetTaskId */ targetTaskId?: string; } export class TaskRelationDTO { /** 上游任务id */ sourceTaskId?: string; /** 状态 */ status?: number; /** 下游任务id */ targetTaskId?: string; } export class TaskStatisticVO { /** 租户各个状态的任务个数 */ countByStatusOfTenant?: ObjectMap; /** 用户各个状态的任务个数 */ countByStatusOfUser?: ObjectMap; } export class TaskrunEntity { /** 完成执行时间 */ finishExecuteTime?: string; /** 开始执行时间 */ startExecuteTime?: string; /** taskId */ taskId?: string; /** Task的状态 */ taskStatus?: number; /** taskrunId */ taskrunId?: string; /** Taskrun的状态 */ taskrunStatus?: number; } export class TaskrunLog { /** content */ content?: string; /** hasNextLog */ hasNextLog?: boolean; /** hasResult */ hasResult?: boolean; /** nextLogOffset */ nextLogOffset?: number; /** status */ status?: | 'INIT' | 'WAIT_SCHEDULE' | 'WAIT_SUBMISSION' | 'WAIT_RESOURCE' | 'RUNNING' | 'FAILED' | 'KILLING' | 'KILLED' | 'PAUSED' | 'SUCCESS'; } export class TempTaskRequestDTO { /** 任务类型 */ operatorTypeCode?: number; /** 任务运行参数 */ params?: string; /** 任务运行脚本 */ sqltext?: string; } export class Tenant { /** displayName */ displayName?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** name */ name?: string; /** owner */ owner?: defs.User; } export class TenantDatasourceAccessInfoBO { /** 数据源接入进度明细[离线数据] */ datasourceAccessInfoBOList?: Array; /** 租户数据源整体接入进度,百分制[0-100][离线数据] */ tenantDsAccessProcess?: number; } export class TenantGlobalAssetBO { /** 业务板块的信息,包括id,name projectCnt 和 storage[离线数据] */ bizUnitInfo?: Array; /** 租户下项目总数量 */ projectCnt?: number; /** 租户的整体存储消耗[离线数据] */ storage?: number; /** 租户下表数量,包括逻辑表和物理表(排除黑盒物理表) */ tableCnt?: number; /** 租户下任务总数量[离线数据] */ taskCnt?: number; } export class TenantInBrief { /** tenantId */ tenantId?: string; } export class TenantProcessAssetBO { /** 租户业务限定数量 */ adjunctWordCnt?: number; /** 租户原子指标数量 */ atomicIndexCnt?: number; /** 租户业务过程数量 */ bizProcessCnt?: number; /** 租户派生指标数量 */ derivedIndexCnt?: number; /** 租户Dimension数量 */ dimensionCnt?: number; /** 租户Dimension逻辑表数量 */ dimensionTableCnt?: number; /** 租户事实逻辑表数量 */ factTableCnt?: number; /** 租户汇总逻辑表数量 */ summaryTableCnt?: number; } export class TenantVO { /** displayName */ displayName?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: number; /** name */ name?: string; /** ownerAccountName */ ownerAccountName?: string; /** ownerDisplayName */ ownerDisplayName?: string; /** ownerId */ ownerId?: string; /** ownerNick */ ownerNick?: string; /** ownerRealName */ ownerRealName?: string; } export class TimeInfoDTO { /** 创建时间 */ createTime?: string; /** 最后修改时间 */ lastModifiedTime?: string; } export class TimeParitionVO { /** 业务板块id */ bizUnitId?: number; /** 中文名 */ cn?: string; /** 创建人id */ creator?: string; /** 创建人名称 */ creatorName?: string; /** 数据类型 */ dataType?: string; /** 默认值 */ defaultValue?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改日期 */ gmtModified?: string; /** 修改人id */ lastModifier?: string; /** 修改人名称 */ lastModifierName?: string; /** 英文名 */ name?: string; } export class TimePeriodDTO { /** 英文缩写 */ abbreviation?: string; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象ID */ id?: number; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 结束时间 */ periodEnd?: string; /** 开始时间 */ periodStart?: string; /** 租户ID */ tenantId?: number; } export class TimeZoneAdapter { /** displayName */ displayName?: string; /** dstsavings */ dstsavings?: number; /** id */ id?: string; /** rawOffset */ rawOffset?: number; } export class ToBeHandleOaTaskBO { /** bizContent */ bizContent?: string; /** createTime */ createTime?: string; /** createUserId */ createUserId?: string; /** createUserName */ createUserName?: string; /** finishTime */ finishTime?: string; /** name */ name?: string; /** objectId */ objectId?: number; /** objectType */ objectType?: 'APPLY' | 'APPROVE'; /** sourceSystem */ sourceSystem?: string; /** status */ status?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; } export class TransferApproveProcessBO { /** approveId */ approveId?: number; /** comment */ comment?: string; /** targetAccount */ targetAccount?: string; } export class TransferOwnFunctionPermissionBO { /** functionPermissionId */ functionPermissionId?: string; /** targetUserId */ targetUserId?: string; } export class TreeNodeBO { /** aliasName */ aliasName?: string; /** children */ children?: Array; /** 对象中文名称 */ cn?: string; /** count */ count?: number; /** creator */ creator?: string; /** creatorName */ creatorName?: string; /** 文件内容数据(仅对任务节点/文件节点有效) */ data?: object; /** 是否正在删除 */ deleting?: boolean; /** 描述 */ des?: string; /** 所在目录路径(仅对文件/资源节点有效) */ dirName?: string; /** expandable */ expandable?: boolean; /** 创建时间(非实体对象节点为空) */ gmtCreate?: string; /** 修改时间(非实体对象节点为空) */ gmtModified?: string; /** 对象 ID */ id?: number; /** lastModifier */ lastModifier?: string; /** lastModifierName */ lastModifierName?: string; /** leaf */ leaf?: boolean; /** 锁持有人用户ID(非实体对象节点为空) */ lockOwner?: string; /** 锁持有人用户名(非实体对象节点为空) */ lockOwnerName?: string; /** 对象显示名称 */ name?: string; /** 已发布过的节点id */ nodeId?: string; /** 用来说明node的SQL类型,只针对节点生效 */ nodeType?: number; /** 树节点代表的实体对象数据 */ object?: object; /** 是否正在下线 */ offlining?: boolean; /** 用来标志节点是否已发布 */ online?: number; /** 节点的排序字段 */ order?: string; /** 对象所在项目 */ projectId?: number; /** 是否正在发布 */ publishing?: boolean; /** 节点状态:0(草稿), 2(已上线), 100(开发中) */ status?: string; /** 对象 ID String */ stringId?: string; /** 是否正在提交 */ submitting?: boolean; /** 对象类型 */ type?: string; /** url */ url?: string; } export class ULocale { /** baseName */ baseName?: string; /** characterOrientation */ characterOrientation?: string; /** country */ country?: string; /** displayCountry */ displayCountry?: string; /** displayLanguage */ displayLanguage?: string; /** displayLanguageWithDialect */ displayLanguageWithDialect?: string; /** displayName */ displayName?: string; /** displayNameWithDialect */ displayNameWithDialect?: string; /** displayScript */ displayScript?: string; /** displayScriptInContext */ displayScriptInContext?: string; /** displayVariant */ displayVariant?: string; /** extensionKeys */ extensionKeys?: Array; /** fallback */ fallback?: defs.ULocale; /** iso3Country */ iso3Country?: string; /** iso3Language */ iso3Language?: string; /** keywords */ keywords?: defs.Iterator; /** language */ language?: string; /** lineOrientation */ lineOrientation?: string; /** name */ name?: string; /** rightToLeft */ rightToLeft?: boolean; /** script */ script?: string; /** unicodeLocaleAttributes */ unicodeLocaleAttributes?: Array; /** unicodeLocaleKeys */ unicodeLocaleKeys?: Array; /** variant */ variant?: string; } export class UdfCategoryDTO { /** code */ code?: string; /** id */ id?: number; /** name */ name?: string; } export class UnReadCountDTO { /** 未读条数 */ count?: number; /** 信息来源 */ sender?: | 'BPMS' | 'AUTH' | 'DATA_GOVERNANCE' | 'SCHEDULE' | 'DQE' | 'DATA_ASSETS' | 'OTHERS'; } export class UnionTableAttributeBO { /** 属性数据类型 */ attributeDataType?: string; /** 默认值 */ attributeDefaultValue?: string; /** id */ attributeId?: string; /** 属性是否分区 */ attributeIsPartition?: boolean; /** 计算逻辑 */ attributeLogic?: string; /** 作用域 */ attributeScope?: string; /** 属性序列 */ attributeSeq?: number; /** attributeSqlFromPart */ attributeSqlFromPart?: string; /** 事实表属性类型,Dimension(dimension)或度量(measure),@see BizAttributeTypeEnum */ attributeType?: number; /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** Dimensionid */ dimensionId?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 是否有下游依赖 */ hasChildDependence?: boolean; /** 是否有线上版本 */ hasOnline?: boolean; /** 热度值 */ hotVal?: number; /** 对象ID */ id?: number; /** 是否外键 */ isFk?: boolean; /** isNotNull */ isNotNull?: boolean; /** 是否物理化 */ isPhysical?: boolean; /** 是否主键 */ isPk?: boolean; /** isRepeat */ isRepeat?: boolean; /** isUnique */ isUnique?: boolean; /** 修改人ID */ lastModifier?: string; /** 修改人 */ lastModifierName?: string; /** logicTableId */ logicTableId?: number; /** 模型id */ modelId?: number; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 是否推荐字段 */ recommend?: boolean; /** 引用Dimension逻辑表中文名称 */ refDimCn?: string; /** 引用Dimension逻辑表英文名称 */ refDimName?: string; /** 引用Dimension逻辑表ID */ refDimensionId?: number; /** 引用Dimension */ refDimensionIsMaxPt?: boolean; /** 引用Dimension角色名 */ refDimensionRole?: string; /** 引用Dimension角色中文名 */ refDimensionRoleCn?: string; /** 测试状态 */ status?: number; /** 来源表 */ table?: string; /** 表实体类型 */ tableEntityTypeEnum?: '1' | '2' | 1 | 2; /** 表id */ tableId?: string; /** 租户ID */ tenantId?: number; /** Dimension表属性类型,@see DimensionAttributeTypeEnum */ type?: number; } export class UpdateManualLabelCommand { /** 描述 */ desc?: string; /** 名称 */ displayName?: string; /** 标签类目 */ labelCategoryId?: number; /** 公开状态 */ labelPublicStatus?: string; /** 手工标签ID */ manualLabelId?: string; /** 英文名 */ name?: string; /** 提交备注 */ submitComment?: string; } export class UpdateResourceDTO { /** comment */ comment?: string; /** content */ content?: string; /** description */ description?: string; /** name */ name?: string; /** size */ size?: number; } export class UpdateUdfDTO { /** className */ className?: string; /** commandHelp */ commandHelp?: string; /** comment */ comment?: string; /** description */ description?: string; /** functionName */ functionName?: string; /** refResourceIds */ refResourceIds?: Array; /** udfCategory */ udfCategory?: number; } export class UpgradeBasicProjectDTO { /** 业务板块Id */ bizUnitId?: number; /** 对应dev项目 */ devProject?: defs.UpgradeProjectDTO; /** 对应prod项目 */ prodProject?: defs.UpgradeProjectDTO; /** 项目Id */ projectId?: number; } export class UpgradeConfigDTO { /** bizUnitIdList */ bizUnitIdList?: Array; /** 升级内容 */ configContentDTO?: Array; /** 配置类型 */ configType?: 'BASIC_BIZ_UNIT'; /** projectList */ projectList?: Array; } export class UpgradeDTO { /** bizUnitList */ bizUnitList?: Array; /** 升级完成时间 */ gmtComplete?: string; /** 升级创建时间 */ gmtCreate?: string; /** 日志路径 */ logPath?: string; /** 维护Id */ maintenanceId?: number; /** 维护开始时间 */ maintenanceStartTime?: string; /** 操作者 */ operator?: string; /** 升级进度 */ progress?: number; /** projectList */ projectList?: Array; /** 当前所在步骤 */ step?: any; /** 租户Id */ tenantId?: number; /** 升级配置 */ upgradeConfig?: defs.UpgradeConfigDTO; /** 当前升级状态 */ upgradeStatus?: | 'NOT_START' | 'CONFIG' | 'UPGRADING' | 'UPGRADE_SUCCESS' | 'UPGRADE_FAILED' | 'RESUMING' | 'RESUME_SUCCESS' | 'RESUME_FAILED' | 'BACK_UP_FAILED'; } export class UpgradeProjectDTO { /** 计算引擎 */ computeEngineId?: number; /** 项目环境 */ env?: 'prod' | 'env'; /** 项目成员 */ projectMembers?: Array; } export class UpgradeProjectMemberDTO { /** 角色Id */ roleId?: number; /** 用户Id */ userId?: string; } export class User { /** accountName */ accountName?: string; /** accountTypes */ accountTypes?: Array; /** currentTenant */ currentTenant?: defs.Tenant; /** currentTenantId */ currentTenantId?: number; /** dingNumber */ dingNumber?: string; /** displayName */ displayName?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: string; /** joinedTenants */ joinedTenants?: Array; /** locale */ locale?: defs.ULocale; /** mail */ mail?: string; /** mobilePhone */ mobilePhone?: string; /** nick */ nick?: string; /** realName */ realName?: string; /** timeZone */ timeZone?: defs.TimeZoneAdapter; } export class UserContactDTO { /** dingNumber */ dingNumber?: string; /** mail */ mail?: string; /** mobilePhone */ mobilePhone?: string; /** tenantId */ tenantId?: number; /** userId */ userId?: string; } export class UserDTO { /** displayName */ displayName?: string; /** mail */ mail?: string; /** mobilePhone */ mobilePhone?: string; /** userId */ userId?: string; } export class UserDetailInfoVO { /** mineProjects */ mineProjects?: Array; /** tenantProjects */ tenantProjects?: Array; /** userInfo */ userInfo?: defs.UserInfoVO; } export class UserInfoDTO { /** 用户ID */ userId?: string; /** 用户名 */ userName?: string; } export class UserInfoVO { /** 账号类型,与权限无关 */ accountTypes?: Array; /** 显示名 */ displayName?: string; /** 区域ID */ locale?: string; /** 实际登录账号 */ loginId?: string; /** 昵称(可能为空) */ nickName?: string; /** 是否为某个项目的管理员 */ projectAdmin?: boolean; /** 真实姓名(可能为空) */ realName?: string; /** roleList */ roleList?: Array; /** 是否是该产品产品的超级管理员 */ superAdmin?: boolean; /** 当前租户 */ tenantId?: number; /** 当前租户owner */ tenantOwner?: string; /** 时区 */ timeZone?: string; /** 用户 ID */ userId?: string; } export class UserRoleInfoVO { /** 实际登录账号 */ loginId?: string; /** 项目-角色 */ projectRoles?: ObjectMap; /** 所属租户 */ tenantId?: number; /** 用户ID */ userId?: string; } export class UserVO { /** accountName */ accountName?: string; /** currentTenant */ currentTenant?: defs.TenantVO; /** dingNumber */ dingNumber?: string; /** displayName */ displayName?: string; /** gmtCreate */ gmtCreate?: string; /** gmtModified */ gmtModified?: string; /** id */ id?: string; /** joinedTenants */ joinedTenants?: Array; /** locale */ locale?: defs.ULocale; /** mail */ mail?: string; /** mobilePhone */ mobilePhone?: string; /** nick */ nick?: string; /** realName */ realName?: string; /** timeZone */ timeZone?: defs.TimeZoneAdapter; /** userId */ userId?: string; } export class VersionDTO { /** 备注 */ comment?: string; /** 提交时间 */ gmtCreate?: string; /** 对象Id */ objectId?: string; /** 提交人Id */ userId?: string; /** 提交人名称 */ userName?: string; /** 版本号 */ version?: string; } export class VersionedNodeContent { /** versionedContent */ versionedContent?: string; } export class VisitHistoryBO { /** 中文名 */ cn?: string; /** 描述 */ des?: string; /** 访问表是否被收藏1:收藏 ,0:未收藏 */ favorFlag?: number; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 对象id */ id?: string; /** 对象标签列表 */ labels?: Array; /** 英文名 */ name?: string; /** 创建人ID */ owner?: string; /** 创建人名字 */ ownerName?: string; /** 实体类型 */ tableEntityType?: '1' | '2' | 1 | 2; /** 对象类型 */ type?: | '-1' | '1' | '2' | '3' | '4' | '8' | '9' | '11' | '38' | '39' | '40' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31' | '32' | '33' | '34' | '35' | '36' | '37' | '41' | '42' | '43' | '44' | '45' | '46' | '47' | '48' | '49' | '50' | -1 | 1 | 2 | 3 | 4 | 8 | 9 | 11 | 38 | 39 | 40 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50; } export class VisitParam { /** 对象id */ objectId?: string; /** 访问类型 */ objectType?: number; /** 项目id */ projectId?: number; /** 访问路径 */ url?: string; } export class WhiteListBO { /** ip */ ip?: string; /** port */ port?: string; } export class WhiteListGroupBO { /** highList */ highList?: Array; /** lowList */ lowList?: Array; } export class WithdrawApplyBO { /** applyId */ applyId?: number; } export class changedPhysicalConfigCommand { /** 生命周期 */ lifeCycle?: string; /** 提交备注 */ submitComment?: string; } } declare namespace API { /** * [后端:白路;前端:琳峰]权限申请提交API */ export namespace applyPermission { /** * 申请逻辑表权限 * /api/dip/permission/apply/dataSource */ export namespace applyDataSource { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 申请功能权限 * /api/dip/permission/apply/function */ export namespace applyFunctionPermission { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 申请逻辑表权限 * /api/dip/permission/apply/logicTable */ export namespace applyLogicTable { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 申请物理表权限 * /api/dip/permission/apply/physicalTable */ export namespace applyPhysicalTable { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:北渔]审批权限相关API */ export namespace approvePermission { /** * 获取单个任务 * /api/dip/permission/task/ */ export namespace getTask { export class Params { /** objectId */ objectId: number; /** objectType */ objectType: 'APPLY' | 'APPROVE'; } export type Response = defs.BaseOaTaskBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 加签审批单 * /api/dip/permission/task/approve/addLabel */ export namespace addLabelApproveProcess { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交审批结果 * /api/dip/permission/task/approve/submit */ export namespace submitApproveProcess { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 转交审批单 * /api/dip/permission/task/approve/transfer */ export namespace tranferApproveProcess { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 撤回 * /api/dip/permission/task/approve/withdraw */ export namespace withdrawApply { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取审批流程 * /api/dip/permission/task/approveProcessSteps */ export namespace listApproveProcessSteps { export class Params { /** objectId */ objectId: number; /** objectType */ objectType: 'APPLY' | 'APPROVE'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我发起的任务 * /api/dip/permission/task/created */ export namespace listCreatedTask { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; /** status */ status?: | 'APPROVING' | 'ACCEPTED' | 'REJECTED' | 'REVOKED' | 'CALL_BACK_ERROR'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 已处理任务 * /api/dip/permission/task/handled */ export namespace listHandledTask { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; /** status */ status?: | 'APPROVING' | 'ACCEPTED' | 'REJECTED' | 'REVOKED' | 'CALL_BACK_ERROR'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 是否有权限查看流程 * /api/dip/permission/task/hasAuthForDetail */ export namespace hasAuthForDetail { export class Params { /** objectId */ objectId: number; /** objectType */ objectType: 'APPLY' | 'APPROVE'; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 待处理任务 * /api/dip/permission/task/toBeHandle */ export namespace listToBeHandleTask { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** type */ type?: 'APPROVE' | 'MANAGE' | 'OTHERS'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 待我处理的任务个数 * /api/dip/permission/task/toBeHandle/count */ export namespace countToBeHandleTask { export class Params {} export type Response = ObjectMap; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大,年诚;前端:载天] 资产全景相关API */ export namespace assetOverview { /** * 业务板块下业务处理过程的数据结构信息(业务过程,Dimension之间的关系) * /api/assetOverview/bizUnit/{bizUnitId}/bizProcessStructure */ export namespace getBizProcessStructureBO { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = defs.BizProcessStructureBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块的全局资产数据 * /api/assetOverview/bizUnit/{bizUnitId}/globalAsset */ export namespace getBizUnitGlobalAsset { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = defs.BizUnitGlobalAssetBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户的全局资产数据 * /api/assetOverview/tenant/globalAsset */ export namespace getTenantGlobalAsset { export class Params {} export type Response = defs.TenantGlobalAssetBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户的数据源接入信息 * /api/assetOverview/tenant/tenantDatasourceAccessInfo */ export namespace getTenantDatasourceAccessInfoBO { export class Params {} export type Response = defs.TenantDatasourceAccessInfoBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户业务过程相关的资产数据 * /api/assetOverview/tenant/tenantProcessAsset */ export namespace getTenantProcessAsset { export class Params {} export type Response = defs.TenantProcessAssetBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:驯致;前端:载天]原子指标API */ export namespace atomicIndex { /** * 添加原子指标 * /api/index/atomic */ export namespace create { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 添加原子指标 * /api/index/atomic/ */ export namespace postAtomic { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据id获取原子指标 * /api/index/atomic/atomic/{id} */ export namespace getAtomicIndex { export class Params { /** status */ status?: string; /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = defs.AtomicIndexDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据选中的模型获取原子指标详情,模型相关 * /api/index/atomic/detail */ export namespace getDetailBySourceTable { export class Params { /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; /** projectId */ projectId?: number; } export type Response = defs.AtomicIndexDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据id获取原子指标详情 * /api/index/atomic/detail/{id} */ export namespace getDetailById { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** status */ status?: string; } export type Response = defs.AtomicIndexDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 原子指标列表 * /api/index/atomic/list */ export namespace listByFilter { export class Params { /** projectId */ projectId?: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 输入事实表或者逻辑表表名,获取雪花模型下的所有字段 * /api/index/atomic/list/attrs */ export namespace listModelAttrs { export class Params { /** projectId */ projectId: number; /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取字段的原子指标及所有衍生原子指标 * /api/index/atomic/list/derived */ export namespace listDerivedAtomicIndexes { export class Params { /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的原子指标筛选器 * /api/index/atomic/list/filter */ export namespace listFilter { export class Params { /** bizUnitId */ bizUnitId?: number; /** projectId */ projectId?: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊搜索数据域下的原子指标 * /api/index/atomic/list/fuzzyOnDomain */ export namespace listFuzzy { export class Params { /** domainId */ domainId?: number; /** projectId */ projectId?: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新原子指标 * /api/index/atomic/{id} */ export namespace update { export class Params { /** id */ id: number; /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线 * /api/index/atomic/{id}/offline */ export namespace offline { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 下线备注 */ offlineComment: string; /** 原子指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下原子指标 * /api/index/atomic/{id}/onlineAndDraft */ export namespace deleteOnlineAndDraft { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 删除备注 */ deleteComment: string; /** 原子指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交原子指标 * /api/index/atomic/{id}/submit */ export namespace submit { export class Params { /** id */ id: number; /** projectId */ projectId?: number; /** 提交备注 */ submitComment: string; /** 原子指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验 * /api/index/atomic/{id}/validate */ export namespace validate { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验删除 * /api/index/atomic/{id}/validateDelete */ export namespace validateDelete { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验下线 * /api/index/atomic/{id}/validateOffline */ export namespace validateOffline { export class Params { /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:北渔] */ export namespace auth { /** * 验证功能权限 * /api/dip/auth/hasFeaturePermission */ export namespace hasFeaturePermission { export class Params { /** identity */ identity: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 验证权限 * /api/dip/auth/hasPermission */ export namespace hasPermission { export class Params { /** tenantId */ tenantId: number; /** userId */ userId: string; /** resourceKey */ resourceKey: string; /** operateType */ operateType: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均] */ export namespace authOpen { /** * 判断用户是否有生产数据的权限 * /api/open/auth */ export namespace hasDataProductionPermission { export class Params { /** 租户ID */ tenantId: number; /** 用户ID */ userId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 赋权用户生产数据的权限 * /api/open/auth */ export namespace grantDataProductionPermission { export class Params { /** 租户ID */ tenantId: number; /** 用户ID */ userId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下运维用户 * /api/open/bizUnit/{bizUnitId}/ops */ export namespace queryBizUnitOpsUser { export class Params { /** 租户ID */ tenantId: number; /** 业务板块ID */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表的待发布列表 * /api/open/logicTable/readyToPublish */ export namespace listReadyToPublishLogicTables { export class Params { /** 租户ID */ tenantId: number; /** 页大小 */ pageSize: number; /** 页序号 */ pageNum: number; } export type Response = defs.Page; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表 * /api/open/meta/logicTable/{logicTableId} */ export namespace queryPhysicalTable { export class Params { /** 租户ID */ tenantId: number; /** 逻辑表ID */ logicTableId: number; /** 逻辑表类型: 1 Dimension逻辑表, 2事实逻辑表, 3 汇总逻辑表 */ logicTableType: number; /** PROD/DEV 开发和生产环境 */ env: string; } export type Response = defs.TableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表的血缘 * /api/open/meta/logicTable/{logicTableId}/blood */ export namespace queryLogicTableBlood { export class Params { /** 租户ID */ tenantId: number; /** 逻辑表ID */ logicTableId: number; /** 属性名 */ attributeName: string; /** 逻辑表类型: 1 Dimension逻辑表, 2事实逻辑表, 3 汇总逻辑表 */ logicTableType: number; } export type Response = defs.TableBloodDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表 * /api/open/meta/physicalTable */ export namespace getMetaPhysicalTable { export class Params { /** 租户ID */ tenantId: number; /** 项目ID */ projectId: number; /** 物理表名 */ tableName: string; /** PROD/DEV 开发和生产环境 */ env: string; } export type Response = defs.TableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表的血缘 * /api/open/meta/physicalTable/blood */ export namespace queryPhysicalTableBlood { export class Params { /** 租户ID */ tenantId: number; /** 项目ID */ projectId: number; /** 物理表名 */ tableName: string; } export type Response = defs.TableBloodDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目生产账号 * /api/open/producer */ export namespace queryProducerUserIdInDevelopProject { export class Params { /** 租户ID */ tenantId: number; /** 项目ID */ projectId: number; /** PROD/DEV 开发和生产环境 */ env: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目的运维用户 * /api/open/project/{projectId}/ops */ export namespace queryProjectOpsUser { export class Params { /** 租户ID */ tenantId: number; /** 项目ID */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户ID * /api/open/tenant/tenantId */ export namespace queryTenantId { export class Params { /** 主账号ID */ mainAccountId: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下的项目列表 * /api/open/tenants/{tenantId} */ export namespace listProjects { export class Params { /** 租户ID */ tenantId: number; /** PROD/DEV 开发和生产环境 */ env: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据源ID获取用户的ID * /api/open/user */ export namespace queryUserId { export class Params { /** 账号类型 */ accountSourceType: string; /** 源用户ID */ sourceUserId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取用户的源用户ID * /api/open/user/sourceUserId */ export namespace querySourceUserId { export class Params { /** 租户ID */ tenantId: number; /** 用户ID */ userId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:驯致;前端:载天]业务限定API */ export namespace bizCondition { /** * 添加业务限定 * /api/bizCondition */ export namespace create { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 添加业务限定 * /api/bizCondition/ */ export namespace postBizCondition { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据id获取业务限定 * /api/bizCondition/biz/detail/{id} */ export namespace getBizCondition { export class Params { /** status */ status?: string; /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = defs.BizConditionDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据选中的模型获取业务限定详情 * /api/bizCondition/detail */ export namespace getDetailBySourceTable { export class Params { /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; /** projectId */ projectId?: number; } export type Response = defs.BizConditionDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据id获取业务限定详情 * /api/bizCondition/detail/{id} */ export namespace getDetailById { export class Params { /** status */ status?: string; /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = defs.BizConditionDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务限定列表 * /api/bizCondition/list */ export namespace list { export class Params { /** projectId */ projectId?: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 输入事实表或者逻辑表表名,获取雪花模型下的所有字段 * /api/bizCondition/list/attrs */ export namespace listModelAttrs { export class Params { /** projectId */ projectId: number; /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取指定字段的业务限定 * /api/bizCondition/list/derived */ export namespace listBizConditionsByName { export class Params { /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的筛选器 * /api/bizCondition/list/filter */ export namespace listFilter { export class Params { /** bizUnitId */ bizUnitId?: number; /** 项目Id */ projectId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新业务限定 * /api/bizCondition/{id} */ export namespace update { export class Params { /** id */ id: number; /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线 * /api/bizCondition/{id}/offline */ export namespace offline { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 下线备注 */ offlineComment: string; /** 业务限定名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下业务限定 * /api/bizCondition/{id}/onlineAndDraft */ export namespace deleteOnlineAndDraft { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 业务限定名 */ name: string; /** 删除备注 */ deleteComment: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交业务限定 * /api/bizCondition/{id}/submit */ export namespace submit { export class Params { /** id */ id: number; /** projectId */ projectId?: number; /** 提交备注 */ submitComment: string; /** 业务限定名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验 * /api/bizCondition/{id}/validate */ export namespace validate { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验删除 * /api/bizCondition/{id}/validateDelete */ export namespace validateDelete { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验下线 * /api/bizCondition/{id}/validateOffline */ export namespace validateOffline { export class Params { /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:翠翠;前端:载天]DIP业务图谱相关API */ export namespace bizGraph { /** * 获取某个数据域下面的业务图谱 * /api/dip/map/biz/ */ export namespace getBizGraph { export class Params { /** 数据域的id */ domainId: number; } export type Response = defs.BizGraphBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务过程相关的Dimension * /api/dip/map/biz/dim */ export namespace getRelationDim { export class Params { /** 业务过程的id */ bizProcessId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户对应的业务板块及数据域 * /api/dip/map/biz/getBizAndDomain */ export namespace getBizAndDomain { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务过程关联的所有表 * /api/dip/map/biz/getTablesByBizProcess */ export namespace getTablesByBizProcess { export class Params { /** 业务过程的id */ bizProcessId: number; } export type Response = defs.LogicTableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取Dimension关联的所有表 * /api/dip/map/biz/getTablesByDim */ export namespace getTablesByDim { export class Params { /** Dimensionid */ dimId: number; } export type Response = defs.LogicTableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据域关联的所有表 * /api/dip/map/biz/getTablesByDomain */ export namespace getTablesByDomain { export class Params { /** 数据域id */ domainId: number; } export type Response = defs.LogicTableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:驯致,见行;前端:晟朗]业务过程API */ export namespace bizProcess { /** * 新建业务过程 * @throws Exception code * BIZ_PROCESS_CN_DUPLICATED: 业务过程中文名重复 * BIZ_PROCESS_NAME_DUPLICATED: 业务过程英文名重复 * @p1-test * user: 当前用户在项目中无创建权限 * bizProcessDTO.cn: 业务过程名称和已有的业务过程中文名重名 * bizProcessDTO.name: 业务过程名称和已有的业务过程英文名重名 * @p2-test * BIZ_PROCESS_CN_DUPLICATED: 业务过程和已有业务过程重名 * BIZ_PROCESS_NAME_DUPLICATED: 业务过程和已有业务过程重名 * /api/bizProcess */ export namespace create { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据域下业务过程关联的逻辑表个数 * /api/bizProcess/countRelatedLogicTable */ export namespace countRelatedLogicTable { export class Params { /** 数据域id */ domainId?: number; /** projectId */ projectId?: number; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 当前业务板块下的所有业务过程列表 * @throws Exception code * PROJECT_NOT_FOUND: 项目未找到 * @p1-test * projectId: 项目不存在的id /null * @p2-test * PROJECT_NOT_FOUND: 项目未找到: 租户id不存在, projectId找不到对应的项目信息, 项目信息中的租户id和请求的租户id不一致, 项目id无对应的业务板块 * /api/bizProcess/list */ export namespace list { export class Params { /** projectId */ projectId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的业务过程筛选器 * @p1-test * bizUnitId: 业务板块id不存在/ null * /api/bizProcess/list/filter */ export namespace listFilter { export class Params { /** 业务板块id */ bizUnitId?: number; /** projectId */ projectId?: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据 id 获取业务过程信息 * @p1-test * id: 业务过程不存在的id /null * /api/bizProcess/{id} */ export namespace getBizProcess { export class Params { /** projectId */ projectId?: number; /** 业务过程ID */ id?: number; } export type Response = defs.BizProcessDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新业务过程 * @p1-test * user: 当前用户在项目中无创建权限 * id: id对应的业务过程不存在/ null * /api/bizProcess/{id} */ export namespace update { export class Params { /** 业务过程ID */ id?: number; /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除业务过程 * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * @p1-test * user: 当前用户在项目中无删除权限 * id: id对应的业务过程不存在/ 该业务过程被依赖/ null * @p2-test * INTERNAL_ERROR: 有其他元素依赖该业务过程, 例如: 事实逻辑表已经关联依赖该业务过程, 会导致删除失败 * /api/bizProcess/{id} */ export namespace remove { export class Params { /** 业务过程ID */ id?: number; /** name */ name?: string; /** projectId */ projectId?: number; /** 提交备注 */ deleteComment: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验 * /api/bizProcess/{id}/validate */ export namespace validate { export class Params { /** 业务过程ID */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验删除 * /api/bizProcess/{id}/validateDelete */ export namespace validateDelete { export class Params { /** 业务过程ID */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:北渔]业务板块相关API */ export namespace bizUnit { /** * 获取租户下所有业务板块 * @throws Exception code * 无 * @p1-test * 无入参 * /api/bizUnit/allList */ export namespace getAllBizUnitList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下所有业务板块(生产开发打包) * @throws Exception code * 无 * @p1-test * 无入参 * /api/bizUnit/allZipList */ export namespace getZipDevProdAllBizUnitList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查英文名是否可以修改 * @throws Exception code * 无 * @p1-test * 无入参 * /api/bizUnit/checkNameChange */ export namespace checkNameChange { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建一个业务板块 * @throws Exception code * BIZ_UNIT_NAME_ILLEGAL:业务板块英文名不合法 * BIZ_UNIT_CN_ILLEGAL:业务板块中文名不合法 * BIZ_UNIT_DES_ILLEGAL:业务板块描述不合法 * BIZ_UNIT_NAME_MUST_START_WITH_LD:业务板块英文名必须以LD_开头 * BIZ_UNIT_CN_DUPLICATED:业务板块中文名重复 * BIZ_UNIT_NAME_DUPLICATED:业务板块英文名重复 * BIZ_UNIT_NAME_CANNOT_CHANGE:业务板块英文名不允许修改 * @p1-test * bizUnitName:配置超过64字符 [BIZ_UNIT_NAME_ILLEGAL] * bizUnitCn:配置超过64字符 [BIZ_UNIT_CN_ILLEGAL] * bizUnitDesc:配置超过128字符 [BIZ_UNIT_DES_ILLEGAL] * @p2-test * BIZ_UNIT_NAME_MUST_START_WITH_LD:配置业务板块英文名不以LD_开头,如biz * BIZ_UNIT_CN_DUPLICATED: 配置一个已经存在的中文名 * BIZ_UNIT_NAME_DUPLICATED: 配置一个已经存在的中文名 * /api/bizUnit/devprod */ export namespace createDevProdBizUnit { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取一个业务板块 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块找不到 * @p1-test * bizUnitId:配置不存在bizUnitId=-1 [BIZ_UNIT_NOT_FOUND] * /api/bizUnit/{bizUnitId} */ export namespace getBizUnit { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = defs.BizUnitDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新一个业务板块 * @throws Exception code * BIZ_UNIT_NAME_ILLEGAL:业务板块英文名不合法 * BIZ_UNIT_CN_ILLEGAL:业务板块中文名不合法 * BIZ_UNIT_DES_ILLEGAL:业务板块描述不合法 * BIZ_UNIT_NAME_MUST_START_WITH_LD:业务板块英文名必须以LD_开头 * BIZ_UNIT_CN_DUPLICATED:业务板块中文名重复 * BIZ_UNIT_NAME_DUPLICATED:业务板块英文名重复 * BIZ_UNIT_NAME_CANNOT_CHANGE:业务板块英文名不允许修改 * @p1-test * bizUnitName:配置超过64字符 [BIZ_UNIT_NAME_ILLEGAL] * bizUnitCn:配置超过64字符 [BIZ_UNIT_CN_ILLEGAL] * bizUnitDesc:配置超过128字符 [BIZ_UNIT_DES_ILLEGAL] * @p2-test * BIZ_UNIT_NAME_MUST_START_WITH_LD:配置业务板块英文名不以LD_开头,如biz * BIZ_UNIT_CN_DUPLICATED: 配置一个已经存在的中文名 * BIZ_UNIT_NAME_DUPLICATED: 配置一个已经存在的中文名 * BIZ_UNIT_NAME_CANNOT_CHANGE: 业务板块绑定项目后修改业务板块的英文名 * /api/bizUnit/{bizUnitId} */ export namespace updateBizUnit { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除一个业务板块 * @throws Exception code * INTERNAL_ERROR:业务板块英文名不合法 * BIZ_UNIT_NOT_FOUND:业务板块英文名不允许修改 * @p1-test * BIZ_UNIT_NOT_FOUND: 删除一个不存在的业务板块,如ID=0 * @p2-test * INTERNAL_ERROR:删除一个有下游依赖的业务板块 * /api/bizUnit/{bizUnitId}/devprod */ export namespace deleteDevProdBizUnit { export class Params { /** bizUnitId */ bizUnitId: number; /** 业务板块名称 */ bizUnitName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * upgradeBizUnit * /api/bizUnit/{bizUnitId}/upgrade */ export namespace upgradeBizUnit { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:奇阳] 业务板块配置 */ export namespace bizUnitConfig { /** * 获取业务日期参数设置 * /api/bizUnitConfig/{bizUnitId}/bizDate */ export namespace getBizDate { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = defs.BizDateVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 业务日期参数设置 * /api/bizUnitConfig/{bizUnitId}/bizDate */ export namespace setBizDate { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * GET接口 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块找不到 * @p1-test * bizUnitId:配置不存在bizUnitId=-1 [BIZ_UNIT_NOT_FOUND] * /api/bizUnitConfig/{bizUnitId}/semanticsOptimizeSwitch */ export namespace getSemanticsOptimizeSwitch { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * POST接口 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块找不到 * @p1-test * bizUnitId:配置不存在bizUnitId=-1 [BIZ_UNIT_NOT_FOUND] * /api/bizUnitConfig/{bizUnitId}/semanticsOptimizeSwitch */ export namespace setSemanticsOptimizeSwitch { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * GET接口 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块找不到 * @p1-test * bizUnitId:配置不存在bizUnitId=-1 [BIZ_UNIT_NOT_FOUND] * /api/bizUnitConfig/{bizUnitId}/timePartition */ export namespace getTimePartition { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = defs.TimeParitionVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * POST接口 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块找不到 * @p1-test * bizUnitId:配置不存在bizUnitId=-1 [BIZ_UNIT_NOT_FOUND] * /api/bizUnitConfig/{bizUnitId}/timePartition */ export namespace setTimePartition { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * Check Controller */ export namespace check { /** * health * / */ export namespace health { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * health * /health */ export namespace getHealth { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:数据处理对象发布记录 */ export namespace dataProcessPublishRecord { /** * 发布 * /api/dataProcess/publish */ export namespace publish { export class Params { /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取待发布列表筛选器 * /api/dataProcess/publish/record/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/dataProcess/publish/record/search */ export namespace search { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询状态 * /api/dataProcess/publish/record/status */ export namespace listStatus { export class Params { /** ids */ ids: Array; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取校验结果 * /api/dataProcess/publish/record/{id}/validateResult */ export namespace getValidateResult { export class Params { /** id */ id: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:数据处理对象待发布列表 */ export namespace dataProcessSubmitRecord { /** * count * /api/dataProcess/submit/record/count */ export namespace count { export class Params { /** projectId */ projectId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取对象的发布列表[目前只支持节点文件] * /api/dataProcess/submit/record/list */ export namespace getSubmitHistory { export class Params { /** 文件ID */ fileId: string; /** 文件类型 */ fileType: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取待发布列表筛选器 * /api/dataProcess/submit/record/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/dataProcess/submit/record/search */ export namespace search { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取对象某个版本的发布记录 * /api/dataProcess/submit/record/version/{version} */ export namespace getSubmitHistoryWithVersion { export class Params { /** 文件ID */ fileId: string; /** version */ version: string; /** 文件类型 */ fileType: number; } export type Response = defs.DataProcessSubmitRecordBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:晟朗]数据源相关API */ export namespace dataSource { /** * 新建数据源 * /api/dsConfig */ export namespace createDsConfig { export class Params {} export type Response = defs.DataSourceSaveResultVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下所有数据源 * /api/dsConfig/allList */ export namespace getAllDsList { export class Params { /** useType */ useType: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查所有数据源重复 * /api/dsConfig/allRepeat */ export namespace checkRepeatDS { export class Params {} export type Response = Array>; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量删除数据源 * /api/dsConfig/batchDelete */ export namespace batchDelete { export class Params { /** 数据源Id列表 */ dsIds: Array; /** 数据源名称列表 */ dsNames: Array; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 测试连通性 * /api/dsConfig/checkConnectivity */ export namespace checkDsConnectivity { export class Params {} export type Response = defs.ConnectivityResult; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查当前数据源和哪些数据源重复 * /api/dsConfig/checkRepeat */ export namespace checkRepeat { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据源类型 * /api/dsConfig/listDsType */ export namespace listDsType { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下有读权限的数据源列表 * /api/dsConfig/listHaveReadPermissionDsConfig */ export namespace listHaveReadPermissionDsConfig { export class Params { /** 数据源使用类型 */ useType?: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; /** 数据源类型 */ dsType?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下有写权限的数据源列表 * /api/dsConfig/listHaveWritePermissionDsConfig */ export namespace listHaveWritePermissionDsConfig { export class Params { /** 数据源使用类型 */ useType?: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; /** 数据源类型 */ dsType?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取odps数据源列表 * /api/dsConfig/odps */ export namespace listBindProjectOdpsDs { export class Params { /** endpoint */ endpoint?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * ODPS数据源的owner权限校验 * /api/dsConfig/owner/verify */ export namespace verifyOwner { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索数据源 * /api/dsConfig/search */ export namespace searchDsList { export class Params { /** 数据源使用类型 */ useType?: | 'COMPUTE_ENGINE' | 'PHYSICAL' | 'META_COMPUTE_ENGINE' | 'META_PHYSICAL'; /** 数据源类型 */ dsType?: | 'MAX_COMPUTE' | 'MYSQL' | 'SQL_SERVER' | 'HIVE' | 'OS' | 'POSTGRE_SQL' | 'EMR_HIVE' | 'ORACLE' | 'FTP' | 'HDFS' | 'VERTICA' | 'HADOOP' | 'DRDS' | 'ELASTIC_SEARCH' | 'ANALYTICDB' | 'MONGODB' | 'HBASE_1_1_X' | 'HBASE_0_9_4' | 'FLINK'; /** 是否绑定项目 */ isBindProject?: boolean; /** 数据源名称或者描述 */ keyWord?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 同步数据源到元数据中心 * /api/dsConfig/syncDataSourceToMetaCenter */ export namespace syncDataSourceToMetaCenter { export class Params { /** 数据源id */ dataSourceid: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 同步数据源到元数据中心 * /api/dsConfig/syncTenantDataSourceToMetaCenter */ export namespace syncTenantDataSourceToMetaCenter { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取没有绑定的数据源 * /api/dsConfig/unbindDsList */ export namespace getUnbindDsList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新guid * /api/dsConfig/updateGuid */ export namespace updateGuid { export class Params {} export type Response = ObjectMap; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 上传文件 * /api/dsConfig/upload */ export namespace uploadFile { export class Params { /** keytab文件 */ keytabFile?: File; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取一个数据源配置 * /api/dsConfig/{dsId} */ export namespace getDsConfigById { export class Params { /** dsId */ dsId: number; } export type Response = defs.DataSourceConfigVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新一个数据源 * /api/dsConfig/{dsId} */ export namespace updateDsConfig { export class Params { /** dsId */ dsId: number; } export type Response = defs.DataSourceSaveResultVO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除一个数据源 * /api/dsConfig/{dsId} */ export namespace deleteDsConfig { export class Params { /** dsId */ dsId: number; /** datasourceName */ datasourceName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据源owner转交 * /api/dsConfig/{dsId}/owner */ export namespace changeOwner { export class Params { /** dsId */ dsId: number; /** 转交owner */ ownerId?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:莫萱,靖方;前端:北渔]数据同步相关API */ export namespace dataSync { /** * 获取租户下数据源列表 * /api/dataSync/dsList */ export namespace searchDsLIst { export class Params { /** 数据源用途 */ useType?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取Parquet格式的Hive表的Schema * @throws Exception code: * GET_TABLE_SCHEMA_FAILED: 获取表的schema失败!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务(数据源为找到)!* DATASOURCE_NOT_SUPPORT: 调用元数据服务(数据源不支持)!* META_SERVICE_DATASOURCE_ERROR: 调用元数据服务(其他错误)! * @p1-test * dsId: 数据源为空,ds=null * tableName: 表名之前不带schema信息 * @p2-test * GET_TABLE_SCHEMA_FAILED: 获取表的schema失败!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务,ds随便传一个* DATASOURCE_NOT_SUPPORT: 调用元数据服务,数据源类型不支持,如oracle类型的数据源* META_SERVICE_DATASOURCE_ERROR: 调用元数据服务(其他错误)! * /api/dataSync/parquetSchema */ export namespace fetchParquetSchemaByTableName { export class Params { /** 数据源Id */ dsId: string; /** 物理表表名 */ tableName: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表的列表(含分区、文件类型等属性) * @throws Exception: * IllegalArgumentException dwProjectId cannot be null!: 看数据源id为空 * @throws Exception code: * SEARCH_TALBE_NAME_LIST_BY_PREFIX_FAILED: 调用元数据服务出错!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务(数据源为找到)!* DATASOURCE_NOT_SUPPORT: 调用元数据服务(数据源不支持)!* META_SERVICE_DATASOURCE_ERROR: 调用元数据服务(其他错误)! * @p1-test * dsId: 数据源为空,ds=null * @p2-test * IllegalArgumentException dwProjectId cannot be null!: 看数据源id为空 * SEARCH_TALBE_NAME_LIST_BY_PREFIX_FAILED: 调用元数据服务出错!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务,ds随便传一个* DATASOURCE_NOT_SUPPORT: 调用元数据服务,数据源类型不支持,如oracle类型的数据源* META_SERVICE_DATASOURCE_ERROR: 调用元数据服务(其他错误)! * /api/dataSync/project/{projectId}/physicalTable */ export namespace getPhysicalTableList { export class Params { /** 项目projectId */ projectId?: number; /** 数据源Id */ dsId: string; /** 表名前缀 */ prefix?: string; /** 表名(多表) */ tableName?: string; /** elastic search index */ index?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表下所有字段 * @throws Exception code: * GET_TABLE_SCHEMA_FAILED: 获取表的schema失败!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务(数据源为找到)!* DATASOURCE_NOT_SUPPORT: 调用元数据服务(数据源不支持)!* META_SERVICE_DATASOURCSynE_ERROR: 调用元数据服务(其他错误)! * @p1-test * dsId: 数据源为空,ds=null * tableName: 表名之前不带schema信息 * @p2-test * GET_TABLE_SCHEMA_FAILED: 获取表的schema失败!* TABLE_NOT_FOUND: 调用元数据服务(表未找到)!* DATASOURCE_NOT_FOUND: 调用元数据服务,ds随便传一个* DATASOURCE_NOT_SUPPORT: 调用元数据服务,数据源类型不支持,如oracle类型的数据源* META_SERVICE_DATASOURCE_ERROR: 调用元数据服务(其他错误)! * /api/dataSync/tableColList */ export namespace getColsByTable { export class Params { /** 数据源Id */ dsId: string; /** 物理表表名 */ tableName: string; /** 项目id */ projectId: number; /** 已被使用字段集合 */ columnUsedList?: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [驯致]依赖检查API */ export namespace dependence { /** * 批量获取依赖 * /api/dependence/list/{objectType}/ */ export namespace resolve { export class Params { /** 被依赖的对象类型 */ objectType?: number; /** 被依赖对象的id列表 */ ids?: Array; /** 是否线上 */ usingOnline?: boolean; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取依赖 * /api/dependence/list/{objectType}/{objectId} */ export namespace getByObjectId { export class Params { /** 被依赖的对象类型 */ objectType?: number; /** 被依赖的对象ID */ objectId?: number; /** 是否线上 */ usingOnline?: boolean; } export type Response = defs.DependenceDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:驯致;前端:琳峰]派生指标API */ export namespace derivedIndex { /** * 批量添加派生指标 * /api/index/derived */ export namespace createBatch { export class Params { /** projectId */ projectId?: number; } export type Response = defs.Result>>; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量更新派生指标 * /api/index/derived */ export namespace update { export class Params { /** projectId */ projectId?: number; } export type Response = defs.Result>>; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取选中粒度、时间周期、业务限定创建过的相关派生指标 * /api/index/derived/created */ export namespace listCreatedWith { export class Params { /** 参数列表,json
[
  {
    atomicIndexId: id,
    dimIds: [id1, id2],
    bizConditionIds: [id1, id2],
    statPeriodId: id1
    dimPaths:{id1:path1,id2:path2}
  }
]
*/ options?: string; /** bizUnitId */ bizUnitId: number; /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查派生指标是否被创建,按传入顺序依次返回 * /api/index/derived/isCreated */ export namespace checkIsCreatedWith { export class Params { /** 参数列表,json
[
  {
    atomicIndexId: id,
    dimIds: [id1, id2],
    bizConditionIds: [id1, id2],
    statPeriodId: id1
    dimPaths:{id1:path1,id2:path2}
  }
]
*/ options?: string; /** bizUnitId */ bizUnitId: number; /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 派生指标列表 * /api/index/derived/list */ export namespace list { export class Params { /** projectId */ projectId?: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的派生指标筛选器 * /api/index/derived/list/filter */ export namespace listFilter { export class Params { /** bizUnitId */ bizUnitId?: number; /** projectId */ projectId?: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取原子指标及其衍生指标创建过的派生指标列表 * /api/index/derived/parent/atomicIndex/{atomicIndexId}/effected */ export namespace listEffectedByAtomicIndex { export class Params { /** atomicIndexId */ atomicIndexId?: number; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务限定创建过的派生指标列表 * /api/index/derived/parent/bizCondition/{bizConditionId}/effected */ export namespace listEffectedByBizCondition { export class Params { /** bizConditionId */ bizConditionId?: number; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 输入事实表或者逻辑表表名,获取雪花模型下的所有字段 * /api/index/derived/parent/model/attrs */ export namespace listModelAttrs { export class Params { /** projectId */ projectId: number; /** 来源模型ID */ modelId?: number; /** 模型选中表ID */ selectedModelId?: number; /** 模型选中表类型 */ selectedModelType?: number; /** modelType */ modelType?: number; /** 选中的属性 */ selectedAttributeName?: string; /** 所选中的path */ selectedPath?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 输入原子指标,获取衍生出该原子指标的所有原生原子指标的统计路径和业务限定 * /api/index/derived/parent/{atomicIndexId}/detail */ export namespace listParentsDetail { export class Params { /** atomicIndexId */ atomicIndexId: number; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交 * /api/index/derived/submit/batch */ export namespace batchSubmit { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量更新并提交派生指标 * /api/index/derived/updateAndSubmit */ export namespace updateAndSubmit { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取详情 * /api/index/derived/{id} */ export namespace getDetail { export class Params { /** status */ status?: string; /** id */ id?: number; /** projectId */ projectId: number; } export type Response = defs.DerivedIndexDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新派生指标 * /api/index/derived/{id} */ export namespace putDerivedById { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线 * /api/index/derived/{id}/offline */ export namespace offline { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 提交备注 */ offlineComment: string; /** 派生指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下派生指标 * /api/index/derived/{id}/onlineAndDraft */ export namespace deleteOnlineAndDraft { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 删除备注 */ deleteComment: string; /** 派生指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取相关派生指标 * /api/index/derived/{id}/similar */ export namespace listSimilarWith { export class Params { /** id */ id?: number; /** status */ status?: string; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交 * /api/index/derived/{id}/submit */ export namespace submit { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** lock */ lock?: number; /** 提交备注 */ submitComment: string; /** 派生指标名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验 * /api/index/derived/{id}/validate */ export namespace validate { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验删除 * /api/index/derived/{id}/validateDelete */ export namespace validateDelete { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验下线 * /api/index/derived/{id}/validateOffline */ export namespace validateOffline { export class Params { /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:驯致;前端:会影]DimensionAPI */ export namespace dim { /** * 添加Dimension * @throws Exception code * DIM_PUBLISH_OBJECT_NOT_FOUND: Dimension未找到 * DIM_NOT_FOUND: Dimension未找到 * INTERNAL_ERROR: 系统内部错误 * DIM_TYPE_NOT_SUPPORTED: 待创建的Dimension类型不支持 * DIM_CREATE_SYS_ATTRIBUTE_FAILED: 创建Dimension逻辑表属性失败 * DIM_CREATE_FAILED: Dimension创建失败 * DIM_PK_LOGIC_ILLEGAL: 主键计算逻辑验证失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败 * @p1-test * projectId: 项目不存在的id /null * user: 当前用户没有创建Dimension的权限 * dimAddBO.addType: 需要创建的Dimension类型不支持 * dimAddBO.baseDimension.dimensionPkCn: Dimension的中文名有格式要求,10个文字以内,允许中文数字字母及下划线; 中文名不可和已有Dimension重复 * dimAddBO.baseDimension.dimensionPk: Dimension的英文名有格式要求, 字母数字及下划线,20个字符; 英文名不可和已有Dimension重复 * dimAddBO.baseDimension.dimensionPkLogic: Dimension主键计算逻辑有误, 请求one-service会校验失败 * dimAddBO.baseDimension.parentDimension: 父Dimension属于当前项目、Dimension类型为普通Dimension、非子Dimension、发布状态为已发布 * @p2-test * DIM_PUBLISH_OBJECT_NOT_FOUND: 需要发布的Dimension未找到 * DIM_NOT_FOUND: Dimension未找到, 查询数据库失败 * INTERNAL_ERROR: 待创建的Dimension信息校验失败, 例如: 中文名和英文名不合格, 父Dimension未找到, 依赖检查失败 * DIM_TYPE_NOT_SUPPORTED: 待创建的Dimension类型不支持 * DIM_CREATE_SYS_ATTRIBUTE_FAILED: 创建Dimension逻辑表属性失败 * DIM_CREATE_FAILED: Dimension创建失败 * DIM_PK_LOGIC_ILLEGAL: 主键计算逻辑验证失败, 请求one-service校验失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败, 请求智能黑盒服务失败 * /api/dim */ export namespace create { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 添加Dimension * @throws Exception code * DIM_PUBLISH_OBJECT_NOT_FOUND: Dimension未找到 * DIM_NOT_FOUND: Dimension未找到 * INTERNAL_ERROR: 系统内部错误 * DIM_TYPE_NOT_SUPPORTED: 待创建的Dimension类型不支持 * DIM_CREATE_SYS_ATTRIBUTE_FAILED: 创建Dimension逻辑表属性失败 * DIM_CREATE_FAILED: Dimension创建失败 * DIM_PK_LOGIC_ILLEGAL: 主键计算逻辑验证失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败 * @p1-test * projectId: 项目不存在的id /null * user: 当前用户没有创建Dimension的权限 * dimAddBO.addType: 需要创建的Dimension类型不支持 * dimAddBO.baseDimension.dimensionPkCn: Dimension的中文名有格式要求,10个文字以内,允许中文数字字母及下划线; 中文名不可和已有Dimension重复 * dimAddBO.baseDimension.dimensionPk: Dimension的英文名有格式要求, 字母数字及下划线,20个字符; 英文名不可和已有Dimension重复 * dimAddBO.baseDimension.dimensionPkLogic: Dimension主键计算逻辑有误, 请求one-service会校验失败 * dimAddBO.baseDimension.parentDimension: 父Dimension属于当前项目、Dimension类型为普通Dimension、非子Dimension、发布状态为已发布 * @p2-test * DIM_PUBLISH_OBJECT_NOT_FOUND: 需要发布的Dimension未找到 * DIM_NOT_FOUND: Dimension未找到, 查询数据库失败 * INTERNAL_ERROR: 待创建的Dimension信息校验失败, 例如: 中文名和英文名不合格, 父Dimension未找到, 依赖检查失败 * DIM_TYPE_NOT_SUPPORTED: 待创建的Dimension类型不支持 * DIM_CREATE_SYS_ATTRIBUTE_FAILED: 创建Dimension逻辑表属性失败 * DIM_CREATE_FAILED: Dimension创建失败 * DIM_PK_LOGIC_ILLEGAL: 主键计算逻辑验证失败, 请求one-service校验失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败, 请求智能黑盒服务失败 * /api/dim/ */ export namespace postDim { export class Params { /** projectId */ projectId?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据域下Dimension个数 * /api/dim/countRelatedLogicTableByDomain */ export namespace countRelatedLogicTableByDomain { export class Params { /** 数据域id */ domainId?: number; /** projectId */ projectId?: number; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取层级Dimension模板预览列表 * /api/dim/level/preview/list */ export namespace listLevelPreviews { export class Params { /** 主Dimension名,用户填写 */ dimName?: string; /** 主Dimension中文名,用户填写 */ dimCn?: string; /** projectId */ projectId?: number; /** Dimensionlist */ dimensionList?: Array; /** 项目名称 */ projectName?: string; /** 源表名 */ sourceTableName?: string; /** 源表主键 */ sourcePk?: string; /** 源表主键中文名 */ sourcePkCn?: string; /** 源表主键数据类型 */ sourcePkDataType?: string; /** 中间表名 */ midTableName?: string; /** 父层字段 */ parentFieldName?: string; /** 子层字段 */ childFieldName?: string; /** 名称字段 */ namingFieldName?: string; /** 名称字段中文名 */ namingFieldCn?: string; /** 层级定义 */ maxLevel?: number; /** 层级根节点定义 */ rootCondition?: string; /** 时间分区逻辑 */ filterCondition?: string; /** 生成叶子Dimension */ hasLeaf?: boolean; /** 主键ID */ id?: number; /** 名称 */ name?: string; /** 显示名 */ cn?: string; /** 描述信息 */ des?: string; /** 创建时间 */ gmtCreate?: string; /** 修改时间 */ gmtModified?: string; /** 最后一次修改人 */ lastModifier?: string; /** 责任人 */ owner?: string; /** 状态 */ status?: number; /** 租户Id */ tenantId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取层级Dimension主Dimension详情 * @p1-test * levelConfigId: 指定id的维层级Dimension不存在/ null * /api/dim/level/{levelConfigId} */ export namespace getMainLevel { export class Params { /** status */ status?: string; /** projectId */ projectId?: number; /** 层级Dimension配置ID */ levelConfigId?: number; } export type Response = defs.DimDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线层级Dimension * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * DIM_NOT_FOUND: Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 /null * user: 当前用户没有更新Dimension的权限 * @p2-test * INTERNAL_ERROR: Dimension依赖校验失败, 例如: Dimension表属性以被依赖引用 * DIM_NOT_FOUND: Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, 操作数据库失败 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败, 请求智能黑盒失败 * /api/dim/level/{levelConfigId}/offline */ export namespace offlineLevel { export class Params { /** levelConfigId */ levelConfigId?: number; /** projectId */ projectId?: number; /** 下线备注 */ offlineComment: string; /** DimensionID */ dimId: number; /** lock */ lock: number; /** 主表DimensionID */ mainTableId: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下层级Dimension * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 / 该id的Dimension已被依赖引用/ null * user: 当前用户没有删除Dimension的权限 * @p2-test * INTERNAL_ERROR: 需要删除的Dimension被依赖, Dimension逻辑表的属性被依赖引用 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, 操作数据库失败 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败, 请求智能黑盒失败 * /api/dim/level/{levelConfigId}/onlineAndDraft */ export namespace deleteOnlineAndDraftLevel { export class Params { /** projectId */ projectId?: number; /** levelConfigId */ levelConfigId?: number; /** 删除备注 */ deleteComment: string; /** lock */ lock: number; /** 主表DimensionID */ mainTableId: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除层级Dimension校验 * /api/dim/level/{levelConfigId}/validateDeleteLevel */ export namespace validateDeleteLevel { export class Params { /** projectId */ projectId?: number; /** levelConfigId */ levelConfigId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线层级Dimension校验 * /api/dim/level/{levelConfigId}/validateOfflineLevel */ export namespace validateOfflineLevel { export class Params { /** projectId */ projectId?: number; /** levelConfigId */ levelConfigId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension列表 * @p1-test * user: 当前用户的租户id和查询项目对应的租户id不一致 * /api/dim/list */ export namespace listDims { export class Params { /** projectId */ projectId?: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的数据域以及所属的Dimension中英文名称 以及Dimension的主键 主键计算逻辑 * /api/dim/list/byDataDomain */ export namespace listByBizUnitGroupByDataDomain { export class Params { /** 项目id */ projectId?: number; /** DimensionId */ dimId?: number; /** 业务板块id */ bizUnitId?: number; /** 是否过滤未发布Dimension逻辑表的Dimension */ excludeTableUnpublished?: boolean; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下的Dimension筛选器 * @p1-test * bizUnitId: 业务单元不存在/ null * /api/dim/list/filter */ export namespace listFilter { export class Params { /** bizUnitId */ bizUnitId?: number; /** 项目Id */ projectId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊搜索有Dimension逻辑表的Dimension * /api/dim/list/fuzzy */ export namespace fuzzyListOnlineIncludeDimtable { export class Params { /** 业务板块ID */ bizUnitId: number; /** 项目Id */ projectId: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊搜索可继承的Dimension * /api/dim/list/inheritable/fuzzy */ export namespace fuzzyListInheritable { export class Params { /** 业务板块id */ bizUnitId?: number; /** 搜索Dimensionid */ dimId: number; /** 数据域id */ dataDomainId: number; /** ownerIdList */ ownerIdList?: Array; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 主键逻辑语法是否正确 * @throws Exception code * DIM_PK_LOGIC_ILLEGAL: Dimension主键的计算逻辑有误 * @p1-test * pkLogic: 主键计算逻辑有误/ null * @p2-test * DIM_PK_LOGIC_ILLEGAL: Dimension主键的计算逻辑有误, 请求one-service校验主键逻辑失败 * /api/dim/pk/isValid */ export namespace getPkLogicIsValid { export class Params { /** pkLogic */ pkLogic?: string; /** projectId */ projectId?: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取sql校验结果 * /api/dim/sqlValidateError */ export namespace getSqlValidateError { export class Params { /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取Dimension的子Dimension信息 * /api/dim/{dimId}/children */ export namespace listChildDims { export class Params { /** dimId */ dimId: number; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取sql校验结果 * /api/dim/{dimId}/sqlValidateError */ export namespace getDimByDimIdSqlValidateError { export class Params { /** projectId */ projectId?: number; /** dimId */ dimId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交Dimension校验 * /api/dim/{dimId}/validate */ export namespace validate { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除Dimension校验 * /api/dim/{dimId}/validateDelete */ export namespace validateDelete { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线Dimension校验 * /api/dim/{dimId}/validateOffline */ export namespace validateOffline { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取Dimension * @p1-test * id: 指定id的Dimension不存在/ null * /api/dim/{id} */ export namespace get { export class Params { /** status */ status?: string; /** projectId */ projectId?: number; /** id */ id?: number; } export type Response = defs.DimDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 编辑Dimension * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * DIM_NOT_FOUND: Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension更新失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 /null * user: 当前用户没有更新Dimension的权限 * @p2-test * INTERNAL_ERROR: Dimension更新校验失败, 例如: Dimension中英文名和已有Dimension重复, Dimension表属性被依赖引用, 父Dimension未找到 * DIM_NOT_FOUND: Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, 操作数据库失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension更新失败, 请求智能黑盒失败 * /api/dim/{id} */ export namespace update { export class Params { /** id */ id: number; /** projectId */ projectId: number; /** lock */ lock: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线 * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * DIM_NOT_FOUND: Dimension未找到 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 /null * user: 当前用户没有更新Dimension的权限 * @p2-test * INTERNAL_ERROR: Dimension依赖校验失败, 例如: Dimension表属性以被依赖引用 * DIM_NOT_FOUND: Dimension未找到 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败, 请求智能黑盒失败 * /api/dim/{id}/offline */ export namespace offline { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 下线备注 */ offlineComment: string; /** lock */ lock: number; /** Dimension名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下Dimension * @throws Exception code * INTERNAL_ERROR: 系统内部错误 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 / 该id的Dimension已被依赖引用/ null * user: 当前用户没有删除Dimension的权限 * @p2-test * INTERNAL_ERROR: 需要删除的Dimension被依赖, Dimension逻辑表的属性被依赖引用 * DIM_OFFLINE_SERVICE_ERROR: Dimension下线失败, 请求智能黑盒失败 * /api/dim/{id}/onlineAndDraft */ export namespace deleteOnlineAndDraft { export class Params { /** id */ id?: number; /** projectId */ projectId?: number; /** 删除备注 */ deleteComment: string; /** Dimension名 */ name: string; /** lock */ lock: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交 * @throws Exception code * DIM_PK_LOGIC_ILLEGAL: Dimension主键的计算逻辑有误 * DIM_PUBLISH_OBJECT_NOT_FOUND: 需要发布的Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败 * @p1-test * projectId: 项目不存在的id /null * id: Dimensionid不存在 /null * user: 当前用户没有更新Dimension的权限 * @p2-test * DIM_PK_LOGIC_ILLEGAL: Dimension主键的计算逻辑有误, 请求one-service校验主键逻辑失败 * DIM_PUBLISH_OBJECT_NOT_FOUND: 需要发布的Dimension未找到 * DIM_UPDATE_STATUS_FAILED: 更新Dimension状态失败, 操作数据库失败 * DIM_PUBLISH_SERVICE_ERROR: Dimension发布失败, 请求智能黑盒失败 * /api/dim/{id}/submit */ export namespace submit { export class Params { /** id */ id?: number; /** projectId */ projectId: number; /** lock */ lock: number; /** Dimension名 */ name: string; /** 提交备注 */ submitComment: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:莫萱;前端:五灵]-DIP实体图谱相关API */ export namespace dimGraph { /** * 获取Dimension相关的表单浮层 * /api/dip/graph/dimGraph/formLayer/{dimId} */ export namespace getTreeNodeBO { export class Params { /** 点击的Dimensionid */ dimId: number; /** 业务板块id */ bizUnitId: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取某个业务板块下的Dimension图谱 * /api/dip/graph/dimGraph/{bizUnitId} */ export namespace getDimGraphBO { export class Params { /** 业务板块的id */ bizUnitId: number; } export type Response = defs.DimGraphBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:翠翠;前端:双扬]Dimension逻辑表相关API */ export namespace dimTable { /** * 下线层级Dimension逻辑表 * /api/model/dimTable/level/{levelConfigId}/offline */ export namespace offlineLevel { export class Params { /** levelConfigId */ levelConfigId?: number; /** lock */ lock: number; /** projectId */ projectId?: number; /** dimId */ dimId?: number; /** 下线备注 */ offlineComment: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下层级Dimension表 * /api/model/dimTable/level/{levelConfigId}/onlineAndDraft */ export namespace deleteOnlineAndDraftLevel { export class Params { /** projectId */ projectId?: number; /** lock */ lock: number; /** levelConfigId */ levelConfigId?: number; /** 删除备注 */ deleteComment: string; /** dimId */ dimId?: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除层级Dimension表校验 * /api/model/dimTable/level/{levelConfigId}/validateDeleteLevel */ export namespace validateDeleteLevel { export class Params { /** projectId */ projectId?: number; /** levelConfigId */ levelConfigId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线层级Dimension表校验 * /api/model/dimTable/level/{levelConfigId}/validateOfflineLevel */ export namespace validateOfflineLevel { export class Params { /** projectId */ projectId?: number; /** levelConfigId */ levelConfigId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-Dimension逻辑表-版本信息详情 * /api/model/dimTable/version/detail */ export namespace getTableVersionDetail { export class Params { /** 项目id */ projectId: number; /** 版本id */ versionId: number; } export type Response = defs.DimTableDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表详情-主Dimension信息等 * /api/model/dimTable/{dimId} */ export namespace getDetail { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.DimDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-Dimension逻辑表编辑-查看线下字段计算逻辑 * /api/model/dimTable/{dimId}/attributes/offline */ export namespace getAttributesFromOffline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-Dimension逻辑表编辑-查看线上字段计算逻辑 * /api/model/dimTable/{dimId}/attributes/online */ export namespace getAttributesFromOnline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取配置信息 * /api/model/dimTable/{dimId}/config */ export namespace getConfig { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.LogicTableConfigDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-配置信息 * /api/model/dimTable/{dimId}/config */ export namespace config { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-所有字段详情 * /api/model/dimTable/{dimId}/field */ export namespace getByDimIdField { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 关键词 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-新增 * /api/model/dimTable/{dimId}/field */ export namespace create { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-编辑 * /api/model/dimTable/{dimId}/field */ export namespace edit { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-删除 * /api/model/dimTable/{dimId}/field */ export namespace remove { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock?: number; /** 字段英文名 */ attributeId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表编辑-批量删除 * /api/model/dimTable/{dimId}/field/batch */ export namespace deleteByDimIdFieldBatch { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; /** 字段id列表 */ attributeIds: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表所有字段 * /api/model/dimTable/{dimId}/field/list */ export namespace getAttributes { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension逻辑表-获取有权限的物理表 * /api/model/dimTable/{dimId}/getTable */ export namespace getTable { export class Params { /** 项目id */ projectId: number; /** 搜索词 */ keyword: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取物理表字段 * /api/model/dimTable/{dimId}/getTableAttribute */ export namespace getTableAttribute { export class Params { /** 项目id */ projectId: number; /** 物理表名称 */ logicTableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-查看是否有线上版本 * /api/model/dimTable/{dimId}/hasOnline */ export namespace hasOnline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表编辑-批量修改逻辑 * /api/model/dimTable/{dimId}/logic */ export namespace putByDimIdLogic { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表编辑-获取批量修改逻辑 * /api/model/dimTable/{dimId}/logic/group */ export namespace getLogicList { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-提交计算逻辑 * /api/model/dimTable/{dimId}/logic/submit */ export namespace updateAttributeLogic { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 字段id */ attributeId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取星型模型 * /api/model/dimTable/{dimId}/model */ export namespace getModel { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.ModelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取单个模型 * /api/model/dimTable/{dimId}/model/single */ export namespace getSingleModel { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.SingleModelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线 * /api/model/dimTable/{dimId}/offline */ export namespace offline { export class Params { /** dimId */ dimId?: number; /** lock */ lock: number; /** projectId */ projectId?: number; /** 下线备注 */ offlineComment: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-Dimension逻辑表编辑-查看开发中字段并合并计算逻辑并排序 * /api/model/dimTable/{dimId}/offline/logic/group/order */ export namespace getLogicListFromOffline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 排序字段名:attribute_name,gmt_create,gmt_modified */ orderColumn: string; /** 排序方向:asc,desc */ orderDirection: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension逻辑表-获取表已发布字段 * /api/model/dimTable/{dimId}/online/attrs */ export namespace getOnlineAttrs { export class Params { /** dimId */ dimId?: number; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-Dimension逻辑表编辑-查看线上字段并合并计算逻辑并排序 * /api/model/dimTable/{dimId}/online/logic/group/order */ export namespace getLogicListFromOnline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 排序字段名:attribute_name,gmt_create,gmt_modified */ orderColumn: string; /** 排序方向:asc,desc */ orderDirection: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除线上和线下Dimension表 * /api/model/dimTable/{dimId}/onlineAndDraft */ export namespace deleteOnlineAndDraft { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; /** 删除备注 */ deleteComment: string; /** lock */ lock: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension逻辑表-推荐分区字段 * /api/model/dimTable/{dimId}/part/fields */ export namespace partitionFields { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension逻辑表-获取已选分区字段 * /api/model/dimTable/{dimId}/part/selected/fields */ export namespace selectedPartFields { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取该引用Dimension已有的关联关系角色名称 * /api/model/dimTable/{dimId}/refRelation */ export namespace getRelation { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 关联Dimensionid */ refDimId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取关联关系 * /api/model/dimTable/{dimId}/relation */ export namespace getByDimIdRelation { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 字段id */ attributeId: number; /** 关联Dimensionid */ refDimId?: number; } export type Response = defs.DimRelationDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-新增关联关系 * /api/model/dimTable/{dimId}/relation */ export namespace createRelation { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-编辑关联关系 * /api/model/dimTable/{dimId}/relation */ export namespace editRelation { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-获取Dimension关联的字段信息 * /api/model/dimTable/{dimId}/relation/refAttribute */ export namespace getRefAttribute { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** 关联Dimensionid */ refDimId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取sql校验结果 * /api/model/dimTable/{dimId}/sqlValidateError */ export namespace getSqlValidateError { export class Params { /** projectId */ projectId?: number; /** dimId */ dimId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-提交模型 * /api/model/dimTable/{dimId}/submit */ export namespace submit { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; /** lock */ lock: number; /** 提交备注 */ submitComment: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线下计算逻辑 * /api/model/dimTable/{dimId}/table/logic/offline */ export namespace getTableLogicFromOffline { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.TableLogicVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线上计算逻辑 * /api/model/dimTable/{dimId}/table/logic/online */ export namespace getTableLogicFromOnLine { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = defs.TableLogicVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 关联Dimension设为属性字段 * /api/model/dimTable/{dimId}/toAttrs */ export namespace toAttrs { export class Params { /** 项目id */ projectId?: number; /** dimId */ dimId: number; /** 属性id */ attributeId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * Dimension表-校验 * /api/model/dimTable/{dimId}/validate */ export namespace validate { export class Params { /** 项目id */ projectId: number; /** dimId */ dimId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除Dimension表校验 * /api/model/dimTable/{dimId}/validateDelete */ export namespace validateDelete { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线Dimension表校验 * /api/model/dimTable/{dimId}/validateOffline */ export namespace validateOffline { export class Params { /** dimId */ dimId?: number; /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-Dimension逻辑表-版本信息详情-按照版本号和modelId查询 * /api/model/dimTable/{modelId}/detail */ export namespace getByModelIdDetail { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 版本号 */ version: string; } export type Response = defs.DimTableDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-Dimension逻辑表-版本信息列表 * /api/model/dimTable/{modelId}/version */ export namespace getTableVersions { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:载天] DIP资源初始化相关API */ export namespace dipInit { /** * 初始化资源文件和任务 * /api/dip/init */ export namespace init { export class Params { /** 项目名称 */ projectName: string; /** 数据源类型 */ tenantComputeTypeEnum: | 'MAX_COMPUTE' | 'HADOOP' | 'E_MAP_REDUCE' | 'FLINK'; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查数据源是否已初始化 * /api/dip/init/datasource */ export namespace checkDatasourceExist { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取初始化过程和日志 * /api/dip/init/log */ export namespace getResourceInitLog { export class Params { /** 项目名称 */ projectName: string; } export type Response = defs.DipInitLogBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查项目是否已初始化 * /api/dip/init/project */ export namespace checkProjectExist { export class Params { /** 项目名称 */ projectName: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除某个项目的所有资源 * /api/dip/init/projectName */ export namespace deleteProjectResource { export class Params { /** 项目名称 */ projectName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:程素、莫萱;前端:北渔] DIP数据地图搜索相关API */ export namespace dipSearch { /** * 资产地图-全部筛选列表 * /api/dip/filter/filter/list */ export namespace listFilterFilter { export class Params { /** 筛选对象 */ filter: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 资产地图筛选结果 * /api/dip/filter/list */ export namespace getFilterResultList { export class Params { /** 筛选对象 */ filter: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 首页-全部筛选列表 * /api/dip/index/filter/list */ export namespace listIndexFilter { export class Params { /** 筛选对象 */ filter: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索结果页-全部筛选列表 * /api/dip/search/filter/list */ export namespace listSearchFilter { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 筛选对象 */ filter: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取全局搜索历史列表TOP * /api/dip/search/global/history/list */ export namespace getSearchHistoryTopList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索结果 * /api/dip/search/list */ export namespace getSearchResultList { export class Params { /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 排序字段,不传则为综合排序,创建时间排序则传gmtCreate,热度则传hot */ orderBy?: string; /** 筛选对象 */ filter: string; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索结果 * /api/dip/search/list */ export namespace getSearchResultListByPostMethod { export class Params { /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 排序字段,不传则为综合排序,创建时间排序则传gmtCreate,热度则传hot */ orderBy?: string; /** env */ env: 'DEV' | 'PROD'; } export type Response = defs.PagedData; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取关联搜索结果 * /api/dip/search/related/list */ export namespace getRelatedSearchResultList { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 业务板块Id */ bizUnitId?: number; } export type Response = defs.RelatedSearchResultBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除用户搜索历史 * /api/dip/search/user/history */ export namespace removeUserSearchHistory { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取用户搜索历史列表TOP * /api/dip/search/user/history/list */ export namespace getUserSearchHistoryTopList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:林峰] 手动同步元数据 */ export namespace dipSync { /** * 刷新表元数据 * /api/dip/flush/tables */ export namespace flushTables { export class Params { /** projectName */ projectName: string; /** tableName */ tableName: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行,码兵;前端:五灵,载天]-导航栏目录树API */ export namespace directoryTree { /** * 代码管理目录树 * /api/tree/codeManage */ export namespace getCodeManageTree { export class Params { /** projectId */ projectId: number; /** directory */ directory?: string; /** directoryId */ directoryId?: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 同步任务目录树 * /api/tree/dataX */ export namespace getDataxTree { export class Params { /** projectId */ projectId: number; /** directory */ directory?: string; /** directoryId */ directoryId?: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据管理/规范定义 * /api/tree/dm/definition */ export namespace getDefinitionTree { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据管理/规范定义 - 子目录 * /api/tree/dm/definition/{type} */ export namespace getDefinitionSubTree { export class Params { /** projectId */ projectId: number; /** type */ type: string; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据管理/逻辑表 * /api/tree/dm/logical */ export namespace getLogicalTableTree { export class Params { /** projectId */ projectId: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据管理/逻辑表 - 子目录 * /api/tree/dm/logical/{type} */ export namespace getBizTableSubTree { export class Params { /** projectId */ projectId: number; /** type */ type: string; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据管理/物理表 * /api/tree/dm/physical */ export namespace getPhysicalTableTree { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 个人菜单目录树 * /api/tree/personalMenu */ export namespace getPersonalMenuTree { export class Params { /** projectId */ projectId: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 资源管理目录树 * /api/tree/resources */ export namespace getResourcesTree { export class Params { /** projectId */ projectId: number; /** directory */ directory?: string; /** directoryId */ directoryId?: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/tree/search */ export namespace search { export class Params { /** projectId */ projectId: number; /** typeCodes */ typeCodes: string; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索菜单树 * /api/tree/searchTree */ export namespace searchTree { export class Params { /** projectId */ projectId: number; /** typeCodes */ typeCodes: string; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 临时代码目录树 * /api/tree/tempCode */ export namespace getTempCodeTree { export class Params { /** projectId */ projectId: number; /** directory */ directory?: string; /** directoryId */ directoryId?: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均;前端:晟朗]文档相关 */ export namespace doc { /** * 获取所有源文档 * /api/doc/ */ export namespace getAllSourceDoc { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 创建文档 * /api/doc/ */ export namespace addDoc { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取所有源文档 * /api/doc/link */ export namespace getAllDocLinks { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除链接 * /api/doc/link/{linkIndex} */ export namespace deleteDocLink { export class Params { /** 链接序号 */ linkIndex: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据类型获取最新的文档内容 * /api/doc/type/{type} */ export namespace getLastestVersionDoc { export class Params { /** 文档类型: OPERATION_INSTRUCTION / LEGAL_AGREEMENT */ type: string; } export type Response = defs.DocBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 最新的文档用户是否已同意 * /api/doc/type/{type}/accept */ export namespace hasAcceptedLastestVersionDocAgreement { export class Params { /** 文档类型: OPERATION_INSTRUCTION / LEGAL_AGREEMENT */ type: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取文档 * /api/doc/{docId} */ export namespace getDoc { export class Params { /** 文档ID */ docId: number; /** 文档版本 */ docVersion?: number; } export type Response = defs.DocBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除文档 * /api/doc/{docId} */ export namespace deleteDoc { export class Params { /** 文档ID */ docId: number; /** 文档版本 */ docVersion?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 同意协议 * /api/doc/{docId}/accept */ export namespace acceptDocAgreement { export class Params { /** 文档ID */ docId: number; /** 文档版本 */ docVersion?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:琳峰,北渔]数据域相关API */ export namespace domain { /** * 新建一个数据域 * @throws Exception code * DATA_DOMAIN_NAME_ILLEGAL:数据域英文名非法 * DATA_DOMAIN_CN_ILLEGAL:数据域中文名非法 * DATA_DOMAIN_DES_ILLEGAL:数据域描述非法 * DATA_DOMAIN_CN_DUPLICATED:数据域中文名重复 * DATA_DOMAIN_NAME_DUPLICATED:数据域英文名重复 * @p1-test * DATA_DOMAIN_NAME_ILLEGAL:数据域英文名长度超过64个字符 * DATA_DOMAIN_CN_ILLEGAL:数据域中文名长度超过64个字符,如ID=0 * DATA_DOMAIN_DES_ILLEGAL:数据域描述长度超过128个字符,如ID=0 * @p2-test * DATA_DOMAIN_CN_DUPLICATED:配置一个已经存在的中文名 * DATA_DOMAIN_NAME_DUPLICATED: 配置一个已经存在的英文名 * /api/bizUnit/{bizUnitId}/domain */ export namespace createDomain { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取一个业务板块下的所有数据域 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/bizUnit/{bizUnitId}/domain/allBizUnitsDataDomains */ export namespace getAllDomainListByBizUnitId { export class Params { /** 业务板块Id */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取一个业务板块下的所有数据域 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/bizUnit/{bizUnitId}/domain/allList */ export namespace getAllDomainList { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索一个业务板块下的数据域 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/bizUnit/{bizUnitId}/domain/search */ export namespace search { export class Params { /** 业务板块Id */ bizUnitId: number; /** 关键词 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新一个数据域 * @throws Exception code * DATA_DOMAIN_NAME_ILLEGAL:数据域英文名非法 * DATA_DOMAIN_CN_ILLEGAL:数据域中文名非法 * DATA_DOMAIN_DES_ILLEGAL:数据域描述非法 * DATA_DOMAIN_CN_DUPLICATED:数据域中文名重复 * DATA_DOMAIN_NAME_DUPLICATED:数据域英文名重复 * @p1-test * DATA_DOMAIN_NAME_ILLEGAL:数据域英文名长度超过64个字符 * DATA_DOMAIN_CN_ILLEGAL:数据域中文名长度超过64个字符,如ID=0 * DATA_DOMAIN_DES_ILLEGAL:数据域描述长度超过128个字符,如ID=0 * @p2-test * DATA_DOMAIN_CN_DUPLICATED:配置一个已经存在的中文名 * DATA_DOMAIN_NAME_DUPLICATED: 配置一个已经存在的英文名 * /api/bizUnit/{bizUnitId}/domain/{dataDomainId} */ export namespace updateDomain { export class Params { /** bizUnitId */ bizUnitId: number; /** dataDomainId */ dataDomainId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除一个数据域 * @throws Exception code * DATA_DOMAIN_NOT_FOUND:数据域英文名非法 * INTERNAL_ERROR:数据域中文名非法 * @p1-test * 无 * @p2-test * DATA_DOMAIN_NOT_FOUND:删除一个不存在的数据域 * INTERNAL_ERROR: 删除一个有下游依赖的数据域 * /api/bizUnit/{bizUnitId}/domain/{dataDomainId} */ export namespace deleteDomain { export class Params { /** bizUnitId */ bizUnitId: number; /** dataDomainId */ dataDomainId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [扶犁]安全-内部接口 */ export namespace encrypt { /** * kms加密 * /api/security/kms/encrypt */ export namespace kmsEncrypt { export class Params { /** text */ text: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 本地加密 * /api/security/local/encrypt */ export namespace localEncrypt { export class Params { /** text */ text: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:翠翠;前端:双扬]事实逻辑表相关API */ export namespace factTable { /** * 事实逻辑表-新增 * /api/model/factTable/ */ export namespace create { export class Params { /** 项目id */ projectId: number; /** 业务板块id */ bizUnitId: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-校验主表筛选条件 * /api/model/factTable/checkTableCondition */ export namespace checkTableCondition { export class Params { /** 项目id */ projectId: number; /** 表id,表可能是物理表(string)或者是逻辑表(long)所以统一处理为string */ tableId?: string; /** 表类型 */ tableType?: number; /** 表名称 */ tableName?: string; /** 最近更新时间 */ lastModifierTime?: number; /** 描述 */ desc?: string; /** 主表业务限定 */ bizMainTableCondition: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-校验数据源ak权限 * /api/model/factTable/ds */ export namespace dsPermission { export class Params { /** 项目id */ projectId?: number; /** 表id,表可能是物理表(string)或者是逻辑表(long)所以统一处理为string */ tableId?: string; /** 表类型 */ tableType?: number; /** 表名称 */ tableName?: string; /** 最近更新时间 */ lastModifierTime?: number; /** 描述 */ desc?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取物理表字段 * /api/model/factTable/getTableAttribute */ export namespace getTableAttribute { export class Params { /** 项目id */ projectId: number; /** 物理表项目id */ physicalTableProjectId: number; /** 物理表名称 */ logicTableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-来源主表 * /api/model/factTable/sourceTables */ export namespace sourceTables { export class Params { /** 项目id */ projectId?: number; /** 业务板块id */ bizUnitId?: number; /** keyword */ '检索字段'?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取来源主表字段 * /api/model/factTable/sourceTables/attrs */ export namespace sourceTableAttrs { export class Params { /** 项目id */ projectId?: number; /** 业务板块id */ bizUnitId?: number; /** 表类型 */ tableType?: number; /** 表名 */ tableName?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-有无来源主表权限 * /api/model/factTable/table/permssion */ export namespace hasPermission { export class Params { /** 表id,表可能是物理表(string)或者是逻辑表(long)所以统一处理为string */ tableId?: string; /** 表类型 */ tableType?: number; /** 表名称 */ tableName?: string; /** 最近更新时间 */ lastModifierTime?: number; /** 项目id */ projectId?: number; /** 描述 */ desc?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-事实逻辑表-版本信息详情 * /api/model/factTable/version/detail */ export namespace getTableVersionDetail { export class Params { /** 项目id */ projectId: number; /** 版本id */ versionId: number; } export type Response = defs.FactTableDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-详情 * /api/model/factTable/{modelId} */ export namespace getDetail { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.FactTableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-编辑 * /api/model/factTable/{modelId} */ export namespace edit { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 业务板块id */ bizUnitId?: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-删除 * /api/model/factTable/{modelId} */ export namespace remove { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** lock */ lock?: number; /** 删除备注 */ deleteComment: string; /** 事实表名字 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看开发中字段 * /api/model/factTable/{modelId}/attributes/offline */ export namespace getAttributesFromOffline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线上字段 * /api/model/factTable/{modelId}/attributes/online */ export namespace getAttributesFromOnline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-修改主表 * /api/model/factTable/{modelId}/bizMainTable */ export namespace putByModelIdBizMainTable { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** bizMainTable */ bizMainTable: string; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取配置信息 * /api/model/factTable/{modelId}/config */ export namespace config { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.LogicTableConfigDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-配置信息 * /api/model/factTable/{modelId}/config */ export namespace putByModelIdConfig { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** lock */ lock: number; /** 事实表名字 */ name: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-事实逻辑表-版本信息详情-按照版本号和modelId查询 * /api/model/factTable/{modelId}/detail */ export namespace getByModelIdDetail { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 版本号 */ version: string; } export type Response = defs.FactTableDetailDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取所有的字段 * /api/model/factTable/{modelId}/field */ export namespace listAttributes { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 关键词 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-编辑字段 * /api/model/factTable/{modelId}/field */ export namespace putByModelIdField { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表新增-度量或者事实属性 * /api/model/factTable/{modelId}/field/ */ export namespace createField { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-一键清空没有依赖的属性 * /api/model/factTable/{modelId}/field/attribute/ */ export namespace deleteAttributes { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-批量删除字段 * /api/model/factTable/{modelId}/field/batch */ export namespace deleteByModelIdFieldBatch { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; /** 字段id列表 */ attributeIds?: string; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取所有的字段 * /api/model/factTable/{modelId}/field/list */ export namespace listAttributePlain { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表新增-引入Dimension * /api/model/factTable/{modelId}/field/ref */ export namespace createRef { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-查看是否有线上版本 * /api/model/factTable/{modelId}/hasOnline */ export namespace hasOnline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表编辑-批量修改逻辑 * /api/model/factTable/{modelId}/logic */ export namespace putByModelIdLogic { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** lock */ lock: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表编辑-获取批量修改逻辑 * /api/model/factTable/{modelId}/logic/group */ export namespace getLogicList { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实表-提交计算逻辑 * /api/model/factTable/{modelId}/logic/submit */ export namespace submit { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 字段id */ attributeId: number; /** 事实表名字 */ name: string; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-雪花模型 * /api/model/factTable/{modelId}/model */ export namespace getModel { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.ModelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取单个模型 * /api/model/factTable/{modelId}/model/single */ export namespace getSingleModel { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.SingleModelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-下线 * /api/model/factTable/{modelId}/offline */ export namespace offline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** lock */ lock: number; /** 下线备注 */ offlineComment: string; /** 事实逻辑表名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看开发中字段并合并计算逻辑并排序 * /api/model/factTable/{modelId}/offline/logic/group/order */ export namespace getLogicListFromOffline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 排序字段名,可用值:attribute_name,gmt_create,gmt_modified */ orderColumn: string; /** 排序方向,可用值:asc,desc */ orderDirection: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取表已发布字段 * /api/model/factTable/{modelId}/online/attrs */ export namespace getOnlineAttrs { export class Params { /** modelId */ modelId?: number; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线上字段并合并计算逻辑并排序 * /api/model/factTable/{modelId}/online/logic/group/order */ export namespace getLogicListFromOnline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 排序字段名,可用值:attribute_name,gmt_create,gmt_modified */ orderColumn: string; /** 排序方向,可用值:asc,desc */ orderDirection: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-推荐分区字段 * /api/model/factTable/{modelId}/part/fields */ export namespace partitionFields { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取已选分区字段 * /api/model/factTable/{modelId}/part/selected/fields */ export namespace selectdPartField { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取该引用Dimension已有的关联关系角色名称 * /api/model/factTable/{modelId}/refRelation */ export namespace getRefRelation { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 关联Dimensionid */ refDimId: number; /** 事实表名字 */ name: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取关联关系 * /api/model/factTable/{modelId}/relation */ export namespace getRelation { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; /** attributeId */ attributeId: number; } export type Response = defs.DimRelationDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-新增关联关系 * /api/model/factTable/{modelId}/relation */ export namespace createRelation { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; /** lock */ lock: number; /** 事实表名字 */ name: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-编辑关联关系 * /api/model/factTable/{modelId}/relation */ export namespace editRelation { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-获取Dimension关联的字段信息 * /api/model/factTable/{modelId}/relation/refAttribute */ export namespace getRefAttribute { export class Params { /** 项目id */ projectId?: number; /** modelId */ modelId: number; /** 关联Dimensionid */ refDimId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * getSqlValidateError * /api/model/factTable/{modelId}/sqlValidateError */ export namespace getSqlValidateError { export class Params { /** projectId */ projectId?: number; /** modelId */ modelId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-提交模型 * /api/model/factTable/{modelId}/submit */ export namespace postByModelIdSubmit { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** lock */ lock: number; /** 提交备注 */ submitComment: string; /** 事实逻辑表名 */ name: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线下计算逻辑 * /api/model/factTable/{modelId}/table/logic/offline */ export namespace getTableLogicFromOffline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.TableLogicVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 九宫-事实逻辑表编辑-查看线上计算逻辑 * /api/model/factTable/{modelId}/table/logic/online */ export namespace getTableLogicFromOnLine { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = defs.TableLogicVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-设为事实属性 * /api/model/factTable/{modelId}/toFactAttrs */ export namespace toFactAttrs { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 字段id */ attributeId: number; /** 事实表名字 */ name: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-设为度量 * /api/model/factTable/{modelId}/toMeasure */ export namespace toMeasure { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; /** 事实表名字 */ name: string; /** 字段id */ attributeId: number; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-校验 * /api/model/factTable/{modelId}/validate */ export namespace validate { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-校验删除 * /api/model/factTable/{modelId}/validateDelete */ export namespace validateDelete { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 事实逻辑表-校验下线 * /api/model/factTable/{modelId}/validateOffline */ export namespace validateOffline { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 多轨-事实逻辑表-版本信息列表 * /api/model/factTable/{modelId}/version */ export namespace getTableVersions { export class Params { /** 项目id */ projectId: number; /** modelId */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:琬珺,赵晋茹] */ export namespace factoryLabel { /** * 增加标签 * /api/oneid/factoryLabel */ export namespace create { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量修改标签类目 * /api/oneid/factoryLabel/batchChangeLabelCategory */ export namespace batchChangeLabelCategory { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量修改标签公开状态 * /api/oneid/factoryLabel/batchChangePublicStatus */ export namespace batchChangePublicStatus { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 取消测试运行 * /api/oneid/factoryLabel/cancelExecute */ export namespace cancelExecute { export class Params { /** jobId */ jobId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 取消回刷 * /api/oneid/factoryLabel/cancelRefresh */ export namespace cancelRefresh { export class Params { /** labelId */ labelId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 克隆标签 * /api/oneid/factoryLabel/clone */ export namespace clone { export class Params { /** labelId */ labelId: string; } export type Response = defs.FactoryLabelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 执行日志 * /api/oneid/factoryLabel/executeLog */ export namespace executeLog { export class Params { /** jobId */ jobId: string; } export type Response = defs.FactoryLabelJobDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 测试运行进度 -1 为 任务执行失败 * /api/oneid/factoryLabel/executeProgress */ export namespace executeProgress { export class Params { /** jobId */ jobId: string; } export type Response = defs.ExecuteLabelProgressDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 判断标签依赖的行为是否存在 TRUE-存在;FALSE-不存在 * /api/oneid/factoryLabel/existDependenceBehaviors */ export namespace existDependenceBehaviors { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 判断标签名是否重名 TRUE-重复;FALSE-不重复 * /api/oneid/factoryLabel/existLabelProfile */ export namespace existLabelProfile { export class Params { /** labelId */ labelId?: string; /** displayName */ displayName: string; /** name */ name: string; /** resultTableName */ resultTableName: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签列表筛选器 * /api/oneid/factoryLabel/filters */ export namespace filterVOS { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签 * /api/oneid/factoryLabel/label */ export namespace labelOfId { export class Params { /** labelId */ labelId: string; } export type Response = defs.FactoryLabelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签报告 * /api/oneid/factoryLabel/labelReport */ export namespace labelReport { export class Params { /** labelId */ labelId: string; /** sampleLimit */ sampleLimit: number; } export type Response = defs.LabelReportDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签最近补数据记录 * /api/oneid/factoryLabel/latestRefreshJobs */ export namespace latestRefreshJobsFromLabelId { export class Params { /** labelId */ labelId: string; /** limit */ limit: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签列表 * /api/oneid/factoryLabel/list */ export namespace list { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改物理化配置 * /api/oneid/factoryLabel/physicalConfig */ export namespace changePhysicalConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取工厂标签属性页 * /api/oneid/factoryLabel/property */ export namespace propertyVO { export class Params { /** labelId */ labelId: string; } export type Response = defs.FactoryLabelPropertyDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回刷日志 * /api/oneid/factoryLabel/refreshLog */ export namespace refreshLog { export class Params { /** jobId */ jobId: string; } export type Response = defs.FactoryLabelJobDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 编辑标签 * /api/oneid/factoryLabel/{factoryLabelId} */ export namespace update { export class Params { /** factoryLabelId */ factoryLabelId: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除标签 * /api/oneid/factoryLabel/{factoryLabelId}/delete */ export namespace remove { export class Params { /** labelId */ factoryLabelId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 测试运行标签 * /api/oneid/factoryLabel/{factoryLabelId}/execute */ export namespace executeLabel { export class Params { /** labelId */ factoryLabelId: string; /** lock */ lock: number; } export type Response = defs.ExecutedLabelJobDTO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线标签 * /api/oneid/factoryLabel/{factoryLabelId}/offline */ export namespace offline { export class Params { /** 标签ID */ factoryLabelId: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线并删除标签 * /api/oneid/factoryLabel/{factoryLabelId}/offlineAndDelete */ export namespace offlineAndDelete { export class Params { /** labelId */ factoryLabelId: string; /** submitComment */ submitComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回刷标签 * /api/oneid/factoryLabel/{factoryLabelId}/refresh */ export namespace postFactoryLabelByFactoryLabelIdRefresh { export class Params { /** labeId */ factoryLabelId: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交标签 * /api/oneid/factoryLabel/{factoryLabelId}/submitFactoryLabel */ export namespace submit { export class Params { /** factoryLabelId */ factoryLabelId: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取标签版本详情 * /api/oneid/factoryLabel/{factoryLabelId}/versionDetail */ export namespace factoryLabelVersionDetailVO { export class Params { /** labelId */ factoryLabelId: string; /** version */ version: number; } export type Response = defs.FactoryLabelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [莫萱、程素、白路] 收藏逻辑表/物理表相关API */ export namespace favorModelTable { /** * 收藏逻辑表/物理表的接口 * /api/dip/favor */ export namespace favorTable { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 取消表的接口 * /api/dip/favor */ export namespace unfavorTable { export class Params { /** 表id */ modelId: string; /** 表的类型 */ modelType?: number; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * [程素] 获取用户收藏列表 * /api/dip/favor/list */ export namespace getUserFavorTableList { export class Params { /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均]售卖接口 */ export namespace finance { /** * 初始化一个运维的租户 * /api/finance/newOpsTenant */ export namespace newOpsTenant { export class Params {} export type Response = number; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 初始化一个售卖的租户 * /api/finance/newTenant */ export namespace newTenant { export class Params { /** mainAccountId */ mainAccountId: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 清理一个租户 * /api/finance/tenant/{tenantId} */ export namespace clearTenant { export class Params { /** tenantId */ tenantId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:莫萱,天大;前端:淡苍]调度运维—工作流相关API */ export namespace flow { /** * 创建新的Flow(创建补数据) 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows */ export namespace createFlow { export class Params { /** projectId */ projectId: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据dagrunId获取task列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows/dagrun/{dagrunId}/taskList */ export namespace getTaskListByDagrunId { export class Params { /** projectId */ projectId: number; /** dagrunId */ dagrunId?: string; /** 状态集合,code逗号隔开 */ statusCodes?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例列表及筛选 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows/supplementFlow/list */ export namespace getSupplementFlow { export class Params { /** projectId */ projectId: number; /** 搜索文本 */ searchText?: string; /** 运行日期 */ runDate?: string; /** 每页大小 */ pageSize?: number; /** 页数 */ pageNum?: number; /** 归属范围,逗号隔开userId */ userIds?: string; /** 业务日期 */ bizDates?: string; /** 状态集合,code逗号隔开 */ statusCodes?: string; /** 任务owner */ taskOwnerId?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 中止某个dagrun 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows/{dagrunId}/kill */ export namespace killDagrun { export class Params { /** projectId */ projectId?: number; /** 要中止的dagrunId */ dagrunId?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据flowId获取多个dagrun 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows/{flowId}/dagrunList */ export namespace getDagrun { export class Params { /** projectId */ projectId: number; /** flowId */ flowId?: string; } export type Response = object; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 中止某个flow 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/{projectId}/flows/{flowId}/kill */ export namespace killFlow { export class Params { /** projectId */ projectId?: number; /** 要中止的flowId */ flowId?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:王旭] Id归一化配置接口 */ export namespace idNormalization { /** * 获取当前租户下的ID归一化配置 * /api/oneid/id/idnormalization */ export namespace idNormalizationConfigOfTenant { export class Params {} export type Response = defs.IdNormalizationConfigDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建ID归一化配置 * /api/oneid/id/idnormalization */ export namespace addIdNormalizationConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改ID归一化配置 * /api/oneid/id/idnormalization */ export namespace changeIdNormalizationConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 萃取项目下物理表 * /api/oneid/id/idnormalization/physicalTable */ export namespace searchInProject { export class Params { /** kw */ kw?: string; /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:王旭] IDType接口 */ export namespace idType { /** * 获取租户下的ID类型 * /api/oneid/id/idtype */ export namespace idTypeOfTenant { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建ID类型 * /api/oneid/id/idtype */ export namespace addIdType { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除ID类型 * /api/oneid/id/idtype */ export namespace deleteIdType { export class Params { /** IdType名 */ name?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行;前端:淡苍]-文件管理接口API */ export namespace ideFile { /** * 新增文件 * /api/file/ */ export namespace createFile { export class Params { /** projectId */ projectId?: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 文件(目录)删除 * /api/file/delete/{fileId} */ export namespace deprecatedDelete { export class Params { /** fileId */ fileId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取指定分类目录 * /api/file/getFolderTree */ export namespace getFolderTree { export class Params { /** projectId */ projectId: number; /** category */ category: string; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 移动文件(目录) * /api/file/move/{sourceFileId}/to/{destFileId} */ export namespace move { export class Params { /** sourceFileId */ sourceFileId: string; /** destFileId */ destFileId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 文件(目录)重命名 * /api/file/rename/{fileId} */ export namespace renameFile { export class Params { /** fileId */ fileId: string; /** projectId */ projectId: number; /** newName */ newName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新增目录 * /api/file/saveFolder */ export namespace addFolder { export class Params { /** projectId */ projectId?: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 读取文件(目录) * /api/file/{fileId} */ export namespace getFile { export class Params { /** projectId */ projectId: number; /** fileId */ fileId: string; } export type Response = defs.IdeFileBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新文件(目录) * /api/file/{fileId} */ export namespace updateFile { export class Params { /** projectId */ projectId: number; /** fileId */ fileId: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除文件(目录) * /api/file/{fileId} */ export namespace deleteFile { export class Params { /** fileId */ fileId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行,松纹;前端:淡苍]-函数管理API */ export namespace ideFunction { /** * 获取函数列表,包含系统函数和UDF函数 * /api/function */ export namespace getFunction { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取函数详细信息 * /api/function/detail/{id} */ export namespace getFunctionDetail { export class Params { /** id */ id: number; /** projectId */ projectId: number; } export type Response = defs.SysFunctionBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建函数目录 * /api/function/directory */ export namespace createDirectory { export class Params { /** projectId */ projectId?: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除函数目录 * /api/function/directory/{udfId} */ export namespace deleteDirectory { export class Params { /** udfId */ udfId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取指定分类目录 * /api/function/getFolderTree */ export namespace getFolderTree { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 移动UDF(目录) * /api/function/move/{sourceUdfId}/to/{destUdfId} */ export namespace move { export class Params { /** sourceUdfId */ sourceUdfId: string; /** destUdfId */ destUdfId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * UDF(目录)重命名 * /api/function/rename/{udfId} */ export namespace renameFile { export class Params { /** udfId */ udfId: string; /** projectId */ projectId: number; /** newName */ newName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 系统函数管理目录树 * /api/function/tree/sys */ export namespace getSystemFunctions { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 用户定义函数目录树 * /api/function/tree/udf */ export namespace getUdfTree { export class Params { /** projectId */ projectId: number; /** directory */ directory?: string; /** directoryId */ directoryId?: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 注册UDF * /api/function/udf */ export namespace registerUdf { export class Params { /** projectId */ projectId: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * UDF类目菜单列表项 * /api/function/udf/category */ export namespace listCategories { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取UDF详情 * /api/function/udf/{udfId} */ export namespace getUdfDetail { export class Params { /** projectId */ projectId: number; /** udfId */ udfId: string; } export type Response = defs.IdeUdfBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新UDF信息 * /api/function/udf/{udfId} */ export namespace updateUdf { export class Params { /** udfId */ udfId: string; /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除UDF * /api/function/udf/{udfId} */ export namespace unregisterUdf { export class Params { /** udfId */ udfId: string; /** projectId */ projectId: number; /** deleteComment */ deleteComment: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [见行, 松纹] 资源管理 API */ export namespace ideResource { /** * 关键词搜索当前项目中的资源 * /api/resource */ export namespace searchResourceByName { export class Params { /** projectId */ projectId: number; /** 搜索关键词 */ keyword?: string; /** 返回记录数限制, 最大30 */ limit?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建资源文件 * /api/resource */ export namespace addResource { export class Params { /** projectId */ projectId: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建资源目录 * /api/resource/directory */ export namespace createDirectory { export class Params { /** projectId */ projectId?: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取指定分类目录 * /api/resource/getFolderTree */ export namespace getFolderTree { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 移动资源(目录) * /api/resource/move/{srcResourceId}/to/{destResourceId} */ export namespace move { export class Params { /** srcResourceId */ srcResourceId: string; /** destResourceId */ destResourceId: string; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 资源(目录)重命名 * /api/resource/rename/{resourceId} */ export namespace renameFile { export class Params { /** resourceId */ resourceId: string; /** projectId */ projectId: number; /** newName */ newName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 租户单个资源限制-【多轨】 * /api/resource/single/resource/quota */ export namespace getSingleResourceQuota { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 请求上传文件(获取 STS token) * /api/resource/token */ export namespace requestOssUpload { export class Params { /** 项目id */ projectId?: number; } export type Response = defs.StorageCredentialsBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 资源类型列表 * /api/resource/type/oss */ export namespace listResourceType { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 请求上传资源文件, 返回资源Uri * /api/resource/upload */ export namespace requestUpload { export class Params { /** 项目ID */ projectId?: number; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新资源文件 * /api/resource/{resourceId} */ export namespace updateResource { export class Params { /** projectId */ projectId: number; /** resourceId */ resourceId: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除资源文件(目录) * /api/resource/{resourceId} */ export namespace deleteResource { export class Params { /** projectId */ projectId: number; /** resourceId */ resourceId: string; /** deleteComment */ deleteComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取资源元数据 * /api/resource/{resourceId}/meta */ export namespace getResourceMeta { export class Params { /** 资源id */ resourceId?: string; /** 项目id */ projectId?: number; } export type Response = defs.ResourceMetaBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:程素;前端:五灵] IDE搜索相关API */ export namespace ideSearch { /** * 获取研发搜索结果 * /api/ide/search/list */ export namespace getSearchResultList { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 业务板块Id */ bizUnitId?: number; /** 项目Id */ projectId?: number; } export type Response = defs.IdeSearchResultBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取研发搜索结果 * /api/ide/search/listDevelop */ export namespace getDevelopResultList { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 业务板块Id */ bizUnitId?: number; /** 项目Id */ projectId?: number; } export type Response = defs.IdeSearchResultBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取资产搜索结果 * /api/ide/search/listResource */ export namespace getResourceSearchResult { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; /** 业务板块Id */ bizUnitId?: number; /** 项目Id */ projectId?: number; } export type Response = defs.IdeSearchResultBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:赵晋茹]初始化配置相关API */ export namespace initConfig { /** * 初始化配置 * /api/oneid/initconfig */ export namespace init { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取超级管理员列表 * /api/oneid/initconfig/admins */ export namespace admins { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目内成员列表 * /api/oneid/initconfig/members */ export namespace members { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目管理员列表 * /api/oneid/initconfig/projectAdmins */ export namespace projectAdmins { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据萃取项目详情 * /api/oneid/initconfig/projectInfo */ export namespace projectBO { export class Params {} export type Response = defs.ProjectBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据萃取项目详情-空则返回null * /api/oneid/initconfig/projectInfoWithNoException */ export namespace projectInfoWithNoException { export class Params {} export type Response = defs.ProjectBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 初始化状态 NOT_INITED:未初始化 SUCCESS:初始化成功 INITIALIZE:初始化中 FAILED:初始化失败 * /api/oneid/initconfig/projectStatus */ export namespace projectStatus { export class Params {} export type Response = defs.InitConfigResultDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 验证项目名称是否重复 true-重复 / false-不重复 * /api/oneid/initconfig/validateProjectName */ export namespace validateProjectName { export class Params { /** 项目名 */ name: string; /** 项目显示名 */ displayName: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:赵晋茹] */ export namespace labelCategory { /** * 增加标签类目 * /api/oneid/labelCategory */ export namespace create { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 带关键字查询查询标签类目,用于批量归类部分 * /api/oneid/labelCategory/byKeywords */ export namespace labelCategoryVOSByKeyword { export class Params { /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除标签类目 * /api/oneid/labelCategory/delete */ export namespace remove { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除标签类目 * /api/oneid/labelCategory/deleteLabelCategory */ export namespace deleteLabelCategory { export class Params { /** labelCategoryId */ labelCategoryId: string; /** submitComment */ submitComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 标签类目列表 * /api/oneid/labelCategory/list */ export namespace labelCategoryVOS { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 编辑标签类目 * /api/oneid/labelCategory/update */ export namespace update { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:琳峰] */ export namespace labelTable { /** * 标签逻辑表信息 * /api/oneid/labelTable */ export namespace labelTableInfo { export class Params {} export type Response = defs.LabelTableDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:琳峰]权限申请页面API */ export namespace listResource { /** * 查询可申请的功能权限 * /api/dip/permission/function */ export namespace getFunctionPermission { export class Params { /** identity */ identity: string; } export type Response = defs.FunctionPermissionBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据源 * /api/dip/permission/list/dataSource */ export namespace listDataSource { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表 * /api/dip/permission/list/logicTable */ export namespace searchLogicTable { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** env */ env?: 'DEV' | 'PROD'; /** bizUnitId */ bizUnitId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询可申请的资源属性 * /api/dip/permission/list/logicTable/attribute */ export namespace listLogicTableAttributes { export class Params { /** env */ env: 'DEV' | 'PROD'; /** tableType */ tableType: | 'PHYSICAL_TABLE' | 'PHYSICAL_FIELD' | 'FACT_TABLE' | 'FACT_TABLE_FIELD' | 'DIM_TABLE' | 'DIM_TABLE_FIELD' | 'SUM_TABLE' | 'SUM_TABLE_FIELD' | 'DATASOURCE' | 'LOGICAL_TABLE' | 'LOGICAL_FIELD' | 'OS_API' | 'OS_API_FIELD' | 'PAGE' | 'BIZ_UNIT' | 'PROJECT' | 'STREAM_COMPUTE' | 'STREAM_JOB' | 'STREAM_FUNCTION' | 'STREAM_META' | 'STREAM_META_FIELD'; /** id */ id: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表 * /api/dip/permission/list/physicalTable */ export namespace searchPhysicalTable { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** env */ env?: 'DEV' | 'PROD'; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询可申请的资源属性 * /api/dip/permission/list/physicalTable/attribute */ export namespace listPhysicalTableAttribute { export class Params { /** env */ env: 'DEV' | 'PROD'; /** projectId */ projectId: number; /** name */ name: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:扶犁;前端:晟朗]运维中心—逻辑表调度相关API */ export namespace logical { /** * 逻辑表调度DAG图节点实例状态接口 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/logical/batch */ export namespace batchGetTasksById { export class Params { /** projectId */ projectId: number; /** 任务id列表 */ taskIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表调度DAG节点图 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/dag/{tableName} */ export namespace listLogicalDagNodes { export class Params { /** projectId */ projectId: number; /** tableName */ tableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 列出项目下的逻辑表列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/nodes/list */ export namespace listLogicalNodes { export class Params { /** projectId */ projectId: number; /** 逻辑表类型,1:Dimension逻辑表,2:事实逻辑表,3:汇总逻辑表,4:物理表节点,逗号分隔 */ types?: string; /** page */ page?: number; /** pageSize */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索项目下的逻辑表节点和物理表节点 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/nodes/search */ export namespace searchLogicalNodes { export class Params { /** projectId */ projectId: number; /** 搜素文本 */ searchText?: string; /** 逻辑表类型,1:Dimension逻辑表,2:事实逻辑表,3:汇总逻辑表,4:物理表节点,逗号分隔 */ types?: string; /** page */ page?: number; /** pageSize */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表调度任务DAG节点图 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/tasks/dag/{tableName} */ export namespace listLogicalDagTasks { export class Params { /** projectId */ projectId: number; /** tableName */ tableName: string; /** 业务日期 */ bizDate?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表调度任务实例列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/tasks/list */ export namespace listLogicalTasks { export class Params { /** projectId */ projectId: number; /** 业务日期 */ bizDate?: string; /** 参考OneDataTypeEnum,逻辑表类型,1:Dimension逻辑表,2:事实逻辑表,3:汇总逻辑表,4:物理表节点,逗号分隔 */ types?: string; /** page */ page?: number; /** pageSize */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索逻辑表调度实例 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/tasks/search */ export namespace searchLogicalTasks { export class Params { /** projectId */ projectId: number; /** 搜素文本 */ searchText?: string; /** 业务日期 */ bizDate?: string; /** 参考OneDataTypeEnum,逻辑表类型,1:Dimension逻辑表,2:事实逻辑表,3:汇总逻辑表,4:物理表节点,逗号分隔 */ types?: string; /** page */ page?: number; /** pageSize */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表物化节点查看字段列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/{tableName}/nodes/{nodeId}/columns/list */ export namespace listLogicalNodeColumns { export class Params { /** projectId */ projectId: number; /** tableName */ tableName: string; /** nodeId */ nodeId: string; /** 参考OneDataTypeEnum,逻辑表类型,1:Dimension逻辑表,2:事实逻辑表,3:汇总逻辑表 */ logicalType: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 展开逻辑表调度节点,列出物理调度节点列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/{tableName}/physical/nodes/list */ export namespace listPhysicalNodes { export class Params { /** projectId */ projectId: number; /** tableName */ tableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 展开逻辑表调度实例,列出逻辑表物化节点实例列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/logical/{tableName}/physical/tasks/list */ export namespace listPhysicalTasks { export class Params { /** projectId */ projectId: number; /** tableName */ tableName: string; /** 业务日期 */ bizDate?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * 维护模式相关API */ export namespace maintenance { /** * 获取维护模式信息 * /api/upgrade/maintenance/info */ export namespace getMaintenanceInfo { export class Params {} export type Response = defs.MaintenanceDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 是否处于维护模式 * /api/upgrade/maintenance/on */ export namespace isOnMaintenance { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 启动维护模式 * /api/upgrade/maintenance/start */ export namespace startMaintenance { export class Params {} export type Response = defs.MaintenanceDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 停止维护模式 * /api/upgrade/maintenance/stop */ export namespace stopMaintenance { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:北渔]我管理的权限页面API */ export namespace managePermission { /** * 业务板块权限 * /api/dip/permission/manage/bizUnit */ export namespace listBizUnitPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 授权业务板块权限 * /api/dip/permission/manage/bizUnit/grant */ export namespace grantBizUnitPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回收业务板块权限 * /api/dip/permission/manage/bizUnit/revoke */ export namespace revokeBizUnitPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据源权限 * /api/dip/permission/manage/dataSource */ export namespace listDataSourcePermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 授权数据源权限 * /api/dip/permission/manage/dataSource/grant */ export namespace grantDataSourcePermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回收数据源权限 * /api/dip/permission/manage/dataSource/revoke */ export namespace revokeDataSourcePermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 功能权限 * /api/dip/permission/manage/function */ export namespace listFunctionPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 授权功能权限 * /api/dip/permission/manage/function/grant */ export namespace grantFunctionPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回收功能权限 * /api/dip/permission/manage/function/revoke */ export namespace revokeFunctionPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 项目权限 * /api/dip/permission/manage/project */ export namespace listProjectPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** bizUnitId */ bizUnitId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 授权项目权限 * /api/dip/permission/manage/project/grant */ export namespace grantProjectPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 回收项目权限 * /api/dip/permission/manage/project/revoke */ export namespace revokeProjectPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 归属我的功能权限 * /api/dip/permission/own/function */ export namespace listOwnFunctionPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 配置归属我的功能权限 * /api/dip/permission/own/function/config */ export namespace configOwnFunctionPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 转交归属我的功能权限 * /api/dip/permission/own/function/transfer */ export namespace transferOwnFunctionPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,陈均;前端:琳峰]-手工标签 */ export namespace manualLabel { /** * 添加手工标签,默认批量 * /api/oneid/manuallabel */ export namespace addManualLabel { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 编辑手工标签 * /api/oneid/manuallabel */ export namespace editManualLabel { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除手工标签 * /api/oneid/manuallabel */ export namespace deleteManualLabel { export class Params { /** 手工标签ID */ manualLabelId?: string; /** 提交备注 */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量修改标签状态 * /api/oneid/manuallabel/batchChangeCategory */ export namespace batchChangeLabelCategory { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量修改标签状态 * /api/oneid/manuallabel/batchChangePublicStatus */ export namespace batchChangeLabelPublicStatus { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取同一张来源表的手工标签(表名/三个字段) * /api/oneid/manuallabel/bySourceTable */ export namespace manualLabelOfSourceTable { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下手工标签筛选器 * /api/oneid/manuallabel/filters */ export namespace manualLabelFiltersInTenant { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 通过筛选器筛选,使用kw模糊搜索标签 * /api/oneid/manuallabel/manuallabelFromFilterAndKw */ export namespace manualLabelByFilterAndKw { export class Params { /** kw */ kw?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = Array; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 分页获取租户下物理表 * /api/oneid/manuallabel/physicalTable */ export namespace physicalTable { export class Params { /** kw */ kw?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表字段 * /api/oneid/manuallabel/tableInfo */ export namespace tableInfo { export class Params { /** 项目ID */ projectId: string; /** 环境 */ env: 'DEV' | 'PROD'; /** 表名 */ tableName: string; /** 项目名 */ projectName?: string; /** 是否是分区表 */ partitioned?: boolean; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 使用项目生产账号校验来源表字段 * /api/oneid/manuallabel/validatePermission */ export namespace validatePermission { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均;前端:晟朗]消息 */ export namespace message { /** * 获取消息 * /api/message/ */ export namespace getEffectiveMessages { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 增加消息 * /api/message/ */ export namespace post { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 所有的消息 * /api/message/all */ export namespace getMessageBOs { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除消息 * /api/message/{messageId} */ export namespace deleteMessage { export class Params { /** 消息ID */ messageId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:翠翠、莫萱,天大;前端:琳峰]DIP元数据详情相关API */ export namespace metaDetail { /** * 表结构-获取表或者逻辑字段的血缘关系 * /api/dip/meta/table/bloodRelation */ export namespace getTableBloodRelation { export class Params { /** 表的guid */ modelId: string; /** 表类型 */ modelType: number; /** 字段Id */ columnName?: string; } export type Response = defs.TableBloodRelationBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构 - 导出逻辑表字段信息为 CSV * /api/dip/meta/table/columns/export */ export namespace exportData { export class Params { /** 导出文件名 */ fileName: string; /** 表Id */ modelId: string; /** 表类型 */ modelType: number; /** env */ env: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构 * /api/dip/meta/table/field */ export namespace getTableDetail { export class Params { /** 表id */ modelId: string; /** 表的类型 */ modelType?: number; } export type Response = defs.TableBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构-关联Dimension详情 * /api/dip/meta/table/field/ref */ export namespace getFieldRef { export class Params { /** 逻辑表id */ modelId: string; } export type Response = defs.TableMetaBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑字段的数据预览 * /api/dip/meta/table/logicalColumn/view */ export namespace getLogicalColumnView { export class Params { /** 表id */ modelId: string; /** 字段名称 */ columnName: string; /** 表的类型 */ modelType: number; } export type Response = Array>; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 调起解析任务 * /api/dip/meta/table/modelId/{modelId}/parseRelation */ export namespace parseSummaryTableRelation { export class Params { /** 表id */ modelId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构-获取表的产出信息 * /api/dip/meta/table/outputInfo */ export namespace getTableOutputInfo { export class Params { /** 表guid */ modelId: string; /** 逻辑表的id,物理表不用给值 */ logicalTableId?: number; /** 表类型 */ modelType: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 调起解析任务 * /api/dip/meta/table/parseJob */ export namespace parseBloodRelationJob { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构-获取物理表和逻辑字段的分区列表 * /api/dip/meta/table/partitionInfo */ export namespace getTablePartitionInfo { export class Params { /** 表guid */ modelId: string; /** 逻辑表的id,物理表不用给 */ logicalTableId?: number; /** 结束日期 */ endDate?: string; /** 表字段 */ modelColumnList?: Array; /** 表类型 */ modelType: number; } export type Response = ObjectMap>; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构-获取物理表分区列表 * /api/dip/meta/table/physicalTablePartition */ export namespace getPhysicalTablePartitions { export class Params { /** 表guid */ tableGuid: string; /** 页数 */ pageIndex: number; /** 页大小 */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表字段数据探查 * /api/dip/meta/table/probe */ export namespace logicalColumnProbe { export class Params { /** 逻辑表的guid */ modelId: string; /** 字段名称 */ columnName: string; /** 表的类型 */ modelType: number; } export type Response = defs.ProfilingStatisticDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表结构-获取表的Select语句 * /api/dip/meta/table/select */ export namespace getTableSelectSql { export class Params { /** 表Id */ modelId: string; /** 表类型 */ modelType: number; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 物理表数据预览 * /api/dip/meta/table/view */ export namespace getTableView { export class Params { /** 表id */ modelId: string; /** 表的类型 */ modelType?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:模型对象发布记录 */ export namespace modelPublishRecord { /** * 发布 * /api/model/publish */ export namespace publish { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取待发布列表筛选器 * /api/model/publish/record/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/model/publish/record/search */ export namespace search { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询状态 * /api/model/publish/record/status */ export namespace listStatus { export class Params { /** 提交对象的id列表,例如:1,2,3 */ ids?: string; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取校验结果 * /api/model/publish/record/{id}/validateResult */ export namespace getValidateResult { export class Params { /** id */ id: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:晟朗]:模型提交 */ export namespace modelSubmit { /** * 查询提交的状态 * /api/async/model/submit */ export namespace queryResultById { export class Params { /** taskId */ taskId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:模型对象待发布列表 */ export namespace modelSubmitRecord { /** * count * /api/model/submit/record/count */ export namespace count { export class Params { /** projectId */ projectId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取待发布列表筛选器 * /api/model/submit/record/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/model/submit/record/search */ export namespace search { export class Params { /** projectId */ projectId: number; /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大,莫萱,松纹;前端:晟朗]运维中心—节点相关API */ export namespace node { /** * 批量新增节点文件 * /api/smc/project/batchSaveNode */ export namespace batchCreateFileForNode { export class Params { /** count */ count: number; /** pattern */ pattern: string; /** category */ category: string; /** dirName */ dirName: string; /** projectId */ projectId: number; /** type */ type: number; /** rsType */ rsType: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 配置节点的时候搜索可选节点[可跨项目] 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/nodeList */ export namespace getNodeListCrossProject { export class Params { /** 搜素文本 */ searchText?: string; /** 页数 */ pageNum?: number; /** 节点类型1:周期,3是手动 */ nodeType?: number; /** 实例来源(黑盒:onedata3-server|IDE:onedata-ide) */ nodeFroms?: Array; /** 每页大小 */ pageSize?: number; /** 项目Id */ projectId: number; } export type Response = defs.PaginatedResult; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 初始化租户,为帐号创建DAG * /api/smc/project/nodes/dag */ export namespace createDagForTenant { export class Params { /** 租户id */ tenantId: number; /** 项目id */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新增节点文件 * @throws Exception code * PROJECT_MEMBER_NOT_FOUND: 不是该项目成员 * PARAMETER_ERROR: 参数出错 * @p1-test * nodeDTO.projectId: 传递一个用户没有权限的projectId / null * nodeDTO.name: 那么为空或者填写一个已经有的名字 /null * @p2-test * PROJECT_MEMBER_NOT_FOUND: 不是所在项目的项目成员* PARAMETER_ERROR: 节点名称重名或者为空了 * /api/smc/project/saveNode */ export namespace createFileForNode { export class Params { /** projectId */ projectId?: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据文件Id获取节点配置 * @throws Exception code * NODE_CONFIG_NOTFOUND: 该文件对应的节点配置没找到 * @p1-test * fileId: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * @p2-test * NODE_CONFIG_NOTFOUND: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * /api/smc/project/{projectId}/files/{fileId}/nodes/ */ export namespace getNodeByFileId { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; } export type Response = defs.NodeDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线节点 * @throws Exception code * NODE_HAS_DOWNSTREAM: 要删除的节点有下游存在 * NODE_CONFIG_NOTFOUND: 该文件对应的节点配置没找到 * @p1-test * nodeId: 随便到运维中心找一个有下游的节点id即可 * fileId: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * @p2-test * NODE_HAS_DOWNSTREAM: 节点有下游而不能删除 * NODE_CONFIG_NOTFOUND: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * /api/smc/project/{projectId}/files/{fileId}/offline */ export namespace offline { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; /** 类型 */ operatorType?: number; /** 文件名 */ fileName?: string; /** 备注 */ comment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 手工节点列表及筛选 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/manualNodes/list */ export namespace searchManualNodes { export class Params { /** projectId */ projectId: number; /** 搜索文本 */ searchText?: string; /** 页数 */ pageNum?: number; /** 每页大小 */ pageSize?: number; /** 归属范围,用户id逗号隔开 */ userIds?: string; /** 状态,状态码逗号隔开 */ statusCodes?: string; /** 发布日期 */ publishDate?: string; /** 任务类型【operator类型】 */ operatorTypes?: string; } export type Response = defs.PaginatedResult; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * [公共]获取节点类型的列表 * 该接口返回所有的节点类型不会报错! * /api/smc/project/{projectId}/nodeTypeList */ export namespace getNodeType { export class Params { /** projectId */ projectId?: number; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据节点id查询节点详情 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/batch */ export namespace batchGetNodesById { export class Params { /** projectId */ projectId: number; /** 节点id列表 */ nodeIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据节点输出名字批量查询节点详情 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/batchGetByOutputNames */ export namespace batchGetByOutputNames { export class Params { /** projectId */ projectId: number; /** 输出名字列表 */ outputNames: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验节点输出 基本无异常出现 * /api/smc/project/{projectId}/nodes/checkOutput */ export namespace checkOutput { export class Params { /** 项目Id */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查输出名字是否重复 基本无异常出现 * /api/smc/project/{projectId}/nodes/checkOutputNameExist */ export namespace checkOutputNameExist { export class Params { /** 节点Id */ nodeId?: string; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线节点(清除脏数据使用) * @throws Exception code * NODE_HAS_DOWNSTREAM: 要删除的节点有下游存在 * @p1-test * nodeId: 随便到运维中心找一个有下游的节点id即可 * @p2-test * NODE_HAS_DOWNSTREAM: 节点有下游而不能删除 * /api/smc/project/{projectId}/nodes/dev/{nodeId}/offlineWithDownstream */ export namespace offlineDevNodeWithDownstream { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 周期节点列表及筛选 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/list */ export namespace searchNodes { export class Params { /** projectId */ projectId: number; /** 搜素文本 */ searchText?: string; /** 页数 */ pageNum?: number; /** 每页大小 */ pageSize?: number; /** 归属范围,用户id逗号隔开 */ userIds?: string; /** 实例来源(黑盒:onedata3-server|IDE:onedata-ide) */ nodeFroms?: Array; /** 发布日期 */ publishDate?: string; /** 任务类型【operator类型】 */ operatorTypes?: string; } export type Response = defs.PaginatedResult; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 解析代码输入输出 基本无异常出现 * /api/smc/project/{projectId}/nodes/parseCode */ export namespace parseCode { export class Params { /** 项目Id */ projectId: number; } export type Response = object; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线节点(清除脏数据使用) * @throws Exception code * NODE_HAS_DOWNSTREAM: 要删除的节点有下游存在 * @p1-test * nodeId: 随便到运维中心找一个有下游的节点id即可 * @p2-test * NODE_HAS_DOWNSTREAM: 节点有下游而不能删除 * /api/smc/project/{projectId}/nodes/prod/{nodeId}/offlineWithDownstream */ export namespace offlineProdNodeWithDownstream { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交调度节点 * @throws Exception code * NO_PERMISSION: 没有提交调度节点的权限 * NO_PERMISSION_DEFINITION: 项目内鉴权时,权限点没有定义 * PARAMETER_ERROR:分区表字段为空或者不是key/value键值对格式 * @p1-test * nodeDto.reader.partition: 数据源的表是odps表是分区表但是分区字段为空* nodeDto: 要发布的对象为空* nodeDto.operateType: 要发布的对象的脚本类型为空* nodeDto.dsId: 节点关联的数据源配置为空 * @p2-test * NO_PERMISSION: 项目内没有权限,比如只有项目访客权限* NO_PERMISSION_DEFINITION: 该项目没有初始化权限点* PARAMETER_ERROR: 参数错误,具体参数错误会提示 * /api/smc/project/{projectId}/nodes/release */ export namespace releaseNode { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; /** 备注 */ comment: string; /** lock */ lock: number; } export type Response = string; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除文件,ide的配置和调度的节点 * @throws Exception code * NODE_HAS_DOWNSTREAM: 要删除的节点有下游存在 * @p1-test * fileId: 找一个fileId对应的节点有下游节点即可 * @p2-test * NODE_HAS_DOWNSTREAM: 节点有下游而不能删除 * /api/smc/project/{projectId}/nodes/{fileId} */ export namespace deleteNode { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; /** 类型 */ operatorType?: number; /** 文件名 */ fileName?: string; /** 是否包含下游节点,默认不包含 */ withDownstream?: boolean; /** 备注 */ deleteComment?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * check节点的权限信息 * @throws Exception code * @p1-test * DS_NOT_FOUND: 数据源找不到* RESOURCE_NOT_BELONG_TO_CURRENT_TENANT: 跨租户引用数据源 * /api/smc/project/{projectId}/nodes/{fileId}/auth */ export namespace checkNodeAuth { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; } export type Response = defs.AuthBaseBO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新增和修改节点配置 * @throws Exception code * NO_PERMISSION: 没有新增和修改节点配置的权限 * NO_PERMISSION_DEFINITION: 项目内鉴权时,权限点没有定义 * @p2-test * NO_PERMISSION: 项目内没有权限,比如只有项目访客权限* NO_PERMISSION_DEFINITION: 该项目没有初始化权限点 * /api/smc/project/{projectId}/nodes/{fileId}/config */ export namespace saveFileForNode { export class Params { /** projectId */ projectId: number; /** 目录树的id */ fileId: string; /** lock */ lock: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 移动节点位置 * /api/smc/project/{projectId}/nodes/{fileId}/move */ export namespace moveNode { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; /** 新的父节点id */ newParentId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 节点重命名 * @throws Exception code * PARAMETER_ERROR: 参数不合法 * NODE_CONFIG_NOTFOUND: 该文件对应的节点配置没找到 * @p1-test * newName: 为空或者已存在的节点名字 / null * fileId: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * @p2-test * PARAMETER_ERROR: newName为空或者已经存在 * NODE_CONFIG_NOTFOUND: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * /api/smc/project/{projectId}/nodes/{fileId}/rename */ export namespace renameNode { export class Params { /** projectId */ projectId: number; /** 文件id */ fileId: string; /** 节点新名称 */ newName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据版本获取节点配置 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{fileId}/version/{version} */ export namespace getNodeWithVersion { export class Params { /** projectId */ projectId: number; /** 节点id */ fileId: string; /** 节点版本 */ version: number; } export type Response = defs.IdeNodeEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据节点id查询节点详情 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId} */ export namespace getNodeById { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = defs.IdeNodeEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查找节点特定版本的代码 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/codeContent */ export namespace getCodeContent { export class Params { /** projectId */ projectId?: number; /** nodeId */ nodeId?: string; /** 版本 */ version?: number; } export type Response = defs.NodeContentEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除节点(清除脏数据使用) * @throws Exception code * NODE_HAS_DOWNSTREAM: 要删除的节点有下游存在 * @p1-test * nodeId: 随便到运维中心找一个有下游的节点id即可 * @p2-test * NODE_HAS_DOWNSTREAM: 节点有下游而不能删除 * /api/smc/project/{projectId}/nodes/{nodeId}/delete */ export namespace deleteByProjectIdNodesByNodeIdDelete { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; /** 备注 */ deleteComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询节点的下游节点 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/downstream */ export namespace searchDownstreamNodes { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; /** 深度, 最大30 */ depth: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据节点Id获取其fileId * @throws Exception code * NODE_CONFIG_NOTFOUND: 该文件对应的节点配置没找到 * @p1-test * fileId: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * @p2-test * NODE_CONFIG_NOTFOUND: 给一个不存在节点配置不存在的脏数据的fileId,比如65 * /api/smc/project/{projectId}/nodes/{nodeId}/fileId */ export namespace getNodeDraftByNodeId { export class Params { /** projectId */ projectId: number; /** 节点Id */ nodeId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 自动生成手工节点flow名称 只有内存结算,基本无异常出现 * /api/smc/project/{projectId}/nodes/{nodeId}/flowName */ export namespace getManualFlowName { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查找节点的所有发布版本 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/historyRealse */ export namespace getHistoryRealse { export class Params { /** projectId */ projectId?: number; /** nodeId */ nodeId?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 关闭节点代码语义优化 * /api/smc/project/{projectId}/nodes/{nodeId}/nodeOptimizeOff */ export namespace nodeOptimizeOff { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 开启节点代码语义优化 * /api/smc/project/{projectId}/nodes/{nodeId}/nodeOptimizeOn */ export namespace nodeOptimizeOn { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询节点的操作记录 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/operationLog */ export namespace searchOperationLog { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取节点代码优化结果 * /api/smc/project/{projectId}/nodes/{nodeId}/optimizeResultContent */ export namespace getOptimizeResultContent { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = defs.DwsOptContentDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取节点是否开启了语义优化 * /api/smc/project/{projectId}/nodes/{nodeId}/optimizeWitchState */ export namespace getOptimizeIsAvailable { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询依赖某节点输出的直接下游节点 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/outputNames/{outputName}/downstream */ export namespace searchDownstreamNodesByOutputName { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; /** 输出名称 */ outputName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改node的责任人 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/owner */ export namespace changeOwner { export class Params { /** projectId */ projectId: number; /** nodeId */ nodeId?: string; /** ownerId */ ownerId?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 触发手工节点执行 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/triggerManual */ export namespace triggerManual { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; /** 业务日期 */ bizDate: string; /** 实例名称 */ flowName: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询节点的上游节点 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/nodes/{nodeId}/upstream */ export namespace searchUpstreamNodes { export class Params { /** projectId */ projectId: number; /** 节点id */ nodeId: string; /** 深度, 最大30 */ depth: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * [公共]获取OperatorType的列表 * 该接口返回所有sql脚本的类型不会报错! * /api/smc/project/{projectId}/operatorTypeList */ export namespace getOperatorType { export class Params {} export type Response = ObjectMap; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:婼晨;前端:晟朗]-对象API */ export namespace object { /** * 获取对象所在的项目 * /api/object/{objectId} */ export namespace getProject { export class Params { /** 对象ID */ objectId?: string; /** 对象类型 */ objectType?: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行;前端:双扬]-对象加解锁API */ export namespace objectLock { /** * 查询对象的加锁信息 * /api/lock */ export namespace getLock { export class Params { /** 对象ID */ objectId?: string; /** 对象类型 */ objectType?: string; } export type Response = defs.ObjectLockBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 对象加锁(如果当前操作人已有锁, 无副作用) * /api/lock */ export namespace putLock { export class Params { /** projectId */ projectId: number; /** 对象ID */ objectId?: string; /** 对象类型 */ objectType?: string; } export type Response = defs.ObjectLockBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:琳峰]行为元素-动作 */ export namespace oneIdAction { /** * 新建动作 * /api/oneid/action */ export namespace addAction { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改动作 * /api/oneid/action */ export namespace editAction { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除动作 * /api/oneid/action/{actionId} */ export namespace removeAction { export class Params { /** actionId */ actionId?: string; /** submitComment */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨、陈均;前端:琳峰] 行为 */ export namespace oneIdBehavior { /** * 根据属性ID和行为ID列表返回该属性所有的值 * /api/oneid/behavior/objectPropertyValues */ export namespace behaviorObjectPropertyValuesFromObjectPropertyId { export class Params { /** objectPropertyId */ objectPropertyId: string; /** behaviorIds */ behaviorIds: Array; /** keyword */ keyword?: string; /** limit */ limit: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 物理表化配置 * /api/oneid/behavior/physicalConfig */ export namespace behaviorPhysicalConfig { export class Params {} export type Response = defs.PhysicalConfigDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 物理表化配置 * /api/oneid/behavior/physicalConfig */ export namespace changeBehaviorPhysicalConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据选中的行为查询相同的对象属性值 * /api/oneid/behavior/sameObjectProperties */ export namespace objectPropertiesFromBehaviorIds { export class Params { /** behaviorIds */ behaviorIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据属性ID返回该属性所有的值分布 * /api/oneid/behavior/valueDistributes */ export namespace valueDistributesFromObjectPropertyId { export class Params { /** objectPropertyId */ objectPropertyId: string; /** behaviorIds */ behaviorIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:剑决] */ export namespace oneIdBehaviorDashBoard { /** * 下载行为定义表 * /api/oneid/behaviorDashboard/dashboard/behaviorDefinitionDownload */ export namespace behaviorDefinitionXlsx { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查看行为看板 * /api/oneid/behaviorDashboard/dashboard/chart */ export namespace dashBoard { export class Params {} export type Response = defs.DashBoardDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 域下行为对象的对象属性 * /api/oneid/behaviorDashboard/dashboard/chart/{domainId} */ export namespace objectProperty { export class Params { /** 域ID */ domainId?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 采样数据 * /api/oneid/behaviorDashboard/dashboard/sample */ export namespace sample { export class Params { /** 筛选元素ID */ id?: string; /** 筛选元素类型behavior/bizline/domain/tenant */ type?: string; } export type Response = defs.SampleDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:石军霞] */ export namespace oneIdBehaviorElement { /** * 获取动作对象列表 * /api/oneid/behaviorElement/actionsObjects */ export namespace behaviorActionObjectsFromDomainIds { export class Params { /** domainIds */ domainIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素页 - [域,业务线] 根据 [名字或展示名] 模糊搜索 | 页面左侧 - 行为中心 - [域,业务线] 模糊搜索 * /api/oneid/behaviorElement/domainAndBizline/fuzzySearch */ export namespace fuzzySearchDomainAndBizLineBy { export class Params { /** nameOrDisplayName */ nameOrDisplayName: string; /** bizLineLimit */ bizLineLimit?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取域列表 * /api/oneid/behaviorElement/domains */ export namespace behaviorDomainsInTenant { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素页 - 根据 id 获取 行为元素[域,业务线,动作,对象,对象属性] 的基本信息 * /api/oneid/behaviorElement/findbyid */ export namespace findById { export class Params { /** behaviorElementType */ behaviorElementType: | 'DOMAIN' | 'BIZ_LINE' | 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; /** behaviorElementId */ behaviorElementId: number; } export type Response = defs.BehaviorElementDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素 - [动作,对象,对象属性] 列表展示 | 页面左侧 - 行为中心 - [动作,对象,对象属性] 树列表展示 * /api/oneid/behaviorElement/{type} */ export namespace listBehaviorElements { export class Params { /** type */ type?: 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素 - [新增,编辑]时的重名(displayName)判断 * /api/oneid/behaviorElement/{type}/displayNameIsDuplicate */ export namespace displayNameIsDuplicate { export class Params { /** displayName */ displayName: string; /** type */ type: 'DOMAIN' | 'BIZ_LINE' | 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素页 - [动作,对象,对象属性] 根据 [名字或展示名] 模糊搜索 | 页面左侧 - 行为中心 - [动作,对象,对象属性] 模糊搜索 * /api/oneid/behaviorElement/{type}/fuzzySearch */ export namespace fuzzySearchBehaviorElementBy { export class Params { /** nameOrDisplayName */ nameOrDisplayName: string; /** type */ type?: 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为中心 - 行为元素 - [新增,编辑]时的重名判断 * /api/oneid/behaviorElement/{type}/nameIsDuplicate */ export namespace nameIsDuplicate { export class Params { /** name */ name: string; /** type */ type: 'DOMAIN' | 'BIZ_LINE' | 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 点击[域,业务线,动作,对象,对象属性]的时候,页面右侧会弹出对应的"属性页" * /api/oneid/behaviorElement/{type}/{id}/property */ export namespace clickBehaviorElementAndShowItsProperty { export class Params { /** id */ id: number; /** type */ type: 'DOMAIN' | 'BIZ_LINE' | 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; } export type Response = defs.BehaviorElementPropertyDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:琳峰]行为元素-业务线 */ export namespace oneIdBizLine { /** * 新建业务线 * /api/oneid/bizline */ export namespace addBizLine { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改业务线 * /api/oneid/bizline */ export namespace editBizLine { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据 domain 过滤 * /api/oneid/bizline/filterByDomain */ export namespace loadMore { export class Params { /** domainId */ domainId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊查找 * /api/oneid/bizline/fuzzySearch */ export namespace fuzzySearchBizLineBy { export class Params { /** nameOrDisplayName */ nameOrDisplayName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 加载更多 * /api/oneid/bizline/loadmore */ export namespace getBizlineLoadmore { export class Params { /** domainId */ domainId: string; /** limit */ limit: number; /** offset */ offset: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除业务线 * /api/oneid/bizline/{bizLineId} */ export namespace removeBizLine { export class Params { /** bizLineId */ bizLineId?: string; /** submitComment */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均;前端:忘悠] oneid 通用API */ export namespace oneIdCommon { /** * 获取物理表的GUID * /api/oneid/common/physicalTable/{tableName}/guid */ export namespace tableGuid { export class Params { /** tableName */ tableName: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:琳峰]行为元素-域 */ export namespace oneIdDomain { /** * 列出租户下域 * /api/oneid/domain */ export namespace listDomain { export class Params { /** bizLineLimit */ bizLineLimit?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 增加域 * /api/oneid/domain */ export namespace addDomain { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 编辑域 * /api/oneid/domain */ export namespace editDomain { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊查询 * /api/oneid/domain/fuzzySearch */ export namespace fuzzySearchDomainBy { export class Params { /** nameOrDisplayName */ nameOrDisplayName: string; /** bizLineLimit */ bizLineLimit?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除域 * /api/oneid/domain/{domainId} */ export namespace removeDomain { export class Params { /** domainId */ domainId?: string; /** submitComment */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:琳峰]行为元素-对象 */ export namespace oneIdObject { /** * 新建对象 * /api/oneid/object */ export namespace addObject { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改对象 * /api/oneid/object */ export namespace editObject { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除对象 * /api/oneid/object/{objectId} */ export namespace removeObject { export class Params { /** objectId */ objectId?: string; /** submitComment */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽,谦扬;前端:琳峰]行为元素-对象属性 */ export namespace oneIdObjectProperty { /** * 新建对象属性 * /api/oneid/objectproperty */ export namespace addObjectProperty { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改对象属性 * /api/oneid/objectproperty */ export namespace editObjectProperty { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除对象属性 * /api/oneid/objectproperty/{objectPropertyId} */ export namespace removeObjectProperty { export class Params { /** objectPropertyId */ objectPropertyId?: string; /** submitComment */ submitComment?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:渔火] 萃取运维DAG图 API */ export namespace oneIdOp { /** * 行为规则任务DAG图 * /api/oneid/op/node/label/{labelId} */ export namespace labelNodeDag { export class Params { /** labelId */ labelId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则任务DAG图 * /api/oneid/op/node/rule/{ruleId} */ export namespace ruleNodeDag { export class Params { /** ruleId */ ruleId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 标签任务实例DAG图 * /api/oneid/op/task/label/{labelId} */ export namespace labelTaskDag { export class Params { /** labelId */ labelId: string; /** bizDate */ bizDate?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例-flow下的所有bizdate的结果 多天任务 * /api/oneid/op/task/refresh/behavior/multiDay */ export namespace fetchMultiDay { export class Params { /** flowId */ flowId?: string; /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例-flow下的BizDate范围 * /api/oneid/op/task/refresh/behavior/multiDay/bizDateRange */ export namespace fetchMultiDayBizDateRange { export class Params { /** flowId */ flowId?: string; } export type Response = defs.BizDateRangeDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例-flow下的所有bizdate的结果 多天任务 bizDate: 20190807 / 2019-08-07 * /api/oneid/op/task/refresh/behavior/multiDay/search */ export namespace fetchMultiDayByBizDate { export class Params { /** flowId */ flowId?: string; /** bizDate */ bizDate?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例-flow下的所有bizdate的结果 一次任务 * /api/oneid/op/task/refresh/behavior/once */ export namespace fetchOnceFlow { export class Params { /** flowId */ flowId?: string; } export type Response = defs.BusinessDateTaskList; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例-标签 * /api/oneid/op/task/refresh/label */ export namespace refreshLabelTask { export class Params { /** flowId */ flowId?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则任务实例DAG图 * /api/oneid/op/task/rule/{ruleId} */ export namespace ruleTaskDag { export class Params { /** ruleId */ ruleId: string; /** bizDate */ bizDate?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:洞幽;前端:琳峰] 萃取运维菜单树 */ export namespace oneIdOpTree { /** * 行为规则任务 - 左侧菜单树 - 行为列表,仅获取行为名和包含的规则数目 * /api/tree/oneid/op/node/behavior */ export namespace fetchOpNodeBehaviorTree { export class Params { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则任务 - 搜索 - 按照行为名模糊匹配,规则id精确匹配 * /api/tree/oneid/op/node/behavior/search */ export namespace searchOpNodeBehaviorTree { export class Params { /** kw */ kw?: string; /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则任务 - 左侧菜单树 - 行为下的规则列表 * /api/tree/oneid/op/node/behavior/{behaviorId}/rule */ export namespace fetchOpNodeBehaviorRuleTree { export class Params { /** behaviorId */ behaviorId: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 分页获取标签及节点 * /api/tree/oneid/op/node/label */ export namespace fetchOpNodeLabelTree { export class Params { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 标签任务 - 搜索:标签名模糊匹配,标签id精确匹配 * /api/tree/oneid/op/node/label/search */ export namespace searchOpNodeLabelTree { export class Params { /** kw */ kw?: string; /** limit */ limit?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则实例 - 菜单树 * /api/tree/oneid/op/task/behavior */ export namespace fetchOpTaskBehaviorTree { export class Params { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; /** bizDate */ bizDate?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行为规则实例 - 搜索 - 按照行为名模糊匹配,规则id精确匹配 * /api/tree/oneid/op/task/behavior/search */ export namespace searchOpTaskBehaviorTree { export class Params { /** kw */ kw?: string; /** limit */ limit?: number; /** bizDate */ bizDate?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 标签实例 - 列表:分页 * /api/tree/oneid/op/task/label */ export namespace fetchOpTaskLabelTree { export class Params { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; /** bizDate */ bizDate?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 标签实例 - 搜索:标签名模糊匹配,标签id精确匹配 * /api/tree/oneid/op/task/label/search */ export namespace searchOpTaskLabelTree { export class Params { /** kw */ kw?: string; /** bizDate */ bizDate?: string; /** limit */ limit?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 萃取运维 - 补数据实例 - 行为规则补数据 - 最外层 * /api/tree/oneid/op/task/refresh/behavior */ export namespace fetchOpRefreshTaskBehaviorRuleTree { export class Params { /** date */ date?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 萃取运维 - 补数据实例 - 行为规则补数据 - 多天flow * /api/tree/oneid/op/task/refresh/behavior/multiDay */ export namespace fetchOpRefreshTaskBehaviorMultiDay { export class Params { /** flowId */ flowId?: string; /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 萃取运维 - 补数据实例 - 行为规则补数据 - 多天flow - 单个业务日期中任务 * /api/tree/oneid/op/task/refresh/behavior/multiDay/byBizDate */ export namespace fetchOpRefreshTaskBehaviorMultiDayByBizDate { export class Params { /** flowId */ flowId?: string; /** bizDate */ bizDate?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 萃取运维 - 补数据实例 - 行为规则补数据 - 一次flow * /api/tree/oneid/op/task/refresh/behavior/once */ export namespace fetchOpRefreshTaskBehaviorOnce { export class Params { /** flowId */ flowId?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 补数据实例 标签 菜单树 * /api/tree/oneid/op/task/refresh/label */ export namespace refreshLabelTaskMenuTree { export class Params { /** date */ date?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨、陈均;前端:琳峰] 规则 */ export namespace oneIdRule { /** * 增加规则 * /api/oneid/rule */ export namespace addBehavior { export class Params {} export type Response = defs.BehaviorRuleId; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据行为域列表查询动作对象列表-用于新建标签 * /api/oneid/rule/behaviorActionObjects */ export namespace behaviorDomainVOS { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取行为下的规则列表 * /api/oneid/rule/behaviorRules */ export namespace rules { export class Params { /** behaviorId */ behaviorId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验行为来源表是否存在 * /api/oneid/rule/exist */ export namespace exist { export class Params { /** domainId */ domainId: string; /** bizLineId */ bizLineId: string; /** actionId */ actionId: string; /** objectId */ objectId: string; /** sourceTableName */ sourceTableName: string; /** sourceTableType */ sourceTableType: string; /** ruleId */ ruleId?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取行为租户下的筛选器 - 包括联动 * /api/oneid/rule/filters */ export namespace filterViewModels { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据筛选器获取行为规则列表 * /api/oneid/rule/filters/behaviors */ export namespace behaviorsFromFilter { export class Params { /** fuzzyName */ fuzzyName?: string; /** pageNum */ pageNum: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 分页获取规则列表 * /api/oneid/rule/paging */ export namespace behaviorPaging { export class Params { /** fuzzyName */ fuzzyName?: string; /** pageNum */ pageNum: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 发起一个预览规则数据的任务 * /api/oneid/rule/preview */ export namespace runTaskPreviewRuleDataTask { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * log * /api/oneid/rule/preview/log */ export namespace log { export class Params { /** instanceId */ instanceId: string; /** offset */ offset: number; } export type Response = defs.SqlExecuteLogDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 返回预览规则数据的结果 * /api/oneid/rule/preview/result */ export namespace previewRuleDataResult { export class Params { /** instanceId */ instanceId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 规则回刷 * /api/oneid/rule/refresh */ export namespace refreshBehaviorTask { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 调度解析 * /api/oneid/rule/schedule/parse */ export namespace autoParseScheduleConfig { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询来源表 * /api/oneid/rule/sourceTable */ export namespace searchSourceTable { export class Params { /** 来源表名 */ fuzzyName?: string; /** 来源表类型:LOGIC/PHYSICAL */ sourceTableType: string; /** 类型为逻辑表时,必选 */ bizUnitName?: string; /** limit */ limit: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询来源表字段 * /api/oneid/rule/sourceTableColumns */ export namespace sourceTableColumns { export class Params { /** tableName */ tableName: string; /** 来源表类型:LOGIC/PHYSICAL */ sourceTableType: string; /** 类型为物理表时,必选 */ projectId?: number; /** 类型为物理表时,必选:PROD/DEV */ env?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交规则 * /api/oneid/rule/submit */ export namespace submitRule { export class Params {} export type Response = defs.BehaviorRuleId; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * getRules * /api/oneid/rule/{ruleId} */ export namespace getRules { export class Params { /** ruleId */ ruleId: string; } export type Response = defs.RuleDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新规则 * /api/oneid/rule/{ruleId} */ export namespace updateRule { export class Params { /** ruleId */ ruleId: string; /** lock */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除规则 * /api/oneid/rule/{ruleId} */ export namespace deleteRule { export class Params { /** ruleId */ ruleId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检测规则的标签依赖 * /api/oneid/rule/{ruleId}/dependence */ export namespace ruleDependence { export class Params { /** ruleId */ ruleId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检测对象属性的标签依赖 * /api/oneid/rule/{ruleId}/objectProperty/{objectPropertyId}/dependence */ export namespace objectPropertyLabelDependencies { export class Params { /** ruleId */ ruleId: string; /** objectPropertyId */ objectPropertyId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检测对象属性的标签强依赖 * /api/oneid/rule/{ruleId}/objectProperty/{objectPropertyId}/dependence/strong */ export namespace objectPropertyLabelBlockDependencies { export class Params { /** ruleId */ ruleId: string; /** objectPropertyId */ objectPropertyId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线规则 * /api/oneid/rule/{ruleId}/offline */ export namespace offlineRule { export class Params { /** ruleId */ ruleId: string; /** submitComment */ submitComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下线并删除规则 * /api/oneid/rule/{ruleId}/offlineAndDelete */ export namespace offlineAndDeleteRule { export class Params { /** ruleId */ ruleId: string; /** submitComment */ submitComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 规则回刷记录 * /api/oneid/rule/{ruleId}/record */ export namespace lastestRefreshTasksFromRuleId { export class Params { /** ruleId */ ruleId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 停止回刷规则 * /api/oneid/rule/{ruleId}/stopRefresh */ export namespace stopRefreshJob { export class Params { /** ruleId */ ruleId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交规则:不修改任何信息 * /api/oneid/rule/{ruleId}/submit */ export namespace postRuleByRuleIdSubmit { export class Params { /** ruleId */ ruleId: string; /** lock */ lock: number; /** submitComment */ submitComment: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交规则 * /api/oneid/rule/{ruleId}/submit */ export namespace putRuleByRuleIdSubmit { export class Params { /** ruleId */ ruleId: string; /** lock */ lock: number; } export type Response = defs.BehaviorRuleId; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取规则的版本 * /api/oneid/rule/{ruleId}/version */ export namespace ruleVersion { export class Params { /** ruleId */ ruleId: string; /** versionId */ versionId: number; } export type Response = defs.RuleVersionDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:乐天一] OneId全局搜索相关API */ export namespace oneIdSearch { /** * 获取数据萃取搜索结果 * /api/ide/search/listDataDistill */ export namespace getDataDistillSearchResult { export class Params { /** 责任人 ID */ ownerIdList?: Array; /** 搜索关键词 */ keyword?: string; } export type Response = defs.IdeSearchResultBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨、陈均、洞幽;前端:琳峰] 菜单树 */ export namespace oneIdTree { /** * 数据萃取 - 标签工厂- 工厂标签 * /api/tree/oneid/factoryLabel */ export namespace oneIdFactoryLabel { export class Params { /** keyword */ keyword?: string; /** pageNum */ pageNum: number; /** pageSize */ pageSize: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据萃取 - 标签工厂- 标签类目 * /api/tree/oneid/labelCategory */ export namespace oneIdLabelCategory { export class Params {} export type Response = defs.TreeNodeBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据萃取 - 标签工厂- 标签类目-子菜单 * /api/tree/oneid/labelCategorySubTree */ export namespace oneIdLabelCategorySubTree { export class Params { /** labelCategoryId */ labelCategoryId: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据萃取 - 标签工厂- 标签逻辑表 * /api/tree/oneid/labelTable */ export namespace oneIdLabelTable { export class Params {} export type Response = defs.TreeNodeBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据萃取 - 行为中心 - 行为元素 * /api/tree/oneid/oneid/behavior/element */ export namespace oneIdBehaviorElement { export class Params { /** behaviorElementType */ behaviorElementType?: | 'DOMAIN' | 'BIZ_LINE' | 'ACTION' | 'OBJECT' | 'OBJECT_PROPERTY'; /** keyword */ keyword?: string; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据萃取 - 行为中心 - 行为规则 * /api/tree/oneid/rule */ export namespace oneIdBehaviorRule { export class Params { /** keyword */ keyword?: string; /** pageNum */ pageNum: number; /** pageSize */ pageSize: number; } export type Response = defs.TreeNodeBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:琳峰,琬珺] 版本 */ export namespace oneIdVersion { /** * 获取版本列表 * /api/oneid/version/list */ export namespace versionVOS { export class Params { /** objectId */ objectId: string; /** objectType */ objectType: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * 升级或维护操作日志服务 */ export namespace operationLog { /** * 获取操作日志信息 * /api/upgrade/log/info */ export namespace getOperationLog { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * 新版物理数据源相关API */ export namespace physicalDataSource { /** * 新建数据源 * /api/dataSource */ export namespace createDataSource { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查数据源的连通性 * /api/dataSource/activity */ export namespace checkActivity { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据源配置信息 * /api/dataSource/batch/configuration */ export namespace batchGetDataSourceConfiguration { export class Params { /** dataSourceId */ dataSourceId: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量删除数据源 * /api/dataSource/batchDelete */ export namespace batchDelete { export class Params { /** 数据源Id列表 */ dataSourceIds: Array; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索数据源(包括配置信息) * /api/dataSource/configuration/search */ export namespace searchDsConfigList { export class Params { /** name */ name?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下实时数据源列表 * /api/dataSource/realtime/list */ export namespace getTenantRealtimeDatasourceList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索数据源 * /api/dataSource/search */ export namespace searchDsList { export class Params { /** name */ name?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 上传数据源相关的认证文件 * /api/dataSource/upload */ export namespace uploadFile { export class Params { /** keytab文件 */ keytabFile?: File; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除一个数据源 * /api/dataSource/{dataSourceId} */ export namespace deleteDataSource { export class Params { /** dataSourceId */ dataSourceId: string; /** datasourceName */ datasourceName: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查数据源的连通性 * /api/dataSource/{dataSourceId}/activity */ export namespace checkExistDataSourceActivity { export class Params { /** dataSourceId */ dataSourceId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据源基本信息 * /api/dataSource/{dataSourceId}/basicInfo */ export namespace getDataSourceBasicInfo { export class Params { /** dataSourceId */ dataSourceId: string; } export type Response = defs.DataSourceDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新数据源的基本信息 * /api/dataSource/{dataSourceId}/basicInfo */ export namespace updateDataSource { export class Params { /** dataSourceId */ dataSourceId: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取数据源配置信息 * /api/dataSource/{dataSourceId}/configuration */ export namespace getDataSourceConfiguration { export class Params { /** dataSourceId */ dataSourceId: string; } export type Response = defs.DataSourceConfigurationVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新数据源的配置信息 * /api/dataSource/{dataSourceId}/configuration */ export namespace updateDataSourceConfiguration { export class Params { /** dataSourceId */ dataSourceId: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 数据源owner转交 * /api/dataSource/{dataSourceId}/owner */ export namespace changeOwner { export class Params { /** dataSourceId */ dataSourceId: string; /** 转交owner */ ownerId?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取实时数据源schema * /api/dataSource/{dataSourceId}/schema */ export namespace getTenantRealtimeDatasourceSchema { export class Params { /** dataSourceId */ dataSourceId: string; /** datasourceName */ dataSourceType: string; } export type Response = defs.DataSourceSchemaDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:晟朗]物理表相关API */ export namespace physicalTable { /** * /获取物理表字段 * /api/physicaltable/getTableAttribute */ export namespace getTableAttribute { export class Params { /** 项目id */ projectId: number; /** 物理表项目id */ physicalTableProjectId: number; /** 物理表名称 */ logicTableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索同租户同集群的所有物理表 * /api/physicaltable/physical/incluster/tableList */ export namespace inClusterPhysicalTables { export class Params { /** prefix */ prefix?: string; } export type Response = Array; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 物理表来源主表权限校验 * /api/physicaltable/physical/permission */ export namespace hasTablePermission { export class Params { /** 物理表表名 */ tableName?: string; /** 物理表项目id */ physicalTableNameProjectId?: number; /** 项目Id */ projectId?: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * getColumnsByTableName * /api/physicaltable/project/physicalTable */ export namespace getColumnsByTableName { export class Params { /** tenantId */ tenantId: number; /** dsId */ dsId: string; /** 表名称 */ tableName: string; } export type Response = defs.PhysicalTableBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表的列信息 * @throws Exception code * PROJECT_MEMBER_NOT_FOUND:项目成员不存在 * GET_TABLE_NAME_LIST_IN_PROJECT_FAILED:获取表信息失败 * @p1-test * 无 * @p2-test * 无 * @p3-test * PROJECT_MEMBER_NOT_FOUND:使用非本项目成员帐号获取该项目下的表 * /api/physicaltable/project/{projectId}/columns */ export namespace getProjectByProjectIdColumns { export class Params { /** projectId */ projectId: number; /** 表名称 */ tableName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 前缀搜索项目下的物理表 * @throws Exception code * PROJECT_MEMBER_NOT_FOUND:项目成员不存在 * GET_TABLE_NAME_LIST_IN_PROJECT_FAILED:获取表信息失败 * @p1-test * 无 * @p2-test * 无 * @p3-test * PROJECT_MEMBER_NOT_FOUND:使用非本项目成员帐号获取该项目下的表 * /api/physicaltable/{bizUnitId}/tableList */ export namespace getTableListByKeyWord { export class Params { /** bizUnitId */ bizUnitId: number; /** 项目Id */ projectId?: number; /** 是否只查自己owner的 */ ownedOnly?: boolean; /** 表名前缀 */ tableName: string; } export type Response = defs.TableNameWithProjectIdBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表预览数据 * @throws Exception code * PROJECT_MEMBER_NOT_FOUND:项目成员不存在 * @p1-test * 无 * @p2-test * 无 * @p3-test * PROJECT_MEMBER_NOT_FOUND:使用非本项目成员帐号获取该项目下的表 * /api/physicaltable/{tableName}/preview */ export namespace getPreview { export class Params { /** tableName */ tableName: string; /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取物理表概要信息 * @throws Exception code * PROJECT_MEMBER_NOT_FOUND:项目成员不存在 * GET_TABLE_NAME_LIST_IN_PROJECT_FAILED:获取表信息失败 * @p1-test * 无 * @p2-test * 无 * @p3-test * PROJECT_MEMBER_NOT_FOUND:使用非本项目成员帐号获取该项目下的表 * /api/physicaltable/{tableName}/summary */ export namespace getSummary { export class Params { /** tableName */ tableName: string; /** projectId */ projectId: number; } export type Response = defs.PhysicalTableSummaryBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行;前端:晟朗] 偏好设置(系统/租户/用户偏好) */ export namespace preference { /** * 获取当前计算引擎支持的数据类型 * /api/preference/computeEngine/supportedDataType */ export namespace getSupportedDataType { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取计算引擎列表 * /api/preference/computingEngineList */ export namespace listComputingEngine { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取应用环境变量 * /api/preference/env/{propertyName} */ export namespace getEnvConfig { export class Params { /** propertyName */ propertyName: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 读取租户计算引擎类型设置 * /api/preference/tenant/computingEngine */ export namespace getComputingEngine { export class Params {} export type Response = defs.ComputingEngineBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置租户计算引擎 * /api/preference/tenant/computingEngine */ export namespace setComputingEngine { export class Params { /** type */ type: string; /** version */ version: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查计算引擎是否已经初始化元数据部署任务 * /api/preference/tenant/computingEngine/cluster */ export namespace checkIfComputeClusterInitialized { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 检查集群的连通性 * /api/preference/tenant/computingEngine/cluster/active */ export namespace checkClusterActive { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 配置租户计算引擎 * /api/preference/tenant/computingEngine/config */ export namespace configComputingEngine { export class Params { /** type */ type: string; /** version */ version: string; /** hostIps */ hostIps?: string; /** clusterUrls */ clusterUrls: Array; /** isDipInit */ isDipInit?: boolean; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 配置租户计算引擎[数据订正] * /api/preference/tenant/computingEngine/config/fixdata */ export namespace postTenantComputingEngineConfigFixdata { export class Params { /** type */ type: string; /** version */ version: string; /** clusterUrls */ clusterUrls: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 初始化周期函数 * /api/preference/tenant/periodFunction */ export namespace initPeriodFunction { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取用户偏好设置 * /api/preference/user/{key} */ export namespace getUserConfig { export class Params { /** key */ key: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设定用户偏好设置 * /api/preference/user/{key} */ export namespace setUserConfig { export class Params { /** key */ key: string; /** value */ value: string; /** desc */ desc?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:北渔]项目相关API */ export namespace project { /** * 搜索当前租户的项目信息 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project */ export namespace listTenantProjects { export class Params { /** 业务板块筛选 */ bizUnitId?: number; /** 是否只搜素未绑定的项目 */ unbindOnly?: boolean; /** 关键词筛选 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索当前租户的Basic项目信息 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/basic */ export namespace listBasicTenantProjects { export class Params { /** 业务板块筛选 */ bizUnitId?: number; /** 是否只搜素未绑定的项目 */ unbindOnly?: boolean; /** 关键词筛选 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新增项目:Basic项目 * @throws Exception code * PARAMETER_ERROR:参数错误 * NAMESPACE_NOT_FOUND:项目空间未找到 * PROJECT_CN_DUPLICATED:中文名重复 * PROJECT_NAME_DUPLICATED:英文名重复 * PROJECT_NOT_FOUND:项目未找到 * @p1-test * PARAMETER_ERROR:项目数据源设置为空,中文名或者英文名设置为空 * @p2-test * NAMESPACE_NOT_FOUND:配置一个不存在的项目空间 * PROJECT_CN_DUPLICATED: 配置一个已经存在的中文名 * PROJECT_NAME_DUPLICATED:配置一个已经存在的英文名 * PARAMETER_ERROR:配置一个不存在的数据源 * /api/project/basic */ export namespace createBasicProject { export class Params {} export type Response = defs.ProjectVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新项目:Basic项目 * @throws Exception code * PARAMETER_ERROR:参数错误 * NAMESPACE_NOT_FOUND:项目空间未找到 * PROJECT_CN_DUPLICATED:中文名重复 * PROJECT_NAME_DUPLICATED:英文名重复 * PROJECT_NOT_FOUND:项目未找到 * @p1-test * PARAMETER_ERROR:项目数据源设置为空,中文名或者英文名设置为空 * @p2-test * NAMESPACE_NOT_FOUND:配置一个不存在的项目空间 * PROJECT_CN_DUPLICATED: 配置一个已经存在的中文名 * PROJECT_NAME_DUPLICATED:配置一个已经存在的英文名 * PARAMETER_ERROR:配置一个不存在的数据源 * /api/project/basic/{projectId} */ export namespace updateBasicProject { export class Params { /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 项目绑定数据源的警告信息 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/bindDataSourceWarning */ export namespace getBindDataSourceWarning { export class Params { /** projectId */ projectId?: number; /** dsId */ dsId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 指定业务板块下已绑定空间的项目 * @throws Exception code * BIZ_UNIT_NOT_FOUND:业务板块不存在 * @p1-test * 无 * @p2-test * BIZ_UNIT_NOT_FOUND:获取一个不存在的业务板块下的项目 * /api/project/bindProjects */ export namespace getAllBindProjectByBizUnitId { export class Params { /** 业务板块Id */ bizUnitId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 项目的生产开发环境数据源警告信息 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/devProdDataSourceWarning */ export namespace getDevProdDataSourceWarning { export class Params { /** devDsId */ devDsId: number; /** prodDsId */ prodDsId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索当前租户的生产开发项目信息 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/devprod */ export namespace listDevProdTenantProjects { export class Params { /** 业务板块筛选 */ bizUnitId?: number; /** 是否只搜素未绑定的项目 */ unbindOnly?: boolean; /** 关键词筛选 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新增项目:生产开发 * @throws Exception code * PARAMETER_ERROR:参数错误 * NAMESPACE_NOT_FOUND:项目空间未找到 * PROJECT_CN_DUPLICATED:中文名重复 * PROJECT_NAME_DUPLICATED:英文名重复 * PROJECT_NOT_FOUND:项目未找到 * @p1-test * PARAMETER_ERROR:项目数据源设置为空,中文名或者英文名设置为空 * @p2-test * NAMESPACE_NOT_FOUND:配置一个不存在的项目空间 * PROJECT_CN_DUPLICATED: 配置一个已经存在的中文名 * PROJECT_NAME_DUPLICATED:配置一个已经存在的英文名 * PARAMETER_ERROR:配置一个不存在的数据源 * /api/project/devprod */ export namespace createProject { export class Params {} export type Response = defs.ProjectVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新项目:生产开发 * @throws Exception code * PARAMETER_ERROR:参数错误 * NAMESPACE_NOT_FOUND:项目空间未找到 * PROJECT_CN_DUPLICATED:中文名重复 * PROJECT_NAME_DUPLICATED:英文名重复 * PROJECT_NOT_FOUND:项目未找到 * @p1-test * PARAMETER_ERROR:项目数据源设置为空,中文名或者英文名设置为空 * @p2-test * NAMESPACE_NOT_FOUND:配置一个不存在的项目空间 * PROJECT_CN_DUPLICATED: 配置一个已经存在的中文名 * PROJECT_NAME_DUPLICATED:配置一个已经存在的英文名 * PARAMETER_ERROR:配置一个不存在的数据源 * /api/project/devprod/{projectId} */ export namespace updateDevProdProject { export class Params { /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * GET接口 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/grantCode */ export namespace getGrantCode { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询当前用户的项目 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/mine */ export namespace listMyProjects { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验项目名和数据源名是否一致 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/projectNameWarning */ export namespace getProjectNameWarning { export class Params { /** bindDsId */ bindDsId: number; /** projectName */ projectName: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取没有绑定到业务空间的项目 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/unBindProjects */ export namespace getUnBindProjectList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * validateDelete * /api/project/validateDelete */ export namespace validateDelete { export class Params { /** ids */ ids: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目的白名单列表 * /api/project/whitelist */ export namespace listProjectWhiteList { export class Params { /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据项目ID获取该项目所属业务板块下已绑定的所有的项目ID * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/{projectId} */ export namespace getProjectIdListByProjectId { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新项目 * @throws Exception code * PARAMETER_ERROR:参数错误 * NAMESPACE_NOT_FOUND:项目空间未找到 * PROJECT_CN_DUPLICATED:中文名重复 * PROJECT_NAME_DUPLICATED:英文名重复 * PROJECT_NOT_FOUND:项目未找到 * @p1-test * PARAMETER_ERROR:项目数据源设置为空,中文名或者英文名设置为空 * @p2-test * NAMESPACE_NOT_FOUND:配置一个不存在的项目空间 * PROJECT_CN_DUPLICATED: 配置一个已经存在的中文名 * PROJECT_NAME_DUPLICATED:配置一个已经存在的英文名 * PARAMETER_ERROR:配置一个不存在的数据源 * /api/project/{projectId} */ export namespace updateProject { export class Params { /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除项目 * @throws Exception code * PROJECT_HAS_DEPENDENCY:参数错误 * PROJECT_NOT_FOUND:项目空间未找到 * @p1-test * 无 * @p2-test * PROJECT_HAS_DEPENDENCY:删除一个有下游依赖的项目 * PROJECT_NOT_FOUND: 删除一个不存在的项目 * /api/project/{projectId} */ export namespace deleteDevProdProject { export class Params { /** projectId */ projectId: number; /** projectName */ projectName?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询当前用户是否为指定项目的成员 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/{projectId}/membership */ export namespace isMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目扩展信息 * @throws Exception code * PROJECT_NOT_FOUND:项目不存在 * @p1-test * 无 * @p2-test * PROJECT_NOT_FOUND:获取一个不存在的项目信息 * /api/project/{projectId}/projectWithExtendInfo */ export namespace getProjectWithExtendInfoById { export class Params { /** projectId */ projectId: number; } export type Response = defs.ProjectVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取支持的任务类型 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/project/{projectId}/supportedTaskType */ export namespace getSupportedTaskType { export class Params { /** projectId */ projectId: number; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:见行;前端:北渔] 项目成员管理 */ export namespace projectMember { /** * 获取项目成员列表 * /api/project/{projectId}/member */ export namespace listProjectMembers { export class Params { /** projectId */ projectId: number; /** 用户名 或 userId关键字筛选 */ keyword?: string; /** 角色筛选: 0(owner), 1(admin), 2(developer), 3(guest) */ roleId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量添加项目成员 * /api/project/{projectId}/member/ */ export namespace addProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量更新用户角色 * /api/project/{projectId}/member/ */ export namespace updateProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量移除项目成员 * /api/project/{projectId}/member/ */ export namespace removeMultipleProjectMembers { export class Params { /** projectId */ projectId: number; /** 需要移除的用户 ID, 逗号分隔 */ userIds: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量添加开发环境项目成员 * /api/project/{projectId}/member/dev */ export namespace addDevProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量更新开发环境用户角色 * /api/project/{projectId}/member/dev */ export namespace updateDevProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量移除开发环境项目成员 * /api/project/{projectId}/member/dev */ export namespace removeDevMultipleProjectMembers { export class Params { /** projectId */ projectId: number; /** 需要移除的用户 ID, 逗号分隔 */ userIds: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量添加生产环境项目成员 * /api/project/{projectId}/member/prod */ export namespace addProdProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量更新生产环境用户角色 * /api/project/{projectId}/member/prod */ export namespace updateProdProjectMember { export class Params { /** projectId */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量移除生产环境项目成员 * /api/project/{projectId}/member/prod */ export namespace removeProdMultipleProjectMembers { export class Params { /** projectId */ projectId: number; /** 需要移除的用户 ID, 逗号分隔 */ userIds: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目成员信息 * /api/project/{projectId}/member/{userId} */ export namespace getProjectMember { export class Params { /** projectId */ projectId: number; /** userId */ userId: string; } export type Response = defs.ProjectMemberBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新用户角色 * /api/project/{projectId}/member/{userId} */ export namespace putMemberByUserId { export class Params { /** projectId */ projectId: number; /** userId */ userId: string; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新用户角色 * /api/project/{projectId}/member/{userId}/dev */ export namespace putMemberByUserIdDev { export class Params { /** projectId */ projectId: number; /** userId */ userId: string; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新用户角色 * /api/project/{projectId}/member/{userId}/prod */ export namespace putMemberByUserIdProd { export class Params { /** projectId */ projectId: number; /** userId */ userId: string; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:九宫;前端:琬珺]:公用计算逻辑 */ export namespace publicSql { /** * 查询Dimension逻辑表公用计算逻辑 * /api/publicSql/dimTable/{dimId} */ export namespace findInDim { export class Params { /** Dimension表id */ dimId: number; /** 项目id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量删除Dimension逻辑表公用计算逻辑 * /api/publicSql/dimTable/{dimId}/delete */ export namespace deleteInDim { export class Params { /** Dimension表id */ dimId: number; /** 批量删除公用计算逻辑的id列表 */ ids: Array; /** 项目id */ projectId: number; /** 锁信息-参数标识-dimId */ lock: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊查询Dimension逻辑表公用计算逻辑 * /api/publicSql/dimTable/{dimId}/fuzzy */ export namespace fuzzyFindInDim { export class Params { /** Dimension表id */ dimId: number; /** 模糊查询的key,若为空则是查询全部 */ fuzzyName?: string; /** 项目id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 保存Dimension逻辑表公用计算逻辑 * /api/publicSql/dimTable/{dimId}/save */ export namespace saveInDim { export class Params { /** Dimension表id */ dimId: number; /** 项目id */ projectId: number; /** 锁信息-参数标识-dimId */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询Dimension逻辑表线上公用计算逻辑 * /api/publicSql/dimTable/{dimId}/{publicSqlId}/online */ export namespace findInDimOnline { export class Params { /** Dimension表id */ dimId: number; /** 项目id */ projectId: number; /** 公用计算逻辑 */ publicSqlId: number; } export type Response = defs.PublicSqlDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询Dimension逻辑表公用计算逻辑的影响字段 * /api/publicSql/dimTable/{publicSqlId}/impactAttributes */ export namespace findImpactAttributesInFact { export class Params { /** 公用计算逻辑id */ publicSqlId: number; /** Dimensionid */ dimId: number; /** 项目id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询事实逻辑表线上公用计算逻辑 * /api/publicSql/factTable/{modelId}/{publicSqlId}/online */ export namespace findInFactOnline { export class Params { /** 事实表id */ modelId: number; /** 项目id */ projectId: number; /** 公用计算逻辑id */ publicSqlId: number; } export type Response = defs.PublicSqlDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询事实逻辑表线下公用计算逻辑 * /api/publicSql/model/{modelId} */ export namespace findInFact { export class Params { /** 事实逻辑表id */ modelId: number; /** 项目id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量事实删除逻辑表公用计算逻辑 * /api/publicSql/model/{modelId}/delete */ export namespace deleteInFact { export class Params { /** 事实逻辑表id */ modelId: number; /** 需删除的公用计算逻辑id列表 */ ids: Array; /** 项目id */ projectId: number; /** 锁信息-参数标识-modelId */ lock: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模糊查询事实逻辑表公用计算逻辑 * /api/publicSql/model/{modelId}/fuzzy */ export namespace fuzzyFindInFact { export class Params { /** 事实逻辑表id */ modelId: number; /** 项目id */ projectId: number; /** fuzzyName */ fuzzyName?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 保存事实逻辑表公用计算逻辑 * /api/publicSql/model/{modelId}/save */ export namespace saveInFact { export class Params { /** 事实逻辑表id */ modelId: number; /** 项目id */ projectId: number; /** 锁信息-参数标识-modelId */ lock: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询公用计算逻辑的影响字段 * /api/publicSql/model/{publicSqlId}/impactAttributes */ export namespace findImpactAttributesInDim { export class Params { /** 公用计算逻辑id */ publicSqlId: number; /** 项目id */ projectId: number; /** 事实逻辑表id */ modelId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:发布记录 */ export namespace publishedObject { /** * 获取待发布列表筛选器 * /api/publishedObject/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 发布 * /api/publishedObject/publish */ export namespace publish { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/publishedObject/search */ export namespace search { export class Params { /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询状态 * /api/publishedObject/status */ export namespace listStatus { export class Params { /** ids */ ids: Array; } export type Response = ObjectMap; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * alert Record [报警记录相关接口] */ export namespace qsmdAlertRecord { /** * 查询报警记录配置项 * /qsmd/api/alertRecord/filter/list */ export namespace listFilterOptions { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询报警记录 * /qsmd/api/alertRecord/search */ export namespace queryCustomAlert { export class Params { /** alertReason */ alertReason?: Array; /** alertType */ alertType?: Array; /** alertStatus */ alertStatus?: Array; /** alertSentTo */ alertSentTo?: Array; /** creators */ creators?: Array; /** dateList */ dateList?: Array; /** nodeName */ nodeName?: string; /** projectId */ projectId?: number; /** currPage */ currPage?: number; /** limit */ limit?: number; /** tenantId */ tenantId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * Custom alert [自定义报警相关接口] */ export namespace qsmdCustomAlert { /** * 新建自定义报警 * /qsmd/api/customAlert */ export namespace insertCustomAlert { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询配置了报警的节点 * /qsmd/api/customAlert/alert/node */ export namespace queryNode { export class Params { /** nodeId */ nodeId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 当前环境支持的报警方式 * /qsmd/api/customAlert/alertTypes */ export namespace listSupportedAlertTypes { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 自定义报警查询配置 * /qsmd/api/customAlert/filter */ export namespace listCustomFilter { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询自定义报警 * /qsmd/api/customAlert/search */ export namespace queryCustomAlert { export class Params { /** alertReason */ alertReason?: Array; /** alertType */ alertType?: Array; /** alertStatus */ alertStatus?: Array; /** alertSentTo */ alertSentTo?: Array; /** creators */ creators?: Array; /** dateList */ dateList?: Array; /** nodeName */ nodeName?: string; /** projectId */ projectId?: number; /** currPage */ currPage?: number; /** limit */ limit?: number; /** tenantId */ tenantId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改自定义报警 * /qsmd/api/customAlert/{id} */ export namespace updateCustomAlert { export class Params { /** id */ id: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除自定义报警 * /qsmd/api/customAlert/{id} */ export namespace deleteCustomAlert { export class Params { /** id */ id: number; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 开关自定义报警 * /qsmd/api/customAlert/{id}/switch */ export namespace switchAlert { export class Params { /** id */ id: number; /** alertSwitch */ alertSwitch: boolean; /** projectId */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * task [任务相关接口] */ export namespace qsmdTask { /** * 任务搜索 * /qsmd/api/task/search */ export namespace searchTask { export class Params { /** taskName */ taskName?: string; /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 用户查询 * /qsmd/api/user/list */ export namespace searchUser { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:程素、莫萱;前端:北渔] DIP数据地图推荐相关API */ export namespace recommend { /** * 获取推荐列表 * /api/dip/recommend/list */ export namespace listRecommendResultList { export class Params { /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均;前端:晟朗] region */ export namespace region { /** * 获取region的信息 * /api/region */ export namespace getRegions { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 增加region * /api/region */ export namespace addRegion { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取地址池配置 * /api/region/address */ export namespace getAddressPools { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取当前region * /api/region/current */ export namespace getCurrentRegion { export class Params {} export type Response = defs.RegionBO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取region odps配置 * /api/region/odps */ export namespace getAllOdpsRegionConfigs { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 增加region odps配置 * /api/region/odps */ export namespace addOdpsRegionConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 验证endpoint是否合法 * /api/region/odps/endpoint/check */ export namespace checkOdpsEndpoint { export class Params { /** endpoint */ endpoint?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取产品的版本号 * /api/region/prod/version */ export namespace getRegionProdVersion { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除region * /api/region/{regionId} */ export namespace deleteRegion { export class Params { /** 消息ID */ regionId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除region odps配置 * /api/region/{regionId}/odps */ export namespace deleteOdpsRegionConfig { export class Params { /** 消息ID */ regionId: string; /** endpoint */ endpoint?: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [服务端:扶犁;前端:五灵]-SQL编辑器API */ export namespace sqlEditor { /** * SQL自动完成提示 * /api/editor/assist */ export namespace assist { export class Params { /** 当前项目 */ projectId: number; /** 用户输入 */ keyword?: string; /** 编辑器环境,design|online,design环境下提示未发布元数据,默认为online */ envirenment?: string; /** 当前编辑的表名 */ designtable?: string; /** 当前编辑的表ID */ designtableid?: string; /** 当前编辑语句的类型 */ sqlType?: 'DQL' | 'DDL' | 'DML' | 'DCL'; } export type Response = defs.CodeAssistBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表元数据信息 * /api/editor/functionMeta */ export namespace getFunctionMeta { export class Params { /** 当前项目 */ projectId: number; /** 用户输入 */ function: string; } export type Response = defs.CodeEditorFunctionMetaBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 预编译SQL脚本 返回JSON数据:{status:'总体执行状态', errorStack:'错误异常', tasks:[{ status:'单条SQL执行状态', physicalSql:'物理SQL', error:{ startRow:'错误开始行' startCol:'错误开始列' message:'错误信息' } }] } * /api/editor/precompile */ export namespace preCompile { export class Params { /** 项目ID */ projectId: number; /** 选中代码的起始行号 */ selRowStart?: string; /** 选中代码的起始列号 */ selColStart?: string; } export type Response = defs.PreCompileBO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 表元数据信息 * /api/editor/tableMeta */ export namespace getTableMeta { export class Params { /** 当前项目 */ projectId: number; /** 用户输入 */ catalog?: string; /** 用户输入 */ table: string; } export type Response = defs.CodeEditorTableMetaBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 校验SQL代码 * /api/editor/validate */ export namespace validateSql { export class Params { /** 项目ID */ projectId: number; /** 校验规则 */ rule: string; } export type Response = defs.CodeValidateDTO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大;前端:琳峰,北渔]统计周期相关API */ export namespace statPeriod { /** * 新建统计周期 * @throws Exception code * TIME_PERIOD_NAME_ILLEGAL:统计周期英文名非法 * TIME_PERIOD_CN_ILLEGAL:统计周期中文名非法 * TIME_PERIOD_DES_ILLEGAL:统计周期描述非法 * TIME_PERIOD_DUPLICATE:统计周期表达式重复 * TIME_PERIOD_CN_DUPLICATED:项统计周期中文名重复 * TIME_PERIOD_NAME_DUPLICATED:统计周期英文名重复 * @p1-test * TIME_PERIOD_NAME_ILLEGAL:统计周期英文名长度超过64个字符 * TIME_PERIOD_CN_ILLEGAL:统计周期中文名长度超过64个字符,如ID=0 * TIME_PERIOD_DES_ILLEGAL:统计周期描述长度超过128个字符,如ID=0 * @p2-test * DATA_DOMAIN_CN_DUPLICATED:配置一个已经存在的中文名 * DATA_DOMAIN_NAME_DUPLICATED: 配置一个已经存在的英文名 * TIME_PERIOD_DUPLICATE:配置一个起止时间已经存在的时间周期 * /api/statPeriod */ export namespace createStatPeriod { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取统计周期列表 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/statPeriod/allList */ export namespace getAllStatPeriodList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取bizdate函数列表 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/statPeriod/bizDateFunction */ export namespace listBizDateFunction { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新统计周期 * @throws Exception code * TIME_PERIOD_NAME_ILLEGAL:统计周期英文名非法 * TIME_PERIOD_CN_ILLEGAL:统计周期中文名非法 * TIME_PERIOD_DES_ILLEGAL:统计周期描述非法 * TIME_PERIOD_DUPLICATE:统计周期表达式重复 * TIME_PERIOD_CN_DUPLICATED:项统计周期中文名重复 * TIME_PERIOD_NAME_DUPLICATED:统计周期英文名重复 * @p1-test * TIME_PERIOD_NAME_ILLEGAL:统计周期英文名长度超过64个字符 * TIME_PERIOD_CN_ILLEGAL:统计周期中文名长度超过64个字符,如ID=0 * TIME_PERIOD_DES_ILLEGAL:统计周期描述长度超过128个字符,如ID=0 * @p2-test * DATA_DOMAIN_CN_DUPLICATED:配置一个已经存在的中文名 * DATA_DOMAIN_NAME_DUPLICATED: 配置一个已经存在的英文名 * TIME_PERIOD_DUPLICATE:配置一个起止时间已经存在的时间周期 * /api/statPeriod/{statPeriodId} */ export namespace updateStatPeriod { export class Params { /** statPeriodId */ statPeriodId: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除统计周期 * @throws Exception code * TIME_PERIOD_NOT_FOUND:统计周期不存在 * @p1-test * 无 * @p2-test * TIME_PERIOD_NOT_FOUND:删除一个不存在的统计周期 * /api/statPeriod/{statPeriodId} */ export namespace deleteStatPeriod { export class Params { /** statPeriodId */ statPeriodId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:多轨;前端:渔火]:站内信 */ export namespace stationLetter { /** * 消息盒子-展示最近TOP-N的未读站内信 * /api/messageBox/unread/list */ export namespace recentUnReadStationLetters { export class Params { /** topNum */ topNum: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 站内信中心-站内信列表 * /api/stationLetter/list */ export namespace unReadStationLettersFromSender { export class Params { /** 页数 */ page?: number; /** 每页的数目 */ pageSize?: number; /** 发送方,为空则查询所有的列表 */ sender?: string; /** 是否已读,为空则查询所有的列表 */ haveRead?: boolean; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 站内信中心-批量标记已读 * /api/stationLetter/readAll */ export namespace readAll { export class Params { /** stationLetterIds */ stationLetterIds: Array; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 站内信中心-某一用户当前未读的站内信数,按照发送方进行分类 * /api/stationLetter/unread/sameSender/category */ export namespace unReadStationLetterCount { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:渔火]:待发布对象 */ export namespace submittedObject { /** * count * /api/submittedObject/count */ export namespace count { export class Params { /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取待发布列表筛选器 * /api/submittedObject/list/filter */ export namespace listFilters { export class Params { /** bizUnitId */ bizUnitId: number; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 搜索 * /api/submittedObject/search */ export namespace search { export class Params { /** keyword */ keyword?: string; /** 筛选项列表,json格式
[
  {
    id: "id1",
    options: [
      { value: "val1" }
    ]
  }
]
*/ filter?: string; /** page */ page: number; /** pageSize */ pageSize: number; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:陈均;前端:双扬] 汇总逻辑表相关API */ export namespace summaryTable { /** * 获取汇总逻辑表List * @throws Exception code* 无 * @p1-test * 无 * @p2-test * SUMMARY_TABLE_NOT_FOUND:输入一个不存在的汇总逻辑表ID * /api/model/sumTable */ export namespace getSummaryTableList { export class Params { /** 业务板块ID */ bizUnitId: number; /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 新建汇总逻辑表 * @throws Exception code* SUMMARY_TABLE_BIZ_UNIT_EMPTY:业务板块为空 * SUMMARY_TABLE_GRANULARITY_DUPLICATED:(id为空的时候)粒度已存在 * SUMMARY_TABLE_INDEX_NAME_DUPLICATED:(id不为空的时候)汇总逻辑表的指标名重复 * @p1-test * 无 * @p2-test * SUMMARY_TABLE_CATALOG_DUPLICATED:配置一个业务板块下已存在的分类名* SUMMARY_TABLE_GRANULARITY_DUPLICATED:(id为空的时候)新建一个Dimension相同(粒度)已存在的汇总逻辑表 * SUMMARY_TABLE_INDEX_NAME_DUPLICATED:(id不为空的时候)新增的物理指标的名字重复(和Dimension或者派生指标或者物理指标名重复) * /api/model/sumTable */ export namespace createSummaryTable { export class Params { /** 项目Id */ projectId: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取业务板块下汇总逻辑表的分类 * @throws Exception code* 无 * @p1-test * 无 * @p2-test * 无 * /api/model/sumTable/catalog */ export namespace getSummaryCatalogList { export class Params { /** 业务板块ID */ bizUnitId: number; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 添加汇总逻辑表的分类 * @throws Exception code* SUMMARY_TABLE_CATALOG_DUPLICATED:业务板块下汇总逻辑表的分类名重名 * @p1-test * 无 * @p2-test * SUMMARY_TABLE_CATALOG_DUPLICATED:配置一个业务板块下已存在的分类名 * /api/model/sumTable/catalog */ export namespace addSummaryCatalog { export class Params { /** 项目Id */ projectId: number; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除分类 * /api/model/sumTable/catalog */ export namespace deleteSummaryCatalog { export class Params { /** 分类id */ catalogId?: number; /** 项目Id */ projectId: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取汇总逻辑表ID * @throws Exception code* 无 * @p1-test * 无 * @p2-test * 无 * /api/model/sumTable/sumTableId */ export namespace getSummaryTableId { export class Params { /** 业务板块ID */ bizUnitId: number; /** DimensionID列表 */ dimId?: Array; /** projectId */ projectId: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 汇总表-校验 * /api/model/sumTable/validate */ export namespace validate { export class Params { /** projectId */ projectId?: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取汇总逻辑表 * @throws Exception code* SUMMARY_TABLE_NOT_FOUND:汇总逻辑表不存在 * @p1-test * 无 * @p2-test * SUMMARY_TABLE_NOT_FOUND:输入一个不存在的汇总逻辑表ID * /api/model/sumTable/{summaryTableId} */ export namespace getSummaryTable { export class Params { /** 汇总逻辑表ID */ summaryTableId: number; /** projectId */ projectId: number; } export type Response = defs.SummaryTableDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改汇总逻辑表-异步接口-返回taskId * @throws Exception code* SUMMARY_TABLE_BIZ_UNIT_EMPTY:业务板块为空 * SUMMARY_TABLE_GRANULARITY_DUPLICATED:(id为空的时候)粒度已存在 * SUMMARY_TABLE_INDEX_NAME_DUPLICATED:(id不为空的时候)汇总逻辑表的指标名重复 * @p1-test * 无 * @p2-test * SUMMARY_TABLE_CATALOG_DUPLICATED:配置一个业务板块下已存在的分类名* SUMMARY_TABLE_GRANULARITY_DUPLICATED:(id为空的时候)新建一个Dimension相同(粒度)已存在的汇总逻辑表 * SUMMARY_TABLE_INDEX_NAME_DUPLICATED:(id不为空的时候)新增的物理指标的名字重复(和Dimension或者派生指标或者物理指标名重复) * /api/model/sumTable/{summaryTableId} */ export namespace updateSummaryTable { export class Params { /** 汇总逻辑表ID */ summaryTableId?: number; /** 项目Id */ projectId: number; /** lock */ lock?: number; } export type Response = number; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除汇总逻辑表 * @throws Exception code* 无 * @p1-test * 无 * @p2-test * 删除的汇总逻辑表需要检测依赖 * /api/model/sumTable/{summaryTableId} */ export namespace deleteSummaryTable { export class Params { /** 汇总逻辑表ID */ summaryTableId?: number; /** projectId */ projectId: number; /** 删除备注 */ deleteComment: string; /** 汇总逻辑表名 */ name: string; /** lock */ lock: number; } export type Response = number; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 汇总逻辑表-获取配置信息 * /api/model/sumTable/{summaryTableId}/config */ export namespace config { export class Params { /** 项目id */ projectId: number; /** summaryTableId */ summaryTableId: number; } export type Response = defs.SummaryTableConfigDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 汇总逻辑表-配置信息 * /api/model/sumTable/{summaryTableId}/config */ export namespace putSumTableBySummaryTableIdConfig { export class Params { /** 项目id */ projectId: number; /** summaryTableId */ summaryTableId: number; /** lock */ lock: number; /** 逻辑表名字 */ name: string; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * validateDelete * /api/model/sumTable/{summaryTableId}/validateDelete */ export namespace validateDelete { export class Params { /** projectId */ projectId?: number; /** summaryTableId */ summaryTableId?: number; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:翠翠/成至(逻辑表调度配置);前端:双扬/齐阳(逻辑表调度配置)]逻辑表相关API */ export namespace table { /** * 根据逻辑表名称 搜索对应的逻辑表 * /api/model/table */ export namespace searchTable { export class Params { /** 数据域id */ dataDomain: number; /** 关键词 */ keyword: string; /** 项目Id */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据逻辑表type和id获取逻辑表表名 * /api/model/table/model/name */ export namespace queryTableName { export class Params { /** 表类型 */ tableType: number; /** 表id */ tableId: number; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表相关的详情 * /api/model/table/queryTableDetail */ export namespace queryTableDetail { export class Params { /** 项目id */ projectId: number; /** 表ID */ tableId: number; /** 表类型type */ tableTypeId: number; } export type Response = defs.SingleModelDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 解析逻辑表的调度配置, 并给出调度配置有问题的提示 * /api/model/table/{modelId}/checkParseIssue */ export namespace checkParseIssue { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; } export type Response = defs.LogicalTableParseIssueDTO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 解析逻辑表的调度配置参数, 就是basicInfo中的参数 * /api/model/table/{modelId}/checkScheduleConfigParams */ export namespace checkScheduleConfigParams { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; /** 逻辑表调度配置的参数 */ configParams: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 解析逻辑表的输入输出 * /api/model/table/{modelId}/parseInputOutput */ export namespace parseInputOutput { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; } export type Response = defs.LogicalTableInputOutputDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取逻辑表的调度配置 * /api/model/table/{modelId}/scheduleConfig */ export namespace queryLogicalTableScheduleConfig { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; /** 逻辑表类型:TableTypeEnum */ tableType: number; } export type Response = defs.LogicalTableScheduleConfigDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 保存逻辑表的调度配置, 会先检测调度配置的正确性, 如果不正确会抛出异常提示错误原因 * /api/model/table/{modelId}/scheduleConfig */ export namespace saveLogicalTableScheduleConfig { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; /** 逻辑表类型:TableTypeEnum */ tableType: number; } export type Response = defs.LogicalTableParseIssueDTO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 强制保存逻辑表的调度配置, 不检测调度配置直接保存 * /api/model/table/{modelId}/scheduleConfig/force */ export namespace forceSaveLogicalTableScheduleConfig { export class Params { /** 逻辑表模型id */ modelId: number; /** 项目Id */ projectId: number; /** 逻辑表类型:TableTypeEnum */ tableType: number; } export type Response = any; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:莫萱;前端:琳峰]表详情页相关API */ export namespace tableDetail { /** * 获取表描述详情信息 * /api/dip/detail/getDetail */ export namespace getTableDetailByParam { export class Params { /** 表id */ id: string; /** 查询表类型 */ tableType: number; } export type Response = defs.TableDetailBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大,莫萱;前端:晟朗]运维中心—任务相关API */ export namespace task { /** * [公共]获取节点状态的列表 该接口返回所有节点的状态枚举不会报错! * /api/smc/project/task/statusCode/list */ export namespace getTaskStatus { export class Params {} export type Response = ObjectMap; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务统计信息 * /api/smc/project/tasks/statistic */ export namespace getTaskStatistic { export class Params {} export type Response = defs.TaskStatisticVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据手工节点id获取其所有task列表 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/node/{nodeId}/taskList */ export namespace getTaskListByNodeId { export class Params { /** 项目id */ projectId: number; /** 手工节点id */ nodeId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取临时查询的日志 * @throws Exception code * QUERY_JOB_NOT_FOUND: 临时查询没找到 * @p1-test * queryId: queryId为空或者随便编造一个值 * @p2-test * QUERY_JOB_NOT_FOUND: 查找一个不存在的查询的日志 * /api/smc/project/{projectId}/query/{queryId}/index/{index}/log */ export namespace getQueryLog { export class Params { /** projectId */ projectId: number; /** queryId */ queryId: string; /** index */ index: number; /** 偏移量 */ offset: number; } export type Response = defs.QueryLogVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取临时查询的结果 * @throws Exception code * QUERY_JOB_NOT_FOUND: 临时查询没找到 * @p1-test * queryId: queryId为空或者随便编造一个值 * @p2-test * QUERY_JOB_NOT_FOUND: 查找一个不存在的查询的查询结果 * /api/smc/project/{projectId}/query/{queryId}/index/{index}/result */ export namespace getQueryResult { export class Params { /** projectId */ projectId: number; /** queryId */ queryId: string; /** index */ index: number; } export type Response = defs.QueryResultVO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 中止临时查询 * @throws Exception code * QUERY_JOB_NOT_FOUND: 临时查询没找到 * @p1-test * queryId: queryId为空或者随便编造一个值 * @p2-test * QUERY_JOB_NOT_FOUND: 中止一个不存在的查询 * /api/smc/project/{projectId}/query/{queryId}/kill */ export namespace killQuery { export class Params { /** projectId */ projectId: number; /** queryId */ queryId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据任务id列表查询任务详情 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/batch */ export namespace batchGetTasksById { export class Params { /** projectId */ projectId: number; /** 任务id列表 */ taskIds: Array; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 周期实例列表及搜索 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/list */ export namespace searchTasks { export class Params { /** projectId */ projectId: number; /** 搜索文本 */ searchText?: string; /** 业务日期 */ bizDate?: string; /** 每页大小 */ pageSize?: number; /** 页数 */ pageNum?: number; /** 归属范围,逗号隔开userId */ userIds?: string; /** 状态集合,code逗号隔开 */ statusCodes?: string; /** 实例类型(1:正常,2:补数据,3:手动) */ dagrunType?: number; /** 实例来源(黑盒:onedata3-server|IDE:onedata-ide) */ nodeFroms?: Array; /** dagrunId(搜索补数据实例需要) */ dagrunId?: string; /** 运行日期 */ runDate?: string; /** 任务类型【operator类型】 */ operatorTypes?: string; } export type Response = defs.PaginatedResult; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 提交一个临时任务 * @throws Exception code * QUERY_CODE_IS_EMPTY: 临时查询代码为空 * SQL_LOGIC_VALIDATION_ERROR: 调用元数据进行sql解析出错 * QUERY_STATEMENT_IS_EMPTY: 解析出来的查询语句为空 * @p1-test * tempTaskRequestDTO.sqlText: sqlText为空 * tempTaskRequestDTO.sqlText: sql语句里面无select * @p2-test * QUERY_CODE_IS_EMPTY: 临时查询代码为空 * SQL_LOGIC_VALIDATION_ERROR: 调用元数据进行sql解析出错 * QUERY_STATEMENT_IS_EMPTY: 解析出来的查询语句为空 * /api/smc/project/{projectId}/tasks/submit */ export namespace submitTask { export class Params { /** projectId */ projectId: number; } export type Response = defs.QueryVO; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据任务id查询任务详情 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId} */ export namespace getTaskById { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = defs.TaskEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查找任务特定版本的代码 * @throws Exception code * TASK_NOT_FOUND: taskId对应的任务不存在 * NODE_CONTENT_NOT_FOUND: 任务对应的节点的代码不存在 * @p1-test * taskId: taskId给一个已经删除的脏数据的taskId,比如t_1 * @p2-test * TASK_NOT_FOUND: taskId对应的任务不存在 * NODE_CONTENT_NOT_FOUND: 任务对应的节点的代码不存在 * /api/smc/project/{projectId}/tasks/{taskId}/codeContent */ export namespace getNodeCodeContent { export class Params { /** projectId */ projectId?: number; /** taskId */ taskId?: string; /** 版本 */ version?: number; } export type Response = defs.NodeContentEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务代码 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/tasks/{taskId}/content */ export namespace getTask { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = defs.TaskContentEntity; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 下载任务结果 基本无异常出现 * /api/smc/project/{projectId}/tasks/{taskId}/data */ export namespace exportData { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = any; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务数据倾斜优化诊断信息及优化后代码 * /api/smc/project/{projectId}/tasks/{taskId}/diagnosisInfo */ export namespace getTaskDiagnosisInfo { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = defs.TaskDiagnosisInfoDTO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据任务id查询其下游任务 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/downstream */ export namespace getDownstream { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 层数, 最大30 */ depth: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 重跑下游任务 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/fixData */ export namespace fixData { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; /** 是否包含根节点 */ withRootTask: boolean; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 中止任务 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/kill */ export namespace killTask { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId?: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务运行日志 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/tasks/{taskId}/log */ export namespace getTaskLog { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 偏移量 */ offset: number; } export type Response = defs.TaskrunLog; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 暂停任务调度 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/pause */ export namespace pauseTask { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点名 */ nodeName: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 去除上游依赖 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/removeUpstreamLinks */ export namespace removeUpstreamLinks { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; /** 节点名 */ nodeName: string; } export type Response = boolean; export const init: Response; export function request(params, bodyParams): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, bodyParams, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 重跑任务 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/rerun */ export namespace rerun { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; /** 节点名 */ nodeName: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 强制重跑 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/rerunForcibly */ export namespace rerunForcibly { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务执行结果 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/tasks/{taskId}/result */ export namespace getTaskResult { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 恢复任务调度 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/resume */ export namespace resumeTask { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 手动置成功 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/setSuccess */ export namespace setSuccess { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务实例是否开启了数据倾斜优化 * /api/smc/project/{projectId}/tasks/{taskId}/skewOptimizeSwitchState */ export namespace getTaskSkewOptimizeSwitchState { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务执行日志 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/tasks/{taskId}/taskrun/{taskrunId}/taskrunLog */ export namespace getTaskrunLog { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** taskrunId */ taskrunId: string; } export type Response = string; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取任务执行实例 该接口返回voldmort第三方的错误,ide这边基本不会报错 * /api/smc/project/{projectId}/tasks/{taskId}/taskruns */ export namespace getTaskruns { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 行列转换 基本无异常出现 * /api/smc/project/{projectId}/tasks/{taskId}/transposedData */ export namespace transposeResult { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改任务优先级 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/updatePriority */ export namespace updatePriority { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 节点id */ nodeId: string; /** 任务优先级 */ taskPriority: number; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 根据任务id查询其上游任务 该接口调用voldemort的第三方接口,会报第三方的错误 * /api/smc/project/{projectId}/tasks/{taskId}/upstream */ export namespace getUpstream { export class Params { /** projectId */ projectId: number; /** 任务id */ taskId: string; /** 层数, 最大30 */ depth: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [驯致, 九宫]-租户管理接口API */ export namespace tenant { /** * 获取当前租户底层的账号源信息 * /api/tenant/accountSource */ export namespace getAccountSourceInfoOfCurrentTenant { export class Params {} export type Response = defs.AccountSourceVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 手工同步当前租户底层的账号源 * /api/tenant/accountSource/syncing */ export namespace syncAccountSourceOfCurrentTenant { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取超级管理员列表 * /api/tenant/admins */ export namespace admins { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 删除成员 * /api/tenant/member */ export namespace deleteTenantMember { export class Params { /** userId */ userId: string; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取已加入租户的用户列表 * /api/tenant/members */ export namespace listTenantMembers { export class Params { /** fuzzyName */ fuzzyName?: string; /** page */ page: number; /** pageSize */ pageSize: number; /** 排序的列,不为空时只能为account_name->账号名,gmt_create->创建的时间 */ orderColumn?: string; /** 排序的方向,不为空时只能为desc->降序,asc->升序 */ orderDirection?: string; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量添加成员 * /api/tenant/members */ export namespace addTenantMembers { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 批量删除成员 * /api/tenant/members */ export namespace deleteTenantMembers { export class Params { /** userIds */ userIds: Array; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户的用户列表 * /api/tenant/user/list */ export namespace getAllTenant { export class Params { /** 租户id,已废弃 */ tenantId?: number; /** 排除项目成员 */ excludeProject?: number; /** 关键字 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取可加入租户的用户列表 * /api/tenant/users */ export namespace listTenantUsers { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取可加入租户的用户列表 * /api/tenant/users/fuzzy */ export namespace listTenantUsersFuzzy { export class Params { /** fuzzyName */ fuzzyName?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:天大](租户计算配置 数据倾斜,语义优化,自定义配置) */ export namespace tenantComputeEngineConfig { /** * 获取自定义计算引擎相关配置 * /api/tenant/computeEngine/config/customizeConfig */ export namespace getCustomizeConfig { export class Params {} export type Response = defs.CustomizeConfigDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置自定义计算引擎相关配置 * /api/tenant/computeEngine/config/customizeConfig */ export namespace saveCustomizeConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置自定义计算引擎相关配置 * /api/tenant/computeEngine/config/customizeConfig */ export namespace updateCustomizeConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置数据倾斜相关配置 * /api/tenant/computeEngine/config/dataSkewConfig */ export namespace getDataSkewConfig { export class Params {} export type Response = defs.DataSkewConfigDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置数据倾斜相关配置 * /api/tenant/computeEngine/config/dataSkewConfig */ export namespace saveDataSkewConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新数据倾斜相关配置 * /api/tenant/computeEngine/config/dataSkewConfig */ export namespace updateDataSkewConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取语义化相关配置 * /api/tenant/computeEngine/config/semanticOptimizeConfig */ export namespace getSemanticOptimizeConfig { export class Params {} export type Response = defs.SemanticOptimizeConfigDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 设置语义化相关配置 * /api/tenant/computeEngine/config/semanticOptimizeConfig */ export namespace saveSemanticOptimizeConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 更新语义化相关配置 * /api/tenant/computeEngine/config/semanticOptimizeConfig */ export namespace updateSemanticOptimizeConfig { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [髯虬] 升级相关服务 */ export namespace upgrade { /** * 新建升级 * /api/upgrade */ export namespace addUpgrade { export class Params {} export type Response = number; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询升级信息 * /api/upgrade/info */ export namespace upgradeInfo { export class Params {} export type Response = defs.UpgradeDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查看日志 * /api/upgrade/readLog */ export namespace readLog { export class Params {} export type Response = string; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 恢复 * /api/upgrade/resume */ export namespace resumeUpgrade { export class Params {} export type Response = defs.UpgradeDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 重试当前升级 * /api/upgrade/retry */ export namespace retryUpgrade { export class Params {} export type Response = defs.UpgradeDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 查询升级状态 * /api/upgrade/status */ export namespace getUpgradeStatus { export class Params {} export type Response = | 'NOT_START' | 'CONFIG' | 'UPGRADING' | 'UPGRADE_SUCCESS' | 'UPGRADE_FAILED' | 'RESUMING' | 'RESUME_SUCCESS' | 'RESUME_FAILED' | 'BACK_UP_FAILED'; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 终止当前升级 * /api/upgrade/terminate */ export namespace terminateUpgrade { export class Params {} export type Response = defs.UpgradeDTO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [天矢] 升级相关服务 */ export namespace upgradeFacade { /** * 获取basic备份的项目 * /api/upgrade/facade/backUpProjectInfo */ export namespace findBasicProjectList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户下所有业务板块 * /api/upgrade/facade/bizUnit/allZipList */ export namespace getZipDevProdAllBizUnitList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目 * /api/upgrade/facade/project */ export namespace listTenantProjects { export class Params { /** 业务板块筛选 */ bizUnitId?: number; /** 是否只搜素未绑定的项目 */ unbindOnly?: boolean; /** 关键词筛选 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 模式升级项目部分:根据不同模式返回特定basic项目 * @throws Exception code * 无 * @p1-test * 无 * @p2-test * 无 * /api/upgrade/facade/project/basic */ export namespace listBasicProjectForUpgrade { export class Params { /** 业务板块筛选 */ bizUnitId?: number; /** 升级模式(BASIC_BIZ_UNIT, BASIC_PROJECT, NON_BIZ_UNIT_PROJECT) */ upgradeConfigTypeEnum?: | 'BASIC_BIZ_UNIT' | 'BASIC_PROJECT' | 'NON_BIZ_UNIT_PROJECT'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取项目成员 * /api/upgrade/facade/project/{projectId}/member */ export namespace listProjectMembers { export class Params { /** projectId */ projectId: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取没有绑定的数据源 * /api/upgrade/facade/unbindDsList */ export namespace getUnbindDsList { export class Params {} export type Response = Array; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取租户的用户列表 * /api/upgrade/facade/user/list */ export namespace getAllTenant { export class Params { /** 排除项目成员 */ excludeProject?: number; /** 关键字 */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [驯致, 九宫]-租户下用户管理接口API */ export namespace user { /** * 批量修改用户的联系方式 * /api/batchModifyUserContacts */ export namespace modifyUserContacts { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 修改用户的联系方式 * /api/modifyUserContacts */ export namespace modifyUserContact { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取某个用户的所属角色列表 * /api/role/list */ export namespace getRoleListByUserId { export class Params { /** 用户id */ userId?: string; /** 用户所属租户id */ tenantId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取当前用户信息 * /api/userInfo */ export namespace getUserInfo { export class Params {} export type Response = defs.UserInfoVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取当前用户初始化信息 * /api/userInfo/all */ export namespace getUserDetailInfo { export class Params {} export type Response = defs.UserDetailInfoVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取当前用户项目角色信息 * /api/userRoleInfo */ export namespace getUserRoleInfo { export class Params {} export type Response = defs.UserRoleInfoVO; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:白路;前端:北渔]我的权限页面API */ export namespace userPermission { /** * 我的api权限 * /api/dip/permission/mine/api */ export namespace listApiPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** application */ application?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我的api权限 * /api/dip/permission/mine/api/detail/{id} */ export namespace getApiPermissionDetail { export class Params { /** id */ id: string; /** accountType */ accountType?: string; /** accountProjectId */ accountProjectId?: string; /** accountProjectName */ accountProjectName?: string; } export type Response = defs.ApiPermissionDetailBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 交还api权限 * /api/dip/permission/mine/api/giveBack */ export namespace giveBackApiPermission { export class Params { /** type */ type?: 'PERSONAL' | 'PRODUCE'; /** userId */ userId?: string; /** userName */ userName?: string; /** projectId */ projectId?: number; /** projectName */ projectName?: string; /** id */ id?: string; /** name */ name?: string; /** cn */ cn?: string; /** desc */ desc?: string; /** application */ application?: string; /** operateTypes */ operateTypes?: Array; } export type Response = boolean; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我的数据源权限 * /api/dip/permission/mine/dataSource */ export namespace listDataSourcePermission { export class Params { /** operateTypes */ operateTypes?: Array; /** dataSourceTypes */ dataSourceTypes?: Array; /** periodTypes */ periodTypes?: Array; /** accountTypes */ accountTypes?: Array; /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 交还数据源权限 * /api/dip/permission/mine/dataSource/giveBack */ export namespace giveBackDataSourcePermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我的功能权限 * /api/dip/permission/mine/function */ export namespace listFunctionPermission { export class Params { /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** level */ level?: 'HIGH' | 'MIDDLE' | 'LOW'; /** periodType */ periodType?: | 'SHORT_TIME' | 'DAYS_30' | 'DAYS_90' | 'DAYS_180' | 'LONG_TERM' | 'CUSTOM'; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 交还功能权限 * /api/dip/permission/mine/function/giveBack */ export namespace giveBackFunctionPermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我的逻辑表权限 * /api/dip/permission/mine/logicTable */ export namespace listLogicTablePermission { export class Params { /** accountTypes */ accountTypes?: Array; /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** env */ env?: 'DEV' | 'PROD'; /** bizUnitId */ bizUnitId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 逻辑表权限详情 * /api/dip/permission/mine/logicTable/detail */ export namespace getLogicTablePermissionDetail { export class Params { /** env */ env: 'DEV' | 'PROD'; /** logicalTableId */ logicalTableId: string; /** dataType */ dataType?: string; /** accountType */ accountType?: string; /** accountProjectId */ accountProjectId?: string; /** accountProjectName */ accountProjectName?: string; } export type Response = defs.LogicTablePermissionDetailBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 交还逻辑表权限 * /api/dip/permission/mine/logicTable/giveBack */ export namespace giveBackLogicTablePermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 我的物理表权限 * /api/dip/permission/mine/physicalTable */ export namespace listPhysicalTablePermission { export class Params { /** operateTypes */ operateTypes?: Array; /** accountTypes */ accountTypes?: Array; /** page */ page?: number; /** pageSize */ pageSize?: number; /** keyword */ keyword?: string; /** env */ env?: 'DEV' | 'PROD'; /** projectId */ projectId?: number; } export type Response = Array; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 物理表字段权限详情 * /api/dip/permission/mine/physicalTable/detail */ export namespace getPhysicalTablePermissionDetail { export class Params { /** env */ env: 'DEV' | 'PROD'; /** physicalTableId */ physicalTableId: string; /** dataType */ dataType?: string; /** accountType */ accountType?: string; /** accountProjectId */ accountProjectId?: string; /** accountProjectName */ accountProjectName?: string; } export type Response = defs.PhysicalTablePermissionDetailBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 交还物理表权限 * /api/dip/permission/mine/physicalTable/giveBack */ export namespace giveBackPhysicalTablePermission { export class Params {} export type Response = boolean; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:程素、莫萱;前端:北渔] DIP数据地图访问历史相关API */ export namespace visitHistory { /** * 用户访问行为记录 * /api/dip/visit */ export namespace recordVisit { export class Params {} export type Response = any; export const init: Response; export function request(): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } /** * 获取用户最近访问列表(数据地图-我的浏览) * /api/dip/visit/history/list */ export namespace getUseRecentlyVisitList { export class Params { /** page */ page?: number; /** offset */ offset?: number; /** pageSize */ pageSize?: number; /** doNotCount */ doNotCount?: boolean; /** env */ env: 'DEV' | 'PROD'; } export type Response = defs.PagedData; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } /** * [后端:扶犁] 白名单列表 */ export namespace whiteList { /** * GET接口 获取白名单列表 * /api/whitelist/getWhiteList */ export namespace getWhiteList { export class Params { /** projectId */ projectId: number; /** dsId */ dsId: number; } export type Response = defs.WhiteListGroupBO; export const init: Response; export function request(params): Promise; export function createFetchAction( types: FetchTypes, stateKey?: string, ): ( params, meta?, ) => { type: Key; payload?: Response; params?: Params; url: string; types: string[]; meta; } & Promise; } } }