// This file is auto-generated by @hey-api/openapi-ts

export type AbpLoginResult = {
    result?: LoginResultType;
    readonly description?: (string) | null;
};

export type AccessTypeEnum = 'DeviceDirectConnection' | 'GatewayAccess' | 'CloudAccess' | 'FiveGCustomNetwork';

export type ActionApiDescriptionModel = {
    uniqueName?: (string) | null;
    name?: (string) | null;
    httpMethod?: (string) | null;
    url?: (string) | null;
    supportedVersions?: Array<(string)> | null;
    parametersOnMethod?: Array<MethodParameterApiDescriptionModel> | null;
    parameters?: Array<ParameterApiDescriptionModel> | null;
    returnValue?: ReturnValueApiDescriptionModel;
    allowAnonymous?: (boolean) | null;
    authorizeDatas?: Array<AuthorizeDataApiDescriptionModel> | null;
    implementFrom?: (string) | null;
};

export type AddOrUpdateConnectionStringInput = {
    /**
     * id
     */
    id?: string;
    /**
     * 连接字符串名称
     */
    name?: (string) | null;
    /**
     * 连接字符串地址
     */
    value?: (string) | null;
};

export type AddRoleToOrganizationUnitInput = {
    roleId?: Array<(string)> | null;
    organizationUnitId?: string;
};

export type AddUserToOrganizationUnitInput = {
    userId?: Array<(string)> | null;
    organizationUnitId?: string;
};

export type AggregateRouteConfig = {
    routeKey?: (string) | null;
    parameter?: (string) | null;
    jsonPath?: (string) | null;
};

/**
 * 平台端物模型输出
 */
export type AllPlatformThingModelOutput = {
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
};

export type ApplicationApiDescriptionModel = {
    modules?: {
        [key: string]: ModuleApiDescriptionModel;
    } | null;
    types?: {
        [key: string]: TypeApiDescriptionModel;
    } | null;
};

export type ApplicationApiDescriptionModelRequestDto = {
    includeTypes?: boolean;
};

export type ApplicationAuthConfigurationDto = {
    grantedPolicies?: {
        [key: string]: (boolean);
    } | null;
};

export type ApplicationConfigurationDto = {
    localization?: ApplicationLocalizationConfigurationDto;
    auth?: ApplicationAuthConfigurationDto;
    setting?: ApplicationSettingConfigurationDto;
    currentUser?: CurrentUserDto;
    features?: ApplicationFeatureConfigurationDto;
    globalFeatures?: ApplicationGlobalFeatureConfigurationDto;
    multiTenancy?: MultiTenancyInfoDto;
    currentTenant?: CurrentTenantDto;
    timing?: TimingDto;
    clock?: ClockDto;
    objectExtensions?: ObjectExtensionsDto;
    extraProperties?: {
        [key: string]: unknown;
    } | null;
};

export type ApplicationConfigurationRequestOptions = {
    includeLocalizationResources?: boolean;
};

export type ApplicationFeatureConfigurationDto = {
    values?: {
        [key: string]: ((string) | null);
    } | null;
};

export type ApplicationGlobalFeatureConfigurationDto = {
    enabledFeatures?: Array<(string)> | null;
};

export type ApplicationLocalizationConfigurationDto = {
    values?: {
        [key: string]: {
            [key: string]: (string);
        };
    } | null;
    resources?: {
        [key: string]: ApplicationLocalizationResourceDto;
    } | null;
    languages?: Array<LanguageInfo> | null;
    currentCulture?: CurrentCultureDto;
    defaultResourceName?: (string) | null;
    languagesMap?: {
        [key: string]: Array<NameValue>;
    } | null;
    languageFilesMap?: {
        [key: string]: Array<NameValue>;
    } | null;
};

export type ApplicationLocalizationDto = {
    resources?: {
        [key: string]: ApplicationLocalizationResourceDto;
    } | null;
    currentCulture?: CurrentCultureDto;
};

export type ApplicationLocalizationRequestDto = {
    cultureName: string;
    onlyDynamics?: boolean;
};

export type ApplicationLocalizationResourceDto = {
    texts?: {
        [key: string]: (string);
    } | null;
    baseResources?: Array<(string)> | null;
};

export type ApplicationOidcConfigurationDto = {
    /**
     * 是否启用
     */
    enabled?: boolean;
    oidcConfiguration?: Array<OidcConfiguration> | null;
};

export type ApplicationSettingConfigurationDto = {
    values?: {
        [key: string]: ((string) | null);
    } | null;
};

export type AuthorizeDataApiDescriptionModel = {
    policy?: (string) | null;
    roles?: (string) | null;
};

export type AuthTypeEnum = 'FeatureStringAuth' | 'SM9Auth' | 'CertificateAuth' | 'IMEIAuth' | 'SM2Auth' | 'IPv6IdentityAuth' | 'HttpBasicAuth' | 'HttpDigestAuth';

/**
 * 批量创建设备信息
 */
export type BatchCreateDeviceAggregationInput = {
    /**
     * 设备地址不能为空
     */
    addressList: Array<(string)>;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 集中器在物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    deviceSourceType?: DeviceSourceTypeEnum;
    deviceType?: DeviceTypeEnum;
    encryptionType?: DeviceAuthenticationModeEnum;
};

/**
 * 批量删除设备入参（只对同一平台、同一产品下的设备批量删除）
 */
export type BatchDeleteDeviceForApiInput = {
    /**
     * 设备地址列表
     */
    addressList: Array<(string)>;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
};

/**
 * 从OneNET批量查询设备并同步本地
 */
export type BatchSyncDeviceFromOneNETInput = {
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 要同步的设备地址列表（可选）。指定时只处理选中的设备，不按同步状态过滤；
     * 未指定则同步该产品下所有 IsPlatformPushSuccess == false 的设备。
     */
    deviceAddresses?: Array<(string)> | null;
};

/**
 * 批量更新设备升级记录状态信息输入
 */
export type BatchUpdateStatusInput = {
    /**
     * 设备升级记录Id集合
     */
    ids: Array<(string)>;
    upgradeStatus: DeviceUpgradeStatusTypeEnum;
};

/**
 * 绑定设备物模型输入
 */
export type BindingDeviceThingModelInput = {
    /**
     * 设备数据Id集合
     */
    devieDataIdList?: Array<(string)> | null;
    /**
     * 是否需要配置设备模型，默认false
     */
    isNeedConfigDeviceModel?: boolean;
    /**
     * 设备物模型数据Id
     */
    deviceThingModelDataId?: (string) | null;
};

/**
 * 构建物模型脚本输入
 */
export type BuildAnalysisScriptInput = {
    /**
     * 物模型数据Id
     */
    id?: string;
    /**
     * 脚本函数名称
     */
    scriptName?: (string) | null;
    /**
     * 脚本函数体
     */
    functionScript?: (string) | null;
};

/**
 * 构建物模型脚本输出
 */
export type BuildAnalysisScriptOutput = {
    /**
     * 函数名称
     */
    functionName?: (string) | null;
    /**
     * 函数代码
     */
    functionCode?: (string) | null;
};

/**
 * 调用设备服务入参
 */
export type CallDeviceServiceForApiInput = {
    id: string;
    /**
     * 服务名称，标准物模型名称，例如: MonthFreezeService
     */
    serviceName: string;
    /**
     * 服务参数，标准物模型扩展字段中的InputData内容, 例如：{"DataItem": "数据项", "Quantity": "数量", "StartTime": "起始时标"}
     */
    serviceParams: {
        [key: string]: unknown;
    };
};

export type ChangePasswordInput = {
    currentPassword?: (string) | null;
    newPassword: string;
};

export type ClockDto = {
    kind?: (string) | null;
};

export type ControllerApiDescriptionModel = {
    controllerName?: (string) | null;
    controllerGroupName?: (string) | null;
    isRemoteService?: boolean;
    isIntegrationService?: boolean;
    apiVersion?: (string) | null;
    type?: (string) | null;
    interfaces?: Array<ControllerInterfaceApiDescriptionModel> | null;
    actions?: {
        [key: string]: ActionApiDescriptionModel;
    } | null;
};

export type ControllerInterfaceApiDescriptionModel = {
    type?: (string) | null;
    name?: (string) | null;
    methods?: Array<InterfaceMethodApiDescriptionModel> | null;
};

/**
 * 复制已存在设备端物模型信息
 */
export type CopyAnotherDeviceInput = {
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 当前设备端物模型数据Id
     */
    deviceThingModelId?: string;
    /**
     * 源设备模型数据ID
     */
    sourceProductId?: string;
};

/**
 * 复制已存在产品设备物模型信息
 */
export type CopyAnotherProductInput = {
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 平台产品ID
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 源产品ID
     */
    sourceProductId?: (string) | null;
};

/**
 * 通过平台端物模型快速创建设备端物模型信息
 */
export type CopyIoTPlatformThingModelToDeviceInput = {
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedTypes: Array<(string)>;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 当前设备端物模型数据Id
     */
    deviceThingModelId: string;
};

/**
 * 复制标准物模型
 */
export type CopyStandardThingModelInput = {
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedTypes: Array<(string)>;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 平台产品ID
     */
    ioTPlatformProductId: string;
    /**
     * 标准物模型集合
     */
    dataDictionaries?: Array<DataDictionaryDetailInfoDto> | null;
};

export type CreateDataDictinaryDetailInput = {
    id?: string;
    code?: (string) | null;
    displayText?: (string) | null;
    description?: (string) | null;
    order?: number;
    /**
     * 扩展属性
     */
    extendedAttribute?: (string) | null;
    /**
     * 扩展属性值信息
     */
    extendedAttributeValue?: {
        [key: string]: unknown;
    } | null;
};

export type CreateDataDictinaryInput = {
    code?: (string) | null;
    displayText?: (string) | null;
    description?: (string) | null;
};

/**
 * 设备聚合新增设备
 */
export type CreateDeviceAggregationInput = {
    /**
     * 表通信地址
     */
    deviceAddress: string;
    deviceInfos?: OpenApiDeviceInfoInput;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 设备在物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    deviceSourceType?: DeviceSourceTypeEnum;
    deviceType?: DeviceTypeEnum;
    encryptionType?: DeviceAuthenticationModeEnum;
};

/**
 * 创建设备固件信息
 */
export type CreateDeviceFirmwareInfoInput = {
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 物联网平台中对应的产品名称
     */
    ioTPlatformProductName: string;
    /**
     * 固件版本
     */
    firmwareVersion: string;
    /**
     * 固件文件Id
     */
    firmwareFileId: string;
    /**
     * 固件文件名称
     */
    firmwareFileName: string;
    /**
     * 固件哈希值
     */
    firmwareHashCode: string;
    /**
     * 固件文件长度
     */
    firmwareLength: number;
};

/**
 * 创建语言
 */
export type CreateLanguageInput = {
    /**
     * 语言名称
     */
    cultureName?: (string) | null;
    /**
     * Ui语言名称
     */
    uiCultureName?: (string) | null;
    /**
     * 显示名称
     */
    displayName?: (string) | null;
    /**
     * 图标
     */
    flagIcon?: (string) | null;
    /**
     * 是否启用
     */
    isEnabled?: boolean;
};

/**
 * 创建语言文本
 */
export type CreateLanguageTextInput = {
    /**
     * 资源名称
     */
    resourceName?: (string) | null;
    /**
     * 语言名称
     */
    cultureName?: (string) | null;
    /**
     * 名称
     */
    name?: (string) | null;
    /**
     * 值
     */
    value?: (string) | null;
};

/**
 * 创建菜单
 */
export type CreateMenuInput = {
    parentId?: (string) | null;
    /**
     * 唯一编码
     */
    name: string;
    /**
     * 标题
     */
    title: string;
    /**
     * 标题
     */
    displayTitle?: (string) | null;
    /**
     * 图标
     */
    icon?: (string) | null;
    /**
     * 是否缓存
     */
    keepAlive: boolean;
    /**
     * 是否显示
     */
    hideInMenu: boolean;
    /**
     * 排序
     */
    order: number;
    /**
     * 路由地址
     */
    path: string;
    menuType?: MenuType;
    openType?: OpenType;
    /**
     * 内外链地址
     */
    url?: (string) | null;
    /**
     * 组件地址
     */
    component?: (string) | null;
    /**
     * 是否启用
     */
    enabled?: boolean;
    /**
     * 权限
     */
    policy?: (string) | null;
};

export type CreateOrganizationUnitInput = {
    displayName?: (string) | null;
    parentId?: (string) | null;
};

/**
 * 新增平台端物模型操作指令
 */
export type CreatePlatformThingModelCommandInput = {
    /**
     * 平台端物模型数据Id
     */
    thingModelDataId: string;
    /**
     * 待下发的操作指令类型，例如阀控操作时，是拉闸还是合闸，根据StandardFieldName进行分组
     */
    operateType: number;
    /**
     * 完整透明转发指令
     */
    issueCommand: string;
};

/**
 * 创建模板
 */
export type CreateTextTemplateInput = {
    /**
     * 名称
     */
    name: string;
    /**
     * 编码
     */
    code: string;
    /**
     * 内容
     */
    content: string;
    /**
     * 语言
     */
    cultureName: string;
};

/**
 * CTWing账号信息
 */
export type CTWingAccountInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 账号名称
     */
    accountName?: (string) | null;
    /**
     * 账号ID
     */
    accountId?: (string) | null;
    /**
     * 应用 ID，最小单位，唯一标识，因为一个账号下可能存在多个应用
     */
    appId?: (string) | null;
    /**
     * 应用 AppKey
     */
    appKey?: (string) | null;
    /**
     * 应用 AppSecret
     */
    appSecret?: (string) | null;
    /**
     * 平台租户ID
     */
    platformTenantId?: (string) | null;
    /**
     * 通讯服务地址
     */
    communicationAddress?: (string) | null;
    /**
     * 手机号码
     */
    phoneNumber?: (string) | null;
    /**
     * 产品数量
     */
    productCount?: number;
};

export type CTWingAccountInfoDtoPagedResultDto = {
    items?: Array<CTWingAccountInfoDto> | null;
    totalCount?: number;
};

/**
 * 添加账号
 */
export type CTWingAccountInsertInput = {
    /**
     * 账号名称
     */
    accountName?: (string) | null;
    /**
     * 账号ID
     */
    accountId: string;
    /**
     * 应用 ID，最小单位，唯一标识，因为一个账号下可能存在多个应用
     */
    appId: string;
    /**
     * 应用 AppKey
     */
    appKey: string;
    /**
     * 应用 AppSecret
     */
    appSecret: string;
    /**
     * 平台租户ID
     */
    platformTenantId: string;
    /**
     * 通讯服务地址
     */
    communicationAddress: string;
    /**
     * 手机号码
     */
    phoneNumber: string;
};

/**
 * 账号列表输入参数
 */
export type CTWingAccountListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 手机号码
     */
    phoneNumber?: (string) | null;
    /**
     * 账号ID
     */
    ctWingAccountId?: (string) | null;
};

/**
 * 修改账号信息
 */
export type CTWingAccountModifyInput = {
    /**
     * 账号名称
     */
    accountName?: (string) | null;
    /**
     * 账号ID
     */
    accountId: string;
    /**
     * 应用 ID，最小单位，唯一标识，因为一个账号下可能存在多个应用
     */
    appId: string;
    /**
     * 应用 AppKey
     */
    appKey: string;
    /**
     * 应用 AppSecret
     */
    appSecret: string;
    /**
     * 平台租户ID
     */
    platformTenantId: string;
    /**
     * 通讯服务地址
     */
    communicationAddress: string;
    /**
     * 手机号码
     */
    phoneNumber: string;
    /**
     * 数据ID
     */
    id?: string;
};

/**
 * CTWing私有产品信息
 */
export type CTWingPrivateProductInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 账号ID
     */
    ctWingAccountId?: (string) | null;
    /**
     * 账户手机号
     */
    accountPhoneNumber?: (string) | null;
    /**
     * 账号名称
     */
    ctWingAccountName?: (string) | null;
    /**
     * 通讯服务地址
     */
    communicationAddress?: (string) | null;
    /**
     * OpenAPI 通信主密钥
     */
    masterKey?: (string) | null;
    /**
     * 设备访问密钥
     */
    featureAccesskey?: (string) | null;
    /**
     * 产品ID
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 通讯协议
     */
    protocol?: (string) | null;
    /**
     * 必填，产品描述
     */
    productDesc?: (string) | null;
    /**
     * 必填，一级分类名，返回结果中，此字段名数据类型为Int类型
     */
    productType?: (string) | null;
    /**
     * 必填，二级分类名，返回结果中，此字段名数据类型为Int类型
     */
    secondaryType?: (string) | null;
    /**
     * 必填，三级分类名，返回结果中，此字段名数据类型为Int类型
     */
    thirdType?: (string) | null;
    nodeType?: ProductNodeTypeEnum;
    accessType?: AccessTypeEnum;
    networkType?: NetworkTypeEnum;
    productProtocol?: ProductProtocolEnum;
    authType?: AuthTypeEnum;
    dataEncryption?: DataEncryptionEnum;
    tupIsThrough?: TupIsThroughEnum;
    /**
     * 必填，设备型号
     */
    tupDeviceModel?: (string) | null;
    /**
     * 设备数量
     */
    deviceCount?: number;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
    /**
     * 是否启用
     */
    isEnabled?: boolean;
};

export type CTWingPrivateProductInfoDtoPagedResultDto = {
    items?: Array<CTWingPrivateProductInfoDto> | null;
    totalCount?: number;
};

/**
 * 添加私有产品信息
 */
export type CTWingPrivateProductInfoInsertInput = {
    /**
     * 账号ID
     */
    ctWingAccountId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 必填，产品描述
     */
    productDesc?: (string) | null;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
    /**
     * 必填，设备型号
     */
    tupDeviceModel?: (string) | null;
};

export type CTWingPrivateProductInfoListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * CTWing账户Id
     */
    ctWingAccountId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 产品型号
     */
    model?: (string) | null;
};

/**
 * CTWing 产品修改
 */
export type CTWingPrivateProductInfoModifyInput = {
    /**
     * 账号ID
     */
    ctWingAccountId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 必填，产品描述
     */
    productDesc?: (string) | null;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
    /**
     * 必填，设备型号
     */
    tupDeviceModel?: (string) | null;
    /**
     * 数据ID
     */
    id?: string;
};

export type CurrentCultureDto = {
    displayName?: (string) | null;
    englishName?: (string) | null;
    threeLetterIsoLanguageName?: (string) | null;
    twoLetterIsoLanguageName?: (string) | null;
    isRightToLeft?: boolean;
    cultureName?: (string) | null;
    name?: (string) | null;
    nativeName?: (string) | null;
    dateTimeFormat?: DateTimeFormatDto;
};

export type CurrentTenantDto = {
    id?: (string) | null;
    name?: (string) | null;
    isAvailable?: boolean;
};

export type CurrentUserDto = {
    isAuthenticated?: boolean;
    id?: (string) | null;
    tenantId?: (string) | null;
    impersonatorUserId?: (string) | null;
    impersonatorTenantId?: (string) | null;
    impersonatorUserName?: (string) | null;
    impersonatorTenantName?: (string) | null;
    userName?: (string) | null;
    name?: (string) | null;
    surName?: (string) | null;
    email?: (string) | null;
    emailVerified?: boolean;
    phoneNumber?: (string) | null;
    phoneNumberVerified?: boolean;
    roles?: Array<(string)> | null;
    sessionId?: (string) | null;
};

/**
 * 数据字典详情信息
 */
export type DataDictionaryDetailInfoDto = {
    /**
     * 所属字典Id
     */
    dataDictionaryId?: string;
    /**
     * 所属字典名称
     */
    dataDictionaryName?: (string) | null;
    /**
     * 字典编码
     */
    dataDictionaryCode?: (string) | null;
    /**
     * 字典明细编码
     */
    code?: (string) | null;
    /**
     * 展现列表时排序用
     */
    order?: number;
    /**
     * 显示名
     */
    displayText?: (string) | null;
    /**
     * 描述
     */
    description?: (string) | null;
    /**
     * 启/停用(默认启用)
     */
    isEnabled?: boolean;
    /**
     * 扩展属性
     */
    extendedAttribute?: (string) | null;
    /**
     * 扩展属性值信息
     */
    extendedAttributeValue?: {
        [key: string]: unknown;
    } | null;
};

/**
 * 数据加密方式
 */
export type DataEncryptionEnum = 'SM1' | 'SM2' | 'SM4' | 'DTLS' | 'Plaintext' | 'QuantumEncryption';

/**
 * 数据推送的数据类型枚举（区分推送规则作用于哪一类上报数据）
 */
export type DataPushDataTypeEnum = 'Property' | 'Event' | 'Status';

/**
 * 数据推送规则：一条规则 = "数据类型 + 目的地"。
 * 粒度仅到属性/事件/状态三类，整类推或不推；同一数据类型的多个目的地用多条规则表达，天然支持分流。
 * 供产品实体、设备实体、DeviceCacheInfos、Application DTO 共用（以 JSON 序列化存储）。
 */
export type DataPushRule = {
    /**
     * 规则备注名，便于管理（可空）
     */
    ruleName?: (string) | null;
    /**
     * 是否启用该条规则
     */
    enabled?: boolean;
    dataType?: DataPushDataTypeEnum;
    /**
     * 【冗余保留，暂未启用】更细粒度的白名单（属性→字段名；事件/状态→事件名）。
     * 当前推送粒度只到"属性/事件/状态"三类，整类整包推送；本字段留待后续细化，前端不填即可（留空 = 该数据类型整类整包推）。
     */
    includeNames?: Array<(string)> | null;
    pushType?: DataPushTypeEnum;
    /**
     * 推送服务地址，例如 HTTP：http://192.168.1.1:8080，Redis：192.168.1.1:6379
     */
    pushServer?: (string) | null;
    /**
     * 推送信息：HTTP 为推送路径，Redis 为主题或 key
     */
    pushInfo?: (string) | null;
};

/**
 * 数据推送类型枚举
 */
export type DataPushTypeEnum = 'HttpPost' | 'NormalReisSubscription' | 'ReliableReisSubscription' | 'RedisListPush';

export type DateTimeFormatDto = {
    calendarAlgorithmType?: (string) | null;
    dateTimeFormatLong?: (string) | null;
    shortDatePattern?: (string) | null;
    fullDateTimePattern?: (string) | null;
    dateSeparator?: (string) | null;
    shortTimePattern?: (string) | null;
    longTimePattern?: (string) | null;
};

export type DeleteConnectionStringInput = {
    /**
     * 连接字符串名称
     */
    name?: (string) | null;
    /**
     * 租户id
     */
    tenantId?: string;
};

export type DeleteDataDictionaryDetailInput = {
    dataDictionaryId?: string;
    dataDictionayDetailId?: string;
};

export type DeleteFeatureInput = {
    providerName?: (string) | null;
    providerKey?: (string) | null;
};

/**
 * 删除文件
 */
export type DeleteFileObjectInput = {
    /**
     * 文件Id
     */
    id?: string;
};

/**
 * 删除语言
 */
export type DeleteLanguageInput = {
    /**
     * 语言Id
     */
    id?: string;
};

/**
 * 删除菜单
 */
export type DeleteMenuInput = {
    /**
     * 菜单Id
     */
    id?: string;
};

export type DeleteMessageInput = {
    id?: string;
    /**
     * 接受者Id
     */
    receiverUserId?: (string) | null;
};

/**
 * 删除模板
 */
export type DeleteTextTemplateInput = {
    /**
     * 模板Id
     */
    id?: string;
};

/**
 * 设备鉴权模式
 */
export type DeviceAuthenticationModeEnum = 'Unspecified' | 'PerProductTypeSecret' | 'PerDeviceSecret';

/**
 * 设备批量切换主站入参（只对同一平台、同一产品下的设备批量下发切换主站指令）
 */
export type DeviceBatchMasterSwitchInput = {
    /**
     * 设备地址列表
     */
    addressList: Array<(string)>;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    masterStation: MasterStationInput;
    backupMasterStation: MasterStationInput;
};

/**
 * 设备批量升级信息
 */
export type DeviceBatchUpgradeForApiInput = {
    /**
     * 设备地址列表
     */
    addressList: Array<(string)>;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 固件版本信息
     */
    nowFirmwareVersionDataId: string;
    /**
     * 升级描述
     */
    upgradeDescription?: (string) | null;
};

/**
 * 设备命令
 */
export type DeviceCommandForApiInput = {
    id: string;
    /**
     * 设备标准物模型属性标识符参数集合
     */
    commandContent: {
        [key: string]: unknown;
    };
};

/**
 * 设备数据流转配置输入参数（设备级覆盖产品配置）
 */
export type DeviceDataFlowConfigInput = {
    /**
     * 设备数据ID
     */
    id?: string;
    /**
     * 是否覆盖产品级推送配置：true 用本设备的推送配置，false 继承所属产品配置
     */
    dataPushOverride?: boolean;
    /**
     * 是否需要推送数据（设备级开关，仅 JiShe.ServicePro.DeviceManagement.DeviceInfos.Dto.DeviceDataFlowConfigInput.DataPushOverride 为 true 时生效）
     */
    isNeedPushData?: boolean;
    /**
     * 数据推送规则集合，一条规则 = "数据类型 + 白名单 + 目的地"，仅 JiShe.ServicePro.DeviceManagement.DeviceInfos.Dto.DeviceDataFlowConfigInput.DataPushOverride 为 true 时生效
     */
    dataPushRules?: Array<DataPushRule> | null;
};

/**
 * 设备鉴权加密方式
 */
export type DeviceEncryptionMethodEnum = 'Unspecified' | 'MD5' | 'SHA1' | 'SHA256';

export type DeviceFirmwareInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应的产品名称
     */
    ioTPlatformProductName?: (string) | null;
    /**
     * 固件版本
     */
    firmwareVersion?: (string) | null;
    /**
     * 固件文件Id
     */
    firmwareFileId?: string;
    /**
     * 固件文件名称
     */
    firmwareFileName?: (string) | null;
    /**
     * 固件哈希值
     */
    firmwareHashCode?: (string) | null;
    /**
     * 固件文件长度
     */
    firmwareLength?: number;
    /**
     * 是否启用
     */
    isEnable?: boolean;
};

export type DeviceFirmwareInfoDtoPagedResultDto = {
    items?: Array<DeviceFirmwareInfoDto> | null;
    totalCount?: number;
};

/**
 * 设备生命周期类型（业务运行态，与物模型上报 DataType、OneNET 连接生命周期无关）。
 * 软件侧可见起点为 JiShe.ServicePro.Enums.DeviceLifeTypeEnum.FactoryTest：组件完成且固件烧录通过后，上位机设置运行参数并接入平台。
 */
export type DeviceLifeTypeEnum = 'Unspecified' | 'Production' | 'FactoryTest' | 'AgingSource' | 'FactoryDelivery' | 'Running' | 'Maintenance' | 'ReturnToFactory' | 'Deactivated' | 'Banned';

/**
 * 设备登录（EMQX HTTP 认证回调请求体）
 */
export type DeviceLoginModel = {
    /**
     * 设备端客户端Id，也就是OneNET平台的设备名称
     */
    clientid: string;
    /**
     * 原始的设备地址（clientid 去掉 productId 前缀）
     */
    readonly deviceAddress?: (string) | null;
    /**
     * 登录用户名，也就是OneNET平台的产品ID
     */
    username: string;
    /**
     * 登录密码，也就是OneNET平台的签名Token
     */
    password: string;
};

/**
 * 设备登录结果（EMQX HTTP 认证回调响应体）
 */
export type DeviceLoginResult = {
    /**
     * 鉴权结果 JiShe.ServicePro.EMQXProvider.DeviceEMQXLoginResultConsts
     */
    result?: (string) | null;
    /**
     * 是否超级用户
     */
    is_superuser?: boolean;
    /**
     * 设备属性（键值均为字符串）
     */
    client_attrs?: {
        [key: string]: (string);
    } | null;
};

export type DeviceManagementInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 设备名称
     */
    deviceName?: (string) | null;
    /**
     * 设备地址
     */
    deviceAddress?: (string) | null;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台类型,默认没有指定
     */
    readonly ioTPlatformName?: (string) | null;
    /**
     * 物联网平台中对应的设备Id或者名称
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
    /**
     * 物联网平台设备密码（目标密钥：设备切到目标平台后应当使用的鉴权密钥）
     */
    platformPassword?: (string) | null;
    /**
     * 设备当前实际持有的密钥（生效密钥），指令报文的 AES 加密与签名用它
     */
    deviceEffectiveSecKey?: (string) | null;
    /**
     * 已下发、等待设备确认生效的目标密钥
     */
    pendingSecKey?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应的产品Name
     */
    ioTPlatformProductName?: (string) | null;
    /**
     * 物联网平台中对应的账号Id
     */
    ioTPlatformAccountId?: (string) | null;
    /**
     * 账户手机号
     */
    accountPhoneNumber?: (string) | null;
    /**
     * 物联网平台返回的响应信息
     */
    ioTPlatformResponse?: (string) | null;
    /**
     * 物联网平台推送是否成功
     */
    isPlatformPushSuccess?: boolean;
    deviceOnlineStatus?: DeviceOnlineStatus;
    /**
     * 设备在线状态
     */
    readonly deviceOnlineStatusName?: (string) | null;
    /**
     * 最后在线时间
     */
    lastOnlineTime?: (string) | null;
    /**
     * 最后离线时间
     */
    lastOfflineTime?: (string) | null;
    deviceSourceTypeEnum?: DeviceSourceTypeEnum;
    /**
     * 设备来源类型
     */
    readonly deviceSourceTypeName?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 设备类型，与业务系统无关
     */
    readonly deviceTypeName?: (string) | null;
    /**
     * 是否需要配置设备模型，默认false
     */
    isNeedConfigDeviceModel?: boolean;
    /**
     * 设备物模型数据Id
     */
    deviceThingModelDataId?: (string) | null;
    /**
     * 设备物模型名称
     */
    deviceThingModelName?: (string) | null;
    /**
     * 固件版本
     */
    firmwareVersion?: (string) | null;
    /**
     * 升级日期
     */
    upgradeDate?: (string) | null;
    /**
     * 子设备容量
     */
    subDeviceCapacity?: number;
    readingMode?: DeviceReadingModeEnum;
    /**
     * 抄读模式,JiShe.ServicePro.Core.DeviceReadingModeEnum
     */
    readonly readingModeName?: (string) | null;
    simCardInfo?: DeviceSimCardInfo;
    encryptionType?: DeviceAuthenticationModeEnum;
    /**
     * 设备加密类型,JiShe.ServicePro.Enums.DeviceAuthenticationModeEnum
     */
    readonly encryptionTypeName?: (string) | null;
    encryptionMethod?: DeviceEncryptionMethodEnum;
    /**
     * 设备鉴权加密方式,JiShe.ServicePro.Enums.DeviceEncryptionMethodEnum
     */
    readonly encryptionMethodName?: (string) | null;
    /**
     * 是否需要设备生产计划,默认不需要,1表示需要
     */
    needEquipmentProductionPlan?: (boolean) | null;
    lifeInfo?: DeviceLifeTypeEnum;
    /**
     * 设备生命周期,JiShe.ServicePro.Enums.DeviceLifeTypeEnum
     */
    readonly lifeInfoName?: (string) | null;
    /**
     * 最后主站地址
     */
    finalMainStation?: (string) | null;
    /**
     * 本次下发的主站配置集合（主用 + 备用），记录每个端点的地址与所属平台。
     */
    masterStationConfigs?: Array<DeviceMasterStationEndpoint> | null;
    /**
     * 是否覆盖产品级推送配置：true 用本设备的推送配置，false 继承所属产品配置
     */
    dataPushOverride?: boolean;
    /**
     * 是否需要推送数据（设备级开关，仅 JiShe.ServicePro.DeviceManagement.DeviceInfos.DeviceManagementInfoDto.DataPushOverride 为 true 时生效）
     */
    isNeedPushData?: boolean;
    /**
     * 数据推送规则集合，仅 JiShe.ServicePro.DeviceManagement.DeviceInfos.DeviceManagementInfoDto.DataPushOverride 为 true 时生效
     */
    dataPushRules?: Array<DataPushRule> | null;
};

/**
 * HTTP 请求返回结果
 */
export type DeviceManagementInfoDtoHttpDataResult = {
    code?: ResponeResultEnum;
    /**
     * 详细描述
     */
    msg?: (string) | null;
    /**
     * 是否获取到数据或者逻辑处理成功
     * 服务内部判断状态采用此属性
     */
    success?: boolean;
    /**
     * 时间戳(毫秒)
     */
    readonly timestamp?: number;
    /**
     * 用于计算签名字符的随机串
     */
    nonce?: (string) | null;
    /**
     * 加密签名，用以校验推送客户端身份合法性，校验方法见实例验证
     */
    signature?: (string) | null;
    /**
     * 位置编码，主要用于接口请求逻辑定位
     * 使用时必须保证每个请求中不重复出现
     */
    locationCode?: number;
    /**
     * 扩展信息
     */
    extras?: (string) | null;
    data?: DeviceManagementInfoDto;
    /**
     * 总数
     */
    total?: number;
};

export type DeviceManagementInfoDtoPagedResultDto = {
    items?: Array<DeviceManagementInfoDto> | null;
    totalCount?: number;
};

/**
 * HTTP 请求返回结果
 */
export type DeviceManagementInfoDtoPagedResultDtoHttpDataResult = {
    code?: ResponeResultEnum;
    /**
     * 详细描述
     */
    msg?: (string) | null;
    /**
     * 是否获取到数据或者逻辑处理成功
     * 服务内部判断状态采用此属性
     */
    success?: boolean;
    /**
     * 时间戳(毫秒)
     */
    readonly timestamp?: number;
    /**
     * 用于计算签名字符的随机串
     */
    nonce?: (string) | null;
    /**
     * 加密签名，用以校验推送客户端身份合法性，校验方法见实例验证
     */
    signature?: (string) | null;
    /**
     * 位置编码，主要用于接口请求逻辑定位
     * 使用时必须保证每个请求中不重复出现
     */
    locationCode?: number;
    /**
     * 扩展信息
     */
    extras?: (string) | null;
    data?: DeviceManagementInfoDtoPagedResultDto;
    /**
     * 总数
     */
    total?: number;
};

/**
 * 设备主站端点：一个主站的地址 + 所属物联网平台。
 * 设备一次切主站会下发主用 + 备用两个端点，主备共用同一把接入密钥。
 * 服务端据此在切换确认后判断"主或备是否含 OneNET"，进而决定是否要把设备当前密钥同步到 OneNET（一机一密）——
 * 否则设备自主回落到 OneNET 备用主站时，OneNET 侧仍是旧密钥、鉴权不过、连不上也报不了事件，彻底失联。
 * 以 JSON 序列化存 jsonb，供实体 / DTO / 缓存共用。
 */
export type DeviceMasterStationEndpoint = {
    /**
     * 主站地址（host:port）
     */
    masterStationAddress?: (string) | null;
    ioTPlatform?: IoTPlatformTypeEnum;
};

/**
 * 设备切换主站入参
 */
export type DeviceMasterSwitchInput = {
    id: string;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    masterStation: MasterStationInput;
    backupMasterStation: MasterStationInput;
};

/**
 * 设备在线状态
 */
export type DeviceOnlineStatus = 'Online' | 'Offline';

/**
 * 发起 EMQX 异步抄读的返回。
 * 刻意用 DTO 包一层而不是直接返回 string：
 * 1）裸 string 返回值会被 ASP.NET Core 的 StringOutputFormatter 写成 text/plain 裸内容，
 * 前端 axios 默认会对响应体尝试 JSON.parse，纯数字的雪花 Id 会被解析成 JS number；
 * 2）雪花 Id 远超 Number.MAX_SAFE_INTEGER，一旦变成 JS number 精度立刻丢失，
 * 轮询时带回来的就是个对不上的错 Id。
 * 包成对象后 requestId 是标准 JSON 字符串，两个问题都不存在。
 */
export type DevicePropertyReadIssuedDto = {
    /**
     * 抄读关联 Id，据此轮询抄读结果
     */
    requestId?: (string) | null;
};

/**
 * 查询 EMQX 异步抄读结果的入参。
 * EMQX 只是 broker，没有 OneNET 那种平台侧属性快照可同步查询，抄读只能发 property/get 等设备 get_reply 应答，
 * 故抄读拆成"发起（拿 RequestId）→ 轮询本接口取结果"两步。
 */
export type DevicePropertyReadResultForApiInput = {
    id: string;
    /**
     * 发起抄读时返回的关联 Id
     */
    requestId?: (string) | null;
};

/**
 * 设备属性抄读
 */
export type DevicePropertyValueForApiInput = {
    id: string;
    /**
     * 设备标准物模型属性标识符集合，key为物模型属性标识符，value为空
     */
    propertyList: {
        [key: string]: unknown;
    };
};

/**
 * 设备抄读模式
 */
export type DeviceReadingModeEnum = 'Unspecified' | 'StandardMode' | 'SpecialMode';

/**
 * 设备 SIM 卡信息（供 EF / FreeSql 共用，避免 FreeSqlProvider 与 Domain.Shared 循环引用）
 */
export type DeviceSimCardInfo = {
    imei?: (string) | null;
    iccid?: (string) | null;
    imsi?: (string) | null;
    msisdn?: (string) | null;
};

/**
 * 设备来源类型枚举
 */
export type DeviceSourceTypeEnum = 'AdminSystem' | 'Workshop' | 'CTWing' | 'OneNET' | 'Prepay' | 'Energy';

/**
 * 设备数据表模型信息入参
 */
export type DeviceTableModelDataInfoPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 是否需要分页， 默认为true
     */
    isNeedPaging?: boolean;
};

/**
 * 设备数据表模型信息输出
 */
export type DeviceTableModelDataInfoPageOutput = {
    /**
     * 系统名称
     */
    systemName?: (string) | null;
    /**
     * 数据类型
     */
    ioTDataType?: (string) | null;
    /**
     * 设备类型
     * JiShe.ServicePro.Enums.DeviceTypeEnum
     */
    deviceType?: (string) | null;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 子设备
     */
    subDevice?: (string) | null;
    /**
     * 时标
     */
    timestamps?: number;
    /**
     * 设备路径,树模型使用，表模型会在数据插入的时候直接获取继承类的名称作为表明
     */
    devicePath?: (string) | null;
    /**
     * 时标
     */
    readonly times?: string;
};

export type DeviceTableModelDataInfoPageOutputPagedResultDto = {
    items?: Array<DeviceTableModelDataInfoPageOutput> | null;
    totalCount?: number;
};

/**
 * 设备端物模型指令类型
 */
export type DeviceThingModeCommandTypeEnum = 'Unspecified' | 'ReadingCommand' | 'OperateCommand';

/**
 * 设备物模型指令详情创建输入
 */
export type DeviceThingModelCommandInfoCreateInput = {
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    /**
     * 指令名称
     */
    commandName: string;
    /**
     * 完整的单个下发指令
     */
    issueCommand: string;
    /**
     * 指令设备端物模型的属性名称集合,JSON格式字符串数组，一个指令的返回报文包含多个属性标识的数据
     */
    propertyArray: Array<(string)>;
    commandType: DeviceThingModeCommandTypeEnum;
    /**
     * 待下发的操作指令类型,，例如阀控操作时，是拉闸还是合闸
     */
    operateCommandType?: number;
};

/**
 * 设备端透传指令详情，如果透抄的地址不连续，则会有多个指令记录
 */
export type DeviceThingModelCommandInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 设备端物模型Id
     */
    deviceThingModelId?: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    commandType?: DeviceThingModeCommandTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 指令名称
     */
    commandName?: (string) | null;
    /**
     * 完整的单个下发指令
     */
    issueCommand?: (string) | null;
    /**
     * 指令设备端物模型的属性名称集合,JSON格式字符串数组，一个指令的返回报文包含多个属性标识的数据，读取指令类型才有
     */
    propertyArray?: Array<(string)> | null;
    /**
     * 是否启用
     */
    isEnable?: boolean;
    /**
     * 待下发的设备断物模型属性标识符名称，仅操作指令类型才有
     */
    operateProperty?: (string) | null;
    /**
     * 待下发的操作指令类型,，例如阀控操作时，是拉闸还是合闸
     */
    operateCommandType?: number;
};

export type DeviceThingModelCommandInfoDtoPagedResultDto = {
    items?: Array<DeviceThingModelCommandInfoDto> | null;
    totalCount?: number;
};

/**
 * 设备物模型指令详情分页
 */
export type DeviceThingModelCommandInfoPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 搜索关键字
     */
    searchKeyWords?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
};

/**
 * 设备物模型指令详情更新输入
 */
export type DeviceThingModelCommandInfoUpdateInput = {
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    /**
     * 指令名称
     */
    commandName: string;
    /**
     * 完整的单个下发指令
     */
    issueCommand: string;
    /**
     * 指令设备端物模型的属性名称集合,JSON格式字符串数组，一个指令的返回报文包含多个属性标识的数据
     */
    propertyArray: Array<(string)>;
    commandType: DeviceThingModeCommandTypeEnum;
    /**
     * 待下发的操作指令类型,，例如阀控操作时，是拉闸还是合闸
     */
    operateCommandType?: number;
    id: string;
};

export type DeviceThingModelCreateInput = {
    /**
     * 设备端物模型名称
     */
    deviceModelName: string;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 脚本函数名称
     */
    scriptName?: (string) | null;
    /**
     * 脚本函数体
     */
    functionScript?: (string) | null;
};

/**
 * 设备端物模型管理
 */
export type DeviceThingModelManagementDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 设备端物模型名称
     */
    deviceModelName?: (string) | null;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 脚本函数名称
     */
    scriptName?: (string) | null;
    /**
     * 脚本函数体
     */
    functionScript?: (string) | null;
    /**
     * 函数解析标记，默认为false， 不能解析
     */
    functionAnalysisFlag?: boolean;
    /**
     * 属性信息
     */
    propertyInfos?: Array<DeviceThingModelPropertyInfoDto> | null;
    /**
     * 指令信息
     */
    commandInfos?: Array<DeviceThingModelCommandInfoDto> | null;
};

export type DeviceThingModelManagementDtoPagedResultDto = {
    items?: Array<DeviceThingModelManagementDto> | null;
    totalCount?: number;
};

export type DeviceThingModelPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 搜索关键字
     */
    searchKeyWords?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
};

/**
 * 设备物模型属性创建输入
 */
export type DeviceThingModelPropertyCreateInput = {
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    /**
     * 平台端物模型数据Id
     */
    ioTPlatformThingModelDataId?: string;
    /**
     * 正序跳过数量
     */
    nativeSkipNumber: number;
    /**
     * 正序获取数量
     */
    nativeTakeNumber: number;
    parsingSequence: ParsingSequenceTypeEnum;
    /**
     * 反转跳过数量
     */
    reversalSkipNumber?: (number) | null;
    /**
     * 反转获取数量
     */
    reversalTakeNumber?: (number) | null;
};

/**
 * 设备端物模型属性信息，是指设备端支持的属性或者事件
 */
export type DeviceThingModelPropertyInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 设备端物模型Id
     */
    deviceThingModelId?: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 平台端物模型数据Id
     */
    ioTPlatformThingModelDataId?: string;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件数据类型，JiShe.ServicePro.Core.OneNETAllThingModel
     */
    ioTPlatformRawFieldDataType?: (string) | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段值类型
     */
    standardFieldValueType?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
    /**
     * 是否需要值类型转换
     */
    isValueNeedConvert?: boolean;
    /**
     * 正序跳过数量
     */
    nativeSkipNumber?: number;
    /**
     * 正序获取数量
     */
    nativeTakeNumber?: number;
    parsingSequence?: ParsingSequenceTypeEnum;
    /**
     * 反转跳过数量
     */
    reversalSkipNumber?: (number) | null;
    /**
     * 反转获取数量
     */
    reversalTakeNumber?: (number) | null;
    /**
     * 物模型属性或者事件类型名称
     */
    filedTypeName?: (string) | null;
    /**
     * 属性的操作类型列表
     */
    operateTypeList?: Array<SelectResult> | null;
};

export type DeviceThingModelPropertyInfoDtoPagedResultDto = {
    items?: Array<DeviceThingModelPropertyInfoDto> | null;
    totalCount?: number;
};

/**
 * 设备物模型属性分页
 */
export type DeviceThingModelPropertyPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 搜索关键字
     */
    searchKeyWords?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
};

/**
 * 设备物模型属性更新输入
 */
export type DeviceThingModelPropertyUpdateInput = {
    id: string;
    /**
     * 设备端物模型Id
     */
    deviceThingModelId: string;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName: string;
    /**
     * 物联网平台中对应的产品物模型属性或者事件数据类型，JiShe.ServicePro.Core.OneNETAllThingModel
     */
    ioTPlatformRawFieldDataType: string;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName: string;
    /**
     * 标准物模型字段值类型
     */
    standardFieldValueType: string;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName: string;
    /**
     * 是否需要值类型转换
     */
    isValueNeedConvert?: boolean;
    /**
     * 正序跳过数量
     */
    nativeSkipNumber: number;
    /**
     * 正序获取数量
     */
    nativeTakeNumber: number;
    parsingSequence: ParsingSequenceTypeEnum;
    /**
     * 反转跳过数量
     */
    reversalSkipNumber?: (number) | null;
    /**
     * 反转获取数量
     */
    reversalTakeNumber?: (number) | null;
};

export type DeviceThingModelUpdateInput = {
    /**
     * 设备端物模型名称
     */
    deviceModelName: string;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 脚本函数名称
     */
    scriptName?: (string) | null;
    /**
     * 脚本函数体
     */
    functionScript?: (string) | null;
    id?: string;
};

/**
 * 设备树模型数据信息查询入参
 */
export type DeviceTreeModelDataInfoInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 是否需要分页， 默认为true
     */
    isNeedPaging?: boolean;
    /**
     * 子设备地址
     */
    subDeviceAddress?: (string) | null;
    /**
     * 设备事件类型名称
     */
    deviceEvent?: (string) | null;
    /**
     * 设备路径，管理后台才有，来自IoTDB实际地址(show devices)，业务系统调用逻辑没有
     */
    devicePath?: (string) | null;
};

/**
 * 设备类型，与业务系统无关
 */
export type DeviceTypeEnum = 'UNKNOWN' | 'GATEWAY' | 'DIRECT_DEVICE' | 'SUB_DEVICE';

/**
 * 设备升级
 */
export type DeviceUpgradeForApiInput = {
    id: string;
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 固件版本信息
     */
    nowFirmwareVersionDataId: string;
    /**
     * 升级描述
     */
    upgradeDescription?: (string) | null;
};

export type DeviceUpgradeRecordDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 设备数据Id
     */
    deviceDataId?: string;
    /**
     * 设备名称
     */
    deviceName?: (string) | null;
    /**
     * 设备地址
     */
    deviceAddress?: (string) | null;
    /**
     * 旧的固件版本
     */
    oldFirmwareVersion?: (string) | null;
    /**
     * 固件版本
     */
    nowFirmwareVersion?: (string) | null;
    /**
     * 升级日期
     */
    upgradeDate?: string;
    upgradeSource?: DeviceUpgradeSourceTypeEnum;
    /**
     * 升级来源
     */
    readonly upgradeSourceTypeName?: (string) | null;
    /**
     * 升级信息
     */
    upgradeMessage?: (string) | null;
    upgradeStatus?: DeviceUpgradeStatusTypeEnum;
    /**
     * 升级状态
     */
    readonly upgradeStatusName?: (string) | null;
    /**
     * 升级标识符号
     */
    upgradeIdentifier?: number;
    /**
     * 签名校验值
     */
    firmwareSignature?: (string) | null;
    upgradeResult?: DeviceUpgradeResultTypeEnum;
    /**
     * 升级结果
     */
    readonly upgradeResultName?: (string) | null;
    /**
     * 升级描述
     */
    upgradeDescription?: (string) | null;
};

export type DeviceUpgradeRecordDtoPagedResultDto = {
    items?: Array<DeviceUpgradeRecordDto> | null;
    totalCount?: number;
};

/**
 * 设备升级结果枚举
 */
export type DeviceUpgradeResultTypeEnum = 'Default' | 'Success' | 'InvalidUrlOrModuleUrlFetchFailed' | 'DownloadTimeout' | 'ParseHttpDlFileFailedOrDownloadIncomplete' | 'DownloadSizeMismatch' | 'ModuleReadTimeout' | 'FilePointerException' | 'ExternalFlashWriteFailed' | 'ExternalFlashCrc16Mismatch' | 'SignatureVerificationFailed' | 'Crc32Mismatch' | 'DiffDecompressOrPatchFailed' | 'RestoredFirmwareSizeExceededOrTargetAddressInBootArea' | 'IapPowerAbnormal';

/**
 * 设备升级来源类型枚举
 */
export type DeviceUpgradeSourceTypeEnum = 'AdminSystem' | 'BusinessSystem';

/**
 * 设备升级状态枚举
 */
export type DeviceUpgradeStatusTypeEnum = 'NotUpgrade' | 'Upgrading' | 'Downloading' | 'UpgradeSuccess' | 'UpgradeFailed';

export type DisabledTwoFactorInput = {
    /**
     * 验证码
     */
    code: string;
};

export type DownloadFileObjectInput = {
    /**
     * 文件Id
     */
    id?: string;
};

/**
 * 设备启停入参
 */
export type EnableDeviceForApiInput = {
    id: string;
    /**
     * 设备启停状态，true-启用，false-停用
     */
    enable?: boolean;
};

export type EnabledTwoFactorInput = {
    /**
     * 验证码
     */
    code: string;
    /**
     * 密钥
     */
    secret: string;
};

export type EntityChangeType = 'Created' | 'Updated' | 'Deleted';

export type EntityExtensionDto = {
    properties?: {
        [key: string]: ExtensionPropertyDto;
    } | null;
    configuration?: {
        [key: string]: unknown;
    } | null;
};

/**
 * 导出平台端物模型入参（单个产品）
 */
export type ExportPlatformThingModelInput = {
    /**
     * 平台产品ID
     */
    ioTPlatformProductId: string;
    platform?: IoTPlatformTypeEnum;
};

export type ExtensionEnumDto = {
    fields?: Array<ExtensionEnumFieldDto> | null;
    localizationResource?: (string) | null;
};

export type ExtensionEnumFieldDto = {
    name?: (string) | null;
    value?: unknown;
};

export type ExtensionPropertyApiCreateDto = {
    isAvailable?: boolean;
};

export type ExtensionPropertyApiDto = {
    onGet?: ExtensionPropertyApiGetDto;
    onCreate?: ExtensionPropertyApiCreateDto;
    onUpdate?: ExtensionPropertyApiUpdateDto;
};

export type ExtensionPropertyApiGetDto = {
    isAvailable?: boolean;
};

export type ExtensionPropertyApiUpdateDto = {
    isAvailable?: boolean;
};

export type ExtensionPropertyAttributeDto = {
    typeSimple?: (string) | null;
    config?: {
        [key: string]: unknown;
    } | null;
};

export type ExtensionPropertyDto = {
    type?: (string) | null;
    typeSimple?: (string) | null;
    displayName?: LocalizableStringDto;
    api?: ExtensionPropertyApiDto;
    ui?: ExtensionPropertyUiDto;
    policy?: ExtensionPropertyPolicyDto;
    attributes?: Array<ExtensionPropertyAttributeDto> | null;
    configuration?: {
        [key: string]: unknown;
    } | null;
    defaultValue?: unknown;
};

export type ExtensionPropertyFeaturePolicyDto = {
    features?: Array<(string)> | null;
    requiresAll?: boolean;
};

export type ExtensionPropertyGlobalFeaturePolicyDto = {
    features?: Array<(string)> | null;
    requiresAll?: boolean;
};

export type ExtensionPropertyPermissionPolicyDto = {
    permissionNames?: Array<(string)> | null;
    requiresAll?: boolean;
};

export type ExtensionPropertyPolicyDto = {
    globalFeatures?: ExtensionPropertyGlobalFeaturePolicyDto;
    features?: ExtensionPropertyFeaturePolicyDto;
    permissions?: ExtensionPropertyPermissionPolicyDto;
};

export type ExtensionPropertyUiDto = {
    onTable?: ExtensionPropertyUiTableDto;
    onCreateForm?: ExtensionPropertyUiFormDto;
    onEditForm?: ExtensionPropertyUiFormDto;
    lookup?: ExtensionPropertyUiLookupDto;
};

export type ExtensionPropertyUiFormDto = {
    isVisible?: boolean;
};

export type ExtensionPropertyUiLookupDto = {
    url?: (string) | null;
    resultListPropertyName?: (string) | null;
    displayPropertyName?: (string) | null;
    valuePropertyName?: (string) | null;
    filterParamName?: (string) | null;
};

export type ExtensionPropertyUiTableDto = {
    isVisible?: boolean;
};

export type FeatureDto = {
    name?: (string) | null;
    displayName?: (string) | null;
    value?: (string) | null;
    provider?: FeatureProviderDto;
    description?: (string) | null;
    valueType?: IStringValueType;
    depth?: number;
    parentName?: (string) | null;
};

export type FeatureGroupDto = {
    name?: (string) | null;
    displayName?: (string) | null;
    features?: Array<FeatureDto> | null;
};

export type FeatureProviderDto = {
    name?: (string) | null;
    key?: (string) | null;
};

export type FileAggregateRoute = {
    routeKeys?: Array<(string)> | null;
    routeKeysConfig?: Array<AggregateRouteConfig> | null;
    upstreamPathTemplate?: (string) | null;
    upstreamHost?: (string) | null;
    routeIsCaseSensitive?: boolean;
    aggregator?: (string) | null;
    readonly upstreamHttpMethod?: Array<(string)> | null;
    priority?: number;
};

export type FileAuthenticationOptions = {
    authenticationProviderKey?: (string) | null;
    allowedScopes?: Array<(string)> | null;
};

export type FileCacheOptions = {
    ttlSeconds?: number;
    region?: (string) | null;
};

export type FileConfiguration = {
    routes?: Array<FileRoute> | null;
    dynamicRoutes?: Array<FileDynamicRoute> | null;
    aggregates?: Array<FileAggregateRoute> | null;
    globalConfiguration?: FileGlobalConfiguration;
};

export type FileDynamicRoute = {
    serviceName?: (string) | null;
    rateLimitRule?: FileRateLimitRule;
    downstreamHttpVersion?: (string) | null;
};

export type FileGlobalConfiguration = {
    requestIdKey?: (string) | null;
    serviceDiscoveryProvider?: FileServiceDiscoveryProvider;
    rateLimitOptions?: FileRateLimitOptions;
    qoSOptions?: FileQoSOptions;
    baseUrl?: (string) | null;
    loadBalancerOptions?: FileLoadBalancerOptions;
    downstreamScheme?: (string) | null;
    httpHandlerOptions?: FileHttpHandlerOptions;
    downstreamHttpVersion?: (string) | null;
};

export type FileHostAndPort = {
    host?: (string) | null;
    port?: number;
};

export type FileHttpHandlerOptions = {
    allowAutoRedirect?: boolean;
    useCookieContainer?: boolean;
    useTracing?: boolean;
    useProxy?: boolean;
    maxConnectionsPerServer?: number;
};

export type FileLoadBalancerOptions = {
    type?: (string) | null;
    key?: (string) | null;
    expiry?: number;
};

/**
 * 文件
 */
export type FileObjectDto = {
    /**
     * 主键Id
     */
    id?: string;
    /**
     * 创建时间
     */
    creationTime?: string;
    /**
     * 文件大小
     */
    fileSize?: number;
    /**
     * 文件名称
     */
    contentType?: (string) | null;
    /**
     * 文件名称
     */
    fileName?: (string) | null;
    /**
     * 文件MD5
     */
    md5Hash?: (string) | null;
};

export type FileQoSOptions = {
    exceptionsAllowedBeforeBreaking?: number;
    durationOfBreak?: number;
    timeoutValue?: number;
};

export type FileRateLimitOptions = {
    clientIdHeader?: (string) | null;
    quotaExceededMessage?: (string) | null;
    rateLimitCounterPrefix?: (string) | null;
    disableRateLimitHeaders?: boolean;
    httpStatusCode?: number;
};

export type FileRateLimitRule = {
    clientWhitelist?: Array<(string)> | null;
    enableRateLimiting?: boolean;
    period?: (string) | null;
    periodTimespan?: number;
    limit?: number;
};

export type FileRoute = {
    downstreamPathTemplate?: (string) | null;
    upstreamPathTemplate?: (string) | null;
    upstreamHttpMethod?: Array<(string)> | null;
    downstreamHttpMethod?: (string) | null;
    addHeadersToRequest?: {
        [key: string]: ((string) | null);
    } | null;
    upstreamHeaderTransform?: {
        [key: string]: ((string) | null);
    } | null;
    downstreamHeaderTransform?: {
        [key: string]: ((string) | null);
    } | null;
    addClaimsToRequest?: {
        [key: string]: ((string) | null);
    } | null;
    routeClaimsRequirement?: {
        [key: string]: ((string) | null);
    } | null;
    addQueriesToRequest?: {
        [key: string]: ((string) | null);
    } | null;
    changeDownstreamPathTemplate?: {
        [key: string]: ((string) | null);
    } | null;
    requestIdKey?: (string) | null;
    fileCacheOptions?: FileCacheOptions;
    routeIsCaseSensitive?: boolean;
    serviceName?: (string) | null;
    serviceNamespace?: (string) | null;
    downstreamScheme?: (string) | null;
    qoSOptions?: FileQoSOptions;
    loadBalancerOptions?: FileLoadBalancerOptions;
    rateLimitOptions?: FileRateLimitRule;
    authenticationOptions?: FileAuthenticationOptions;
    httpHandlerOptions?: FileHttpHandlerOptions;
    downstreamHostAndPorts?: Array<FileHostAndPort> | null;
    upstreamHost?: (string) | null;
    key?: (string) | null;
    delegatingHandlers?: Array<(string)> | null;
    priority?: number;
    timeout?: number;
    dangerousAcceptAnyServerCertificateValidator?: boolean;
    securityOptions?: FileSecurityOptions;
    downstreamHttpVersion?: (string) | null;
};

export type FileSecurityOptions = {
    ipAllowedList?: Array<(string)> | null;
    ipBlockedList?: Array<(string)> | null;
};

export type FileServiceDiscoveryProvider = {
    scheme?: (string) | null;
    host?: (string) | null;
    port?: number;
    type?: (string) | null;
    token?: (string) | null;
    configurationKey?: (string) | null;
    pollingInterval?: number;
    namespace?: (string) | null;
};

export type FindByUserNameInput = {
    userName?: (string) | null;
};

export type FindTenantByNameInput = {
    name?: (string) | null;
};

export type FindTenantResultDto = {
    success?: boolean;
    tenantId?: (string) | null;
    name?: (string) | null;
    normalizedName?: (string) | null;
    isActive?: boolean;
};

export type GetFeatureListResultDto = {
    groups?: Array<FeatureGroupDto> | null;
};

export type GetFeatureListResultInput = {
    providerName?: (string) | null;
    providerKey?: (string) | null;
};

export type GetMenuTreeMetaOutput = {
    title?: (string) | null;
    displayTitle?: (string) | null;
    /**
     * 图标
     */
    icon?: (string) | null;
    /**
     * 排序
     */
    order?: number;
    /**
     * 是否缓存
     */
    keepAlive?: boolean;
    /**
     * 是否显示
     */
    hideInMenu?: boolean;
    /**
     * 外链地址
     */
    link?: (string) | null;
    /**
     * 内链地址
     */
    iframeSrc?: (string) | null;
};

export type GetMenuTreeOutput = {
    id?: string;
    parentId?: (string) | null;
    /**
     * 名称
     */
    name?: (string) | null;
    path?: (string) | null;
    component?: (string) | null;
    enabled?: boolean;
    meta?: GetMenuTreeMetaOutput;
    children?: Array<GetMenuTreeOutput> | null;
};

export type GetOrganizationUnitRoleInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    organizationUnitId?: string;
};

export type GetOrganizationUnitRoleOutput = {
    id?: string;
    name?: (string) | null;
};

export type GetOrganizationUnitRoleOutputPagedResultDto = {
    items?: Array<GetOrganizationUnitRoleOutput> | null;
    totalCount?: number;
};

export type GetOrganizationUnitUserInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    organizationUnitId?: string;
    filter?: (string) | null;
};

export type GetOrganizationUnitUserOutput = {
    id?: string;
    userName?: (string) | null;
    email?: (string) | null;
};

export type GetOrganizationUnitUserOutputPagedResultDto = {
    items?: Array<GetOrganizationUnitUserOutput> | null;
    totalCount?: number;
};

export type GetPermissionInput = {
    providerName?: (string) | null;
    providerKey?: (string) | null;
};

/**
 * 获取平台物模型服务列表入参
 */
export type GetPlatformThingModelServiceInput = {
    id: string;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 是否只获取操作服务
     */
    isGetOperateService?: boolean;
};

export type GetQRCodeOutput = {
    /**
     * base64 二维码
     */
    qrCode?: (string) | null;
    /**
     * 密钥
     */
    secret?: (string) | null;
};

export type GetUnAddRoleInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    organizationUnitId?: string;
    filter?: (string) | null;
};

export type GetUnAddRoleOutput = {
    id?: string;
    name?: (string) | null;
};

export type GetUnAddRoleOutputPagedResultDto = {
    items?: Array<GetUnAddRoleOutput> | null;
    totalCount?: number;
};

export type GetUnAddUserInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    organizationUnitId?: string;
    filter?: (string) | null;
};

export type GetUnAddUserOutput = {
    id?: string;
    userName?: (string) | null;
    email?: (string) | null;
};

export type GetUnAddUserOutputPagedResultDto = {
    items?: Array<GetUnAddUserOutput> | null;
    totalCount?: number;
};

/**
 * HTTP 请求返回结果
 */
export type HttpDataResult = {
    code?: ResponeResultEnum;
    /**
     * 详细描述
     */
    msg?: (string) | null;
    /**
     * 是否获取到数据或者逻辑处理成功
     * 服务内部判断状态采用此属性
     */
    success?: boolean;
    /**
     * 时间戳(毫秒)
     */
    readonly timestamp?: number;
    /**
     * 用于计算签名字符的随机串
     */
    nonce?: (string) | null;
    /**
     * 加密签名，用以校验推送客户端身份合法性，校验方法见实例验证
     */
    signature?: (string) | null;
    /**
     * 位置编码，主要用于接口请求逻辑定位
     * 使用时必须保证每个请求中不重复出现
     */
    locationCode?: number;
    /**
     * 扩展信息
     */
    extras?: (string) | null;
};

export type HttpStatusCode = 'Continue' | 'SwitchingProtocols' | 'Processing' | 'EarlyHints' | 'OK' | 'Created' | 'Accepted' | 'NonAuthoritativeInformation' | 'NoContent' | 'ResetContent' | 'PartialContent' | 'MultiStatus' | 'AlreadyReported' | 'IMUsed' | 'MultipleChoices' | 'Ambiguous' | 'MovedPermanently' | 'Moved' | 'Found' | 'Redirect' | 'SeeOther' | 'RedirectMethod' | 'NotModified' | 'UseProxy' | 'Unused' | 'TemporaryRedirect' | 'RedirectKeepVerb' | 'PermanentRedirect' | 'BadRequest' | 'Unauthorized' | 'PaymentRequired' | 'Forbidden' | 'NotFound' | 'MethodNotAllowed' | 'NotAcceptable' | 'ProxyAuthenticationRequired' | 'RequestTimeout' | 'Conflict' | 'Gone' | 'LengthRequired' | 'PreconditionFailed' | 'RequestEntityTooLarge' | 'RequestUriTooLong' | 'UnsupportedMediaType' | 'RequestedRangeNotSatisfiable' | 'ExpectationFailed' | 'MisdirectedRequest' | 'UnprocessableEntity' | 'UnprocessableContent' | 'Locked' | 'FailedDependency' | 'UpgradeRequired' | 'PreconditionRequired' | 'TooManyRequests' | 'RequestHeaderFieldsTooLarge' | 'UnavailableForLegalReasons' | 'InternalServerError' | 'NotImplemented' | 'BadGateway' | 'ServiceUnavailable' | 'GatewayTimeout' | 'HttpVersionNotSupported' | 'VariantAlsoNegotiates' | 'InsufficientStorage' | 'LoopDetected' | 'NotExtended' | 'NetworkAuthenticationRequired';

export type IanaTimeZone = {
    timeZoneName?: (string) | null;
};

export type IdentityRoleCreateDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    name: string;
    isDefault?: boolean;
    isPublic?: boolean;
};

export type IdentityRoleDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    id?: string;
    name?: (string) | null;
    isDefault?: boolean;
    isStatic?: boolean;
    isPublic?: boolean;
    concurrencyStamp?: (string) | null;
    creationTime?: string;
};

export type IdentityRoleDtoListResultDto = {
    items?: Array<IdentityRoleDto> | null;
};

export type IdentityRoleDtoPagedResultDto = {
    items?: Array<IdentityRoleDto> | null;
    totalCount?: number;
};

export type IdentityRoleUpdateDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    name: string;
    isDefault?: boolean;
    isPublic?: boolean;
    concurrencyStamp?: (string) | null;
};

export type IdentityUserCreateDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    userName: string;
    name?: (string) | null;
    surname?: (string) | null;
    email: string;
    phoneNumber?: (string) | null;
    isActive?: boolean;
    lockoutEnabled?: boolean;
    roleNames?: Array<(string)> | null;
    password: string;
};

export type IdentityUserDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    tenantId?: (string) | null;
    userName?: (string) | null;
    name?: (string) | null;
    surname?: (string) | null;
    email?: (string) | null;
    emailConfirmed?: boolean;
    phoneNumber?: (string) | null;
    phoneNumberConfirmed?: boolean;
    isActive?: boolean;
    lockoutEnabled?: boolean;
    accessFailedCount?: number;
    lockoutEnd?: (string) | null;
    concurrencyStamp?: (string) | null;
    entityVersion?: number;
    lastPasswordChangeTime?: (string) | null;
};

export type IdentityUserUpdateDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    userName: string;
    name?: (string) | null;
    surname?: (string) | null;
    email: string;
    phoneNumber?: (string) | null;
    isActive?: boolean;
    lockoutEnabled?: boolean;
    roleNames?: Array<(string)> | null;
    password?: (string) | null;
    concurrencyStamp?: (string) | null;
};

export type IdInput = {
    id: string;
};

/**
 * 平台端物模型导入结果（单个产品）
 */
export type ImportPlatformThingModelResultDto = {
    /**
     * 导入目标产品ID
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 导入文件中记录的源产品ID
     */
    sourceProductId?: (string) | null;
    /**
     * 导入的物模型标识符条数
     */
    thingModelCount?: number;
    /**
     * 导入的扩展子字段条数
     */
    extensionCount?: number;
    /**
     * 导入的默认操作指令条数
     */
    commandCount?: number;
    /**
     * 是否导入成功（已覆盖数据库并刷新 Redis 缓存）
     */
    success?: boolean;
};

export type InterfaceMethodApiDescriptionModel = {
    name?: (string) | null;
    parametersOnMethod?: Array<MethodParameterApiDescriptionModel> | null;
    returnValue?: ReturnValueApiDescriptionModel;
};

export type IoTDBDynamicObjectPagedResultDto = {
    items?: Array<{
        [key: string]: unknown;
    }> | null;
    totalCount?: number;
};

/**
 * 平台账号信息输入
 */
export type IoTPlatformAccountInfoInput = {
    ioTPlatformType: IoTPlatformTypeEnum;
};

/**
 * 平台账号信息
 */
export type IoTPlatformAccountInfoOutput = {
    ioTPlatformType?: IoTPlatformTypeEnum;
    /**
     * 平台账号
     */
    ioTPlatformAccount?: (string) | null;
    /**
     * 平台账号手机号
     */
    ioTPlatformPhoneNumber?: (string) | null;
};

/**
 * 产品信息输入
 */
export type IoTPlatformProductInfoInput = {
    ioTPlatformType: IoTPlatformTypeEnum;
    /**
     * 平台账号
     */
    ioTPlatformAccount?: (string) | null;
};

/**
 * 平台产品信息
 */
export type IoTPlatformProductInfoOutput = {
    ioTPlatformType?: IoTPlatformTypeEnum;
    /**
     * 物联网平台对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
};

/**
 * 产品属性信息输入
 */
export type IoTPlatformProductThingModelInfoInput = {
    ioTPlatformType: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
};

/**
 * 平台端物模型默认操作指令信息表
 */
export type IoTPlatformThingModelCommandDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 平台端物模型数据Id
     */
    thingModelDataId?: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 待下发的操作指令类型，例如阀控操作时，是拉闸还是合闸，根据StandardFieldName进行分组
     */
    operateType?: number;
    /**
     * 完整透明转发指令
     */
    issueCommand?: (string) | null;
};

export type IoTPlatformThingModelCreateInput = {
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName?: (string) | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段值类型
     */
    standardFieldValueType?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
    /**
     * 是否需要值类型转换
     */
    isValueNeedConvert?: boolean;
    /**
     * 物联网平台中对应的产品物模型属性或者事件数据类型，int等/>
     */
    ioTPlatformRawFieldDataType?: (string) | null;
    /**
     * 是否是特殊物模型标识符
     */
    isSpecialIdentifier?: boolean;
    /**
     * 物联网平台中对应产品物模型标识符扩展，用于扩展结构体类型
     */
    ioTPlatformRawFieldExtension?: {
        [key: string]: unknown;
    } | null;
    /**
     * 是否可操作物模型标识符
     */
    isOperableIdentifier?: boolean;
    /**
     * 物模型标识符访问模式 JiShe.ServicePro.Core.DevicePropertyAccessMode
     */
    accessMode?: (string) | null;
    identifierType?: ThingModelIdentifierTypeEnum;
    /**
     * 标准物模型字段标识符扩展，数组或者结构体时候的参数或者元素名称集合
     */
    standardFieldFieldExtension?: {
        [key: string]: unknown;
    } | null;
};

/**
 * 平台端物模型扩展信息映射表
 */
export type IoTPlatformThingModelExtensionDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 平台端物模型数据Id
     */
    thingModelDataId?: string;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 扩展类型，InputData or OutputData
     */
    fieldType?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName?: (string) | null;
    /**
     * 物联网平台中子元素对应的数据类型，子元素数据据类型映射直接使用此字段
     */
    ioTPlatformRawFieldDataType?: (string) | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
};

/**
 * 平台端物模型信息
 */
export type IoTPlatformThingModelInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件数据类型，int等，JiShe.ServicePro.Core.OneNETAllThingModel
     */
    ioTPlatformRawFieldDataType?: (string) | null;
    /**
     * 物联网平台中对应产品物模型标识符扩展，结构体或者数组的时候，是参数的名称与长度的键值对,其他类型就是长度或者值范围
     */
    ioTPlatformRawFieldExtension?: {
        [key: string]: unknown;
    } | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段值类型
     */
    standardFieldValueType?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
    /**
     * 标准物模型字段标识符扩展，数组或者结构体时候的参数或者元素名称集合
     */
    standardFieldFieldExtension?: {
        [key: string]: unknown;
    } | null;
    /**
     * 是否需要值类型转换
     */
    isValueNeedConvert?: boolean;
    /**
     * 是否是特殊物模型标识符
     */
    isSpecialIdentifier?: boolean;
    /**
     * 物模型属性或者事件类型名称
     */
    filedTypeName?: (string) | null;
    /**
     * 是否可操作物模型标识符
     */
    isOperableIdentifier?: boolean;
    /**
     * 物模型标识符访问模式 JiShe.ServicePro.Core.DevicePropertyAccessMode
     */
    accessMode?: (string) | null;
    identifierType?: ThingModelIdentifierTypeEnum;
    /**
     * 扩展属性信息
     */
    extensionPropertyInfos?: Array<IoTPlatformThingModelExtensionDto> | null;
    /**
     * 扩展指令信息
     */
    commandInfos?: Array<IoTPlatformThingModelCommandDto> | null;
};

export type IoTPlatformThingModelInfoDtoPagedResultDto = {
    items?: Array<IoTPlatformThingModelInfoDto> | null;
    totalCount?: number;
};

export type IoTPlatformThingModelPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 搜索关键字
     */
    searchKeyWords?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 是否可操作标识符
     */
    isOperableIdentifier?: (boolean) | null;
    /**
     * 物模型标识符访问模式 JiShe.ServicePro.Core.DevicePropertyAccessMode
     */
    accessMode?: (string) | null;
    identifierType?: ThingModelIdentifierTypeEnum;
};

export type IoTPlatformThingModelUpdateInput = {
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台中对应产品物模型属性或者事件类型 JiShe.ServicePro.Core.DataDictionaryTypeConst
     */
    filedType?: (string) | null;
    /**
     * 物联网平台中对应的产品物模型属性或者事件名称
     */
    ioTPlatformRawFieldName?: (string) | null;
    /**
     * 管理后台产品标准的物模型属性或者事件名称
     */
    standardFieldName?: (string) | null;
    /**
     * 标准物模型字段值类型
     */
    standardFieldValueType?: (string) | null;
    /**
     * 标准物模型字段显示名称
     */
    standardFieldDisplayName?: (string) | null;
    /**
     * 是否需要值类型转换
     */
    isValueNeedConvert?: boolean;
    /**
     * 物联网平台中对应的产品物模型属性或者事件数据类型，int等/>
     */
    ioTPlatformRawFieldDataType?: (string) | null;
    /**
     * 是否是特殊物模型标识符
     */
    isSpecialIdentifier?: boolean;
    /**
     * 物联网平台中对应产品物模型标识符扩展，用于扩展结构体类型
     */
    ioTPlatformRawFieldExtension?: {
        [key: string]: unknown;
    } | null;
    /**
     * 是否可操作物模型标识符
     */
    isOperableIdentifier?: boolean;
    /**
     * 物模型标识符访问模式 JiShe.ServicePro.Core.DevicePropertyAccessMode
     */
    accessMode?: (string) | null;
    identifierType?: ThingModelIdentifierTypeEnum;
    /**
     * 标准物模型字段标识符扩展，数组或者结构体时候的参数或者元素名称集合
     */
    standardFieldFieldExtension?: {
        [key: string]: unknown;
    } | null;
    id?: string;
};

/**
 * 物联网平台类型枚举
 */
export type IoTPlatformTypeEnum = 'CTWing' | 'OneNET' | 'EMQX';

export type IStringValueType = {
    readonly name?: (string) | null;
    readonly properties?: {
        [key: string]: unknown;
    } | null;
    validator?: IValueValidator;
};

export type IValueValidator = {
    readonly name?: (string) | null;
    readonly properties?: {
        [key: string]: unknown;
    } | null;
};

export type LanguageInfo = {
    cultureName?: (string) | null;
    uiCultureName?: (string) | null;
    displayName?: (string) | null;
    readonly twoLetterISOLanguageName?: (string) | null;
};

export type LocalizableStringDto = {
    name?: (string) | null;
    resource?: (string) | null;
};

export type LockUserInput = {
    userId?: string;
    locked?: boolean;
};

/**
 * 登录
 */
export type Login2FAInput = {
    /**
     * 用户名或者邮箱
     */
    name?: (string) | null;
    /**
     * 密码
     */
    password?: (string) | null;
    /**
     * 双因素验证码
     */
    code?: (string) | null;
};

/**
 * 登录
 */
export type LoginInput = {
    /**
     * 用户名或者邮箱
     */
    name?: (string) | null;
    /**
     * 密码
     */
    password?: (string) | null;
};

/**
 * 登录
 */
export type LoginOidcInput = {
    /**
     * code
     */
    code: string;
    /**
     * Provider
     */
    state: string;
};

export type LoginOutput = {
    id?: string;
    name?: (string) | null;
    userName?: (string) | null;
    token?: (string) | null;
    refreshToken?: (string) | null;
    roles?: Array<(string)> | null;
};

export type LoginResultType = 'Success' | 'InvalidUserNameOrPassword' | 'NotAllowed' | 'LockedOut' | 'RequiresTwoFactor';

/**
 * 主站信息入参（切换主站时选定的目标主站，地址与平台类型成对传入，取值来源为主站下拉列表接口）
 */
export type MasterStationInput = {
    /**
     * 主站地址（host:port）
     */
    masterStationAddress: string;
    ioTPlatform: IoTPlatformTypeEnum;
};

/**
 * 主站下拉项（切换主站时可选的目标主站，目前固定两项：OneNET 静态地址、EMQX 配置地址）
 */
export type MasterStationOutput = {
    /**
     * 主站显示名称
     */
    masterName?: (string) | null;
    /**
     * 主站地址（切换主站接口回传的目标地址）
     */
    masterStationAddress?: (string) | null;
    ioTPlatform?: IoTPlatformTypeEnum;
};

/**
 * 菜单类型
 */
export type MenuType = 'Folder' | 'Menu';

/**
 * 测试消息解析
 */
export type MessageAnalysisTestInput = {
    /**
     * 函数名称
     */
    functionName?: (string) | null;
    /**
     * 函数代码
     */
    functionCode?: (string) | null;
    /**
     * 函数参数
     */
    parameters?: {
        [key: string]: unknown;
    } | null;
};

/**
 * 消息等级
 */
export type MessageLevel = 'Warning' | 'Information' | 'Error';

/**
 * 消息类型
 */
export type MessageType = 'BroadCast' | 'Common';

/**
 * 分页查询输入
 */
export type MeterReadingPacketInfoPageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 是否需要分页， 默认为true
     */
    isNeedPaging?: boolean;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
};

/**
 * 分页查询输出
 */
export type MeterReadingPacketInfoPageOutput = {
    /**
     * 数据库名称，用于构建存储路径,来自系统配置
     */
    dataBaseName?: (string) | null;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    /**
     * 设备类型，用于构建存储路径
     * JiShe.ServicePro.Enums.DeviceTypeEnum
     */
    deviceType?: (string) | null;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 子设备
     */
    subDevice?: (string) | null;
    /**
     * 时标，也就是业务时间戳，单位纳秒,必须通过DateTimeOffset获取
     */
    timestamps?: number;
    /**
     * 时标格式化以后的本地时间
     */
    readonly formattedTimestamps?: string;
    /**
     * 字符串格式时标
     */
    readonly timestampStr?: (string) | null;
    /**
     * 设备路径,树模型使用，表模型会在数据插入的时候直接获取继承类的名称作为表明
     */
    devicePath?: (string) | null;
    /**
     * 物联网平台产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
    /**
     * 物联网平台中对应的产品Name
     */
    ioTPlatformProductName?: (string) | null;
    /**
     * 物联网平台中对应的账号Id
     */
    ioTPlatformAccountId?: (string) | null;
    /**
     * 账户手机号
     */
    accountPhoneNumber?: (string) | null;
    /**
     * 消息类型
     */
    messageType?: (string) | null;
    /**
     * 下发消息体原始内容
     */
    issueRawMessage?: (string) | null;
    /**
     * 下发消息体
     */
    issuePayload?: (string) | null;
    /**
     * 下发结果原始内容
     */
    responseRawMessage?: (string) | null;
    /**
     * 下发结果
     */
    responsePayload?: (string) | null;
    /**
     * 遥测指令来源
     */
    telemetrySource?: number;
    /**
     * 遥测指令来源
     */
    readonly telemetrySourceName?: (string) | null;
    /**
     * 设备指令发送平台
     * IoTPlatformTypeEnum
     */
    ioTPlatform?: number;
    /**
     * 设备指令发送平台
     */
    readonly ioTPlatformName?: (string) | null;
};

export type MeterReadingPacketInfoPageOutputPagedResultDto = {
    items?: Array<MeterReadingPacketInfoPageOutput> | null;
    totalCount?: number;
};

export type MethodParameterApiDescriptionModel = {
    name?: (string) | null;
    typeAsString?: (string) | null;
    type?: (string) | null;
    typeSimple?: (string) | null;
    isOptional?: boolean;
    defaultValue?: unknown;
};

export type ModuleApiDescriptionModel = {
    rootPath?: (string) | null;
    remoteServiceName?: (string) | null;
    controllers?: {
        [key: string]: ControllerApiDescriptionModel;
    } | null;
};

export type ModuleExtensionDto = {
    entities?: {
        [key: string]: EntityExtensionDto;
    } | null;
    configuration?: {
        [key: string]: unknown;
    } | null;
};

export type MultiTenancyInfoDto = {
    isEnabled?: boolean;
    userSharingStrategy?: TenantUserSharingStrategy;
};

export type MyProfileOutput = {
    tenantId?: (string) | null;
    userName?: (string) | null;
    name?: (string) | null;
    surname?: (string) | null;
    email?: (string) | null;
    phoneNumber?: (string) | null;
    isActive?: boolean;
    twoFactorEnabled?: boolean;
};

export type NameValue = {
    name?: (string) | null;
    value?: (string) | null;
};

export type NeedChangePasswordOutput = {
    needChangePassword?: boolean;
    message?: (string) | null;
};

/**
 * 网络类型
 */
export type NetworkTypeEnum = 'WIFI' | 'MobileCellularData' | 'NBIoT' | 'Ethernet' | 'Bluetooth' | 'ZigBee';

export type NodeTypeEnum = 'DirectlyConnected' | 'Gateway' | 'SubDevice';

export type ObjectExtensionsDto = {
    modules?: {
        [key: string]: ModuleExtensionDto;
    } | null;
    enums?: {
        [key: string]: ExtensionEnumDto;
    } | null;
};

export type OidcConfiguration = {
    /**
     * 是否启用
     */
    enabled?: boolean;
    /**
     * 类型
     */
    type?: (string) | null;
    /**
     * client_id
     */
    clientId?: (string) | null;
    /**
     * 应用名称
     */
    clientName?: (string) | null;
    /**
     * 应用图标
     */
    icon?: (string) | null;
    /**
     * 认证地址
     */
    authUri?: (string) | null;
};

export type OneNETAccountInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * 账号名称
     */
    accountName?: (string) | null;
    /**
     * 账号ID
     */
    oneNETAccountId?: (string) | null;
    /**
     * 手机号码
     */
    phoneNumber?: (string) | null;
    /**
     * 账户通信密钥，平台可以重置密钥
     */
    accountAccesskey?: (string) | null;
    /**
     * 产品数量
     */
    productCount?: number;
};

export type OneNETAccountInfoDtoPagedResultDto = {
    items?: Array<OneNETAccountInfoDto> | null;
    totalCount?: number;
};

export type OneNetAccountInsertInput = {
    /**
     * 账号名称
     */
    accountName: string;
    /**
     * 账号ID
     */
    oneNETAccountId: string;
    /**
     * 手机号码
     */
    phoneNumber: string;
    /**
     * 账户通信密钥，平台可以重置密钥
     */
    accountAccesskey: string;
};

export type OneNetAccountListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 手机号码
     */
    phoneNumber?: (string) | null;
    /**
     * 账号ID
     */
    oneNETAccountId?: (string) | null;
};

export type OneNetAccountModifyInput = {
    /**
     * Id
     */
    id?: string;
    /**
     * 账号名称
     */
    accountName: string;
    /**
     * 手机号码
     */
    phoneNumber: string;
    /**
     * 账户通信密钥，平台可以重置密钥
     */
    accountAccesskey: string;
};

/**
 * 数据流转配置输入参数
 */
export type OneNETDataFlowConfigInput = {
    /**
     * 产品数据ID
     */
    id?: string;
    /**
     * 是否需要推送数据（产品级总开关）
     */
    isNeedPushData?: boolean;
    /**
     * 数据推送规则集合，一条规则 = "数据类型 + 白名单 + 目的地"，区分属性/事件/状态并支持分流
     */
    dataPushRules?: Array<DataPushRule> | null;
};

export type OneNETProductInfoDto = {
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    /**
     * 租户Id
     */
    tenantId?: (string) | null;
    /**
     * 备注
     */
    remark?: (string) | null;
    /**
     * 旧系统授权创建者Id
     */
    osaCreatorId?: (number) | null;
    /**
     * 旧系统授权最后修改者Id
     */
    osaLastModifierId?: (number) | null;
    /**
     * 旧系统授权最后删除者Id
     */
    osaDeleterId?: (number) | null;
    /**
     * 扩展属性,用于存储自定义字段,JSON格式
     */
    extraProperties?: {
        [key: string]: unknown;
    } | null;
    /**
     * OneNET账户Id
     */
    oneNETAccountId?: (string) | null;
    /**
     * 账户手机号
     */
    accountPhoneNumber?: (string) | null;
    /**
     * OneNET账户
     */
    oneNETAccountName?: (string) | null;
    /**
     * 物联网平台对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 产品访问密钥
     */
    productAccesskey?: (string) | null;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
    /**
     * 是否启用
     */
    isEnabled?: boolean;
    /**
     * 接入协议
     */
    accessProtocol?: number;
    /**
     * 数据协议
     */
    dataProtocol?: number;
    nodeType?: NodeTypeEnum;
    /**
     * 产品创建时间
     */
    productCreateTime?: string;
    /**
     * 最近修改时间
     */
    productUpdateTime?: string;
    /**
     * 联网方式
     */
    network?: (string) | null;
    /**
     * 产品厂商
     */
    manufacturer?: (string) | null;
    /**
     * 产品型号
     */
    model?: (string) | null;
    /**
     * 产品品牌
     */
    brand?: (string) | null;
    status?: ProductStatusEnum;
    /**
     * 自有设备总数
     */
    ownDeviceCount?: number;
    /**
     * 在线设备总数
     */
    onlineDeviceCount?: number;
    /**
     * 离线设备数
     */
    offlineDeviceCount?: number;
    /**
     * 未激活设备数
     */
    notActiveDeviceCount?: number;
    /**
     * 通讯服务地址
     */
    communicationAddress?: (string) | null;
    /**
     * TLS通讯服务地址
     */
    communicationAddressTLS?: (string) | null;
    /**
     * 平台物模型信息
     */
    thingModelInfos?: (string) | null;
    /**
     * 是否需要推送数据（产品级总开关）
     */
    isNeedPushData?: boolean;
    /**
     * 数据推送规则集合，区分属性/事件/状态 + 白名单 + 目的地（与实体同为 List<DataPushRule>，Adapt 直接映射）
     */
    dataPushRules?: Array<DataPushRule> | null;
};

export type OneNETProductInfoDtoPagedResultDto = {
    items?: Array<OneNETProductInfoDto> | null;
    totalCount?: number;
};

export type OneNetProductInfoInsertInput = {
    /**
     * OneNET 账号ID
     */
    oneNETAccountId: string;
    /**
     * 物联网平台对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 产品访问密钥
     */
    productAccesskey: string;
    /**
     * 通讯服务地址
     */
    communicationAddress?: (string) | null;
    /**
     * TLS通讯服务地址
     */
    communicationAddressTLS?: (string) | null;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
};

export type OneNetProductInfoListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * OneNET账户Id
     */
    oneNETAccountId?: (string) | null;
    /**
     * 产品名称
     */
    productName?: (string) | null;
    /**
     * 产品型号
     */
    model?: (string) | null;
};

/**
 * 修改OneNET产品
 */
export type OneNetProductInfoModifyInput = {
    /**
     * 产品数据ID
     */
    id?: string;
    /**
     * OneNET 账号ID
     */
    oneNETAccountId: string;
    /**
     * 物联网平台对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 产品访问密钥
     */
    productAccesskey: string;
    /**
     * 通讯服务地址
     */
    communicationAddress?: (string) | null;
    /**
     * TLS通讯服务地址
     */
    communicationAddressTLS?: (string) | null;
    /**
     * 物模型文件Id
     */
    thingModelFileId?: (string) | null;
    /**
     * 物模型文件名称
     */
    thingModelFileName?: (string) | null;
};

/**
 * 开放接口单个设备入参信息
 */
export type OpenApiDeviceInfoInput = {
    /**
     * 网关设备或直连设备地址，此数据自研设备在生产的时候就已经入库
     */
    deviceAddress?: (string) | null;
    /**
     * 子设备名称
     */
    subDeviceName?: (string) | null;
    /**
     * 子设备地址
     */
    subDeviceAddress?: (string) | null;
    /**
     * 子设备索引，抑或是主设备下唯一标识符
     */
    subDeviceIndex?: number;
    /**
     * 子设备品牌编码
     */
    subDeviceBrandCode?: (string) | null;
    /**
     * 业务系统子设备数据Id
     */
    businessSystemSubDeviceDataId?: (number) | null;
};

/**
 * 开放接口请求入参，所有外部接口请求参数
 */
export type OpenApiRequest = {
    /**
     * 用于计算签名字符的随机串
     */
    nonce?: (string) | null;
    /**
     * 加密签名，用以校验推送客户端身份合法性，校验方法见实例验证
     */
    signature?: (string) | null;
    /**
     * 签名有效期（毫秒）
     */
    time?: number;
    /**
     * 消息内容，JSON字符串,具体的设备相关信息
     */
    msg?: (string) | null;
};

/**
 * 打开类型
 */
export type OpenType = 'Default' | 'Component' | 'InternalLink' | 'ExternalLink';

/**
 * 创建设备固件信息
 */
export type PageDeviceFirmwareInfoInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 固件版本
     */
    firmwareVersion?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 搜索关键字
     */
    searchKeyword?: (string) | null;
};

export type PageDeviceInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 设备地址
     */
    deviceAddress?: (string) | null;
    ioTPlatform?: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的设备Id或者名称
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId?: (string) | null;
    /**
     * 搜索关键字
     */
    searchKeyword?: (string) | null;
    deviceSourceType?: DeviceSourceTypeEnum;
    lifeInfo?: DeviceLifeTypeEnum;
    deviceOnlineStatus?: DeviceOnlineStatus;
    /**
     * 设备地址列表（批量查询）
     */
    addressList?: Array<(string)> | null;
    /**
     * 平台推送是否成功（null=不过滤，true=已同步，false=未同步）
     */
    isPlatformPushSuccess?: (boolean) | null;
};

/**
 * 设备升级记录分页查询输入
 */
export type PageDeviceUpgradeRecordInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 升级日期
     */
    upgradeDate?: (string) | null;
    upgradeSource?: DeviceUpgradeSourceTypeEnum;
    /**
     * 搜索关键字
     */
    searchKeyword?: (string) | null;
    /**
     * 升级标识符号
     */
    upgradeIdentifier?: (number) | null;
    upgradeResult?: DeviceUpgradeResultTypeEnum;
};

/**
 * 分页查询文件
 */
export type PageFileObjectInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 文件名称
     */
    fileName?: (string) | null;
};

/**
 * 分页查询文件
 */
export type PageFileObjectOutput = {
    /**
     * 文件Id
     */
    id?: string;
    /**
     * 文件大小
     */
    fileSize?: number;
    readonly beautifySize?: (string) | null;
    /**
     * 文件名称
     */
    contentType?: (string) | null;
    /**
     * 文件名称
     */
    fileName?: (string) | null;
    /**
     * 创建时间
     */
    creationTime?: string;
};

export type PageFileObjectOutputPagedResultDto = {
    items?: Array<PageFileObjectOutput> | null;
    totalCount?: number;
};

export type PageIdentityUserOutput = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    id?: string;
    creationTime?: string;
    creatorId?: (string) | null;
    lastModificationTime?: (string) | null;
    lastModifierId?: (string) | null;
    isDeleted?: boolean;
    deleterId?: (string) | null;
    deletionTime?: (string) | null;
    tenantId?: (string) | null;
    userName?: (string) | null;
    name?: (string) | null;
    surname?: (string) | null;
    email?: (string) | null;
    emailConfirmed?: boolean;
    phoneNumber?: (string) | null;
    phoneNumberConfirmed?: boolean;
    isActive?: boolean;
    lockoutEnabled?: boolean;
    accessFailedCount?: number;
    lockoutEnd?: (string) | null;
    concurrencyStamp?: (string) | null;
    entityVersion?: number;
    lastPasswordChangeTime?: (string) | null;
    /**
     * 是否开启双因素验证码
     */
    twoFactorEnabled?: boolean;
};

export type PageIdentityUserOutputPagedResultDto = {
    items?: Array<PageIdentityUserOutput> | null;
    totalCount?: number;
};

/**
 * 创建语言
 */
export type PageLanguageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    filter?: (string) | null;
};

/**
 * 创建语言
 */
export type PageLanguageOutput = {
    /**
     * 语言Id
     */
    id?: string;
    /**
     * 语言名称
     */
    cultureName?: (string) | null;
    /**
     * Ui语言名称
     */
    uiCultureName?: (string) | null;
    /**
     * 显示名称
     */
    displayName?: (string) | null;
    /**
     * 图标
     */
    flagIcon?: (string) | null;
    /**
     * 是否启用
     */
    isEnabled?: boolean;
    /**
     * 创建时间
     */
    creationTime?: string;
    /**
     * 是否是默认语言
     */
    isDefault?: boolean;
};

export type PageLanguageOutputPagedResultDto = {
    items?: Array<PageLanguageOutput> | null;
    totalCount?: number;
};

/**
 * 创建语言文本
 */
export type PageLanguageTextInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 语言
     */
    cultureName?: (string) | null;
    /**
     * 资源
     */
    resourceName?: (string) | null;
    /**
     * 查询条件 name or value
     */
    filter?: (string) | null;
};

/**
 * 创建语言文本
 */
export type PageLanguageTextOutput = {
    /**
     * 资源名称
     */
    resourceName?: (string) | null;
    /**
     * 名称
     */
    name?: (string) | null;
    /**
     * 值
     */
    value?: (string) | null;
};

export type PageLanguageTextOutputPagedResultDto = {
    items?: Array<PageLanguageTextOutput> | null;
    totalCount?: number;
};

/**
 * 分页查询菜单
 */
export type PageMenuInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
};

/**
 * 分页查询菜单
 */
export type PageMenuOutput = {
    /**
     * 菜单Id
     */
    id?: string;
    parentId?: (string) | null;
    /**
     * 唯一编码
     */
    name?: (string) | null;
    /**
     * 标题
     */
    localizationTitle?: (string) | null;
    /**
     * 标题
     */
    displayTitle?: (string) | null;
    /**
     * 标题
     */
    title?: (string) | null;
    /**
     * 图标
     */
    icon?: (string) | null;
    /**
     * 是否缓存
     */
    keepAlive?: boolean;
    /**
     * 是否显示
     */
    hideInMenu?: boolean;
    /**
     * 排序
     */
    order?: number;
    /**
     * 路由/接口地址
     */
    path?: (string) | null;
    menuType?: MenuType;
    readonly menuTypeDescription?: (string) | null;
    openType?: OpenType;
    readonly openTypeDescription?: (string) | null;
    /**
     * 内外链地址
     */
    url?: (string) | null;
    /**
     * 组件地址
     */
    component?: (string) | null;
    /**
     * 创建时间
     */
    creationTime?: string;
    /**
     * 是否启用
     */
    enabled?: boolean;
    /**
     * 权限
     */
    policy?: (string) | null;
};

export type PageMenuOutputPagedResultDto = {
    items?: Array<PageMenuOutput> | null;
    totalCount?: number;
};

export type PageTenantConnectionStringInput = {
    /**
     * 租户id
     */
    id?: string;
    /**
     * 连接字符串名称
     */
    name?: (string) | null;
    /**
     * 连接字符串地址
     */
    value?: (string) | null;
};

export type PageTenantConnectionStringOutput = {
    /**
     * 租户id
     */
    tenantId?: string;
    /**
     * 连接字符串名称
     */
    name?: (string) | null;
    /**
     * 连接字符串地址
     */
    value?: (string) | null;
};

export type PageTenantConnectionStringOutputPagedResultDto = {
    items?: Array<PageTenantConnectionStringOutput> | null;
    totalCount?: number;
};

/**
 * 分页查询模板
 */
export type PageTextTemplateInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 名称
     */
    name?: (string) | null;
    /**
     * 编码
     */
    code?: (string) | null;
    /**
     * 内容
     */
    content?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
};

/**
 * 分页查询模板
 */
export type PageTextTemplateOutput = {
    /**
     * 模板Id
     */
    id?: string;
    /**
     * 名称
     */
    name?: (string) | null;
    /**
     * 编码
     */
    code?: (string) | null;
    /**
     * 内容
     */
    content?: (string) | null;
    /**
     * 语言
     */
    cultureName?: (string) | null;
    /**
     * 创建时间
     */
    creationTime?: string;
};

export type PageTextTemplateOutputPagedResultDto = {
    items?: Array<PageTextTemplateOutput> | null;
    totalCount?: number;
};

export type PagingAuditLogActionOutput = {
    id?: string;
    tenantId?: (string) | null;
    auditLogId?: string;
    serviceName?: (string) | null;
    methodName?: (string) | null;
    parameters?: (string) | null;
    executionTime?: (string) | null;
    executionDuration?: number;
    extraProperties?: {
        [key: string]: unknown;
    } | null;
};

export type PagingAuditLogInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 开始时间
     */
    startTime?: (string) | null;
    /**
     * 结束时间
     */
    endTime?: (string) | null;
    /**
     * 请求方法
     */
    httpMethod?: (string) | null;
    /**
     * 请求地址
     */
    url?: (string) | null;
    /**
     * 用户Id
     */
    userId?: (string) | null;
    /**
     * 用户名
     */
    userName?: (string) | null;
    /**
     * 应用程序名称
     */
    applicationName?: (string) | null;
    /**
     * RequestId
     */
    correlationId?: (string) | null;
    /**
     * 最大执行时间
     */
    maxExecutionDuration?: (number) | null;
    /**
     * 最小执行时间
     */
    minExecutionDuration?: (number) | null;
    /**
     * 是否有异常
     */
    hasException?: (boolean) | null;
    httpStatusCode?: HttpStatusCode;
    /**
     * 客户端IP
     */
    clientIpAddress?: (string) | null;
};

export type PagingAuditLogOutput = {
    applicationName?: (string) | null;
    userId?: (string) | null;
    userName?: (string) | null;
    tenantId?: (string) | null;
    tenantName?: (string) | null;
    impersonatorUserId?: (string) | null;
    impersonatorTenantId?: (string) | null;
    executionTime?: (string) | null;
    executionDuration?: number;
    clientIpAddress?: (string) | null;
    clientName?: (string) | null;
    clientId?: (string) | null;
    correlationId?: (string) | null;
    browserInfo?: (string) | null;
    httpMethod?: (string) | null;
    url?: (string) | null;
    exceptions?: (string) | null;
    comments?: (string) | null;
    httpStatusCode?: (number) | null;
    entityChanges?: Array<PagingEntityChangeOutput> | null;
    actions?: Array<PagingAuditLogActionOutput> | null;
};

export type PagingAuditLogOutputPagedResultDto = {
    items?: Array<PagingAuditLogOutput> | null;
    totalCount?: number;
};

export type PagingDataDictionaryDetailInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    dataDictionaryId?: string;
    filter?: (string) | null;
};

export type PagingDataDictionaryDetailOutput = {
    id?: string;
    /**
     * 所属字典Id
     */
    dataDictionaryId?: string;
    /**
     * 字典明细编码
     */
    code?: (string) | null;
    /**
     * 展现列表时排序用
     */
    order?: number;
    /**
     * 英文显示名
     */
    displayText?: (string) | null;
    /**
     * 描述
     */
    description?: (string) | null;
    /**
     * 扩展属性
     */
    extendedAttribute?: (string) | null;
    /**
     * 扩展属性值
     */
    extendedAttributeValue?: {
        [key: string]: unknown;
    } | null;
    /**
     * 启/停用(默认启用)
     */
    isEnabled?: boolean;
};

export type PagingDataDictionaryDetailOutputPagedResultDto = {
    items?: Array<PagingDataDictionaryDetailOutput> | null;
    totalCount?: number;
};

export type PagingDataDictionaryInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    filter?: (string) | null;
};

export type PagingDataDictionaryOutput = {
    id?: string;
    /**
     * 字典编码
     */
    code?: (string) | null;
    /**
     * 显示名
     */
    displayText?: (string) | null;
    /**
     * 描述
     */
    description?: (string) | null;
};

export type PagingDataDictionaryOutputPagedResultDto = {
    items?: Array<PagingDataDictionaryOutput> | null;
    totalCount?: number;
};

export type PagingEntityChangeOutput = {
    id?: string;
    auditLogId?: string;
    tenantId?: (string) | null;
    changeTime?: (string) | null;
    changeType?: EntityChangeType;
    changeTypeDescription?: (string) | null;
    entityTenantId?: (string) | null;
    entityId?: (string) | null;
    entityTypeFullName?: (string) | null;
    propertyChanges?: Array<PagingEntityPropertyChangeOutput> | null;
    extraProperties?: {
        [key: string]: unknown;
    } | null;
};

export type PagingEntityPropertyChangeOutput = {
    id?: string;
    tenantId?: (string) | null;
    entityChangeId?: string;
    newValue?: (string) | null;
    originalValue?: (string) | null;
    propertyName?: (string) | null;
    propertyTypeFullName?: (string) | null;
};

export type PagingIdentitySecurityLogInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 排序
     */
    sorting?: (string) | null;
    /**
     * 开始时间
     */
    startTime?: (string) | null;
    /**
     * 结束时间
     */
    endTime?: (string) | null;
    identity?: (string) | null;
    /**
     * 请求地址
     */
    action?: (string) | null;
    /**
     * 用户Id
     */
    userId?: (string) | null;
    /**
     * 用户名
     */
    userName?: (string) | null;
    /**
     * 应用程序名称
     */
    applicationName?: (string) | null;
    /**
     * RequestId
     */
    correlationId?: (string) | null;
    /**
     * ClientId
     */
    clientId?: (string) | null;
};

export type PagingIdentitySecurityLogOutput = {
    id?: string;
    tenantId?: (string) | null;
    applicationName?: (string) | null;
    identity?: (string) | null;
    action?: (string) | null;
    userId?: (string) | null;
    userName?: (string) | null;
    tenantName?: (string) | null;
    clientId?: (string) | null;
    correlationId?: (string) | null;
    clientIpAddress?: (string) | null;
    browserInfo?: (string) | null;
    creationTime?: string;
};

export type PagingIdentitySecurityLogOutputPagedResultDto = {
    items?: Array<PagingIdentitySecurityLogOutput> | null;
    totalCount?: number;
};

export type PagingNotificationInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 标题
     */
    title?: (string) | null;
    /**
     * 内容
     */
    content?: (string) | null;
    /**
     * 发送者Id
     */
    senderUserId?: (string) | null;
    /**
     * 发送者名称
     */
    senderUserName?: (string) | null;
    /**
     * 接受者Id
     */
    receiverUserId?: (string) | null;
    /**
     * 接受者名称
     */
    receiverUserName?: (string) | null;
    /**
     * 是否已读
     */
    read?: (boolean) | null;
    /**
     * 已读开始时间
     */
    startReadTime?: (string) | null;
    /**
     * 已读结束时间
     */
    endReadTime?: (string) | null;
    messageType?: MessageType;
    messageLevel?: MessageLevel;
};

export type PagingNotificationOutput = {
    id?: string;
    /**
     * 租户id
     */
    tenantId?: (string) | null;
    /**
     * 消息标题
     */
    title?: (string) | null;
    /**
     * 消息内容
     */
    content?: (string) | null;
    messageType?: MessageType;
    readonly messageTypeName?: (string) | null;
    messageLevel?: MessageLevel;
    readonly messageLevelName?: (string) | null;
    /**
     * 发送人
     */
    senderUserId?: string;
    /**
     * 发送人用户名
     */
    senderUserName?: (string) | null;
    /**
     * 订阅人
     * 消息类型是广播消息时，订阅人为空
     */
    receiveUserId?: (string) | null;
    /**
     * 接收人用户名
     * 消息类型是广播消息时，订接收人用户名为空
     */
    receiveUserName?: (string) | null;
    /**
     * 是否已读
     */
    read?: boolean;
    /**
     * 已读时间
     */
    readTime?: (string) | null;
    creationTime?: string;
};

export type PagingNotificationOutputPagedResultDto = {
    items?: Array<PagingNotificationOutput> | null;
    totalCount?: number;
};

export type PagingNotificationSubscriptionInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    notificationId?: string;
    /**
     * 接受者Id
     */
    receiverUserId?: (string) | null;
    /**
     * 接受者名称
     */
    receiverUserName?: (string) | null;
    /**
     * 是否已读
     */
    read?: (boolean) | null;
    /**
     * 已读开始时间
     */
    startReadTime?: (string) | null;
    /**
     * 已读结束时间
     */
    endReadTime?: (string) | null;
};

export type PagingNotificationSubscriptionOutput = {
    id?: string;
    /**
     * 租户id
     */
    tenantId?: (string) | null;
    /**
     * 消息Id
     */
    notificationId?: string;
    /**
     * 接收人id
     */
    receiveUserId?: string;
    /**
     * 接收人用户名
     */
    receiveUserName?: (string) | null;
    /**
     * 是否已读
     */
    read?: boolean;
    /**
     * 已读时间
     */
    readTime?: string;
    /**
     * 消息标题
     */
    title?: (string) | null;
    /**
     * 消息内容
     */
    content?: (string) | null;
    messageType?: MessageType;
    readonly messageTypeName?: (string) | null;
    messageLevel?: MessageLevel;
    readonly messageLevelName?: (string) | null;
    /**
     * 发送人
     */
    senderUserId?: string;
    /**
     * 发送人用户名
     */
    senderUserName?: (string) | null;
};

export type PagingNotificationSubscriptionOutputPagedResultDto = {
    items?: Array<PagingNotificationSubscriptionOutput> | null;
    totalCount?: number;
};

export type PagingRoleListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    filter?: (string) | null;
};

export type PagingTenantInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    filter?: (string) | null;
};

export type PagingUserListInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 关键字
     */
    filter?: (string) | null;
};

export type ParameterApiDescriptionModel = {
    nameOnMethod?: (string) | null;
    name?: (string) | null;
    jsonName?: (string) | null;
    type?: (string) | null;
    typeSimple?: (string) | null;
    isOptional?: boolean;
    defaultValue?: unknown;
    constraintTypes?: Array<(string)> | null;
    bindingSourceId?: (string) | null;
    descriptorName?: (string) | null;
};

/**
 * 解析顺序枚举
 */
export type ParsingSequenceTypeEnum = 'NativeOrder' | 'ByteReversal' | 'BCD';

export type PermissionOutput = {
    grants?: Array<(string)> | null;
    allGrants?: Array<(string)> | null;
    permissions?: Array<PermissionTreeDto> | null;
};

export type PermissionTreeDto = {
    title?: (string) | null;
    key?: (string) | null;
    children?: Array<PermissionTreeDto> | null;
};

/**
 * 产品节点类型
 */
export type ProductNodeTypeEnum = 'Device' | 'Gateway';

/**
 * 产品协议
 */
export type ProductProtocolEnum = 'TLink' | 'MQTT' | 'LWM2M' | 'HTTP' | 'JTT808' | 'TCP' | 'TCPPrivate' | 'UDPPrivate' | 'MQTTGateway' | 'SouthCloudAccess' | 'MQTTSubDevice' | 'BluetoothSubDevice' | 'ZigBeeSubDevice' | 'OtherSubDevice' | 'Modbus' | 'GB28181' | 'GAT1400' | 'EHome' | 'UDP' | 'TR069' | 'GBT26875' | 'YinTongTCP' | 'COAP' | 'FACP' | 'ACCP' | 'FIIA' | 'SnapEx' | 'CameraV' | 'AIVP';

/**
 * 开发状态枚举
 */
export type ProductStatusEnum = 'Developing' | 'InReview' | 'ReviewFailed' | 'Published' | 'OffShelf';

export type PropertyApiDescriptionModel = {
    name?: (string) | null;
    jsonName?: (string) | null;
    type?: (string) | null;
    typeSimple?: (string) | null;
    isRequired?: boolean;
    minLength?: (number) | null;
    maxLength?: (number) | null;
    minimum?: (string) | null;
    maximum?: (string) | null;
    regex?: (string) | null;
    isNullable?: boolean;
};

/**
 * 查询CTWing接收消息
 */
export type QueryCTWingAepReceiveMessageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 是否需要分页， 默认为true
     */
    isNeedPaging?: boolean;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
};

/**
 * 查询CTWing接收消息
 */
export type QueryCTWingAepReceiveMessageOutput = {
    /**
     * 数据库名称，用于构建存储路径,来自系统配置
     */
    dataBaseName?: (string) | null;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    /**
     * 设备类型，用于构建存储路径
     * JiShe.ServicePro.Enums.DeviceTypeEnum
     */
    deviceType?: (string) | null;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 子设备
     */
    subDevice?: (string) | null;
    /**
     * 时标，也就是业务时间戳，单位纳秒,必须通过DateTimeOffset获取
     */
    timestamps?: number;
    /**
     * 时标格式化以后的本地时间
     */
    readonly formattedTimestamps?: string;
    /**
     * 字符串格式时标
     */
    readonly timestampStr?: (string) | null;
    /**
     * 设备路径,树模型使用，表模型会在数据插入的时候直接获取继承类的名称作为表明
     */
    devicePath?: (string) | null;
    /**
     * 物联网平台租户Id
     */
    platformTenantId?: (string) | null;
    /**
     * 物联网平台产品Id
     */
    productId?: (string) | null;
    /**
     * 物联网平台服务Id
     */
    serviceId?: (string) | null;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
    /**
     * 消息类型
     */
    messageType?: (string) | null;
    /**
     * 通信协议
     */
    protocol?: (string) | null;
    /**
     * 集中器地址
     */
    focusAddress?: (string) | null;
    /**
     * 表地址
     */
    meterAddress?: (string) | null;
    /**
     * 消息上报原始内容
     */
    rawMessage?: (string) | null;
    /**
     * 消息上报结果,主要是用于存储上报原始数据通过处理后的结果，并非报文解析结果
     */
    receivedPayload?: (string) | null;
    /**
     * 消息上报时间，单位毫秒，不是当前系统中的纳秒
     */
    receivedTimestamps?: number;
    /**
     * 时标格式化以后的本地时间
     */
    readonly formattedReceivedTimestamps?: string;
    /**
     * IMSI
     */
    imsi?: (string) | null;
    /**
     * IMEI
     */
    imei?: (string) | null;
};

export type QueryCTWingAepReceiveMessageOutputPagedResultDto = {
    items?: Array<QueryCTWingAepReceiveMessageOutput> | null;
    totalCount?: number;
};

/**
 * 查询OneNET接收消息
 */
export type QueryOneNETReceiveMessageInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    deviceType?: DeviceTypeEnum;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 开始创建时间
     */
    startCreationTime?: (string) | null;
    /**
     * 结束创建时间
     */
    endCreationTime?: (string) | null;
    /**
     * 是否需要分页， 默认为true
     */
    isNeedPaging?: boolean;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
};

/**
 * 查询OneNET接收消息
 */
export type QueryOneNETReceiveMessageOutput = {
    /**
     * 数据库名称，用于构建存储路径,来自系统配置
     */
    dataBaseName?: (string) | null;
    /**
     * 数据类型，用于构建存储路径
     * JiShe.ServicePro.Core.IoTDBDataTypeConst
     */
    ioTDataType?: (string) | null;
    /**
     * 设备类型，用于构建存储路径
     * JiShe.ServicePro.Enums.DeviceTypeEnum
     */
    deviceType?: (string) | null;
    /**
     * 通信设备地址、用于构建存储路径
     */
    deviceAddress?: (string) | null;
    /**
     * 子设备
     */
    subDevice?: (string) | null;
    /**
     * 时标，也就是业务时间戳，单位纳秒,必须通过DateTimeOffset获取
     */
    timestamps?: number;
    /**
     * 时标格式化以后的本地时间
     */
    readonly formattedTimestamps?: string;
    /**
     * 字符串格式时标
     */
    readonly timestampStr?: (string) | null;
    /**
     * 设备路径,树模型使用，表模型会在数据插入的时候直接获取继承类的名称作为表明
     */
    devicePath?: (string) | null;
    /**
     * 物联网平台产品Id
     */
    productId?: (string) | null;
    /**
     * 物联网平台设备ID
     */
    ioTPlatformDeviceOpenInfo?: (string) | null;
    /**
     * 消息类型
     */
    messageType?: (string) | null;
    /**
     * 通信协议
     */
    protocol?: (string) | null;
    /**
     * 消息上报原始内容
     */
    rawMessage?: (string) | null;
    /**
     * 消息上报结果,主要是用于存储上报原始数据通过处理后的结果，并非报文解析结果
     */
    receivedPayload?: (string) | null;
    /**
     * 消息上报时间，单位毫秒，不是当前系统中的纳秒
     */
    receivedTimestamps?: number;
    /**
     * 时标格式化以后的本地时间
     */
    readonly formattedReceivedTimestamps?: string;
    /**
     * 是否加密
     */
    isEncrypted?: boolean;
    /**
     * 明文消息，加密推送情况下才有
     */
    plaintextMessage?: (string) | null;
};

export type QueryOneNETReceiveMessageOutputPagedResultDto = {
    items?: Array<QueryOneNETReceiveMessageOutput> | null;
    totalCount?: number;
};

export type RefreshTokenInput = {
    userId?: string;
    refreshToken: string;
};

export type RefreshTokenOutput = {
    success?: boolean;
    message?: (string) | null;
    token?: (string) | null;
    refreshToken?: (string) | null;
};

export type RemoteServiceErrorInfo = {
    code?: (string) | null;
    message?: (string) | null;
    details?: (string) | null;
    data?: {
        [key: string]: unknown;
    } | null;
    validationErrors?: Array<RemoteServiceValidationErrorInfo> | null;
};

export type RemoteServiceErrorResponse = {
    error?: RemoteServiceErrorInfo;
};

export type RemoteServiceValidationErrorInfo = {
    message?: (string) | null;
    members?: Array<(string)> | null;
};

export type RemoteStreamContent = {
    fileName?: (string) | null;
    contentType?: (string) | null;
    readonly contentLength?: (number) | null;
};

export type RemoveRoleToOrganizationUnitInput = {
    roleId?: string;
    organizationUnitId?: string;
};

export type RemoveUserToOrganizationUnitInput = {
    userId?: string;
    organizationUnitId?: string;
};

export type ResetPasswordInput = {
    userId?: string;
    password: string;
};

export type ResetTwoFactorInput = {
    userId?: string;
};

/**
 * 响应结果枚举
 */
export type ResponeResultEnum = 'Success' | 'Fail' | 'LoginOut' | 'TimeOut' | 'Exception' | 'NotAllowed' | 'NotLoggedIn' | 'OK' | 'NoData' | 'BadRequest' | 'Unauthorized' | 'Forbidden' | 'NotFound' | 'AepInternalError' | 'ServiceUnavailable' | 'AsyncService' | 'DeviceNotOnline' | 'HandlerException' | 'HandlerFail';

export type ReturnValueApiDescriptionModel = {
    type?: (string) | null;
    typeSimple?: (string) | null;
};

export type SelectDataDictionaryDetailInput = {
    /**
     * 当前页面.默认从1开始
     */
    pageIndex?: number;
    /**
     * 每页多少条.每页显示多少记录
     */
    pageSize?: number;
    /**
     * 跳过多少条
     */
    readonly skipCount?: number;
    /**
     * 排序
     * <example>
     * name desc
     * </example>
     */
    sorting?: (string) | null;
    /**
     * 是否分页
     */
    isPage?: boolean;
    dataDictionaryId?: string;
    filter?: (string) | null;
    typeCode?: (string) | null;
};

/**
 * 下拉框选项元素
 */
export type SelectResult = {
    /**
     * 下拉框 键
     */
    key?: (string) | null;
    /**
     * 下拉框 值
     */
    value?: (string) | null;
    /**
     * 下拉框 值2
     */
    secondValue?: (string) | null;
    /**
     * 下拉框 值3
     */
    thirdValue?: unknown;
};

/**
 * 获取下拉框数据
 */
export type SelectResultListInput = {
    /**
     * 类型名称
     */
    typeName: string;
    /**
     * 第三级类型
     */
    thirdAttributeTypeName?: (string) | null;
};

export type SendBroadCastMessageInput = {
    /**
     * 消息标题
     */
    title?: (string) | null;
    /**
     * 消息内容
     */
    content?: (string) | null;
};

export type SendCommonMessageInput = {
    /**
     * 消息标题
     */
    title?: (string) | null;
    /**
     * 消息内容
     */
    content?: (string) | null;
    /**
     * 发送人
     */
    receiveUserId?: string;
    /**
     * 发送人名称
     */
    receiveUserName?: (string) | null;
};

export type ServiceProApplicationConfigurationDto = {
    oidcConfiguration?: ApplicationOidcConfigurationDto;
    multiTenancy?: MultiTenancyInfoDto;
};

export type SetBatchReadInput = {
    ids?: Array<(string)> | null;
};

export type SetDataDictinaryDetailInput = {
    dataDictionaryId?: string;
    dataDictionayDetailId?: string;
    isEnabled: boolean;
};

export type SetReadInput = {
    id?: string;
};

export type SettingItemOutput = {
    /**
     * 名称
     */
    name?: (string) | null;
    /**
     * 显示名称
     */
    displayName?: (string) | null;
    /**
     * 描述
     */
    description?: (string) | null;
    /**
     * 值
     */
    value?: (string) | null;
    /**
     * 前端控件类型
     */
    type?: (string) | null;
};

export type SettingOutput = {
    /**
     * 分组
     */
    group?: (string) | null;
    /**
     * 分组显示名称
     */
    groupDisplayName?: (string) | null;
    settingItemOutput?: Array<SettingItemOutput> | null;
};

export type StringIdInput = {
    id: string;
};

export type StringStringFromSelector = {
    readonly value?: (string) | null;
    readonly label?: (string) | null;
};

export type TenantCreateDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    name: string;
    adminEmailAddress: string;
    adminPassword: string;
};

export type TenantDto = {
    readonly extraProperties?: {
        [key: string]: unknown;
    } | null;
    id?: string;
    name?: (string) | null;
    concurrencyStamp?: (string) | null;
};

export type TenantDtoPagedResultDto = {
    items?: Array<TenantDto> | null;
    totalCount?: number;
};

export type TenantUserSharingStrategy = 'Isolated' | 'Shared';

/**
 * 设备物模型标识符类型枚举
 */
export type ThingModelIdentifierTypeEnum = 'TAG' | 'FIELD' | 'ATTRIBUTE';

export type TimeZone = {
    iana?: IanaTimeZone;
    windows?: WindowsTimeZone;
};

export type TimingDto = {
    timeZone?: TimeZone;
};

export type TreeOutput = {
    title?: (string) | null;
    key?: string;
    children?: Array<TreeOutput> | null;
};

/**
 * 数据解析方式
 */
export type TupIsThroughEnum = 'TransparentTransmission' | 'NonTransparentTransmission' | 'ScriptParsing';

export type TypeApiDescriptionModel = {
    baseType?: (string) | null;
    isEnum?: boolean;
    enumNames?: Array<(string)> | null;
    enumValues?: Array<unknown> | null;
    genericArguments?: Array<(string)> | null;
    properties?: Array<PropertyApiDescriptionModel> | null;
};

export type UpdateDataDictinaryInput = {
    id?: string;
    code?: (string) | null;
    displayText?: (string) | null;
    description?: (string) | null;
};

export type UpdateDetailInput = {
    dataDictionaryId?: string;
    id?: string;
    displayText?: (string) | null;
    description?: (string) | null;
    order?: number;
    /**
     * 扩展属性
     */
    extendedAttribute?: (string) | null;
    /**
     * 扩展属性值信息
     */
    extendedAttributeValue?: {
        [key: string]: unknown;
    } | null;
};

/**
 * 切换设备鉴权方式（一型一密 / 一机一密）入参
 */
export type UpdateDeviceEncryptionTypeForApiInput = {
    id: string;
    encryptionType?: DeviceAuthenticationModeEnum;
};

/**
 * 更新固件信息
 */
export type UpdateDeviceFirmwareInfoInput = {
    ioTPlatform: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
    /**
     * 物联网平台中对应的产品名称
     */
    ioTPlatformProductName: string;
    /**
     * 固件版本
     */
    firmwareVersion: string;
    /**
     * 固件文件Id
     */
    firmwareFileId: string;
    /**
     * 固件文件名称
     */
    firmwareFileName: string;
    /**
     * 固件哈希值
     */
    firmwareHashCode: string;
    /**
     * 固件文件长度
     */
    firmwareLength: number;
    /**
     * 数据Id
     */
    id: string;
};

/**
 * 更新设备密码入参
 */
export type UpdateDeviceSecKeyForApiInput = {
    id: string;
    /**
     * 设备接入鉴权密码明文，长度不超过32个字符；缺省时由服务端自动生成
     */
    secKey?: (string) | null;
};

export type UpdateFeatureDto = {
    name?: (string) | null;
    value?: (string) | null;
};

export type UpdateFeatureInput = {
    providerName?: (string) | null;
    providerKey?: (string) | null;
    updateFeaturesDto?: UpdateFeaturesDto;
};

export type UpdateFeaturesDto = {
    features?: Array<UpdateFeatureDto> | null;
};

/**
 * 平台产品属性更新输入
 */
export type UpdateIoTPlatformProductThingModelInfoInput = {
    ioTPlatformType: IoTPlatformTypeEnum;
    /**
     * 物联网平台中对应的产品Id
     */
    ioTPlatformProductId: string;
};

/**
 * 删除语言
 */
export type UpdateLanguageInput = {
    /**
     * 语言Id
     */
    id?: string;
    /**
     * 语言名称
     */
    cultureName?: (string) | null;
    /**
     * Ui语言名称
     */
    uiCultureName?: (string) | null;
    /**
     * 显示名称
     */
    displayName?: (string) | null;
    /**
     * 图标
     */
    flagIcon?: (string) | null;
    /**
     * 是否启用
     */
    isEnabled?: boolean;
};

/**
 * 删除语言文本
 */
export type UpdateLanguageTextInput = {
    /**
     * 资源名称
     */
    resourceName: string;
    /**
     * 语言名称
     */
    cultureName: string;
    /**
     * 名称
     */
    name: string;
    /**
     * 值
     */
    value: string;
};

/**
 * 更新菜单
 */
export type UpdateMenuInput = {
    /**
     * 菜单Id
     */
    id?: string;
    /**
     * 唯一编码
     */
    name: string;
    /**
     * 标题
     */
    title: string;
    /**
     * 图标
     */
    icon?: (string) | null;
    /**
     * 是否缓存
     */
    keepAlive: boolean;
    /**
     * 是否显示
     */
    hideInMenu: boolean;
    /**
     * 排序
     */
    order: number;
    /**
     * 路由地址
     */
    path: string;
    menuType?: MenuType;
    openType?: OpenType;
    /**
     * 内外链地址
     */
    url?: (string) | null;
    /**
     * 组件地址
     */
    component?: (string) | null;
    enabled?: boolean;
    /**
     * 权限
     */
    policy?: (string) | null;
};

export type UpdateOrganizationUnitInput = {
    displayName?: (string) | null;
    id?: string;
};

export type UpdatePermissionDto = {
    name?: (string) | null;
    isGranted?: boolean;
};

export type UpdatePermissionsDto = {
    permissions?: Array<UpdatePermissionDto> | null;
};

export type UpdateRoleInput = {
    roleId?: string;
    roleInfo?: IdentityRoleUpdateDto;
};

export type UpdateRolePermissionsInput = {
    providerName?: (string) | null;
    providerKey?: (string) | null;
    updatePermissionsDto?: UpdatePermissionsDto;
};

export type UpdateSettingInput = {
    values?: {
        [key: string]: ((string) | null);
    } | null;
};

/**
 * 更新升级状态
 */
export type UpdateStatusInput = {
    /**
     * 设备升级记录Id
     */
    id: string;
    upgradeStatus: DeviceUpgradeStatusTypeEnum;
};

export type UpdateTenantInput = {
    id?: string;
    name?: (string) | null;
};

/**
 * 更新模板
 */
export type UpdateTextTemplateInput = {
    /**
     * 模板Id
     */
    id?: string;
    /**
     * 名称
     */
    name: string;
    /**
     * 编码
     */
    code: string;
    /**
     * 内容
     */
    content: string;
    /**
     * 语言
     */
    cultureName: string;
};

export type UpdateUserInput = {
    userId?: string;
    userInfo?: IdentityUserUpdateDto;
};

export type UserLoginInfo = {
    userNameOrEmailAddress: string;
    password: string;
    rememberMe?: boolean;
};

export type WindowsTimeZone = {
    timeZoneId?: (string) | null;
};

export type GetApiAbpApiDefinitionData = {
    query?: {
        model?: ApplicationApiDescriptionModelRequestDto;
    };
};

export type GetApiAbpApiDefinitionResponse = (ApplicationApiDescriptionModel);

export type GetApiAbpApiDefinitionError = (RemoteServiceErrorResponse);

export type GetApiAbpApplicationConfigurationData = {
    query?: {
        options?: ApplicationConfigurationRequestOptions;
    };
};

export type GetApiAbpApplicationConfigurationResponse = (ApplicationConfigurationDto);

export type GetApiAbpApplicationConfigurationError = (RemoteServiceErrorResponse);

export type GetApiAbpApplicationLocalizationData = {
    query?: {
        input?: ApplicationLocalizationRequestDto;
    };
};

export type GetApiAbpApplicationLocalizationResponse = (ApplicationLocalizationDto);

export type GetApiAbpApplicationLocalizationError = (RemoteServiceErrorResponse);

export type PostApiAppAccountLoginData = {
    body?: LoginInput;
};

export type PostApiAppAccountLoginResponse = (LoginOutput);

export type PostApiAppAccountLoginError = (RemoteServiceErrorResponse);

export type PostApiAppAccountLogin2FaData = {
    body?: Login2FAInput;
};

export type PostApiAppAccountLogin2FaResponse = (LoginOutput);

export type PostApiAppAccountLogin2FaError = (RemoteServiceErrorResponse);

export type PostApiAppAccountLoginOidcData = {
    body?: LoginOidcInput;
};

export type PostApiAppAccountLoginOidcResponse = (LoginOutput);

export type PostApiAppAccountLoginOidcError = (RemoteServiceErrorResponse);

export type PostApiAppAccountRefreshTokenData = {
    body?: RefreshTokenInput;
};

export type PostApiAppAccountRefreshTokenResponse = (RefreshTokenOutput);

export type PostApiAppAccountRefreshTokenError = (RemoteServiceErrorResponse);

export type PostApiAppAccountLogoutResponse = (unknown | void);

export type PostApiAppAccountLogoutError = (RemoteServiceErrorResponse);

export type PostAuditLogsPageData = {
    body?: PagingAuditLogInput;
};

export type PostAuditLogsPageResponse = (PagingAuditLogOutputPagedResultDto);

export type PostAuditLogsPageError = (RemoteServiceErrorResponse);

export type PostAggregationBusinessReceiveSetCommandInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessReceiveSetCommandInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessReceiveSetCommandInfoAsyncError = unknown;

export type PostAggregationBusinessBatchQueryDeviceDataInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessBatchQueryDeviceDataInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessBatchQueryDeviceDataInfoAsyncError = unknown;

export type PostAggregationBusinessBatchQueryDeviceFreezeDataInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessBatchQueryDeviceFreezeDataInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessBatchQueryDeviceFreezeDataInfoAsyncError = unknown;

export type PostAggregationBusinessQueryDeviceDataInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessQueryDeviceDataInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessQueryDeviceDataInfoAsyncError = unknown;

export type PostAggregationBusinessQueryDeviceFreezeDataInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessQueryDeviceFreezeDataInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessQueryDeviceFreezeDataInfoAsyncError = unknown;

export type PostAggregationBusinessBatchCreateDeviceInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessBatchCreateDeviceInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessBatchCreateDeviceInfoAsyncError = unknown;

export type PostAggregationBusinessReceiveGetCommandInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessReceiveGetCommandInfoAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessReceiveGetCommandInfoAsyncError = unknown;

export type PostAggregationBusinessCallDeviceServiceToOneNetForApiAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationBusinessCallDeviceServiceToOneNetForApiAsyncResponse = (HttpDataResult);

export type PostAggregationBusinessCallDeviceServiceToOneNetForApiAsyncError = unknown;

export type GetCommonGetSelectListData = {
    query?: {
        input?: SelectResultListInput;
    };
};

export type GetCommonGetSelectListResponse = (Array<SelectResult>);

export type GetCommonGetSelectListError = unknown;

export type PostCtWingAccountInsertAsyncData = {
    query?: {
        input?: CTWingAccountInsertInput;
    };
};

export type PostCtWingAccountInsertAsyncResponse = (CTWingAccountInfoDto);

export type PostCtWingAccountInsertAsyncError = unknown;

export type PostCtWingAccountModifyAsyncData = {
    query?: {
        input?: CTWingAccountModifyInput;
    };
};

export type PostCtWingAccountModifyAsyncResponse = (CTWingAccountInfoDto);

export type PostCtWingAccountModifyAsyncError = unknown;

export type PostCtWingAccountDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostCtWingAccountDeleteAsyncResponse = (CTWingAccountInfoDto);

export type PostCtWingAccountDeleteAsyncError = unknown;

export type PostCtWingAccountListAsyncData = {
    query?: {
        input?: CTWingAccountListInput;
    };
};

export type PostCtWingAccountListAsyncResponse = (CTWingAccountInfoDtoPagedResultDto);

export type PostCtWingAccountListAsyncError = unknown;

export type PostCtWingProductInsertAsyncData = {
    query?: {
        input?: CTWingPrivateProductInfoInsertInput;
    };
};

export type PostCtWingProductInsertAsyncResponse = (CTWingPrivateProductInfoDto);

export type PostCtWingProductInsertAsyncError = unknown;

export type PostCtWingProductModifyAsyncData = {
    query?: {
        input?: CTWingPrivateProductInfoModifyInput;
    };
};

export type PostCtWingProductModifyAsyncResponse = (CTWingPrivateProductInfoDto);

export type PostCtWingProductModifyAsyncError = unknown;

export type PostCtWingProductDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostCtWingProductDeleteAsyncResponse = (CTWingPrivateProductInfoDto);

export type PostCtWingProductDeleteAsyncError = unknown;

export type PostCtWingProductGetAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostCtWingProductGetAsyncResponse = (CTWingPrivateProductInfoDto);

export type PostCtWingProductGetAsyncError = unknown;

export type PostCtWingProductProductStatusChangeAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostCtWingProductProductStatusChangeAsyncResponse = (CTWingPrivateProductInfoDto);

export type PostCtWingProductProductStatusChangeAsyncError = unknown;

export type PostCtWingProductListAsyncData = {
    query?: {
        input?: CTWingPrivateProductInfoListInput;
    };
};

export type PostCtWingProductListAsyncResponse = (CTWingPrivateProductInfoDtoPagedResultDto);

export type PostCtWingProductListAsyncError = unknown;

export type PostCtWingServiceReceiveStatusChangeResponse = (unknown);

export type PostCtWingServiceReceiveStatusChangeError = unknown;

export type PostCtWingServiceReceiveDataChangeResponse = (unknown);

export type PostCtWingServiceReceiveDataChangeError = unknown;

export type PostCtWingServiceReceiveCommandChangeResponse = (unknown);

export type PostCtWingServiceReceiveCommandChangeError = unknown;

export type PostCtWingServiceReceiveEventChangeResponse = (unknown);

export type PostCtWingServiceReceiveEventChangeError = unknown;

export type PostCtWingServiceReceiveDeviceChangeResponse = (unknown);

export type PostCtWingServiceReceiveDeviceChangeError = unknown;

export type PostDataDictionaryPageData = {
    body?: PagingDataDictionaryInput;
};

export type PostDataDictionaryPageResponse = (PagingDataDictionaryOutputPagedResultDto);

export type PostDataDictionaryPageError = (RemoteServiceErrorResponse);

export type PostDataDictionaryPageDetailData = {
    body?: PagingDataDictionaryDetailInput;
};

export type PostDataDictionaryPageDetailResponse = (PagingDataDictionaryDetailOutputPagedResultDto);

export type PostDataDictionaryPageDetailError = (RemoteServiceErrorResponse);

export type PostDataDictionarySelectDetailData = {
    body?: SelectDataDictionaryDetailInput;
};

export type PostDataDictionarySelectDetailResponse = (PagingDataDictionaryDetailOutputPagedResultDto);

export type PostDataDictionarySelectDetailError = (RemoteServiceErrorResponse);

export type PostDataDictionaryCreateData = {
    body?: CreateDataDictinaryInput;
};

export type PostDataDictionaryCreateResponse = (unknown | void);

export type PostDataDictionaryCreateError = (RemoteServiceErrorResponse);

export type PostDataDictionaryCreateDetailData = {
    body?: CreateDataDictinaryDetailInput;
};

export type PostDataDictionaryCreateDetailResponse = (unknown | void);

export type PostDataDictionaryCreateDetailError = (RemoteServiceErrorResponse);

export type PostDataDictionaryStatusData = {
    body?: SetDataDictinaryDetailInput;
};

export type PostDataDictionaryStatusResponse = (unknown | void);

export type PostDataDictionaryStatusError = (RemoteServiceErrorResponse);

export type PostDataDictionaryUpdateDetailData = {
    body?: UpdateDetailInput;
};

export type PostDataDictionaryUpdateDetailResponse = (unknown | void);

export type PostDataDictionaryUpdateDetailError = (RemoteServiceErrorResponse);

export type PostDataDictionaryDeleteData = {
    body?: DeleteDataDictionaryDetailInput;
};

export type PostDataDictionaryDeleteResponse = (unknown | void);

export type PostDataDictionaryDeleteError = (RemoteServiceErrorResponse);

export type PostDataDictionaryDeleteDataDictionaryTypeData = {
    body?: IdInput;
};

export type PostDataDictionaryDeleteDataDictionaryTypeResponse = (unknown | void);

export type PostDataDictionaryDeleteDataDictionaryTypeError = (RemoteServiceErrorResponse);

export type PostDataDictionaryUpdateData = {
    body?: UpdateDataDictinaryInput;
};

export type PostDataDictionaryUpdateResponse = (unknown | void);

export type PostDataDictionaryUpdateError = (RemoteServiceErrorResponse);

export type PostAggregationDeviceCreateAsyncData = {
    query?: {
        input?: CreateDeviceAggregationInput;
    };
};

export type PostAggregationDeviceCreateAsyncResponse = (boolean);

export type PostAggregationDeviceCreateAsyncError = unknown;

export type PostAggregationDeviceBatchCreateAsyncData = {
    query?: {
        input?: BatchCreateDeviceAggregationInput;
    };
};

export type PostAggregationDeviceBatchCreateAsyncResponse = (boolean);

export type PostAggregationDeviceBatchCreateAsyncError = unknown;

export type PostAggregationDeviceBatchSyncDeviceFromOneNetAsyncData = {
    query?: {
        input?: BatchSyncDeviceFromOneNETInput;
    };
};

export type PostAggregationDeviceBatchSyncDeviceFromOneNetAsyncResponse = (boolean);

export type PostAggregationDeviceBatchSyncDeviceFromOneNetAsyncError = unknown;

export type PostAggregationDeviceDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostAggregationDeviceDeleteAsyncResponse = (boolean);

export type PostAggregationDeviceDeleteAsyncError = unknown;

export type PostAggregationDeviceBatchDeleteAsyncData = {
    query?: {
        /**
         * 批量删除设备入参（只对同一平台、同一产品下的设备批量删除）
         */
        input?: BatchDeleteDeviceForApiInput;
    };
};

export type PostAggregationDeviceBatchDeleteAsyncResponse = (Array<(string)>);

export type PostAggregationDeviceBatchDeleteAsyncError = unknown;

export type PostAggregationDeviceFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostAggregationDeviceFindByIdAsyncResponse = (DeviceManagementInfoDto);

export type PostAggregationDeviceFindByIdAsyncError = unknown;

export type PostAggregationDeviceRepushDeviceInfoToIoTplatformData = {
    query?: {
        input?: IdInput;
    };
};

export type PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse = (DeviceManagementInfoDto);

export type PostAggregationDeviceRepushDeviceInfoToIoTplatformError = unknown;

export type PostAggregationDeviceRecoverDeviceToOneNetData = {
    query?: {
        input?: IdInput;
    };
};

export type PostAggregationDeviceRecoverDeviceToOneNetResponse = (DeviceManagementInfoDto);

export type PostAggregationDeviceRecoverDeviceToOneNetError = unknown;

export type PostAggregationDeviceEnableDeviceForApiAsyncData = {
    query?: {
        input?: EnableDeviceForApiInput;
    };
};

export type PostAggregationDeviceEnableDeviceForApiAsyncResponse = (boolean);

export type PostAggregationDeviceEnableDeviceForApiAsyncError = unknown;

export type PostAggregationDeviceUpdateDeviceSecKeyForApiAsyncData = {
    query?: {
        input?: UpdateDeviceSecKeyForApiInput;
    };
};

export type PostAggregationDeviceUpdateDeviceSecKeyForApiAsyncResponse = (DeviceManagementInfoDto);

export type PostAggregationDeviceUpdateDeviceSecKeyForApiAsyncError = unknown;

export type PostAggregationDeviceUpdateDeviceEncryptionTypeForApiAsyncData = {
    query?: {
        input?: UpdateDeviceEncryptionTypeForApiInput;
    };
};

export type PostAggregationDeviceUpdateDeviceEncryptionTypeForApiAsyncResponse = (DeviceManagementInfoDto);

export type PostAggregationDeviceUpdateDeviceEncryptionTypeForApiAsyncError = unknown;

export type PostAggregationDeviceDeviceCommandForApiAsyncData = {
    query?: {
        input?: DeviceCommandForApiInput;
    };
};

export type PostAggregationDeviceDeviceCommandForApiAsyncResponse = (boolean);

export type PostAggregationDeviceDeviceCommandForApiAsyncError = unknown;

export type PostAggregationDeviceGetDevicePropertyValueForApiAsyncData = {
    query?: {
        input?: DevicePropertyValueForApiInput;
    };
};

export type PostAggregationDeviceGetDevicePropertyValueForApiAsyncResponse = ({
    [key: string]: unknown;
});

export type PostAggregationDeviceGetDevicePropertyValueForApiAsyncError = unknown;

export type PostAggregationDeviceIssueDevicePropertyReadForApiAsyncData = {
    query?: {
        input?: DevicePropertyValueForApiInput;
    };
};

export type PostAggregationDeviceIssueDevicePropertyReadForApiAsyncResponse = (DevicePropertyReadIssuedDto);

export type PostAggregationDeviceIssueDevicePropertyReadForApiAsyncError = unknown;

export type PostAggregationDeviceGetDevicePropertyReadResultForApiAsyncData = {
    query?: {
        input?: DevicePropertyReadResultForApiInput;
    };
};

export type PostAggregationDeviceGetDevicePropertyReadResultForApiAsyncResponse = ({
    [key: string]: unknown;
});

export type PostAggregationDeviceGetDevicePropertyReadResultForApiAsyncError = unknown;

export type PostAggregationDeviceDeviceUpgradeForApiAsyncData = {
    query?: {
        input?: DeviceUpgradeForApiInput;
    };
};

export type PostAggregationDeviceDeviceUpgradeForApiAsyncResponse = (boolean);

export type PostAggregationDeviceDeviceUpgradeForApiAsyncError = unknown;

export type PostAggregationDeviceDeviceBatchUpgradeForApiAsyncData = {
    query?: {
        input?: DeviceBatchUpgradeForApiInput;
    };
};

export type PostAggregationDeviceDeviceBatchUpgradeForApiAsyncResponse = (Array<(string)>);

export type PostAggregationDeviceDeviceBatchUpgradeForApiAsyncError = unknown;

export type PostAggregationDeviceDownloadFirmwareData = {
    query?: {
        input?: IdInput;
    };
};

export type PostAggregationDeviceDownloadFirmwareResponse = (RemoteStreamContent);

export type PostAggregationDeviceDownloadFirmwareError = unknown;

export type GetAggregationDeviceDownloadFirmwareData = {
    query?: {
        input?: IdInput;
    };
};

export type GetAggregationDeviceDownloadFirmwareResponse = (RemoteStreamContent);

export type GetAggregationDeviceDownloadFirmwareError = unknown;

export type PostAggregationDeviceBindingDeviceThingModelData = {
    query?: {
        input?: BindingDeviceThingModelInput;
    };
};

export type PostAggregationDeviceBindingDeviceThingModelResponse = (boolean);

export type PostAggregationDeviceBindingDeviceThingModelError = unknown;

export type PostAggregationDeviceCallDeviceServiceForApiAsyncData = {
    query?: {
        input?: CallDeviceServiceForApiInput;
    };
};

export type PostAggregationDeviceCallDeviceServiceForApiAsyncResponse = ({
    [key: string]: unknown;
});

export type PostAggregationDeviceCallDeviceServiceForApiAsyncError = unknown;

export type PostAggregationDeviceDeviceMasterSwitchForApiAsyncData = {
    query?: {
        input?: DeviceMasterSwitchInput;
    };
};

export type PostAggregationDeviceDeviceMasterSwitchForApiAsyncResponse = (boolean);

export type PostAggregationDeviceDeviceMasterSwitchForApiAsyncError = unknown;

export type PostAggregationDeviceDeviceBatchMasterSwitchForApiAsyncData = {
    query?: {
        input?: DeviceBatchMasterSwitchInput;
    };
};

export type PostAggregationDeviceDeviceBatchMasterSwitchForApiAsyncResponse = (Array<(string)>);

export type PostAggregationDeviceDeviceBatchMasterSwitchForApiAsyncError = unknown;

export type GetAggregationDeviceGetMasterStationListForApiAsyncResponse = (Array<MasterStationOutput>);

export type GetAggregationDeviceGetMasterStationListForApiAsyncError = unknown;

export type PostAggregationDeviceGetMasterStationListForApiAsyncResponse = (Array<MasterStationOutput>);

export type PostAggregationDeviceGetMasterStationListForApiAsyncError = unknown;

export type PostFirmwareInfoCreateAsyncData = {
    query?: {
        input?: CreateDeviceFirmwareInfoInput;
    };
};

export type PostFirmwareInfoCreateAsyncResponse = (DeviceFirmwareInfoDto);

export type PostFirmwareInfoCreateAsyncError = unknown;

export type PostFirmwareInfoUpdateAsyncData = {
    query?: {
        input?: UpdateDeviceFirmwareInfoInput;
    };
};

export type PostFirmwareInfoUpdateAsyncResponse = (DeviceFirmwareInfoDto);

export type PostFirmwareInfoUpdateAsyncError = unknown;

export type PostFirmwareInfoDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostFirmwareInfoDeleteAsyncResponse = (boolean);

export type PostFirmwareInfoDeleteAsyncError = unknown;

export type PostFirmwareInfoFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostFirmwareInfoFindByIdAsyncResponse = (DeviceFirmwareInfoDto);

export type PostFirmwareInfoFindByIdAsyncError = unknown;

export type PostFirmwareInfoUpdateStatusByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostFirmwareInfoUpdateStatusByIdAsyncResponse = (DeviceFirmwareInfoDto);

export type PostFirmwareInfoUpdateStatusByIdAsyncError = unknown;

export type PostFirmwareInfoFindByDeviceProductIdAsyncData = {
    query?: {
        input?: StringIdInput;
    };
};

export type PostFirmwareInfoFindByDeviceProductIdAsyncResponse = (Array<DeviceFirmwareInfoDto>);

export type PostFirmwareInfoFindByDeviceProductIdAsyncError = unknown;

export type PostFirmwareInfoPageData = {
    query?: {
        input?: PageDeviceFirmwareInfoInput;
    };
};

export type PostFirmwareInfoPageResponse = (DeviceFirmwareInfoDtoPagedResultDto);

export type PostFirmwareInfoPageError = unknown;

export type PostDeviceInfoFindByDeviceAddressData = {
    query?: {
        deviceAddress?: string;
    };
};

export type PostDeviceInfoFindByDeviceAddressResponse = (DeviceManagementInfoDto);

export type PostDeviceInfoFindByDeviceAddressError = unknown;

export type PostDeviceInfoPageData = {
    query?: {
        input?: PageDeviceInput;
    };
};

export type PostDeviceInfoPageResponse = (DeviceManagementInfoDtoPagedResultDto);

export type PostDeviceInfoPageError = unknown;

export type PostDeviceInfoDeviceDataFlowConfigData = {
    query?: {
        input?: DeviceDataFlowConfigInput;
    };
};

export type PostDeviceInfoDeviceDataFlowConfigResponse = (DeviceManagementInfoDto);

export type PostDeviceInfoDeviceDataFlowConfigError = unknown;

export type PostDeviceInfoCacheDeviceDataToRedisResponse = (boolean);

export type PostDeviceInfoCacheDeviceDataToRedisError = unknown;

export type PostDeviceInfoMqttDeviceLoginData = {
    body?: DeviceLoginModel;
};

export type PostDeviceInfoMqttDeviceLoginResponse = (DeviceLoginResult);

export type PostDeviceInfoMqttDeviceLoginError = unknown;

export type PostDeviceThingModelManagementCreateAsyncData = {
    query?: {
        input?: DeviceThingModelCreateInput;
    };
};

export type PostDeviceThingModelManagementCreateAsyncResponse = (DeviceThingModelManagementDto);

export type PostDeviceThingModelManagementCreateAsyncError = unknown;

export type PostDeviceThingModelManagementUpdateAsyncData = {
    query?: {
        input?: DeviceThingModelUpdateInput;
    };
};

export type PostDeviceThingModelManagementUpdateAsyncResponse = (DeviceThingModelManagementDto);

export type PostDeviceThingModelManagementUpdateAsyncError = unknown;

export type PostDeviceThingModelManagementDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementDeleteAsyncResponse = (boolean);

export type PostDeviceThingModelManagementDeleteAsyncError = unknown;

export type PostDeviceThingModelManagementFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementFindByIdAsyncResponse = (DeviceThingModelManagementDto);

export type PostDeviceThingModelManagementFindByIdAsyncError = unknown;

export type PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncResponse = (DeviceThingModelManagementDto);

export type PostDeviceThingModelManagementGetDeviceThingModelAllInfoByIdAsyncError = unknown;

export type PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncResponse = (BuildAnalysisScriptOutput);

export type PostDeviceThingModelManagementBuildAnalysisScriptByIdAsyncError = unknown;

export type PostDeviceThingModelManagementBuildAnalysisScriptAsyncData = {
    query?: {
        input?: BuildAnalysisScriptInput;
    };
};

export type PostDeviceThingModelManagementBuildAnalysisScriptAsyncResponse = (boolean);

export type PostDeviceThingModelManagementBuildAnalysisScriptAsyncError = unknown;

export type PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncResponse = (boolean);

export type PostDeviceThingModelManagementUpdateAnalysisScriptByIdAsyncError = unknown;

export type PostDeviceThingModelManagementMessageAnalysisTestAsyncData = {
    query?: {
        input?: MessageAnalysisTestInput;
    };
};

export type PostDeviceThingModelManagementMessageAnalysisTestAsyncResponse = ({
    [key: string]: {
        [key: string]: unknown;
    };
});

export type PostDeviceThingModelManagementMessageAnalysisTestAsyncError = unknown;

export type PostDeviceThingModelManagementFindByPlatformProductIdAsyncData = {
    query?: {
        input?: StringIdInput;
    };
};

export type PostDeviceThingModelManagementFindByPlatformProductIdAsyncResponse = (Array<DeviceThingModelManagementDto>);

export type PostDeviceThingModelManagementFindByPlatformProductIdAsyncError = unknown;

export type PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncData = {
    query?: {
        input?: CopyAnotherDeviceInput;
    };
};

export type PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncResponse = (boolean);

export type PostDeviceThingModelManagementCopyAnotherDeviceThingModelAsyncError = unknown;

export type PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncData = {
    query?: {
        input?: CopyIoTPlatformThingModelToDeviceInput;
    };
};

export type PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncResponse = (boolean);

export type PostDeviceThingModelManagementCopyIoTplatformThingModelToDeviceAsyncError = unknown;

export type PostDeviceThingModelManagementPageAsyncData = {
    query?: {
        input?: DeviceThingModelPageInput;
    };
};

export type PostDeviceThingModelManagementPageAsyncResponse = (DeviceThingModelManagementDtoPagedResultDto);

export type PostDeviceThingModelManagementPageAsyncError = unknown;

export type PostDeviceThingModelManagementPropertyCreateAsyncData = {
    query?: {
        input?: DeviceThingModelPropertyCreateInput;
    };
};

export type PostDeviceThingModelManagementPropertyCreateAsyncResponse = (DeviceThingModelPropertyInfoDto);

export type PostDeviceThingModelManagementPropertyCreateAsyncError = unknown;

export type PostDeviceThingModelManagementPropertyUpdateAsyncData = {
    query?: {
        input?: DeviceThingModelPropertyUpdateInput;
    };
};

export type PostDeviceThingModelManagementPropertyUpdateAsyncResponse = (DeviceThingModelPropertyInfoDto);

export type PostDeviceThingModelManagementPropertyUpdateAsyncError = unknown;

export type PostDeviceThingModelManagementPropertyDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementPropertyDeleteAsyncResponse = (boolean);

export type PostDeviceThingModelManagementPropertyDeleteAsyncError = unknown;

export type PostDeviceThingModelManagementPropertyFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementPropertyFindByIdAsyncResponse = (DeviceThingModelPropertyInfoDto);

export type PostDeviceThingModelManagementPropertyFindByIdAsyncError = unknown;

export type PostDeviceThingModelManagementPropertyPageAsyncData = {
    query?: {
        input?: DeviceThingModelPropertyPageInput;
    };
};

export type PostDeviceThingModelManagementPropertyPageAsyncResponse = (DeviceThingModelPropertyInfoDtoPagedResultDto);

export type PostDeviceThingModelManagementPropertyPageAsyncError = unknown;

export type PostDeviceThingModelManagementCommandCreateAsyncData = {
    query?: {
        input?: DeviceThingModelCommandInfoCreateInput;
    };
};

export type PostDeviceThingModelManagementCommandCreateAsyncResponse = (DeviceThingModelCommandInfoDto);

export type PostDeviceThingModelManagementCommandCreateAsyncError = unknown;

export type PostDeviceThingModelManagementCommandUpdateAsyncData = {
    query?: {
        input?: DeviceThingModelCommandInfoUpdateInput;
    };
};

export type PostDeviceThingModelManagementCommandUpdateAsyncResponse = (DeviceThingModelCommandInfoDto);

export type PostDeviceThingModelManagementCommandUpdateAsyncError = unknown;

export type PostDeviceThingModelManagementCommandDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementCommandDeleteAsyncResponse = (boolean);

export type PostDeviceThingModelManagementCommandDeleteAsyncError = unknown;

export type PostDeviceThingModelManagementCommandFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementCommandFindByIdAsyncResponse = (DeviceThingModelCommandInfoDto);

export type PostDeviceThingModelManagementCommandFindByIdAsyncError = unknown;

export type PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncResponse = (boolean);

export type PostDeviceThingModelManagementUpdateCommandStatusByIdAsyncError = unknown;

export type PostDeviceThingModelManagementCommandPageAsyncData = {
    query?: {
        input?: DeviceThingModelCommandInfoPageInput;
    };
};

export type PostDeviceThingModelManagementCommandPageAsyncResponse = (DeviceThingModelCommandInfoDtoPagedResultDto);

export type PostDeviceThingModelManagementCommandPageAsyncError = unknown;

export type PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncResponse = (boolean);

export type PostDeviceThingModelManagementCacheDeviceThingModelToRedisAsyncError = unknown;

export type PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncResponse = (boolean);

export type PostDeviceThingModelManagementCacheAllDeviceThingModelToRedisAsyncError = unknown;

export type PostUpgradeRecordUpdateStatusAsyncData = {
    query?: {
        input?: UpdateStatusInput;
    };
};

export type PostUpgradeRecordUpdateStatusAsyncResponse = (DeviceUpgradeRecordDto);

export type PostUpgradeRecordUpdateStatusAsyncError = unknown;

export type PostUpgradeRecordBatchUpdateStatusAsyncData = {
    query?: {
        input?: BatchUpdateStatusInput;
    };
};

export type PostUpgradeRecordBatchUpdateStatusAsyncResponse = (DeviceUpgradeRecordDto);

export type PostUpgradeRecordBatchUpdateStatusAsyncError = unknown;

export type PostUpgradeRecordDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostUpgradeRecordDeleteAsyncResponse = (boolean);

export type PostUpgradeRecordDeleteAsyncError = unknown;

export type PostUpgradeRecordPageData = {
    query?: {
        input?: PageDeviceUpgradeRecordInput;
    };
};

export type PostUpgradeRecordPageResponse = (DeviceUpgradeRecordDtoPagedResultDto);

export type PostUpgradeRecordPageError = unknown;

export type PostFeaturesListData = {
    body?: GetFeatureListResultInput;
};

export type PostFeaturesListResponse = (GetFeatureListResultDto);

export type PostFeaturesListError = (RemoteServiceErrorResponse);

export type PostFeaturesUpdateData = {
    body?: UpdateFeatureInput;
};

export type PostFeaturesUpdateResponse = (unknown | void);

export type PostFeaturesUpdateError = (RemoteServiceErrorResponse);

export type PostFeaturesDeleteData = {
    body?: DeleteFeatureInput;
};

export type PostFeaturesDeleteResponse = (unknown | void);

export type PostFeaturesDeleteError = (RemoteServiceErrorResponse);

export type PostFilesPageData = {
    query?: {
        input?: PageFileObjectInput;
    };
};

export type PostFilesPageResponse = (PageFileObjectOutputPagedResultDto);

export type PostFilesPageError = unknown;

export type PostFilesUploadData = {
    body?: {
        files?: Array<((Blob | File))>;
    };
};

export type PostFilesUploadResponse = (Array<FileObjectDto>);

export type PostFilesUploadError = unknown;

export type PostFilesDeleteData = {
    query?: {
        input?: DeleteFileObjectInput;
    };
};

export type PostFilesDeleteResponse = (unknown);

export type PostFilesDeleteError = unknown;

export type PostFilesDownloadData = {
    query?: {
        input?: DownloadFileObjectInput;
    };
};

export type PostFilesDownloadResponse = (RemoteStreamContent);

export type PostFilesDownloadError = unknown;

export type PostIdentitySecurityLogsPageData = {
    body?: PagingIdentitySecurityLogInput;
};

export type PostIdentitySecurityLogsPageResponse = (PagingIdentitySecurityLogOutputPagedResultDto);

export type PostIdentitySecurityLogsPageError = (RemoteServiceErrorResponse);

export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncData = {
    query?: {
        input?: IoTPlatformProductInfoInput;
    };
};

export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncResponse = (Array<IoTPlatformProductInfoOutput>);

export type PostAggregationIoTplatformGetIoTplatformProductInfoAsyncError = unknown;

export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncData = {
    query?: {
        input?: IoTPlatformAccountInfoInput;
    };
};

export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncResponse = (Array<IoTPlatformAccountInfoOutput>);

export type PostAggregationIoTplatformGetIoTplatformAccountInfoAsyncError = unknown;

export type PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncData = {
    query?: {
        input?: IoTPlatformProductThingModelInfoInput;
    };
};

export type PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncResponse = (Array<SelectResult>);

export type PostAggregationIoTplatformGetIoTplatformProductThingModelInfoAsyncError = unknown;

export type PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncData = {
    query?: {
        input?: UpdateIoTPlatformProductThingModelInfoInput;
    };
};

export type PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncResponse = (unknown);

export type PostAggregationIoTplatformUpdateIoTplatformProductThingModelInfoAsyncError = unknown;

export type PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncData = {
    query?: {
        input?: QueryOneNETReceiveMessageInput;
    };
};

export type PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncResponse = (unknown);

export type PostAggregationIoTplatformIoTplatformDataLogReHandlerAsyncError = unknown;

export type PostIoTplatformThingModelInfoCreateAsyncData = {
    query?: {
        input?: IoTPlatformThingModelCreateInput;
    };
};

export type PostIoTplatformThingModelInfoCreateAsyncResponse = (IoTPlatformThingModelInfoDto);

export type PostIoTplatformThingModelInfoCreateAsyncError = unknown;

export type PostIoTplatformThingModelInfoUpdateAsyncData = {
    query?: {
        input?: IoTPlatformThingModelUpdateInput;
    };
};

export type PostIoTplatformThingModelInfoUpdateAsyncResponse = (IoTPlatformThingModelInfoDto);

export type PostIoTplatformThingModelInfoUpdateAsyncError = unknown;

export type PostIoTplatformThingModelInfoDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostIoTplatformThingModelInfoDeleteAsyncResponse = (boolean);

export type PostIoTplatformThingModelInfoDeleteAsyncError = unknown;

export type PostIoTplatformThingModelInfoFindByIdAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostIoTplatformThingModelInfoFindByIdAsyncResponse = (IoTPlatformThingModelInfoDto);

export type PostIoTplatformThingModelInfoFindByIdAsyncError = unknown;

export type PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncData = {
    query?: {
        input?: StringIdInput;
    };
};

export type PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncResponse = (Array<IoTPlatformThingModelInfoDto>);

export type PostIoTplatformThingModelInfoFindByPlatformProductIdAsyncError = unknown;

export type PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncData = {
    query?: {
        input?: CopyAnotherProductInput;
    };
};

export type PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncResponse = (boolean);

export type PostIoTplatformThingModelInfoCopyAnotherThingModelAsyncError = unknown;

export type PostIoTplatformThingModelInfoCopyStandardThingModelData = {
    query?: {
        input?: CopyStandardThingModelInput;
    };
};

export type PostIoTplatformThingModelInfoCopyStandardThingModelResponse = (boolean);

export type PostIoTplatformThingModelInfoCopyStandardThingModelError = unknown;

export type PostIoTplatformThingModelInfoPageAsyncData = {
    query?: {
        input?: IoTPlatformThingModelPageInput;
    };
};

export type PostIoTplatformThingModelInfoPageAsyncResponse = (IoTPlatformThingModelInfoDtoPagedResultDto);

export type PostIoTplatformThingModelInfoPageAsyncError = unknown;

export type PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncResponse = (Array<AllPlatformThingModelOutput>);

export type PostIoTplatformThingModelInfoGetAllPlatformThingModelAsyncError = unknown;

export type PostIoTplatformThingModelInfoStandardThingModelPageAsyncResponse = (Array<DataDictionaryDetailInfoDto>);

export type PostIoTplatformThingModelInfoStandardThingModelPageAsyncError = unknown;

export type PostIoTplatformThingModelInfoUpdateOperableIdentifierData = {
    query?: {
        input?: IdInput;
    };
};

export type PostIoTplatformThingModelInfoUpdateOperableIdentifierResponse = (boolean);

export type PostIoTplatformThingModelInfoUpdateOperableIdentifierError = unknown;

export type PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceData = {
    query?: {
        input?: GetPlatformThingModelServiceInput;
    };
};

export type PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceResponse = (Array<SelectResult>);

export type PostIoTplatformThingModelInfoGetIoTplatformThingModelServiceError = unknown;

export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandData = {
    query?: {
        input?: CreatePlatformThingModelCommandInput;
    };
};

export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandResponse = (IoTPlatformThingModelCommandDto);

export type PostIoTplatformThingModelInfoCreateIoTplatformThingModelCommandError = unknown;

export type PostIoTplatformThingModelInfoExportPlatformThingModelData = {
    query?: {
        /**
         * 导出参数（产品ID 必填，平台类型默认 OneNET）
         */
        input?: ExportPlatformThingModelInput;
    };
};

export type PostIoTplatformThingModelInfoExportPlatformThingModelResponse = ((Blob | File));

export type PostIoTplatformThingModelInfoExportPlatformThingModelError = unknown;

export type PostIoTplatformThingModelInfoImportPlatformThingModelData = {
    body?: {
        /**
         * 导出的 JSON 文件
         */
        file?: (Blob | File);
    };
    query?: {
        /**
         * 导入目标产品ID
         */
        ioTPlatformProductId?: string;
        /**
         * 平台类型，默认 OneNET
         */
        platform?: IoTPlatformTypeEnum;
    };
};

export type PostIoTplatformThingModelInfoImportPlatformThingModelResponse = (ImportPlatformThingModelResultDto);

export type PostIoTplatformThingModelInfoImportPlatformThingModelError = unknown;

export type PostLanguagesAllResponse = (Array<PageLanguageOutput>);

export type PostLanguagesAllError = (RemoteServiceErrorResponse);

export type PostLanguagesPageData = {
    body?: PageLanguageInput;
};

export type PostLanguagesPageResponse = (PageLanguageOutputPagedResultDto);

export type PostLanguagesPageError = (RemoteServiceErrorResponse);

export type PostLanguagesCreateData = {
    body?: CreateLanguageInput;
};

export type PostLanguagesCreateResponse = (unknown | void);

export type PostLanguagesCreateError = (RemoteServiceErrorResponse);

export type PostLanguagesUpdateData = {
    body?: UpdateLanguageInput;
};

export type PostLanguagesUpdateResponse = (unknown | void);

export type PostLanguagesUpdateError = (RemoteServiceErrorResponse);

export type PostLanguagesDeleteData = {
    body?: DeleteLanguageInput;
};

export type PostLanguagesDeleteResponse = (unknown | void);

export type PostLanguagesDeleteError = (RemoteServiceErrorResponse);

export type PostLanguagesSetDefaultData = {
    body?: IdInput;
};

export type PostLanguagesSetDefaultResponse = (unknown | void);

export type PostLanguagesSetDefaultError = (RemoteServiceErrorResponse);

export type PostLanguageTextsAllResourceResponse = (Array<StringStringFromSelector>);

export type PostLanguageTextsAllResourceError = (RemoteServiceErrorResponse);

export type PostLanguageTextsPageData = {
    body?: PageLanguageTextInput;
};

export type PostLanguageTextsPageResponse = (PageLanguageTextOutputPagedResultDto);

export type PostLanguageTextsPageError = (RemoteServiceErrorResponse);

export type PostLanguageTextsCreateData = {
    body?: CreateLanguageTextInput;
};

export type PostLanguageTextsCreateResponse = (unknown | void);

export type PostLanguageTextsCreateError = (RemoteServiceErrorResponse);

export type PostLanguageTextsUpdateData = {
    body?: UpdateLanguageTextInput;
};

export type PostLanguageTextsUpdateResponse = (unknown | void);

export type PostLanguageTextsUpdateError = (RemoteServiceErrorResponse);

export type PostMenusUserMenuResponse = (Array<GetMenuTreeOutput>);

export type PostMenusUserMenuError = (RemoteServiceErrorResponse);

export type PostMenusPageData = {
    body?: PageMenuInput;
};

export type PostMenusPageResponse = (PageMenuOutputPagedResultDto);

export type PostMenusPageError = (RemoteServiceErrorResponse);

export type PostMenusCreateData = {
    body?: CreateMenuInput;
};

export type PostMenusCreateResponse = (unknown | void);

export type PostMenusCreateError = (RemoteServiceErrorResponse);

export type PostMenusUpdateData = {
    body?: UpdateMenuInput;
};

export type PostMenusUpdateResponse = (unknown | void);

export type PostMenusUpdateError = (RemoteServiceErrorResponse);

export type PostMenusDeleteData = {
    body?: DeleteMenuInput;
};

export type PostMenusDeleteResponse = (unknown | void);

export type PostMenusDeleteError = (RemoteServiceErrorResponse);

export type PostMenusTreeResponse = (Array<GetMenuTreeOutput>);

export type PostMenusTreeError = (RemoteServiceErrorResponse);

export type PostNotificationNotificationPageData = {
    body?: PagingNotificationInput;
};

export type PostNotificationNotificationPageResponse = (PagingNotificationOutputPagedResultDto);

export type PostNotificationNotificationPageError = (RemoteServiceErrorResponse);

export type PostNotificationNotificationSubscriptionPageData = {
    body?: PagingNotificationSubscriptionInput;
};

export type PostNotificationNotificationSubscriptionPageResponse = (PagingNotificationSubscriptionOutputPagedResultDto);

export type PostNotificationNotificationSubscriptionPageError = (RemoteServiceErrorResponse);

export type PostNotificationDeleteData = {
    body?: DeleteMessageInput;
};

export type PostNotificationDeleteResponse = (unknown | void);

export type PostNotificationDeleteError = (RemoteServiceErrorResponse);

export type PostNotificationSendCommonWarningMessageData = {
    body?: SendCommonMessageInput;
};

export type PostNotificationSendCommonWarningMessageResponse = (unknown | void);

export type PostNotificationSendCommonWarningMessageError = (RemoteServiceErrorResponse);

export type PostNotificationSendCommonInformationMessageData = {
    body?: SendCommonMessageInput;
};

export type PostNotificationSendCommonInformationMessageResponse = (unknown | void);

export type PostNotificationSendCommonInformationMessageError = (RemoteServiceErrorResponse);

export type PostNotificationSendCommonErrorMessageData = {
    body?: SendCommonMessageInput;
};

export type PostNotificationSendCommonErrorMessageResponse = (unknown | void);

export type PostNotificationSendCommonErrorMessageError = (RemoteServiceErrorResponse);

export type PostNotificationSendBroadCastWarningMessageData = {
    body?: SendBroadCastMessageInput;
};

export type PostNotificationSendBroadCastWarningMessageResponse = (unknown | void);

export type PostNotificationSendBroadCastWarningMessageError = (RemoteServiceErrorResponse);

export type PostNotificationSendBroadCastInformationMessageData = {
    body?: SendBroadCastMessageInput;
};

export type PostNotificationSendBroadCastInformationMessageResponse = (unknown | void);

export type PostNotificationSendBroadCastInformationMessageError = (RemoteServiceErrorResponse);

export type PostNotificationSendBroadCastErrorMessageData = {
    body?: SendBroadCastMessageInput;
};

export type PostNotificationSendBroadCastErrorMessageResponse = (unknown | void);

export type PostNotificationSendBroadCastErrorMessageError = (RemoteServiceErrorResponse);

export type PostNotificationReadData = {
    body?: SetReadInput;
};

export type PostNotificationReadResponse = (unknown | void);

export type PostNotificationReadError = (RemoteServiceErrorResponse);

export type PostNotificationBatchReadData = {
    body?: SetBatchReadInput;
};

export type PostNotificationBatchReadResponse = (unknown | void);

export type PostNotificationBatchReadError = (RemoteServiceErrorResponse);

export type PostOneNetAccountInsertAsyncData = {
    query?: {
        input?: OneNetAccountInsertInput;
    };
};

export type PostOneNetAccountInsertAsyncResponse = (OneNETAccountInfoDto);

export type PostOneNetAccountInsertAsyncError = unknown;

export type PostOneNetAccountModifyAsyncData = {
    query?: {
        input?: OneNetAccountModifyInput;
    };
};

export type PostOneNetAccountModifyAsyncResponse = (OneNETAccountInfoDto);

export type PostOneNetAccountModifyAsyncError = unknown;

export type PostOneNetAccountDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostOneNetAccountDeleteAsyncResponse = (OneNETAccountInfoDto);

export type PostOneNetAccountDeleteAsyncError = unknown;

export type PostOneNetAccountListAsyncData = {
    query?: {
        input?: OneNetAccountListInput;
    };
};

export type PostOneNetAccountListAsyncResponse = (OneNETAccountInfoDtoPagedResultDto);

export type PostOneNetAccountListAsyncError = unknown;

export type PostOneNetProductInsertAsyncData = {
    query?: {
        input?: OneNetProductInfoInsertInput;
    };
};

export type PostOneNetProductInsertAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductInsertAsyncError = unknown;

export type PostOneNetProductModifyAsyncData = {
    query?: {
        input?: OneNetProductInfoModifyInput;
    };
};

export type PostOneNetProductModifyAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductModifyAsyncError = unknown;

export type PostOneNetProductDeleteAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostOneNetProductDeleteAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductDeleteAsyncError = unknown;

export type PostOneNetProductGetAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostOneNetProductGetAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductGetAsyncError = unknown;

export type PostOneNetProductProductStatusChangeAsyncData = {
    query?: {
        input?: IdInput;
    };
};

export type PostOneNetProductProductStatusChangeAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductProductStatusChangeAsyncError = unknown;

export type PostOneNetProductUpdateThingModelAsyncData = {
    query?: {
        input?: StringIdInput;
    };
};

export type PostOneNetProductUpdateThingModelAsyncResponse = (OneNETProductInfoDto);

export type PostOneNetProductUpdateThingModelAsyncError = unknown;

export type PostOneNetProductListAsyncData = {
    query?: {
        input?: OneNetProductInfoListInput;
    };
};

export type PostOneNetProductListAsyncResponse = (OneNETProductInfoDtoPagedResultDto);

export type PostOneNetProductListAsyncError = unknown;

export type PostOneNetProductOneNetDataFlowConfigData = {
    query?: {
        /**
         * 数据流转配置输入参数
         */
        input?: OneNETDataFlowConfigInput;
    };
};

export type PostOneNetProductOneNetDataFlowConfigResponse = (OneNETProductInfoDto);

export type PostOneNetProductOneNetDataFlowConfigError = unknown;

export type PostOneNetServiceReceivePlaintextDataChangeData = {
    query?: {
        msg?: string;
        nonce?: string;
        signature?: string;
    };
};

export type PostOneNetServiceReceivePlaintextDataChangeResponse = (unknown);

export type PostOneNetServiceReceivePlaintextDataChangeError = unknown;

export type GetOneNetServiceReceivePlaintextDataChangeData = {
    query?: {
        msg?: string;
        nonce?: string;
        signature?: string;
    };
};

export type GetOneNetServiceReceivePlaintextDataChangeResponse = (unknown);

export type GetOneNetServiceReceivePlaintextDataChangeError = unknown;

export type PostOneNetServiceReceiveCiphertextDataChangeData = {
    query?: {
        msg?: string;
        nonce?: string;
        signature?: string;
    };
};

export type PostOneNetServiceReceiveCiphertextDataChangeResponse = (unknown);

export type PostOneNetServiceReceiveCiphertextDataChangeError = unknown;

export type GetOneNetServiceReceiveCiphertextDataChangeData = {
    query?: {
        msg?: string;
        nonce?: string;
        signature?: string;
    };
};

export type GetOneNetServiceReceiveCiphertextDataChangeResponse = (unknown);

export type GetOneNetServiceReceiveCiphertextDataChangeError = unknown;

export type GetOneNetServiceCheckLocalMemroyData = {
    query?: {
        key?: string;
        productId?: string;
    };
};

export type GetOneNetServiceCheckLocalMemroyResponse = (unknown);

export type GetOneNetServiceCheckLocalMemroyError = unknown;

export type PostOneNetServiceDataServerReceiveEmqxDataResponse = (unknown);

export type PostOneNetServiceDataServerReceiveEmqxDataError = unknown;

export type PostOneNetServiceDataServerReceiveEmqxDeviceStatusResponse = (unknown);

export type PostOneNetServiceDataServerReceiveEmqxDeviceStatusError = unknown;

export type PostOrganizationUnitsTreeResponse = (Array<TreeOutput>);

export type PostOrganizationUnitsTreeError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsCreateData = {
    body?: CreateOrganizationUnitInput;
};

export type PostOrganizationUnitsCreateResponse = (unknown | void);

export type PostOrganizationUnitsCreateError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsDeleteData = {
    body?: IdInput;
};

export type PostOrganizationUnitsDeleteResponse = (unknown | void);

export type PostOrganizationUnitsDeleteError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsUpdateData = {
    body?: UpdateOrganizationUnitInput;
};

export type PostOrganizationUnitsUpdateResponse = (unknown | void);

export type PostOrganizationUnitsUpdateError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData = {
    body?: AddRoleToOrganizationUnitInput;
};

export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse = (unknown | void);

export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData = {
    body?: RemoveRoleToOrganizationUnitInput;
};

export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse = (unknown | void);

export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsAddUserToOrganizationUnitData = {
    body?: AddUserToOrganizationUnitInput;
};

export type PostOrganizationUnitsAddUserToOrganizationUnitResponse = (unknown | void);

export type PostOrganizationUnitsAddUserToOrganizationUnitError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsRemoveUserFromOrganizationUnitData = {
    body?: RemoveUserToOrganizationUnitInput;
};

export type PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse = (unknown | void);

export type PostOrganizationUnitsRemoveUserFromOrganizationUnitError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsGetUsersData = {
    body?: GetOrganizationUnitUserInput;
};

export type PostOrganizationUnitsGetUsersResponse = (GetOrganizationUnitUserOutputPagedResultDto);

export type PostOrganizationUnitsGetUsersError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsGetRolesData = {
    body?: GetOrganizationUnitRoleInput;
};

export type PostOrganizationUnitsGetRolesResponse = (GetOrganizationUnitRoleOutputPagedResultDto);

export type PostOrganizationUnitsGetRolesError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsGetUnAddUsersData = {
    body?: GetUnAddUserInput;
};

export type PostOrganizationUnitsGetUnAddUsersResponse = (GetUnAddUserOutputPagedResultDto);

export type PostOrganizationUnitsGetUnAddUsersError = (RemoteServiceErrorResponse);

export type PostOrganizationUnitsGetUnAddRolesData = {
    body?: GetUnAddRoleInput;
};

export type PostOrganizationUnitsGetUnAddRolesResponse = (GetUnAddRoleOutputPagedResultDto);

export type PostOrganizationUnitsGetUnAddRolesError = (RemoteServiceErrorResponse);

export type PostPermissionsTreeData = {
    body?: GetPermissionInput;
};

export type PostPermissionsTreeResponse = (PermissionOutput);

export type PostPermissionsTreeError = (RemoteServiceErrorResponse);

export type PostPermissionsUpdateData = {
    body?: UpdateRolePermissionsInput;
};

export type PostPermissionsUpdateResponse = (unknown | void);

export type PostPermissionsUpdateError = (RemoteServiceErrorResponse);

export type PostRolesAllResponse = (IdentityRoleDtoListResultDto);

export type PostRolesAllError = (RemoteServiceErrorResponse);

export type PostRolesPageData = {
    body?: PagingRoleListInput;
};

export type PostRolesPageResponse = (IdentityRoleDtoPagedResultDto);

export type PostRolesPageError = (RemoteServiceErrorResponse);

export type PostRolesCreateData = {
    body?: IdentityRoleCreateDto;
};

export type PostRolesCreateResponse = (IdentityRoleDto);

export type PostRolesCreateError = (RemoteServiceErrorResponse);

export type PostRolesUpdateData = {
    body?: UpdateRoleInput;
};

export type PostRolesUpdateResponse = (IdentityRoleDto);

export type PostRolesUpdateError = (RemoteServiceErrorResponse);

export type PostRolesDeleteData = {
    body?: IdInput;
};

export type PostRolesDeleteResponse = (unknown | void);

export type PostRolesDeleteError = (RemoteServiceErrorResponse);

export type GetApiAppAbpProBasicApplicationConfigurationResponse = (ServiceProApplicationConfigurationDto);

export type GetApiAppAbpProBasicApplicationConfigurationError = (RemoteServiceErrorResponse);

export type PostSettingsAllResponse = (Array<SettingOutput>);

export type PostSettingsAllError = (RemoteServiceErrorResponse);

export type PostSettingsUpdateData = {
    body?: UpdateSettingInput;
};

export type PostSettingsUpdateResponse = (unknown | void);

export type PostSettingsUpdateError = (RemoteServiceErrorResponse);

export type PostTableModelPacketInfoPageData = {
    body?: MeterReadingPacketInfoPageInput;
};

export type PostTableModelPacketInfoPageResponse = (MeterReadingPacketInfoPageOutputPagedResultDto);

export type PostTableModelPacketInfoPageError = unknown;

export type PostTableModelDeviceDataInfoPageData = {
    body?: DeviceTableModelDataInfoPageInput;
};

export type PostTableModelDeviceDataInfoPageResponse = (DeviceTableModelDataInfoPageOutputPagedResultDto);

export type PostTableModelDeviceDataInfoPageError = unknown;

export type PostTableModelCtWingLogInfoData = {
    query?: {
        input?: QueryCTWingAepReceiveMessageInput;
    };
};

export type PostTableModelCtWingLogInfoResponse = (QueryCTWingAepReceiveMessageOutputPagedResultDto);

export type PostTableModelCtWingLogInfoError = unknown;

export type PostTableModelOneNetLogInfoData = {
    query?: {
        input?: QueryOneNETReceiveMessageInput;
    };
};

export type PostTableModelOneNetLogInfoResponse = (QueryOneNETReceiveMessageOutputPagedResultDto);

export type PostTableModelOneNetLogInfoError = unknown;

export type PostTenantsFindData = {
    body?: FindTenantByNameInput;
};

export type PostTenantsFindResponse = (FindTenantResultDto);

export type PostTenantsFindError = (RemoteServiceErrorResponse);

export type PostTenantsPageData = {
    body?: PagingTenantInput;
};

export type PostTenantsPageResponse = (TenantDtoPagedResultDto);

export type PostTenantsPageError = (RemoteServiceErrorResponse);

export type PostTenantsCreateData = {
    body?: TenantCreateDto;
};

export type PostTenantsCreateResponse = (TenantDto);

export type PostTenantsCreateError = (RemoteServiceErrorResponse);

export type PostTenantsUpdateData = {
    body?: UpdateTenantInput;
};

export type PostTenantsUpdateResponse = (TenantDto);

export type PostTenantsUpdateError = (RemoteServiceErrorResponse);

export type PostTenantsDeleteData = {
    body?: IdInput;
};

export type PostTenantsDeleteResponse = (unknown | void);

export type PostTenantsDeleteError = (RemoteServiceErrorResponse);

export type PostTenantsPageConnectionStringData = {
    body?: PageTenantConnectionStringInput;
};

export type PostTenantsPageConnectionStringResponse = (PageTenantConnectionStringOutputPagedResultDto);

export type PostTenantsPageConnectionStringError = (RemoteServiceErrorResponse);

export type PostTenantsAddOrUpdateConnectionStringData = {
    body?: AddOrUpdateConnectionStringInput;
};

export type PostTenantsAddOrUpdateConnectionStringResponse = (unknown | void);

export type PostTenantsAddOrUpdateConnectionStringError = (RemoteServiceErrorResponse);

export type PostTenantsDeleteConnectionStringData = {
    body?: DeleteConnectionStringInput;
};

export type PostTenantsDeleteConnectionStringResponse = (unknown | void);

export type PostTenantsDeleteConnectionStringError = (RemoteServiceErrorResponse);

export type PostTextTemplatesPageData = {
    body?: PageTextTemplateInput;
};

export type PostTextTemplatesPageResponse = (PageTextTemplateOutputPagedResultDto);

export type PostTextTemplatesPageError = (RemoteServiceErrorResponse);

export type PostTextTemplatesCreateData = {
    body?: CreateTextTemplateInput;
};

export type PostTextTemplatesCreateResponse = (unknown | void);

export type PostTextTemplatesCreateError = (RemoteServiceErrorResponse);

export type PostTextTemplatesUpdateData = {
    body?: UpdateTextTemplateInput;
};

export type PostTextTemplatesUpdateResponse = (unknown | void);

export type PostTextTemplatesUpdateError = (RemoteServiceErrorResponse);

export type PostTextTemplatesDeleteData = {
    body?: DeleteTextTemplateInput;
};

export type PostTextTemplatesDeleteResponse = (unknown | void);

export type PostTextTemplatesDeleteError = (RemoteServiceErrorResponse);

export type PostTextTemplatesExportData = {
    body?: PageTextTemplateInput;
};

export type PostTextTemplatesExportResponse = ((Blob | File));

export type PostTextTemplatesExportError = (RemoteServiceErrorResponse);

export type PostTreeModelDeviceDataInfoPageData = {
    query?: {
        input?: DeviceTreeModelDataInfoInput;
    };
};

export type PostTreeModelDeviceDataInfoPageResponse = (IoTDBDynamicObjectPagedResultDto);

export type PostTreeModelDeviceDataInfoPageError = unknown;

export type PostTreeModelDevicePatchListAsyncData = {
    query?: {
        input?: DeviceTreeModelDataInfoInput;
    };
};

export type PostTreeModelDevicePatchListAsyncResponse = (IoTDBDynamicObjectPagedResultDto);

export type PostTreeModelDevicePatchListAsyncError = unknown;

export type PostUsersPageData = {
    body?: PagingUserListInput;
};

export type PostUsersPageResponse = (PageIdentityUserOutputPagedResultDto);

export type PostUsersPageError = (RemoteServiceErrorResponse);

export type PostUsersListData = {
    body?: PagingUserListInput;
};

export type PostUsersListResponse = (Array<IdentityUserDto>);

export type PostUsersListError = (RemoteServiceErrorResponse);

export type PostUsersExportData = {
    body?: PagingUserListInput;
};

export type PostUsersExportResponse = ((Blob | File));

export type PostUsersExportError = (RemoteServiceErrorResponse);

export type PostUsersCreateData = {
    body?: IdentityUserCreateDto;
};

export type PostUsersCreateResponse = (IdentityUserDto);

export type PostUsersCreateError = (RemoteServiceErrorResponse);

export type PostUsersUpdateData = {
    body?: UpdateUserInput;
};

export type PostUsersUpdateResponse = (IdentityUserDto);

export type PostUsersUpdateError = (RemoteServiceErrorResponse);

export type PostUsersDeleteData = {
    body?: IdInput;
};

export type PostUsersDeleteResponse = (unknown | void);

export type PostUsersDeleteError = (RemoteServiceErrorResponse);

export type PostUsersRoleData = {
    body?: IdInput;
};

export type PostUsersRoleResponse = (IdentityRoleDtoListResultDto);

export type PostUsersRoleError = (RemoteServiceErrorResponse);

export type PostUsersChangePasswordData = {
    body?: ChangePasswordInput;
};

export type PostUsersChangePasswordResponse = (boolean);

export type PostUsersChangePasswordError = (RemoteServiceErrorResponse);

export type PostUsersResetPasswordData = {
    body?: ResetPasswordInput;
};

export type PostUsersResetPasswordResponse = (boolean);

export type PostUsersResetPasswordError = (RemoteServiceErrorResponse);

export type PostUsersLockData = {
    body?: LockUserInput;
};

export type PostUsersLockResponse = (unknown | void);

export type PostUsersLockError = (RemoteServiceErrorResponse);

export type PostUsersFindByUserNameData = {
    body?: FindByUserNameInput;
};

export type PostUsersFindByUserNameResponse = (IdentityUserDto);

export type PostUsersFindByUserNameError = (RemoteServiceErrorResponse);

export type PostUsersMyProfileResponse = (MyProfileOutput);

export type PostUsersMyProfileError = (RemoteServiceErrorResponse);

export type PostUsersCanUseTwoFactorResponse = (boolean);

export type PostUsersCanUseTwoFactorError = (RemoteServiceErrorResponse);

export type PostUsersGetQrCodeResponse = (GetQRCodeOutput);

export type PostUsersGetQrCodeError = (RemoteServiceErrorResponse);

export type PostUsersEnabledTwoFactorData = {
    body?: EnabledTwoFactorInput;
};

export type PostUsersEnabledTwoFactorResponse = (unknown | void);

export type PostUsersEnabledTwoFactorError = (RemoteServiceErrorResponse);

export type PostUsersDisabledTwoFactorData = {
    body?: DisabledTwoFactorInput;
};

export type PostUsersDisabledTwoFactorResponse = (unknown | void);

export type PostUsersDisabledTwoFactorError = (RemoteServiceErrorResponse);

export type PostUsersResetTwoFactorData = {
    body?: ResetTwoFactorInput;
};

export type PostUsersResetTwoFactorResponse = (unknown | void);

export type PostUsersResetTwoFactorError = (RemoteServiceErrorResponse);

export type PostUsersNeedChangePasswordResponse = (NeedChangePasswordOutput);

export type PostUsersNeedChangePasswordError = (RemoteServiceErrorResponse);

export type PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncData = {
    query?: {
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncResponse = (HttpDataResult);

export type PostAggregationWorkshopReceiveWorkshopProductionInfoAsyncError = unknown;

export type PostAggregationWorkshopReceiveWorkshopProductionBatchInfoAsyncData = {
    query?: {
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopReceiveWorkshopProductionBatchInfoAsyncResponse = (HttpDataResult);

export type PostAggregationWorkshopReceiveWorkshopProductionBatchInfoAsyncError = unknown;

export type PostAggregationWorkshopReceiveWorkshopQueryDeviceInfoAsyncData = {
    query?: {
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopReceiveWorkshopQueryDeviceInfoAsyncResponse = (HttpDataResult);

export type PostAggregationWorkshopReceiveWorkshopQueryDeviceInfoAsyncError = unknown;

export type PostAggregationWorkshopGetProductListAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopGetProductListAsyncResponse = (HttpDataResult);

export type PostAggregationWorkshopGetProductListAsyncError = unknown;

export type PostAggregationWorkshopReceiveWorkshopQueryDevicePageAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopReceiveWorkshopQueryDevicePageAsyncResponse = (DeviceManagementInfoDtoPagedResultDtoHttpDataResult);

export type PostAggregationWorkshopReceiveWorkshopQueryDevicePageAsyncError = unknown;

export type PostAggregationWorkshopReceiveWorkshopUpdateDeviceLifeInfoAsyncData = {
    query?: {
        /**
         * 开放接口请求入参，所有外部接口请求参数
         */
        input?: OpenApiRequest;
    };
};

export type PostAggregationWorkshopReceiveWorkshopUpdateDeviceLifeInfoAsyncResponse = (DeviceManagementInfoDtoHttpDataResult);

export type PostAggregationWorkshopReceiveWorkshopUpdateDeviceLifeInfoAsyncError = unknown;