From afeb8fcaee24789d7081eca8dbcfa991a045576d Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Mon, 28 Jul 2025 14:38:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=90=8E=E7=AB=AF=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=B9=B6=E4=BF=AE=E6=94=B9=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api-client-config/config.ts | 2 +- .../src/api-client/IoTClient/index.ts | 3 - .../src/api-client/IoTClient/services.ts | 301 - .../src/api-client/IoTClient/types.ts | 259 - apps/web-antd/src/api-client/index.ts | 3 +- apps/web-antd/src/api-client/schemas.gen.ts | 14633 ++++++++-------- apps/web-antd/src/api-client/services.gen.ts | 3364 +--- apps/web-antd/src/api-client/types.gen.ts | 8530 ++++----- .../views/ctwingmanagement/account/index.vue | 15 +- .../ctwingmanagement/privateProduct/index.vue | 15 +- .../devicemanagement/deviceinfo/index.vue | 13 +- .../iotdbdatamanagement/ctwingLog/index.vue | 6 +- .../deviceData/DeviceSelect.vue | 4 +- .../iotdbdatamanagement/deviceData/index.vue | 6 +- .../iotdbdatamanagement/onenetLog/index.vue | 6 +- .../telemetryLog/index.vue | 46 +- .../views/onenetmanagement/account/index.vue | 78 +- .../onenetmanagement/privateProduct/index.vue | 14 +- 18 files changed, 12736 insertions(+), 14562 deletions(-) delete mode 100644 apps/web-antd/src/api-client/IoTClient/index.ts delete mode 100644 apps/web-antd/src/api-client/IoTClient/services.ts delete mode 100644 apps/web-antd/src/api-client/IoTClient/types.ts diff --git a/apps/web-antd/src/api-client-config/config.ts b/apps/web-antd/src/api-client-config/config.ts index d562e98..d9bb6b6 100644 --- a/apps/web-antd/src/api-client-config/config.ts +++ b/apps/web-antd/src/api-client-config/config.ts @@ -2,6 +2,6 @@ import { defineConfig } from '@hey-api/openapi-ts'; export default defineConfig({ client: '@hey-api/client-axios', - input: 'http://localhost:44315/swagger/AbpPro/swagger.json', + input: 'http://localhost:10500/swagger/AbpPro/swagger.json', output: 'src/api-client', }); diff --git a/apps/web-antd/src/api-client/IoTClient/index.ts b/apps/web-antd/src/api-client/IoTClient/index.ts deleted file mode 100644 index fff8c71..0000000 --- a/apps/web-antd/src/api-client/IoTClient/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -// IoTClient 主入口文件 -export * from './services'; -export * from './types'; diff --git a/apps/web-antd/src/api-client/IoTClient/services.ts b/apps/web-antd/src/api-client/IoTClient/services.ts deleted file mode 100644 index c56a4cd..0000000 --- a/apps/web-antd/src/api-client/IoTClient/services.ts +++ /dev/null @@ -1,301 +0,0 @@ -import type { Options } from '@hey-api/client-axios'; - -import type { - DeviceArchivesDown, - DeviceInfoPageListInput, - DeviceInfoPageListResult, - IoTDBCTWingLogInfoDtoPageListInput, - IoTDBCTWingLogInfoDtoPageListResult, - IoTDBOneNETLogInfoPageListInput, - IoTDBOneNETLogInfoPageListResult, - IoTDBTreeModelDeviceDataPageAllResponse, - IoTDBTreeModelDeviceDataPageDataInput, - IoTErrorResponse, - OneNetAccountDeleteInput, - OneNETAccountDeleteResponse, - OneNetAccountInsertInput, - OneNetAccountInsertResponse, - OneNetAccountModifyInput, - OneNetAccountModifyResponse, - OneNETAccountPageListInput, - OneNETAccountPageListResult, - OneNETProductCreateInput, - OneNETProductCreateResponse, - OneNETProductPageListInput, - OneNETProductPageListResult, - PostDeviceInfoCreateData, - PostUsersPageData, - SelectResultListAllResponse, - SelectResultListInput, -} from './types'; - -import { - createClient, - createConfig, - formDataBodySerializer, -} from '@hey-api/client-axios'; - -export const client = createClient(createConfig()); - -/** - * 获取设备管理分页 - */ -export const postDeviceInfoPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - DeviceInfoPageListResult, - PostRolesAllError, - ThrowOnError - >({ - ...options, - url: '/DeviceInfo/Page', - }); -}; -/** - * 创建设备 - */ -export const postDeviceInfoCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersCreateResponse, - PostUsersCreateError, - ThrowOnError - >({ - ...options, - url: '/Aggregation/Device/Create', - }); -}; -/** - * 编辑设备 - */ -export const postDeviceInfoUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersUpdateResponse, - PostUsersUpdateError, - ThrowOnError - >({ - ...options, - url: '/Aggregation/Device/Update', - }); -}; -/** - * 删除设备 - */ -export const postDeviceInfoDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersDeleteResponse, - PostUsersDeleteError, - ThrowOnError - >({ - ...options, - url: '/Aggregation/Device/Delete', - }); -}; - -/** - * 档案下发 - */ -export const postDeviceInfoArchivesDown = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersDeleteResponse, - PostUsersDeleteError, - ThrowOnError - >({ - ...options, - url: '/DeviceInfo/ArchivesDown', - }); -}; - -/** - * 获取遥测日志分页 - */ -export const postTableModelPacketInfoPage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesAllResponse, - PostRolesAllError, - ThrowOnError - >({ - ...options, - url: '/TableModel/PacketInfoPage', - }); -}; - -/** - * 获取IoTDB设备树模型数据分页 - */ -export const postTreeModelDeviceDataInfoPage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - IoTDBTreeModelDeviceDataPageAllResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - ...formDataBodySerializer, - url: '/TreeModel/DeviceDataInfoPage', - }); -}; - -/** - * 获取后端通用下拉框列表集合 - */ -export const getSelectResultList = ( - options?: Options, -) => { - return (options?.client ?? client).get< - SelectResultListAllResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/Common/GetSelectList', - }); -}; - -/** - * OneNET 设备日志 - */ -export const postOneNETLogInfoPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - IoTDBOneNETLogInfoPageListResult, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - ...formDataBodySerializer, - url: '/TableModel/OneNETLogInfo', - }); -}; - -/** - * CTWing 设备日志 - */ -export const postCTWingLogInfoPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - IoTDBCTWingLogInfoDtoPageListResult, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - ...formDataBodySerializer, - url: '/TableModel/CTWingLogInfo', - }); -}; - -/** - * OneNET 账号管理 - */ -export const postOneNETAccountInfoPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNETAccountPageListResult, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/OneNETAccount/ListAsync', - }); -}; - -/** - * OneNET 创建账号 - */ -export const postOneNETAccountInsert = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNetAccountInsertResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/OneNETAccount/InsertAsync', - }); -}; - -/** - * OneNET 修改账号 - */ -export const postOneNETAccountModify = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNetAccountModifyResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/OneNETAccount/ModifyAsync', - }); -}; - -/** - * OneNET 删除账号 - */ -export const postOneNETAccountDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNETAccountDeleteResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/OneNETAccount/DeleteAsync', - }); -}; - -/** - * OneNET 产品管理 - */ -export const postOneNETProductInfoPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNETProductPageListResult, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - ...formDataBodySerializer, - url: '/OneNETProduct/ListAsync', - }); -}; - -/** - * OneNET 创建产品 - */ -export const postOneNETProductCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - OneNETProductCreateResponse, - IoTErrorResponse, - ThrowOnError - >({ - ...options, - url: '/OneNETProduct/InsertAsync', - }); -}; diff --git a/apps/web-antd/src/api-client/IoTClient/types.ts b/apps/web-antd/src/api-client/IoTClient/types.ts deleted file mode 100644 index 855af5a..0000000 --- a/apps/web-antd/src/api-client/IoTClient/types.ts +++ /dev/null @@ -1,259 +0,0 @@ -export type IoTPageInput = { - /** - * 关键字 - */ - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type IoTIdInput = { - id?: string; -}; - -export type IoTRemoteServiceValidationErrorInfo = { - members?: Array | null; - message?: null | string; -}; - -export type IoTErrorResponse = { - code?: null | string; - data?: null | { - [key: string]: unknown; - }; - details?: null | string; - message?: null | string; - validationErrors?: Array | null; -}; - -export type IoTDBTreeModelDeviceDataPageDataInput = { - body?: IoTPageInput; -}; - -export type IoTDBTreeModelDeviceDataDto = { - DeviceId?: null | string; - DeviceType?: null | string; - IoTDataType?: null | string; - ProjectId?: null | string; - ProjectName?: null | string; - SystemName?: null | string; - Timestamps?: null | string; -}; - -export type IoTDBTreeModelDeviceDataPageListResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type IoTDBTreeModelDeviceDataPageAllResponse = - IoTDBTreeModelDeviceDataPageListResultDto; - -export type SelectResultListInput = { - query?: { - ThirdAttributeTypeName?: null | string; - TypeName?: null | string; - }; -}; - -export type SelectResultListDto = { - key?: null | string; - secondValue?: null | string; - thirdValue?: null | string; - value?: null | string; -}; -export type SelectResultListAllResponse = { - items?: Array | null; -}; - -export type OneNETLogInfoDto = { - deviceId: string; - devicePath: string; - deviceType: string; - focusAddress: string; - /** 数据类型 */ - ioTDataType?: string; - isEncrypted: boolean; - messageType: string; - meterAddress: string; - plaintextMessage: string; - platformDeviceId: string; - productId: string; - projectId: string; - protocol: string; - rawMessage: string; - receivedPayload: string; - receivedTime: Date; - systemName: string; - timestamps: number; -}; - -export type IoTDBOneNETLogInfoPageListInput = { - body?: IoTPageInput; -}; -export type IoTDBOneNETLogInfoPageListResult = { - items?: Array | null; - totalCount?: number; -}; - -export type CTWingLogInfoDto = { - /** 设备ID */ - deviceId?: string; - /** 设备路径 */ - devicePath?: string; - /** 设备类型 */ - deviceType?: string; - /** 集中器地址 */ - focusAddress?: string; - /** IMEI */ - imei?: string; - /** IMSI */ - imsi?: string; - /** 数据类型 */ - ioTDataType?: string; - /** 消息类型 */ - messageType?: string; - /** 表计地址 */ - meterAddress?: string; - /** 平台设备ID */ - platformDeviceId?: string; - /** 平台租户ID */ - platformTenantId?: string; - /** 产品ID */ - productId?: string; - /** 项目ID */ - projectId?: string; - /** 协议 */ - protocol?: string; - /** 原始消息 */ - rawMessage?: string; - /** 接收载荷 */ - receivedPayload?: string; - /** 接收时间 */ - receivedTime?: Date; - /** 服务ID */ - serviceId?: string; - /** 系统名称 */ - systemName?: string; - /** 时间戳 */ - timestamps?: number; -}; - -export type IoTDBCTWingLogInfoDtoPageListInput = { - body?: IoTPageInput; -}; -export type IoTDBCTWingLogInfoDtoPageListResult = { - items?: Array | null; - totalCount?: number; -}; - -export type OneNETAccountDto = { - accesskey: string; - accountName: string; - oneNETAccountId?: string; - phoneNumber: string; - productCount: number; -}; - -export type OneNETAccountPageListInput = { - body?: IoTPageInput; -}; -export type OneNETAccountPageListResult = { - items?: Array | null; - totalCount?: number; -}; - -export type OneNetAccountInsertInput = { - body?: OneNETAccountDto; -}; -export type OneNetAccountInsertResponse = { - body?: OneNETAccountDto; -}; - -export type OneNetAccountModifyInput = { - body?: OneNETAccountDto; -}; -export type OneNetAccountModifyResponse = { - body?: OneNETAccountDto; -}; - -export type OneNetAccountDeleteInput = { - body?: IoTIdInput; -}; - -export type OneNETAccountDeleteResponse = { - body?: OneNETAccountDto; -}; - -export type OneNETProductDto = { - ioTPlatformProductId: string; - isEncrypted?: string; - oneNETAccountId: string; - productAccesskey: string; - productName: string; -}; - -export type OneNETProductPageListInput = { - body?: IoTPageInput; -}; -export type OneNETProductPageListResult = { - items?: Array | null; - totalCount?: number; -}; - -export type OneNETProductCreateInput = { - body?: OneNETProductDto; -}; -export type OneNETProductCreateResponse = { - body?: OneNETProductDto; -}; - -export type DeviceInfoDto = { - dynamicPassword?: boolean; - haveValve?: boolean; - id?: string; - meterAddress: number; - meterName: string; - meterType?: number; - password?: number | string; - selfDevelop?: boolean; - singleRate?: number | string; -}; - -export type DeviceInfoPageListInput = { - body?: IoTPageInput; -}; -export type DeviceInfoPageListResult = { - items?: Array | null; - totalCount?: number; -}; - -export type DeviceArchivesDown = { - focusAddress: number | string; - meterAddress: number | string; - meterType: number | string; -}; - -export type PostDeviceCreateData = { - body?: DeviceInfoDto; -}; - -export type postDeviceUpdateData = { - body?: DeviceInfoDto; -}; diff --git a/apps/web-antd/src/api-client/index.ts b/apps/web-antd/src/api-client/index.ts index 906527b..0a2b84b 100644 --- a/apps/web-antd/src/api-client/index.ts +++ b/apps/web-antd/src/api-client/index.ts @@ -1,5 +1,4 @@ // This file is auto-generated by @hey-api/openapi-ts export * from './schemas.gen'; export * from './services.gen'; -export * from './types.gen'; -export * from './IoTClient'; +export * from './types.gen'; \ No newline at end of file diff --git a/apps/web-antd/src/api-client/schemas.gen.ts b/apps/web-antd/src/api-client/schemas.gen.ts index 6bdde7c..b25670b 100644 --- a/apps/web-antd/src/api-client/schemas.gen.ts +++ b/apps/web-antd/src/api-client/schemas.gen.ts @@ -1,8221 +1,8386 @@ // This file is auto-generated by @hey-api/openapi-ts export const AbpLoginResultSchema = { - type: 'object', - properties: { - result: { - $ref: '#/components/schemas/LoginResultType', + type: 'object', + properties: { + result: { + '$ref': '#/components/schemas/LoginResultType' + }, + description: { + type: 'string', + nullable: true, + readOnly: true + } }, - description: { - type: 'string', - nullable: true, - readOnly: true, - }, - }, - additionalProperties: false, -} as const; - -export const AbpProApplicationConfigurationDtoSchema = { - type: 'object', - properties: { - oidcConfiguration: { - $ref: '#/components/schemas/ApplicationOidcConfigurationDto', - }, - multiTenancy: { - $ref: '#/components/schemas/MultiTenancyInfoDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ActionApiDescriptionModelSchema = { - type: 'object', - properties: { - uniqueName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + uniqueName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + httpMethod: { + type: 'string', + nullable: true + }, + url: { + type: 'string', + nullable: true + }, + supportedVersions: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + parametersOnMethod: { + type: 'array', + items: { + '$ref': '#/components/schemas/MethodParameterApiDescriptionModel' + }, + nullable: true + }, + parameters: { + type: 'array', + items: { + '$ref': '#/components/schemas/ParameterApiDescriptionModel' + }, + nullable: true + }, + returnValue: { + '$ref': '#/components/schemas/ReturnValueApiDescriptionModel' + }, + allowAnonymous: { + type: 'boolean', + nullable: true + }, + implementFrom: { + type: 'string', + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - httpMethod: { - type: 'string', - nullable: true, - }, - url: { - type: 'string', - nullable: true, - }, - supportedVersions: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - parametersOnMethod: { - type: 'array', - items: { - $ref: '#/components/schemas/MethodParameterApiDescriptionModel', - }, - nullable: true, - }, - parameters: { - type: 'array', - items: { - $ref: '#/components/schemas/ParameterApiDescriptionModel', - }, - nullable: true, - }, - returnValue: { - $ref: '#/components/schemas/ReturnValueApiDescriptionModel', - }, - allowAnonymous: { - type: 'boolean', - nullable: true, - }, - implementFrom: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const AddOrUpdateConnectionStringInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: 'id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: 'id', + format: 'uuid' + }, + name: { + type: 'string', + description: '连接字符串名称', + nullable: true + }, + value: { + type: 'string', + description: '连接字符串地址', + nullable: true + } }, - name: { - type: 'string', - description: '连接字符串名称', - nullable: true, - }, - value: { - type: 'string', - description: '连接字符串地址', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const AddRoleToOrganizationUnitInputSchema = { - type: 'object', - properties: { - roleId: { - type: 'array', - items: { - type: 'string', - format: 'uuid', - }, - nullable: true, + type: 'object', + properties: { + roleId: { + type: 'array', + items: { + type: 'string', + format: 'uuid' + }, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const AddUserToOrganizationUnitInputSchema = { - type: 'object', - properties: { - userId: { - type: 'array', - items: { - type: 'string', - format: 'uuid', - }, - nullable: true, + type: 'object', + properties: { + userId: { + type: 'array', + items: { + type: 'string', + format: 'uuid' + }, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const AggregateRouteConfigSchema = { - type: 'object', - properties: { - routeKey: { - type: 'string', - nullable: true, + type: 'object', + properties: { + routeKey: { + type: 'string', + nullable: true + }, + parameter: { + type: 'string', + nullable: true + }, + jsonPath: { + type: 'string', + nullable: true + } }, - parameter: { - type: 'string', - nullable: true, - }, - jsonPath: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationApiDescriptionModelSchema = { - type: 'object', - properties: { - modules: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ModuleApiDescriptionModel', - }, - nullable: true, + type: 'object', + properties: { + modules: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ModuleApiDescriptionModel' + }, + nullable: true + }, + types: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/TypeApiDescriptionModel' + }, + nullable: true + } }, - types: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/TypeApiDescriptionModel', - }, - nullable: true, + additionalProperties: false +} as const; + +export const ApplicationApiDescriptionModelRequestDtoSchema = { + type: 'object', + properties: { + includeTypes: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationAuthConfigurationDtoSchema = { - type: 'object', - properties: { - grantedPolicies: { - type: 'object', - additionalProperties: { - type: 'boolean', - }, - nullable: true, + type: 'object', + properties: { + grantedPolicies: { + type: 'object', + additionalProperties: { + type: 'boolean' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationConfigurationDtoSchema = { - type: 'object', - properties: { - localization: { - $ref: '#/components/schemas/ApplicationLocalizationConfigurationDto', + type: 'object', + properties: { + localization: { + '$ref': '#/components/schemas/ApplicationLocalizationConfigurationDto' + }, + auth: { + '$ref': '#/components/schemas/ApplicationAuthConfigurationDto' + }, + setting: { + '$ref': '#/components/schemas/ApplicationSettingConfigurationDto' + }, + currentUser: { + '$ref': '#/components/schemas/CurrentUserDto' + }, + features: { + '$ref': '#/components/schemas/ApplicationFeatureConfigurationDto' + }, + globalFeatures: { + '$ref': '#/components/schemas/ApplicationGlobalFeatureConfigurationDto' + }, + multiTenancy: { + '$ref': '#/components/schemas/MultiTenancyInfoDto' + }, + currentTenant: { + '$ref': '#/components/schemas/CurrentTenantDto' + }, + timing: { + '$ref': '#/components/schemas/TimingDto' + }, + clock: { + '$ref': '#/components/schemas/ClockDto' + }, + objectExtensions: { + '$ref': '#/components/schemas/ObjectExtensionsDto' + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - auth: { - $ref: '#/components/schemas/ApplicationAuthConfigurationDto', + additionalProperties: false +} as const; + +export const ApplicationConfigurationRequestOptionsSchema = { + type: 'object', + properties: { + includeLocalizationResources: { + type: 'boolean' + } }, - setting: { - $ref: '#/components/schemas/ApplicationSettingConfigurationDto', - }, - currentUser: { - $ref: '#/components/schemas/CurrentUserDto', - }, - features: { - $ref: '#/components/schemas/ApplicationFeatureConfigurationDto', - }, - globalFeatures: { - $ref: '#/components/schemas/ApplicationGlobalFeatureConfigurationDto', - }, - multiTenancy: { - $ref: '#/components/schemas/MultiTenancyInfoDto', - }, - currentTenant: { - $ref: '#/components/schemas/CurrentTenantDto', - }, - timing: { - $ref: '#/components/schemas/TimingDto', - }, - clock: { - $ref: '#/components/schemas/ClockDto', - }, - objectExtensions: { - $ref: '#/components/schemas/ObjectExtensionsDto', - }, - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationFeatureConfigurationDtoSchema = { - type: 'object', - properties: { - values: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, + type: 'object', + properties: { + values: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationGlobalFeatureConfigurationDtoSchema = { - type: 'object', - properties: { - enabledFeatures: { - uniqueItems: true, - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + enabledFeatures: { + uniqueItems: true, + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationLocalizationConfigurationDtoSchema = { - type: 'object', - properties: { - values: { - type: 'object', - additionalProperties: { - type: 'object', - additionalProperties: { - type: 'string', + type: 'object', + properties: { + values: { + type: 'object', + additionalProperties: { + type: 'object', + additionalProperties: { + type: 'string' + } + }, + nullable: true }, - }, - nullable: true, - }, - resources: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ApplicationLocalizationResourceDto', - }, - nullable: true, - }, - languages: { - type: 'array', - items: { - $ref: '#/components/schemas/LanguageInfo', - }, - nullable: true, - }, - currentCulture: { - $ref: '#/components/schemas/CurrentCultureDto', - }, - defaultResourceName: { - type: 'string', - nullable: true, - }, - languagesMap: { - type: 'object', - additionalProperties: { - type: 'array', - items: { - $ref: '#/components/schemas/NameValue', + resources: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ApplicationLocalizationResourceDto' + }, + nullable: true }, - }, - nullable: true, - }, - languageFilesMap: { - type: 'object', - additionalProperties: { - type: 'array', - items: { - $ref: '#/components/schemas/NameValue', + languages: { + type: 'array', + items: { + '$ref': '#/components/schemas/LanguageInfo' + }, + nullable: true }, - }, - nullable: true, + currentCulture: { + '$ref': '#/components/schemas/CurrentCultureDto' + }, + defaultResourceName: { + type: 'string', + nullable: true + }, + languagesMap: { + type: 'object', + additionalProperties: { + type: 'array', + items: { + '$ref': '#/components/schemas/NameValue' + } + }, + nullable: true + }, + languageFilesMap: { + type: 'object', + additionalProperties: { + type: 'array', + items: { + '$ref': '#/components/schemas/NameValue' + } + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationLocalizationDtoSchema = { - type: 'object', - properties: { - resources: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ApplicationLocalizationResourceDto', - }, - nullable: true, + type: 'object', + properties: { + resources: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ApplicationLocalizationResourceDto' + }, + nullable: true + }, + currentCulture: { + '$ref': '#/components/schemas/CurrentCultureDto' + } }, - currentCulture: { - $ref: '#/components/schemas/CurrentCultureDto', + additionalProperties: false +} as const; + +export const ApplicationLocalizationRequestDtoSchema = { + required: ['cultureName'], + type: 'object', + properties: { + cultureName: { + minLength: 1, + type: 'string' + }, + onlyDynamics: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationLocalizationResourceDtoSchema = { - type: 'object', - properties: { - texts: { - type: 'object', - additionalProperties: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + texts: { + type: 'object', + additionalProperties: { + type: 'string' + }, + nullable: true + }, + baseResources: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - baseResources: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationOidcConfigurationDtoSchema = { - type: 'object', - properties: { - enabled: { - type: 'boolean', - description: '是否启用', + type: 'object', + properties: { + enabled: { + type: 'boolean', + description: '是否启用' + }, + oidcConfiguration: { + type: 'array', + items: { + '$ref': '#/components/schemas/OidcConfiguration' + }, + nullable: true + } }, - oidcConfiguration: { - type: 'array', - items: { - $ref: '#/components/schemas/OidcConfiguration', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ApplicationSettingConfigurationDtoSchema = { - type: 'object', - properties: { - values: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, + type: 'object', + properties: { + values: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false +} as const; + +export const ArchivalDataIssuedInputSchema = { + type: 'object', + properties: { + meterType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + meterAddress: { + type: 'string', + description: '表计地址', + nullable: true + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + } + }, + additionalProperties: false } as const; export const ChangePasswordInputSchema = { - required: ['newPassword'], - type: 'object', - properties: { - currentPassword: { - maxLength: 128, - minLength: 0, - type: 'string', - nullable: true, + required: ['newPassword'], + type: 'object', + properties: { + currentPassword: { + maxLength: 128, + minLength: 0, + type: 'string', + nullable: true + }, + newPassword: { + maxLength: 128, + minLength: 0, + type: 'string' + } }, - newPassword: { - maxLength: 128, - minLength: 0, - type: 'string', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ClockDtoSchema = { - type: 'object', - properties: { - kind: { - type: 'string', - nullable: true, + type: 'object', + properties: { + kind: { + type: 'string', + nullable: true + } }, - }, - additionalProperties: false, -} as const; - -export const ControlTypeSchema = { - enum: [10, 20, 30, 40], - type: 'integer', - description: '控制策略', - format: 'int32', - 'x-enumNames': ['Aggregate', 'Entity', 'Enum', 'Global'], - 'x-enum-varnames': ['Aggregate', 'Entity', 'Enum', 'Global'], + additionalProperties: false } as const; export const ControllerApiDescriptionModelSchema = { - type: 'object', - properties: { - controllerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + controllerName: { + type: 'string', + nullable: true + }, + controllerGroupName: { + type: 'string', + nullable: true + }, + isRemoteService: { + type: 'boolean' + }, + isIntegrationService: { + type: 'boolean' + }, + apiVersion: { + type: 'string', + nullable: true + }, + type: { + type: 'string', + nullable: true + }, + interfaces: { + type: 'array', + items: { + '$ref': '#/components/schemas/ControllerInterfaceApiDescriptionModel' + }, + nullable: true + }, + actions: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ActionApiDescriptionModel' + }, + nullable: true + } }, - controllerGroupName: { - type: 'string', - nullable: true, - }, - isRemoteService: { - type: 'boolean', - }, - isIntegrationService: { - type: 'boolean', - }, - apiVersion: { - type: 'string', - nullable: true, - }, - type: { - type: 'string', - nullable: true, - }, - interfaces: { - type: 'array', - items: { - $ref: '#/components/schemas/ControllerInterfaceApiDescriptionModel', - }, - nullable: true, - }, - actions: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ActionApiDescriptionModel', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ControllerInterfaceApiDescriptionModelSchema = { - type: 'object', - properties: { - type: { - type: 'string', - nullable: true, + type: 'object', + properties: { + type: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + methods: { + type: 'array', + items: { + '$ref': '#/components/schemas/InterfaceMethodApiDescriptionModel' + }, + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - methods: { - type: 'array', - items: { - $ref: '#/components/schemas/InterfaceMethodApiDescriptionModel', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const CopyTemplateInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const CreateAggregateInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - projectId: { - type: 'string', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const CreateDataDictinaryDetailInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + code: { + type: 'string', + nullable: true + }, + displayText: { + type: 'string', + nullable: true + }, + description: { + type: 'string', + nullable: true + }, + order: { + type: 'integer', + format: 'int32' + } }, - code: { - type: 'string', - nullable: true, - }, - displayText: { - type: 'string', - nullable: true, - }, - description: { - type: 'string', - nullable: true, - }, - order: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const CreateDataDictinaryInputSchema = { - type: 'object', - properties: { - code: { - type: 'string', - nullable: true, + type: 'object', + properties: { + code: { + type: 'string', + nullable: true + }, + displayText: { + type: 'string', + nullable: true + }, + description: { + type: 'string', + nullable: true + } }, - displayText: { - type: 'string', - nullable: true, - }, - description: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; -export const CreateEntityModelInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', +export const CreateDeviceAggregationInputSchema = { + required: ['deviceAddress', 'ioTPlatform', 'ioTPlatformProductId', 'platformPassword'], + type: 'object', + properties: { + deviceAddress: { + minLength: 1, + type: 'string', + description: '表通信地址' + }, + ioTPlatform: { + '$ref': '#/components/schemas/IoTPlatformTypeEnum' + }, + platformPassword: { + minLength: 1, + type: 'string', + description: '电表密码' + }, + ioTPlatformProductId: { + minLength: 1, + type: 'string', + description: '集中器在物联网平台中对应的产品Id' + }, + ioTPlatformDeviceOpenInfo: { + type: 'string', + description: '集中器在物联网平台中对应的设备Id或者名称', + nullable: true + }, + ioTPlatformAccountId: { + type: 'string', + description: '物联网平台中对应的账号Id', + nullable: true + } }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - relationalType: { - $ref: '#/components/schemas/RelationalType', - }, - }, - additionalProperties: false, -} as const; - -export const CreateEntityModelPropertyInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - isRequired: { - type: 'boolean', - description: '必填', - }, - maxLength: { - type: 'integer', - description: '字符串最大长度', - format: 'int32', - nullable: true, - }, - minLength: { - type: 'integer', - description: '字符串最小长度', - format: 'int32', - nullable: true, - }, - decimalPrecision: { - type: 'integer', - description: '当类型为decimal时的小数位数 (18,4) 中的18', - format: 'int32', - nullable: true, - }, - decimalScale: { - type: 'integer', - description: '当类型为decimal时的字段长度 (18,4) 中的4', - format: 'int32', - nullable: true, - }, - enumTypeId: { - type: 'string', - description: '枚举类型Id', - format: 'uuid', - nullable: true, - }, - dataTypeId: { - type: 'string', - description: '数据类型Id', - format: 'uuid', - nullable: true, - }, - allowSearch: { - type: 'boolean', - description: '允许作为查询条件', - }, - allowAdd: { - type: 'boolean', - description: '允许添加', - }, - allowEdit: { - type: 'boolean', - description: '允许编辑', - }, - }, - additionalProperties: false, -} as const; - -export const CreateEnumTypeInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - entityModelId: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - projectId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const CreateEnumTypePropertyInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - enumTypeId: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - value: { - type: 'integer', - description: '枚举值', - format: 'int32', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - }, - additionalProperties: false, + additionalProperties: false, + description: '设备聚合新增设备' } as const; export const CreateLanguageInputSchema = { - type: 'object', - properties: { - cultureName: { - type: 'string', - description: '语言名称', - nullable: true, + type: 'object', + properties: { + cultureName: { + type: 'string', + description: '语言名称', + nullable: true + }, + uiCultureName: { + type: 'string', + description: 'Ui语言名称', + nullable: true + }, + displayName: { + type: 'string', + description: '显示名称', + nullable: true + }, + flagIcon: { + type: 'string', + description: '图标', + nullable: true + }, + isEnabled: { + type: 'boolean', + description: '是否启用' + } }, - uiCultureName: { - type: 'string', - description: 'Ui语言名称', - nullable: true, - }, - displayName: { - type: 'string', - description: '显示名称', - nullable: true, - }, - flagIcon: { - type: 'string', - description: '图标', - nullable: true, - }, - isEnabled: { - type: 'boolean', - description: '是否启用', - }, - }, - additionalProperties: false, - description: '创建语言', + additionalProperties: false, + description: '创建语言' } as const; export const CreateLanguageTextInputSchema = { - type: 'object', - properties: { - resourceName: { - type: 'string', - description: '资源名称', - nullable: true, + type: 'object', + properties: { + resourceName: { + type: 'string', + description: '资源名称', + nullable: true + }, + cultureName: { + type: 'string', + description: '语言名称', + nullable: true + }, + name: { + type: 'string', + description: '名称', + nullable: true + }, + value: { + type: 'string', + description: '值', + nullable: true + } }, - cultureName: { - type: 'string', - description: '语言名称', - nullable: true, - }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - value: { - type: 'string', - description: '值', - nullable: true, - }, - }, - additionalProperties: false, - description: '创建语言文本', + additionalProperties: false, + description: '创建语言文本' } as const; export const CreateMenuInputSchema = { - required: ['hideInMenu', 'keepAlive', 'name', 'order', 'path', 'title'], - type: 'object', - properties: { - parentId: { - type: 'string', - format: 'uuid', - nullable: true, + required: ['hideInMenu', 'keepAlive', 'name', 'order', 'path', 'title'], + type: 'object', + properties: { + parentId: { + type: 'string', + format: 'uuid', + nullable: true + }, + name: { + minLength: 1, + type: 'string', + description: '唯一编码' + }, + title: { + minLength: 1, + type: 'string', + description: '标题' + }, + displayTitle: { + type: 'string', + description: '标题', + nullable: true + }, + icon: { + type: 'string', + description: '图标', + nullable: true + }, + keepAlive: { + type: 'boolean', + description: '是否缓存' + }, + hideInMenu: { + type: 'boolean', + description: '是否显示' + }, + order: { + type: 'integer', + description: '排序', + format: 'int32' + }, + path: { + minLength: 1, + type: 'string', + description: '路由地址' + }, + menuType: { + '$ref': '#/components/schemas/MenuType' + }, + openType: { + '$ref': '#/components/schemas/OpenType' + }, + url: { + type: 'string', + description: '内外链地址', + nullable: true + }, + component: { + type: 'string', + description: '组件地址', + nullable: true + }, + enabled: { + type: 'boolean', + description: '是否启用' + }, + policy: { + type: 'string', + description: '权限', + nullable: true + } }, - name: { - minLength: 1, - type: 'string', - description: '唯一编码', - }, - title: { - minLength: 1, - type: 'string', - description: '标题', - }, - displayTitle: { - type: 'string', - description: '标题', - nullable: true, - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - keepAlive: { - type: 'boolean', - description: '是否缓存', - }, - hideInMenu: { - type: 'boolean', - description: '是否显示', - }, - order: { - type: 'integer', - description: '排序', - format: 'int32', - }, - path: { - minLength: 1, - type: 'string', - description: '路由地址', - }, - menuType: { - $ref: '#/components/schemas/MenuType', - }, - openType: { - $ref: '#/components/schemas/OpenType', - }, - url: { - type: 'string', - description: '内外链地址', - nullable: true, - }, - component: { - type: 'string', - description: '组件地址', - nullable: true, - }, - enabled: { - type: 'boolean', - description: '是否启用', - }, - policy: { - type: 'string', - description: '权限', - nullable: true, - }, - }, - additionalProperties: false, - description: '创建菜单', + additionalProperties: false, + description: '创建菜单' } as const; export const CreateOrganizationUnitInputSchema = { - type: 'object', - properties: { - displayName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + displayName: { + type: 'string', + nullable: true + }, + parentId: { + type: 'string', + format: 'uuid', + nullable: true + } }, - parentId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const CreateProjectInputSchema = { - type: 'object', - properties: { - owner: { - type: 'string', - description: '负责人', - nullable: true, - }, - companyName: { - type: 'string', - description: '公司名称', - nullable: true, - }, - projectName: { - type: 'string', - description: '项目名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - supportTenant: { - type: 'boolean', - description: '是否支持多租户', - }, - }, - additionalProperties: false, -} as const; - -export const CreateTemplateDetailInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - parentId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - templateType: { - $ref: '#/components/schemas/TemplateType', - }, - controlType: { - $ref: '#/components/schemas/ControlType', - }, - name: { - type: 'string', - description: '模板类型', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const CreateTemplateInputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - description: '名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const CreateTextTemplateInputSchema = { - required: ['code', 'content', 'cultureName', 'name'], - type: 'object', - properties: { - name: { - minLength: 1, - type: 'string', - description: '名称', + required: ['code', 'content', 'cultureName', 'name'], + type: 'object', + properties: { + name: { + minLength: 1, + type: 'string', + description: '名称' + }, + code: { + minLength: 1, + type: 'string', + description: '编码' + }, + content: { + minLength: 1, + type: 'string', + description: '内容' + }, + cultureName: { + minLength: 1, + type: 'string', + description: '语言' + } }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - content: { - minLength: 1, - type: 'string', - description: '内容', - }, - cultureName: { - minLength: 1, - type: 'string', - description: '语言', - }, - }, - additionalProperties: false, - description: '创建模板', + additionalProperties: false, + description: '创建模板' } as const; export const CurrentCultureDtoSchema = { - type: 'object', - properties: { - displayName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + displayName: { + type: 'string', + nullable: true + }, + englishName: { + type: 'string', + nullable: true + }, + threeLetterIsoLanguageName: { + type: 'string', + nullable: true + }, + twoLetterIsoLanguageName: { + type: 'string', + nullable: true + }, + isRightToLeft: { + type: 'boolean' + }, + cultureName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + nativeName: { + type: 'string', + nullable: true + }, + dateTimeFormat: { + '$ref': '#/components/schemas/DateTimeFormatDto' + } }, - englishName: { - type: 'string', - nullable: true, - }, - threeLetterIsoLanguageName: { - type: 'string', - nullable: true, - }, - twoLetterIsoLanguageName: { - type: 'string', - nullable: true, - }, - isRightToLeft: { - type: 'boolean', - }, - cultureName: { - type: 'string', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - nativeName: { - type: 'string', - nullable: true, - }, - dateTimeFormat: { - $ref: '#/components/schemas/DateTimeFormatDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const CurrentTenantDtoSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - nullable: true, + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + isAvailable: { + type: 'boolean' + } }, - name: { - type: 'string', - nullable: true, - }, - isAvailable: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const CurrentUserDtoSchema = { - type: 'object', - properties: { - isAuthenticated: { - type: 'boolean', + type: 'object', + properties: { + isAuthenticated: { + type: 'boolean' + }, + id: { + type: 'string', + format: 'uuid', + nullable: true + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + impersonatorUserId: { + type: 'string', + format: 'uuid', + nullable: true + }, + impersonatorTenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + impersonatorUserName: { + type: 'string', + nullable: true + }, + impersonatorTenantName: { + type: 'string', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + surName: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + }, + emailVerified: { + type: 'boolean' + }, + phoneNumber: { + type: 'string', + nullable: true + }, + phoneNumberVerified: { + type: 'boolean' + }, + roles: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + sessionId: { + type: 'string', + nullable: true + } }, - id: { - type: 'string', - format: 'uuid', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - impersonatorUserId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - impersonatorTenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - impersonatorUserName: { - type: 'string', - nullable: true, - }, - impersonatorTenantName: { - type: 'string', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - surName: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - emailVerified: { - type: 'boolean', - }, - phoneNumber: { - type: 'string', - nullable: true, - }, - phoneNumberVerified: { - type: 'boolean', - }, - roles: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - sessionId: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const DataTypeDtoSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '编码', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - isEnum: { - type: 'boolean', - description: '是否是枚举', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DateTimeFormatDtoSchema = { - type: 'object', - properties: { - calendarAlgorithmType: { - type: 'string', - nullable: true, + type: 'object', + properties: { + calendarAlgorithmType: { + type: 'string', + nullable: true + }, + dateTimeFormatLong: { + type: 'string', + nullable: true + }, + shortDatePattern: { + type: 'string', + nullable: true + }, + fullDateTimePattern: { + type: 'string', + nullable: true + }, + dateSeparator: { + type: 'string', + nullable: true + }, + shortTimePattern: { + type: 'string', + nullable: true + }, + longTimePattern: { + type: 'string', + nullable: true + } }, - dateTimeFormatLong: { - type: 'string', - nullable: true, - }, - shortDatePattern: { - type: 'string', - nullable: true, - }, - fullDateTimePattern: { - type: 'string', - nullable: true, - }, - dateSeparator: { - type: 'string', - nullable: true, - }, - shortTimePattern: { - type: 'string', - nullable: true, - }, - longTimePattern: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const DeleteAggregateInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DeleteConnectionStringInputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - description: '连接字符串名称', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + description: '连接字符串名称', + nullable: true + }, + tenantId: { + type: 'string', + description: '租户id', + format: 'uuid' + } }, - tenantId: { - type: 'string', - description: '租户id', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DeleteDataDictionaryDetailInputSchema = { - type: 'object', - properties: { - dataDictionaryId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + dataDictionaryId: { + type: 'string', + format: 'uuid' + }, + dataDictionayDetailId: { + type: 'string', + format: 'uuid' + } }, - dataDictionayDetailId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteEntityModelInputSchema = { - type: 'object', - properties: { - aggregateId: { - type: 'string', - format: 'uuid', - }, - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteEntityModelPropertyInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - propertyId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteEnumTypeInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - entityModelId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteEnumTypePropertyInputSchema = { - type: 'object', - properties: { - enumTypeId: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - id: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DeleteFeatureInputSchema = { - type: 'object', - properties: { - providerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + providerName: { + type: 'string', + nullable: true + }, + providerKey: { + type: 'string', + nullable: true + } }, - providerKey: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DeleteFileObjectInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '文件Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '文件Id', + format: 'uuid' + } }, - }, - additionalProperties: false, - description: '删除文件', + additionalProperties: false, + description: '删除文件' } as const; export const DeleteLanguageInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '语言Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '语言Id', + format: 'uuid' + } }, - }, - additionalProperties: false, - description: '删除语言', + additionalProperties: false, + description: '删除语言' } as const; export const DeleteMenuInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '菜单Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '菜单Id', + format: 'uuid' + } }, - }, - additionalProperties: false, - description: '删除菜单', + additionalProperties: false, + description: '删除菜单' } as const; export const DeleteMessageInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + receiverUserId: { + type: 'string', + description: '接受者Id', + format: 'uuid', + nullable: true + } }, - receiverUserId: { - type: 'string', - description: '接受者Id', - format: 'uuid', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const DeleteProjectInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteTemplateDetailInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - format: 'uuid', - }, - templateDetailId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const DeleteTemplateInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DeleteTextTemplateInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '模板Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '模板Id', + format: 'uuid' + } }, - }, - additionalProperties: false, - description: '删除模板', + additionalProperties: false, + description: '删除模板' +} as const; + +export const DeviceManagementInfoDtoSchema = { + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + creationTime: { + type: 'string', + format: 'date-time' + }, + creatorId: { + type: 'string', + format: 'uuid', + nullable: true + }, + lastModificationTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + lastModifierId: { + type: 'string', + format: 'uuid', + nullable: true + }, + isDeleted: { + type: 'boolean' + }, + deleterId: { + type: 'string', + format: 'uuid', + nullable: true + }, + deletionTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + tenantId: { + type: 'string', + description: '租户Id', + format: 'uuid', + nullable: true + }, + remark: { + type: 'string', + description: '备注', + nullable: true + }, + osaCreatorId: { + type: 'integer', + description: '旧系统授权创建者Id', + format: 'int32', + nullable: true + }, + osaLastModifierId: { + type: 'integer', + description: '旧系统授权最后修改者Id', + format: 'int32', + nullable: true + }, + osaDeleterId: { + type: 'integer', + description: '旧系统授权最后删除者Id', + format: 'int32', + nullable: true + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + description: '扩展属性,用于存储自定义字段,JSON格式', + nullable: true + }, + deviceName: { + type: 'string', + description: '设备名称', + nullable: true + }, + deviceAddress: { + type: 'string', + description: '设备地址', + nullable: true + }, + ioTPlatform: { + '$ref': '#/components/schemas/IoTPlatformTypeEnum' + }, + ioTPlatformName: { + type: 'string', + description: '物联网平台类型,默认没有指定', + nullable: true, + readOnly: true + }, + ioTPlatformDeviceOpenInfo: { + type: 'string', + description: '物联网平台中对应的设备Id或者名称', + nullable: true + }, + platformPassword: { + type: 'string', + description: '物联网平台设备密码', + nullable: true + }, + ioTPlatformProductId: { + type: 'string', + description: '物联网平台中对应的产品Id', + nullable: true + }, + ioTPlatformProductName: { + type: 'string', + description: '物联网平台中对应的产品Name', + nullable: true + }, + ioTPlatformAccountId: { + type: 'string', + description: '物联网平台中对应的账号Id', + nullable: true + }, + ioTPlatformAccountName: { + type: 'string', + description: '物联网平台中对应的账号Name', + nullable: true + }, + ioTPlatformResponse: { + type: 'string', + description: '物联网平台返回的响应信息', + nullable: true + } + }, + additionalProperties: false +} as const; + +export const DeviceManagementInfoDtoPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/DeviceManagementInfoDto' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } + }, + additionalProperties: false +} as const; + +export const DeviceTableModelDataInfoPageInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + deviceAddress: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + } + }, + additionalProperties: false, + description: '设备数据表模型信息入参' +} as const; + +export const DeviceTableModelDataInfoPageOutputSchema = { + type: 'object', + properties: { + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + type: 'string', + description: '设备类型集中器、电表、水表、流量计、传感器等', + nullable: true + }, + deviceId: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + timestamps: { + type: 'integer', + description: '时标', + format: 'int64' + }, + devicePath: { + type: 'string', + description: '设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明', + nullable: true + }, + times: { + type: 'string', + description: '时标', + format: 'date-time', + readOnly: true + } + }, + additionalProperties: false, + description: '设备数据表模型信息输出' +} as const; + +export const DeviceTableModelDataInfoPageOutputPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/DeviceTableModelDataInfoPageOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } + }, + additionalProperties: false +} as const; + +export const DeviceTreeModelDataInfoInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + deviceAddress: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + } + }, + additionalProperties: false, + description: '设备树模型数据信息查询入参' +} as const; + +export const DeviceTypeEnumSchema = { + enum: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], + type: 'integer', + description: `表计类型 +电表= 1,水表= 2,燃气表= 3,热能表= 4,水表流量计=5,燃气表流量计=6`, + format: 'int32', + '说明:': '电表=1,水表=2,燃气表=3,热能表=4,水表流量计=5,燃气表流量计=6,特殊电表=7,传感器=8,采集器=9,集中器=10,电机保护器=11' } as const; export const DisabledTwoFactorInputSchema = { - required: ['code'], - type: 'object', - properties: { - code: { - minLength: 1, - type: 'string', - description: '验证码', + required: ['code'], + type: 'object', + properties: { + code: { + minLength: 1, + type: 'string', + description: '验证码' + } }, - }, - additionalProperties: false, -} as const; - -export const DownCodeInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - format: 'uuid', - }, - projectId: { - type: 'string', - format: 'uuid', - }, - entityId: { - type: 'array', - items: { - type: 'string', - format: 'uuid', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const DownloadFileObjectInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '文件Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '文件Id', + format: 'uuid' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const EnabledTwoFactorInputSchema = { - required: ['code', 'secret'], - type: 'object', - properties: { - code: { - minLength: 1, - type: 'string', - description: '验证码', + required: ['code', 'secret'], + type: 'object', + properties: { + code: { + minLength: 1, + type: 'string', + description: '验证码' + }, + secret: { + minLength: 1, + type: 'string', + description: '密钥' + } }, - secret: { - minLength: 1, - type: 'string', - description: '密钥', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const EntityChangeTypeSchema = { - enum: [0, 1, 2], - type: 'integer', - format: 'int32', - 'x-enumNames': ['Created', 'Updated', 'Deleted'], - 'x-enum-varnames': ['Created', 'Updated', 'Deleted'], + enum: [0, 1, 2], + type: 'integer', + format: 'int32', + '说明:': 'Created=0,Updated=1,Deleted=2' } as const; export const EntityExtensionDtoSchema = { - type: 'object', - properties: { + type: 'object', properties: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ExtensionPropertyDto', - }, - nullable: true, + properties: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ExtensionPropertyDto' + }, + nullable: true + }, + configuration: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - configuration: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const EntityOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '编码', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - codeCamelCase: { - type: 'string', - description: '首字母小写', - nullable: true, - readOnly: true, - }, - codePluralized: { - type: 'string', - description: '复数形式', - nullable: true, - readOnly: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionEnumDtoSchema = { - type: 'object', - properties: { - fields: { - type: 'array', - items: { - $ref: '#/components/schemas/ExtensionEnumFieldDto', - }, - nullable: true, + type: 'object', + properties: { + fields: { + type: 'array', + items: { + '$ref': '#/components/schemas/ExtensionEnumFieldDto' + }, + nullable: true + }, + localizationResource: { + type: 'string', + nullable: true + } }, - localizationResource: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionEnumFieldDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + value: { + nullable: true + } }, - value: { - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyApiCreateDtoSchema = { - type: 'object', - properties: { - isAvailable: { - type: 'boolean', + type: 'object', + properties: { + isAvailable: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyApiDtoSchema = { - type: 'object', - properties: { - onGet: { - $ref: '#/components/schemas/ExtensionPropertyApiGetDto', + type: 'object', + properties: { + onGet: { + '$ref': '#/components/schemas/ExtensionPropertyApiGetDto' + }, + onCreate: { + '$ref': '#/components/schemas/ExtensionPropertyApiCreateDto' + }, + onUpdate: { + '$ref': '#/components/schemas/ExtensionPropertyApiUpdateDto' + } }, - onCreate: { - $ref: '#/components/schemas/ExtensionPropertyApiCreateDto', - }, - onUpdate: { - $ref: '#/components/schemas/ExtensionPropertyApiUpdateDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyApiGetDtoSchema = { - type: 'object', - properties: { - isAvailable: { - type: 'boolean', + type: 'object', + properties: { + isAvailable: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyApiUpdateDtoSchema = { - type: 'object', - properties: { - isAvailable: { - type: 'boolean', + type: 'object', + properties: { + isAvailable: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyAttributeDtoSchema = { - type: 'object', - properties: { - typeSimple: { - type: 'string', - nullable: true, + type: 'object', + properties: { + typeSimple: { + type: 'string', + nullable: true + }, + config: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - config: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyDtoSchema = { - type: 'object', - properties: { - type: { - type: 'string', - nullable: true, + type: 'object', + properties: { + type: { + type: 'string', + nullable: true + }, + typeSimple: { + type: 'string', + nullable: true + }, + displayName: { + '$ref': '#/components/schemas/LocalizableStringDto' + }, + api: { + '$ref': '#/components/schemas/ExtensionPropertyApiDto' + }, + ui: { + '$ref': '#/components/schemas/ExtensionPropertyUiDto' + }, + policy: { + '$ref': '#/components/schemas/ExtensionPropertyPolicyDto' + }, + attributes: { + type: 'array', + items: { + '$ref': '#/components/schemas/ExtensionPropertyAttributeDto' + }, + nullable: true + }, + configuration: { + type: 'object', + additionalProperties: {}, + nullable: true + }, + defaultValue: { + nullable: true + } }, - typeSimple: { - type: 'string', - nullable: true, - }, - displayName: { - $ref: '#/components/schemas/LocalizableStringDto', - }, - api: { - $ref: '#/components/schemas/ExtensionPropertyApiDto', - }, - ui: { - $ref: '#/components/schemas/ExtensionPropertyUiDto', - }, - policy: { - $ref: '#/components/schemas/ExtensionPropertyPolicyDto', - }, - attributes: { - type: 'array', - items: { - $ref: '#/components/schemas/ExtensionPropertyAttributeDto', - }, - nullable: true, - }, - configuration: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - defaultValue: { - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyFeaturePolicyDtoSchema = { - type: 'object', - properties: { - features: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + features: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + requiresAll: { + type: 'boolean' + } }, - requiresAll: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyGlobalFeaturePolicyDtoSchema = { - type: 'object', - properties: { - features: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + features: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + requiresAll: { + type: 'boolean' + } }, - requiresAll: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyPermissionPolicyDtoSchema = { - type: 'object', - properties: { - permissionNames: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + permissionNames: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + requiresAll: { + type: 'boolean' + } }, - requiresAll: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyPolicyDtoSchema = { - type: 'object', - properties: { - globalFeatures: { - $ref: '#/components/schemas/ExtensionPropertyGlobalFeaturePolicyDto', + type: 'object', + properties: { + globalFeatures: { + '$ref': '#/components/schemas/ExtensionPropertyGlobalFeaturePolicyDto' + }, + features: { + '$ref': '#/components/schemas/ExtensionPropertyFeaturePolicyDto' + }, + permissions: { + '$ref': '#/components/schemas/ExtensionPropertyPermissionPolicyDto' + } }, - features: { - $ref: '#/components/schemas/ExtensionPropertyFeaturePolicyDto', - }, - permissions: { - $ref: '#/components/schemas/ExtensionPropertyPermissionPolicyDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyUiDtoSchema = { - type: 'object', - properties: { - onTable: { - $ref: '#/components/schemas/ExtensionPropertyUiTableDto', + type: 'object', + properties: { + onTable: { + '$ref': '#/components/schemas/ExtensionPropertyUiTableDto' + }, + onCreateForm: { + '$ref': '#/components/schemas/ExtensionPropertyUiFormDto' + }, + onEditForm: { + '$ref': '#/components/schemas/ExtensionPropertyUiFormDto' + }, + lookup: { + '$ref': '#/components/schemas/ExtensionPropertyUiLookupDto' + } }, - onCreateForm: { - $ref: '#/components/schemas/ExtensionPropertyUiFormDto', - }, - onEditForm: { - $ref: '#/components/schemas/ExtensionPropertyUiFormDto', - }, - lookup: { - $ref: '#/components/schemas/ExtensionPropertyUiLookupDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyUiFormDtoSchema = { - type: 'object', - properties: { - isVisible: { - type: 'boolean', + type: 'object', + properties: { + isVisible: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyUiLookupDtoSchema = { - type: 'object', - properties: { - url: { - type: 'string', - nullable: true, + type: 'object', + properties: { + url: { + type: 'string', + nullable: true + }, + resultListPropertyName: { + type: 'string', + nullable: true + }, + displayPropertyName: { + type: 'string', + nullable: true + }, + valuePropertyName: { + type: 'string', + nullable: true + }, + filterParamName: { + type: 'string', + nullable: true + } }, - resultListPropertyName: { - type: 'string', - nullable: true, - }, - displayPropertyName: { - type: 'string', - nullable: true, - }, - valuePropertyName: { - type: 'string', - nullable: true, - }, - filterParamName: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ExtensionPropertyUiTableDtoSchema = { - type: 'object', - properties: { - isVisible: { - type: 'boolean', + type: 'object', + properties: { + isVisible: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FeatureDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + displayName: { + type: 'string', + nullable: true + }, + value: { + type: 'string', + nullable: true + }, + provider: { + '$ref': '#/components/schemas/FeatureProviderDto' + }, + description: { + type: 'string', + nullable: true + }, + valueType: { + '$ref': '#/components/schemas/IStringValueType' + }, + depth: { + type: 'integer', + format: 'int32' + }, + parentName: { + type: 'string', + nullable: true + } }, - displayName: { - type: 'string', - nullable: true, - }, - value: { - type: 'string', - nullable: true, - }, - provider: { - $ref: '#/components/schemas/FeatureProviderDto', - }, - description: { - type: 'string', - nullable: true, - }, - valueType: { - $ref: '#/components/schemas/IStringValueType', - }, - depth: { - type: 'integer', - format: 'int32', - }, - parentName: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FeatureGroupDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + displayName: { + type: 'string', + nullable: true + }, + features: { + type: 'array', + items: { + '$ref': '#/components/schemas/FeatureDto' + }, + nullable: true + } }, - displayName: { - type: 'string', - nullable: true, - }, - features: { - type: 'array', - items: { - $ref: '#/components/schemas/FeatureDto', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FeatureProviderDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + key: { + type: 'string', + nullable: true + } }, - key: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileAggregateRouteSchema = { - type: 'object', - properties: { - routeKeys: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + routeKeys: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + routeKeysConfig: { + type: 'array', + items: { + '$ref': '#/components/schemas/AggregateRouteConfig' + }, + nullable: true + }, + upstreamPathTemplate: { + type: 'string', + nullable: true + }, + upstreamHost: { + type: 'string', + nullable: true + }, + routeIsCaseSensitive: { + type: 'boolean' + }, + aggregator: { + type: 'string', + nullable: true + }, + upstreamHttpMethod: { + type: 'array', + items: { + type: 'string' + }, + nullable: true, + readOnly: true + }, + priority: { + type: 'integer', + format: 'int32' + } }, - routeKeysConfig: { - type: 'array', - items: { - $ref: '#/components/schemas/AggregateRouteConfig', - }, - nullable: true, - }, - upstreamPathTemplate: { - type: 'string', - nullable: true, - }, - upstreamHost: { - type: 'string', - nullable: true, - }, - routeIsCaseSensitive: { - type: 'boolean', - }, - aggregator: { - type: 'string', - nullable: true, - }, - upstreamHttpMethod: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - readOnly: true, - }, - priority: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileAuthenticationOptionsSchema = { - type: 'object', - properties: { - authenticationProviderKey: { - type: 'string', - nullable: true, + type: 'object', + properties: { + authenticationProviderKey: { + type: 'string', + nullable: true + }, + allowedScopes: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - allowedScopes: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileCacheOptionsSchema = { - type: 'object', - properties: { - ttlSeconds: { - type: 'integer', - format: 'int32', + type: 'object', + properties: { + ttlSeconds: { + type: 'integer', + format: 'int32' + }, + region: { + type: 'string', + nullable: true + } }, - region: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileConfigurationSchema = { - type: 'object', - properties: { - routes: { - type: 'array', - items: { - $ref: '#/components/schemas/FileRoute', - }, - nullable: true, + type: 'object', + properties: { + routes: { + type: 'array', + items: { + '$ref': '#/components/schemas/FileRoute' + }, + nullable: true + }, + dynamicRoutes: { + type: 'array', + items: { + '$ref': '#/components/schemas/FileDynamicRoute' + }, + nullable: true + }, + aggregates: { + type: 'array', + items: { + '$ref': '#/components/schemas/FileAggregateRoute' + }, + nullable: true + }, + globalConfiguration: { + '$ref': '#/components/schemas/FileGlobalConfiguration' + } }, - dynamicRoutes: { - type: 'array', - items: { - $ref: '#/components/schemas/FileDynamicRoute', - }, - nullable: true, - }, - aggregates: { - type: 'array', - items: { - $ref: '#/components/schemas/FileAggregateRoute', - }, - nullable: true, - }, - globalConfiguration: { - $ref: '#/components/schemas/FileGlobalConfiguration', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileDynamicRouteSchema = { - type: 'object', - properties: { - serviceName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + serviceName: { + type: 'string', + nullable: true + }, + rateLimitRule: { + '$ref': '#/components/schemas/FileRateLimitRule' + }, + downstreamHttpVersion: { + type: 'string', + nullable: true + } }, - rateLimitRule: { - $ref: '#/components/schemas/FileRateLimitRule', - }, - downstreamHttpVersion: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileGlobalConfigurationSchema = { - type: 'object', - properties: { - requestIdKey: { - type: 'string', - nullable: true, + type: 'object', + properties: { + requestIdKey: { + type: 'string', + nullable: true + }, + serviceDiscoveryProvider: { + '$ref': '#/components/schemas/FileServiceDiscoveryProvider' + }, + rateLimitOptions: { + '$ref': '#/components/schemas/FileRateLimitOptions' + }, + qoSOptions: { + '$ref': '#/components/schemas/FileQoSOptions' + }, + baseUrl: { + type: 'string', + nullable: true + }, + loadBalancerOptions: { + '$ref': '#/components/schemas/FileLoadBalancerOptions' + }, + downstreamScheme: { + type: 'string', + nullable: true + }, + httpHandlerOptions: { + '$ref': '#/components/schemas/FileHttpHandlerOptions' + }, + downstreamHttpVersion: { + type: 'string', + nullable: true + } }, - serviceDiscoveryProvider: { - $ref: '#/components/schemas/FileServiceDiscoveryProvider', - }, - rateLimitOptions: { - $ref: '#/components/schemas/FileRateLimitOptions', - }, - qoSOptions: { - $ref: '#/components/schemas/FileQoSOptions', - }, - baseUrl: { - type: 'string', - nullable: true, - }, - loadBalancerOptions: { - $ref: '#/components/schemas/FileLoadBalancerOptions', - }, - downstreamScheme: { - type: 'string', - nullable: true, - }, - httpHandlerOptions: { - $ref: '#/components/schemas/FileHttpHandlerOptions', - }, - downstreamHttpVersion: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileHostAndPortSchema = { - type: 'object', - properties: { - host: { - type: 'string', - nullable: true, + type: 'object', + properties: { + host: { + type: 'string', + nullable: true + }, + port: { + type: 'integer', + format: 'int32' + } }, - port: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileHttpHandlerOptionsSchema = { - type: 'object', - properties: { - allowAutoRedirect: { - type: 'boolean', + type: 'object', + properties: { + allowAutoRedirect: { + type: 'boolean' + }, + useCookieContainer: { + type: 'boolean' + }, + useTracing: { + type: 'boolean' + }, + useProxy: { + type: 'boolean' + }, + maxConnectionsPerServer: { + type: 'integer', + format: 'int32' + } }, - useCookieContainer: { - type: 'boolean', - }, - useTracing: { - type: 'boolean', - }, - useProxy: { - type: 'boolean', - }, - maxConnectionsPerServer: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileLoadBalancerOptionsSchema = { - type: 'object', - properties: { - type: { - type: 'string', - nullable: true, + type: 'object', + properties: { + type: { + type: 'string', + nullable: true + }, + key: { + type: 'string', + nullable: true + }, + expiry: { + type: 'integer', + format: 'int32' + } }, - key: { - type: 'string', - nullable: true, - }, - expiry: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileQoSOptionsSchema = { - type: 'object', - properties: { - exceptionsAllowedBeforeBreaking: { - type: 'integer', - format: 'int32', + type: 'object', + properties: { + exceptionsAllowedBeforeBreaking: { + type: 'integer', + format: 'int32' + }, + durationOfBreak: { + type: 'integer', + format: 'int32' + }, + timeoutValue: { + type: 'integer', + format: 'int32' + } }, - durationOfBreak: { - type: 'integer', - format: 'int32', - }, - timeoutValue: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileRateLimitOptionsSchema = { - type: 'object', - properties: { - clientIdHeader: { - type: 'string', - nullable: true, + type: 'object', + properties: { + clientIdHeader: { + type: 'string', + nullable: true + }, + quotaExceededMessage: { + type: 'string', + nullable: true + }, + rateLimitCounterPrefix: { + type: 'string', + nullable: true + }, + disableRateLimitHeaders: { + type: 'boolean' + }, + httpStatusCode: { + type: 'integer', + format: 'int32' + } }, - quotaExceededMessage: { - type: 'string', - nullable: true, - }, - rateLimitCounterPrefix: { - type: 'string', - nullable: true, - }, - disableRateLimitHeaders: { - type: 'boolean', - }, - httpStatusCode: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileRateLimitRuleSchema = { - type: 'object', - properties: { - clientWhitelist: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + clientWhitelist: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + enableRateLimiting: { + type: 'boolean' + }, + period: { + type: 'string', + nullable: true + }, + periodTimespan: { + type: 'number', + format: 'double' + }, + limit: { + type: 'integer', + format: 'int64' + } }, - enableRateLimiting: { - type: 'boolean', - }, - period: { - type: 'string', - nullable: true, - }, - periodTimespan: { - type: 'number', - format: 'double', - }, - limit: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileRouteSchema = { - type: 'object', - properties: { - downstreamPathTemplate: { - type: 'string', - nullable: true, + type: 'object', + properties: { + downstreamPathTemplate: { + type: 'string', + nullable: true + }, + upstreamPathTemplate: { + type: 'string', + nullable: true + }, + upstreamHttpMethod: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + downstreamHttpMethod: { + type: 'string', + nullable: true + }, + addHeadersToRequest: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + upstreamHeaderTransform: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + downstreamHeaderTransform: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + addClaimsToRequest: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + routeClaimsRequirement: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + addQueriesToRequest: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + changeDownstreamPathTemplate: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + }, + requestIdKey: { + type: 'string', + nullable: true + }, + fileCacheOptions: { + '$ref': '#/components/schemas/FileCacheOptions' + }, + routeIsCaseSensitive: { + type: 'boolean' + }, + serviceName: { + type: 'string', + nullable: true + }, + serviceNamespace: { + type: 'string', + nullable: true + }, + downstreamScheme: { + type: 'string', + nullable: true + }, + qoSOptions: { + '$ref': '#/components/schemas/FileQoSOptions' + }, + loadBalancerOptions: { + '$ref': '#/components/schemas/FileLoadBalancerOptions' + }, + rateLimitOptions: { + '$ref': '#/components/schemas/FileRateLimitRule' + }, + authenticationOptions: { + '$ref': '#/components/schemas/FileAuthenticationOptions' + }, + httpHandlerOptions: { + '$ref': '#/components/schemas/FileHttpHandlerOptions' + }, + downstreamHostAndPorts: { + type: 'array', + items: { + '$ref': '#/components/schemas/FileHostAndPort' + }, + nullable: true + }, + upstreamHost: { + type: 'string', + nullable: true + }, + key: { + type: 'string', + nullable: true + }, + delegatingHandlers: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + priority: { + type: 'integer', + format: 'int32' + }, + timeout: { + type: 'integer', + format: 'int32' + }, + dangerousAcceptAnyServerCertificateValidator: { + type: 'boolean' + }, + securityOptions: { + '$ref': '#/components/schemas/FileSecurityOptions' + }, + downstreamHttpVersion: { + type: 'string', + nullable: true + } }, - upstreamPathTemplate: { - type: 'string', - nullable: true, - }, - upstreamHttpMethod: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - downstreamHttpMethod: { - type: 'string', - nullable: true, - }, - addHeadersToRequest: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - upstreamHeaderTransform: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - downstreamHeaderTransform: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - addClaimsToRequest: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - routeClaimsRequirement: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - addQueriesToRequest: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - changeDownstreamPathTemplate: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, - }, - requestIdKey: { - type: 'string', - nullable: true, - }, - fileCacheOptions: { - $ref: '#/components/schemas/FileCacheOptions', - }, - routeIsCaseSensitive: { - type: 'boolean', - }, - serviceName: { - type: 'string', - nullable: true, - }, - serviceNamespace: { - type: 'string', - nullable: true, - }, - downstreamScheme: { - type: 'string', - nullable: true, - }, - qoSOptions: { - $ref: '#/components/schemas/FileQoSOptions', - }, - loadBalancerOptions: { - $ref: '#/components/schemas/FileLoadBalancerOptions', - }, - rateLimitOptions: { - $ref: '#/components/schemas/FileRateLimitRule', - }, - authenticationOptions: { - $ref: '#/components/schemas/FileAuthenticationOptions', - }, - httpHandlerOptions: { - $ref: '#/components/schemas/FileHttpHandlerOptions', - }, - downstreamHostAndPorts: { - type: 'array', - items: { - $ref: '#/components/schemas/FileHostAndPort', - }, - nullable: true, - }, - upstreamHost: { - type: 'string', - nullable: true, - }, - key: { - type: 'string', - nullable: true, - }, - delegatingHandlers: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - priority: { - type: 'integer', - format: 'int32', - }, - timeout: { - type: 'integer', - format: 'int32', - }, - dangerousAcceptAnyServerCertificateValidator: { - type: 'boolean', - }, - securityOptions: { - $ref: '#/components/schemas/FileSecurityOptions', - }, - downstreamHttpVersion: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileSecurityOptionsSchema = { - type: 'object', - properties: { - ipAllowedList: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + ipAllowedList: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + ipBlockedList: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - ipBlockedList: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FileServiceDiscoveryProviderSchema = { - type: 'object', - properties: { - scheme: { - type: 'string', - nullable: true, + type: 'object', + properties: { + scheme: { + type: 'string', + nullable: true + }, + host: { + type: 'string', + nullable: true + }, + port: { + type: 'integer', + format: 'int32' + }, + type: { + type: 'string', + nullable: true + }, + token: { + type: 'string', + nullable: true + }, + configurationKey: { + type: 'string', + nullable: true + }, + pollingInterval: { + type: 'integer', + format: 'int32' + }, + namespace: { + type: 'string', + nullable: true + } }, - host: { - type: 'string', - nullable: true, - }, - port: { - type: 'integer', - format: 'int32', - }, - type: { - type: 'string', - nullable: true, - }, - token: { - type: 'string', - nullable: true, - }, - configurationKey: { - type: 'string', - nullable: true, - }, - pollingInterval: { - type: 'integer', - format: 'int32', - }, - namespace: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FindByUserNameInputSchema = { - type: 'object', - properties: { - userName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + userName: { + type: 'string', + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FindTenantByNameInputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const FindTenantResultDtoSchema = { - type: 'object', - properties: { - success: { - type: 'boolean', + type: 'object', + properties: { + success: { + type: 'boolean' + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + normalizedName: { + type: 'string', + nullable: true + }, + isActive: { + type: 'boolean' + } }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - normalizedName: { - type: 'string', - nullable: true, - }, - isActive: { - type: 'boolean', - }, - }, - additionalProperties: false, -} as const; - -export const GetDataTypeInputSchema = { - type: 'object', - properties: { - entityModelId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const GetDataTypeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '枚举编码', - nullable: true, - }, - description: { - type: 'string', - description: '枚举描述', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetEntityModelInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const GetEntityModelOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '编码', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - relationalType: { - $ref: '#/components/schemas/RelationalType', - }, - entityModelProperties: { - type: 'array', - items: { - $ref: '#/components/schemas/GetEntityModelPropertyOutput', - }, - description: '实体模型属性集合', - nullable: true, - }, - entityModelOutputs: { - type: 'array', - items: { - $ref: '#/components/schemas/GetEntityModelOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetEntityModelPropertyOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - isRequired: { - type: 'boolean', - description: '必填', - }, - maxLength: { - type: 'integer', - description: '字符串最大长度', - format: 'int32', - nullable: true, - }, - minLength: { - type: 'integer', - description: '字符串最小长度', - format: 'int32', - nullable: true, - }, - decimalPrecision: { - type: 'integer', - description: '当类型为decimal时的小数位数 (18,4) 中的18', - format: 'int32', - nullable: true, - }, - decimalScale: { - type: 'integer', - description: '当类型为decimal时的字段长度 (18,4) 中的4', - format: 'int32', - nullable: true, - }, - enumTypeId: { - type: 'string', - description: '枚举类型Id', - format: 'uuid', - nullable: true, - }, - isEnum: { - type: 'boolean', - }, - enumTypeOutput: { - $ref: '#/components/schemas/GetEnumTypeOutput', - }, - dataTypeId: { - type: 'string', - description: '数据类型Id', - format: 'uuid', - nullable: true, - }, - dataTypeOutput: { - $ref: '#/components/schemas/GetDataTypeOutput', - }, - entityModelId: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const GetEntityModelTreeInputSchema = { - type: 'object', - properties: { - projectId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const GetEntityModelTreeOutputSchema = { - type: 'object', - properties: { - key: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - code: { - type: 'string', - description: '描述', - nullable: true, - }, - title: { - type: 'string', - description: '描述', - nullable: true, - }, - parentId: { - type: 'string', - description: '父类Id', - format: 'uuid', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - relationalType: { - $ref: '#/components/schemas/RelationalType', - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/GetEntityModelTreeOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetEnumTypeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - type: 'string', - description: '枚举编码', - nullable: true, - }, - description: { - type: 'string', - description: '枚举描述', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetFeatureListResultDtoSchema = { - type: 'object', - properties: { - groups: { - type: 'array', - items: { - $ref: '#/components/schemas/FeatureGroupDto', - }, - nullable: true, + type: 'object', + properties: { + groups: { + type: 'array', + items: { + '$ref': '#/components/schemas/FeatureGroupDto' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetFeatureListResultInputSchema = { - type: 'object', - properties: { - providerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + providerName: { + type: 'string', + nullable: true + }, + providerKey: { + type: 'string', + nullable: true + } }, - providerKey: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetMenuTreeMetaOutputSchema = { - type: 'object', - properties: { - title: { - type: 'string', - nullable: true, + type: 'object', + properties: { + title: { + type: 'string', + nullable: true + }, + displayTitle: { + type: 'string', + nullable: true + }, + icon: { + type: 'string', + description: '图标', + nullable: true + }, + order: { + type: 'integer', + description: '排序', + format: 'int32' + }, + keepAlive: { + type: 'boolean', + description: '是否缓存' + }, + hideInMenu: { + type: 'boolean', + description: '是否显示' + }, + link: { + type: 'string', + description: '外链地址', + nullable: true + }, + iframeSrc: { + type: 'string', + description: '内链地址', + nullable: true + } }, - displayTitle: { - type: 'string', - nullable: true, - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - order: { - type: 'integer', - description: '排序', - format: 'int32', - }, - keepAlive: { - type: 'boolean', - description: '是否缓存', - }, - hideInMenu: { - type: 'boolean', - description: '是否显示', - }, - link: { - type: 'string', - description: '外链地址', - nullable: true, - }, - iframeSrc: { - type: 'string', - description: '内链地址', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetMenuTreeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + parentId: { + type: 'string', + format: 'uuid', + nullable: true + }, + name: { + type: 'string', + description: '名称', + nullable: true + }, + path: { + type: 'string', + nullable: true + }, + component: { + type: 'string', + nullable: true + }, + enabled: { + type: 'boolean' + }, + meta: { + '$ref': '#/components/schemas/GetMenuTreeMetaOutput' + }, + children: { + type: 'array', + items: { + '$ref': '#/components/schemas/GetMenuTreeOutput' + }, + nullable: true + } }, - parentId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - path: { - type: 'string', - nullable: true, - }, - component: { - type: 'string', - nullable: true, - }, - enabled: { - type: 'boolean', - }, - meta: { - $ref: '#/components/schemas/GetMenuTreeMetaOutput', - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/GetMenuTreeOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitRoleInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitRoleOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitRoleOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/GetOrganizationUnitRoleOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/GetOrganizationUnitRoleOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitUserInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + }, + filter: { + type: 'string', + nullable: true + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitUserOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + userName: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + } }, - userName: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetOrganizationUnitUserOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/GetOrganizationUnitUserOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/GetOrganizationUnitUserOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetPermissionInputSchema = { - type: 'object', - properties: { - providerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + providerName: { + type: 'string', + nullable: true + }, + providerKey: { + type: 'string', + nullable: true + } }, - providerKey: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetProjectAndEntityInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, -} as const; - -export const GetProjectAndEntityOutputSchema = { - type: 'object', - properties: { - project: { - $ref: '#/components/schemas/ProjectOutput', - }, - entities: { - type: 'array', - items: { - $ref: '#/components/schemas/EntityOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetQRCodeOutputSchema = { - type: 'object', - properties: { - qrCode: { - type: 'string', - description: 'base64 二维码', - format: 'byte', - nullable: true, + type: 'object', + properties: { + qrCode: { + type: 'string', + description: 'base64 二维码', + format: 'byte', + nullable: true + }, + secret: { + type: 'string', + description: '密钥', + nullable: true + } }, - secret: { - type: 'string', - description: '密钥', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetTemplateTreeOutputSchema = { - type: 'object', - properties: { - key: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - templateType: { - $ref: '#/components/schemas/TemplateType', - }, - controlType: { - $ref: '#/components/schemas/ControlType', - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - name: { - type: 'string', - description: '模板名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - title: { - type: 'string', - description: '描述', - nullable: true, - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/GetTemplateTreeOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const GetTemplteTreeInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddRoleInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + }, + filter: { + type: 'string', + nullable: true + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddRoleOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddRoleOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/GetUnAddRoleOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/GetUnAddRoleOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddUserInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + }, + filter: { + type: 'string', + nullable: true + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddUserOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + userName: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + } }, - userName: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const GetUnAddUserOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/GetUnAddUserOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/GetUnAddUserOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', + additionalProperties: false +} as const; + +export const HttpDataResultSchema = { + type: 'object', + properties: { + code: { + '$ref': '#/components/schemas/ResponeResultEnum' + }, + msg: { + type: 'string', + description: '详细描述', + nullable: true + }, + success: { + type: 'boolean', + description: `是否获取到数据或者逻辑处理成功 +服务内部判断状态采用此属性` + }, + timestamp: { + type: 'integer', + description: '时间戳(毫秒)', + format: 'int64', + readOnly: true + }, + locationCode: { + type: 'integer', + description: `位置编码,主要用于接口请求逻辑定位 +使用时必须保证每个请求中不重复出现`, + format: 'int32' + }, + extras: { + type: 'string', + description: '扩展信息', + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false, + description: 'HTTP 请求返回结果' } as const; export const HttpStatusCodeSchema = { - enum: [ - 100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, - 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, - 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, - 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, - 511, - ], - type: 'integer', - format: 'int32', - 'x-enumNames': [ - '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', - ], - 'x-enum-varnames': [ - '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', - ], + enum: [100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511], + type: 'integer', + format: 'int32', + '说明:': 'Continue=100,SwitchingProtocols=101,Processing=102,EarlyHints=103,OK=200,Created=201,Accepted=202,NonAuthoritativeInformation=203,NoContent=204,ResetContent=205,PartialContent=206,MultiStatus=207,AlreadyReported=208,IMUsed=226,MultipleChoices=300,MultipleChoices=300,MovedPermanently=301,MovedPermanently=301,Found=302,Found=302,SeeOther=303,SeeOther=303,NotModified=304,UseProxy=305,Unused=306,RedirectKeepVerb=307,RedirectKeepVerb=307,PermanentRedirect=308,BadRequest=400,Unauthorized=401,PaymentRequired=402,Forbidden=403,NotFound=404,MethodNotAllowed=405,NotAcceptable=406,ProxyAuthenticationRequired=407,RequestTimeout=408,Conflict=409,Gone=410,LengthRequired=411,PreconditionFailed=412,RequestEntityTooLarge=413,RequestUriTooLong=414,UnsupportedMediaType=415,RequestedRangeNotSatisfiable=416,ExpectationFailed=417,MisdirectedRequest=421,UnprocessableEntity=422,UnprocessableEntity=422,Locked=423,FailedDependency=424,UpgradeRequired=426,PreconditionRequired=428,TooManyRequests=429,RequestHeaderFieldsTooLarge=431,UnavailableForLegalReasons=451,InternalServerError=500,NotImplemented=501,BadGateway=502,ServiceUnavailable=503,GatewayTimeout=504,HttpVersionNotSupported=505,VariantAlsoNegotiates=506,InsufficientStorage=507,LoopDetected=508,NotExtended=510,NetworkAuthenticationRequired=511' } as const; export const IStringValueTypeSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, - readOnly: true, - }, + type: 'object', properties: { - type: 'object', - additionalProperties: { - nullable: true, - }, - nullable: true, - readOnly: true, + name: { + type: 'string', + nullable: true, + readOnly: true + }, + properties: { + type: 'object', + additionalProperties: { + nullable: true + }, + nullable: true, + readOnly: true + }, + validator: { + '$ref': '#/components/schemas/IValueValidator' + } }, - validator: { - $ref: '#/components/schemas/IValueValidator', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IValueValidatorSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, - readOnly: true, - }, + type: 'object', properties: { - type: 'object', - additionalProperties: { - nullable: true, - }, - nullable: true, - readOnly: true, + name: { + type: 'string', + nullable: true, + readOnly: true + }, + properties: { + type: 'object', + additionalProperties: { + nullable: true + }, + nullable: true, + readOnly: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IanaTimeZoneSchema = { - type: 'object', - properties: { - timeZoneName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + timeZoneName: { + type: 'string', + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityRoleCreateDtoSchema = { - required: ['name'], - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + required: ['name'], + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + name: { + maxLength: 256, + minLength: 0, + type: 'string' + }, + isDefault: { + type: 'boolean' + }, + isPublic: { + type: 'boolean' + } }, - name: { - maxLength: 256, - minLength: 0, - type: 'string', - }, - isDefault: { - type: 'boolean', - }, - isPublic: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityRoleDtoSchema = { - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + }, + isDefault: { + type: 'boolean' + }, + isStatic: { + type: 'boolean' + }, + isPublic: { + type: 'boolean' + }, + concurrencyStamp: { + type: 'string', + nullable: true + }, + creationTime: { + type: 'string', + format: 'date-time' + } }, - id: { - type: 'string', - format: 'uuid', - }, - name: { - type: 'string', - nullable: true, - }, - isDefault: { - type: 'boolean', - }, - isStatic: { - type: 'boolean', - }, - isPublic: { - type: 'boolean', - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityRoleDtoListResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/IdentityRoleDto', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/IdentityRoleDto' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityRoleDtoPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/IdentityRoleDto', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/IdentityRoleDto' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityRoleUpdateDtoSchema = { - required: ['name'], - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + required: ['name'], + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + name: { + maxLength: 256, + minLength: 0, + type: 'string' + }, + isDefault: { + type: 'boolean' + }, + isPublic: { + type: 'boolean' + }, + concurrencyStamp: { + type: 'string', + nullable: true + } }, - name: { - maxLength: 256, - minLength: 0, - type: 'string', - }, - isDefault: { - type: 'boolean', - }, - isPublic: { - type: 'boolean', - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityUserCreateDtoSchema = { - required: ['email', 'password', 'userName'], - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + required: ['email', 'password', 'userName'], + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + userName: { + maxLength: 256, + minLength: 0, + type: 'string' + }, + name: { + maxLength: 64, + minLength: 0, + type: 'string', + nullable: true + }, + surname: { + maxLength: 64, + minLength: 0, + type: 'string', + nullable: true + }, + email: { + maxLength: 256, + minLength: 0, + type: 'string', + format: 'email' + }, + phoneNumber: { + maxLength: 16, + minLength: 0, + type: 'string', + nullable: true + }, + isActive: { + type: 'boolean' + }, + lockoutEnabled: { + type: 'boolean' + }, + roleNames: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + password: { + maxLength: 128, + minLength: 0, + type: 'string' + } }, - userName: { - maxLength: 256, - minLength: 0, - type: 'string', - }, - name: { - maxLength: 64, - minLength: 0, - type: 'string', - nullable: true, - }, - surname: { - maxLength: 64, - minLength: 0, - type: 'string', - nullable: true, - }, - email: { - maxLength: 256, - minLength: 0, - type: 'string', - format: 'email', - }, - phoneNumber: { - maxLength: 16, - minLength: 0, - type: 'string', - nullable: true, - }, - isActive: { - type: 'boolean', - }, - lockoutEnabled: { - type: 'boolean', - }, - roleNames: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - password: { - maxLength: 128, - minLength: 0, - type: 'string', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityUserDtoSchema = { - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + id: { + type: 'string', + format: 'uuid' + }, + creationTime: { + type: 'string', + format: 'date-time' + }, + creatorId: { + type: 'string', + format: 'uuid', + nullable: true + }, + lastModificationTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + lastModifierId: { + type: 'string', + format: 'uuid', + nullable: true + }, + isDeleted: { + type: 'boolean' + }, + deleterId: { + type: 'string', + format: 'uuid', + nullable: true + }, + deletionTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + surname: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + }, + emailConfirmed: { + type: 'boolean' + }, + phoneNumber: { + type: 'string', + nullable: true + }, + phoneNumberConfirmed: { + type: 'boolean' + }, + isActive: { + type: 'boolean' + }, + lockoutEnabled: { + type: 'boolean' + }, + accessFailedCount: { + type: 'integer', + format: 'int32' + }, + lockoutEnd: { + type: 'string', + format: 'date-time', + nullable: true + }, + concurrencyStamp: { + type: 'string', + nullable: true + }, + entityVersion: { + type: 'integer', + format: 'int32' + }, + lastPasswordChangeTime: { + type: 'string', + format: 'date-time', + nullable: true + } }, - id: { - type: 'string', - format: 'uuid', - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - creatorId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - lastModificationTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - lastModifierId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - isDeleted: { - type: 'boolean', - }, - deleterId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - deletionTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - surname: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - emailConfirmed: { - type: 'boolean', - }, - phoneNumber: { - type: 'string', - nullable: true, - }, - phoneNumberConfirmed: { - type: 'boolean', - }, - isActive: { - type: 'boolean', - }, - lockoutEnabled: { - type: 'boolean', - }, - accessFailedCount: { - type: 'integer', - format: 'int32', - }, - lockoutEnd: { - type: 'string', - format: 'date-time', - nullable: true, - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - entityVersion: { - type: 'integer', - format: 'int32', - }, - lastPasswordChangeTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const IdentityUserUpdateDtoSchema = { - required: ['email', 'userName'], - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + required: ['email', 'userName'], + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + userName: { + maxLength: 256, + minLength: 0, + type: 'string' + }, + name: { + maxLength: 64, + minLength: 0, + type: 'string', + nullable: true + }, + surname: { + maxLength: 64, + minLength: 0, + type: 'string', + nullable: true + }, + email: { + maxLength: 256, + minLength: 0, + type: 'string', + format: 'email' + }, + phoneNumber: { + maxLength: 16, + minLength: 0, + type: 'string', + nullable: true + }, + isActive: { + type: 'boolean' + }, + lockoutEnabled: { + type: 'boolean' + }, + roleNames: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + password: { + maxLength: 128, + minLength: 0, + type: 'string', + nullable: true + }, + concurrencyStamp: { + type: 'string', + nullable: true + } }, - userName: { - maxLength: 256, - minLength: 0, - type: 'string', - }, - name: { - maxLength: 64, - minLength: 0, - type: 'string', - nullable: true, - }, - surname: { - maxLength: 64, - minLength: 0, - type: 'string', - nullable: true, - }, - email: { - maxLength: 256, - minLength: 0, - type: 'string', - format: 'email', - }, - phoneNumber: { - maxLength: 16, - minLength: 0, - type: 'string', - nullable: true, - }, - isActive: { - type: 'boolean', - }, - lockoutEnabled: { - type: 'boolean', - }, - roleNames: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - password: { - maxLength: 128, - minLength: 0, - type: 'string', - nullable: true, - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const InterfaceMethodApiDescriptionModelSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + parametersOnMethod: { + type: 'array', + items: { + '$ref': '#/components/schemas/MethodParameterApiDescriptionModel' + }, + nullable: true + }, + returnValue: { + '$ref': '#/components/schemas/ReturnValueApiDescriptionModel' + } }, - parametersOnMethod: { - type: 'array', - items: { - $ref: '#/components/schemas/MethodParameterApiDescriptionModel', - }, - nullable: true, + additionalProperties: false +} as const; + +export const IoTDBDynamicObjectPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + type: 'object', + additionalProperties: {}, + description: '设备动态数据模型' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - returnValue: { - $ref: '#/components/schemas/ReturnValueApiDescriptionModel', - }, - }, - additionalProperties: false, + additionalProperties: false +} as const; + +export const IoTPlatformTypeEnumSchema = { + enum: [0, 1, 2], + type: 'integer', + description: '物联网平台类型枚举', + format: 'int32', + '说明:': '无=0,电信CTWing=1,移动OneNET=2' } as const; export const LanguageInfoSchema = { - type: 'object', - properties: { - cultureName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + cultureName: { + type: 'string', + nullable: true + }, + uiCultureName: { + type: 'string', + nullable: true + }, + displayName: { + type: 'string', + nullable: true + }, + twoLetterISOLanguageName: { + type: 'string', + nullable: true, + readOnly: true + } }, - uiCultureName: { - type: 'string', - nullable: true, - }, - displayName: { - type: 'string', - nullable: true, - }, - twoLetterISOLanguageName: { - type: 'string', - nullable: true, - readOnly: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const LocalizableStringDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + resource: { + type: 'string', + nullable: true + } }, - resource: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const LockUserInputSchema = { - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + }, + locked: { + type: 'boolean' + } }, - locked: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const Login2FAInputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - description: '用户名或者邮箱', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + description: '用户名或者邮箱', + nullable: true + }, + password: { + type: 'string', + description: '密码', + nullable: true + }, + code: { + type: 'string', + description: '双因素验证码', + nullable: true + } }, - password: { - type: 'string', - description: '密码', - nullable: true, - }, - code: { - type: 'string', - description: '双因素验证码', - nullable: true, - }, - }, - additionalProperties: false, - description: '登录', + additionalProperties: false, + description: '登录' } as const; export const LoginInputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - description: '用户名或者邮箱', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + description: '用户名或者邮箱', + nullable: true + }, + password: { + type: 'string', + description: '密码', + nullable: true + } }, - password: { - type: 'string', - description: '密码', - nullable: true, - }, - }, - additionalProperties: false, - description: '登录', + additionalProperties: false, + description: '登录' } as const; export const LoginOidcInputSchema = { - required: ['code', 'state'], - type: 'object', - properties: { - code: { - minLength: 1, - type: 'string', - description: 'code', + required: ['code', 'state'], + type: 'object', + properties: { + code: { + minLength: 1, + type: 'string', + description: 'code' + }, + state: { + minLength: 1, + type: 'string', + description: 'Provider' + } }, - state: { - minLength: 1, - type: 'string', - description: 'Provider', - }, - }, - additionalProperties: false, - description: '登录', + additionalProperties: false, + description: '登录' } as const; export const LoginOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + token: { + type: 'string', + nullable: true + }, + refreshToken: { + type: 'string', + nullable: true + }, + roles: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - token: { - type: 'string', - nullable: true, - }, - refreshToken: { - type: 'string', - nullable: true, - }, - roles: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const LoginResultTypeSchema = { - enum: [1, 2, 3, 4, 5], - type: 'integer', - format: 'int32', - 'x-enumNames': [ - 'Success', - 'InvalidUserNameOrPassword', - 'NotAllowed', - 'LockedOut', - 'RequiresTwoFactor', - ], - 'x-enum-varnames': [ - 'Success', - 'InvalidUserNameOrPassword', - 'NotAllowed', - 'LockedOut', - 'RequiresTwoFactor', - ], + enum: [1, 2, 3, 4, 5], + type: 'integer', + format: 'int32', + '说明:': 'Success=1,InvalidUserNameOrPassword=2,NotAllowed=3,LockedOut=4,RequiresTwoFactor=5' } as const; export const MenuTypeSchema = { - enum: [10, 20], - type: 'integer', - description: '菜单类型', - format: 'int32', - 'x-enumNames': ['Folder', 'Menu'], - 'x-enum-varnames': ['Folder', 'Menu'], + enum: [10, 20], + type: 'integer', + description: '菜单类型', + format: 'int32', + '说明:': '目录=10,菜单=20' } as const; export const MessageLevelSchema = { - enum: [10, 20, 30], - type: 'integer', - description: '消息等级', - format: 'int32', - 'x-enumNames': ['Warning', 'Information', 'Error'], - 'x-enum-varnames': ['Warning', 'Information', 'Error'], + enum: [10, 20, 30], + type: 'integer', + description: '消息等级', + format: 'int32', + '说明:': '警告=10,正常=20,错误=30' } as const; export const MessageTypeSchema = { - enum: [10, 20], - type: 'integer', - description: '消息类型', - format: 'int32', - 'x-enumNames': ['BroadCast', 'Common'], - 'x-enum-varnames': ['BroadCast', 'Common'], + enum: [10, 20], + type: 'integer', + description: '消息类型', + format: 'int32', + '说明:': '广播消息=10,普通文本消息=20' +} as const; + +export const MeterReadingPacketInfoDtoSchema = { + type: 'object', + properties: { + dataBaseName: { + type: 'string', + description: '数据库名称,用于构建存储路径,来自系统配置', + nullable: true + }, + ioTDataType: { + type: 'string', + description: `数据类型,用于构建存储路径 + JiShe.ServicePro.Consts.IoTDBDataTypeConst`, + nullable: true + }, + deviceType: { + type: 'string', + description: `设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 +JiShe.ServicePro.Enums.DeviceTypeEnum`, + nullable: true + }, + deviceAddress: { + type: 'string', + description: '设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等', + nullable: true + }, + timestamps: { + type: 'integer', + description: '时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取', + format: 'int64' + }, + formattedTimestamps: { + type: 'string', + description: '格式化的时标', + format: 'date-time', + readOnly: true + }, + devicePath: { + type: 'string', + description: '设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明', + nullable: true + }, + scoreValue: { + type: 'string', + description: '排序索引分数值,具体值可以根据不同业务场景进行定义,例如时间戳、或者某一个固定的标识', + nullable: true + }, + packetType: { + type: 'integer', + description: '数据包类型', + format: 'int32' + }, + manualOrNot: { + type: 'boolean', + description: '是否手动操作' + }, + taskMark: { + type: 'string', + description: '任务数据唯一标记', + nullable: true + }, + isTimeout: { + type: 'boolean', + description: '是否超时' + }, + pendingCopyReadTime: { + type: 'string', + description: '待抄读时间', + format: 'date-time' + }, + focusId: { + type: 'integer', + description: '集中器Id', + format: 'int32' + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表地址', + nullable: true + }, + databaseBusiID: { + type: 'integer', + description: '数据库业务ID', + format: 'int32' + }, + afn: { + type: 'integer', + description: 'AFN功能码', + format: 'int32' + }, + fn: { + type: 'integer', + description: '抄读功能码', + format: 'int32' + }, + pn: { + type: 'integer', + description: '抄读计量点', + format: 'int32' + }, + itemCode: { + type: 'string', + description: '采集项编码', + nullable: true + }, + subItemCode: { + type: 'string', + description: '子项编码,一般用于透明转发的编码', + nullable: true + }, + seq: { + type: 'integer', + description: '帧序列域 SEQ', + format: 'int32' + }, + msa: { + type: 'integer', + description: '地址域A3的主站地址MSA', + format: 'int32' + }, + isSend: { + type: 'boolean', + description: '是否发送' + }, + sendNum: { + type: 'integer', + description: '发送次数', + format: 'int32', + nullable: true + }, + nextSendTime: { + type: 'string', + description: '下次发送时间', + format: 'date-time', + nullable: true + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + }, + issuedMessageHexString: { + type: 'string', + description: '下发消息内容', + nullable: true + }, + issuedMessageId: { + type: 'string', + description: '下发消息Id', + nullable: true + }, + focusDensity: { + type: 'integer', + description: '集中器采集密度', + format: 'int32' + }, + receivedMessageHexString: { + type: 'string', + description: '消息上报内容', + nullable: true + }, + receivedTime: { + type: 'string', + description: '消息上报时间', + format: 'date-time', + nullable: true + }, + receivedMessageId: { + type: 'string', + description: '上报消息Id', + nullable: true + }, + receivedRemark: { + type: 'string', + description: '上报报文解析备注,异常情况下才有', + nullable: true + }, + isReceived: { + type: 'boolean', + description: '是否已上报' + } + }, + additionalProperties: false, + description: '抄读任务数据 Dto' +} as const; + +export const MeterReadingPacketInfoPageInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + deviceAddress: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表地址', + nullable: true + } + }, + additionalProperties: false, + description: '分页查询输入' +} as const; + +export const MeterReadingPacketInfoPageOutputSchema = { + type: 'object', + properties: { + dataBaseName: { + type: 'string', + description: '数据库名称,用于构建存储路径,来自系统配置', + nullable: true + }, + ioTDataType: { + type: 'string', + description: `数据类型,用于构建存储路径 + JiShe.ServicePro.Consts.IoTDBDataTypeConst`, + nullable: true + }, + deviceType: { + type: 'string', + description: `设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 +JiShe.ServicePro.Enums.DeviceTypeEnum`, + nullable: true + }, + deviceAddress: { + type: 'string', + description: '设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等', + nullable: true + }, + timestamps: { + type: 'integer', + description: '时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取', + format: 'int64' + }, + formattedTimestamps: { + type: 'string', + description: '格式化的时标', + format: 'date-time', + readOnly: true + }, + devicePath: { + type: 'string', + description: '设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明', + nullable: true + }, + scoreValue: { + type: 'string', + description: '排序索引分数值,具体值可以根据不同业务场景进行定义,例如时间戳、或者某一个固定的标识', + nullable: true + }, + packetType: { + type: 'integer', + description: '数据包类型', + format: 'int32' + }, + manualOrNot: { + type: 'boolean', + description: '是否手动操作' + }, + taskMark: { + type: 'string', + description: '任务数据唯一标记', + nullable: true + }, + isTimeout: { + type: 'boolean', + description: '是否超时' + }, + pendingCopyReadTime: { + type: 'string', + description: '待抄读时间', + format: 'date-time' + }, + focusId: { + type: 'integer', + description: '集中器Id', + format: 'int32' + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表地址', + nullable: true + }, + databaseBusiID: { + type: 'integer', + description: '数据库业务ID', + format: 'int32' + }, + afn: { + type: 'integer', + description: 'AFN功能码', + format: 'int32' + }, + fn: { + type: 'integer', + description: '抄读功能码', + format: 'int32' + }, + pn: { + type: 'integer', + description: '抄读计量点', + format: 'int32' + }, + itemCode: { + type: 'string', + description: '采集项编码', + nullable: true + }, + subItemCode: { + type: 'string', + description: '子项编码,一般用于透明转发的编码', + nullable: true + }, + seq: { + type: 'integer', + description: '帧序列域 SEQ', + format: 'int32' + }, + msa: { + type: 'integer', + description: '地址域A3的主站地址MSA', + format: 'int32' + }, + isSend: { + type: 'boolean', + description: '是否发送' + }, + sendNum: { + type: 'integer', + description: '发送次数', + format: 'int32', + nullable: true + }, + nextSendTime: { + type: 'string', + description: '下次发送时间', + format: 'date-time', + nullable: true + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + }, + issuedMessageHexString: { + type: 'string', + description: '下发消息内容', + nullable: true + }, + issuedMessageId: { + type: 'string', + description: '下发消息Id', + nullable: true + }, + focusDensity: { + type: 'integer', + description: '集中器采集密度', + format: 'int32' + }, + receivedMessageHexString: { + type: 'string', + description: '消息上报内容', + nullable: true + }, + receivedTime: { + type: 'string', + description: '消息上报时间', + format: 'date-time', + nullable: true + }, + receivedMessageId: { + type: 'string', + description: '上报消息Id', + nullable: true + }, + receivedRemark: { + type: 'string', + description: '上报报文解析备注,异常情况下才有', + nullable: true + }, + isReceived: { + type: 'boolean', + description: '是否已上报' + }, + times: { + type: 'string', + description: '时标', + format: 'date-time', + readOnly: true + } + }, + additionalProperties: false, + description: '分页查询输出' +} as const; + +export const MeterReadingPacketInfoPageOutputPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/MeterReadingPacketInfoPageOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } + }, + additionalProperties: false } as const; export const MethodParameterApiDescriptionModelSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + typeAsString: { + type: 'string', + nullable: true + }, + type: { + type: 'string', + nullable: true + }, + typeSimple: { + type: 'string', + nullable: true + }, + isOptional: { + type: 'boolean' + }, + defaultValue: { + nullable: true + } }, - typeAsString: { - type: 'string', - nullable: true, - }, - type: { - type: 'string', - nullable: true, - }, - typeSimple: { - type: 'string', - nullable: true, - }, - isOptional: { - type: 'boolean', - }, - defaultValue: { - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ModuleApiDescriptionModelSchema = { - type: 'object', - properties: { - rootPath: { - type: 'string', - nullable: true, + type: 'object', + properties: { + rootPath: { + type: 'string', + nullable: true + }, + remoteServiceName: { + type: 'string', + nullable: true + }, + controllers: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ControllerApiDescriptionModel' + }, + nullable: true + } }, - remoteServiceName: { - type: 'string', - nullable: true, - }, - controllers: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ControllerApiDescriptionModel', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ModuleExtensionDtoSchema = { - type: 'object', - properties: { - entities: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/EntityExtensionDto', - }, - nullable: true, + type: 'object', + properties: { + entities: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/EntityExtensionDto' + }, + nullable: true + }, + configuration: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - configuration: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const MultiTenancyInfoDtoSchema = { - type: 'object', - properties: { - isEnabled: { - type: 'boolean', + type: 'object', + properties: { + isEnabled: { + type: 'boolean' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const MyProfileOutputSchema = { - type: 'object', - properties: { - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, + type: 'object', + properties: { + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + surname: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + }, + phoneNumber: { + type: 'string', + nullable: true + }, + isActive: { + type: 'boolean' + }, + twoFactorEnabled: { + type: 'boolean' + } }, - userName: { - type: 'string', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - surname: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - phoneNumber: { - type: 'string', - nullable: true, - }, - isActive: { - type: 'boolean', - }, - twoFactorEnabled: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const NameValueSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + value: { + type: 'string', + nullable: true + } }, - value: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const NeedChangePasswordOutputSchema = { - type: 'object', - properties: { - needChangePassword: { - type: 'boolean', + type: 'object', + properties: { + needChangePassword: { + type: 'boolean' + }, + message: { + type: 'string', + nullable: true + } }, - message: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false +} as const; + +export const NodeTypeEnumSchema = { + enum: [1, 2, 3], + type: 'integer', + format: 'int32', + '说明:': '直连设备=1,网关设备=2,子设备=3' } as const; export const ObjectExtensionsDtoSchema = { - type: 'object', - properties: { - modules: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ModuleExtensionDto', - }, - nullable: true, + type: 'object', + properties: { + modules: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ModuleExtensionDto' + }, + nullable: true + }, + enums: { + type: 'object', + additionalProperties: { + '$ref': '#/components/schemas/ExtensionEnumDto' + }, + nullable: true + } }, - enums: { - type: 'object', - additionalProperties: { - $ref: '#/components/schemas/ExtensionEnumDto', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const OidcConfigurationSchema = { - type: 'object', - properties: { - enabled: { - type: 'boolean', - description: '是否启用', + type: 'object', + properties: { + enabled: { + type: 'boolean', + description: '是否启用' + }, + type: { + type: 'string', + description: '类型', + nullable: true + }, + clientId: { + type: 'string', + description: 'client_id', + nullable: true + }, + clientName: { + type: 'string', + description: '应用名称', + nullable: true + }, + icon: { + type: 'string', + description: '应用图标', + nullable: true + }, + authUri: { + type: 'string', + description: '认证地址', + nullable: true + } }, - type: { - type: 'string', - description: '类型', - nullable: true, + additionalProperties: false +} as const; + +export const OneNETAccountInfoDtoSchema = { + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + creationTime: { + type: 'string', + format: 'date-time' + }, + creatorId: { + type: 'string', + format: 'uuid', + nullable: true + }, + lastModificationTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + lastModifierId: { + type: 'string', + format: 'uuid', + nullable: true + }, + isDeleted: { + type: 'boolean' + }, + deleterId: { + type: 'string', + format: 'uuid', + nullable: true + }, + deletionTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + tenantId: { + type: 'string', + description: '租户Id', + format: 'uuid', + nullable: true + }, + remark: { + type: 'string', + description: '备注', + nullable: true + }, + osaCreatorId: { + type: 'integer', + description: '旧系统授权创建者Id', + format: 'int32', + nullable: true + }, + osaLastModifierId: { + type: 'integer', + description: '旧系统授权最后修改者Id', + format: 'int32', + nullable: true + }, + osaDeleterId: { + type: 'integer', + description: '旧系统授权最后删除者Id', + format: 'int32', + nullable: true + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + description: '扩展属性,用于存储自定义字段,JSON格式', + nullable: true + }, + accountName: { + type: 'string', + description: '账号名称', + nullable: true + }, + oneNETAccountId: { + type: 'string', + description: '账号ID', + nullable: true + }, + phoneNumber: { + type: 'string', + description: '手机号码', + nullable: true + }, + accountAccesskey: { + type: 'string', + description: '账户通信密钥,平台可以重置密钥', + nullable: true + }, + productCount: { + type: 'integer', + description: '产品数量', + format: 'int32' + } }, - clientId: { - type: 'string', - description: 'client_id', - nullable: true, + additionalProperties: false +} as const; + +export const OneNETAccountInfoDtoPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/OneNETAccountInfoDto' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - clientName: { - type: 'string', - description: '应用名称', - nullable: true, + additionalProperties: false +} as const; + +export const OneNETProductInfoDtoSchema = { + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + creationTime: { + type: 'string', + format: 'date-time' + }, + creatorId: { + type: 'string', + format: 'uuid', + nullable: true + }, + lastModificationTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + lastModifierId: { + type: 'string', + format: 'uuid', + nullable: true + }, + isDeleted: { + type: 'boolean' + }, + deleterId: { + type: 'string', + format: 'uuid', + nullable: true + }, + deletionTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + tenantId: { + type: 'string', + description: '租户Id', + format: 'uuid', + nullable: true + }, + remark: { + type: 'string', + description: '备注', + nullable: true + }, + osaCreatorId: { + type: 'integer', + description: '旧系统授权创建者Id', + format: 'int32', + nullable: true + }, + osaLastModifierId: { + type: 'integer', + description: '旧系统授权最后修改者Id', + format: 'int32', + nullable: true + }, + osaDeleterId: { + type: 'integer', + description: '旧系统授权最后删除者Id', + format: 'int32', + nullable: true + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + description: '扩展属性,用于存储自定义字段,JSON格式', + nullable: true + }, + oneNETAccountId: { + type: 'string', + description: 'OneNET账户Id', + nullable: true + }, + ioTPlatformProductId: { + type: 'string', + description: '物联网平台对应的产品Id', + nullable: true + }, + productName: { + type: 'string', + description: '产品名称', + nullable: true + }, + productAccesskey: { + type: 'string', + description: '产品访问密钥', + nullable: true + }, + deviceThingModelUrl: { + type: 'string', + description: '设备物模型文件管理地址', + nullable: true + }, + isEncrypted: { + type: 'boolean', + description: '通信是否加密' + }, + isEnabled: { + type: 'boolean', + description: '是否启用' + }, + accessProtocol: { + type: 'integer', + description: '接入协议', + format: 'int32' + }, + dataProtocol: { + type: 'integer', + description: '数据协议', + format: 'int32' + }, + nodeType: { + '$ref': '#/components/schemas/NodeTypeEnum' + }, + productCreateTime: { + type: 'string', + description: '产品创建时间', + format: 'date-time' + }, + productUpdateTime: { + type: 'string', + description: '最近修改时间', + format: 'date-time' + }, + network: { + type: 'string', + description: '联网方式', + nullable: true + }, + manufacturer: { + type: 'string', + description: '产品厂商', + nullable: true + }, + model: { + type: 'string', + description: '产品型号', + nullable: true + }, + brand: { + type: 'string', + description: '产品品牌', + nullable: true + }, + status: { + '$ref': '#/components/schemas/ProductStatusEnum' + }, + ownDeviceCount: { + type: 'integer', + description: '自有设备总数', + format: 'int32' + }, + onlineDeviceCount: { + type: 'integer', + description: '在线设备总数', + format: 'int32' + }, + offlineDeviceCount: { + type: 'integer', + description: '离线设备数', + format: 'int32' + }, + notActiveDeviceCount: { + type: 'integer', + description: '未激活设备数', + format: 'int32' + }, + communicationAddress: { + type: 'string', + description: '通讯服务地址', + nullable: true + }, + communicationAddressTLS: { + type: 'string', + description: 'TLS通讯服务地址', + nullable: true + } }, - icon: { - type: 'string', - description: '应用图标', - nullable: true, + additionalProperties: false +} as const; + +export const OneNETProductInfoDtoPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/OneNETProductInfoDto' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - authUri: { - type: 'string', - description: '认证地址', - nullable: true, + additionalProperties: false +} as const; + +export const OneNetAccountInsertInputSchema = { + required: ['accountAccesskey', 'accountName', 'oneNETAccountId', 'phoneNumber'], + type: 'object', + properties: { + accountName: { + minLength: 1, + type: 'string', + description: '账号名称' + }, + oneNETAccountId: { + minLength: 1, + type: 'string', + description: '账号ID' + }, + phoneNumber: { + minLength: 1, + pattern: '^1[3-9]\\d{9}$', + type: 'string', + description: '手机号码' + }, + accountAccesskey: { + minLength: 1, + type: 'string', + description: '账户通信密钥,平台可以重置密钥' + } }, - }, - additionalProperties: false, + additionalProperties: false +} as const; + +export const OneNetAccountListInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + phoneNumber: { + type: 'string', + description: '手机号码', + nullable: true + }, + oneNETAccountId: { + type: 'string', + description: '账号ID', + nullable: true + } + }, + additionalProperties: false +} as const; + +export const OneNetAccountModifyInputSchema = { + required: ['accountAccesskey', 'accountName', 'phoneNumber'], + type: 'object', + properties: { + id: { + type: 'string', + description: 'Id', + format: 'uuid' + }, + accountName: { + minLength: 1, + type: 'string', + description: '账号名称' + }, + phoneNumber: { + minLength: 1, + pattern: '^1[3-9]\\d{9}$', + type: 'string', + description: '手机号码' + }, + accountAccesskey: { + minLength: 1, + type: 'string', + description: '账户通信密钥,平台可以重置密钥' + } + }, + additionalProperties: false +} as const; + +export const OneNetProductInfoInsertInputSchema = { + type: 'object', + properties: { + oneNETAccountId: { + type: 'string', + description: 'OneNET 账号ID', + nullable: true + }, + ioTPlatformProductId: { + type: 'string', + description: '物联网平台对应的产品Id', + nullable: true + }, + productAccesskey: { + type: 'string', + description: '产品访问密钥', + nullable: true + }, + communicationAddress: { + type: 'string', + description: '通讯服务地址', + nullable: true + }, + communicationAddressTLS: { + type: 'string', + description: 'TLS通讯服务地址', + nullable: true + } + }, + additionalProperties: false +} as const; + +export const OneNetProductInfoListInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + oneNETAccountId: { + type: 'string', + description: 'OneNET账户Id', + nullable: true + }, + productName: { + type: 'string', + description: '产品名称', + nullable: true + }, + model: { + type: 'string', + description: '产品型号', + nullable: true + } + }, + additionalProperties: false +} as const; + +export const OneNetProductInfoModifyInputSchema = { + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + } + }, + additionalProperties: false, + description: '修改OneNET产品' +} as const; + +export const OneNetWorkshopProductListOutputSchema = { + type: 'object', + properties: { + nonce: { + type: 'string', + description: '用于计算签名字符的随机串', + nullable: true + }, + signature: { + type: 'string', + description: '加密签名,用以校验推送客户端身份合法性,校验方法见实例验证', + nullable: true + }, + timestamp: { + type: 'integer', + description: '签名有效期(毫秒)', + format: 'int64' + }, + msg: { + type: 'string', + description: '消息内容,JSON字符串,具体的设备相关信息', + nullable: true + }, + oneNETAccountId: { + type: 'string', + description: 'OneNET账户Id', + nullable: true + }, + ioTPlatformProductId: { + type: 'string', + description: '物联网平台对应的产品Id', + nullable: true + }, + productName: { + type: 'string', + description: '产品名称', + nullable: true + }, + productAccesskey: { + type: 'string', + description: '产品访问密钥', + nullable: true + }, + communicationAddress: { + type: 'string', + description: '通讯服务地址', + nullable: true + }, + communicationAddressTLS: { + type: 'string', + description: 'TLS通讯服务地址', + nullable: true + } + }, + additionalProperties: false, + description: '生产车间获取OneNET产品列表' +} as const; + +export const OneNetWorkshopProductListOutputListHttpDataResultSchema = { + type: 'object', + properties: { + code: { + '$ref': '#/components/schemas/ResponeResultEnum' + }, + msg: { + type: 'string', + description: '详细描述', + nullable: true + }, + success: { + type: 'boolean', + description: `是否获取到数据或者逻辑处理成功 +服务内部判断状态采用此属性` + }, + timestamp: { + type: 'integer', + description: '时间戳(毫秒)', + format: 'int64', + readOnly: true + }, + locationCode: { + type: 'integer', + description: `位置编码,主要用于接口请求逻辑定位 +使用时必须保证每个请求中不重复出现`, + format: 'int32' + }, + extras: { + type: 'string', + description: '扩展信息', + nullable: true + }, + data: { + type: 'array', + items: { + '$ref': '#/components/schemas/OneNetWorkshopProductListOutput' + }, + description: '扩展字段', + nullable: true + }, + total: { + type: 'integer', + description: '总数', + format: 'int64' + } + }, + additionalProperties: false, + description: 'HTTP 请求返回结果' +} as const; + +export const OpenApiRequestSchema = { + type: 'object', + properties: { + nonce: { + type: 'string', + description: '用于计算签名字符的随机串', + nullable: true + }, + signature: { + type: 'string', + description: '加密签名,用以校验推送客户端身份合法性,校验方法见实例验证', + nullable: true + }, + timestamp: { + type: 'integer', + description: '签名有效期(毫秒)', + format: 'int64' + }, + msg: { + type: 'string', + description: '消息内容,JSON字符串,具体的设备相关信息', + nullable: true + } + }, + additionalProperties: false, + description: '开放接口请求入参,所有外部接口请求参数' } as const; export const OpenTypeSchema = { - enum: [10, 20, 30, 40], - type: 'integer', - description: '打开类型', - format: 'int32', - 'x-enumNames': ['Default', 'Component', 'InternalLink', 'ExternalLink'], - 'x-enum-varnames': ['Default', 'Component', 'InternalLink', 'ExternalLink'], + enum: [10, 20, 30, 40], + type: 'integer', + description: '打开类型', + format: 'int32', + '说明:': '无=10,组件=20,内链=30,外链=40' } as const; -export const PageEntityModelInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 +export const PageDeviceInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + meterName: { + type: 'string', + description: '表计名称', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表通信地址', + nullable: true + }, + ioTPlatform: { + '$ref': '#/components/schemas/IoTPlatformTypeEnum' + }, + protocol: { + '$ref': '#/components/schemas/ProtocolTypeEnum' + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + }, + selfDevelop: { + type: 'boolean', + description: '自研', + nullable: true + }, + searchKeyword: { + type: 'string', + description: '搜索关键字', + nullable: true + } }, - id: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const PageEntityModelPropertyOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - nullable: true, - }, - entityModelId: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - code: { - type: 'string', - description: '名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - isRequired: { - type: 'boolean', - description: '必填', - }, - maxLength: { - type: 'integer', - description: '字符串最大长度', - format: 'int32', - nullable: true, - }, - minLength: { - type: 'integer', - description: '字符串最小长度', - format: 'int32', - nullable: true, - }, - decimalPrecision: { - type: 'integer', - description: '当类型为decimal时的小数位数 (18,4) 中的18', - format: 'int32', - nullable: true, - }, - decimalScale: { - type: 'integer', - description: '当类型为decimal时的字段长度 (18,4) 中的4', - format: 'int32', - nullable: true, - }, - dataTypeId: { - type: 'string', - format: 'uuid', - }, - isEnum: { - type: 'boolean', - }, - dataTypeCode: { - type: 'string', - nullable: true, - }, - dataTypeDescription: { - type: 'string', - nullable: true, - }, - allowSearch: { - type: 'boolean', - description: '允许作为查询条件', - }, - allowAdd: { - type: 'boolean', - description: '允许添加', - }, - allowEdit: { - type: 'boolean', - description: '允许编辑', - }, - }, - additionalProperties: false, -} as const; - -export const PageEntityModelPropertyOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageEntityModelPropertyOutput', - }, - nullable: true, - }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypeInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 - - name desc -`, - nullable: true, - }, - id: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - nullable: true, - }, - entityModelId: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - code: { - type: 'string', - description: '名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypeOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageEnumTypeOutput', - }, - nullable: true, - }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypePropertyInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 - - name desc -`, - nullable: true, - }, - id: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypePropertyOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - nullable: true, - }, - code: { - type: 'string', - description: '名称', - nullable: true, - }, - value: { - type: 'integer', - description: '名称', - format: 'int32', - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - }, - additionalProperties: false, -} as const; - -export const PageEnumTypePropertyOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageEnumTypePropertyOutput', - }, - nullable: true, - }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageFileObjectInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + }, + fileName: { + type: 'string', + description: '文件名称', + nullable: true + } }, - startCreationTime: { - type: 'string', - description: '开始创建时间', - format: 'date-time', - nullable: true, - }, - endCreationTime: { - type: 'string', - description: '结束创建时间', - format: 'date-time', - nullable: true, - }, - fileName: { - type: 'string', - description: '文件名称', - nullable: true, - }, - }, - additionalProperties: false, - description: '分页查询文件', + additionalProperties: false, + description: '分页查询文件' } as const; export const PageFileObjectOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '文件Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '文件Id', + format: 'uuid' + }, + fileSize: { + type: 'integer', + description: '文件大小', + format: 'int64' + }, + beautifySize: { + type: 'string', + nullable: true, + readOnly: true + }, + contentType: { + type: 'string', + description: '文件名称', + nullable: true + }, + fileName: { + type: 'string', + description: '文件名称', + nullable: true + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + } }, - fileSize: { - type: 'integer', - description: '文件大小', - format: 'int64', - }, - beautifySize: { - type: 'string', - nullable: true, - readOnly: true, - }, - contentType: { - type: 'string', - description: '文件名称', - nullable: true, - }, - fileName: { - type: 'string', - description: '文件名称', - nullable: true, - }, - creationTime: { - type: 'string', - description: '创建时间', - format: 'date-time', - }, - }, - additionalProperties: false, - description: '分页查询文件', + additionalProperties: false, + description: '分页查询文件' } as const; export const PageFileObjectOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageFileObjectOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageFileObjectOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageIdentityUserOutputSchema = { - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + id: { + type: 'string', + format: 'uuid' + }, + creationTime: { + type: 'string', + format: 'date-time' + }, + creatorId: { + type: 'string', + format: 'uuid', + nullable: true + }, + lastModificationTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + lastModifierId: { + type: 'string', + format: 'uuid', + nullable: true + }, + isDeleted: { + type: 'boolean' + }, + deleterId: { + type: 'string', + format: 'uuid', + nullable: true + }, + deletionTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + surname: { + type: 'string', + nullable: true + }, + email: { + type: 'string', + nullable: true + }, + emailConfirmed: { + type: 'boolean' + }, + phoneNumber: { + type: 'string', + nullable: true + }, + phoneNumberConfirmed: { + type: 'boolean' + }, + isActive: { + type: 'boolean' + }, + lockoutEnabled: { + type: 'boolean' + }, + accessFailedCount: { + type: 'integer', + format: 'int32' + }, + lockoutEnd: { + type: 'string', + format: 'date-time', + nullable: true + }, + concurrencyStamp: { + type: 'string', + nullable: true + }, + entityVersion: { + type: 'integer', + format: 'int32' + }, + lastPasswordChangeTime: { + type: 'string', + format: 'date-time', + nullable: true + }, + twoFactorEnabled: { + type: 'boolean', + description: '是否开启双因素验证码' + } }, - id: { - type: 'string', - format: 'uuid', - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - creatorId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - lastModificationTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - lastModifierId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - isDeleted: { - type: 'boolean', - }, - deleterId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - deletionTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - name: { - type: 'string', - nullable: true, - }, - surname: { - type: 'string', - nullable: true, - }, - email: { - type: 'string', - nullable: true, - }, - emailConfirmed: { - type: 'boolean', - }, - phoneNumber: { - type: 'string', - nullable: true, - }, - phoneNumberConfirmed: { - type: 'boolean', - }, - isActive: { - type: 'boolean', - }, - lockoutEnabled: { - type: 'boolean', - }, - accessFailedCount: { - type: 'integer', - format: 'int32', - }, - lockoutEnd: { - type: 'string', - format: 'date-time', - nullable: true, - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - entityVersion: { - type: 'integer', - format: 'int32', - }, - lastPasswordChangeTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - twoFactorEnabled: { - type: 'boolean', - description: '是否开启双因素验证码', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageIdentityUserOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageIdentityUserOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageIdentityUserOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageLanguageInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + filter: { + type: 'string', + nullable: true + } }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, - description: '创建语言', + additionalProperties: false, + description: '创建语言' } as const; export const PageLanguageOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '语言Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '语言Id', + format: 'uuid' + }, + cultureName: { + type: 'string', + description: '语言名称', + nullable: true + }, + uiCultureName: { + type: 'string', + description: 'Ui语言名称', + nullable: true + }, + displayName: { + type: 'string', + description: '显示名称', + nullable: true + }, + flagIcon: { + type: 'string', + description: '图标', + nullable: true + }, + isEnabled: { + type: 'boolean', + description: '是否启用' + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + }, + isDefault: { + type: 'boolean', + description: '是否是默认语言' + } }, - cultureName: { - type: 'string', - description: '语言名称', - nullable: true, - }, - uiCultureName: { - type: 'string', - description: 'Ui语言名称', - nullable: true, - }, - displayName: { - type: 'string', - description: '显示名称', - nullable: true, - }, - flagIcon: { - type: 'string', - description: '图标', - nullable: true, - }, - isEnabled: { - type: 'boolean', - description: '是否启用', - }, - creationTime: { - type: 'string', - description: '创建时间', - format: 'date-time', - }, - isDefault: { - type: 'boolean', - description: '是否是默认语言', - }, - }, - additionalProperties: false, - description: '创建语言', + additionalProperties: false, + description: '创建语言' } as const; export const PageLanguageOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageLanguageOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageLanguageOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageLanguageTextInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + cultureName: { + type: 'string', + description: '语言', + nullable: true + }, + resourceName: { + type: 'string', + description: '资源', + nullable: true + }, + filter: { + type: 'string', + description: '查询条件 name or value', + nullable: true + } }, - cultureName: { - type: 'string', - description: '语言', - nullable: true, - }, - resourceName: { - type: 'string', - description: '资源', - nullable: true, - }, - filter: { - type: 'string', - description: '查询条件 name or value', - nullable: true, - }, - }, - additionalProperties: false, - description: '创建语言文本', + additionalProperties: false, + description: '创建语言文本' } as const; export const PageLanguageTextOutputSchema = { - type: 'object', - properties: { - resourceName: { - type: 'string', - description: '资源名称', - nullable: true, + type: 'object', + properties: { + resourceName: { + type: 'string', + description: '资源名称', + nullable: true + }, + name: { + type: 'string', + description: '名称', + nullable: true + }, + value: { + type: 'string', + description: '值', + nullable: true + } }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - value: { - type: 'string', - description: '值', - nullable: true, - }, - }, - additionalProperties: false, - description: '创建语言文本', + additionalProperties: false, + description: '创建语言文本' } as const; export const PageLanguageTextOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageLanguageTextOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageLanguageTextOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageMenuInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + } }, - startCreationTime: { - type: 'string', - description: '开始创建时间', - format: 'date-time', - nullable: true, - }, - endCreationTime: { - type: 'string', - description: '结束创建时间', - format: 'date-time', - nullable: true, - }, - }, - additionalProperties: false, - description: '分页查询菜单', + additionalProperties: false, + description: '分页查询菜单' } as const; export const PageMenuOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '菜单Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '菜单Id', + format: 'uuid' + }, + parentId: { + type: 'string', + format: 'uuid', + nullable: true + }, + name: { + type: 'string', + description: '唯一编码', + nullable: true + }, + localizationTitle: { + type: 'string', + description: '标题', + nullable: true + }, + displayTitle: { + type: 'string', + description: '标题', + nullable: true + }, + title: { + type: 'string', + description: '标题', + nullable: true + }, + icon: { + type: 'string', + description: '图标', + nullable: true + }, + keepAlive: { + type: 'boolean', + description: '是否缓存' + }, + hideInMenu: { + type: 'boolean', + description: '是否显示' + }, + order: { + type: 'integer', + description: '排序', + format: 'int32' + }, + path: { + type: 'string', + description: '路由/接口地址', + nullable: true + }, + menuType: { + '$ref': '#/components/schemas/MenuType' + }, + menuTypeDescription: { + type: 'string', + nullable: true, + readOnly: true + }, + openType: { + '$ref': '#/components/schemas/OpenType' + }, + openTypeDescription: { + type: 'string', + nullable: true, + readOnly: true + }, + url: { + type: 'string', + description: '内外链地址', + nullable: true + }, + component: { + type: 'string', + description: '组件地址', + nullable: true + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + }, + enabled: { + type: 'boolean', + description: '是否启用' + }, + policy: { + type: 'string', + description: '权限', + nullable: true + } }, - parentId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - name: { - type: 'string', - description: '唯一编码', - nullable: true, - }, - localizationTitle: { - type: 'string', - description: '标题', - nullable: true, - }, - displayTitle: { - type: 'string', - description: '标题', - nullable: true, - }, - title: { - type: 'string', - description: '标题', - nullable: true, - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - keepAlive: { - type: 'boolean', - description: '是否缓存', - }, - hideInMenu: { - type: 'boolean', - description: '是否显示', - }, - order: { - type: 'integer', - description: '排序', - format: 'int32', - }, - path: { - type: 'string', - description: '路由/接口地址', - nullable: true, - }, - menuType: { - $ref: '#/components/schemas/MenuType', - }, - menuTypeDescription: { - type: 'string', - nullable: true, - readOnly: true, - }, - openType: { - $ref: '#/components/schemas/OpenType', - }, - openTypeDescription: { - type: 'string', - nullable: true, - readOnly: true, - }, - url: { - type: 'string', - description: '内外链地址', - nullable: true, - }, - component: { - type: 'string', - description: '组件地址', - nullable: true, - }, - creationTime: { - type: 'string', - description: '创建时间', - format: 'date-time', - }, - enabled: { - type: 'boolean', - description: '是否启用', - }, - policy: { - type: 'string', - description: '权限', - nullable: true, - }, - }, - additionalProperties: false, - description: '分页查询菜单', + additionalProperties: false, + description: '分页查询菜单' } as const; export const PageMenuOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageMenuOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageMenuOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, -} as const; - -export const PageProjectInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 - - name desc -`, - nullable: true, - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const PageTemplateInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 - - name desc -`, - nullable: true, - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageTenantConnectionStringInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '租户id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '租户id', + format: 'uuid' + }, + name: { + type: 'string', + description: '连接字符串名称', + nullable: true + }, + value: { + type: 'string', + description: '连接字符串地址', + nullable: true + } }, - name: { - type: 'string', - description: '连接字符串名称', - nullable: true, - }, - value: { - type: 'string', - description: '连接字符串地址', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageTenantConnectionStringOutputSchema = { - type: 'object', - properties: { - tenantId: { - type: 'string', - description: '租户id', - format: 'uuid', + type: 'object', + properties: { + tenantId: { + type: 'string', + description: '租户id', + format: 'uuid' + }, + name: { + type: 'string', + description: '连接字符串名称', + nullable: true + }, + value: { + type: 'string', + description: '连接字符串地址', + nullable: true + } }, - name: { - type: 'string', - description: '连接字符串名称', - nullable: true, - }, - value: { - type: 'string', - description: '连接字符串地址', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageTenantConnectionStringOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageTenantConnectionStringOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageTenantConnectionStringOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PageTextTemplateInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + name: { + type: 'string', + description: '名称', + nullable: true + }, + code: { + type: 'string', + description: '编码', + nullable: true + }, + content: { + type: 'string', + description: '内容', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + } }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - code: { - type: 'string', - description: '编码', - nullable: true, - }, - content: { - type: 'string', - description: '内容', - nullable: true, - }, - startCreationTime: { - type: 'string', - description: '开始创建时间', - format: 'date-time', - nullable: true, - }, - endCreationTime: { - type: 'string', - description: '结束创建时间', - format: 'date-time', - nullable: true, - }, - }, - additionalProperties: false, - description: '分页查询模板', + additionalProperties: false, + description: '分页查询模板' } as const; export const PageTextTemplateOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '模板Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '模板Id', + format: 'uuid' + }, + name: { + type: 'string', + description: '名称', + nullable: true + }, + code: { + type: 'string', + description: '编码', + nullable: true + }, + content: { + type: 'string', + description: '内容', + nullable: true + }, + cultureName: { + type: 'string', + description: '语言', + nullable: true + }, + creationTime: { + type: 'string', + description: '创建时间', + format: 'date-time' + } }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - code: { - type: 'string', - description: '编码', - nullable: true, - }, - content: { - type: 'string', - description: '内容', - nullable: true, - }, - cultureName: { - type: 'string', - description: '语言', - nullable: true, - }, - creationTime: { - type: 'string', - description: '创建时间', - format: 'date-time', - }, - }, - additionalProperties: false, - description: '分页查询模板', + additionalProperties: false, + description: '分页查询模板' } as const; export const PageTextTemplateOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PageTextTemplateOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PageTextTemplateOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingAuditLogActionOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + auditLogId: { + type: 'string', + format: 'uuid' + }, + serviceName: { + type: 'string', + nullable: true + }, + methodName: { + type: 'string', + nullable: true + }, + parameters: { + type: 'string', + nullable: true + }, + executionTime: { + type: 'string', + nullable: true + }, + executionDuration: { + type: 'integer', + format: 'int32' + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - auditLogId: { - type: 'string', - format: 'uuid', - }, - serviceName: { - type: 'string', - nullable: true, - }, - methodName: { - type: 'string', - nullable: true, - }, - parameters: { - type: 'string', - nullable: true, - }, - executionTime: { - type: 'string', - nullable: true, - }, - executionDuration: { - type: 'integer', - format: 'int32', - }, - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingAuditLogInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: '排序', + nullable: true + }, + startTime: { + type: 'string', + description: '开始时间', + format: 'date-time', + nullable: true + }, + endTime: { + type: 'string', + description: '结束时间', + format: 'date-time', + nullable: true + }, + httpMethod: { + type: 'string', + description: '请求方法', + nullable: true + }, + url: { + type: 'string', + description: '请求地址', + nullable: true + }, + userId: { + type: 'string', + description: '用户Id', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + description: '用户名', + nullable: true + }, + applicationName: { + type: 'string', + description: '应用程序名称', + nullable: true + }, + correlationId: { + type: 'string', + description: 'RequestId', + nullable: true + }, + maxExecutionDuration: { + type: 'integer', + description: '最大执行时间', + format: 'int32', + nullable: true + }, + minExecutionDuration: { + type: 'integer', + description: '最小执行时间', + format: 'int32', + nullable: true + }, + hasException: { + type: 'boolean', + description: '是否有异常', + nullable: true + }, + httpStatusCode: { + '$ref': '#/components/schemas/HttpStatusCode' + }, + clientIpAddress: { + type: 'string', + description: '客户端IP', + nullable: true + } }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: '排序', - nullable: true, - }, - startTime: { - type: 'string', - description: '开始时间', - format: 'date-time', - nullable: true, - }, - endTime: { - type: 'string', - description: '结束时间', - format: 'date-time', - nullable: true, - }, - httpMethod: { - type: 'string', - description: '请求方法', - nullable: true, - }, - url: { - type: 'string', - description: '请求地址', - nullable: true, - }, - userId: { - type: 'string', - description: '用户Id', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - description: '用户名', - nullable: true, - }, - applicationName: { - type: 'string', - description: '应用程序名称', - nullable: true, - }, - correlationId: { - type: 'string', - description: 'RequestId', - nullable: true, - }, - maxExecutionDuration: { - type: 'integer', - description: '最大执行时间', - format: 'int32', - nullable: true, - }, - minExecutionDuration: { - type: 'integer', - description: '最小执行时间', - format: 'int32', - nullable: true, - }, - hasException: { - type: 'boolean', - description: '是否有异常', - nullable: true, - }, - httpStatusCode: { - $ref: '#/components/schemas/HttpStatusCode', - }, - clientIpAddress: { - type: 'string', - description: '客户端IP', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingAuditLogOutputSchema = { - type: 'object', - properties: { - applicationName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + applicationName: { + type: 'string', + nullable: true + }, + userId: { + type: 'string', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + tenantName: { + type: 'string', + nullable: true + }, + impersonatorUserId: { + type: 'string', + format: 'uuid', + nullable: true + }, + impersonatorTenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + executionTime: { + type: 'string', + nullable: true + }, + executionDuration: { + type: 'integer', + format: 'int32' + }, + clientIpAddress: { + type: 'string', + nullable: true + }, + clientName: { + type: 'string', + nullable: true + }, + clientId: { + type: 'string', + nullable: true + }, + correlationId: { + type: 'string', + nullable: true + }, + browserInfo: { + type: 'string', + nullable: true + }, + httpMethod: { + type: 'string', + nullable: true + }, + url: { + type: 'string', + nullable: true + }, + exceptions: { + type: 'string', + nullable: true + }, + comments: { + type: 'string', + nullable: true + }, + httpStatusCode: { + type: 'integer', + format: 'int32', + nullable: true + }, + entityChanges: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingEntityChangeOutput' + }, + nullable: true + }, + actions: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingAuditLogActionOutput' + }, + nullable: true + } }, - userId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - tenantName: { - type: 'string', - nullable: true, - }, - impersonatorUserId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - impersonatorTenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - executionTime: { - type: 'string', - nullable: true, - }, - executionDuration: { - type: 'integer', - format: 'int32', - }, - clientIpAddress: { - type: 'string', - nullable: true, - }, - clientName: { - type: 'string', - nullable: true, - }, - clientId: { - type: 'string', - nullable: true, - }, - correlationId: { - type: 'string', - nullable: true, - }, - browserInfo: { - type: 'string', - nullable: true, - }, - httpMethod: { - type: 'string', - nullable: true, - }, - url: { - type: 'string', - nullable: true, - }, - exceptions: { - type: 'string', - nullable: true, - }, - comments: { - type: 'string', - nullable: true, - }, - httpStatusCode: { - type: 'integer', - format: 'int32', - nullable: true, - }, - entityChanges: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingEntityChangeOutput', - }, - nullable: true, - }, - actions: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingAuditLogActionOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingAuditLogOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingAuditLogOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingAuditLogOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryDetailInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + dataDictionaryId: { + type: 'string', + format: 'uuid' + }, + filter: { + type: 'string', + nullable: true + } }, - dataDictionaryId: { - type: 'string', - format: 'uuid', - }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryDetailOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + dataDictionaryId: { + type: 'string', + description: '所属字典Id', + format: 'uuid' + }, + code: { + type: 'string', + description: '字典明细编码', + nullable: true + }, + order: { + type: 'integer', + description: '展现列表时排序用', + format: 'int32' + }, + displayText: { + type: 'string', + description: '英文显示名', + nullable: true + }, + description: { + type: 'string', + description: '描述', + nullable: true + }, + isEnabled: { + type: 'boolean', + description: '启/停用(默认启用)' + } }, - dataDictionaryId: { - type: 'string', - description: '所属字典Id', - format: 'uuid', - }, - code: { - type: 'string', - description: '字典明细编码', - nullable: true, - }, - order: { - type: 'integer', - description: '展现列表时排序用', - format: 'int32', - }, - displayText: { - type: 'string', - description: '英文显示名', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - isEnabled: { - type: 'boolean', - description: '启/停用(默认启用)', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryDetailOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingDataDictionaryDetailOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingDataDictionaryDetailOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + filter: { + type: 'string', + nullable: true + } }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + code: { + type: 'string', + description: '字典编码', + nullable: true + }, + displayText: { + type: 'string', + description: '显示名', + nullable: true + }, + description: { + type: 'string', + description: '描述', + nullable: true + } }, - code: { - type: 'string', - description: '字典编码', - nullable: true, - }, - displayText: { - type: 'string', - description: '显示名', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingDataDictionaryOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingDataDictionaryOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingDataDictionaryOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingEntityChangeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + auditLogId: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + changeTime: { + type: 'string', + nullable: true + }, + changeType: { + '$ref': '#/components/schemas/EntityChangeType' + }, + changeTypeDescription: { + type: 'string', + nullable: true + }, + entityTenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + entityId: { + type: 'string', + nullable: true + }, + entityTypeFullName: { + type: 'string', + nullable: true + }, + propertyChanges: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingEntityPropertyChangeOutput' + }, + nullable: true + }, + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true + } }, - auditLogId: { - type: 'string', - format: 'uuid', - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - changeTime: { - type: 'string', - nullable: true, - }, - changeType: { - $ref: '#/components/schemas/EntityChangeType', - }, - changeTypeDescription: { - type: 'string', - nullable: true, - }, - entityTenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - entityId: { - type: 'string', - nullable: true, - }, - entityTypeFullName: { - type: 'string', - nullable: true, - }, - propertyChanges: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingEntityPropertyChangeOutput', - }, - nullable: true, - }, - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingEntityPropertyChangeOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + entityChangeId: { + type: 'string', + format: 'uuid' + }, + newValue: { + type: 'string', + nullable: true + }, + originalValue: { + type: 'string', + nullable: true + }, + propertyName: { + type: 'string', + nullable: true + }, + propertyTypeFullName: { + type: 'string', + nullable: true + } }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - entityChangeId: { - type: 'string', - format: 'uuid', - }, - newValue: { - type: 'string', - nullable: true, - }, - originalValue: { - type: 'string', - nullable: true, - }, - propertyName: { - type: 'string', - nullable: true, - }, - propertyTypeFullName: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingIdentitySecurityLogInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: '排序', + nullable: true + }, + startTime: { + type: 'string', + description: '开始时间', + format: 'date-time', + nullable: true + }, + endTime: { + type: 'string', + description: '结束时间', + format: 'date-time', + nullable: true + }, + identity: { + type: 'string', + nullable: true + }, + action: { + type: 'string', + description: '请求地址', + nullable: true + }, + userId: { + type: 'string', + description: '用户Id', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + description: '用户名', + nullable: true + }, + applicationName: { + type: 'string', + description: '应用程序名称', + nullable: true + }, + correlationId: { + type: 'string', + description: 'RequestId', + nullable: true + }, + clientId: { + type: 'string', + description: 'ClientId', + nullable: true + } }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: '排序', - nullable: true, - }, - startTime: { - type: 'string', - description: '开始时间', - format: 'date-time', - nullable: true, - }, - endTime: { - type: 'string', - description: '结束时间', - format: 'date-time', - nullable: true, - }, - identity: { - type: 'string', - nullable: true, - }, - action: { - type: 'string', - description: '请求地址', - nullable: true, - }, - userId: { - type: 'string', - description: '用户Id', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - description: '用户名', - nullable: true, - }, - applicationName: { - type: 'string', - description: '应用程序名称', - nullable: true, - }, - correlationId: { - type: 'string', - description: 'RequestId', - nullable: true, - }, - clientId: { - type: 'string', - description: 'ClientId', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingIdentitySecurityLogOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + format: 'uuid', + nullable: true + }, + applicationName: { + type: 'string', + nullable: true + }, + identity: { + type: 'string', + nullable: true + }, + action: { + type: 'string', + nullable: true + }, + userId: { + type: 'string', + format: 'uuid', + nullable: true + }, + userName: { + type: 'string', + nullable: true + }, + tenantName: { + type: 'string', + nullable: true + }, + clientId: { + type: 'string', + nullable: true + }, + correlationId: { + type: 'string', + nullable: true + }, + clientIpAddress: { + type: 'string', + nullable: true + }, + browserInfo: { + type: 'string', + nullable: true + }, + creationTime: { + type: 'string', + format: 'date-time' + } }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - applicationName: { - type: 'string', - nullable: true, - }, - identity: { - type: 'string', - nullable: true, - }, - action: { - type: 'string', - nullable: true, - }, - userId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - userName: { - type: 'string', - nullable: true, - }, - tenantName: { - type: 'string', - nullable: true, - }, - clientId: { - type: 'string', - nullable: true, - }, - correlationId: { - type: 'string', - nullable: true, - }, - clientIpAddress: { - type: 'string', - nullable: true, - }, - browserInfo: { - type: 'string', - nullable: true, - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingIdentitySecurityLogOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingIdentitySecurityLogOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingIdentitySecurityLogOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + title: { + type: 'string', + description: '标题', + nullable: true + }, + content: { + type: 'string', + description: '内容', + nullable: true + }, + senderUserId: { + type: 'string', + description: '发送者Id', + format: 'uuid', + nullable: true + }, + senderUserName: { + type: 'string', + description: '发送者名称', + nullable: true + }, + receiverUserId: { + type: 'string', + description: '接受者Id', + format: 'uuid', + nullable: true + }, + receiverUserName: { + type: 'string', + description: '接受者名称', + nullable: true + }, + read: { + type: 'boolean', + description: '是否已读', + nullable: true + }, + startReadTime: { + type: 'string', + description: '已读开始时间', + format: 'date-time', + nullable: true + }, + endReadTime: { + type: 'string', + description: '已读结束时间', + format: 'date-time', + nullable: true + }, + messageType: { + '$ref': '#/components/schemas/MessageType' + }, + messageLevel: { + '$ref': '#/components/schemas/MessageLevel' + } }, - title: { - type: 'string', - description: '标题', - nullable: true, - }, - content: { - type: 'string', - description: '内容', - nullable: true, - }, - senderUserId: { - type: 'string', - description: '发送者Id', - format: 'uuid', - nullable: true, - }, - senderUserName: { - type: 'string', - description: '发送者名称', - nullable: true, - }, - receiverUserId: { - type: 'string', - description: '接受者Id', - format: 'uuid', - nullable: true, - }, - receiverUserName: { - type: 'string', - description: '接受者名称', - nullable: true, - }, - read: { - type: 'boolean', - description: '是否已读', - nullable: true, - }, - startReadTime: { - type: 'string', - description: '已读开始时间', - format: 'date-time', - nullable: true, - }, - endReadTime: { - type: 'string', - description: '已读结束时间', - format: 'date-time', - nullable: true, - }, - messageType: { - $ref: '#/components/schemas/MessageType', - }, - messageLevel: { - $ref: '#/components/schemas/MessageLevel', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - tenantId: { - type: 'string', - description: '租户id', - format: 'uuid', - nullable: true, - }, - title: { - type: 'string', - description: '消息标题', - nullable: true, - }, - content: { - type: 'string', - description: '消息内容', - nullable: true, - }, - messageType: { - $ref: '#/components/schemas/MessageType', - }, - messageTypeName: { - type: 'string', - nullable: true, - readOnly: true, - }, - messageLevel: { - $ref: '#/components/schemas/MessageLevel', - }, - messageLevelName: { - type: 'string', - nullable: true, - readOnly: true, - }, - senderUserId: { - type: 'string', - description: '发送人', - format: 'uuid', - }, - senderUserName: { - type: 'string', - description: '发送人用户名', - nullable: true, - }, - receiveUserId: { - type: 'string', - description: `订阅人 + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + description: '租户id', + format: 'uuid', + nullable: true + }, + title: { + type: 'string', + description: '消息标题', + nullable: true + }, + content: { + type: 'string', + description: '消息内容', + nullable: true + }, + messageType: { + '$ref': '#/components/schemas/MessageType' + }, + messageTypeName: { + type: 'string', + nullable: true, + readOnly: true + }, + messageLevel: { + '$ref': '#/components/schemas/MessageLevel' + }, + messageLevelName: { + type: 'string', + nullable: true, + readOnly: true + }, + senderUserId: { + type: 'string', + description: '发送人', + format: 'uuid' + }, + senderUserName: { + type: 'string', + description: '发送人用户名', + nullable: true + }, + receiveUserId: { + type: 'string', + description: `订阅人 消息类型是广播消息时,订阅人为空`, - format: 'uuid', - nullable: true, - }, - receiveUserName: { - type: 'string', - description: `接收人用户名 + format: 'uuid', + nullable: true + }, + receiveUserName: { + type: 'string', + description: `接收人用户名 消息类型是广播消息时,订接收人用户名为空`, - nullable: true, + nullable: true + }, + read: { + type: 'boolean', + description: '是否已读' + }, + readTime: { + type: 'string', + description: '已读时间', + format: 'date-time', + nullable: true + }, + creationTime: { + type: 'string', + format: 'date-time' + } }, - read: { - type: 'boolean', - description: '是否已读', - }, - readTime: { - type: 'string', - description: '已读时间', - format: 'date-time', - nullable: true, - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingNotificationOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingNotificationOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationSubscriptionInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + notificationId: { + type: 'string', + format: 'uuid' + }, + receiverUserId: { + type: 'string', + description: '接受者Id', + format: 'uuid', + nullable: true + }, + receiverUserName: { + type: 'string', + description: '接受者名称', + nullable: true + }, + read: { + type: 'boolean', + description: '是否已读', + nullable: true + }, + startReadTime: { + type: 'string', + description: '已读开始时间', + format: 'date-time', + nullable: true + }, + endReadTime: { + type: 'string', + description: '已读结束时间', + format: 'date-time', + nullable: true + } }, - notificationId: { - type: 'string', - format: 'uuid', - }, - receiverUserId: { - type: 'string', - description: '接受者Id', - format: 'uuid', - nullable: true, - }, - receiverUserName: { - type: 'string', - description: '接受者名称', - nullable: true, - }, - read: { - type: 'boolean', - description: '是否已读', - nullable: true, - }, - startReadTime: { - type: 'string', - description: '已读开始时间', - format: 'date-time', - nullable: true, - }, - endReadTime: { - type: 'string', - description: '已读结束时间', - format: 'date-time', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationSubscriptionOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + tenantId: { + type: 'string', + description: '租户id', + format: 'uuid', + nullable: true + }, + notificationId: { + type: 'string', + description: '消息Id', + format: 'uuid' + }, + receiveUserId: { + type: 'string', + description: '接收人id', + format: 'uuid' + }, + receiveUserName: { + type: 'string', + description: '接收人用户名', + nullable: true + }, + read: { + type: 'boolean', + description: '是否已读' + }, + readTime: { + type: 'string', + description: '已读时间', + format: 'date-time' + }, + title: { + type: 'string', + description: '消息标题', + nullable: true + }, + content: { + type: 'string', + description: '消息内容', + nullable: true + }, + messageType: { + '$ref': '#/components/schemas/MessageType' + }, + messageTypeName: { + type: 'string', + nullable: true, + readOnly: true + }, + messageLevel: { + '$ref': '#/components/schemas/MessageLevel' + }, + messageLevelName: { + type: 'string', + nullable: true, + readOnly: true + }, + senderUserId: { + type: 'string', + description: '发送人', + format: 'uuid' + }, + senderUserName: { + type: 'string', + description: '发送人用户名', + nullable: true + } }, - tenantId: { - type: 'string', - description: '租户id', - format: 'uuid', - nullable: true, - }, - notificationId: { - type: 'string', - description: '消息Id', - format: 'uuid', - }, - receiveUserId: { - type: 'string', - description: '接收人id', - format: 'uuid', - }, - receiveUserName: { - type: 'string', - description: '接收人用户名', - nullable: true, - }, - read: { - type: 'boolean', - description: '是否已读', - }, - readTime: { - type: 'string', - description: '已读时间', - format: 'date-time', - }, - title: { - type: 'string', - description: '消息标题', - nullable: true, - }, - content: { - type: 'string', - description: '消息内容', - nullable: true, - }, - messageType: { - $ref: '#/components/schemas/MessageType', - }, - messageTypeName: { - type: 'string', - nullable: true, - readOnly: true, - }, - messageLevel: { - $ref: '#/components/schemas/MessageLevel', - }, - messageLevelName: { - type: 'string', - nullable: true, - readOnly: true, - }, - senderUserId: { - type: 'string', - description: '发送人', - format: 'uuid', - }, - senderUserName: { - type: 'string', - description: '发送人用户名', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingNotificationSubscriptionOutputPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/PagingNotificationSubscriptionOutput', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/PagingNotificationSubscriptionOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingRoleListInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + filter: { + type: 'string', + nullable: true + } }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingTenantInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + filter: { + type: 'string', + nullable: true + } }, - filter: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PagingUserListInputSchema = { - type: 'object', - properties: { - pageIndex: { - type: 'integer', - description: '当前页面.默认从1开始', - format: 'int32', - }, - pageSize: { - type: 'integer', - description: '每页多少条.每页显示多少记录', - format: 'int32', - }, - skipCount: { - type: 'integer', - description: '跳过多少条', - format: 'int32', - readOnly: true, - }, - sorting: { - type: 'string', - description: `排序 + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 name desc `, - nullable: true, + nullable: true + }, + filter: { + type: 'string', + description: '关键字', + nullable: true + } }, - filter: { - type: 'string', - description: '关键字', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ParameterApiDescriptionModelSchema = { - type: 'object', - properties: { - nameOnMethod: { - type: 'string', - nullable: true, + type: 'object', + properties: { + nameOnMethod: { + type: 'string', + nullable: true + }, + name: { + type: 'string', + nullable: true + }, + jsonName: { + type: 'string', + nullable: true + }, + type: { + type: 'string', + nullable: true + }, + typeSimple: { + type: 'string', + nullable: true + }, + isOptional: { + type: 'boolean' + }, + defaultValue: { + nullable: true + }, + constraintTypes: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + bindingSourceId: { + type: 'string', + nullable: true + }, + descriptorName: { + type: 'string', + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - jsonName: { - type: 'string', - nullable: true, - }, - type: { - type: 'string', - nullable: true, - }, - typeSimple: { - type: 'string', - nullable: true, - }, - isOptional: { - type: 'boolean', - }, - defaultValue: { - nullable: true, - }, - constraintTypes: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - bindingSourceId: { - type: 'string', - nullable: true, - }, - descriptorName: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PermissionOutputSchema = { - type: 'object', - properties: { - grants: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, + type: 'object', + properties: { + grants: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + allGrants: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + permissions: { + type: 'array', + items: { + '$ref': '#/components/schemas/PermissionTreeDto' + }, + nullable: true + } }, - allGrants: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - permissions: { - type: 'array', - items: { - $ref: '#/components/schemas/PermissionTreeDto', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const PermissionTreeDtoSchema = { - type: 'object', - properties: { - title: { - type: 'string', - nullable: true, + type: 'object', + properties: { + title: { + type: 'string', + nullable: true + }, + key: { + type: 'string', + nullable: true + }, + children: { + type: 'array', + items: { + '$ref': '#/components/schemas/PermissionTreeDto' + }, + nullable: true + } }, - key: { - type: 'string', - nullable: true, - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/PermissionTreeDto', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; -export const PreViewCodeInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - format: 'uuid', - }, - projectId: { - type: 'string', - format: 'uuid', - }, - entityId: { - type: 'array', - items: { - type: 'string', - format: 'uuid', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const ProjectDtoSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - creatorId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - lastModificationTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - lastModifierId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - owner: { - type: 'string', - description: '负责人', - nullable: true, - }, - nameSpace: { - type: 'string', - description: '名称空间', - nullable: true, - }, - companyName: { - type: 'string', - description: '公司名称', - nullable: true, - }, - projectName: { - type: 'string', - description: '项目名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - supportTenant: { - type: 'boolean', - description: '是否支持多租户', - }, - }, - additionalProperties: false, -} as const; - -export const ProjectDtoPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/ProjectDto', - }, - nullable: true, - }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, -} as const; - -export const ProjectOutputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - companyName: { - type: 'string', - description: '公司名称', - nullable: true, - }, - projectName: { - type: 'string', - description: '项目名称', - nullable: true, - }, - }, - additionalProperties: false, +export const ProductStatusEnumSchema = { + enum: [1, 2, 3, 4, 5], + type: 'integer', + description: '开发状态枚举', + format: 'int32', + '说明:': '开发中=1,审核中=2,审核未通过=3,已发布=4,已下架=5' } as const; export const PropertyApiDescriptionModelSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + jsonName: { + type: 'string', + nullable: true + }, + type: { + type: 'string', + nullable: true + }, + typeSimple: { + type: 'string', + nullable: true + }, + isRequired: { + type: 'boolean' + }, + minLength: { + type: 'integer', + format: 'int32', + nullable: true + }, + maxLength: { + type: 'integer', + format: 'int32', + nullable: true + }, + minimum: { + type: 'string', + nullable: true + }, + maximum: { + type: 'string', + nullable: true + }, + regex: { + type: 'string', + nullable: true + } }, - jsonName: { - type: 'string', - nullable: true, + additionalProperties: false +} as const; + +export const ProtocolTypeEnumSchema = { + enum: [0, 1, 2, 30, 31, 32, 33, 34], + type: 'integer', + format: 'int32', + '说明:': '无(未知)=0,DL/T 645—1997=1,交流采样装置通信协议(电表)=2,DL/T 645—2007(默认)=30,载波通信=31,CJ/T 188—2018协议(水表)=32,CJ/T 188—2004协议=33,MODBUS-RTU=34' +} as const; + +export const QueryCTWingAepReceiveMessageInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + deviceAddress: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + }, + platformDeviceId: { + type: 'string', + description: '物联网平台设备ID', + nullable: true + } }, - type: { - type: 'string', - nullable: true, + additionalProperties: false, + description: '查询CTWing接收消息' +} as const; + +export const QueryCTWingAepReceiveMessageOutputSchema = { + type: 'object', + properties: { + dataBaseName: { + type: 'string', + description: '数据库名称,用于构建存储路径,来自系统配置', + nullable: true + }, + ioTDataType: { + type: 'string', + description: `数据类型,用于构建存储路径 + JiShe.ServicePro.Consts.IoTDBDataTypeConst`, + nullable: true + }, + deviceType: { + type: 'string', + description: `设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 +JiShe.ServicePro.Enums.DeviceTypeEnum`, + nullable: true + }, + deviceAddress: { + type: 'string', + description: '设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等', + nullable: true + }, + timestamps: { + type: 'integer', + description: '时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取', + format: 'int64' + }, + formattedTimestamps: { + type: 'string', + description: '格式化的时标', + format: 'date-time', + readOnly: true + }, + devicePath: { + type: 'string', + description: '设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明', + nullable: true + }, + platformTenantId: { + type: 'string', + description: '物联网平台租户Id', + nullable: true + }, + productId: { + type: 'string', + description: '物联网平台产品Id', + nullable: true + }, + serviceId: { + type: 'string', + description: '物联网平台服务Id', + nullable: true + }, + platformDeviceId: { + type: 'string', + description: '物联网平台设备ID', + nullable: true + }, + messageType: { + type: 'string', + description: '消息类型', + nullable: true + }, + protocol: { + type: 'string', + description: '通信协议', + nullable: true + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表地址', + nullable: true + }, + rawMessage: { + type: 'string', + description: '消息上报原始内容', + nullable: true + }, + receivedPayload: { + type: 'string', + description: '消息上报结果,主要是用于存储上报原始数据通过处理后的结果,并非报文解析结果', + nullable: true + }, + receivedTime: { + type: 'string', + description: '消息上报时间,单位毫秒,不是当前系统中的纳秒', + format: 'date-time' + }, + imsi: { + type: 'string', + description: 'IMSI', + nullable: true + }, + imei: { + type: 'string', + description: 'IMEI', + nullable: true + } }, - typeSimple: { - type: 'string', - nullable: true, + additionalProperties: false, + description: '查询CTWing接收消息' +} as const; + +export const QueryCTWingAepReceiveMessageOutputPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/QueryCTWingAepReceiveMessageOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - isRequired: { - type: 'boolean', + additionalProperties: false +} as const; + +export const QueryOneNETReceiveMessageInputSchema = { + type: 'object', + properties: { + pageIndex: { + type: 'integer', + description: '当前页面.默认从1开始', + format: 'int32' + }, + pageSize: { + type: 'integer', + description: '每页多少条.每页显示多少记录', + format: 'int32' + }, + skipCount: { + type: 'integer', + description: '跳过多少条', + format: 'int32', + readOnly: true + }, + sorting: { + type: 'string', + description: `排序 + + name desc +`, + nullable: true + }, + systemName: { + type: 'string', + description: '系统名称', + nullable: true + }, + ioTDataType: { + type: 'string', + description: '数据类型', + nullable: true + }, + deviceType: { + '$ref': '#/components/schemas/DeviceTypeEnum' + }, + deviceAddress: { + type: 'string', + description: '设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等', + nullable: true + }, + startCreationTime: { + type: 'string', + description: '开始创建时间', + format: 'date-time', + nullable: true + }, + endCreationTime: { + type: 'string', + description: '结束创建时间', + format: 'date-time', + nullable: true + }, + platformDeviceId: { + type: 'string', + description: '物联网平台设备ID', + nullable: true + } }, - minLength: { - type: 'integer', - format: 'int32', - nullable: true, + additionalProperties: false, + description: '查询OneNET接收消息' +} as const; + +export const QueryOneNETReceiveMessageOutputSchema = { + type: 'object', + properties: { + dataBaseName: { + type: 'string', + description: '数据库名称,用于构建存储路径,来自系统配置', + nullable: true + }, + ioTDataType: { + type: 'string', + description: `数据类型,用于构建存储路径 + JiShe.ServicePro.Consts.IoTDBDataTypeConst`, + nullable: true + }, + deviceType: { + type: 'string', + description: `设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 +JiShe.ServicePro.Enums.DeviceTypeEnum`, + nullable: true + }, + deviceAddress: { + type: 'string', + description: '设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等', + nullable: true + }, + timestamps: { + type: 'integer', + description: '时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取', + format: 'int64' + }, + formattedTimestamps: { + type: 'string', + description: '格式化的时标', + format: 'date-time', + readOnly: true + }, + devicePath: { + type: 'string', + description: '设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明', + nullable: true + }, + productId: { + type: 'string', + description: '物联网平台产品Id', + nullable: true + }, + platformDeviceId: { + type: 'string', + description: '物联网平台设备ID', + nullable: true + }, + messageType: { + type: 'string', + description: '消息类型', + nullable: true + }, + protocol: { + type: 'string', + description: '通信协议', + nullable: true + }, + focusAddress: { + type: 'string', + description: '集中器地址', + nullable: true + }, + meterAddress: { + type: 'string', + description: '表地址', + nullable: true + }, + rawMessage: { + type: 'string', + description: '消息上报原始内容', + nullable: true + }, + receivedPayload: { + type: 'string', + description: '消息上报结果,主要是用于存储上报原始数据通过处理后的结果,并非报文解析结果', + nullable: true + }, + receivedTime: { + type: 'string', + description: '消息上报时间,单位毫秒,不是当前系统中的纳秒', + format: 'date-time' + }, + isEncrypted: { + type: 'boolean', + description: '是否加密' + }, + plaintextMessage: { + type: 'string', + description: '明文消息,加密推送情况下才有', + nullable: true + } }, - maxLength: { - type: 'integer', - format: 'int32', - nullable: true, + additionalProperties: false, + description: '查询OneNET接收消息' +} as const; + +export const QueryOneNETReceiveMessageOutputPagedResultDtoSchema = { + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/QueryOneNETReceiveMessageOutput' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - minimum: { - type: 'string', - nullable: true, - }, - maximum: { - type: 'string', - nullable: true, - }, - regex: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RefreshTokenInputSchema = { - required: ['refreshToken'], - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + required: ['refreshToken'], + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + }, + refreshToken: { + minLength: 1, + type: 'string' + } }, - refreshToken: { - minLength: 1, - type: 'string', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RefreshTokenOutputSchema = { - type: 'object', - properties: { - success: { - type: 'boolean', + type: 'object', + properties: { + success: { + type: 'boolean' + }, + message: { + type: 'string', + nullable: true + }, + token: { + type: 'string', + nullable: true + }, + refreshToken: { + type: 'string', + nullable: true + } }, - message: { - type: 'string', - nullable: true, - }, - token: { - type: 'string', - nullable: true, - }, - refreshToken: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const RelationalTypeSchema = { - enum: [10, 20], - type: 'integer', - format: 'int32', - 'x-enumNames': ['OnoToOne', 'OneToMany'], - 'x-enum-varnames': ['OnoToOne', 'OneToMany'], + additionalProperties: false } as const; export const RemoteServiceErrorInfoSchema = { - type: 'object', - properties: { - code: { - type: 'string', - nullable: true, + type: 'object', + properties: { + code: { + type: 'string', + nullable: true + }, + message: { + type: 'string', + nullable: true + }, + details: { + type: 'string', + nullable: true + }, + data: { + type: 'object', + additionalProperties: {}, + nullable: true + }, + validationErrors: { + type: 'array', + items: { + '$ref': '#/components/schemas/RemoteServiceValidationErrorInfo' + }, + nullable: true + } }, - message: { - type: 'string', - nullable: true, - }, - details: { - type: 'string', - nullable: true, - }, - data: { - type: 'object', - additionalProperties: {}, - nullable: true, - }, - validationErrors: { - type: 'array', - items: { - $ref: '#/components/schemas/RemoteServiceValidationErrorInfo', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RemoteServiceErrorResponseSchema = { - type: 'object', - properties: { - error: { - $ref: '#/components/schemas/RemoteServiceErrorInfo', + type: 'object', + properties: { + error: { + '$ref': '#/components/schemas/RemoteServiceErrorInfo' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RemoteServiceValidationErrorInfoSchema = { - type: 'object', - properties: { - message: { - type: 'string', - nullable: true, + type: 'object', + properties: { + message: { + type: 'string', + nullable: true + }, + members: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + } }, - members: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RemoteStreamContentSchema = { - type: 'object', - properties: { - fileName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + fileName: { + type: 'string', + nullable: true + }, + contentType: { + type: 'string', + nullable: true + }, + contentLength: { + type: 'integer', + format: 'int64', + nullable: true, + readOnly: true + } }, - contentType: { - type: 'string', - nullable: true, - }, - contentLength: { - type: 'integer', - format: 'int64', - nullable: true, - readOnly: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RemoveRoleToOrganizationUnitInputSchema = { - type: 'object', - properties: { - roleId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + roleId: { + type: 'string', + format: 'uuid' + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const RemoveUserToOrganizationUnitInputSchema = { - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + }, + organizationUnitId: { + type: 'string', + format: 'uuid' + } }, - organizationUnitId: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ResetPasswordInputSchema = { - required: ['password'], - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + required: ['password'], + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + }, + password: { + maxLength: 128, + minLength: 0, + type: 'string' + } }, - password: { - maxLength: 128, - minLength: 0, - type: 'string', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const ResetTwoFactorInputSchema = { - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + } }, - }, - additionalProperties: false, + additionalProperties: false +} as const; + +export const ResponeResultEnumSchema = { + enum: [0, 1, 2, 3, 4, 5, 6, 200, 201, 400, 401, 403, 404, 500, 503, 504, -102, -101], + type: 'integer', + description: '响应结果枚举', + format: 'int32', + '说明:': 'Success=0,Fail=1,LoginOut=2,TimeOut=3,Exception=4,NotAllowed=5,NotLoggedIn=6,OK=200,NoData=201,BadRequest=400,Unauthorized=401,Forbidden=403,NotFound=404,AepInternalError=500,ServiceUnavailable=503,AsyncService=504,HandlerException=-102,HandlerFail=-101' } as const; export const ReturnValueApiDescriptionModelSchema = { - type: 'object', - properties: { - type: { - type: 'string', - nullable: true, + type: 'object', + properties: { + type: { + type: 'string', + nullable: true + }, + typeSimple: { + type: 'string', + nullable: true + } }, - typeSimple: { - type: 'string', - nullable: true, + additionalProperties: false +} as const; + +export const SelectResultSchema = { + type: 'object', + properties: { + key: { + type: 'string', + description: '下拉框 键', + nullable: true + }, + value: { + type: 'string', + description: '下拉框 值', + nullable: true + }, + secondValue: { + type: 'string', + description: '下拉框 值2', + nullable: true + }, + thirdValue: { + description: '下拉框 值3', + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false, + description: '下拉框选项元素' +} as const; + +export const SelectResultListInputSchema = { + required: ['typeName'], + type: 'object', + properties: { + typeName: { + minLength: 1, + type: 'string', + description: '类型名称' + }, + thirdAttributeTypeName: { + type: 'string', + description: '第三级类型', + nullable: true + } + }, + additionalProperties: false, + description: '获取下拉框数据' } as const; export const SendBroadCastMessageInputSchema = { - type: 'object', - properties: { - title: { - type: 'string', - description: '消息标题', - nullable: true, + type: 'object', + properties: { + title: { + type: 'string', + description: '消息标题', + nullable: true + }, + content: { + type: 'string', + description: '消息内容', + nullable: true + } }, - content: { - type: 'string', - description: '消息内容', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SendCommonMessageInputSchema = { - type: 'object', - properties: { - title: { - type: 'string', - description: '消息标题', - nullable: true, + type: 'object', + properties: { + title: { + type: 'string', + description: '消息标题', + nullable: true + }, + content: { + type: 'string', + description: '消息内容', + nullable: true + }, + receiveUserId: { + type: 'string', + description: '发送人', + format: 'uuid' + }, + receiveUserName: { + type: 'string', + description: '发送人名称', + nullable: true + } }, - content: { - type: 'string', - description: '消息内容', - nullable: true, + additionalProperties: false +} as const; + +export const ServiceProApplicationConfigurationDtoSchema = { + type: 'object', + properties: { + oidcConfiguration: { + '$ref': '#/components/schemas/ApplicationOidcConfigurationDto' + }, + multiTenancy: { + '$ref': '#/components/schemas/MultiTenancyInfoDto' + } }, - receiveUserId: { - type: 'string', - description: '发送人', - format: 'uuid', - }, - receiveUserName: { - type: 'string', - description: '发送人名称', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SetBatchReadInputSchema = { - type: 'object', - properties: { - ids: { - type: 'array', - items: { - type: 'string', - format: 'uuid', - }, - nullable: true, + type: 'object', + properties: { + ids: { + type: 'array', + items: { + type: 'string', + format: 'uuid' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SetDataDictinaryDetailInputSchema = { - required: ['isEnabled'], - type: 'object', - properties: { - dataDictionaryId: { - type: 'string', - format: 'uuid', + required: ['isEnabled'], + type: 'object', + properties: { + dataDictionaryId: { + type: 'string', + format: 'uuid' + }, + dataDictionayDetailId: { + type: 'string', + format: 'uuid' + }, + isEnabled: { + type: 'boolean' + } }, - dataDictionayDetailId: { - type: 'string', - format: 'uuid', - }, - isEnabled: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SetReadInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SettingItemOutputSchema = { - type: 'object', - properties: { - name: { - type: 'string', - description: '名称', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + description: '名称', + nullable: true + }, + displayName: { + type: 'string', + description: '显示名称', + nullable: true + }, + description: { + type: 'string', + description: '描述', + nullable: true + }, + value: { + type: 'string', + description: '值', + nullable: true + }, + type: { + type: 'string', + description: '前端控件类型', + nullable: true + } }, - displayName: { - type: 'string', - description: '显示名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - value: { - type: 'string', - description: '值', - nullable: true, - }, - type: { - type: 'string', - description: '前端控件类型', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const SettingOutputSchema = { - type: 'object', - properties: { - group: { - type: 'string', - description: '分组', - nullable: true, + type: 'object', + properties: { + group: { + type: 'string', + description: '分组', + nullable: true + }, + groupDisplayName: { + type: 'string', + description: '分组显示名称', + nullable: true + }, + settingItemOutput: { + type: 'array', + items: { + '$ref': '#/components/schemas/SettingItemOutput' + }, + nullable: true + } }, - groupDisplayName: { - type: 'string', - description: '分组显示名称', - nullable: true, - }, - settingItemOutput: { - type: 'array', - items: { - $ref: '#/components/schemas/SettingItemOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const StringInt32KeyValuePairSchema = { - type: 'object', - properties: { - key: { - type: 'string', - nullable: true, - }, - value: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const StringStringFromSelectorSchema = { - type: 'object', - properties: { - value: { - type: 'string', - nullable: true, - readOnly: true, + type: 'object', + properties: { + value: { + type: 'string', + nullable: true, + readOnly: true + }, + label: { + type: 'string', + nullable: true, + readOnly: true + } }, - label: { - type: 'string', - nullable: true, - readOnly: true, - }, - }, - additionalProperties: false, -} as const; - -export const TemplateDetailDtoSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - templateId: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - templateType: { - $ref: '#/components/schemas/TemplateType', - }, - controlType: { - $ref: '#/components/schemas/ControlType', - }, - parentId: { - type: 'string', - description: '父级id', - format: 'uuid', - nullable: true, - }, - name: { - type: 'string', - description: '模板名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - }, - additionalProperties: false, - description: '模板明细', -} as const; - -export const TemplateDtoSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - creationTime: { - type: 'string', - format: 'date-time', - }, - creatorId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - lastModificationTime: { - type: 'string', - format: 'date-time', - nullable: true, - }, - lastModifierId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - tenantId: { - type: 'string', - format: 'uuid', - nullable: true, - }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - templateDetails: { - type: 'array', - items: { - $ref: '#/components/schemas/TemplateDetailDto', - }, - description: '关联属性1:N 模板明细集合', - nullable: true, - }, - }, - additionalProperties: false, - description: '模板', -} as const; - -export const TemplateDtoPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/TemplateDto', - }, - nullable: true, - }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, -} as const; - -export const TemplateTreeDtoSchema = { - type: 'object', - properties: { - key: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - templateType: { - $ref: '#/components/schemas/TemplateType', - }, - controlType: { - $ref: '#/components/schemas/ControlType', - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - isFolder: { - type: 'boolean', - description: '是否是文件夹', - }, - name: { - type: 'string', - description: '模板名称', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - title: { - type: 'string', - description: '描述', - nullable: true, - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/TemplateTreeDto', - }, - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const TemplateTypeSchema = { - enum: [10, 20], - type: 'integer', - format: 'int32', - 'x-enumNames': ['Folder', 'File'], - 'x-enum-varnames': ['Folder', 'File'], + additionalProperties: false } as const; export const TenantCreateDtoSchema = { - required: ['adminEmailAddress', 'adminPassword', 'name'], - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + required: ['adminEmailAddress', 'adminPassword', 'name'], + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + name: { + maxLength: 64, + minLength: 0, + type: 'string' + }, + adminEmailAddress: { + maxLength: 256, + minLength: 1, + type: 'string', + format: 'email' + }, + adminPassword: { + maxLength: 128, + minLength: 1, + type: 'string' + } }, - name: { - maxLength: 64, - minLength: 0, - type: 'string', - }, - adminEmailAddress: { - maxLength: 256, - minLength: 1, - type: 'string', - format: 'email', - }, - adminPassword: { - maxLength: 128, - minLength: 1, - type: 'string', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TenantDtoSchema = { - type: 'object', - properties: { - extraProperties: { - type: 'object', - additionalProperties: {}, - nullable: true, - readOnly: true, + type: 'object', + properties: { + extraProperties: { + type: 'object', + additionalProperties: {}, + nullable: true, + readOnly: true + }, + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + }, + concurrencyStamp: { + type: 'string', + nullable: true + } }, - id: { - type: 'string', - format: 'uuid', - }, - name: { - type: 'string', - nullable: true, - }, - concurrencyStamp: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TenantDtoPagedResultDtoSchema = { - type: 'object', - properties: { - items: { - type: 'array', - items: { - $ref: '#/components/schemas/TenantDto', - }, - nullable: true, + type: 'object', + properties: { + items: { + type: 'array', + items: { + '$ref': '#/components/schemas/TenantDto' + }, + nullable: true + }, + totalCount: { + type: 'integer', + format: 'int64' + } }, - totalCount: { - type: 'integer', - format: 'int64', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TimeZoneSchema = { - type: 'object', - properties: { - iana: { - $ref: '#/components/schemas/IanaTimeZone', + type: 'object', + properties: { + iana: { + '$ref': '#/components/schemas/IanaTimeZone' + }, + windows: { + '$ref': '#/components/schemas/WindowsTimeZone' + } }, - windows: { - $ref: '#/components/schemas/WindowsTimeZone', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TimingDtoSchema = { - type: 'object', - properties: { - timeZone: { - $ref: '#/components/schemas/TimeZone', + type: 'object', + properties: { + timeZone: { + '$ref': '#/components/schemas/TimeZone' + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TreeOutputSchema = { - type: 'object', - properties: { - title: { - type: 'string', - nullable: true, + type: 'object', + properties: { + title: { + type: 'string', + nullable: true + }, + key: { + type: 'string', + format: 'uuid' + }, + children: { + type: 'array', + items: { + '$ref': '#/components/schemas/TreeOutput' + }, + nullable: true + } }, - key: { - type: 'string', - format: 'uuid', - }, - children: { - type: 'array', - items: { - $ref: '#/components/schemas/TreeOutput', - }, - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const TypeApiDescriptionModelSchema = { - type: 'object', - properties: { - baseType: { - type: 'string', - nullable: true, - }, - isEnum: { - type: 'boolean', - }, - enumNames: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, - enumValues: { - type: 'array', - items: {}, - nullable: true, - }, - genericArguments: { - type: 'array', - items: { - type: 'string', - }, - nullable: true, - }, + type: 'object', properties: { - type: 'array', - items: { - $ref: '#/components/schemas/PropertyApiDescriptionModel', - }, - nullable: true, + baseType: { + type: 'string', + nullable: true + }, + isEnum: { + type: 'boolean' + }, + enumNames: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + enumValues: { + type: 'array', + items: {}, + nullable: true + }, + genericArguments: { + type: 'array', + items: { + type: 'string' + }, + nullable: true + }, + properties: { + type: 'array', + items: { + '$ref': '#/components/schemas/PropertyApiDescriptionModel' + }, + nullable: true + } }, - }, - additionalProperties: false, -} as const; - -export const UpdateAggregateInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateDataDictinaryInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + code: { + type: 'string', + nullable: true + }, + displayText: { + type: 'string', + nullable: true + }, + description: { + type: 'string', + nullable: true + } }, - code: { - type: 'string', - nullable: true, - }, - displayText: { - type: 'string', - nullable: true, - }, - description: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateDetailInputSchema = { - type: 'object', - properties: { - dataDictionaryId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + dataDictionaryId: { + type: 'string', + format: 'uuid' + }, + id: { + type: 'string', + format: 'uuid' + }, + displayText: { + type: 'string', + nullable: true + }, + description: { + type: 'string', + nullable: true + }, + order: { + type: 'integer', + format: 'int32' + } }, - id: { - type: 'string', - format: 'uuid', - }, - displayText: { - type: 'string', - nullable: true, - }, - description: { - type: 'string', - nullable: true, - }, - order: { - type: 'integer', - format: 'int32', - }, - }, - additionalProperties: false, -} as const; - -export const UpdateEntityModelInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - relationalType: { - $ref: '#/components/schemas/RelationalType', - }, - }, - additionalProperties: false, -} as const; - -export const UpdateEntityModelPropertyInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - propertyId: { - type: 'string', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - isRequired: { - type: 'boolean', - description: '必填', - }, - maxLength: { - type: 'integer', - description: '字符串最大长度', - format: 'int32', - nullable: true, - }, - minLength: { - type: 'integer', - description: '字符串最小长度', - format: 'int32', - nullable: true, - }, - decimalPrecision: { - type: 'integer', - description: '当类型为decimal时的小数位数 (18,4) 中的18', - format: 'int32', - nullable: true, - }, - decimalScale: { - type: 'integer', - description: '当类型为decimal时的字段长度 (18,4) 中的4', - format: 'int32', - nullable: true, - }, - enumTypeId: { - type: 'string', - description: '枚举类型Id', - format: 'uuid', - nullable: true, - }, - dataTypeId: { - type: 'string', - description: '数据类型Id', - format: 'uuid', - nullable: true, - }, - entityModelId: { - type: 'string', - description: '实体模型Id', - format: 'uuid', - }, - allowSearch: { - type: 'boolean', - description: '允许作为查询条件', - }, - allowAdd: { - type: 'boolean', - description: '允许添加', - }, - allowEdit: { - type: 'boolean', - description: '允许编辑', - }, - }, - additionalProperties: false, -} as const; - -export const UpdateEnumTypeInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - }, - additionalProperties: false, -} as const; - -export const UpdateEnumTypePropertyInputSchema = { - required: ['code', 'description'], - type: 'object', - properties: { - enumTypeId: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - id: { - type: 'string', - description: 'Id', - format: 'uuid', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - value: { - type: 'integer', - description: '枚举值', - format: 'int32', - }, - description: { - minLength: 1, - type: 'string', - description: '描述', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateFeatureDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + value: { + type: 'string', + nullable: true + } }, - value: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateFeatureInputSchema = { - type: 'object', - properties: { - providerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + providerName: { + type: 'string', + nullable: true + }, + providerKey: { + type: 'string', + nullable: true + }, + updateFeaturesDto: { + '$ref': '#/components/schemas/UpdateFeaturesDto' + } }, - providerKey: { - type: 'string', - nullable: true, - }, - updateFeaturesDto: { - $ref: '#/components/schemas/UpdateFeaturesDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateFeaturesDtoSchema = { - type: 'object', - properties: { - features: { - type: 'array', - items: { - $ref: '#/components/schemas/UpdateFeatureDto', - }, - nullable: true, + type: 'object', + properties: { + features: { + type: 'array', + items: { + '$ref': '#/components/schemas/UpdateFeatureDto' + }, + nullable: true + } }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateLanguageInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - description: '语言Id', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + description: '语言Id', + format: 'uuid' + }, + cultureName: { + type: 'string', + description: '语言名称', + nullable: true + }, + uiCultureName: { + type: 'string', + description: 'Ui语言名称', + nullable: true + }, + displayName: { + type: 'string', + description: '显示名称', + nullable: true + }, + flagIcon: { + type: 'string', + description: '图标', + nullable: true + }, + isEnabled: { + type: 'boolean', + description: '是否启用' + } }, - cultureName: { - type: 'string', - description: '语言名称', - nullable: true, - }, - uiCultureName: { - type: 'string', - description: 'Ui语言名称', - nullable: true, - }, - displayName: { - type: 'string', - description: '显示名称', - nullable: true, - }, - flagIcon: { - type: 'string', - description: '图标', - nullable: true, - }, - isEnabled: { - type: 'boolean', - description: '是否启用', - }, - }, - additionalProperties: false, - description: '删除语言', + additionalProperties: false, + description: '删除语言' } as const; export const UpdateLanguageTextInputSchema = { - required: ['cultureName', 'name', 'resourceName', 'value'], - type: 'object', - properties: { - resourceName: { - minLength: 1, - type: 'string', - description: '资源名称', + required: ['cultureName', 'name', 'resourceName', 'value'], + type: 'object', + properties: { + resourceName: { + minLength: 1, + type: 'string', + description: '资源名称' + }, + cultureName: { + minLength: 1, + type: 'string', + description: '语言名称' + }, + name: { + minLength: 1, + type: 'string', + description: '名称' + }, + value: { + minLength: 1, + type: 'string', + description: '值' + } }, - cultureName: { - minLength: 1, - type: 'string', - description: '语言名称', - }, - name: { - minLength: 1, - type: 'string', - description: '名称', - }, - value: { - minLength: 1, - type: 'string', - description: '值', - }, - }, - additionalProperties: false, - description: '删除语言文本', + additionalProperties: false, + description: '删除语言文本' } as const; export const UpdateMenuInputSchema = { - required: ['hideInMenu', 'keepAlive', 'name', 'order', 'path', 'title'], - type: 'object', - properties: { - id: { - type: 'string', - description: '菜单Id', - format: 'uuid', + required: ['hideInMenu', 'keepAlive', 'name', 'order', 'path', 'title'], + type: 'object', + properties: { + id: { + type: 'string', + description: '菜单Id', + format: 'uuid' + }, + name: { + minLength: 1, + type: 'string', + description: '唯一编码' + }, + title: { + minLength: 1, + type: 'string', + description: '标题' + }, + icon: { + type: 'string', + description: '图标', + nullable: true + }, + keepAlive: { + type: 'boolean', + description: '是否缓存' + }, + hideInMenu: { + type: 'boolean', + description: '是否显示' + }, + order: { + type: 'integer', + description: '排序', + format: 'int32' + }, + path: { + minLength: 1, + type: 'string', + description: '路由地址' + }, + menuType: { + '$ref': '#/components/schemas/MenuType' + }, + openType: { + '$ref': '#/components/schemas/OpenType' + }, + url: { + type: 'string', + description: '内外链地址', + nullable: true + }, + component: { + type: 'string', + description: '组件地址', + nullable: true + }, + enabled: { + type: 'boolean' + }, + policy: { + type: 'string', + description: '权限', + nullable: true + } }, - name: { - minLength: 1, - type: 'string', - description: '唯一编码', - }, - title: { - minLength: 1, - type: 'string', - description: '标题', - }, - icon: { - type: 'string', - description: '图标', - nullable: true, - }, - keepAlive: { - type: 'boolean', - description: '是否缓存', - }, - hideInMenu: { - type: 'boolean', - description: '是否显示', - }, - order: { - type: 'integer', - description: '排序', - format: 'int32', - }, - path: { - minLength: 1, - type: 'string', - description: '路由地址', - }, - menuType: { - $ref: '#/components/schemas/MenuType', - }, - openType: { - $ref: '#/components/schemas/OpenType', - }, - url: { - type: 'string', - description: '内外链地址', - nullable: true, - }, - component: { - type: 'string', - description: '组件地址', - nullable: true, - }, - enabled: { - type: 'boolean', - }, - policy: { - type: 'string', - description: '权限', - nullable: true, - }, - }, - additionalProperties: false, - description: '更新菜单', + additionalProperties: false, + description: '更新菜单' } as const; export const UpdateOrganizationUnitInputSchema = { - type: 'object', - properties: { - displayName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + displayName: { + type: 'string', + nullable: true + }, + id: { + type: 'string', + format: 'uuid' + } }, - id: { - type: 'string', - format: 'uuid', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdatePermissionDtoSchema = { - type: 'object', - properties: { - name: { - type: 'string', - nullable: true, + type: 'object', + properties: { + name: { + type: 'string', + nullable: true + }, + isGranted: { + type: 'boolean' + } }, - isGranted: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdatePermissionsDtoSchema = { - type: 'object', - properties: { - permissions: { - type: 'array', - items: { - $ref: '#/components/schemas/UpdatePermissionDto', - }, - nullable: true, + type: 'object', + properties: { + permissions: { + type: 'array', + items: { + '$ref': '#/components/schemas/UpdatePermissionDto' + }, + nullable: true + } }, - }, - additionalProperties: false, -} as const; - -export const UpdateProjectInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - owner: { - type: 'string', - description: '负责人', - nullable: true, - }, - companyName: { - type: 'string', - description: '公司名称', - nullable: true, - }, - projectName: { - type: 'string', - description: '项目名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - supportTenant: { - type: 'boolean', - description: '是否支持多租户', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateRoleInputSchema = { - type: 'object', - properties: { - roleId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + roleId: { + type: 'string', + format: 'uuid' + }, + roleInfo: { + '$ref': '#/components/schemas/IdentityRoleUpdateDto' + } }, - roleInfo: { - $ref: '#/components/schemas/IdentityRoleUpdateDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateRolePermissionsInputSchema = { - type: 'object', - properties: { - providerName: { - type: 'string', - nullable: true, + type: 'object', + properties: { + providerName: { + type: 'string', + nullable: true + }, + providerKey: { + type: 'string', + nullable: true + }, + updatePermissionsDto: { + '$ref': '#/components/schemas/UpdatePermissionsDto' + } }, - providerKey: { - type: 'string', - nullable: true, - }, - updatePermissionsDto: { - $ref: '#/components/schemas/UpdatePermissionsDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateSettingInputSchema = { - type: 'object', - properties: { - values: { - type: 'object', - additionalProperties: { - type: 'string', - nullable: true, - }, - nullable: true, + type: 'object', + properties: { + values: { + type: 'object', + additionalProperties: { + type: 'string', + nullable: true + }, + nullable: true + } }, - }, - additionalProperties: false, -} as const; - -export const UpdateTemplateDetailContentInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - templateDetailId: { - type: 'string', - format: 'uuid', - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const UpdateTemplateDetailInputSchema = { - type: 'object', - properties: { - templateId: { - type: 'string', - description: '模板id', - format: 'uuid', - }, - templateDetailId: { - type: 'string', - format: 'uuid', - }, - controlType: { - $ref: '#/components/schemas/ControlType', - }, - name: { - type: 'string', - description: '模板类型', - nullable: true, - }, - description: { - type: 'string', - description: '描述', - nullable: true, - }, - content: { - type: 'string', - description: '模板内容', - nullable: true, - }, - }, - additionalProperties: false, -} as const; - -export const UpdateTemplateInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', - }, - name: { - type: 'string', - description: '名称', - nullable: true, - }, - remark: { - type: 'string', - description: '备注', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateTenantInputSchema = { - type: 'object', - properties: { - id: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + id: { + type: 'string', + format: 'uuid' + }, + name: { + type: 'string', + nullable: true + } }, - name: { - type: 'string', - nullable: true, - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UpdateTextTemplateInputSchema = { - required: ['code', 'content', 'cultureName', 'name'], - type: 'object', - properties: { - id: { - type: 'string', - description: '模板Id', - format: 'uuid', + required: ['code', 'content', 'cultureName', 'name'], + type: 'object', + properties: { + id: { + type: 'string', + description: '模板Id', + format: 'uuid' + }, + name: { + minLength: 1, + type: 'string', + description: '名称' + }, + code: { + minLength: 1, + type: 'string', + description: '编码' + }, + content: { + minLength: 1, + type: 'string', + description: '内容' + }, + cultureName: { + minLength: 1, + type: 'string', + description: '语言' + } }, - name: { - minLength: 1, - type: 'string', - description: '名称', - }, - code: { - minLength: 1, - type: 'string', - description: '编码', - }, - content: { - minLength: 1, - type: 'string', - description: '内容', - }, - cultureName: { - minLength: 1, - type: 'string', - description: '语言', - }, - }, - additionalProperties: false, - description: '更新模板', + additionalProperties: false, + description: '更新模板' } as const; export const UpdateUserInputSchema = { - type: 'object', - properties: { - userId: { - type: 'string', - format: 'uuid', + type: 'object', + properties: { + userId: { + type: 'string', + format: 'uuid' + }, + userInfo: { + '$ref': '#/components/schemas/IdentityUserUpdateDto' + } }, - userInfo: { - $ref: '#/components/schemas/IdentityUserUpdateDto', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const UserLoginInfoSchema = { - required: ['password', 'userNameOrEmailAddress'], - type: 'object', - properties: { - userNameOrEmailAddress: { - maxLength: 255, - minLength: 0, - type: 'string', + required: ['password', 'userNameOrEmailAddress'], + type: 'object', + properties: { + userNameOrEmailAddress: { + maxLength: 255, + minLength: 0, + type: 'string' + }, + password: { + maxLength: 32, + minLength: 0, + type: 'string', + format: 'password' + }, + rememberMe: { + type: 'boolean' + } }, - password: { - maxLength: 32, - minLength: 0, - type: 'string', - format: 'password', - }, - rememberMe: { - type: 'boolean', - }, - }, - additionalProperties: false, + additionalProperties: false } as const; export const WindowsTimeZoneSchema = { - type: 'object', - properties: { - timeZoneId: { - type: 'string', - nullable: true, + type: 'object', + properties: { + timeZoneId: { + type: 'string', + nullable: true + } }, - }, - additionalProperties: false, -} as const; + additionalProperties: false +} as const; \ No newline at end of file diff --git a/apps/web-antd/src/api-client/services.gen.ts b/apps/web-antd/src/api-client/services.gen.ts index 8a012c9..6cd902e 100644 --- a/apps/web-antd/src/api-client/services.gen.ts +++ b/apps/web-antd/src/api-client/services.gen.ts @@ -1,2947 +1,1167 @@ // This file is auto-generated by @hey-api/openapi-ts -import type { Options, OptionsLegacyParser } from '@hey-api/client-axios'; - -import type { - GetApiAbpApiDefinitionData, - GetApiAbpApiDefinitionError, - GetApiAbpApiDefinitionResponse, - GetApiAbpApplicationConfigurationData, - GetApiAbpApplicationConfigurationError, - GetApiAbpApplicationConfigurationResponse, - GetApiAbpApplicationLocalizationData, - GetApiAbpApplicationLocalizationError, - GetApiAbpApplicationLocalizationResponse, - GetApiAppAbpProBasicApplicationConfigurationError, - GetApiAppAbpProBasicApplicationConfigurationResponse, - PostApiAppAccountLogin2FaData, - PostApiAppAccountLogin2FaError, - PostApiAppAccountLogin2FaResponse, - PostApiAppAccountLoginData, - PostApiAppAccountLoginError, - PostApiAppAccountLoginOidcData, - PostApiAppAccountLoginOidcError, - PostApiAppAccountLoginOidcResponse, - PostApiAppAccountLoginResponse, - PostApiAppAccountRefreshTokenData, - PostApiAppAccountRefreshTokenError, - PostApiAppAccountRefreshTokenResponse, - PostAuditLogsPageData, - PostAuditLogsPageError, - PostAuditLogsPageResponse, - PostDataDictionaryCreateData, - PostDataDictionaryCreateDetailData, - PostDataDictionaryCreateDetailError, - PostDataDictionaryCreateDetailResponse, - PostDataDictionaryCreateError, - PostDataDictionaryCreateResponse, - PostDataDictionaryDeleteData, - PostDataDictionaryDeleteDataDictionaryTypeData, - PostDataDictionaryDeleteDataDictionaryTypeError, - PostDataDictionaryDeleteDataDictionaryTypeResponse, - PostDataDictionaryDeleteError, - PostDataDictionaryDeleteResponse, - PostDataDictionaryPageData, - PostDataDictionaryPageDetailData, - PostDataDictionaryPageDetailError, - PostDataDictionaryPageDetailResponse, - PostDataDictionaryPageError, - PostDataDictionaryPageResponse, - PostDataDictionaryStatusData, - PostDataDictionaryStatusError, - PostDataDictionaryStatusResponse, - PostDataDictionaryUpdateData, - PostDataDictionaryUpdateDetailData, - PostDataDictionaryUpdateDetailError, - PostDataDictionaryUpdateDetailResponse, - PostDataDictionaryUpdateError, - PostDataDictionaryUpdateResponse, - PostDataTypesListData, - PostDataTypesListError, - PostDataTypesListResponse, - PostEntityModelsCreateAggregateData, - PostEntityModelsCreateAggregateError, - PostEntityModelsCreateAggregateResponse, - PostEntityModelsCreateEntityModelData, - PostEntityModelsCreateEntityModelError, - PostEntityModelsCreateEntityModelPropertyData, - PostEntityModelsCreateEntityModelPropertyError, - PostEntityModelsCreateEntityModelPropertyResponse, - PostEntityModelsCreateEntityModelResponse, - PostEntityModelsDeleteAggregateData, - PostEntityModelsDeleteAggregateError, - PostEntityModelsDeleteAggregateResponse, - PostEntityModelsDeleteEntityModelData, - PostEntityModelsDeleteEntityModelError, - PostEntityModelsDeleteEntityModelPropertyData, - PostEntityModelsDeleteEntityModelPropertyError, - PostEntityModelsDeleteEntityModelPropertyResponse, - PostEntityModelsDeleteEntityModelResponse, - PostEntityModelsGetData, - PostEntityModelsGetError, - PostEntityModelsGetResponse, - PostEntityModelsPagePropertyData, - PostEntityModelsPagePropertyError, - PostEntityModelsPagePropertyResponse, - PostEntityModelsTreeData, - PostEntityModelsTreeError, - PostEntityModelsTreeResponse, - PostEntityModelsUpdateAggregateData, - PostEntityModelsUpdateAggregateError, - PostEntityModelsUpdateAggregateResponse, - PostEntityModelsUpdateEntityModelData, - PostEntityModelsUpdateEntityModelError, - PostEntityModelsUpdateEntityModelPropertyData, - PostEntityModelsUpdateEntityModelPropertyError, - PostEntityModelsUpdateEntityModelPropertyResponse, - PostEntityModelsUpdateEntityModelResponse, - PostEnumTypesCreateEnumTypeData, - PostEnumTypesCreateEnumTypeError, - PostEnumTypesCreateEnumTypePropertyData, - PostEnumTypesCreateEnumTypePropertyError, - PostEnumTypesCreateEnumTypePropertyResponse, - PostEnumTypesCreateEnumTypeResponse, - PostEnumTypesDeleteEnumTypeData, - PostEnumTypesDeleteEnumTypeError, - PostEnumTypesDeleteEnumTypePropertyData, - PostEnumTypesDeleteEnumTypePropertyError, - PostEnumTypesDeleteEnumTypePropertyResponse, - PostEnumTypesDeleteEnumTypeResponse, - PostEnumTypesPageData, - PostEnumTypesPageError, - PostEnumTypesPagePropertyData, - PostEnumTypesPagePropertyError, - PostEnumTypesPagePropertyResponse, - PostEnumTypesPageResponse, - PostEnumTypesUpdateEnumTypeData, - PostEnumTypesUpdateEnumTypeError, - PostEnumTypesUpdateEnumTypePropertyData, - PostEnumTypesUpdateEnumTypePropertyError, - PostEnumTypesUpdateEnumTypePropertyResponse, - PostEnumTypesUpdateEnumTypeResponse, - PostFeaturesDeleteData, - PostFeaturesDeleteError, - PostFeaturesDeleteResponse, - PostFeaturesListData, - PostFeaturesListError, - PostFeaturesListResponse, - PostFeaturesUpdateData, - PostFeaturesUpdateError, - PostFeaturesUpdateResponse, - PostFilesDeleteData, - PostFilesDeleteError, - PostFilesDeleteResponse, - PostFilesDownloadData, - PostFilesDownloadError, - PostFilesDownloadResponse, - PostFilesPageData, - PostFilesPageError, - PostFilesPageResponse, - PostFilesUploadData, - PostFilesUploadError, - PostFilesUploadResponse, - PostGeneratorDownData, - PostGeneratorDownError, - PostGeneratorDownResponse, - PostGeneratorPreViewCodeData, - PostGeneratorPreViewCodeError, - PostGeneratorPreViewCodeResponse, - PostIdentitySecurityLogsPageData, - PostIdentitySecurityLogsPageError, - PostIdentitySecurityLogsPageResponse, - PostLanguagesAllError, - PostLanguagesAllResponse, - PostLanguagesCreateData, - PostLanguagesCreateError, - PostLanguagesCreateResponse, - PostLanguagesDeleteData, - PostLanguagesDeleteError, - PostLanguagesDeleteResponse, - PostLanguagesPageData, - PostLanguagesPageError, - PostLanguagesPageResponse, - PostLanguagesSetDefaultData, - PostLanguagesSetDefaultError, - PostLanguagesSetDefaultResponse, - PostLanguagesUpdateData, - PostLanguagesUpdateError, - PostLanguagesUpdateResponse, - PostLanguageTextsAllResourceError, - PostLanguageTextsAllResourceResponse, - PostLanguageTextsCreateData, - PostLanguageTextsCreateError, - PostLanguageTextsCreateResponse, - PostLanguageTextsPageData, - PostLanguageTextsPageError, - PostLanguageTextsPageResponse, - PostLanguageTextsUpdateData, - PostLanguageTextsUpdateError, - PostLanguageTextsUpdateResponse, - PostMenusCreateData, - PostMenusCreateError, - PostMenusCreateResponse, - PostMenusDeleteData, - PostMenusDeleteError, - PostMenusDeleteResponse, - PostMenusPageData, - PostMenusPageError, - PostMenusPageResponse, - PostMenusTreeError, - PostMenusTreeResponse, - PostMenusUpdateData, - PostMenusUpdateError, - PostMenusUpdateResponse, - PostMenusUserMenuError, - PostMenusUserMenuResponse, - PostNotificationBatchReadData, - PostNotificationBatchReadError, - PostNotificationBatchReadResponse, - PostNotificationDeleteData, - PostNotificationDeleteError, - PostNotificationDeleteResponse, - PostNotificationNotificationPageData, - PostNotificationNotificationPageError, - PostNotificationNotificationPageResponse, - PostNotificationNotificationSubscriptionPageData, - PostNotificationNotificationSubscriptionPageError, - PostNotificationNotificationSubscriptionPageResponse, - PostNotificationReadData, - PostNotificationReadError, - PostNotificationReadResponse, - PostNotificationSendBroadCastErrorMessageData, - PostNotificationSendBroadCastErrorMessageError, - PostNotificationSendBroadCastErrorMessageResponse, - PostNotificationSendBroadCastInformationMessageData, - PostNotificationSendBroadCastInformationMessageError, - PostNotificationSendBroadCastInformationMessageResponse, - PostNotificationSendBroadCastWarningMessageData, - PostNotificationSendBroadCastWarningMessageError, - PostNotificationSendBroadCastWarningMessageResponse, - PostNotificationSendCommonErrorMessageData, - PostNotificationSendCommonErrorMessageError, - PostNotificationSendCommonErrorMessageResponse, - PostNotificationSendCommonInformationMessageData, - PostNotificationSendCommonInformationMessageError, - PostNotificationSendCommonInformationMessageResponse, - PostNotificationSendCommonWarningMessageData, - PostNotificationSendCommonWarningMessageError, - PostNotificationSendCommonWarningMessageResponse, - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, - PostOrganizationUnitsAddUserToOrganizationUnitData, - PostOrganizationUnitsAddUserToOrganizationUnitError, - PostOrganizationUnitsAddUserToOrganizationUnitResponse, - PostOrganizationUnitsCreateData, - PostOrganizationUnitsCreateError, - PostOrganizationUnitsCreateResponse, - PostOrganizationUnitsDeleteData, - PostOrganizationUnitsDeleteError, - PostOrganizationUnitsDeleteResponse, - PostOrganizationUnitsGetRolesData, - PostOrganizationUnitsGetRolesError, - PostOrganizationUnitsGetRolesResponse, - PostOrganizationUnitsGetUnAddRolesData, - PostOrganizationUnitsGetUnAddRolesError, - PostOrganizationUnitsGetUnAddRolesResponse, - PostOrganizationUnitsGetUnAddUsersData, - PostOrganizationUnitsGetUnAddUsersError, - PostOrganizationUnitsGetUnAddUsersResponse, - PostOrganizationUnitsGetUsersData, - PostOrganizationUnitsGetUsersError, - PostOrganizationUnitsGetUsersResponse, - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, - PostOrganizationUnitsRemoveUserFromOrganizationUnitData, - PostOrganizationUnitsRemoveUserFromOrganizationUnitError, - PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, - PostOrganizationUnitsTreeError, - PostOrganizationUnitsTreeResponse, - PostOrganizationUnitsUpdateData, - PostOrganizationUnitsUpdateError, - PostOrganizationUnitsUpdateResponse, - PostPermissionsTreeData, - PostPermissionsTreeError, - PostPermissionsTreeResponse, - PostPermissionsUpdateData, - PostPermissionsUpdateError, - PostPermissionsUpdateResponse, - PostProjectsAllError, - PostProjectsAllResponse, - PostProjectsCreateData, - PostProjectsCreateError, - PostProjectsCreateResponse, - PostProjectsDeleteData, - PostProjectsDeleteError, - PostProjectsDeleteResponse, - PostProjectsGetProjectAndEntityData, - PostProjectsGetProjectAndEntityError, - PostProjectsGetProjectAndEntityResponse, - PostProjectsPageData, - PostProjectsPageError, - PostProjectsPageResponse, - PostProjectsUpdateData, - PostProjectsUpdateError, - PostProjectsUpdateResponse, - PostRolesAllError, - PostRolesAllResponse, - PostRolesCreateData, - PostRolesCreateError, - PostRolesCreateResponse, - PostRolesDeleteData, - PostRolesDeleteError, - PostRolesDeleteResponse, - PostRolesPageData, - PostRolesPageError, - PostRolesPageResponse, - PostRolesUpdateData, - PostRolesUpdateError, - PostRolesUpdateResponse, - PostSettingsAllError, - PostSettingsAllResponse, - PostSettingsUpdateData, - PostSettingsUpdateError, - PostSettingsUpdateResponse, - PostTemplatesAllError, - PostTemplatesAllResponse, - PostTemplatesControlTypeError, - PostTemplatesControlTypeResponse, - PostTemplatesCopyData, - PostTemplatesCopyError, - PostTemplatesCopyResponse, - PostTemplatesCreateData, - PostTemplatesCreateDetailData, - PostTemplatesCreateDetailError, - PostTemplatesCreateDetailResponse, - PostTemplatesCreateError, - PostTemplatesCreateResponse, - PostTemplatesDeleteData, - PostTemplatesDeleteDetailData, - PostTemplatesDeleteDetailError, - PostTemplatesDeleteDetailResponse, - PostTemplatesDeleteError, - PostTemplatesDeleteResponse, - PostTemplatesListError, - PostTemplatesListResponse, - PostTemplatesPageData, - PostTemplatesPageError, - PostTemplatesPageResponse, - PostTemplatesTemplateTypeError, - PostTemplatesTemplateTypeResponse, - PostTemplatesTreeData, - PostTemplatesTreeError, - PostTemplatesTreeResponse, - PostTemplatesUpdateData, - PostTemplatesUpdateDetailContentData, - PostTemplatesUpdateDetailContentError, - PostTemplatesUpdateDetailContentResponse, - PostTemplatesUpdateDetailData, - PostTemplatesUpdateDetailError, - PostTemplatesUpdateDetailResponse, - PostTemplatesUpdateError, - PostTemplatesUpdateResponse, - PostTenantsAddOrUpdateConnectionStringData, - PostTenantsAddOrUpdateConnectionStringError, - PostTenantsAddOrUpdateConnectionStringResponse, - PostTenantsCreateData, - PostTenantsCreateError, - PostTenantsCreateResponse, - PostTenantsDeleteConnectionStringData, - PostTenantsDeleteConnectionStringError, - PostTenantsDeleteConnectionStringResponse, - PostTenantsDeleteData, - PostTenantsDeleteError, - PostTenantsDeleteResponse, - PostTenantsFindData, - PostTenantsFindError, - PostTenantsFindResponse, - PostTenantsPageConnectionStringData, - PostTenantsPageConnectionStringError, - PostTenantsPageConnectionStringResponse, - PostTenantsPageData, - PostTenantsPageError, - PostTenantsPageResponse, - PostTenantsUpdateData, - PostTenantsUpdateError, - PostTenantsUpdateResponse, - PostTextTemplatesCreateData, - PostTextTemplatesCreateError, - PostTextTemplatesCreateResponse, - PostTextTemplatesDeleteData, - PostTextTemplatesDeleteError, - PostTextTemplatesDeleteResponse, - PostTextTemplatesExportData, - PostTextTemplatesExportError, - PostTextTemplatesExportResponse, - PostTextTemplatesPageData, - PostTextTemplatesPageError, - PostTextTemplatesPageResponse, - PostTextTemplatesUpdateData, - PostTextTemplatesUpdateError, - PostTextTemplatesUpdateResponse, - PostUsersCanUseTwoFactorError, - PostUsersCanUseTwoFactorResponse, - PostUsersChangePasswordData, - PostUsersChangePasswordError, - PostUsersChangePasswordResponse, - PostUsersCreateData, - PostUsersCreateError, - PostUsersCreateResponse, - PostUsersDeleteData, - PostUsersDeleteError, - PostUsersDeleteResponse, - PostUsersDisabledTwoFactorData, - PostUsersDisabledTwoFactorError, - PostUsersDisabledTwoFactorResponse, - PostUsersEnabledTwoFactorData, - PostUsersEnabledTwoFactorError, - PostUsersEnabledTwoFactorResponse, - PostUsersExportData, - PostUsersExportError, - PostUsersExportResponse, - PostUsersFindByUserNameData, - PostUsersFindByUserNameError, - PostUsersFindByUserNameResponse, - PostUsersGetQrCodeError, - PostUsersGetQrCodeResponse, - PostUsersListData, - PostUsersListError, - PostUsersListResponse, - PostUsersLockData, - PostUsersLockError, - PostUsersLockResponse, - PostUsersMyProfileError, - PostUsersMyProfileResponse, - PostUsersNeedChangePasswordError, - PostUsersNeedChangePasswordResponse, - PostUsersPageData, - PostUsersPageError, - PostUsersPageResponse, - PostUsersResetPasswordData, - PostUsersResetPasswordError, - PostUsersResetPasswordResponse, - PostUsersResetTwoFactorData, - PostUsersResetTwoFactorError, - PostUsersResetTwoFactorResponse, - PostUsersRoleData, - PostUsersRoleError, - PostUsersRoleResponse, - PostUsersUpdateData, - PostUsersUpdateError, - PostUsersUpdateResponse, -} from './types.gen'; - -import { - createClient, - createConfig, - formDataBodySerializer, -} from '@hey-api/client-axios'; +import { createClient, createConfig, type Options, formDataBodySerializer } from '@hey-api/client-axios'; +import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionError, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationError, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationError, GetApiAbpApplicationLocalizationResponse, PostApiAppAccountLoginData, PostApiAppAccountLoginError, PostApiAppAccountLoginResponse, PostApiAppAccountLogin2FaData, PostApiAppAccountLogin2FaError, PostApiAppAccountLogin2FaResponse, PostApiAppAccountLoginOidcData, PostApiAppAccountLoginOidcError, PostApiAppAccountLoginOidcResponse, PostApiAppAccountRefreshTokenData, PostApiAppAccountRefreshTokenError, PostApiAppAccountRefreshTokenResponse, PostApiAppAccountLogoutError, PostApiAppAccountLogoutResponse, PostAuditLogsPageData, PostAuditLogsPageError, PostAuditLogsPageResponse, PostAggregationBusinessReceiveCommandInfoAsyncData, PostAggregationBusinessReceiveCommandInfoAsyncError, PostAggregationBusinessReceiveCommandInfoAsyncResponse, GetCommonGetSelectListData, GetCommonGetSelectListError, GetCommonGetSelectListResponse, PostCtWingServiceReceiveStatusChangeError, PostCtWingServiceReceiveStatusChangeResponse, PostCtWingServiceReceiveDataChangeError, PostCtWingServiceReceiveDataChangeResponse, PostCtWingServiceReceiveCommandChangeError, PostCtWingServiceReceiveCommandChangeResponse, PostCtWingServiceReceiveEventChangeError, PostCtWingServiceReceiveEventChangeResponse, PostCtWingServiceReceiveDeviceChangeError, PostCtWingServiceReceiveDeviceChangeResponse, PostDataDictionaryPageData, PostDataDictionaryPageError, PostDataDictionaryPageResponse, PostDataDictionaryPageDetailData, PostDataDictionaryPageDetailError, PostDataDictionaryPageDetailResponse, PostDataDictionaryCreateData, PostDataDictionaryCreateError, PostDataDictionaryCreateResponse, PostDataDictionaryCreateDetailData, PostDataDictionaryCreateDetailError, PostDataDictionaryCreateDetailResponse, PostDataDictionaryStatusData, PostDataDictionaryStatusError, PostDataDictionaryStatusResponse, PostDataDictionaryUpdateDetailData, PostDataDictionaryUpdateDetailError, PostDataDictionaryUpdateDetailResponse, PostDataDictionaryDeleteData, PostDataDictionaryDeleteError, PostDataDictionaryDeleteResponse, PostDataDictionaryDeleteDataDictionaryTypeData, PostDataDictionaryDeleteDataDictionaryTypeError, PostDataDictionaryDeleteDataDictionaryTypeResponse, PostDataDictionaryUpdateData, PostDataDictionaryUpdateError, PostDataDictionaryUpdateResponse, PostAggregationDeviceCreateAsyncData, PostAggregationDeviceCreateAsyncError, PostAggregationDeviceCreateAsyncResponse, PostAggregationDeviceDeleteAsyncData, PostAggregationDeviceDeleteAsyncError, PostAggregationDeviceDeleteAsyncResponse, PostAggregationDeviceFindByIdAsyncData, PostAggregationDeviceFindByIdAsyncError, PostAggregationDeviceFindByIdAsyncResponse, PostDeviceInfoFindByDeviceAddressData, PostDeviceInfoFindByDeviceAddressError, PostDeviceInfoFindByDeviceAddressResponse, PostDeviceInfoPageData, PostDeviceInfoPageError, PostDeviceInfoPageResponse, PostDeviceInfoCacheDeviceDataToRedisError, PostDeviceInfoCacheDeviceDataToRedisResponse, PostDeviceInfoArchivesDownData, PostDeviceInfoArchivesDownError, PostDeviceInfoArchivesDownResponse, PostFeaturesListData, PostFeaturesListError, PostFeaturesListResponse, PostFeaturesUpdateData, PostFeaturesUpdateError, PostFeaturesUpdateResponse, PostFeaturesDeleteData, PostFeaturesDeleteError, PostFeaturesDeleteResponse, PostFilesPageData, PostFilesPageError, PostFilesPageResponse, PostFilesUploadData, PostFilesUploadError, PostFilesUploadResponse, PostFilesDeleteData, PostFilesDeleteError, PostFilesDeleteResponse, PostFilesDownloadData, PostFilesDownloadError, PostFilesDownloadResponse, PostIdentitySecurityLogsPageData, PostIdentitySecurityLogsPageError, PostIdentitySecurityLogsPageResponse, PostLanguagesAllError, PostLanguagesAllResponse, PostLanguagesPageData, PostLanguagesPageError, PostLanguagesPageResponse, PostLanguagesCreateData, PostLanguagesCreateError, PostLanguagesCreateResponse, PostLanguagesUpdateData, PostLanguagesUpdateError, PostLanguagesUpdateResponse, PostLanguagesDeleteData, PostLanguagesDeleteError, PostLanguagesDeleteResponse, PostLanguagesSetDefaultData, PostLanguagesSetDefaultError, PostLanguagesSetDefaultResponse, PostLanguageTextsAllResourceError, PostLanguageTextsAllResourceResponse, PostLanguageTextsPageData, PostLanguageTextsPageError, PostLanguageTextsPageResponse, PostLanguageTextsCreateData, PostLanguageTextsCreateError, PostLanguageTextsCreateResponse, PostLanguageTextsUpdateData, PostLanguageTextsUpdateError, PostLanguageTextsUpdateResponse, PostMenusUserMenuError, PostMenusUserMenuResponse, PostMenusPageData, PostMenusPageError, PostMenusPageResponse, PostMenusCreateData, PostMenusCreateError, PostMenusCreateResponse, PostMenusUpdateData, PostMenusUpdateError, PostMenusUpdateResponse, PostMenusDeleteData, PostMenusDeleteError, PostMenusDeleteResponse, PostMenusTreeError, PostMenusTreeResponse, PostNotificationNotificationPageData, PostNotificationNotificationPageError, PostNotificationNotificationPageResponse, PostNotificationNotificationSubscriptionPageData, PostNotificationNotificationSubscriptionPageError, PostNotificationNotificationSubscriptionPageResponse, PostNotificationDeleteData, PostNotificationDeleteError, PostNotificationDeleteResponse, PostNotificationSendCommonWarningMessageData, PostNotificationSendCommonWarningMessageError, PostNotificationSendCommonWarningMessageResponse, PostNotificationSendCommonInformationMessageData, PostNotificationSendCommonInformationMessageError, PostNotificationSendCommonInformationMessageResponse, PostNotificationSendCommonErrorMessageData, PostNotificationSendCommonErrorMessageError, PostNotificationSendCommonErrorMessageResponse, PostNotificationSendBroadCastWarningMessageData, PostNotificationSendBroadCastWarningMessageError, PostNotificationSendBroadCastWarningMessageResponse, PostNotificationSendBroadCastInformationMessageData, PostNotificationSendBroadCastInformationMessageError, PostNotificationSendBroadCastInformationMessageResponse, PostNotificationSendBroadCastErrorMessageData, PostNotificationSendBroadCastErrorMessageError, PostNotificationSendBroadCastErrorMessageResponse, PostNotificationReadData, PostNotificationReadError, PostNotificationReadResponse, PostNotificationBatchReadData, PostNotificationBatchReadError, PostNotificationBatchReadResponse, PostOneNetAccountInsertAsyncData, PostOneNetAccountInsertAsyncError, PostOneNetAccountInsertAsyncResponse, PostOneNetAccountModifyAsyncData, PostOneNetAccountModifyAsyncError, PostOneNetAccountModifyAsyncResponse, PostOneNetAccountDeleteAsyncData, PostOneNetAccountDeleteAsyncError, PostOneNetAccountDeleteAsyncResponse, PostOneNetAccountListAsyncData, PostOneNetAccountListAsyncError, PostOneNetAccountListAsyncResponse, PostAggregationOneNetReceiveWorkshopProductionInfoAsyncData, PostAggregationOneNetReceiveWorkshopProductionInfoAsyncError, PostAggregationOneNetReceiveWorkshopProductionInfoAsyncResponse, PostAggregationOneNetGetProductListAsyncData, PostAggregationOneNetGetProductListAsyncError, PostAggregationOneNetGetProductListAsyncResponse, PostOneNetProductInsertAsyncData, PostOneNetProductInsertAsyncError, PostOneNetProductInsertAsyncResponse, PostOneNetProductModifyAsyncData, PostOneNetProductModifyAsyncError, PostOneNetProductModifyAsyncResponse, PostOneNetProductGetAsyncData, PostOneNetProductGetAsyncError, PostOneNetProductGetAsyncResponse, PostOneNetProductProductStatusChangeAsyncData, PostOneNetProductProductStatusChangeAsyncError, PostOneNetProductProductStatusChangeAsyncResponse, PostOneNetProductListAsyncData, PostOneNetProductListAsyncError, PostOneNetProductListAsyncResponse, PostOneNetServiceReceivePlaintextDataChangeData, PostOneNetServiceReceivePlaintextDataChangeError, PostOneNetServiceReceivePlaintextDataChangeResponse, GetOneNetServiceReceivePlaintextDataChangeData, GetOneNetServiceReceivePlaintextDataChangeError, GetOneNetServiceReceivePlaintextDataChangeResponse, PostOneNetServiceReceiveCiphertextDataChangeData, PostOneNetServiceReceiveCiphertextDataChangeError, PostOneNetServiceReceiveCiphertextDataChangeResponse, GetOneNetServiceReceiveCiphertextDataChangeData, GetOneNetServiceReceiveCiphertextDataChangeError, GetOneNetServiceReceiveCiphertextDataChangeResponse, PostOrganizationUnitsTreeError, PostOrganizationUnitsTreeResponse, PostOrganizationUnitsCreateData, PostOrganizationUnitsCreateError, PostOrganizationUnitsCreateResponse, PostOrganizationUnitsDeleteData, PostOrganizationUnitsDeleteError, PostOrganizationUnitsDeleteResponse, PostOrganizationUnitsUpdateData, PostOrganizationUnitsUpdateError, PostOrganizationUnitsUpdateResponse, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, PostOrganizationUnitsAddUserToOrganizationUnitData, PostOrganizationUnitsAddUserToOrganizationUnitError, PostOrganizationUnitsAddUserToOrganizationUnitResponse, PostOrganizationUnitsRemoveUserFromOrganizationUnitData, PostOrganizationUnitsRemoveUserFromOrganizationUnitError, PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, PostOrganizationUnitsGetUsersData, PostOrganizationUnitsGetUsersError, PostOrganizationUnitsGetUsersResponse, PostOrganizationUnitsGetRolesData, PostOrganizationUnitsGetRolesError, PostOrganizationUnitsGetRolesResponse, PostOrganizationUnitsGetUnAddUsersData, PostOrganizationUnitsGetUnAddUsersError, PostOrganizationUnitsGetUnAddUsersResponse, PostOrganizationUnitsGetUnAddRolesData, PostOrganizationUnitsGetUnAddRolesError, PostOrganizationUnitsGetUnAddRolesResponse, PostPermissionsTreeData, PostPermissionsTreeError, PostPermissionsTreeResponse, PostPermissionsUpdateData, PostPermissionsUpdateError, PostPermissionsUpdateResponse, PostRolesAllError, PostRolesAllResponse, PostRolesPageData, PostRolesPageError, PostRolesPageResponse, PostRolesCreateData, PostRolesCreateError, PostRolesCreateResponse, PostRolesUpdateData, PostRolesUpdateError, PostRolesUpdateResponse, PostRolesDeleteData, PostRolesDeleteError, PostRolesDeleteResponse, GetApiAppAbpProBasicApplicationConfigurationError, GetApiAppAbpProBasicApplicationConfigurationResponse, PostSettingsAllError, PostSettingsAllResponse, PostSettingsUpdateData, PostSettingsUpdateError, PostSettingsUpdateResponse, PostTableModelPacketInfoPageData, PostTableModelPacketInfoPageError, PostTableModelPacketInfoPageResponse, PostTableModelPacketInfoInsertData, PostTableModelPacketInfoInsertError, PostTableModelPacketInfoInsertResponse, PostTableModelPacketInfoBatchInsertData, PostTableModelPacketInfoBatchInsertError, PostTableModelPacketInfoBatchInsertResponse, PostTableModelDeviceDataInfoPageData, PostTableModelDeviceDataInfoPageError, PostTableModelDeviceDataInfoPageResponse, PostTableModelCtWingLogInfoData, PostTableModelCtWingLogInfoError, PostTableModelCtWingLogInfoResponse, PostTableModelOneNetLogInfoData, PostTableModelOneNetLogInfoError, PostTableModelOneNetLogInfoResponse, PostTenantsFindData, PostTenantsFindError, PostTenantsFindResponse, PostTenantsPageData, PostTenantsPageError, PostTenantsPageResponse, PostTenantsCreateData, PostTenantsCreateError, PostTenantsCreateResponse, PostTenantsUpdateData, PostTenantsUpdateError, PostTenantsUpdateResponse, PostTenantsDeleteData, PostTenantsDeleteError, PostTenantsDeleteResponse, PostTenantsPageConnectionStringData, PostTenantsPageConnectionStringError, PostTenantsPageConnectionStringResponse, PostTenantsAddOrUpdateConnectionStringData, PostTenantsAddOrUpdateConnectionStringError, PostTenantsAddOrUpdateConnectionStringResponse, PostTenantsDeleteConnectionStringData, PostTenantsDeleteConnectionStringError, PostTenantsDeleteConnectionStringResponse, PostTextTemplatesPageData, PostTextTemplatesPageError, PostTextTemplatesPageResponse, PostTextTemplatesCreateData, PostTextTemplatesCreateError, PostTextTemplatesCreateResponse, PostTextTemplatesUpdateData, PostTextTemplatesUpdateError, PostTextTemplatesUpdateResponse, PostTextTemplatesDeleteData, PostTextTemplatesDeleteError, PostTextTemplatesDeleteResponse, PostTextTemplatesExportData, PostTextTemplatesExportError, PostTextTemplatesExportResponse, PostTreeModelDeviceDataInfoPageData, PostTreeModelDeviceDataInfoPageError, PostTreeModelDeviceDataInfoPageResponse, PostUsersPageData, PostUsersPageError, PostUsersPageResponse, PostUsersListData, PostUsersListError, PostUsersListResponse, PostUsersExportData, PostUsersExportError, PostUsersExportResponse, PostUsersCreateData, PostUsersCreateError, PostUsersCreateResponse, PostUsersUpdateData, PostUsersUpdateError, PostUsersUpdateResponse, PostUsersDeleteData, PostUsersDeleteError, PostUsersDeleteResponse, PostUsersRoleData, PostUsersRoleError, PostUsersRoleResponse, PostUsersChangePasswordData, PostUsersChangePasswordError, PostUsersChangePasswordResponse, PostUsersResetPasswordData, PostUsersResetPasswordError, PostUsersResetPasswordResponse, PostUsersLockData, PostUsersLockError, PostUsersLockResponse, PostUsersFindByUserNameData, PostUsersFindByUserNameError, PostUsersFindByUserNameResponse, PostUsersMyProfileError, PostUsersMyProfileResponse, PostUsersCanUseTwoFactorError, PostUsersCanUseTwoFactorResponse, PostUsersGetQrCodeError, PostUsersGetQrCodeResponse, PostUsersEnabledTwoFactorData, PostUsersEnabledTwoFactorError, PostUsersEnabledTwoFactorResponse, PostUsersDisabledTwoFactorData, PostUsersDisabledTwoFactorError, PostUsersDisabledTwoFactorResponse, PostUsersResetTwoFactorData, PostUsersResetTwoFactorError, PostUsersResetTwoFactorResponse, PostUsersNeedChangePasswordError, PostUsersNeedChangePasswordResponse } from './types.gen'; export const client = createClient(createConfig()); -export const getApiAbpApiDefinition = ( - options?: Options, -) => { - return (options?.client ?? client).get< - GetApiAbpApiDefinitionResponse, - GetApiAbpApiDefinitionError, - ThrowOnError - >({ - ...options, - url: '/api/abp/api-definition', - }); +export const getApiAbpApiDefinition = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/api/abp/api-definition' + }); }; -export const getApiAbpApplicationConfiguration = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).get< - GetApiAbpApplicationConfigurationResponse, - GetApiAbpApplicationConfigurationError, - ThrowOnError - >({ - ...options, - url: '/api/abp/application-configuration', - }); +export const getApiAbpApplicationConfiguration = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/api/abp/application-configuration' + }); }; -export const getApiAbpApplicationLocalization = < - ThrowOnError extends boolean = false, ->( - options: Options, -) => { - return (options?.client ?? client).get< - GetApiAbpApplicationLocalizationResponse, - GetApiAbpApplicationLocalizationError, - ThrowOnError - >({ - ...options, - url: '/api/abp/application-localization', - }); -}; - -export const getApiAppAbpProBasicApplicationConfiguration = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).get< - GetApiAppAbpProBasicApplicationConfigurationResponse, - GetApiAppAbpProBasicApplicationConfigurationError, - ThrowOnError - >({ - ...options, - url: '/api/app/abp-pro-basic-application-configuration', - }); +export const getApiAbpApplicationLocalization = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/api/abp/application-localization' + }); }; /** * 登录 */ -export const postApiAppAccountLogin = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostApiAppAccountLoginResponse, - PostApiAppAccountLoginError, - ThrowOnError - >({ - ...options, - url: '/api/app/account/login', - }); +export const postApiAppAccountLogin = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/api/app/account/login' + }); }; /** * 2FA登录 */ -export const postApiAppAccountLogin2Fa = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostApiAppAccountLogin2FaResponse, - PostApiAppAccountLogin2FaError, - ThrowOnError - >({ - ...options, - url: '/api/app/account/login2FA', - }); +export const postApiAppAccountLogin2Fa = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/api/app/account/login2FA' + }); }; /** * 第三方扩展登录 */ -export const postApiAppAccountLoginOidc = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostApiAppAccountLoginOidcResponse, - PostApiAppAccountLoginOidcError, - ThrowOnError - >({ - ...options, - url: '/api/app/account/login-oidc', - }); +export const postApiAppAccountLoginOidc = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/api/app/account/login-oidc' + }); }; /** * 刷新token */ -export const postApiAppAccountRefreshToken = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostApiAppAccountRefreshTokenResponse, - PostApiAppAccountRefreshTokenError, - ThrowOnError - >({ - ...options, - url: '/api/app/account/refresh-token', - }); +export const postApiAppAccountRefreshToken = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/api/app/account/refresh-token' + }); +}; + +/** + * 登出 + */ +export const postApiAppAccountLogout = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/api/app/account/logout' + }); }; /** * 分页获取审计日志信息 */ -export const postAuditLogsPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostAuditLogsPageResponse, - PostAuditLogsPageError, - ThrowOnError - >({ - ...options, - url: '/AuditLogs/page', - }); +export const postAuditLogsPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/AuditLogs/page' + }); +}; + +/** + * 接收业务系统指令信息 + */ +export const postAggregationBusinessReceiveCommandInfoAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/Business/ReceiveCommandInfoAsync' + }); +}; + +/** + * 根据type名称获取下拉框数据 + */ +export const getCommonGetSelectList = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/Common/GetSelectList' + }); +}; + +/** + * 设备上下线通知接收订阅 + */ +export const postCtWingServiceReceiveStatusChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/CTWingService/ReceiveStatusChange' + }); +}; + +/** + * 设备数据变化通知接收订阅 + */ +export const postCtWingServiceReceiveDataChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/CTWingService/ReceiveDataChange' + }); +}; + +/** + * 设备指令响应通知接收订阅 + */ +export const postCtWingServiceReceiveCommandChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/CTWingService/ReceiveCommandChange' + }); +}; + +/** + * 设备事件上报通知接收订阅 + */ +export const postCtWingServiceReceiveEventChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/CTWingService/ReceiveEventChange' + }); +}; + +/** + * TCP创建删除设备通知接收订阅 + */ +export const postCtWingServiceReceiveDeviceChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/CTWingService/ReceiveDeviceChange' + }); }; /** * 分页字典类型 */ -export const postDataDictionaryPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryPageResponse, - PostDataDictionaryPageError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/page', - }); +export const postDataDictionaryPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/page' + }); }; /** * 分页字典明细 */ -export const postDataDictionaryPageDetail = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryPageDetailResponse, - PostDataDictionaryPageDetailError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/pageDetail', - }); +export const postDataDictionaryPageDetail = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/pageDetail' + }); }; /** * 创建字典类型 */ -export const postDataDictionaryCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryCreateResponse, - PostDataDictionaryCreateError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/create', - }); +export const postDataDictionaryCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/create' + }); }; /** * 创建字典明细 */ -export const postDataDictionaryCreateDetail = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryCreateDetailResponse, - PostDataDictionaryCreateDetailError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/createDetail', - }); +export const postDataDictionaryCreateDetail = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/createDetail' + }); }; /** * 设置字典明细状态 */ -export const postDataDictionaryStatus = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryStatusResponse, - PostDataDictionaryStatusError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/status', - }); +export const postDataDictionaryStatus = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/status' + }); }; /** * 更新字典明细 */ -export const postDataDictionaryUpdateDetail = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryUpdateDetailResponse, - PostDataDictionaryUpdateDetailError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/updateDetail', - }); +export const postDataDictionaryUpdateDetail = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/updateDetail' + }); }; /** * 删除字典明细 */ -export const postDataDictionaryDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryDeleteResponse, - PostDataDictionaryDeleteError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/delete', - }); +export const postDataDictionaryDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/delete' + }); }; /** * 删除字典类型 */ -export const postDataDictionaryDeleteDataDictionaryType = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostDataDictionaryDeleteDataDictionaryTypeData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostDataDictionaryDeleteDataDictionaryTypeResponse, - PostDataDictionaryDeleteDataDictionaryTypeError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/deleteDataDictionaryType', - }); +export const postDataDictionaryDeleteDataDictionaryType = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/deleteDataDictionaryType' + }); }; /** * 修改字典类型 */ -export const postDataDictionaryUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataDictionaryUpdateResponse, - PostDataDictionaryUpdateError, - ThrowOnError - >({ - ...options, - url: '/DataDictionary/update', - }); +export const postDataDictionaryUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DataDictionary/update' + }); }; /** - * 获取类型 + * 创建设备信息 */ -export const postDataTypesList = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostDataTypesListResponse, - PostDataTypesListError, - ThrowOnError - >({ - ...options, - url: '/DataTypes/List', - }); +export const postAggregationDeviceCreateAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/Device/CreateAsync' + }); }; /** - * 分页获取实体属性 + * 删除设备信息 */ -export const postEntityModelsPageProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsPagePropertyResponse, - PostEntityModelsPagePropertyError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/PageProperty', - }); +export const postAggregationDeviceDeleteAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/Device/DeleteAsync' + }); }; /** - * 新增聚合根 + * 根据设备ID查询设备信息 */ -export const postEntityModelsCreateAggregate = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsCreateAggregateResponse, - PostEntityModelsCreateAggregateError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/CreateAggregate', - }); +export const postAggregationDeviceFindByIdAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/Device/FindByIdAsync' + }); }; /** - * 更新聚合根 + * 根据设备地址查询设备信息 */ -export const postEntityModelsUpdateAggregate = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsUpdateAggregateResponse, - PostEntityModelsUpdateAggregateError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/UpdateAggregate', - }); +export const postDeviceInfoFindByDeviceAddress = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DeviceInfo/FindByDeviceAddress' + }); }; /** - * 删除聚合根 + * 分页查询设备信息 */ -export const postEntityModelsDeleteAggregate = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsDeleteAggregateResponse, - PostEntityModelsDeleteAggregateError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/DeleteAggregate', - }); +export const postDeviceInfoPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DeviceInfo/Page' + }); }; /** - * 新增实体 + * 缓存设备数据 */ -export const postEntityModelsCreateEntityModel = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsCreateEntityModelResponse, - PostEntityModelsCreateEntityModelError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/CreateEntityModel', - }); +export const postDeviceInfoCacheDeviceDataToRedis = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DeviceInfo/CacheDeviceDataToRedis' + }); }; /** - * 更新实体 + * 下发设备档案 */ -export const postEntityModelsUpdateEntityModel = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsUpdateEntityModelResponse, - PostEntityModelsUpdateEntityModelError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/UpdateEntityModel', - }); +export const postDeviceInfoArchivesDown = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/DeviceInfo/ArchivesDown' + }); }; -/** - * 删除实体 - */ -export const postEntityModelsDeleteEntityModel = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsDeleteEntityModelResponse, - PostEntityModelsDeleteEntityModelError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/DeleteEntityModel', - }); +export const postFeaturesList = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Features/list' + }); }; -/** - * 新增实体属性 - */ -export const postEntityModelsCreateEntityModelProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostEntityModelsCreateEntityModelPropertyData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostEntityModelsCreateEntityModelPropertyResponse, - PostEntityModelsCreateEntityModelPropertyError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/CreateEntityModelProperty', - }); +export const postFeaturesUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Features/update' + }); }; -/** - * 更新实体属性 - */ -export const postEntityModelsUpdateEntityModelProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostEntityModelsUpdateEntityModelPropertyData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostEntityModelsUpdateEntityModelPropertyResponse, - PostEntityModelsUpdateEntityModelPropertyError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/UpdateEntityModelProperty', - }); +export const postFeaturesDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Features/delete' + }); }; -/** - * 删除实体属性 - */ -export const postEntityModelsDeleteEntityModelProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostEntityModelsDeleteEntityModelPropertyData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostEntityModelsDeleteEntityModelPropertyResponse, - PostEntityModelsDeleteEntityModelPropertyError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/DeleteEntityModelProperty', - }); +export const postFilesPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Files/Page' + }); }; -/** - * 获取实体树 - */ -export const postEntityModelsTree = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsTreeResponse, - PostEntityModelsTreeError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/Tree', - }); +export const postFilesUpload = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + ...formDataBodySerializer, + headers: { + 'Content-Type': null, + ...options?.headers + }, + url: '/Files/Upload' + }); }; -/** - * 获取模型数据 - */ -export const postEntityModelsGet = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEntityModelsGetResponse, - PostEntityModelsGetError, - ThrowOnError - >({ - ...options, - url: '/EntityModels/Get', - }); +export const postFilesDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Files/Delete' + }); }; -/** - * 分页获取枚举 - */ -export const postEnumTypesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesPageResponse, - PostEnumTypesPageError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/Page', - }); +export const postFilesDownload = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Files/Download' + }); }; -/** - * 分页获取枚举属性 - */ -export const postEnumTypesPageProperty = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesPagePropertyResponse, - PostEnumTypesPagePropertyError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/PageProperty', - }); +export const postIdentitySecurityLogsPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/IdentitySecurityLogs/page' + }); }; -/** - * 创建枚举 - */ -export const postEnumTypesCreateEnumType = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesCreateEnumTypeResponse, - PostEnumTypesCreateEnumTypeError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/CreateEnumType', - }); +export const postLanguagesAll = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/All' + }); }; -/** - * 更新枚举 - */ -export const postEnumTypesUpdateEnumType = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesUpdateEnumTypeResponse, - PostEnumTypesUpdateEnumTypeError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/UpdateEnumType', - }); +export const postLanguagesPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/Page' + }); }; -/** - * 删除枚举 - */ -export const postEnumTypesDeleteEnumType = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesDeleteEnumTypeResponse, - PostEnumTypesDeleteEnumTypeError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/DeleteEnumType', - }); +export const postLanguagesCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/Create' + }); }; -/** - * 创建枚举属性 - */ -export const postEnumTypesCreateEnumTypeProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesCreateEnumTypePropertyResponse, - PostEnumTypesCreateEnumTypePropertyError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/CreateEnumTypeProperty', - }); +export const postLanguagesUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/Update' + }); }; -/** - * 更新枚举属性 - */ -export const postEnumTypesUpdateEnumTypeProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesUpdateEnumTypePropertyResponse, - PostEnumTypesUpdateEnumTypePropertyError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/UpdateEnumTypeProperty', - }); +export const postLanguagesDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/Delete' + }); }; -/** - * 删除枚举属性 - */ -export const postEnumTypesDeleteEnumTypeProperty = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostEnumTypesDeleteEnumTypePropertyResponse, - PostEnumTypesDeleteEnumTypePropertyError, - ThrowOnError - >({ - ...options, - url: '/EnumTypes/DeleteEnumTypeProperty', - }); +export const postLanguagesSetDefault = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Languages/SetDefault' + }); }; -/** - * 获取Features - */ -export const postFeaturesList = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFeaturesListResponse, - PostFeaturesListError, - ThrowOnError - >({ - ...options, - url: '/Features/list', - }); +export const postLanguageTextsAllResource = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/LanguageTexts/AllResource' + }); }; -/** - * 更新Features - */ -export const postFeaturesUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFeaturesUpdateResponse, - PostFeaturesUpdateError, - ThrowOnError - >({ - ...options, - url: '/Features/update', - }); +export const postLanguageTextsPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/LanguageTexts/Page' + }); }; -/** - * 删除Features - */ -export const postFeaturesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFeaturesDeleteResponse, - PostFeaturesDeleteError, - ThrowOnError - >({ - ...options, - url: '/Features/delete', - }); +export const postLanguageTextsCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/LanguageTexts/Create' + }); }; -/** - * 分页查询文件 - */ -export const postFilesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFilesPageResponse, - PostFilesPageError, - ThrowOnError - >({ - ...options, - url: '/Files/Page', - }); +export const postLanguageTextsUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/LanguageTexts/Update' + }); }; -/** - * 上传文件 - */ -export const postFilesUpload = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFilesUploadResponse, - PostFilesUploadError, - ThrowOnError - >({ - ...options, - ...formDataBodySerializer, - headers: { - 'Content-Type': null, - ...options?.headers, - }, - url: '/Files/Upload', - }); +export const postMenusUserMenu = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/UserMenu' + }); }; -/** - * 删除文件 - */ -export const postFilesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFilesDeleteResponse, - PostFilesDeleteError, - ThrowOnError - >({ - ...options, - url: '/Files/Delete', - }); +export const postMenusPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/Page' + }); }; -/** - * 下载文件 - */ -export const postFilesDownload = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostFilesDownloadResponse, - PostFilesDownloadError, - ThrowOnError - >({ - ...options, - url: '/Files/Download', - }); +export const postMenusCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/Create' + }); }; -/** - * 预览 - */ -export const postGeneratorPreViewCode = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostGeneratorPreViewCodeResponse, - PostGeneratorPreViewCodeError, - ThrowOnError - >({ - ...options, - url: '/Generator/PreViewCode', - }); +export const postMenusUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/Update' + }); }; -/** - * 下载 - */ -export const postGeneratorDown = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostGeneratorDownResponse, - PostGeneratorDownError, - ThrowOnError - >({ - ...options, - url: '/Generator/Down', - }); +export const postMenusDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/Delete' + }); }; -/** - * 分页获取登录日志信息 - */ -export const postIdentitySecurityLogsPage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostIdentitySecurityLogsPageResponse, - PostIdentitySecurityLogsPageError, - ThrowOnError - >({ - ...options, - url: '/IdentitySecurityLogs/page', - }); -}; - -/** - * 获取所有语言 - */ -export const postLanguagesAll = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesAllResponse, - PostLanguagesAllError, - ThrowOnError - >({ - ...options, - url: '/Languages/All', - }); -}; - -/** - * 分页查询语言 - */ -export const postLanguagesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesPageResponse, - PostLanguagesPageError, - ThrowOnError - >({ - ...options, - url: '/Languages/Page', - }); -}; - -/** - * 创建语言 - */ -export const postLanguagesCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesCreateResponse, - PostLanguagesCreateError, - ThrowOnError - >({ - ...options, - url: '/Languages/Create', - }); -}; - -/** - * 编辑语言 - */ -export const postLanguagesUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesUpdateResponse, - PostLanguagesUpdateError, - ThrowOnError - >({ - ...options, - url: '/Languages/Update', - }); -}; - -/** - * 删除语言 - */ -export const postLanguagesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesDeleteResponse, - PostLanguagesDeleteError, - ThrowOnError - >({ - ...options, - url: '/Languages/Delete', - }); -}; - -/** - * 设置默认语言 - */ -export const postLanguagesSetDefault = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguagesSetDefaultResponse, - PostLanguagesSetDefaultError, - ThrowOnError - >({ - ...options, - url: '/Languages/SetDefault', - }); -}; - -/** - * 获取所有资源 - */ -export const postLanguageTextsAllResource = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguageTextsAllResourceResponse, - PostLanguageTextsAllResourceError, - ThrowOnError - >({ - ...options, - url: '/LanguageTexts/AllResource', - }); -}; - -/** - * 分页查询语言文本 - */ -export const postLanguageTextsPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguageTextsPageResponse, - PostLanguageTextsPageError, - ThrowOnError - >({ - ...options, - url: '/LanguageTexts/Page', - }); -}; - -/** - * 创建语言文本 - */ -export const postLanguageTextsCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguageTextsCreateResponse, - PostLanguageTextsCreateError, - ThrowOnError - >({ - ...options, - url: '/LanguageTexts/Create', - }); -}; - -/** - * 编辑语言文本 - */ -export const postLanguageTextsUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostLanguageTextsUpdateResponse, - PostLanguageTextsUpdateError, - ThrowOnError - >({ - ...options, - url: '/LanguageTexts/Update', - }); -}; - -/** - * 获取用户菜单 - */ -export const postMenusUserMenu = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusUserMenuResponse, - PostMenusUserMenuError, - ThrowOnError - >({ - ...options, - url: '/Menus/UserMenu', - }); -}; - -/** - * 分页查询菜单 - */ -export const postMenusPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusPageResponse, - PostMenusPageError, - ThrowOnError - >({ - ...options, - url: '/Menus/Page', - }); -}; - -/** - * 创建菜单 - */ -export const postMenusCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusCreateResponse, - PostMenusCreateError, - ThrowOnError - >({ - ...options, - url: '/Menus/Create', - }); -}; - -/** - * 编辑菜单 - */ -export const postMenusUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusUpdateResponse, - PostMenusUpdateError, - ThrowOnError - >({ - ...options, - url: '/Menus/Update', - }); -}; - -/** - * 删除菜单 - */ -export const postMenusDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusDeleteResponse, - PostMenusDeleteError, - ThrowOnError - >({ - ...options, - url: '/Menus/Delete', - }); -}; - -/** - * 获取菜单树 - */ -export const postMenusTree = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostMenusTreeResponse, - PostMenusTreeError, - ThrowOnError - >({ - ...options, - url: '/Menus/Tree', - }); +export const postMenusTree = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Menus/Tree' + }); }; /** * 分页获取文本消息 */ -export const postNotificationNotificationPage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationNotificationPageResponse, - PostNotificationNotificationPageError, - ThrowOnError - >({ - ...options, - url: '/Notification/NotificationPage', - }); +export const postNotificationNotificationPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/NotificationPage' + }); }; /** * 分页获取广播消息已读人数 */ -export const postNotificationNotificationSubscriptionPage = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostNotificationNotificationSubscriptionPageData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostNotificationNotificationSubscriptionPageResponse, - PostNotificationNotificationSubscriptionPageError, - ThrowOnError - >({ - ...options, - url: '/Notification/NotificationSubscriptionPage', - }); +export const postNotificationNotificationSubscriptionPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/NotificationSubscriptionPage' + }); }; /** * 删除消息 */ -export const postNotificationDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationDeleteResponse, - PostNotificationDeleteError, - ThrowOnError - >({ - ...options, - url: '/Notification/Delete', - }); +export const postNotificationDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/Delete' + }); }; -/** - * 发送警告文本消息 - */ -export const postNotificationSendCommonWarningMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationSendCommonWarningMessageResponse, - PostNotificationSendCommonWarningMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendCommonWarningMessage', - }); +export const postNotificationSendCommonWarningMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendCommonWarningMessage' + }); }; -/** - * 发送普通文本消息 - */ -export const postNotificationSendCommonInformationMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostNotificationSendCommonInformationMessageData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostNotificationSendCommonInformationMessageResponse, - PostNotificationSendCommonInformationMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendCommonInformationMessage', - }); +export const postNotificationSendCommonInformationMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendCommonInformationMessage' + }); }; -/** - * 发送错误文本消息 - */ -export const postNotificationSendCommonErrorMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationSendCommonErrorMessageResponse, - PostNotificationSendCommonErrorMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendCommonErrorMessage', - }); +export const postNotificationSendCommonErrorMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendCommonErrorMessage' + }); }; -/** - * 发送警告广播消息 - */ -export const postNotificationSendBroadCastWarningMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostNotificationSendBroadCastWarningMessageData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostNotificationSendBroadCastWarningMessageResponse, - PostNotificationSendBroadCastWarningMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendBroadCastWarningMessage', - }); +export const postNotificationSendBroadCastWarningMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendBroadCastWarningMessage' + }); }; -/** - * 发送正常广播消息 - */ -export const postNotificationSendBroadCastInformationMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostNotificationSendBroadCastInformationMessageData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostNotificationSendBroadCastInformationMessageResponse, - PostNotificationSendBroadCastInformationMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendBroadCastInformationMessage', - }); +export const postNotificationSendBroadCastInformationMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendBroadCastInformationMessage' + }); }; -/** - * 发送错误广播消息 - */ -export const postNotificationSendBroadCastErrorMessage = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostNotificationSendBroadCastErrorMessageData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostNotificationSendBroadCastErrorMessageResponse, - PostNotificationSendBroadCastErrorMessageError, - ThrowOnError - >({ - ...options, - url: '/Notification/SendBroadCastErrorMessage', - }); +export const postNotificationSendBroadCastErrorMessage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/SendBroadCastErrorMessage' + }); }; -/** - * 消息设置为已读 - */ -export const postNotificationRead = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationReadResponse, - PostNotificationReadError, - ThrowOnError - >({ - ...options, - url: '/Notification/Read', - }); +export const postNotificationRead = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/Read' + }); }; -/** - * 消息批量设置为已读 - */ -export const postNotificationBatchRead = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostNotificationBatchReadResponse, - PostNotificationBatchReadError, - ThrowOnError - >({ - ...options, - url: '/Notification/BatchRead', - }); +export const postNotificationBatchRead = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Notification/BatchRead' + }); }; /** - * 获取组织机构树 + * 添加OneNET账号 */ -export const postOrganizationUnitsTree = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsTreeResponse, - PostOrganizationUnitsTreeError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/tree', - }); +export const postOneNetAccountInsertAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETAccount/InsertAsync' + }); }; /** - * 创建组织机构 + * 修改OneNET账号 */ -export const postOrganizationUnitsCreate = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsCreateResponse, - PostOrganizationUnitsCreateError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/create', - }); +export const postOneNetAccountModifyAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETAccount/ModifyAsync' + }); }; /** - * 删除组织机构 + * 删除OneNET账号 */ -export const postOrganizationUnitsDelete = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsDeleteResponse, - PostOrganizationUnitsDeleteError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/delete', - }); +export const postOneNetAccountDeleteAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETAccount/DeleteAsync' + }); }; /** - * 编辑组织机构 + * 获取OneNET账号列表 */ -export const postOrganizationUnitsUpdate = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsUpdateResponse, - PostOrganizationUnitsUpdateError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/update', - }); +export const postOneNetAccountListAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETAccount/ListAsync' + }); }; /** - * 向组织机构添加角色 + * 接收车间生产信息 */ -export const postOrganizationUnitsAddRoleToOrganizationUnitAsync = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse, - PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/addRoleToOrganizationUnitAsync', - }); +export const postAggregationOneNetReceiveWorkshopProductionInfoAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/OneNET/ReceiveWorkshopProductionInfoAsync' + }); }; /** - * 向组织机构删除角色 + * 获取OneNET产品列表 */ -export const postOrganizationUnitsRemoveRoleFromOrganizationUnitAsync = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse, - PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/removeRoleFromOrganizationUnitAsync', - }); +export const postAggregationOneNetGetProductListAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Aggregation/OneNET/GetProductListAsync' + }); }; /** - * 向组织机构添加用户 + * 添加OneNET产品 */ -export const postOrganizationUnitsAddUserToOrganizationUnit = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostOrganizationUnitsAddUserToOrganizationUnitData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsAddUserToOrganizationUnitResponse, - PostOrganizationUnitsAddUserToOrganizationUnitError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/addUserToOrganizationUnit', - }); +export const postOneNetProductInsertAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETProduct/InsertAsync' + }); }; /** - * 向组织机构删除用户 + * 修改OneNET产品 */ -export const postOrganizationUnitsRemoveUserFromOrganizationUnit = < - ThrowOnError extends boolean = false, ->( - options?: Options< - PostOrganizationUnitsRemoveUserFromOrganizationUnitData, - ThrowOnError - >, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse, - PostOrganizationUnitsRemoveUserFromOrganizationUnitError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/removeUserFromOrganizationUnit', - }); +export const postOneNetProductModifyAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETProduct/ModifyAsync' + }); }; /** - * 分页获取组织机构下用户 + * 获取OneNET产品 */ -export const postOrganizationUnitsGetUsers = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsGetUsersResponse, - PostOrganizationUnitsGetUsersError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/getUsers', - }); +export const postOneNetProductGetAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETProduct/GetAsync' + }); }; /** - * 分页获取组织机构下角色 + * 产品状态变更 */ -export const postOrganizationUnitsGetRoles = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsGetRolesResponse, - PostOrganizationUnitsGetRolesError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/getRoles', - }); +export const postOneNetProductProductStatusChangeAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETProduct/ProductStatusChangeAsync' + }); }; /** - * 获取不在组织机构的用户 + * 获取OneNET产品列表 */ -export const postOrganizationUnitsGetUnAddUsers = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsGetUnAddUsersResponse, - PostOrganizationUnitsGetUnAddUsersError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/getUnAddUsers', - }); +export const postOneNetProductListAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETProduct/ListAsync' + }); }; /** - * 获取不在组织机构的角色 + * 设备明文数据接收订阅 */ -export const postOrganizationUnitsGetUnAddRoles = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostOrganizationUnitsGetUnAddRolesResponse, - PostOrganizationUnitsGetUnAddRolesError, - ThrowOnError - >({ - ...options, - url: '/OrganizationUnits/getUnAddRoles', - }); +export const postOneNetServiceReceivePlaintextDataChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETService/ReceivePlaintextDataChange' + }); }; /** - * 获取角色权限 + * 设备明文数据接收订阅 */ -export const postPermissionsTree = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostPermissionsTreeResponse, - PostPermissionsTreeError, - ThrowOnError - >({ - ...options, - url: '/Permissions/tree', - }); +export const getOneNetServiceReceivePlaintextDataChange = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/OneNETService/ReceivePlaintextDataChange' + }); }; /** - * 更新角色 + * 设备密文数据接收订阅 */ -export const postPermissionsUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostPermissionsUpdateResponse, - PostPermissionsUpdateError, - ThrowOnError - >({ - ...options, - url: '/Permissions/update', - }); +export const postOneNetServiceReceiveCiphertextDataChange = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OneNETService/ReceiveCiphertextDataChange' + }); }; /** - * 获取所有项目 + * 设备密文数据接收订阅 */ -export const postProjectsAll = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsAllResponse, - PostProjectsAllError, - ThrowOnError - >({ - ...options, - url: '/Projects/All', - }); +export const getOneNetServiceReceiveCiphertextDataChange = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/OneNETService/ReceiveCiphertextDataChange' + }); }; -/** - * 分页获取项目 - */ -export const postProjectsPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsPageResponse, - PostProjectsPageError, - ThrowOnError - >({ - ...options, - url: '/Projects/Page', - }); +export const postOrganizationUnitsTree = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/tree' + }); }; -/** - * 创建项目 - */ -export const postProjectsCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsCreateResponse, - PostProjectsCreateError, - ThrowOnError - >({ - ...options, - url: '/Projects/Create', - }); +export const postOrganizationUnitsCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/create' + }); }; -/** - * 更新项目 - */ -export const postProjectsUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsUpdateResponse, - PostProjectsUpdateError, - ThrowOnError - >({ - ...options, - url: '/Projects/Update', - }); +export const postOrganizationUnitsDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/delete' + }); }; -/** - * 删除项目 - */ -export const postProjectsDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsDeleteResponse, - PostProjectsDeleteError, - ThrowOnError - >({ - ...options, - url: '/Projects/Delete', - }); +export const postOrganizationUnitsUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/update' + }); }; -/** - * 获取项目和实体信息 - */ -export const postProjectsGetProjectAndEntity = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostProjectsGetProjectAndEntityResponse, - PostProjectsGetProjectAndEntityError, - ThrowOnError - >({ - ...options, - url: '/Projects/GetProjectAndEntity', - }); +export const postOrganizationUnitsAddRoleToOrganizationUnitAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/addRoleToOrganizationUnitAsync' + }); }; -/** - * 获取所有角色 - */ -export const postRolesAll = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesAllResponse, - PostRolesAllError, - ThrowOnError - >({ - ...options, - url: '/Roles/all', - }); +export const postOrganizationUnitsRemoveRoleFromOrganizationUnitAsync = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/removeRoleFromOrganizationUnitAsync' + }); }; -/** - * 分页获取角色 - */ -export const postRolesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesPageResponse, - PostRolesPageError, - ThrowOnError - >({ - ...options, - url: '/Roles/page', - }); +export const postOrganizationUnitsAddUserToOrganizationUnit = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/addUserToOrganizationUnit' + }); }; -/** - * 创建角色 - */ -export const postRolesCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesCreateResponse, - PostRolesCreateError, - ThrowOnError - >({ - ...options, - url: '/Roles/create', - }); +export const postOrganizationUnitsRemoveUserFromOrganizationUnit = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/removeUserFromOrganizationUnit' + }); }; -/** - * 更新角色 - */ -export const postRolesUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesUpdateResponse, - PostRolesUpdateError, - ThrowOnError - >({ - ...options, - url: '/Roles/update', - }); +export const postOrganizationUnitsGetUsers = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/getUsers' + }); }; -/** - * 删除角色 - */ -export const postRolesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostRolesDeleteResponse, - PostRolesDeleteError, - ThrowOnError - >({ - ...options, - url: '/Roles/delete', - }); +export const postOrganizationUnitsGetRoles = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/getRoles' + }); }; -/** - * 获取所有Setting - */ -export const postSettingsAll = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostSettingsAllResponse, - PostSettingsAllError, - ThrowOnError - >({ - ...options, - url: '/Settings/all', - }); +export const postOrganizationUnitsGetUnAddUsers = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/getUnAddUsers' + }); }; -/** - * 更新Setting - */ -export const postSettingsUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostSettingsUpdateResponse, - PostSettingsUpdateError, - ThrowOnError - >({ - ...options, - url: '/Settings/update', - }); +export const postOrganizationUnitsGetUnAddRoles = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/OrganizationUnits/getUnAddRoles' + }); }; -/** - * 获取所有模板组 - */ -export const postTemplatesAll = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesAllResponse, - PostTemplatesAllError, - ThrowOnError - >({ - ...options, - url: '/Templates/All', - }); +export const postPermissionsTree = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Permissions/tree' + }); }; -/** - * 分页获取模板组 - */ -export const postTemplatesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesPageResponse, - PostTemplatesPageError, - ThrowOnError - >({ - ...options, - url: '/Templates/Page', - }); +export const postPermissionsUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Permissions/update' + }); }; -/** - * 创建模板组 - */ -export const postTemplatesCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesCreateResponse, - PostTemplatesCreateError, - ThrowOnError - >({ - ...options, - url: '/Templates/Create', - }); +export const postRolesAll = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Roles/all' + }); }; -/** - * 更新模板组 - */ -export const postTemplatesUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesUpdateResponse, - PostTemplatesUpdateError, - ThrowOnError - >({ - ...options, - url: '/Templates/Update', - }); +export const postRolesPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Roles/page' + }); }; -/** - * 删除模板组 - */ -export const postTemplatesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesDeleteResponse, - PostTemplatesDeleteError, - ThrowOnError - >({ - ...options, - url: '/Templates/Delete', - }); +export const postRolesCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Roles/create' + }); }; -/** - * 创建模板 - */ -export const postTemplatesCreateDetail = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesCreateDetailResponse, - PostTemplatesCreateDetailError, - ThrowOnError - >({ - ...options, - url: '/Templates/CreateDetail', - }); +export const postRolesUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Roles/update' + }); }; -/** - * 编辑模板 - */ -export const postTemplatesUpdateDetail = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesUpdateDetailResponse, - PostTemplatesUpdateDetailError, - ThrowOnError - >({ - ...options, - url: '/Templates/UpdateDetail', - }); +export const postRolesDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Roles/delete' + }); }; -/** - * 编辑模板 - */ -export const postTemplatesUpdateDetailContent = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesUpdateDetailContentResponse, - PostTemplatesUpdateDetailContentError, - ThrowOnError - >({ - ...options, - url: '/Templates/UpdateDetailContent', - }); +export const getApiAppAbpProBasicApplicationConfiguration = (options?: Options) => { + return (options?.client ?? client).get({ + ...options, + url: '/api/app/abp-pro-basic-application-configuration' + }); }; -/** - * 删除模板 - */ -export const postTemplatesDeleteDetail = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesDeleteDetailResponse, - PostTemplatesDeleteDetailError, - ThrowOnError - >({ - ...options, - url: '/Templates/DeleteDetail', - }); +export const postSettingsAll = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Settings/all' + }); }; -/** - * 获取模板树形结构 - */ -export const postTemplatesTree = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesTreeResponse, - PostTemplatesTreeError, - ThrowOnError - >({ - ...options, - url: '/Templates/Tree', - }); +export const postSettingsUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Settings/update' + }); }; /** - * 获取所有模板 + * 分页查询文件 */ -export const postTemplatesList = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesListResponse, - PostTemplatesListError, - ThrowOnError - >({ - ...options, - url: '/Templates/List', - }); +export const postTableModelPacketInfoPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/PacketInfoPage' + }); }; /** - * 获取模板策略 + * 插入遥测数据包 */ -export const postTemplatesControlType = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesControlTypeResponse, - PostTemplatesControlTypeError, - ThrowOnError - >({ - ...options, - url: '/Templates/ControlType', - }); +export const postTableModelPacketInfoInsert = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/PacketInfoInsert' + }); }; /** - * 获取模板类型 + * 批量插入遥测数据包 */ -export const postTemplatesTemplateType = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesTemplateTypeResponse, - PostTemplatesTemplateTypeError, - ThrowOnError - >({ - ...options, - url: '/Templates/TemplateType', - }); +export const postTableModelPacketInfoBatchInsert = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/PacketInfoBatchInsert' + }); }; /** - * 复制模板 + * 查询设备数据表模型信息 */ -export const postTemplatesCopy = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTemplatesCopyResponse, - PostTemplatesCopyError, - ThrowOnError - >({ - ...options, - url: '/Templates/Copy', - }); +export const postTableModelDeviceDataInfoPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/DeviceDataInfoPage' + }); }; /** - * 通过名称获取租户信息 + * 查询CTWing 日志 */ -export const postTenantsFind = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsFindResponse, - PostTenantsFindError, - ThrowOnError - >({ - ...options, - url: '/Tenants/find', - }); +export const postTableModelCtWingLogInfo = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/CTWingLogInfo' + }); }; /** - * 分页获取租户信息 + * 查询OneNET 日志 */ -export const postTenantsPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsPageResponse, - PostTenantsPageError, - ThrowOnError - >({ - ...options, - url: '/Tenants/page', - }); +export const postTableModelOneNetLogInfo = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TableModel/OneNETLogInfo' + }); }; -/** - * 创建租户 - */ -export const postTenantsCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsCreateResponse, - PostTenantsCreateError, - ThrowOnError - >({ - ...options, - url: '/Tenants/create', - }); +export const postTenantsFind = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/find' + }); }; -/** - * 更新租户 - */ -export const postTenantsUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsUpdateResponse, - PostTenantsUpdateError, - ThrowOnError - >({ - ...options, - url: '/Tenants/update', - }); +export const postTenantsPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/page' + }); }; -/** - * 删除租户 - */ -export const postTenantsDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsDeleteResponse, - PostTenantsDeleteError, - ThrowOnError - >({ - ...options, - url: '/Tenants/delete', - }); +export const postTenantsCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/create' + }); }; -/** - * 分页租户连接字符串 - */ -export const postTenantsPageConnectionString = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsPageConnectionStringResponse, - PostTenantsPageConnectionStringError, - ThrowOnError - >({ - ...options, - url: '/Tenants/pageConnectionString', - }); +export const postTenantsUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/update' + }); }; -/** - * 新增或者更新租户所有连接字符串 - */ -export const postTenantsAddOrUpdateConnectionString = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsAddOrUpdateConnectionStringResponse, - PostTenantsAddOrUpdateConnectionStringError, - ThrowOnError - >({ - ...options, - url: '/Tenants/addOrUpdateConnectionString', - }); +export const postTenantsDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/delete' + }); }; -/** - * 删除租户连接字符串 - */ -export const postTenantsDeleteConnectionString = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTenantsDeleteConnectionStringResponse, - PostTenantsDeleteConnectionStringError, - ThrowOnError - >({ - ...options, - url: '/Tenants/deleteConnectionString', - }); +export const postTenantsPageConnectionString = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/pageConnectionString' + }); }; -/** - * 分页查询模板 - */ -export const postTextTemplatesPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTextTemplatesPageResponse, - PostTextTemplatesPageError, - ThrowOnError - >({ - ...options, - url: '/TextTemplates/Page', - }); +export const postTenantsAddOrUpdateConnectionString = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/addOrUpdateConnectionString' + }); }; -/** - * 创建模板 - */ -export const postTextTemplatesCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTextTemplatesCreateResponse, - PostTextTemplatesCreateError, - ThrowOnError - >({ - ...options, - url: '/TextTemplates/Create', - }); +export const postTenantsDeleteConnectionString = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Tenants/deleteConnectionString' + }); }; -/** - * 编辑模板 - */ -export const postTextTemplatesUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTextTemplatesUpdateResponse, - PostTextTemplatesUpdateError, - ThrowOnError - >({ - ...options, - url: '/TextTemplates/Update', - }); +export const postTextTemplatesPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TextTemplates/Page' + }); }; -/** - * 删除模板 - */ -export const postTextTemplatesDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTextTemplatesDeleteResponse, - PostTextTemplatesDeleteError, - ThrowOnError - >({ - ...options, - url: '/TextTemplates/Delete', - }); +export const postTextTemplatesCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TextTemplates/Create' + }); }; -/** - * 导出模板列表 - */ -export const postTextTemplatesExport = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostTextTemplatesExportResponse, - PostTextTemplatesExportError, - ThrowOnError - >({ - ...options, - url: '/TextTemplates/Export', - }); +export const postTextTemplatesUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TextTemplates/Update' + }); }; -/** - * 分页获取用户信息 - */ -export const postUsersPage = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersPageResponse, - PostUsersPageError, - ThrowOnError - >({ - ...options, - url: '/Users/page', - }); +export const postTextTemplatesDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TextTemplates/Delete' + }); }; -/** - * 分页获取用户信息 - */ -export const postUsersList = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersListResponse, - PostUsersListError, - ThrowOnError - >({ - ...options, - url: '/Users/list', - }); +export const postTextTemplatesExport = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TextTemplates/Export' + }); }; /** - * 导出用户列表 + * 查询设备数据树模型信息 */ -export const postUsersExport = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersExportResponse, - PostUsersExportError, - ThrowOnError - >({ - ...options, - url: '/Users/export', - }); +export const postTreeModelDeviceDataInfoPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/TreeModel/DeviceDataInfoPage' + }); }; -/** - * 创建用户 - */ -export const postUsersCreate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersCreateResponse, - PostUsersCreateError, - ThrowOnError - >({ - ...options, - url: '/Users/create', - }); +export const postUsersPage = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/page' + }); }; -/** - * 编辑用户 - */ -export const postUsersUpdate = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersUpdateResponse, - PostUsersUpdateError, - ThrowOnError - >({ - ...options, - url: '/Users/update', - }); +export const postUsersList = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/list' + }); }; -/** - * 删除用户 - */ -export const postUsersDelete = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersDeleteResponse, - PostUsersDeleteError, - ThrowOnError - >({ - ...options, - url: '/Users/delete', - }); +export const postUsersExport = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/export' + }); }; -/** - * 获取用户角色信息 - */ -export const postUsersRole = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersRoleResponse, - PostUsersRoleError, - ThrowOnError - >({ - ...options, - url: '/Users/role', - }); +export const postUsersCreate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/create' + }); }; -/** - * 修改当前用户密码 - */ -export const postUsersChangePassword = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersChangePasswordResponse, - PostUsersChangePasswordError, - ThrowOnError - >({ - ...options, - url: '/Users/changePassword', - }); +export const postUsersUpdate = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/update' + }); }; -/** - * 重置密码 - */ -export const postUsersResetPassword = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersResetPasswordResponse, - PostUsersResetPasswordError, - ThrowOnError - >({ - ...options, - url: '/Users/resetPassword', - }); +export const postUsersDelete = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/delete' + }); }; -/** - * 锁定用户 - */ -export const postUsersLock = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersLockResponse, - PostUsersLockError, - ThrowOnError - >({ - ...options, - url: '/Users/lock', - }); +export const postUsersRole = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/role' + }); }; -/** - * 通过用户名查找用户 - */ -export const postUsersFindByUserName = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersFindByUserNameResponse, - PostUsersFindByUserNameError, - ThrowOnError - >({ - ...options, - url: '/Users/findByUserName', - }); +export const postUsersChangePassword = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/changePassword' + }); }; -/** - * 获取个人信息 - */ -export const postUsersMyProfile = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersMyProfileResponse, - PostUsersMyProfileError, - ThrowOnError - >({ - ...options, - url: '/Users/myProfile', - }); +export const postUsersResetPassword = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/resetPassword' + }); }; -/** - * 是否启用双因素验证 - */ -export const postUsersCanUseTwoFactor = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersCanUseTwoFactorResponse, - PostUsersCanUseTwoFactorError, - ThrowOnError - >({ - ...options, - url: '/Users/canUseTwoFactor', - }); +export const postUsersLock = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/lock' + }); }; -/** - * 获取双因素二维码 - */ -export const postUsersGetQrCode = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersGetQrCodeResponse, - PostUsersGetQrCodeError, - ThrowOnError - >({ - ...options, - url: '/Users/getQRCode', - }); +export const postUsersFindByUserName = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/findByUserName' + }); }; -/** - * 开启双因素验证 - */ -export const postUsersEnabledTwoFactor = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersEnabledTwoFactorResponse, - PostUsersEnabledTwoFactorError, - ThrowOnError - >({ - ...options, - url: '/Users/enabledTwoFactor', - }); +export const postUsersMyProfile = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/myProfile' + }); }; -/** - * 关闭双因素验证 - */ -export const postUsersDisabledTwoFactor = < - ThrowOnError extends boolean = false, ->( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersDisabledTwoFactorResponse, - PostUsersDisabledTwoFactorError, - ThrowOnError - >({ - ...options, - url: '/Users/disabledTwoFactor', - }); +export const postUsersCanUseTwoFactor = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/canUseTwoFactor' + }); }; -/** - * 重置双因素验证 - */ -export const postUsersResetTwoFactor = ( - options?: Options, -) => { - return (options?.client ?? client).post< - PostUsersResetTwoFactorResponse, - PostUsersResetTwoFactorError, - ThrowOnError - >({ - ...options, - url: '/Users/resetTwoFactor', - }); +export const postUsersGetQrCode = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/getQRCode' + }); }; -/** - * 是否需要修改密码 - */ -export const postUsersNeedChangePassword = < - ThrowOnError extends boolean = false, ->( - options?: OptionsLegacyParser, -) => { - return (options?.client ?? client).post< - PostUsersNeedChangePasswordResponse, - PostUsersNeedChangePasswordError, - ThrowOnError - >({ - ...options, - url: '/Users/needChangePassword', - }); +export const postUsersEnabledTwoFactor = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/enabledTwoFactor' + }); +}; + +export const postUsersDisabledTwoFactor = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/disabledTwoFactor' + }); }; + +export const postUsersResetTwoFactor = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/resetTwoFactor' + }); +}; + +export const postUsersNeedChangePassword = (options?: Options) => { + return (options?.client ?? client).post({ + ...options, + url: '/Users/needChangePassword' + }); +}; \ No newline at end of file diff --git a/apps/web-antd/src/api-client/types.gen.ts b/apps/web-antd/src/api-client/types.gen.ts index 72dba80..4d42ba1 100644 --- a/apps/web-antd/src/api-client/types.gen.ts +++ b/apps/web-antd/src/api-client/types.gen.ts @@ -1,263 +1,1476 @@ // This file is auto-generated by @hey-api/openapi-ts -export type LoginResultType = 1 | 2 | 3 | 4 | 5; - -export type MultiTenancyInfoDto = { - isEnabled?: boolean; -}; - -/** - * 打开类型 - */ -export type OpenType = 10 | 20 | 30 | 40; - -export type RelationalType = 10 | 20; export type AbpLoginResult = { - readonly description?: null | string; - result?: LoginResultType; -}; - -export type OidcConfiguration = { - /** - * 认证地址 - */ - authUri?: null | string; - /** - * client_id - */ - clientId?: null | string; - /** - * 应用名称 - */ - clientName?: null | string; - /** - * 是否启用 - */ - enabled?: boolean; - /** - * 应用图标 - */ - icon?: null | string; - /** - * 类型 - */ - type?: null | string; -}; - -export type ApplicationOidcConfigurationDto = { - /** - * 是否启用 - */ - enabled?: boolean; - oidcConfiguration?: Array | null; -}; - -export type ExtensionEnumFieldDto = { - name?: null | string; - value?: unknown; -}; - -export type ExtensionEnumDto = { - fields?: Array | null; - localizationResource?: null | string; -}; - -export type AbpProApplicationConfigurationDto = { - multiTenancy?: MultiTenancyInfoDto; - oidcConfiguration?: ApplicationOidcConfigurationDto; -}; - -export type ParameterApiDescriptionModel = { - bindingSourceId?: null | string; - constraintTypes?: Array | null; - defaultValue?: unknown; - descriptorName?: null | string; - isOptional?: boolean; - jsonName?: null | string; - name?: null | string; - nameOnMethod?: null | string; - type?: null | string; - typeSimple?: null | string; -}; - -export type DateTimeFormatDto = { - calendarAlgorithmType?: null | string; - dateSeparator?: null | string; - dateTimeFormatLong?: null | string; - fullDateTimePattern?: null | string; - longTimePattern?: null | string; - shortDatePattern?: null | string; - shortTimePattern?: null | string; -}; - -export type MethodParameterApiDescriptionModel = { - defaultValue?: unknown; - isOptional?: boolean; - name?: null | string; - type?: null | string; - typeAsString?: null | string; - typeSimple?: null | string; -}; - -export type ReturnValueApiDescriptionModel = { - type?: null | string; - typeSimple?: null | string; + result?: LoginResultType; + readonly description?: (string) | null; }; export type ActionApiDescriptionModel = { - allowAnonymous?: boolean | null; - httpMethod?: null | string; - implementFrom?: null | string; - name?: null | string; - parameters?: Array | null; - parametersOnMethod?: Array | null; - returnValue?: ReturnValueApiDescriptionModel; - supportedVersions?: Array | null; - uniqueName?: null | string; - url?: null | string; + uniqueName?: (string) | null; + name?: (string) | null; + httpMethod?: (string) | null; + url?: (string) | null; + supportedVersions?: Array<(string)> | null; + parametersOnMethod?: Array | null; + parameters?: Array | null; + returnValue?: ReturnValueApiDescriptionModel; + allowAnonymous?: (boolean) | null; + implementFrom?: (string) | null; }; export type AddOrUpdateConnectionStringInput = { - /** - * id - */ - id?: string; - /** - * 连接字符串名称 - */ - name?: null | string; - /** - * 连接字符串地址 - */ - value?: null | string; + /** + * id + */ + id?: string; + /** + * 连接字符串名称 + */ + name?: (string) | null; + /** + * 连接字符串地址 + */ + value?: (string) | null; }; export type AddRoleToOrganizationUnitInput = { - organizationUnitId?: string; - roleId?: Array | null; + roleId?: Array<(string)> | null; + organizationUnitId?: string; }; export type AddUserToOrganizationUnitInput = { - organizationUnitId?: string; - userId?: Array | null; + userId?: Array<(string)> | null; + organizationUnitId?: string; }; export type AggregateRouteConfig = { - jsonPath?: null | string; - parameter?: null | string; - routeKey?: null | string; + routeKey?: (string) | null; + parameter?: (string) | null; + jsonPath?: (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 | null; + currentCulture?: CurrentCultureDto; + defaultResourceName?: (string) | null; + languagesMap?: { + [key: string]: Array; + } | null; + languageFilesMap?: { + [key: string]: Array; + } | 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 | null; +}; + +export type ApplicationSettingConfigurationDto = { + values?: { + [key: string]: ((string) | null); + } | null; +}; + +export type ArchivalDataIssuedInput = { + meterType?: DeviceTypeEnum; + /** + * 表计地址 + */ + meterAddress?: (string) | null; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; +}; + +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 | null; + actions?: { + [key: string]: ActionApiDescriptionModel; + } | null; +}; + +export type ControllerInterfaceApiDescriptionModel = { + type?: (string) | null; + name?: (string) | null; + methods?: Array | null; +}; + +export type CreateDataDictinaryDetailInput = { + id?: string; + code?: (string) | null; + displayText?: (string) | null; + description?: (string) | null; + order?: number; +}; + +export type CreateDataDictinaryInput = { + code?: (string) | null; + displayText?: (string) | null; + description?: (string) | null; +}; + +/** + * 设备聚合新增设备 + */ +export type CreateDeviceAggregationInput = { + /** + * 表通信地址 + */ + deviceAddress: string; + ioTPlatform: IoTPlatformTypeEnum; + /** + * 电表密码 + */ + platformPassword: string; + /** + * 集中器在物联网平台中对应的产品Id + */ + ioTPlatformProductId: string; + /** + * 集中器在物联网平台中对应的设备Id或者名称 + */ + ioTPlatformDeviceOpenInfo?: (string) | null; + /** + * 物联网平台中对应的账号Id + */ + ioTPlatformAccountId?: (string) | null; +}; + +/** + * 创建语言 + */ +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 CreateTextTemplateInput = { + /** + * 名称 + */ + name: string; + /** + * 编码 + */ + code: string; + /** + * 内容 + */ + content: string; + /** + * 语言 + */ + cultureName: 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 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 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; + /** + * 物联网平台中对应的产品Id + */ + ioTPlatformProductId?: (string) | null; + /** + * 物联网平台中对应的产品Name + */ + ioTPlatformProductName?: (string) | null; + /** + * 物联网平台中对应的账号Id + */ + ioTPlatformAccountId?: (string) | null; + /** + * 物联网平台中对应的账号Name + */ + ioTPlatformAccountName?: (string) | null; + /** + * 物联网平台返回的响应信息 + */ + ioTPlatformResponse?: (string) | null; +}; + +export type DeviceManagementInfoDtoPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +/** + * 设备数据表模型信息入参 + */ +export type DeviceTableModelDataInfoPageInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + deviceType?: DeviceTypeEnum; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceAddress?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; +}; + +/** + * 设备数据表模型信息输出 + */ +export type DeviceTableModelDataInfoPageOutput = { + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + /** + * 设备类型集中器、电表、水表、流量计、传感器等 + */ + deviceType?: (string) | null; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceId?: (string) | null; + /** + * 时标 + */ + timestamps?: number; + /** + * 设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明 + */ + devicePath?: (string) | null; + /** + * 时标 + */ + readonly times?: string; +}; + +export type DeviceTableModelDataInfoPageOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +/** + * 设备树模型数据信息查询入参 + */ +export type DeviceTreeModelDataInfoInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + deviceType?: DeviceTypeEnum; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceAddress?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; +}; + +/** + * 表计类型 + * 电表= 1,水表= 2,燃气表= 3,热能表= 4,水表流量计=5,燃气表流量计=6 + */ +export type DeviceTypeEnum = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11; + +export type DisabledTwoFactorInput = { + /** + * 验证码 + */ + code: string; +}; + +export type DownloadFileObjectInput = { + /** + * 文件Id + */ + id?: string; }; export type EnabledTwoFactorInput = { - /** - * 验证码 - */ - code: string; - /** - * 密钥 - */ - secret: string; + /** + * 验证码 + */ + code: string; + /** + * 密钥 + */ + secret: string; }; export type EntityChangeType = 0 | 1 | 2; +export type EntityExtensionDto = { + properties?: { + [key: string]: ExtensionPropertyDto; + } | null; + configuration?: { + [key: string]: unknown; + } | null; +}; + +export type ExtensionEnumDto = { + fields?: Array | null; + localizationResource?: (string) | null; +}; + +export type ExtensionEnumFieldDto = { + name?: (string) | null; + value?: unknown; +}; + export type ExtensionPropertyApiCreateDto = { - isAvailable?: boolean; -}; - -export type ExtensionPropertyApiGetDto = { - isAvailable?: boolean; -}; - -export type ExtensionPropertyApiUpdateDto = { - isAvailable?: boolean; -}; - -export type ExtensionPropertyAttributeDto = { - config?: null | { - [key: string]: unknown; - }; - typeSimple?: null | string; -}; - -export type ExtensionPropertyFeaturePolicyDto = { - features?: Array | null; - requiresAll?: boolean; -}; - -export type ExtensionPropertyGlobalFeaturePolicyDto = { - features?: Array | null; - requiresAll?: boolean; -}; - -export type ExtensionPropertyPermissionPolicyDto = { - permissionNames?: Array | null; - requiresAll?: boolean; + isAvailable?: boolean; }; export type ExtensionPropertyApiDto = { - onCreate?: ExtensionPropertyApiCreateDto; - onGet?: ExtensionPropertyApiGetDto; - onUpdate?: ExtensionPropertyApiUpdateDto; + onGet?: ExtensionPropertyApiGetDto; + onCreate?: ExtensionPropertyApiCreateDto; + onUpdate?: ExtensionPropertyApiUpdateDto; }; -export type LocalizableStringDto = { - name?: null | string; - resource?: null | string; +export type ExtensionPropertyApiGetDto = { + isAvailable?: boolean; }; -export type ExtensionPropertyUiLookupDto = { - displayPropertyName?: null | string; - filterParamName?: null | string; - resultListPropertyName?: null | string; - url?: null | string; - valuePropertyName?: null | string; +export type ExtensionPropertyApiUpdateDto = { + isAvailable?: boolean; }; -export type ExtensionPropertyUiFormDto = { - isVisible?: boolean; -}; - -export type ExtensionPropertyUiTableDto = { - isVisible?: boolean; -}; - -export type ExtensionPropertyPolicyDto = { - features?: ExtensionPropertyFeaturePolicyDto; - globalFeatures?: ExtensionPropertyGlobalFeaturePolicyDto; - permissions?: ExtensionPropertyPermissionPolicyDto; -}; - -export type ExtensionPropertyUiDto = { - lookup?: ExtensionPropertyUiLookupDto; - onCreateForm?: ExtensionPropertyUiFormDto; - onEditForm?: ExtensionPropertyUiFormDto; - onTable?: ExtensionPropertyUiTableDto; +export type ExtensionPropertyAttributeDto = { + typeSimple?: (string) | null; + config?: { + [key: string]: unknown; + } | null; }; export type ExtensionPropertyDto = { - api?: ExtensionPropertyApiDto; - attributes?: Array | null; - configuration?: null | { - [key: string]: unknown; - }; - defaultValue?: unknown; - displayName?: LocalizableStringDto; - policy?: ExtensionPropertyPolicyDto; - type?: null | string; - typeSimple?: null | string; - ui?: ExtensionPropertyUiDto; + type?: (string) | null; + typeSimple?: (string) | null; + displayName?: LocalizableStringDto; + api?: ExtensionPropertyApiDto; + ui?: ExtensionPropertyUiDto; + policy?: ExtensionPropertyPolicyDto; + attributes?: Array | null; + configuration?: { + [key: string]: unknown; + } | null; + defaultValue?: unknown; }; -export type EntityExtensionDto = { - configuration?: null | { - [key: string]: unknown; - }; - properties?: null | { - [key: string]: ExtensionPropertyDto; - }; +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 | null; +}; + +export type FeatureProviderDto = { + name?: (string) | null; + key?: (string) | null; +}; + +export type FileAggregateRoute = { + routeKeys?: Array<(string)> | null; + routeKeysConfig?: Array | 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 | null; + dynamicRoutes?: Array | null; + aggregates?: Array | 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 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 | 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 | 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 | null; +}; + +export type GetOrganizationUnitRoleInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + organizationUnitId?: string; +}; + +export type GetOrganizationUnitRoleOutput = { + id?: string; + name?: (string) | null; +}; + +export type GetOrganizationUnitRoleOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +export type GetOrganizationUnitUserInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + organizationUnitId?: string; + filter?: (string) | null; +}; + +export type GetOrganizationUnitUserOutput = { + id?: string; + userName?: (string) | null; + email?: (string) | null; +}; + +export type GetOrganizationUnitUserOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +export type GetPermissionInput = { + providerName?: (string) | null; + providerKey?: (string) | null; +}; + +export type GetQRCodeOutput = { + /** + * base64 二维码 + */ + qrCode?: (string) | null; + /** + * 密钥 + */ + secret?: (string) | null; +}; + +export type GetUnAddRoleInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + organizationUnitId?: string; + filter?: (string) | null; +}; + +export type GetUnAddRoleOutput = { + id?: string; + name?: (string) | null; +}; + +export type GetUnAddRoleOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +export type GetUnAddUserInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + organizationUnitId?: string; + filter?: (string) | null; +}; + +export type GetUnAddUserOutput = { + id?: string; + userName?: (string) | null; + email?: (string) | null; +}; + +export type GetUnAddUserOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +/** + * HTTP 请求返回结果 + */ +export type HttpDataResult = { + code?: ResponeResultEnum; + /** + * 详细描述 + */ + msg?: (string) | null; + /** + * 是否获取到数据或者逻辑处理成功 + * 服务内部判断状态采用此属性 + */ + success?: boolean; + /** + * 时间戳(毫秒) + */ + readonly timestamp?: number; + /** + * 位置编码,主要用于接口请求逻辑定位 + * 使用时必须保证每个请求中不重复出现 + */ + locationCode?: number; + /** + * 扩展信息 + */ + extras?: (string) | null; +}; + +export type HttpStatusCode = 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511; + +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 | null; +}; + +export type IdentityRoleDtoPagedResultDto = { + items?: Array | 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 InterfaceMethodApiDescriptionModel = { + name?: (string) | null; + parametersOnMethod?: Array | null; + returnValue?: ReturnValueApiDescriptionModel; +}; + +export type IoTDBDynamicObjectPagedResultDto = { + items?: Array<{ + [key: string]: unknown; + }> | null; + totalCount?: number; +}; + +/** + * 物联网平台类型枚举 + */ +export type IoTPlatformTypeEnum = 0 | 1 | 2; + +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 = 1 | 2 | 3 | 4 | 5; + /** * 菜单类型 */ @@ -273,4743 +1486,3884 @@ export type MessageLevel = 10 | 20 | 30; */ export type MessageType = 10 | 20; -export type ModuleExtensionDto = { - configuration?: null | { - [key: string]: unknown; - }; - entities?: null | { - [key: string]: EntityExtensionDto; - }; +/** + * 抄读任务数据 Dto + */ +export type MeterReadingPacketInfoDto = { + /** + * 数据库名称,用于构建存储路径,来自系统配置 + */ + dataBaseName?: (string) | null; + /** + * 数据类型,用于构建存储路径 + * JiShe.ServicePro.Consts.IoTDBDataTypeConst + */ + ioTDataType?: (string) | null; + /** + * 设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 + * JiShe.ServicePro.Enums.DeviceTypeEnum + */ + deviceType?: (string) | null; + /** + * 设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等 + */ + deviceAddress?: (string) | null; + /** + * 时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取 + */ + timestamps?: number; + /** + * 格式化的时标 + */ + readonly formattedTimestamps?: string; + /** + * 设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明 + */ + devicePath?: (string) | null; + /** + * 排序索引分数值,具体值可以根据不同业务场景进行定义,例如时间戳、或者某一个固定的标识 + */ + scoreValue?: (string) | null; + /** + * 数据包类型 + */ + packetType?: number; + /** + * 是否手动操作 + */ + manualOrNot?: boolean; + /** + * 任务数据唯一标记 + */ + taskMark?: (string) | null; + /** + * 是否超时 + */ + isTimeout?: boolean; + /** + * 待抄读时间 + */ + pendingCopyReadTime?: string; + /** + * 集中器Id + */ + focusId?: number; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; + /** + * 表地址 + */ + meterAddress?: (string) | null; + /** + * 数据库业务ID + */ + databaseBusiID?: number; + /** + * AFN功能码 + */ + afn?: number; + /** + * 抄读功能码 + */ + fn?: number; + /** + * 抄读计量点 + */ + pn?: number; + /** + * 采集项编码 + */ + itemCode?: (string) | null; + /** + * 子项编码,一般用于透明转发的编码 + */ + subItemCode?: (string) | null; + /** + * 帧序列域 SEQ + */ + seq?: number; + /** + * 地址域A3的主站地址MSA + */ + msa?: number; + /** + * 是否发送 + */ + isSend?: boolean; + /** + * 发送次数 + */ + sendNum?: (number) | null; + /** + * 下次发送时间 + */ + nextSendTime?: (string) | null; + /** + * 创建时间 + */ + creationTime?: string; + /** + * 下发消息内容 + */ + issuedMessageHexString?: (string) | null; + /** + * 下发消息Id + */ + issuedMessageId?: (string) | null; + /** + * 集中器采集密度 + */ + focusDensity?: number; + /** + * 消息上报内容 + */ + receivedMessageHexString?: (string) | null; + /** + * 消息上报时间 + */ + receivedTime?: (string) | null; + /** + * 上报消息Id + */ + receivedMessageId?: (string) | null; + /** + * 上报报文解析备注,异常情况下才有 + */ + receivedRemark?: (string) | null; + /** + * 是否已上报 + */ + isReceived?: boolean; }; -export type ObjectExtensionsDto = { - enums?: null | { - [key: string]: ExtensionEnumDto; - }; - modules?: null | { - [key: string]: ModuleExtensionDto; - }; +/** + * 分页查询输入 + */ +export type MeterReadingPacketInfoPageInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + deviceType?: DeviceTypeEnum; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceAddress?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; + /** + * 表地址 + */ + meterAddress?: (string) | null; }; -export type InterfaceMethodApiDescriptionModel = { - name?: null | string; - parametersOnMethod?: Array | null; - returnValue?: ReturnValueApiDescriptionModel; +/** + * 分页查询输出 + */ +export type MeterReadingPacketInfoPageOutput = { + /** + * 数据库名称,用于构建存储路径,来自系统配置 + */ + dataBaseName?: (string) | null; + /** + * 数据类型,用于构建存储路径 + * JiShe.ServicePro.Consts.IoTDBDataTypeConst + */ + ioTDataType?: (string) | null; + /** + * 设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 + * JiShe.ServicePro.Enums.DeviceTypeEnum + */ + deviceType?: (string) | null; + /** + * 设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等 + */ + deviceAddress?: (string) | null; + /** + * 时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取 + */ + timestamps?: number; + /** + * 格式化的时标 + */ + readonly formattedTimestamps?: string; + /** + * 设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明 + */ + devicePath?: (string) | null; + /** + * 排序索引分数值,具体值可以根据不同业务场景进行定义,例如时间戳、或者某一个固定的标识 + */ + scoreValue?: (string) | null; + /** + * 数据包类型 + */ + packetType?: number; + /** + * 是否手动操作 + */ + manualOrNot?: boolean; + /** + * 任务数据唯一标记 + */ + taskMark?: (string) | null; + /** + * 是否超时 + */ + isTimeout?: boolean; + /** + * 待抄读时间 + */ + pendingCopyReadTime?: string; + /** + * 集中器Id + */ + focusId?: number; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; + /** + * 表地址 + */ + meterAddress?: (string) | null; + /** + * 数据库业务ID + */ + databaseBusiID?: number; + /** + * AFN功能码 + */ + afn?: number; + /** + * 抄读功能码 + */ + fn?: number; + /** + * 抄读计量点 + */ + pn?: number; + /** + * 采集项编码 + */ + itemCode?: (string) | null; + /** + * 子项编码,一般用于透明转发的编码 + */ + subItemCode?: (string) | null; + /** + * 帧序列域 SEQ + */ + seq?: number; + /** + * 地址域A3的主站地址MSA + */ + msa?: number; + /** + * 是否发送 + */ + isSend?: boolean; + /** + * 发送次数 + */ + sendNum?: (number) | null; + /** + * 下次发送时间 + */ + nextSendTime?: (string) | null; + /** + * 创建时间 + */ + creationTime?: string; + /** + * 下发消息内容 + */ + issuedMessageHexString?: (string) | null; + /** + * 下发消息Id + */ + issuedMessageId?: (string) | null; + /** + * 集中器采集密度 + */ + focusDensity?: number; + /** + * 消息上报内容 + */ + receivedMessageHexString?: (string) | null; + /** + * 消息上报时间 + */ + receivedTime?: (string) | null; + /** + * 上报消息Id + */ + receivedMessageId?: (string) | null; + /** + * 上报报文解析备注,异常情况下才有 + */ + receivedRemark?: (string) | null; + /** + * 是否已上报 + */ + isReceived?: boolean; + /** + * 时标 + */ + readonly times?: string; }; -export type ControllerInterfaceApiDescriptionModel = { - methods?: Array | null; - name?: null | string; - type?: null | string; +export type MeterReadingPacketInfoPageOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; }; -export type ControllerApiDescriptionModel = { - actions?: null | { - [key: string]: ActionApiDescriptionModel; - }; - apiVersion?: null | string; - controllerGroupName?: null | string; - controllerName?: null | string; - interfaces?: Array | null; - isIntegrationService?: boolean; - isRemoteService?: boolean; - type?: null | string; +export type MethodParameterApiDescriptionModel = { + name?: (string) | null; + typeAsString?: (string) | null; + type?: (string) | null; + typeSimple?: (string) | null; + isOptional?: boolean; + defaultValue?: unknown; }; export type ModuleApiDescriptionModel = { - controllers?: null | { - [key: string]: ControllerApiDescriptionModel; - }; - remoteServiceName?: null | string; - rootPath?: null | string; + rootPath?: (string) | null; + remoteServiceName?: (string) | null; + controllers?: { + [key: string]: ControllerApiDescriptionModel; + } | null; }; -export type PropertyApiDescriptionModel = { - isRequired?: boolean; - jsonName?: null | string; - maximum?: null | string; - maxLength?: null | number; - minimum?: null | string; - minLength?: null | number; - name?: null | string; - regex?: null | string; - type?: null | string; - typeSimple?: null | string; +export type ModuleExtensionDto = { + entities?: { + [key: string]: EntityExtensionDto; + } | null; + configuration?: { + [key: string]: unknown; + } | null; }; -export type TypeApiDescriptionModel = { - baseType?: null | string; - enumNames?: Array | null; - enumValues?: Array | null; - genericArguments?: Array | null; - isEnum?: boolean; - properties?: Array | null; -}; - -export type ApplicationApiDescriptionModel = { - modules?: null | { - [key: string]: ModuleApiDescriptionModel; - }; - types?: null | { - [key: string]: TypeApiDescriptionModel; - }; -}; - -export type ApplicationAuthConfigurationDto = { - grantedPolicies?: null | { - [key: string]: boolean; - }; -}; - -export type ClockDto = { - kind?: null | string; -}; - -export type CurrentTenantDto = { - id?: null | string; - isAvailable?: boolean; - name?: null | string; -}; - -export type CurrentCultureDto = { - cultureName?: null | string; - dateTimeFormat?: DateTimeFormatDto; - displayName?: null | string; - englishName?: null | string; - isRightToLeft?: boolean; - name?: null | string; - nativeName?: null | string; - threeLetterIsoLanguageName?: null | string; - twoLetterIsoLanguageName?: null | string; -}; - -export type CurrentUserDto = { - email?: null | string; - emailVerified?: boolean; - id?: null | string; - impersonatorTenantId?: null | string; - impersonatorTenantName?: null | string; - impersonatorUserId?: null | string; - impersonatorUserName?: null | string; - isAuthenticated?: boolean; - name?: null | string; - phoneNumber?: null | string; - phoneNumberVerified?: boolean; - roles?: Array | null; - sessionId?: null | string; - surName?: null | string; - tenantId?: null | string; - userName?: null | string; -}; - -export type NameValue = { - name?: null | string; - value?: null | string; -}; - -export type LanguageInfo = { - cultureName?: null | string; - displayName?: null | string; - readonly twoLetterISOLanguageName?: null | string; - uiCultureName?: null | string; -}; - -export type LockUserInput = { - locked?: boolean; - userId?: string; -}; - -export type ApplicationFeatureConfigurationDto = { - values?: null | { - [key: string]: null | string; - }; -}; - -export type ApplicationLocalizationResourceDto = { - baseResources?: Array | null; - texts?: null | { - [key: string]: string; - }; -}; - -export type ApplicationSettingConfigurationDto = { - values?: null | { - [key: string]: null | string; - }; -}; - -export type ChangePasswordInput = { - currentPassword?: null | string; - newPassword: string; -}; - -export type ApplicationGlobalFeatureConfigurationDto = { - enabledFeatures?: Array | null; -}; - -export type ApplicationLocalizationConfigurationDto = { - currentCulture?: CurrentCultureDto; - defaultResourceName?: null | string; - languageFilesMap?: null | { - [key: string]: Array; - }; - languages?: Array | null; - languagesMap?: null | { - [key: string]: Array; - }; - resources?: null | { - [key: string]: ApplicationLocalizationResourceDto; - }; - values?: null | { - [key: string]: { - [key: string]: string; - }; - }; -}; - -export type IanaTimeZone = { - timeZoneName?: null | string; -}; - -export type WindowsTimeZone = { - timeZoneId?: null | string; -}; - -export type TimeZone = { - iana?: IanaTimeZone; - windows?: WindowsTimeZone; -}; - -export type TimingDto = { - timeZone?: TimeZone; -}; - -export type ApplicationConfigurationDto = { - auth?: ApplicationAuthConfigurationDto; - clock?: ClockDto; - currentTenant?: CurrentTenantDto; - currentUser?: CurrentUserDto; - extraProperties?: null | { - [key: string]: unknown; - }; - features?: ApplicationFeatureConfigurationDto; - globalFeatures?: ApplicationGlobalFeatureConfigurationDto; - localization?: ApplicationLocalizationConfigurationDto; - multiTenancy?: MultiTenancyInfoDto; - objectExtensions?: ObjectExtensionsDto; - setting?: ApplicationSettingConfigurationDto; - timing?: TimingDto; -}; - -export type ApplicationLocalizationDto = { - currentCulture?: CurrentCultureDto; - resources?: null | { - [key: string]: ApplicationLocalizationResourceDto; - }; -}; - -/** - * 控制策略 - */ -export type ControlType = 10 | 20 | 30 | 40; - -export type CopyTemplateInput = { - id?: string; - /** - * 名称 - */ - name?: null | string; - /** - * 备注 - */ - remark?: null | string; -}; - -export type CreateAggregateInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - projectId?: string; -}; - -export type CreateDataDictinaryDetailInput = { - code?: null | string; - description?: null | string; - displayText?: null | string; - id?: string; - order?: number; -}; - -export type CreateDataDictinaryInput = { - code?: null | string; - description?: null | string; - displayText?: null | string; -}; - -export type CreateEntityModelInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - id?: string; - relationalType?: RelationalType; -}; - -export type CreateEntityModelPropertyInput = { - /** - * 允许添加 - */ - allowAdd?: boolean; - /** - * 允许编辑 - */ - allowEdit?: boolean; - /** - * 允许作为查询条件 - */ - allowSearch?: boolean; - /** - * 编码 - */ - code: string; - /** - * 数据类型Id - */ - dataTypeId?: null | string; - /** - * 当类型为decimal时的小数位数 (18,4) 中的18 - */ - decimalPrecision?: null | number; - /** - * 当类型为decimal时的字段长度 (18,4) 中的4 - */ - decimalScale?: null | number; - /** - * 描述 - */ - description: string; - /** - * 枚举类型Id - */ - enumTypeId?: null | string; - /** - * 实体模型Id - */ - id?: string; - /** - * 必填 - */ - isRequired?: boolean; - /** - * 字符串最大长度 - */ - maxLength?: null | number; - /** - * 字符串最小长度 - */ - minLength?: null | number; -}; - -export type CreateEnumTypeInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - /** - * 实体模型Id - */ - entityModelId?: string; - projectId?: string; -}; - -export type CreateEnumTypePropertyInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - /** - * Id - */ - enumTypeId?: string; - /** - * 枚举值 - */ - value?: number; -}; - -/** - * 创建语言 - */ -export type CreateLanguageInput = { - /** - * 语言名称 - */ - cultureName?: null | string; - /** - * 显示名称 - */ - displayName?: null | string; - /** - * 图标 - */ - flagIcon?: null | string; - /** - * 是否启用 - */ - isEnabled?: boolean; - /** - * Ui语言名称 - */ - uiCultureName?: null | string; -}; - -/** - * 创建语言文本 - */ -export type CreateLanguageTextInput = { - /** - * 语言名称 - */ - cultureName?: null | string; - /** - * 名称 - */ - name?: null | string; - /** - * 资源名称 - */ - resourceName?: null | string; - /** - * 值 - */ - value?: null | string; -}; - -/** - * 创建菜单 - */ -export type CreateMenuInput = { - /** - * 组件地址 - */ - component?: null | string; - /** - * 标题 - */ - displayTitle?: null | string; - /** - * 是否启用 - */ - enabled?: boolean; - /** - * 是否显示 - */ - hideInMenu: boolean; - /** - * 图标 - */ - icon?: null | string; - /** - * 是否缓存 - */ - keepAlive: boolean; - menuType?: MenuType; - /** - * 唯一编码 - */ - name: string; - openType?: OpenType; - /** - * 排序 - */ - order: number; - parentId?: null | string; - /** - * 路由地址 - */ - path: string; - /** - * 权限 - */ - policy?: null | string; - /** - * 标题 - */ - title: string; - /** - * 内外链地址 - */ - url?: null | string; -}; - -export type CreateOrganizationUnitInput = { - displayName?: null | string; - parentId?: null | string; -}; - -export type CreateProjectInput = { - /** - * 公司名称 - */ - companyName?: null | string; - /** - * 负责人 - */ - owner?: null | string; - /** - * 项目名称 - */ - projectName?: null | string; - /** - * 备注 - */ - remark?: null | string; - /** - * 是否支持多租户 - */ - supportTenant?: boolean; -}; - -export type TemplateType = 10 | 20; - -export type CreateTemplateDetailInput = { - /** - * 模板内容 - */ - content?: null | string; - controlType?: ControlType; - /** - * 描述 - */ - description?: null | string; - /** - * 模板类型 - */ - name?: null | string; - parentId?: null | string; - /** - * 模板id - */ - templateId?: string; - templateType?: TemplateType; -}; - -export type CreateTemplateInput = { - /** - * 名称 - */ - name?: null | string; - /** - * 备注 - */ - remark?: null | string; -}; - -/** - * 创建模板 - */ -export type CreateTextTemplateInput = { - /** - * 编码 - */ - code: string; - /** - * 内容 - */ - content: string; - /** - * 语言 - */ - cultureName: string; - /** - * 名称 - */ - name: string; -}; - -export type DataTypeDto = { - /** - * 编码 - */ - code?: null | string; - /** - * 描述 - */ - description?: null | string; - id?: string; - /** - * 是否是枚举 - */ - isEnum?: boolean; -}; - -export type DeleteAggregateInput = { - id?: string; -}; - -export type DeleteConnectionStringInput = { - /** - * 连接字符串名称 - */ - name?: null | string; - /** - * 租户id - */ - tenantId?: string; -}; - -export type DeleteDataDictionaryDetailInput = { - dataDictionaryId?: string; - dataDictionayDetailId?: string; -}; - -export type DeleteEntityModelInput = { - aggregateId?: string; - id?: string; -}; - -export type DeleteEntityModelPropertyInput = { - id?: string; - propertyId?: string; -}; - -export type DeleteEnumTypeInput = { - entityModelId?: string; - /** - * Id - */ - id?: string; -}; - -export type DeleteEnumTypePropertyInput = { - /** - * Id - */ - enumTypeId?: string; - /** - * Id - */ - id?: string; -}; - -export type DeleteFeatureInput = { - providerKey?: null | string; - providerName?: null | string; -}; - -/** - * 删除文件 - */ -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?: null | string; -}; - -export type DeleteProjectInput = { - id?: string; -}; - -export type DeleteTemplateDetailInput = { - templateDetailId?: string; - templateId?: string; -}; - -export type DeleteTemplateInput = { - id?: string; -}; - -/** - * 删除模板 - */ -export type DeleteTextTemplateInput = { - /** - * 模板Id - */ - id?: string; -}; - -export type DisabledTwoFactorInput = { - /** - * 验证码 - */ - code: string; -}; - -export type DownCodeInput = { - entityId?: Array | null; - projectId?: string; - templateId?: string; -}; - -export type DownloadFileObjectInput = { - /** - * 文件Id - */ - id?: string; -}; - -export type EntityOutput = { - /** - * 编码 - */ - code?: null | string; - /** - * 首字母小写 - */ - readonly codeCamelCase?: null | string; - /** - * 复数形式 - */ - readonly codePluralized?: null | string; - /** - * 描述 - */ - description?: null | string; - id?: string; -}; - -export type FeatureProviderDto = { - key?: null | string; - name?: null | string; -}; - -export type IValueValidator = { - readonly name?: null | string; - readonly properties?: null | { - [key: string]: unknown; - }; -}; - -export type IStringValueType = { - readonly name?: null | string; - readonly properties?: null | { - [key: string]: unknown; - }; - validator?: IValueValidator; -}; - -export type FeatureDto = { - depth?: number; - description?: null | string; - displayName?: null | string; - name?: null | string; - parentName?: null | string; - provider?: FeatureProviderDto; - value?: null | string; - valueType?: IStringValueType; -}; - -export type FeatureGroupDto = { - displayName?: null | string; - features?: Array | null; - name?: null | string; -}; - -export type FileAggregateRoute = { - aggregator?: null | string; - priority?: number; - routeIsCaseSensitive?: boolean; - routeKeys?: Array | null; - routeKeysConfig?: Array | null; - upstreamHost?: null | string; - readonly upstreamHttpMethod?: Array | null; - upstreamPathTemplate?: null | string; -}; - -export type FileAuthenticationOptions = { - allowedScopes?: Array | null; - authenticationProviderKey?: null | string; -}; - -export type FileCacheOptions = { - region?: null | string; - ttlSeconds?: number; -}; - -export type FileRateLimitRule = { - clientWhitelist?: Array | null; - enableRateLimiting?: boolean; - limit?: number; - period?: null | string; - periodTimespan?: number; -}; - -export type FileDynamicRoute = { - downstreamHttpVersion?: null | string; - rateLimitRule?: FileRateLimitRule; - serviceName?: null | string; -}; - -export type FileHttpHandlerOptions = { - allowAutoRedirect?: boolean; - maxConnectionsPerServer?: number; - useCookieContainer?: boolean; - useProxy?: boolean; - useTracing?: boolean; -}; - -export type FileLoadBalancerOptions = { - expiry?: number; - key?: null | string; - type?: null | string; -}; - -export type FileQoSOptions = { - durationOfBreak?: number; - exceptionsAllowedBeforeBreaking?: number; - timeoutValue?: number; -}; - -export type FileRateLimitOptions = { - clientIdHeader?: null | string; - disableRateLimitHeaders?: boolean; - httpStatusCode?: number; - quotaExceededMessage?: null | string; - rateLimitCounterPrefix?: null | string; -}; - -export type FileServiceDiscoveryProvider = { - configurationKey?: null | string; - host?: null | string; - namespace?: null | string; - pollingInterval?: number; - port?: number; - scheme?: null | string; - token?: null | string; - type?: null | string; -}; - -export type FileGlobalConfiguration = { - baseUrl?: null | string; - downstreamHttpVersion?: null | string; - downstreamScheme?: null | string; - httpHandlerOptions?: FileHttpHandlerOptions; - loadBalancerOptions?: FileLoadBalancerOptions; - qoSOptions?: FileQoSOptions; - rateLimitOptions?: FileRateLimitOptions; - requestIdKey?: null | string; - serviceDiscoveryProvider?: FileServiceDiscoveryProvider; -}; - -export type FileHostAndPort = { - host?: null | string; - port?: number; -}; - -export type FileSecurityOptions = { - ipAllowedList?: Array | null; - ipBlockedList?: Array | null; -}; - -export type FileRoute = { - addClaimsToRequest?: null | { - [key: string]: null | string; - }; - addHeadersToRequest?: null | { - [key: string]: null | string; - }; - addQueriesToRequest?: null | { - [key: string]: null | string; - }; - authenticationOptions?: FileAuthenticationOptions; - changeDownstreamPathTemplate?: null | { - [key: string]: null | string; - }; - dangerousAcceptAnyServerCertificateValidator?: boolean; - delegatingHandlers?: Array | null; - downstreamHeaderTransform?: null | { - [key: string]: null | string; - }; - downstreamHostAndPorts?: Array | null; - downstreamHttpMethod?: null | string; - downstreamHttpVersion?: null | string; - downstreamPathTemplate?: null | string; - downstreamScheme?: null | string; - fileCacheOptions?: FileCacheOptions; - httpHandlerOptions?: FileHttpHandlerOptions; - key?: null | string; - loadBalancerOptions?: FileLoadBalancerOptions; - priority?: number; - qoSOptions?: FileQoSOptions; - rateLimitOptions?: FileRateLimitRule; - requestIdKey?: null | string; - routeClaimsRequirement?: null | { - [key: string]: null | string; - }; - routeIsCaseSensitive?: boolean; - securityOptions?: FileSecurityOptions; - serviceName?: null | string; - serviceNamespace?: null | string; - timeout?: number; - upstreamHeaderTransform?: null | { - [key: string]: null | string; - }; - upstreamHost?: null | string; - upstreamHttpMethod?: Array | null; - upstreamPathTemplate?: null | string; -}; - -export type FileConfiguration = { - aggregates?: Array | null; - dynamicRoutes?: Array | null; - globalConfiguration?: FileGlobalConfiguration; - routes?: Array | null; -}; - -export type FindByUserNameInput = { - userName?: null | string; -}; - -export type FindTenantByNameInput = { - name?: null | string; -}; - -export type FindTenantResultDto = { - isActive?: boolean; - name?: null | string; - normalizedName?: null | string; - success?: boolean; - tenantId?: null | string; -}; - -export type GetDataTypeInput = { - entityModelId?: string; -}; - -export type GetDataTypeOutput = { - /** - * 枚举编码 - */ - code?: null | string; - /** - * 枚举描述 - */ - description?: null | string; - id?: string; -}; - -export type GetEntityModelInput = { - id?: string; -}; - -export type GetEnumTypeOutput = { - /** - * 枚举编码 - */ - code?: null | string; - /** - * 枚举描述 - */ - description?: null | string; - id?: string; -}; - -export type GetEntityModelPropertyOutput = { - /** - * 名称 - */ - code?: null | string; - /** - * 数据类型Id - */ - dataTypeId?: null | string; - dataTypeOutput?: GetDataTypeOutput; - /** - * 当类型为decimal时的小数位数 (18,4) 中的18 - */ - decimalPrecision?: null | number; - /** - * 当类型为decimal时的字段长度 (18,4) 中的4 - */ - decimalScale?: null | number; - /** - * 描述 - */ - description?: null | string; - /** - * 实体模型Id - */ - entityModelId?: string; - /** - * 枚举类型Id - */ - enumTypeId?: null | string; - enumTypeOutput?: GetEnumTypeOutput; - id?: string; - isEnum?: boolean; - /** - * 必填 - */ - isRequired?: boolean; - /** - * 字符串最大长度 - */ - maxLength?: null | number; - /** - * 字符串最小长度 - */ - minLength?: null | number; -}; - -export type GetEntityModelOutput = { - /** - * 编码 - */ - code?: null | string; - /** - * 描述 - */ - description?: null | string; - entityModelOutputs?: Array | null; - /** - * 实体模型属性集合 - */ - entityModelProperties?: Array | null; - id?: string; - relationalType?: RelationalType; -}; - -export type GetEntityModelTreeInput = { - projectId?: string; -}; - -export type GetEntityModelTreeOutput = { - children?: Array | null; - /** - * 描述 - */ - code?: null | string; - /** - * 描述 - */ - description?: null | string; - /** - * 图标 - */ - icon?: null | string; - /** - * 模板id - */ - key?: string; - /** - * 父类Id - */ - parentId?: null | string; - relationalType?: RelationalType; - /** - * 描述 - */ - title?: null | string; -}; - -export type GetFeatureListResultDto = { - groups?: Array | null; -}; - -export type GetFeatureListResultInput = { - providerKey?: null | string; - providerName?: null | string; -}; - -export type GetMenuTreeMetaOutput = { - displayTitle?: null | string; - /** - * 是否显示 - */ - hideInMenu?: boolean; - /** - * 图标 - */ - icon?: null | string; - /** - * 内链地址 - */ - iframeSrc?: null | string; - /** - * 是否缓存 - */ - keepAlive?: boolean; - /** - * 外链地址 - */ - link?: null | string; - /** - * 排序 - */ - order?: number; - title?: null | string; -}; - -export type GetMenuTreeOutput = { - children?: Array | null; - component?: null | string; - enabled?: boolean; - id?: string; - meta?: GetMenuTreeMetaOutput; - /** - * 名称 - */ - name?: null | string; - parentId?: null | string; - path?: null | string; -}; - -export type GetOrganizationUnitRoleInput = { - organizationUnitId?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type GetOrganizationUnitRoleOutput = { - id?: string; - name?: null | string; -}; - -export type GetOrganizationUnitRoleOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type GetOrganizationUnitUserInput = { - filter?: null | string; - organizationUnitId?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type GetOrganizationUnitUserOutput = { - email?: null | string; - id?: string; - userName?: null | string; -}; - -export type GetOrganizationUnitUserOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type GetPermissionInput = { - providerKey?: null | string; - providerName?: null | string; -}; - -export type GetProjectAndEntityInput = { - id?: string; -}; - -export type ProjectOutput = { - /** - * 公司名称 - */ - companyName?: null | string; - id?: string; - /** - * 项目名称 - */ - projectName?: null | string; -}; - -export type GetProjectAndEntityOutput = { - entities?: Array | null; - project?: ProjectOutput; -}; - -export type GetQRCodeOutput = { - /** - * base64 二维码 - */ - qrCode?: null | string; - /** - * 密钥 - */ - secret?: null | string; -}; - -export type GetTemplateTreeOutput = { - children?: Array | null; - /** - * 模板内容 - */ - content?: null | string; - controlType?: ControlType; - /** - * 描述 - */ - description?: null | string; - /** - * 图标 - */ - icon?: null | string; - /** - * 模板id - */ - key?: string; - /** - * 模板名称 - */ - name?: null | string; - templateType?: TemplateType; - /** - * 描述 - */ - title?: null | string; -}; - -export type GetTemplteTreeInput = { - templateId?: string; -}; - -export type GetUnAddRoleInput = { - filter?: null | string; - organizationUnitId?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type GetUnAddRoleOutput = { - id?: string; - name?: null | string; -}; - -export type GetUnAddRoleOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type GetUnAddUserInput = { - filter?: null | string; - organizationUnitId?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type GetUnAddUserOutput = { - email?: null | string; - id?: string; - userName?: null | string; -}; - -export type GetUnAddUserOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type HttpStatusCode = - | 100 - | 101 - | 102 - | 103 - | 200 - | 201 - | 202 - | 203 - | 204 - | 205 - | 206 - | 207 - | 208 - | 226 - | 300 - | 301 - | 302 - | 303 - | 304 - | 305 - | 306 - | 307 - | 308 - | 400 - | 401 - | 402 - | 403 - | 404 - | 405 - | 406 - | 407 - | 408 - | 409 - | 410 - | 411 - | 412 - | 413 - | 414 - | 415 - | 416 - | 417 - | 421 - | 422 - | 423 - | 424 - | 426 - | 428 - | 429 - | 431 - | 451 - | 500 - | 501 - | 502 - | 503 - | 504 - | 505 - | 506 - | 507 - | 508 - | 510 - | 511; - -export type IdentityRoleCreateDto = { - readonly extraProperties?: null | { - [key: string]: unknown; - }; - isDefault?: boolean; - isPublic?: boolean; - name: string; -}; - -export type IdentityRoleDto = { - concurrencyStamp?: null | string; - creationTime?: string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - isDefault?: boolean; - isPublic?: boolean; - isStatic?: boolean; - name?: null | string; -}; - -export type IdentityRoleDtoListResultDto = { - items?: Array | null; -}; - -export type IdentityRoleDtoPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type IdentityRoleUpdateDto = { - concurrencyStamp?: null | string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - isDefault?: boolean; - isPublic?: boolean; - name: string; -}; - -export type IdentityUserCreateDto = { - email: string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - isActive?: boolean; - lockoutEnabled?: boolean; - name?: null | string; - password: string; - phoneNumber?: null | string; - roleNames?: Array | null; - surname?: null | string; - userName: string; -}; - -export type IdentityUserDto = { - accessFailedCount?: number; - concurrencyStamp?: null | string; - creationTime?: string; - creatorId?: null | string; - deleterId?: null | string; - deletionTime?: null | string; - email?: null | string; - emailConfirmed?: boolean; - entityVersion?: number; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - isActive?: boolean; - isDeleted?: boolean; - lastModificationTime?: null | string; - lastModifierId?: null | string; - lastPasswordChangeTime?: null | string; - lockoutEnabled?: boolean; - lockoutEnd?: null | string; - name?: null | string; - phoneNumber?: null | string; - phoneNumberConfirmed?: boolean; - surname?: null | string; - tenantId?: null | string; - userName?: null | string; -}; - -export type IdentityUserUpdateDto = { - concurrencyStamp?: null | string; - email: string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - isActive?: boolean; - lockoutEnabled?: boolean; - name?: null | string; - password?: null | string; - phoneNumber?: null | string; - roleNames?: Array | null; - surname?: null | string; - userName: string; -}; - -export type IdentityFocusUpdateDto = { - apn?: null | string; - enabled?: boolean; - focusAddress: number | string; - focusCode?: null | string; - id?: string; - name: string; - selfDevelop?: boolean; - status?: boolean; -}; -export type IdInput = { - id?: string; -}; - -/** - * 登录 - */ -export type Login2FAInput = { - /** - * 双因素验证码 - */ - code?: null | string; - /** - * 用户名或者邮箱 - */ - name?: null | string; - /** - * 密码 - */ - password?: null | string; -}; - -/** - * 登录 - */ -export type LoginInput = { - /** - * 用户名或者邮箱 - */ - name?: null | string; - /** - * 密码 - */ - password?: null | string; -}; - -/** - * 登录 - */ -export type LoginOidcInput = { - /** - * code - */ - code: string; - /** - * Provider - */ - state: string; -}; - -export type LoginOutput = { - id?: string; - name?: null | string; - refreshToken?: null | string; - roles?: Array | null; - token?: null | string; - userName?: null | string; +export type MultiTenancyInfoDto = { + isEnabled?: boolean; }; export type MyProfileOutput = { - email?: null | string; - isActive?: boolean; - name?: null | string; - phoneNumber?: null | string; - surname?: null | string; - tenantId?: null | string; - twoFactorEnabled?: boolean; - userName?: null | string; + 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 = { - message?: null | string; - needChangePassword?: boolean; + needChangePassword?: boolean; + message?: (string) | null; }; -export type PageEntityModelInput = { - filter?: null | string; - id?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; +export type NodeTypeEnum = 1 | 2 | 3; + +export type ObjectExtensionsDto = { + modules?: { + [key: string]: ModuleExtensionDto; + } | null; + enums?: { + [key: string]: ExtensionEnumDto; + } | null; }; -export type PageEntityModelPropertyOutput = { - /** - * 允许添加 - */ - allowAdd?: boolean; - /** - * 允许编辑 - */ - allowEdit?: boolean; - /** - * 允许作为查询条件 - */ - allowSearch?: boolean; - /** - * 名称 - */ - code?: null | string; - dataTypeCode?: null | string; - dataTypeDescription?: null | string; - dataTypeId?: string; - /** - * 当类型为decimal时的小数位数 (18,4) 中的18 - */ - decimalPrecision?: null | number; - /** - * 当类型为decimal时的字段长度 (18,4) 中的4 - */ - decimalScale?: null | number; - /** - * 描述 - */ - description?: null | string; - /** - * 实体模型Id - */ - entityModelId?: string; - id?: null | string; - isEnum?: boolean; - /** - * 必填 - */ - isRequired?: boolean; - /** - * 字符串最大长度 - */ - maxLength?: null | number; - /** - * 字符串最小长度 - */ - minLength?: null | number; +export type OidcConfiguration = { + /** + * 是否启用 + */ + enabled?: boolean; + /** + * 类型 + */ + type?: (string) | null; + /** + * client_id + */ + clientId?: (string) | null; + /** + * 应用名称 + */ + clientName?: (string) | null; + /** + * 应用图标 + */ + icon?: (string) | null; + /** + * 认证地址 + */ + authUri?: (string) | null; }; -export type PageEntityModelPropertyOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; +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 PageEnumTypeInput = { - filter?: null | string; - id?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; +export type OneNETAccountInfoDtoPagedResultDto = { + items?: Array | null; + totalCount?: number; }; -export type PageEnumTypeOutput = { - /** - * 名称 - */ - code?: null | string; - creationTime?: string; - /** - * 描述 - */ - description?: null | string; - /** - * 实体模型Id - */ - entityModelId?: string; - id?: null | string; +export type OneNetAccountInsertInput = { + /** + * 账号名称 + */ + accountName: string; + /** + * 账号ID + */ + oneNETAccountId: string; + /** + * 手机号码 + */ + phoneNumber: string; + /** + * 账户通信密钥,平台可以重置密钥 + */ + accountAccesskey: string; }; -export type PageEnumTypeOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; +export type OneNetAccountListInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 手机号码 + */ + phoneNumber?: (string) | null; + /** + * 账号ID + */ + oneNETAccountId?: (string) | null; }; -export type PageEnumTypePropertyInput = { - filter?: null | string; - id?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; +export type OneNetAccountModifyInput = { + /** + * Id + */ + id?: string; + /** + * 账号名称 + */ + accountName: string; + /** + * 手机号码 + */ + phoneNumber: string; + /** + * 账户通信密钥,平台可以重置密钥 + */ + accountAccesskey: string; }; -export type PageEnumTypePropertyOutput = { - /** - * 名称 - */ - code?: null | string; - creationTime?: string; - /** - * 描述 - */ - description?: null | string; - id?: null | string; - /** - * 名称 - */ - value?: number; +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; + /** + * 物联网平台对应的产品Id + */ + ioTPlatformProductId?: (string) | null; + /** + * 产品名称 + */ + productName?: (string) | null; + /** + * 产品访问密钥 + */ + productAccesskey?: (string) | null; + /** + * 设备物模型文件管理地址 + */ + deviceThingModelUrl?: (string) | null; + /** + * 通信是否加密 + */ + isEncrypted?: boolean; + /** + * 是否启用 + */ + 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; }; -export type PageEnumTypePropertyOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; +export type OneNETProductInfoDtoPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +export type OneNetProductInfoInsertInput = { + /** + * OneNET 账号ID + */ + oneNETAccountId?: (string) | null; + /** + * 物联网平台对应的产品Id + */ + ioTPlatformProductId?: (string) | null; + /** + * 产品访问密钥 + */ + productAccesskey?: (string) | null; + /** + * 通讯服务地址 + */ + communicationAddress?: (string) | null; + /** + * TLS通讯服务地址 + */ + communicationAddressTLS?: (string) | null; +}; + +export type OneNetProductInfoListInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * OneNET账户Id + */ + oneNETAccountId?: (string) | null; + /** + * 产品名称 + */ + productName?: (string) | null; + /** + * 产品型号 + */ + model?: (string) | null; +}; + +/** + * 修改OneNET产品 + */ +export type OneNetProductInfoModifyInput = { + id?: string; +}; + +/** + * 生产车间获取OneNET产品列表 + */ +export type OneNetWorkshopProductListOutput = { + /** + * 用于计算签名字符的随机串 + */ + nonce?: (string) | null; + /** + * 加密签名,用以校验推送客户端身份合法性,校验方法见实例验证 + */ + signature?: (string) | null; + /** + * 签名有效期(毫秒) + */ + timestamp?: number; + /** + * 消息内容,JSON字符串,具体的设备相关信息 + */ + msg?: (string) | null; + /** + * OneNET账户Id + */ + oneNETAccountId?: (string) | null; + /** + * 物联网平台对应的产品Id + */ + ioTPlatformProductId?: (string) | null; + /** + * 产品名称 + */ + productName?: (string) | null; + /** + * 产品访问密钥 + */ + productAccesskey?: (string) | null; + /** + * 通讯服务地址 + */ + communicationAddress?: (string) | null; + /** + * TLS通讯服务地址 + */ + communicationAddressTLS?: (string) | null; +}; + +/** + * HTTP 请求返回结果 + */ +export type OneNetWorkshopProductListOutputListHttpDataResult = { + code?: ResponeResultEnum; + /** + * 详细描述 + */ + msg?: (string) | null; + /** + * 是否获取到数据或者逻辑处理成功 + * 服务内部判断状态采用此属性 + */ + success?: boolean; + /** + * 时间戳(毫秒) + */ + readonly timestamp?: number; + /** + * 位置编码,主要用于接口请求逻辑定位 + * 使用时必须保证每个请求中不重复出现 + */ + locationCode?: number; + /** + * 扩展信息 + */ + extras?: (string) | null; + /** + * 扩展字段 + */ + data?: Array | null; + /** + * 总数 + */ + total?: number; +}; + +/** + * 开放接口请求入参,所有外部接口请求参数 + */ +export type OpenApiRequest = { + /** + * 用于计算签名字符的随机串 + */ + nonce?: (string) | null; + /** + * 加密签名,用以校验推送客户端身份合法性,校验方法见实例验证 + */ + signature?: (string) | null; + /** + * 签名有效期(毫秒) + */ + timestamp?: number; + /** + * 消息内容,JSON字符串,具体的设备相关信息 + */ + msg?: (string) | null; +}; + +/** + * 打开类型 + */ +export type OpenType = 10 | 20 | 30 | 40; + +export type PageDeviceInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 表计名称 + */ + meterName?: (string) | null; + /** + * 表通信地址 + */ + meterAddress?: (string) | null; + ioTPlatform?: IoTPlatformTypeEnum; + protocol?: ProtocolTypeEnum; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; + /** + * 自研 + */ + selfDevelop?: (boolean) | null; + /** + * 搜索关键字 + */ + searchKeyword?: (string) | null; }; /** * 分页查询文件 */ export type PageFileObjectInput = { - /** - * 结束创建时间 - */ - endCreationTime?: null | string; - /** - * 文件名称 - */ - fileName?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; - /** - * 开始创建时间 - */ - startCreationTime?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; + /** + * 文件名称 + */ + fileName?: (string) | null; }; /** * 分页查询文件 */ export type PageFileObjectOutput = { - readonly beautifySize?: null | string; - /** - * 文件名称 - */ - contentType?: null | string; - /** - * 创建时间 - */ - creationTime?: string; - /** - * 文件名称 - */ - fileName?: null | string; - /** - * 文件大小 - */ - fileSize?: number; - /** - * 文件Id - */ - id?: string; + /** + * 文件Id + */ + id?: string; + /** + * 文件大小 + */ + fileSize?: number; + readonly beautifySize?: (string) | null; + /** + * 文件名称 + */ + contentType?: (string) | null; + /** + * 文件名称 + */ + fileName?: (string) | null; + /** + * 创建时间 + */ + creationTime?: string; }; export type PageFileObjectOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PageIdentityUserOutput = { - accessFailedCount?: number; - concurrencyStamp?: null | string; - creationTime?: string; - creatorId?: null | string; - deleterId?: null | string; - deletionTime?: null | string; - email?: null | string; - emailConfirmed?: boolean; - entityVersion?: number; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - isActive?: boolean; - isDeleted?: boolean; - lastModificationTime?: null | string; - lastModifierId?: null | string; - lastPasswordChangeTime?: null | string; - lockoutEnabled?: boolean; - lockoutEnd?: null | string; - name?: null | string; - phoneNumber?: null | string; - phoneNumberConfirmed?: boolean; - surname?: null | string; - tenantId?: null | string; - /** - * 是否开启双因素验证码 - */ - twoFactorEnabled?: boolean; - userName?: null | string; + 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 | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; /** * 创建语言 */ export type PageLanguageInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + filter?: (string) | null; }; /** * 创建语言 */ export type PageLanguageOutput = { - /** - * 创建时间 - */ - creationTime?: string; - /** - * 语言名称 - */ - cultureName?: null | string; - /** - * 显示名称 - */ - displayName?: null | string; - /** - * 图标 - */ - flagIcon?: null | string; - /** - * 语言Id - */ - id?: string; - /** - * 是否是默认语言 - */ - isDefault?: boolean; - /** - * 是否启用 - */ - isEnabled?: boolean; - /** - * Ui语言名称 - */ - uiCultureName?: null | string; + /** + * 语言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 | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; /** * 创建语言文本 */ export type PageLanguageTextInput = { - /** - * 语言 - */ - cultureName?: null | string; - /** - * 查询条件 name or value - */ - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 资源 - */ - resourceName?: null | string; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 语言 + */ + cultureName?: (string) | null; + /** + * 资源 + */ + resourceName?: (string) | null; + /** + * 查询条件 name or value + */ + filter?: (string) | null; }; /** * 创建语言文本 */ export type PageLanguageTextOutput = { - /** - * 名称 - */ - name?: null | string; - /** - * 资源名称 - */ - resourceName?: null | string; - /** - * 值 - */ - value?: null | string; + /** + * 资源名称 + */ + resourceName?: (string) | null; + /** + * 名称 + */ + name?: (string) | null; + /** + * 值 + */ + value?: (string) | null; }; export type PageLanguageTextOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; /** * 分页查询菜单 */ export type PageMenuInput = { - /** - * 结束创建时间 - */ - endCreationTime?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; - /** - * 开始创建时间 - */ - startCreationTime?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; }; /** * 分页查询菜单 */ export type PageMenuOutput = { - /** - * 组件地址 - */ - component?: null | string; - /** - * 创建时间 - */ - creationTime?: string; - /** - * 标题 - */ - displayTitle?: null | string; - /** - * 是否启用 - */ - enabled?: boolean; - /** - * 是否显示 - */ - hideInMenu?: boolean; - /** - * 图标 - */ - icon?: null | string; - /** - * 菜单Id - */ - id?: string; - /** - * 是否缓存 - */ - keepAlive?: boolean; - /** - * 标题 - */ - localizationTitle?: null | string; - menuType?: MenuType; - readonly menuTypeDescription?: null | string; - /** - * 唯一编码 - */ - name?: null | string; - openType?: OpenType; - readonly openTypeDescription?: null | string; - /** - * 排序 - */ - order?: number; - parentId?: null | string; - /** - * 路由/接口地址 - */ - path?: null | string; - /** - * 权限 - */ - policy?: null | string; - /** - * 标题 - */ - title?: null | string; - /** - * 内外链地址 - */ - url?: null | string; + /** + * 菜单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 | null; - totalCount?: number; -}; - -export type PageProjectInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; -}; - -export type PageTemplateInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + items?: Array | null; + totalCount?: number; }; export type PageTenantConnectionStringInput = { - /** - * 租户id - */ - id?: string; - /** - * 连接字符串名称 - */ - name?: null | string; - /** - * 连接字符串地址 - */ - value?: null | string; + /** + * 租户id + */ + id?: string; + /** + * 连接字符串名称 + */ + name?: (string) | null; + /** + * 连接字符串地址 + */ + value?: (string) | null; }; export type PageTenantConnectionStringOutput = { - /** - * 连接字符串名称 - */ - name?: null | string; - /** - * 租户id - */ - tenantId?: string; - /** - * 连接字符串地址 - */ - value?: null | string; + /** + * 租户id + */ + tenantId?: string; + /** + * 连接字符串名称 + */ + name?: (string) | null; + /** + * 连接字符串地址 + */ + value?: (string) | null; }; export type PageTenantConnectionStringOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; /** * 分页查询模板 */ export type PageTextTemplateInput = { - /** - * 编码 - */ - code?: null | string; - /** - * 内容 - */ - content?: null | string; - /** - * 结束创建时间 - */ - endCreationTime?: null | string; - /** - * 名称 - */ - name?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; - /** - * 开始创建时间 - */ - startCreationTime?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 名称 + */ + name?: (string) | null; + /** + * 编码 + */ + code?: (string) | null; + /** + * 内容 + */ + content?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; }; /** * 分页查询模板 */ export type PageTextTemplateOutput = { - /** - * 编码 - */ - code?: null | string; - /** - * 内容 - */ - content?: null | string; - /** - * 创建时间 - */ - creationTime?: string; - /** - * 语言 - */ - cultureName?: null | string; - /** - * 模板Id - */ - id?: string; - /** - * 名称 - */ - name?: null | string; + /** + * 模板Id + */ + id?: string; + /** + * 名称 + */ + name?: (string) | null; + /** + * 编码 + */ + code?: (string) | null; + /** + * 内容 + */ + content?: (string) | null; + /** + * 语言 + */ + cultureName?: (string) | null; + /** + * 创建时间 + */ + creationTime?: string; }; export type PageTextTemplateOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingAuditLogActionOutput = { - auditLogId?: string; - executionDuration?: number; - executionTime?: null | string; - extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - methodName?: null | string; - parameters?: null | string; - serviceName?: null | string; - tenantId?: null | string; + 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 = { - /** - * 应用程序名称 - */ - applicationName?: null | string; - /** - * 客户端IP - */ - clientIpAddress?: null | string; - /** - * RequestId - */ - correlationId?: null | string; - /** - * 结束时间 - */ - endTime?: null | string; - /** - * 是否有异常 - */ - hasException?: boolean | null; - /** - * 请求方法 - */ - httpMethod?: null | string; - httpStatusCode?: HttpStatusCode; - /** - * 最大执行时间 - */ - maxExecutionDuration?: null | number; - /** - * 最小执行时间 - */ - minExecutionDuration?: null | number; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - */ - sorting?: null | string; - /** - * 开始时间 - */ - startTime?: null | string; - /** - * 请求地址 - */ - url?: null | string; - /** - * 用户Id - */ - userId?: null | string; - /** - * 用户名 - */ - userName?: null | string; -}; - -export type PagingEntityPropertyChangeOutput = { - entityChangeId?: string; - id?: string; - newValue?: null | string; - originalValue?: null | string; - propertyName?: null | string; - propertyTypeFullName?: null | string; - tenantId?: null | string; -}; - -export type PagingEntityChangeOutput = { - auditLogId?: string; - changeTime?: null | string; - changeType?: EntityChangeType; - changeTypeDescription?: null | string; - entityId?: null | string; - entityTenantId?: null | string; - entityTypeFullName?: null | string; - extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - propertyChanges?: Array | null; - tenantId?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + */ + sorting?: (string) | null; + /** + * 开始时间 + */ + 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 = { - actions?: Array | null; - applicationName?: null | string; - browserInfo?: null | string; - clientId?: null | string; - clientIpAddress?: null | string; - clientName?: null | string; - comments?: null | string; - correlationId?: null | string; - entityChanges?: Array | null; - exceptions?: null | string; - executionDuration?: number; - executionTime?: null | string; - httpMethod?: null | string; - httpStatusCode?: null | number; - impersonatorTenantId?: null | string; - impersonatorUserId?: null | string; - tenantId?: null | string; - tenantName?: null | string; - url?: null | string; - userId?: null | string; - userName?: null | string; + 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 | null; + actions?: Array | null; }; export type PagingAuditLogOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingDataDictionaryDetailInput = { - dataDictionaryId?: string; - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + dataDictionaryId?: string; + filter?: (string) | null; }; export type PagingDataDictionaryDetailOutput = { - /** - * 字典明细编码 - */ - code?: null | string; - /** - * 所属字典Id - */ - dataDictionaryId?: string; - /** - * 描述 - */ - description?: null | string; - /** - * 英文显示名 - */ - displayText?: null | string; - id?: string; - /** - * 启/停用(默认启用) - */ - isEnabled?: boolean; - /** - * 展现列表时排序用 - */ - order?: number; + id?: string; + /** + * 所属字典Id + */ + dataDictionaryId?: string; + /** + * 字典明细编码 + */ + code?: (string) | null; + /** + * 展现列表时排序用 + */ + order?: number; + /** + * 英文显示名 + */ + displayText?: (string) | null; + /** + * 描述 + */ + description?: (string) | null; + /** + * 启/停用(默认启用) + */ + isEnabled?: boolean; }; export type PagingDataDictionaryDetailOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingDataDictionaryInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + filter?: (string) | null; }; export type PagingDataDictionaryOutput = { - /** - * 字典编码 - */ - code?: null | string; - /** - * 描述 - */ - description?: null | string; - /** - * 显示名 - */ - displayText?: null | string; - id?: string; + id?: string; + /** + * 字典编码 + */ + code?: (string) | null; + /** + * 显示名 + */ + displayText?: (string) | null; + /** + * 描述 + */ + description?: (string) | null; }; export type PagingDataDictionaryOutputPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | 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 | 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 = { - /** - * 请求地址 - */ - action?: null | string; - /** - * 应用程序名称 - */ - applicationName?: null | string; - /** - * ClientId - */ - clientId?: null | string; - /** - * RequestId - */ - correlationId?: null | string; - /** - * 结束时间 - */ - endTime?: null | string; - identity?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - */ - sorting?: null | string; - /** - * 开始时间 - */ - startTime?: null | string; - /** - * 用户Id - */ - userId?: null | string; - /** - * 用户名 - */ - userName?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + */ + 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 = { - action?: null | string; - applicationName?: null | string; - browserInfo?: null | string; - clientId?: null | string; - clientIpAddress?: null | string; - correlationId?: null | string; - creationTime?: string; - id?: string; - identity?: null | string; - tenantId?: null | string; - tenantName?: null | string; - userId?: null | string; - userName?: null | string; + 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 | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingNotificationInput = { - /** - * 内容 - */ - content?: null | string; - /** - * 已读结束时间 - */ - endReadTime?: null | string; - messageLevel?: MessageLevel; - messageType?: MessageType; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 是否已读 - */ - read?: boolean | null; - /** - * 接受者Id - */ - receiverUserId?: null | string; - /** - * 接受者名称 - */ - receiverUserName?: null | string; - /** - * 发送者Id - */ - senderUserId?: null | string; - /** - * 发送者名称 - */ - senderUserName?: null | string; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; - /** - * 已读开始时间 - */ - startReadTime?: null | string; - /** - * 标题 - */ - title?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 标题 + */ + 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 = { - /** - * 消息内容 - */ - content?: null | string; - creationTime?: string; - id?: string; - messageLevel?: MessageLevel; - readonly messageLevelName?: null | string; - messageType?: MessageType; - readonly messageTypeName?: null | string; - /** - * 是否已读 - */ - read?: boolean; - /** - * 已读时间 - */ - readTime?: null | string; - /** - * 订阅人 - * 消息类型是广播消息时,订阅人为空 - */ - receiveUserId?: null | string; - /** - * 接收人用户名 - * 消息类型是广播消息时,订接收人用户名为空 - */ - receiveUserName?: null | string; - /** - * 发送人 - */ - senderUserId?: string; - /** - * 发送人用户名 - */ - senderUserName?: null | string; - /** - * 租户id - */ - tenantId?: null | string; - /** - * 消息标题 - */ - title?: null | string; + 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 | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingNotificationSubscriptionInput = { - /** - * 已读结束时间 - */ - endReadTime?: null | string; - notificationId?: string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 是否已读 - */ - read?: boolean | null; - /** - * 接受者Id - */ - receiverUserId?: null | string; - /** - * 接受者名称 - */ - receiverUserName?: null | string; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; - /** - * 已读开始时间 - */ - startReadTime?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + notificationId?: string; + /** + * 接受者Id + */ + receiverUserId?: (string) | null; + /** + * 接受者名称 + */ + receiverUserName?: (string) | null; + /** + * 是否已读 + */ + read?: (boolean) | null; + /** + * 已读开始时间 + */ + startReadTime?: (string) | null; + /** + * 已读结束时间 + */ + endReadTime?: (string) | null; }; export type PagingNotificationSubscriptionOutput = { - /** - * 消息内容 - */ - content?: null | string; - id?: string; - messageLevel?: MessageLevel; - readonly messageLevelName?: null | string; - messageType?: MessageType; - readonly messageTypeName?: null | string; - /** - * 消息Id - */ - notificationId?: string; - /** - * 是否已读 - */ - read?: boolean; - /** - * 已读时间 - */ - readTime?: string; - /** - * 接收人id - */ - receiveUserId?: string; - /** - * 接收人用户名 - */ - receiveUserName?: null | string; - /** - * 发送人 - */ - senderUserId?: string; - /** - * 发送人用户名 - */ - senderUserName?: null | string; - /** - * 租户id - */ - tenantId?: null | string; - /** - * 消息标题 - */ - title?: null | string; + 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 | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; }; export type PagingRoleListInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + filter?: (string) | null; }; export type PagingTenantInput = { - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + filter?: (string) | null; }; export type PagingUserListInput = { - /** - * 关键字 - */ - filter?: null | string; - /** - * 当前页面.默认从1开始 - */ - pageIndex?: number; - /** - * 每页多少条.每页显示多少记录 - */ - pageSize?: number; - /** - * 跳过多少条 - */ - readonly skipCount?: number; - /** - * 排序 - * - * name desc - * - */ - sorting?: null | string; + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 关键字 + */ + filter?: (string) | null; }; -export type PermissionTreeDto = { - children?: Array | null; - key?: null | string; - title?: null | string; +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 PermissionOutput = { - allGrants?: Array | null; - grants?: Array | null; - permissions?: Array | null; + grants?: Array<(string)> | null; + allGrants?: Array<(string)> | null; + permissions?: Array | null; }; -export type PreViewCodeInput = { - entityId?: Array | null; - projectId?: string; - templateId?: string; +export type PermissionTreeDto = { + title?: (string) | null; + key?: (string) | null; + children?: Array | null; }; -export type ProjectDto = { - /** - * 公司名称 - */ - companyName?: null | string; - creationTime?: string; - creatorId?: null | string; - id?: string; - lastModificationTime?: null | string; - lastModifierId?: null | string; - /** - * 名称空间 - */ - nameSpace?: null | string; - /** - * 负责人 - */ - owner?: null | string; - /** - * 项目名称 - */ - projectName?: null | string; - /** - * 备注 - */ - remark?: null | string; - /** - * 是否支持多租户 - */ - supportTenant?: boolean; - tenantId?: null | string; +/** + * 开发状态枚举 + */ +export type ProductStatusEnum = 1 | 2 | 3 | 4 | 5; + +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; }; -export type ProjectDtoPagedResultDto = { - items?: Array | null; - totalCount?: number; +export type ProtocolTypeEnum = 0 | 1 | 2 | 30 | 31 | 32 | 33 | 34; + +/** + * 查询CTWing接收消息 + */ +export type QueryCTWingAepReceiveMessageInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + deviceType?: DeviceTypeEnum; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceAddress?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; + /** + * 物联网平台设备ID + */ + platformDeviceId?: (string) | null; +}; + +/** + * 查询CTWing接收消息 + */ +export type QueryCTWingAepReceiveMessageOutput = { + /** + * 数据库名称,用于构建存储路径,来自系统配置 + */ + dataBaseName?: (string) | null; + /** + * 数据类型,用于构建存储路径 + * JiShe.ServicePro.Consts.IoTDBDataTypeConst + */ + ioTDataType?: (string) | null; + /** + * 设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 + * JiShe.ServicePro.Enums.DeviceTypeEnum + */ + deviceType?: (string) | null; + /** + * 设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等 + */ + deviceAddress?: (string) | null; + /** + * 时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取 + */ + timestamps?: number; + /** + * 格式化的时标 + */ + readonly formattedTimestamps?: string; + /** + * 设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明 + */ + devicePath?: (string) | null; + /** + * 物联网平台租户Id + */ + platformTenantId?: (string) | null; + /** + * 物联网平台产品Id + */ + productId?: (string) | null; + /** + * 物联网平台服务Id + */ + serviceId?: (string) | null; + /** + * 物联网平台设备ID + */ + platformDeviceId?: (string) | null; + /** + * 消息类型 + */ + messageType?: (string) | null; + /** + * 通信协议 + */ + protocol?: (string) | null; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; + /** + * 表地址 + */ + meterAddress?: (string) | null; + /** + * 消息上报原始内容 + */ + rawMessage?: (string) | null; + /** + * 消息上报结果,主要是用于存储上报原始数据通过处理后的结果,并非报文解析结果 + */ + receivedPayload?: (string) | null; + /** + * 消息上报时间,单位毫秒,不是当前系统中的纳秒 + */ + receivedTime?: string; + /** + * IMSI + */ + imsi?: (string) | null; + /** + * IMEI + */ + imei?: (string) | null; +}; + +export type QueryCTWingAepReceiveMessageOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; +}; + +/** + * 查询OneNET接收消息 + */ +export type QueryOneNETReceiveMessageInput = { + /** + * 当前页面.默认从1开始 + */ + pageIndex?: number; + /** + * 每页多少条.每页显示多少记录 + */ + pageSize?: number; + /** + * 跳过多少条 + */ + readonly skipCount?: number; + /** + * 排序 + * + * name desc + * + */ + sorting?: (string) | null; + /** + * 系统名称 + */ + systemName?: (string) | null; + /** + * 数据类型 + */ + ioTDataType?: (string) | null; + deviceType?: DeviceTypeEnum; + /** + * 设备ID,数据生成者,例如集中器ID,电表ID、水表ID、流量计ID、传感器ID等 + */ + deviceAddress?: (string) | null; + /** + * 开始创建时间 + */ + startCreationTime?: (string) | null; + /** + * 结束创建时间 + */ + endCreationTime?: (string) | null; + /** + * 物联网平台设备ID + */ + platformDeviceId?: (string) | null; +}; + +/** + * 查询OneNET接收消息 + */ +export type QueryOneNETReceiveMessageOutput = { + /** + * 数据库名称,用于构建存储路径,来自系统配置 + */ + dataBaseName?: (string) | null; + /** + * 数据类型,用于构建存储路径 + * JiShe.ServicePro.Consts.IoTDBDataTypeConst + */ + ioTDataType?: (string) | null; + /** + * 设备类型集中器、电表、水表、流量计、传感器等,用于构建存储路径 + * JiShe.ServicePro.Enums.DeviceTypeEnum + */ + deviceType?: (string) | null; + /** + * 设备地址,数据生成者,例如集中器地址,电表地址、水表地址、流量计地址、传感器地址等 + */ + deviceAddress?: (string) | null; + /** + * 时标,也就是业务时间戳,单位毫秒,必须通过DateTimeOffset获取 + */ + timestamps?: number; + /** + * 格式化的时标 + */ + readonly formattedTimestamps?: string; + /** + * 设备路径,树模型使用,表模型会在数据插入的时候直接获取继承类的名称作为表明 + */ + devicePath?: (string) | null; + /** + * 物联网平台产品Id + */ + productId?: (string) | null; + /** + * 物联网平台设备ID + */ + platformDeviceId?: (string) | null; + /** + * 消息类型 + */ + messageType?: (string) | null; + /** + * 通信协议 + */ + protocol?: (string) | null; + /** + * 集中器地址 + */ + focusAddress?: (string) | null; + /** + * 表地址 + */ + meterAddress?: (string) | null; + /** + * 消息上报原始内容 + */ + rawMessage?: (string) | null; + /** + * 消息上报结果,主要是用于存储上报原始数据通过处理后的结果,并非报文解析结果 + */ + receivedPayload?: (string) | null; + /** + * 消息上报时间,单位毫秒,不是当前系统中的纳秒 + */ + receivedTime?: string; + /** + * 是否加密 + */ + isEncrypted?: boolean; + /** + * 明文消息,加密推送情况下才有 + */ + plaintextMessage?: (string) | null; +}; + +export type QueryOneNETReceiveMessageOutputPagedResultDto = { + items?: Array | null; + totalCount?: number; }; export type RefreshTokenInput = { - refreshToken: string; - userId?: string; + userId?: string; + refreshToken: string; }; export type RefreshTokenOutput = { - message?: null | string; - refreshToken?: null | string; - success?: boolean; - token?: null | string; -}; - -export type RemoteServiceValidationErrorInfo = { - members?: Array | null; - message?: null | string; + success?: boolean; + message?: (string) | null; + token?: (string) | null; + refreshToken?: (string) | null; }; export type RemoteServiceErrorInfo = { - code?: null | string; - data?: null | { - [key: string]: unknown; - }; - details?: null | string; - message?: null | string; - validationErrors?: Array | null; + code?: (string) | null; + message?: (string) | null; + details?: (string) | null; + data?: { + [key: string]: unknown; + } | null; + validationErrors?: Array | null; }; export type RemoteServiceErrorResponse = { - error?: RemoteServiceErrorInfo; + error?: RemoteServiceErrorInfo; +}; + +export type RemoteServiceValidationErrorInfo = { + message?: (string) | null; + members?: Array<(string)> | null; }; export type RemoteStreamContent = { - readonly contentLength?: null | number; - contentType?: null | string; - fileName?: null | string; + fileName?: (string) | null; + contentType?: (string) | null; + readonly contentLength?: (number) | null; }; export type RemoveRoleToOrganizationUnitInput = { - organizationUnitId?: string; - roleId?: string; + roleId?: string; + organizationUnitId?: string; }; export type RemoveUserToOrganizationUnitInput = { - organizationUnitId?: string; - userId?: string; + userId?: string; + organizationUnitId?: string; }; export type ResetPasswordInput = { - password: string; - userId?: string; + userId?: string; + password: string; }; export type ResetTwoFactorInput = { - userId?: string; + userId?: string; +}; + +/** + * 响应结果枚举 + */ +export type ResponeResultEnum = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 200 | 201 | 400 | 401 | 403 | 404 | 500 | 503 | 504 | -102 | -101; + +export type ReturnValueApiDescriptionModel = { + type?: (string) | null; + typeSimple?: (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 = { - /** - * 消息内容 - */ - content?: null | string; - /** - * 消息标题 - */ - title?: null | string; + /** + * 消息标题 + */ + title?: (string) | null; + /** + * 消息内容 + */ + content?: (string) | null; }; export type SendCommonMessageInput = { - /** - * 消息内容 - */ - content?: null | string; - /** - * 发送人 - */ - receiveUserId?: string; - /** - * 发送人名称 - */ - receiveUserName?: null | string; - /** - * 消息标题 - */ - title?: null | string; + /** + * 消息标题 + */ + title?: (string) | null; + /** + * 消息内容 + */ + content?: (string) | null; + /** + * 发送人 + */ + receiveUserId?: string; + /** + * 发送人名称 + */ + receiveUserName?: (string) | null; +}; + +export type ServiceProApplicationConfigurationDto = { + oidcConfiguration?: ApplicationOidcConfigurationDto; + multiTenancy?: MultiTenancyInfoDto; }; export type SetBatchReadInput = { - ids?: Array | null; + ids?: Array<(string)> | null; }; export type SetDataDictinaryDetailInput = { - dataDictionaryId?: string; - dataDictionayDetailId?: string; - isEnabled: boolean; + dataDictionaryId?: string; + dataDictionayDetailId?: string; + isEnabled: boolean; }; export type SetReadInput = { - id?: string; + id?: string; }; export type SettingItemOutput = { - /** - * 描述 - */ - description?: null | string; - /** - * 显示名称 - */ - displayName?: null | string; - /** - * 名称 - */ - name?: null | string; - /** - * 前端控件类型 - */ - type?: null | string; - /** - * 值 - */ - value?: null | string; + /** + * 名称 + */ + name?: (string) | null; + /** + * 显示名称 + */ + displayName?: (string) | null; + /** + * 描述 + */ + description?: (string) | null; + /** + * 值 + */ + value?: (string) | null; + /** + * 前端控件类型 + */ + type?: (string) | null; }; export type SettingOutput = { - /** - * 分组 - */ - group?: null | string; - /** - * 分组显示名称 - */ - groupDisplayName?: null | string; - settingItemOutput?: Array | null; -}; - -export type StringInt32KeyValuePair = { - key?: null | string; - value?: number; + /** + * 分组 + */ + group?: (string) | null; + /** + * 分组显示名称 + */ + groupDisplayName?: (string) | null; + settingItemOutput?: Array | null; }; export type StringStringFromSelector = { - readonly label?: null | string; - readonly value?: null | string; -}; - -/** - * 模板明细 - */ -export type TemplateDetailDto = { - /** - * 模板内容 - */ - content?: null | string; - controlType?: ControlType; - /** - * 描述 - */ - description?: null | string; - id?: string; - /** - * 模板名称 - */ - name?: null | string; - /** - * 父级id - */ - parentId?: null | string; - /** - * 模板id - */ - templateId?: string; - templateType?: TemplateType; -}; - -/** - * 模板 - */ -export type TemplateDto = { - creationTime?: string; - creatorId?: null | string; - id?: string; - lastModificationTime?: null | string; - lastModifierId?: null | string; - /** - * 名称 - */ - name?: null | string; - /** - * 备注 - */ - remark?: null | string; - /** - * 关联属性1:N 模板明细集合 - */ - templateDetails?: Array | null; - tenantId?: null | string; -}; - -export type TemplateDtoPagedResultDto = { - items?: Array | null; - totalCount?: number; -}; - -export type TemplateTreeDto = { - children?: Array | null; - /** - * 模板内容 - */ - content?: null | string; - controlType?: ControlType; - /** - * 描述 - */ - description?: null | string; - /** - * 图标 - */ - icon?: null | string; - /** - * 是否是文件夹 - */ - isFolder?: boolean; - /** - * 模板id - */ - key?: string; - /** - * 模板名称 - */ - name?: null | string; - templateType?: TemplateType; - /** - * 描述 - */ - title?: null | string; + readonly value?: (string) | null; + readonly label?: (string) | null; }; export type TenantCreateDto = { - adminEmailAddress: string; - adminPassword: string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - name: string; + readonly extraProperties?: { + [key: string]: unknown; + } | null; + name: string; + adminEmailAddress: string; + adminPassword: string; }; export type TenantDto = { - concurrencyStamp?: null | string; - readonly extraProperties?: null | { - [key: string]: unknown; - }; - id?: string; - name?: null | string; + readonly extraProperties?: { + [key: string]: unknown; + } | null; + id?: string; + name?: (string) | null; + concurrencyStamp?: (string) | null; }; export type TenantDtoPagedResultDto = { - items?: Array | null; - totalCount?: number; + items?: Array | null; + totalCount?: number; +}; + +export type TimeZone = { + iana?: IanaTimeZone; + windows?: WindowsTimeZone; +}; + +export type TimingDto = { + timeZone?: TimeZone; }; export type TreeOutput = { - children?: Array | null; - key?: string; - title?: null | string; + title?: (string) | null; + key?: string; + children?: Array | null; }; -export type UpdateAggregateInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - id?: string; +export type TypeApiDescriptionModel = { + baseType?: (string) | null; + isEnum?: boolean; + enumNames?: Array<(string)> | null; + enumValues?: Array | null; + genericArguments?: Array<(string)> | null; + properties?: Array | null; }; export type UpdateDataDictinaryInput = { - code?: null | string; - description?: null | string; - displayText?: null | string; - id?: string; + id?: string; + code?: (string) | null; + displayText?: (string) | null; + description?: (string) | null; }; export type UpdateDetailInput = { - dataDictionaryId?: string; - description?: null | string; - displayText?: null | string; - id?: string; - order?: number; -}; - -export type UpdateEntityModelInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - id?: string; - relationalType?: RelationalType; -}; - -export type UpdateEntityModelPropertyInput = { - /** - * 允许添加 - */ - allowAdd?: boolean; - /** - * 允许编辑 - */ - allowEdit?: boolean; - /** - * 允许作为查询条件 - */ - allowSearch?: boolean; - /** - * 编码 - */ - code: string; - /** - * 数据类型Id - */ - dataTypeId?: null | string; - /** - * 当类型为decimal时的小数位数 (18,4) 中的18 - */ - decimalPrecision?: null | number; - /** - * 当类型为decimal时的字段长度 (18,4) 中的4 - */ - decimalScale?: null | number; - /** - * 描述 - */ - description: string; - /** - * 实体模型Id - */ - entityModelId?: string; - /** - * 枚举类型Id - */ - enumTypeId?: null | string; - id?: string; - /** - * 必填 - */ - isRequired?: boolean; - /** - * 字符串最大长度 - */ - maxLength?: null | number; - /** - * 字符串最小长度 - */ - minLength?: null | number; - propertyId?: string; -}; - -export type UpdateEnumTypeInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - id?: string; -}; - -export type UpdateEnumTypePropertyInput = { - /** - * 编码 - */ - code: string; - /** - * 描述 - */ - description: string; - /** - * Id - */ - enumTypeId?: string; - /** - * Id - */ - id?: string; - /** - * 枚举值 - */ - value?: number; + dataDictionaryId?: string; + id?: string; + displayText?: (string) | null; + description?: (string) | null; + order?: number; }; export type UpdateFeatureDto = { - name?: null | string; - value?: null | string; -}; - -export type UpdateFeaturesDto = { - features?: Array | null; + name?: (string) | null; + value?: (string) | null; }; export type UpdateFeatureInput = { - providerKey?: null | string; - providerName?: null | string; - updateFeaturesDto?: UpdateFeaturesDto; + providerName?: (string) | null; + providerKey?: (string) | null; + updateFeaturesDto?: UpdateFeaturesDto; +}; + +export type UpdateFeaturesDto = { + features?: Array | null; }; /** * 删除语言 */ export type UpdateLanguageInput = { - /** - * 语言名称 - */ - cultureName?: null | string; - /** - * 显示名称 - */ - displayName?: null | string; - /** - * 图标 - */ - flagIcon?: null | string; - /** - * 语言Id - */ - id?: string; - /** - * 是否启用 - */ - isEnabled?: boolean; - /** - * Ui语言名称 - */ - uiCultureName?: null | string; + /** + * 语言Id + */ + id?: string; + /** + * 语言名称 + */ + cultureName?: (string) | null; + /** + * Ui语言名称 + */ + uiCultureName?: (string) | null; + /** + * 显示名称 + */ + displayName?: (string) | null; + /** + * 图标 + */ + flagIcon?: (string) | null; + /** + * 是否启用 + */ + isEnabled?: boolean; }; /** * 删除语言文本 */ export type UpdateLanguageTextInput = { - /** - * 语言名称 - */ - cultureName: string; - /** - * 名称 - */ - name: string; - /** - * 资源名称 - */ - resourceName: string; - /** - * 值 - */ - value: string; + /** + * 资源名称 + */ + resourceName: string; + /** + * 语言名称 + */ + cultureName: string; + /** + * 名称 + */ + name: string; + /** + * 值 + */ + value: string; }; /** * 更新菜单 */ export type UpdateMenuInput = { - /** - * 组件地址 - */ - component?: null | string; - enabled?: boolean; - /** - * 是否显示 - */ - hideInMenu: boolean; - /** - * 图标 - */ - icon?: null | string; - /** - * 菜单Id - */ - id?: string; - /** - * 是否缓存 - */ - keepAlive: boolean; - menuType?: MenuType; - /** - * 唯一编码 - */ - name: string; - openType?: OpenType; - /** - * 排序 - */ - order: number; - /** - * 路由地址 - */ - path: string; - /** - * 权限 - */ - policy?: null | string; - /** - * 标题 - */ - title: string; - /** - * 内外链地址 - */ - url?: null | string; + /** + * 菜单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?: null | string; - id?: string; + displayName?: (string) | null; + id?: string; }; export type UpdatePermissionDto = { - isGranted?: boolean; - name?: null | string; + name?: (string) | null; + isGranted?: boolean; }; export type UpdatePermissionsDto = { - permissions?: Array | null; -}; - -export type UpdateProjectInput = { - /** - * 公司名称 - */ - companyName?: null | string; - id?: string; - /** - * 负责人 - */ - owner?: null | string; - /** - * 项目名称 - */ - projectName?: null | string; - /** - * 备注 - */ - remark?: null | string; - /** - * 是否支持多租户 - */ - supportTenant?: boolean; + permissions?: Array | null; }; export type UpdateRoleInput = { - roleId?: string; - roleInfo?: IdentityRoleUpdateDto; + roleId?: string; + roleInfo?: IdentityRoleUpdateDto; }; export type UpdateRolePermissionsInput = { - providerKey?: null | string; - providerName?: null | string; - updatePermissionsDto?: UpdatePermissionsDto; + providerName?: (string) | null; + providerKey?: (string) | null; + updatePermissionsDto?: UpdatePermissionsDto; }; export type UpdateSettingInput = { - values?: null | { - [key: string]: null | string; - }; -}; - -export type UpdateTemplateDetailContentInput = { - /** - * 模板内容 - */ - content?: null | string; - templateDetailId?: string; - /** - * 模板id - */ - templateId?: string; -}; - -export type UpdateTemplateDetailInput = { - /** - * 模板内容 - */ - content?: null | string; - controlType?: ControlType; - /** - * 描述 - */ - description?: null | string; - /** - * 模板类型 - */ - name?: null | string; - templateDetailId?: string; - /** - * 模板id - */ - templateId?: string; -}; - -export type UpdateTemplateInput = { - id?: string; - /** - * 名称 - */ - name?: null | string; - /** - * 备注 - */ - remark?: null | string; + values?: { + [key: string]: ((string) | null); + } | null; }; export type UpdateTenantInput = { - id?: string; - name?: null | string; + id?: string; + name?: (string) | null; }; /** * 更新模板 */ export type UpdateTextTemplateInput = { - /** - * 编码 - */ - code: string; - /** - * 内容 - */ - content: string; - /** - * 语言 - */ - cultureName: string; - /** - * 模板Id - */ - id?: string; - /** - * 名称 - */ - name: string; + /** + * 模板Id + */ + id?: string; + /** + * 名称 + */ + name: string; + /** + * 编码 + */ + code: string; + /** + * 内容 + */ + content: string; + /** + * 语言 + */ + cultureName: string; }; export type UpdateUserInput = { - userId?: string; - userInfo?: IdentityUserUpdateDto; + userId?: string; + userInfo?: IdentityUserUpdateDto; }; export type UserLoginInfo = { - password: string; - rememberMe?: boolean; - userNameOrEmailAddress: string; + userNameOrEmailAddress: string; + password: string; + rememberMe?: boolean; +}; + +export type WindowsTimeZone = { + timeZoneId?: (string) | null; }; export type GetApiAbpApiDefinitionData = { - query?: { - IncludeTypes?: boolean; - }; + query?: { + model?: ApplicationApiDescriptionModelRequestDto; + }; }; -export type GetApiAbpApiDefinitionResponse = ApplicationApiDescriptionModel; +export type GetApiAbpApiDefinitionResponse = (ApplicationApiDescriptionModel); -export type GetApiAbpApiDefinitionError = RemoteServiceErrorResponse; +export type GetApiAbpApiDefinitionError = (RemoteServiceErrorResponse); export type GetApiAbpApplicationConfigurationData = { - query?: { - IncludeLocalizationResources?: boolean; - }; + query?: { + options?: ApplicationConfigurationRequestOptions; + }; }; -export type GetApiAbpApplicationConfigurationResponse = - ApplicationConfigurationDto; +export type GetApiAbpApplicationConfigurationResponse = (ApplicationConfigurationDto); -export type GetApiAbpApplicationConfigurationError = RemoteServiceErrorResponse; +export type GetApiAbpApplicationConfigurationError = (RemoteServiceErrorResponse); export type GetApiAbpApplicationLocalizationData = { - query: { - CultureName: string; - OnlyDynamics?: boolean; - }; + query?: { + input?: ApplicationLocalizationRequestDto; + }; }; -export type GetApiAbpApplicationLocalizationResponse = - ApplicationLocalizationDto; +export type GetApiAbpApplicationLocalizationResponse = (ApplicationLocalizationDto); -export type GetApiAbpApplicationLocalizationError = RemoteServiceErrorResponse; - -export type GetApiAppAbpProBasicApplicationConfigurationResponse = - AbpProApplicationConfigurationDto; - -export type GetApiAppAbpProBasicApplicationConfigurationError = - RemoteServiceErrorResponse; +export type GetApiAbpApplicationLocalizationError = (RemoteServiceErrorResponse); export type PostApiAppAccountLoginData = { - body?: LoginInput; + body?: LoginInput; }; -export type PostApiAppAccountLoginResponse = LoginOutput; +export type PostApiAppAccountLoginResponse = (LoginOutput); -export type PostApiAppAccountLoginError = RemoteServiceErrorResponse; +export type PostApiAppAccountLoginError = (RemoteServiceErrorResponse); export type PostApiAppAccountLogin2FaData = { - body?: Login2FAInput; + body?: Login2FAInput; }; -export type PostApiAppAccountLogin2FaResponse = LoginOutput; +export type PostApiAppAccountLogin2FaResponse = (LoginOutput); -export type PostApiAppAccountLogin2FaError = RemoteServiceErrorResponse; +export type PostApiAppAccountLogin2FaError = (RemoteServiceErrorResponse); export type PostApiAppAccountLoginOidcData = { - body?: LoginOidcInput; + body?: LoginOidcInput; }; -export type PostApiAppAccountLoginOidcResponse = LoginOutput; +export type PostApiAppAccountLoginOidcResponse = (LoginOutput); -export type PostApiAppAccountLoginOidcError = RemoteServiceErrorResponse; +export type PostApiAppAccountLoginOidcError = (RemoteServiceErrorResponse); export type PostApiAppAccountRefreshTokenData = { - body?: RefreshTokenInput; + body?: RefreshTokenInput; }; -export type PostApiAppAccountRefreshTokenResponse = RefreshTokenOutput; +export type PostApiAppAccountRefreshTokenResponse = (RefreshTokenOutput); -export type PostApiAppAccountRefreshTokenError = RemoteServiceErrorResponse; +export type PostApiAppAccountRefreshTokenError = (RemoteServiceErrorResponse); + +export type PostApiAppAccountLogoutResponse = (unknown); + +export type PostApiAppAccountLogoutError = (RemoteServiceErrorResponse); export type PostAuditLogsPageData = { - body?: PagingAuditLogInput; + body?: PagingAuditLogInput; }; -export type PostAuditLogsPageResponse = PagingAuditLogOutputPagedResultDto; +export type PostAuditLogsPageResponse = (PagingAuditLogOutputPagedResultDto); -export type PostAuditLogsPageError = RemoteServiceErrorResponse; +export type PostAuditLogsPageError = (RemoteServiceErrorResponse); + +export type PostAggregationBusinessReceiveCommandInfoAsyncData = { + query?: { + /** + * 开放接口请求入参,所有外部接口请求参数 + */ + input?: OpenApiRequest; + }; +}; + +export type PostAggregationBusinessReceiveCommandInfoAsyncResponse = (HttpDataResult); + +export type PostAggregationBusinessReceiveCommandInfoAsyncError = unknown; + +export type GetCommonGetSelectListData = { + query?: { + input?: SelectResultListInput; + }; +}; + +export type GetCommonGetSelectListResponse = (Array); + +export type GetCommonGetSelectListError = 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; + body?: PagingDataDictionaryInput; }; -export type PostDataDictionaryPageResponse = - PagingDataDictionaryOutputPagedResultDto; +export type PostDataDictionaryPageResponse = (PagingDataDictionaryOutputPagedResultDto); -export type PostDataDictionaryPageError = RemoteServiceErrorResponse; +export type PostDataDictionaryPageError = (RemoteServiceErrorResponse); export type PostDataDictionaryPageDetailData = { - body?: PagingDataDictionaryDetailInput; + body?: PagingDataDictionaryDetailInput; }; -export type PostDataDictionaryPageDetailResponse = - PagingDataDictionaryDetailOutputPagedResultDto; +export type PostDataDictionaryPageDetailResponse = (PagingDataDictionaryDetailOutputPagedResultDto); -export type PostDataDictionaryPageDetailError = RemoteServiceErrorResponse; +export type PostDataDictionaryPageDetailError = (RemoteServiceErrorResponse); export type PostDataDictionaryCreateData = { - body?: CreateDataDictinaryInput; + body?: CreateDataDictinaryInput; }; -export type PostDataDictionaryCreateResponse = unknown; +export type PostDataDictionaryCreateResponse = (unknown); -export type PostDataDictionaryCreateError = RemoteServiceErrorResponse; +export type PostDataDictionaryCreateError = (RemoteServiceErrorResponse); export type PostDataDictionaryCreateDetailData = { - body?: CreateDataDictinaryDetailInput; + body?: CreateDataDictinaryDetailInput; }; -export type PostDataDictionaryCreateDetailResponse = unknown; +export type PostDataDictionaryCreateDetailResponse = (unknown); -export type PostDataDictionaryCreateDetailError = RemoteServiceErrorResponse; +export type PostDataDictionaryCreateDetailError = (RemoteServiceErrorResponse); export type PostDataDictionaryStatusData = { - body?: SetDataDictinaryDetailInput; + body?: SetDataDictinaryDetailInput; }; -export type PostDataDictionaryStatusResponse = unknown; +export type PostDataDictionaryStatusResponse = (unknown); -export type PostDataDictionaryStatusError = RemoteServiceErrorResponse; +export type PostDataDictionaryStatusError = (RemoteServiceErrorResponse); export type PostDataDictionaryUpdateDetailData = { - body?: UpdateDetailInput; + body?: UpdateDetailInput; }; -export type PostDataDictionaryUpdateDetailResponse = unknown; +export type PostDataDictionaryUpdateDetailResponse = (unknown); -export type PostDataDictionaryUpdateDetailError = RemoteServiceErrorResponse; +export type PostDataDictionaryUpdateDetailError = (RemoteServiceErrorResponse); export type PostDataDictionaryDeleteData = { - body?: DeleteDataDictionaryDetailInput; + body?: DeleteDataDictionaryDetailInput; }; -export type PostDataDictionaryDeleteResponse = unknown; +export type PostDataDictionaryDeleteResponse = (unknown); -export type PostDataDictionaryDeleteError = RemoteServiceErrorResponse; +export type PostDataDictionaryDeleteError = (RemoteServiceErrorResponse); export type PostDataDictionaryDeleteDataDictionaryTypeData = { - body?: IdInput; + body?: IdInput; }; -export type PostDataDictionaryDeleteDataDictionaryTypeResponse = unknown; +export type PostDataDictionaryDeleteDataDictionaryTypeResponse = (unknown); -export type PostDataDictionaryDeleteDataDictionaryTypeError = - RemoteServiceErrorResponse; +export type PostDataDictionaryDeleteDataDictionaryTypeError = (RemoteServiceErrorResponse); export type PostDataDictionaryUpdateData = { - body?: UpdateDataDictinaryInput; + body?: UpdateDataDictinaryInput; }; -export type PostDataDictionaryUpdateResponse = unknown; +export type PostDataDictionaryUpdateResponse = (unknown); -export type PostDataDictionaryUpdateError = RemoteServiceErrorResponse; +export type PostDataDictionaryUpdateError = (RemoteServiceErrorResponse); -export type PostDataTypesListData = { - body?: GetDataTypeInput; +export type PostAggregationDeviceCreateAsyncData = { + query?: { + input?: CreateDeviceAggregationInput; + }; }; -export type PostDataTypesListResponse = Array; +export type PostAggregationDeviceCreateAsyncResponse = (boolean); -export type PostDataTypesListError = RemoteServiceErrorResponse; +export type PostAggregationDeviceCreateAsyncError = unknown; -export type PostEntityModelsPagePropertyData = { - body?: PageEntityModelInput; +export type PostAggregationDeviceDeleteAsyncData = { + query?: { + input?: IdInput; + }; }; -export type PostEntityModelsPagePropertyResponse = - PageEntityModelPropertyOutputPagedResultDto; +export type PostAggregationDeviceDeleteAsyncResponse = (boolean); -export type PostEntityModelsPagePropertyError = RemoteServiceErrorResponse; +export type PostAggregationDeviceDeleteAsyncError = unknown; -export type PostEntityModelsCreateAggregateData = { - body?: CreateAggregateInput; +export type PostAggregationDeviceFindByIdAsyncData = { + query?: { + input?: IdInput; + }; }; -export type PostEntityModelsCreateAggregateResponse = unknown; +export type PostAggregationDeviceFindByIdAsyncResponse = (DeviceManagementInfoDto); -export type PostEntityModelsCreateAggregateError = RemoteServiceErrorResponse; +export type PostAggregationDeviceFindByIdAsyncError = unknown; -export type PostEntityModelsUpdateAggregateData = { - body?: UpdateAggregateInput; +export type PostDeviceInfoFindByDeviceAddressData = { + query?: { + deviceAddress?: string; + }; }; -export type PostEntityModelsUpdateAggregateResponse = unknown; +export type PostDeviceInfoFindByDeviceAddressResponse = (DeviceManagementInfoDto); -export type PostEntityModelsUpdateAggregateError = RemoteServiceErrorResponse; +export type PostDeviceInfoFindByDeviceAddressError = unknown; -export type PostEntityModelsDeleteAggregateData = { - body?: DeleteAggregateInput; +export type PostDeviceInfoPageData = { + query?: { + input?: PageDeviceInput; + }; }; -export type PostEntityModelsDeleteAggregateResponse = unknown; +export type PostDeviceInfoPageResponse = (DeviceManagementInfoDtoPagedResultDto); -export type PostEntityModelsDeleteAggregateError = RemoteServiceErrorResponse; +export type PostDeviceInfoPageError = unknown; -export type PostEntityModelsCreateEntityModelData = { - body?: CreateEntityModelInput; +export type PostDeviceInfoCacheDeviceDataToRedisResponse = (boolean); + +export type PostDeviceInfoCacheDeviceDataToRedisError = unknown; + +export type PostDeviceInfoArchivesDownData = { + query?: { + input?: ArchivalDataIssuedInput; + }; }; -export type PostEntityModelsCreateEntityModelResponse = unknown; +export type PostDeviceInfoArchivesDownResponse = (boolean); -export type PostEntityModelsCreateEntityModelError = RemoteServiceErrorResponse; - -export type PostEntityModelsUpdateEntityModelData = { - body?: UpdateEntityModelInput; -}; - -export type PostEntityModelsUpdateEntityModelResponse = unknown; - -export type PostEntityModelsUpdateEntityModelError = RemoteServiceErrorResponse; - -export type PostEntityModelsDeleteEntityModelData = { - body?: DeleteEntityModelInput; -}; - -export type PostEntityModelsDeleteEntityModelResponse = unknown; - -export type PostEntityModelsDeleteEntityModelError = RemoteServiceErrorResponse; - -export type PostEntityModelsCreateEntityModelPropertyData = { - body?: CreateEntityModelPropertyInput; -}; - -export type PostEntityModelsCreateEntityModelPropertyResponse = unknown; - -export type PostEntityModelsCreateEntityModelPropertyError = - RemoteServiceErrorResponse; - -export type PostEntityModelsUpdateEntityModelPropertyData = { - body?: UpdateEntityModelPropertyInput; -}; - -export type PostEntityModelsUpdateEntityModelPropertyResponse = unknown; - -export type PostEntityModelsUpdateEntityModelPropertyError = - RemoteServiceErrorResponse; - -export type PostEntityModelsDeleteEntityModelPropertyData = { - body?: DeleteEntityModelPropertyInput; -}; - -export type PostEntityModelsDeleteEntityModelPropertyResponse = unknown; - -export type PostEntityModelsDeleteEntityModelPropertyError = - RemoteServiceErrorResponse; - -export type PostEntityModelsTreeData = { - body?: GetEntityModelTreeInput; -}; - -export type PostEntityModelsTreeResponse = Array; - -export type PostEntityModelsTreeError = RemoteServiceErrorResponse; - -export type PostEntityModelsGetData = { - body?: GetEntityModelInput; -}; - -export type PostEntityModelsGetResponse = Array; - -export type PostEntityModelsGetError = RemoteServiceErrorResponse; - -export type PostEnumTypesPageData = { - body?: PageEnumTypeInput; -}; - -export type PostEnumTypesPageResponse = PageEnumTypeOutputPagedResultDto; - -export type PostEnumTypesPageError = RemoteServiceErrorResponse; - -export type PostEnumTypesPagePropertyData = { - body?: PageEnumTypePropertyInput; -}; - -export type PostEnumTypesPagePropertyResponse = - PageEnumTypePropertyOutputPagedResultDto; - -export type PostEnumTypesPagePropertyError = RemoteServiceErrorResponse; - -export type PostEnumTypesCreateEnumTypeData = { - body?: CreateEnumTypeInput; -}; - -export type PostEnumTypesCreateEnumTypeResponse = unknown; - -export type PostEnumTypesCreateEnumTypeError = RemoteServiceErrorResponse; - -export type PostEnumTypesUpdateEnumTypeData = { - body?: UpdateEnumTypeInput; -}; - -export type PostEnumTypesUpdateEnumTypeResponse = unknown; - -export type PostEnumTypesUpdateEnumTypeError = RemoteServiceErrorResponse; - -export type PostEnumTypesDeleteEnumTypeData = { - body?: DeleteEnumTypeInput; -}; - -export type PostEnumTypesDeleteEnumTypeResponse = unknown; - -export type PostEnumTypesDeleteEnumTypeError = RemoteServiceErrorResponse; - -export type PostEnumTypesCreateEnumTypePropertyData = { - body?: CreateEnumTypePropertyInput; -}; - -export type PostEnumTypesCreateEnumTypePropertyResponse = unknown; - -export type PostEnumTypesCreateEnumTypePropertyError = - RemoteServiceErrorResponse; - -export type PostEnumTypesUpdateEnumTypePropertyData = { - body?: UpdateEnumTypePropertyInput; -}; - -export type PostEnumTypesUpdateEnumTypePropertyResponse = unknown; - -export type PostEnumTypesUpdateEnumTypePropertyError = - RemoteServiceErrorResponse; - -export type PostEnumTypesDeleteEnumTypePropertyData = { - body?: DeleteEnumTypePropertyInput; -}; - -export type PostEnumTypesDeleteEnumTypePropertyResponse = unknown; - -export type PostEnumTypesDeleteEnumTypePropertyError = - RemoteServiceErrorResponse; +export type PostDeviceInfoArchivesDownError = unknown; export type PostFeaturesListData = { - body?: GetFeatureListResultInput; + body?: GetFeatureListResultInput; }; -export type PostFeaturesListResponse = GetFeatureListResultDto; +export type PostFeaturesListResponse = (GetFeatureListResultDto); -export type PostFeaturesListError = RemoteServiceErrorResponse; +export type PostFeaturesListError = (RemoteServiceErrorResponse); export type PostFeaturesUpdateData = { - body?: UpdateFeatureInput; + body?: UpdateFeatureInput; }; -export type PostFeaturesUpdateResponse = unknown; +export type PostFeaturesUpdateResponse = (unknown); -export type PostFeaturesUpdateError = RemoteServiceErrorResponse; +export type PostFeaturesUpdateError = (RemoteServiceErrorResponse); export type PostFeaturesDeleteData = { - body?: DeleteFeatureInput; + body?: DeleteFeatureInput; }; -export type PostFeaturesDeleteResponse = unknown; +export type PostFeaturesDeleteResponse = (unknown); -export type PostFeaturesDeleteError = RemoteServiceErrorResponse; +export type PostFeaturesDeleteError = (RemoteServiceErrorResponse); export type PostFilesPageData = { - body?: PageFileObjectInput; + body?: PageFileObjectInput; }; -export type PostFilesPageResponse = PageFileObjectOutputPagedResultDto; +export type PostFilesPageResponse = (PageFileObjectOutputPagedResultDto); -export type PostFilesPageError = RemoteServiceErrorResponse; +export type PostFilesPageError = (RemoteServiceErrorResponse); export type PostFilesUploadData = { - body?: { - files?: Array; - }; + body?: { + files?: Array<((Blob | File))>; + }; }; -export type PostFilesUploadResponse = unknown; +export type PostFilesUploadResponse = (unknown); -export type PostFilesUploadError = RemoteServiceErrorResponse; +export type PostFilesUploadError = (RemoteServiceErrorResponse); export type PostFilesDeleteData = { - body?: DeleteFileObjectInput; + body?: DeleteFileObjectInput; }; -export type PostFilesDeleteResponse = unknown; +export type PostFilesDeleteResponse = (unknown); -export type PostFilesDeleteError = RemoteServiceErrorResponse; +export type PostFilesDeleteError = (RemoteServiceErrorResponse); export type PostFilesDownloadData = { - body?: DownloadFileObjectInput; + body?: DownloadFileObjectInput; }; -export type PostFilesDownloadResponse = RemoteStreamContent; +export type PostFilesDownloadResponse = (RemoteStreamContent); -export type PostFilesDownloadError = RemoteServiceErrorResponse; - -export type PostGeneratorPreViewCodeData = { - body?: PreViewCodeInput; -}; - -export type PostGeneratorPreViewCodeResponse = Array; - -export type PostGeneratorPreViewCodeError = RemoteServiceErrorResponse; - -export type PostGeneratorDownData = { - body?: DownCodeInput; -}; - -export type PostGeneratorDownResponse = Blob | File; - -export type PostGeneratorDownError = RemoteServiceErrorResponse; +export type PostFilesDownloadError = (RemoteServiceErrorResponse); export type PostIdentitySecurityLogsPageData = { - body?: PagingIdentitySecurityLogInput; + body?: PagingIdentitySecurityLogInput; }; -export type PostIdentitySecurityLogsPageResponse = - PagingIdentitySecurityLogOutputPagedResultDto; +export type PostIdentitySecurityLogsPageResponse = (PagingIdentitySecurityLogOutputPagedResultDto); -export type PostIdentitySecurityLogsPageError = RemoteServiceErrorResponse; +export type PostIdentitySecurityLogsPageError = (RemoteServiceErrorResponse); -export type PostLanguagesAllResponse = Array; +export type PostLanguagesAllResponse = (Array); -export type PostLanguagesAllError = RemoteServiceErrorResponse; +export type PostLanguagesAllError = (RemoteServiceErrorResponse); export type PostLanguagesPageData = { - body?: PageLanguageInput; + body?: PageLanguageInput; }; -export type PostLanguagesPageResponse = PageLanguageOutputPagedResultDto; +export type PostLanguagesPageResponse = (PageLanguageOutputPagedResultDto); -export type PostLanguagesPageError = RemoteServiceErrorResponse; +export type PostLanguagesPageError = (RemoteServiceErrorResponse); export type PostLanguagesCreateData = { - body?: CreateLanguageInput; + body?: CreateLanguageInput; }; -export type PostLanguagesCreateResponse = unknown; +export type PostLanguagesCreateResponse = (unknown); -export type PostLanguagesCreateError = RemoteServiceErrorResponse; +export type PostLanguagesCreateError = (RemoteServiceErrorResponse); export type PostLanguagesUpdateData = { - body?: UpdateLanguageInput; + body?: UpdateLanguageInput; }; -export type PostLanguagesUpdateResponse = unknown; +export type PostLanguagesUpdateResponse = (unknown); -export type PostLanguagesUpdateError = RemoteServiceErrorResponse; +export type PostLanguagesUpdateError = (RemoteServiceErrorResponse); export type PostLanguagesDeleteData = { - body?: DeleteLanguageInput; + body?: DeleteLanguageInput; }; -export type PostLanguagesDeleteResponse = unknown; +export type PostLanguagesDeleteResponse = (unknown); -export type PostLanguagesDeleteError = RemoteServiceErrorResponse; +export type PostLanguagesDeleteError = (RemoteServiceErrorResponse); export type PostLanguagesSetDefaultData = { - body?: IdInput; + body?: IdInput; }; -export type PostLanguagesSetDefaultResponse = unknown; +export type PostLanguagesSetDefaultResponse = (unknown); -export type PostLanguagesSetDefaultError = RemoteServiceErrorResponse; +export type PostLanguagesSetDefaultError = (RemoteServiceErrorResponse); -export type PostLanguageTextsAllResourceResponse = - Array; +export type PostLanguageTextsAllResourceResponse = (Array); -export type PostLanguageTextsAllResourceError = RemoteServiceErrorResponse; +export type PostLanguageTextsAllResourceError = (RemoteServiceErrorResponse); export type PostLanguageTextsPageData = { - body?: PageLanguageTextInput; + body?: PageLanguageTextInput; }; -export type PostLanguageTextsPageResponse = - PageLanguageTextOutputPagedResultDto; +export type PostLanguageTextsPageResponse = (PageLanguageTextOutputPagedResultDto); -export type PostLanguageTextsPageError = RemoteServiceErrorResponse; +export type PostLanguageTextsPageError = (RemoteServiceErrorResponse); export type PostLanguageTextsCreateData = { - body?: CreateLanguageTextInput; + body?: CreateLanguageTextInput; }; -export type PostLanguageTextsCreateResponse = unknown; +export type PostLanguageTextsCreateResponse = (unknown); -export type PostLanguageTextsCreateError = RemoteServiceErrorResponse; +export type PostLanguageTextsCreateError = (RemoteServiceErrorResponse); export type PostLanguageTextsUpdateData = { - body?: UpdateLanguageTextInput; + body?: UpdateLanguageTextInput; }; -export type PostLanguageTextsUpdateResponse = unknown; +export type PostLanguageTextsUpdateResponse = (unknown); -export type PostLanguageTextsUpdateError = RemoteServiceErrorResponse; +export type PostLanguageTextsUpdateError = (RemoteServiceErrorResponse); -export type PostMenusUserMenuResponse = Array; +export type PostMenusUserMenuResponse = (Array); -export type PostMenusUserMenuError = RemoteServiceErrorResponse; +export type PostMenusUserMenuError = (RemoteServiceErrorResponse); export type PostMenusPageData = { - body?: PageMenuInput; + body?: PageMenuInput; }; -export type PostMenusPageResponse = PageMenuOutputPagedResultDto; +export type PostMenusPageResponse = (PageMenuOutputPagedResultDto); -export type PostMenusPageError = RemoteServiceErrorResponse; +export type PostMenusPageError = (RemoteServiceErrorResponse); export type PostMenusCreateData = { - body?: CreateMenuInput; + body?: CreateMenuInput; }; -export type PostMenusCreateResponse = unknown; +export type PostMenusCreateResponse = (unknown); -export type PostMenusCreateError = RemoteServiceErrorResponse; +export type PostMenusCreateError = (RemoteServiceErrorResponse); export type PostMenusUpdateData = { - body?: UpdateMenuInput; + body?: UpdateMenuInput; }; -export type PostMenusUpdateResponse = unknown; +export type PostMenusUpdateResponse = (unknown); -export type PostMenusUpdateError = RemoteServiceErrorResponse; +export type PostMenusUpdateError = (RemoteServiceErrorResponse); export type PostMenusDeleteData = { - body?: DeleteMenuInput; + body?: DeleteMenuInput; }; -export type PostMenusDeleteResponse = unknown; +export type PostMenusDeleteResponse = (unknown); -export type PostMenusDeleteError = RemoteServiceErrorResponse; +export type PostMenusDeleteError = (RemoteServiceErrorResponse); -export type PostMenusTreeResponse = Array; +export type PostMenusTreeResponse = (Array); -export type PostMenusTreeError = RemoteServiceErrorResponse; +export type PostMenusTreeError = (RemoteServiceErrorResponse); export type PostNotificationNotificationPageData = { - body?: PagingNotificationInput; + body?: PagingNotificationInput; }; -export type PostNotificationNotificationPageResponse = - PagingNotificationOutputPagedResultDto; +export type PostNotificationNotificationPageResponse = (PagingNotificationOutputPagedResultDto); -export type PostNotificationNotificationPageError = RemoteServiceErrorResponse; +export type PostNotificationNotificationPageError = (RemoteServiceErrorResponse); export type PostNotificationNotificationSubscriptionPageData = { - body?: PagingNotificationSubscriptionInput; + body?: PagingNotificationSubscriptionInput; }; -export type PostNotificationNotificationSubscriptionPageResponse = - PagingNotificationSubscriptionOutputPagedResultDto; +export type PostNotificationNotificationSubscriptionPageResponse = (PagingNotificationSubscriptionOutputPagedResultDto); -export type PostNotificationNotificationSubscriptionPageError = - RemoteServiceErrorResponse; +export type PostNotificationNotificationSubscriptionPageError = (RemoteServiceErrorResponse); export type PostNotificationDeleteData = { - body?: DeleteMessageInput; + body?: DeleteMessageInput; }; -export type PostNotificationDeleteResponse = unknown; +export type PostNotificationDeleteResponse = (unknown); -export type PostNotificationDeleteError = RemoteServiceErrorResponse; +export type PostNotificationDeleteError = (RemoteServiceErrorResponse); export type PostNotificationSendCommonWarningMessageData = { - body?: SendCommonMessageInput; + body?: SendCommonMessageInput; }; -export type PostNotificationSendCommonWarningMessageResponse = unknown; +export type PostNotificationSendCommonWarningMessageResponse = (unknown); -export type PostNotificationSendCommonWarningMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendCommonWarningMessageError = (RemoteServiceErrorResponse); export type PostNotificationSendCommonInformationMessageData = { - body?: SendCommonMessageInput; + body?: SendCommonMessageInput; }; -export type PostNotificationSendCommonInformationMessageResponse = unknown; +export type PostNotificationSendCommonInformationMessageResponse = (unknown); -export type PostNotificationSendCommonInformationMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendCommonInformationMessageError = (RemoteServiceErrorResponse); export type PostNotificationSendCommonErrorMessageData = { - body?: SendCommonMessageInput; + body?: SendCommonMessageInput; }; -export type PostNotificationSendCommonErrorMessageResponse = unknown; +export type PostNotificationSendCommonErrorMessageResponse = (unknown); -export type PostNotificationSendCommonErrorMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendCommonErrorMessageError = (RemoteServiceErrorResponse); export type PostNotificationSendBroadCastWarningMessageData = { - body?: SendBroadCastMessageInput; + body?: SendBroadCastMessageInput; }; -export type PostNotificationSendBroadCastWarningMessageResponse = unknown; +export type PostNotificationSendBroadCastWarningMessageResponse = (unknown); -export type PostNotificationSendBroadCastWarningMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendBroadCastWarningMessageError = (RemoteServiceErrorResponse); export type PostNotificationSendBroadCastInformationMessageData = { - body?: SendBroadCastMessageInput; + body?: SendBroadCastMessageInput; }; -export type PostNotificationSendBroadCastInformationMessageResponse = unknown; +export type PostNotificationSendBroadCastInformationMessageResponse = (unknown); -export type PostNotificationSendBroadCastInformationMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendBroadCastInformationMessageError = (RemoteServiceErrorResponse); export type PostNotificationSendBroadCastErrorMessageData = { - body?: SendBroadCastMessageInput; + body?: SendBroadCastMessageInput; }; -export type PostNotificationSendBroadCastErrorMessageResponse = unknown; +export type PostNotificationSendBroadCastErrorMessageResponse = (unknown); -export type PostNotificationSendBroadCastErrorMessageError = - RemoteServiceErrorResponse; +export type PostNotificationSendBroadCastErrorMessageError = (RemoteServiceErrorResponse); export type PostNotificationReadData = { - body?: SetReadInput; + body?: SetReadInput; }; -export type PostNotificationReadResponse = unknown; +export type PostNotificationReadResponse = (unknown); -export type PostNotificationReadError = RemoteServiceErrorResponse; +export type PostNotificationReadError = (RemoteServiceErrorResponse); export type PostNotificationBatchReadData = { - body?: SetBatchReadInput; + body?: SetBatchReadInput; }; -export type PostNotificationBatchReadResponse = unknown; +export type PostNotificationBatchReadResponse = (unknown); -export type PostNotificationBatchReadError = RemoteServiceErrorResponse; +export type PostNotificationBatchReadError = (RemoteServiceErrorResponse); -export type PostOrganizationUnitsTreeResponse = Array; +export type PostOneNetAccountInsertAsyncData = { + query?: { + input?: OneNetAccountInsertInput; + }; +}; -export type PostOrganizationUnitsTreeError = RemoteServiceErrorResponse; +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 PostAggregationOneNetReceiveWorkshopProductionInfoAsyncData = { + query?: { + input?: OpenApiRequest; + }; +}; + +export type PostAggregationOneNetReceiveWorkshopProductionInfoAsyncResponse = (unknown); + +export type PostAggregationOneNetReceiveWorkshopProductionInfoAsyncError = unknown; + +export type PostAggregationOneNetGetProductListAsyncData = { + query?: { + /** + * 开放接口请求入参,所有外部接口请求参数 + */ + input?: OpenApiRequest; + }; +}; + +export type PostAggregationOneNetGetProductListAsyncResponse = (OneNetWorkshopProductListOutputListHttpDataResult); + +export type PostAggregationOneNetGetProductListAsyncError = 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 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 PostOneNetProductListAsyncData = { + query?: { + input?: OneNetProductInfoListInput; + }; +}; + +export type PostOneNetProductListAsyncResponse = (OneNETProductInfoDtoPagedResultDto); + +export type PostOneNetProductListAsyncError = 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 PostOrganizationUnitsTreeResponse = (Array); + +export type PostOrganizationUnitsTreeError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsCreateData = { - body?: CreateOrganizationUnitInput; + body?: CreateOrganizationUnitInput; }; -export type PostOrganizationUnitsCreateResponse = unknown; +export type PostOrganizationUnitsCreateResponse = (unknown); -export type PostOrganizationUnitsCreateError = RemoteServiceErrorResponse; +export type PostOrganizationUnitsCreateError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsDeleteData = { - body?: IdInput; + body?: IdInput; }; -export type PostOrganizationUnitsDeleteResponse = unknown; +export type PostOrganizationUnitsDeleteResponse = (unknown); -export type PostOrganizationUnitsDeleteError = RemoteServiceErrorResponse; +export type PostOrganizationUnitsDeleteError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsUpdateData = { - body?: UpdateOrganizationUnitInput; + body?: UpdateOrganizationUnitInput; }; -export type PostOrganizationUnitsUpdateResponse = unknown; +export type PostOrganizationUnitsUpdateResponse = (unknown); -export type PostOrganizationUnitsUpdateError = RemoteServiceErrorResponse; +export type PostOrganizationUnitsUpdateError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncData = { - body?: AddRoleToOrganizationUnitInput; + body?: AddRoleToOrganizationUnitInput; }; -export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse = - unknown; +export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncResponse = (unknown); -export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsAddRoleToOrganizationUnitAsyncError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncData = { - body?: RemoveRoleToOrganizationUnitInput; + body?: RemoveRoleToOrganizationUnitInput; }; -export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse = - unknown; +export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncResponse = (unknown); -export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsRemoveRoleFromOrganizationUnitAsyncError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsAddUserToOrganizationUnitData = { - body?: AddUserToOrganizationUnitInput; + body?: AddUserToOrganizationUnitInput; }; -export type PostOrganizationUnitsAddUserToOrganizationUnitResponse = unknown; +export type PostOrganizationUnitsAddUserToOrganizationUnitResponse = (unknown); -export type PostOrganizationUnitsAddUserToOrganizationUnitError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsAddUserToOrganizationUnitError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsRemoveUserFromOrganizationUnitData = { - body?: RemoveUserToOrganizationUnitInput; + body?: RemoveUserToOrganizationUnitInput; }; -export type PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse = - unknown; +export type PostOrganizationUnitsRemoveUserFromOrganizationUnitResponse = (unknown); -export type PostOrganizationUnitsRemoveUserFromOrganizationUnitError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsRemoveUserFromOrganizationUnitError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsGetUsersData = { - body?: GetOrganizationUnitUserInput; + body?: GetOrganizationUnitUserInput; }; -export type PostOrganizationUnitsGetUsersResponse = - GetOrganizationUnitUserOutputPagedResultDto; +export type PostOrganizationUnitsGetUsersResponse = (GetOrganizationUnitUserOutputPagedResultDto); -export type PostOrganizationUnitsGetUsersError = RemoteServiceErrorResponse; +export type PostOrganizationUnitsGetUsersError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsGetRolesData = { - body?: GetOrganizationUnitRoleInput; + body?: GetOrganizationUnitRoleInput; }; -export type PostOrganizationUnitsGetRolesResponse = - GetOrganizationUnitRoleOutputPagedResultDto; +export type PostOrganizationUnitsGetRolesResponse = (GetOrganizationUnitRoleOutputPagedResultDto); -export type PostOrganizationUnitsGetRolesError = RemoteServiceErrorResponse; +export type PostOrganizationUnitsGetRolesError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsGetUnAddUsersData = { - body?: GetUnAddUserInput; + body?: GetUnAddUserInput; }; -export type PostOrganizationUnitsGetUnAddUsersResponse = - GetUnAddUserOutputPagedResultDto; +export type PostOrganizationUnitsGetUnAddUsersResponse = (GetUnAddUserOutputPagedResultDto); -export type PostOrganizationUnitsGetUnAddUsersError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsGetUnAddUsersError = (RemoteServiceErrorResponse); export type PostOrganizationUnitsGetUnAddRolesData = { - body?: GetUnAddRoleInput; + body?: GetUnAddRoleInput; }; -export type PostOrganizationUnitsGetUnAddRolesResponse = - GetUnAddRoleOutputPagedResultDto; +export type PostOrganizationUnitsGetUnAddRolesResponse = (GetUnAddRoleOutputPagedResultDto); -export type PostOrganizationUnitsGetUnAddRolesError = - RemoteServiceErrorResponse; +export type PostOrganizationUnitsGetUnAddRolesError = (RemoteServiceErrorResponse); export type PostPermissionsTreeData = { - body?: GetPermissionInput; + body?: GetPermissionInput; }; -export type PostPermissionsTreeResponse = PermissionOutput; +export type PostPermissionsTreeResponse = (PermissionOutput); -export type PostPermissionsTreeError = RemoteServiceErrorResponse; +export type PostPermissionsTreeError = (RemoteServiceErrorResponse); export type PostPermissionsUpdateData = { - body?: UpdateRolePermissionsInput; + body?: UpdateRolePermissionsInput; }; -export type PostPermissionsUpdateResponse = unknown; +export type PostPermissionsUpdateResponse = (unknown); -export type PostPermissionsUpdateError = RemoteServiceErrorResponse; +export type PostPermissionsUpdateError = (RemoteServiceErrorResponse); -export type PostProjectsAllResponse = Array; +export type PostRolesAllResponse = (IdentityRoleDtoListResultDto); -export type PostProjectsAllError = RemoteServiceErrorResponse; - -export type PostProjectsPageData = { - body?: PageProjectInput; -}; - -export type PostProjectsPageResponse = ProjectDtoPagedResultDto; - -export type PostProjectsPageError = RemoteServiceErrorResponse; - -export type PostProjectsCreateData = { - body?: CreateProjectInput; -}; - -export type PostProjectsCreateResponse = unknown; - -export type PostProjectsCreateError = RemoteServiceErrorResponse; - -export type PostProjectsUpdateData = { - body?: UpdateProjectInput; -}; - -export type PostProjectsUpdateResponse = unknown; - -export type PostProjectsUpdateError = RemoteServiceErrorResponse; - -export type PostProjectsDeleteData = { - body?: DeleteProjectInput; -}; - -export type PostProjectsDeleteResponse = unknown; - -export type PostProjectsDeleteError = RemoteServiceErrorResponse; - -export type PostProjectsGetProjectAndEntityData = { - body?: GetProjectAndEntityInput; -}; - -export type PostProjectsGetProjectAndEntityResponse = GetProjectAndEntityOutput; - -export type PostProjectsGetProjectAndEntityError = RemoteServiceErrorResponse; - -export type PostRolesAllResponse = IdentityRoleDtoListResultDto; - -export type PostRolesAllError = RemoteServiceErrorResponse; +export type PostRolesAllError = (RemoteServiceErrorResponse); export type PostRolesPageData = { - body?: PagingRoleListInput; + body?: PagingRoleListInput; }; -export type PostRolesPageResponse = IdentityRoleDtoPagedResultDto; +export type PostRolesPageResponse = (IdentityRoleDtoPagedResultDto); -export type PostRolesPageError = RemoteServiceErrorResponse; +export type PostRolesPageError = (RemoteServiceErrorResponse); export type PostRolesCreateData = { - body?: IdentityRoleCreateDto; + body?: IdentityRoleCreateDto; }; -export type PostRolesCreateResponse = IdentityRoleDto; +export type PostRolesCreateResponse = (IdentityRoleDto); -export type PostRolesCreateError = RemoteServiceErrorResponse; +export type PostRolesCreateError = (RemoteServiceErrorResponse); export type PostRolesUpdateData = { - body?: UpdateRoleInput; + body?: UpdateRoleInput; }; -export type PostRolesUpdateResponse = IdentityRoleDto; +export type PostRolesUpdateResponse = (IdentityRoleDto); -export type PostRolesUpdateError = RemoteServiceErrorResponse; +export type PostRolesUpdateError = (RemoteServiceErrorResponse); export type PostRolesDeleteData = { - body?: IdInput; + body?: IdInput; }; -export type PostRolesDeleteResponse = unknown; +export type PostRolesDeleteResponse = (unknown); -export type PostRolesDeleteError = RemoteServiceErrorResponse; +export type PostRolesDeleteError = (RemoteServiceErrorResponse); -export type PostSettingsAllResponse = Array; +export type GetApiAppAbpProBasicApplicationConfigurationResponse = (ServiceProApplicationConfigurationDto); -export type PostSettingsAllError = RemoteServiceErrorResponse; +export type GetApiAppAbpProBasicApplicationConfigurationError = (RemoteServiceErrorResponse); + +export type PostSettingsAllResponse = (Array); + +export type PostSettingsAllError = (RemoteServiceErrorResponse); export type PostSettingsUpdateData = { - body?: UpdateSettingInput; + body?: UpdateSettingInput; }; -export type PostSettingsUpdateResponse = unknown; +export type PostSettingsUpdateResponse = (unknown); -export type PostSettingsUpdateError = RemoteServiceErrorResponse; +export type PostSettingsUpdateError = (RemoteServiceErrorResponse); -export type PostTemplatesAllResponse = Array; - -export type PostTemplatesAllError = RemoteServiceErrorResponse; - -export type PostTemplatesPageData = { - body?: PageTemplateInput; +export type PostTableModelPacketInfoPageData = { + body?: MeterReadingPacketInfoPageInput; }; -export type PostTemplatesPageResponse = TemplateDtoPagedResultDto; +export type PostTableModelPacketInfoPageResponse = (MeterReadingPacketInfoPageOutputPagedResultDto); -export type PostTemplatesPageError = RemoteServiceErrorResponse; +export type PostTableModelPacketInfoPageError = (RemoteServiceErrorResponse); -export type PostTemplatesCreateData = { - body?: CreateTemplateInput; +export type PostTableModelPacketInfoInsertData = { + body?: MeterReadingPacketInfoDto; }; -export type PostTemplatesCreateResponse = unknown; +export type PostTableModelPacketInfoInsertResponse = (unknown); -export type PostTemplatesCreateError = RemoteServiceErrorResponse; +export type PostTableModelPacketInfoInsertError = (RemoteServiceErrorResponse); -export type PostTemplatesUpdateData = { - body?: UpdateTemplateInput; +export type PostTableModelPacketInfoBatchInsertData = { + body?: Array; }; -export type PostTemplatesUpdateResponse = unknown; +export type PostTableModelPacketInfoBatchInsertResponse = (unknown); -export type PostTemplatesUpdateError = RemoteServiceErrorResponse; +export type PostTableModelPacketInfoBatchInsertError = (RemoteServiceErrorResponse); -export type PostTemplatesDeleteData = { - body?: DeleteTemplateInput; +export type PostTableModelDeviceDataInfoPageData = { + body?: DeviceTableModelDataInfoPageInput; }; -export type PostTemplatesDeleteResponse = unknown; +export type PostTableModelDeviceDataInfoPageResponse = (DeviceTableModelDataInfoPageOutputPagedResultDto); -export type PostTemplatesDeleteError = RemoteServiceErrorResponse; +export type PostTableModelDeviceDataInfoPageError = (RemoteServiceErrorResponse); -export type PostTemplatesCreateDetailData = { - body?: CreateTemplateDetailInput; +export type PostTableModelCtWingLogInfoData = { + body?: QueryCTWingAepReceiveMessageInput; }; -export type PostTemplatesCreateDetailResponse = unknown; +export type PostTableModelCtWingLogInfoResponse = (QueryCTWingAepReceiveMessageOutputPagedResultDto); -export type PostTemplatesCreateDetailError = RemoteServiceErrorResponse; +export type PostTableModelCtWingLogInfoError = (RemoteServiceErrorResponse); -export type PostTemplatesUpdateDetailData = { - body?: UpdateTemplateDetailInput; +export type PostTableModelOneNetLogInfoData = { + body?: QueryOneNETReceiveMessageInput; }; -export type PostTemplatesUpdateDetailResponse = unknown; +export type PostTableModelOneNetLogInfoResponse = (QueryOneNETReceiveMessageOutputPagedResultDto); -export type PostTemplatesUpdateDetailError = RemoteServiceErrorResponse; - -export type PostTemplatesUpdateDetailContentData = { - body?: UpdateTemplateDetailContentInput; -}; - -export type PostTemplatesUpdateDetailContentResponse = unknown; - -export type PostTemplatesUpdateDetailContentError = RemoteServiceErrorResponse; - -export type PostTemplatesDeleteDetailData = { - body?: DeleteTemplateDetailInput; -}; - -export type PostTemplatesDeleteDetailResponse = unknown; - -export type PostTemplatesDeleteDetailError = RemoteServiceErrorResponse; - -export type PostTemplatesTreeData = { - body?: GetTemplteTreeInput; -}; - -export type PostTemplatesTreeResponse = Array; - -export type PostTemplatesTreeError = RemoteServiceErrorResponse; - -export type PostTemplatesListResponse = Array; - -export type PostTemplatesListError = RemoteServiceErrorResponse; - -export type PostTemplatesControlTypeResponse = Array; - -export type PostTemplatesControlTypeError = RemoteServiceErrorResponse; - -export type PostTemplatesTemplateTypeResponse = Array; - -export type PostTemplatesTemplateTypeError = RemoteServiceErrorResponse; - -export type PostTemplatesCopyData = { - body?: CopyTemplateInput; -}; - -export type PostTemplatesCopyResponse = unknown; - -export type PostTemplatesCopyError = RemoteServiceErrorResponse; +export type PostTableModelOneNetLogInfoError = (RemoteServiceErrorResponse); export type PostTenantsFindData = { - body?: FindTenantByNameInput; + body?: FindTenantByNameInput; }; -export type PostTenantsFindResponse = FindTenantResultDto; +export type PostTenantsFindResponse = (FindTenantResultDto); -export type PostTenantsFindError = RemoteServiceErrorResponse; +export type PostTenantsFindError = (RemoteServiceErrorResponse); export type PostTenantsPageData = { - body?: PagingTenantInput; + body?: PagingTenantInput; }; -export type PostTenantsPageResponse = TenantDtoPagedResultDto; +export type PostTenantsPageResponse = (TenantDtoPagedResultDto); -export type PostTenantsPageError = RemoteServiceErrorResponse; +export type PostTenantsPageError = (RemoteServiceErrorResponse); export type PostTenantsCreateData = { - body?: TenantCreateDto; + body?: TenantCreateDto; }; -export type PostTenantsCreateResponse = TenantDto; +export type PostTenantsCreateResponse = (TenantDto); -export type PostTenantsCreateError = RemoteServiceErrorResponse; +export type PostTenantsCreateError = (RemoteServiceErrorResponse); export type PostTenantsUpdateData = { - body?: UpdateTenantInput; + body?: UpdateTenantInput; }; -export type PostTenantsUpdateResponse = TenantDto; +export type PostTenantsUpdateResponse = (TenantDto); -export type PostTenantsUpdateError = RemoteServiceErrorResponse; +export type PostTenantsUpdateError = (RemoteServiceErrorResponse); export type PostTenantsDeleteData = { - body?: IdInput; + body?: IdInput; }; -export type PostTenantsDeleteResponse = unknown; +export type PostTenantsDeleteResponse = (unknown); -export type PostTenantsDeleteError = RemoteServiceErrorResponse; +export type PostTenantsDeleteError = (RemoteServiceErrorResponse); export type PostTenantsPageConnectionStringData = { - body?: PageTenantConnectionStringInput; + body?: PageTenantConnectionStringInput; }; -export type PostTenantsPageConnectionStringResponse = - PageTenantConnectionStringOutputPagedResultDto; +export type PostTenantsPageConnectionStringResponse = (PageTenantConnectionStringOutputPagedResultDto); -export type PostTenantsPageConnectionStringError = RemoteServiceErrorResponse; +export type PostTenantsPageConnectionStringError = (RemoteServiceErrorResponse); export type PostTenantsAddOrUpdateConnectionStringData = { - body?: AddOrUpdateConnectionStringInput; + body?: AddOrUpdateConnectionStringInput; }; -export type PostTenantsAddOrUpdateConnectionStringResponse = unknown; +export type PostTenantsAddOrUpdateConnectionStringResponse = (unknown); -export type PostTenantsAddOrUpdateConnectionStringError = - RemoteServiceErrorResponse; +export type PostTenantsAddOrUpdateConnectionStringError = (RemoteServiceErrorResponse); export type PostTenantsDeleteConnectionStringData = { - body?: DeleteConnectionStringInput; + body?: DeleteConnectionStringInput; }; -export type PostTenantsDeleteConnectionStringResponse = unknown; +export type PostTenantsDeleteConnectionStringResponse = (unknown); -export type PostTenantsDeleteConnectionStringError = RemoteServiceErrorResponse; +export type PostTenantsDeleteConnectionStringError = (RemoteServiceErrorResponse); export type PostTextTemplatesPageData = { - body?: PageTextTemplateInput; + body?: PageTextTemplateInput; }; -export type PostTextTemplatesPageResponse = - PageTextTemplateOutputPagedResultDto; +export type PostTextTemplatesPageResponse = (PageTextTemplateOutputPagedResultDto); -export type PostTextTemplatesPageError = RemoteServiceErrorResponse; +export type PostTextTemplatesPageError = (RemoteServiceErrorResponse); export type PostTextTemplatesCreateData = { - body?: CreateTextTemplateInput; + body?: CreateTextTemplateInput; }; -export type PostTextTemplatesCreateResponse = unknown; +export type PostTextTemplatesCreateResponse = (unknown); -export type PostTextTemplatesCreateError = RemoteServiceErrorResponse; +export type PostTextTemplatesCreateError = (RemoteServiceErrorResponse); export type PostTextTemplatesUpdateData = { - body?: UpdateTextTemplateInput; + body?: UpdateTextTemplateInput; }; -export type PostTextTemplatesUpdateResponse = unknown; +export type PostTextTemplatesUpdateResponse = (unknown); -export type PostTextTemplatesUpdateError = RemoteServiceErrorResponse; +export type PostTextTemplatesUpdateError = (RemoteServiceErrorResponse); export type PostTextTemplatesDeleteData = { - body?: DeleteTextTemplateInput; + body?: DeleteTextTemplateInput; }; -export type PostTextTemplatesDeleteResponse = unknown; +export type PostTextTemplatesDeleteResponse = (unknown); -export type PostTextTemplatesDeleteError = RemoteServiceErrorResponse; +export type PostTextTemplatesDeleteError = (RemoteServiceErrorResponse); export type PostTextTemplatesExportData = { - body?: PageTextTemplateInput; + body?: PageTextTemplateInput; }; -export type PostTextTemplatesExportResponse = Blob | File; +export type PostTextTemplatesExportResponse = ((Blob | File)); -export type PostTextTemplatesExportError = RemoteServiceErrorResponse; +export type PostTextTemplatesExportError = (RemoteServiceErrorResponse); + +export type PostTreeModelDeviceDataInfoPageData = { + query?: { + input?: DeviceTreeModelDataInfoInput; + }; +}; + +export type PostTreeModelDeviceDataInfoPageResponse = (IoTDBDynamicObjectPagedResultDto); + +export type PostTreeModelDeviceDataInfoPageError = unknown; export type PostUsersPageData = { - body?: PagingUserListInput; + body?: PagingUserListInput; }; -export type PostUsersPageResponse = PageIdentityUserOutputPagedResultDto; +export type PostUsersPageResponse = (PageIdentityUserOutputPagedResultDto); -export type PostUsersPageError = RemoteServiceErrorResponse; +export type PostUsersPageError = (RemoteServiceErrorResponse); export type PostUsersListData = { - body?: PagingUserListInput; + body?: PagingUserListInput; }; -export type PostUsersListResponse = Array; +export type PostUsersListResponse = (Array); -export type PostUsersListError = RemoteServiceErrorResponse; +export type PostUsersListError = (RemoteServiceErrorResponse); export type PostUsersExportData = { - body?: PagingUserListInput; + body?: PagingUserListInput; }; -export type PostUsersExportResponse = Blob | File; +export type PostUsersExportResponse = ((Blob | File)); -export type PostUsersExportError = RemoteServiceErrorResponse; +export type PostUsersExportError = (RemoteServiceErrorResponse); export type PostUsersCreateData = { - body?: IdentityUserCreateDto; + body?: IdentityUserCreateDto; }; -export type PostUsersCreateResponse = IdentityUserDto; +export type PostUsersCreateResponse = (IdentityUserDto); -export type PostUsersCreateError = RemoteServiceErrorResponse; +export type PostUsersCreateError = (RemoteServiceErrorResponse); export type PostUsersUpdateData = { - body?: UpdateUserInput; + body?: UpdateUserInput; }; -export type PostUsersUpdateResponse = IdentityUserDto; +export type PostUsersUpdateResponse = (IdentityUserDto); -export type PostUsersUpdateError = RemoteServiceErrorResponse; +export type PostUsersUpdateError = (RemoteServiceErrorResponse); export type PostUsersDeleteData = { - body?: IdInput; + body?: IdInput; }; -export type PostUsersDeleteResponse = unknown; +export type PostUsersDeleteResponse = (unknown); -export type PostUsersDeleteError = RemoteServiceErrorResponse; +export type PostUsersDeleteError = (RemoteServiceErrorResponse); export type PostUsersRoleData = { - body?: IdInput; + body?: IdInput; }; -export type PostUsersRoleResponse = IdentityRoleDtoListResultDto; +export type PostUsersRoleResponse = (IdentityRoleDtoListResultDto); -export type PostUsersRoleError = RemoteServiceErrorResponse; +export type PostUsersRoleError = (RemoteServiceErrorResponse); export type PostUsersChangePasswordData = { - body?: ChangePasswordInput; + body?: ChangePasswordInput; }; -export type PostUsersChangePasswordResponse = boolean; +export type PostUsersChangePasswordResponse = (boolean); -export type PostUsersChangePasswordError = RemoteServiceErrorResponse; +export type PostUsersChangePasswordError = (RemoteServiceErrorResponse); export type PostUsersResetPasswordData = { - body?: ResetPasswordInput; + body?: ResetPasswordInput; }; -export type PostUsersResetPasswordResponse = boolean; +export type PostUsersResetPasswordResponse = (boolean); -export type PostUsersResetPasswordError = RemoteServiceErrorResponse; +export type PostUsersResetPasswordError = (RemoteServiceErrorResponse); export type PostUsersLockData = { - body?: LockUserInput; + body?: LockUserInput; }; -export type PostUsersLockResponse = unknown; +export type PostUsersLockResponse = (unknown); -export type PostUsersLockError = RemoteServiceErrorResponse; +export type PostUsersLockError = (RemoteServiceErrorResponse); export type PostUsersFindByUserNameData = { - body?: FindByUserNameInput; + body?: FindByUserNameInput; }; -export type PostUsersFindByUserNameResponse = IdentityUserDto; +export type PostUsersFindByUserNameResponse = (IdentityUserDto); -export type PostUsersFindByUserNameError = RemoteServiceErrorResponse; +export type PostUsersFindByUserNameError = (RemoteServiceErrorResponse); -export type PostUsersMyProfileResponse = MyProfileOutput; +export type PostUsersMyProfileResponse = (MyProfileOutput); -export type PostUsersMyProfileError = RemoteServiceErrorResponse; +export type PostUsersMyProfileError = (RemoteServiceErrorResponse); -export type PostUsersCanUseTwoFactorResponse = boolean; +export type PostUsersCanUseTwoFactorResponse = (boolean); -export type PostUsersCanUseTwoFactorError = RemoteServiceErrorResponse; +export type PostUsersCanUseTwoFactorError = (RemoteServiceErrorResponse); -export type PostUsersGetQrCodeResponse = GetQRCodeOutput; +export type PostUsersGetQrCodeResponse = (GetQRCodeOutput); -export type PostUsersGetQrCodeError = RemoteServiceErrorResponse; +export type PostUsersGetQrCodeError = (RemoteServiceErrorResponse); export type PostUsersEnabledTwoFactorData = { - body?: EnabledTwoFactorInput; + body?: EnabledTwoFactorInput; }; -export type PostUsersEnabledTwoFactorResponse = unknown; +export type PostUsersEnabledTwoFactorResponse = (unknown); -export type PostUsersEnabledTwoFactorError = RemoteServiceErrorResponse; +export type PostUsersEnabledTwoFactorError = (RemoteServiceErrorResponse); export type PostUsersDisabledTwoFactorData = { - body?: DisabledTwoFactorInput; + body?: DisabledTwoFactorInput; }; -export type PostUsersDisabledTwoFactorResponse = unknown; +export type PostUsersDisabledTwoFactorResponse = (unknown); -export type PostUsersDisabledTwoFactorError = RemoteServiceErrorResponse; +export type PostUsersDisabledTwoFactorError = (RemoteServiceErrorResponse); export type PostUsersResetTwoFactorData = { - body?: ResetTwoFactorInput; + body?: ResetTwoFactorInput; }; -export type PostUsersResetTwoFactorResponse = unknown; +export type PostUsersResetTwoFactorResponse = (unknown); -export type PostUsersResetTwoFactorError = RemoteServiceErrorResponse; - -export type PostUsersNeedChangePasswordResponse = NeedChangePasswordOutput; - -export type PostUsersNeedChangePasswordError = RemoteServiceErrorResponse; +export type PostUsersResetTwoFactorError = (RemoteServiceErrorResponse); +export type PostUsersNeedChangePasswordResponse = (NeedChangePasswordOutput); +export type PostUsersNeedChangePasswordError = (RemoteServiceErrorResponse); \ No newline at end of file diff --git a/apps/web-antd/src/views/ctwingmanagement/account/index.vue b/apps/web-antd/src/views/ctwingmanagement/account/index.vue index 3204b45..84e5714 100644 --- a/apps/web-antd/src/views/ctwingmanagement/account/index.vue +++ b/apps/web-antd/src/views/ctwingmanagement/account/index.vue @@ -12,10 +12,10 @@ import { message as Message, Modal, Tag } from 'ant-design-vue'; import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { - postMetersCreate, - postMetersDelete, - postMetersPage, - postMetersUpdate, + postDeviceInfoPage, + postAggregationDeviceDeleteAsync, + postDeviceInfoPage, + postAggregationDeviceCreateAsync, } from '#/api-client'; import { TableAction } from '#/components/table-action'; import { $t } from '#/locales'; @@ -55,7 +55,7 @@ const gridOptions: VxeGridProps = { proxyConfig: { ajax: { query: async ({ page }, formValues) => { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: page.currentPage, pageSize: page.pageSize, @@ -119,7 +119,8 @@ const [EditForm, editFormApi] = useVbenForm({ async function submit() { const isEdit = !!editRow.value.id; const formApi = isEdit ? editFormApi : addFormApi; - const api = isEdit ? postMetersUpdate : postMetersCreate; + // TODO: 需要确认设备更新接口,暂时使用创建接口 + const api = postAggregationDeviceCreateAsync; const { valid } = await formApi.validate(); if (!valid) return; @@ -164,7 +165,7 @@ function onDel(row: any) { Modal.confirm({ title: `${$t('common.confirmDelete')}${row.meterName} ?`, onOk: async () => { - const result = await postMetersDelete({ body: { id: row.id } }); + const result = await postAggregationDeviceDeleteAsync({ body: { id: row.id } }); if (result) { gridApi.reload(); Message.success($t('common.deleteSuccess')); diff --git a/apps/web-antd/src/views/ctwingmanagement/privateProduct/index.vue b/apps/web-antd/src/views/ctwingmanagement/privateProduct/index.vue index 9bcb47f..ec8f104 100644 --- a/apps/web-antd/src/views/ctwingmanagement/privateProduct/index.vue +++ b/apps/web-antd/src/views/ctwingmanagement/privateProduct/index.vue @@ -12,10 +12,10 @@ import { message as Message, Modal, Tag } from 'ant-design-vue'; import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { - postMetersCreate, - postMetersDelete, - postMetersPage, - postMetersUpdate, + postDeviceInfoPage, + postAggregationDeviceDeleteAsync, + postDeviceInfoPage, + postAggregationDeviceCreateAsync, } from '#/api-client'; import { TableAction } from '#/components/table-action'; import { $t } from '#/locales'; @@ -55,7 +55,7 @@ const gridOptions: VxeGridProps = { proxyConfig: { ajax: { query: async ({ page }, formValues) => { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: page.currentPage, pageSize: page.pageSize, @@ -119,7 +119,8 @@ const [EditForm, editFormApi] = useVbenForm({ async function submit() { const isEdit = !!editRow.value.id; const formApi = isEdit ? editFormApi : addFormApi; - const api = isEdit ? postMetersUpdate : postMetersCreate; + // TODO: 需要确认设备更新接口,暂时使用创建接口 + const api = postAggregationDeviceCreateAsync; const { valid } = await formApi.validate(); if (!valid) return; @@ -164,7 +165,7 @@ function onDel(row: any) { Modal.confirm({ title: `${$t('common.confirmDelete')}${row.meterName} ?`, onOk: async () => { - const result = await postMetersDelete({ body: { id: row.id } }); + const result = await postAggregationDeviceDeleteAsync({ body: { id: row.id } }); if (result) { gridApi.reload(); Message.success($t('common.deleteSuccess')); diff --git a/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue b/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue index fad2aeb..f9a6fed 100644 --- a/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue +++ b/apps/web-antd/src/views/devicemanagement/deviceinfo/index.vue @@ -13,11 +13,11 @@ import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { postDeviceInfoArchivesDown, - postDeviceInfoCreate, - postDeviceInfoDelete, + postAggregationDeviceCreateAsync, + postAggregationDeviceDeleteAsync, postDeviceInfoPage, - postDeviceInfoUpdate, -} from '#/api-client/IoTClient'; + postAggregationDeviceFindByIdAsync, +} from '#/api-client'; import { TableAction } from '#/components/table-action'; import { $t } from '#/locales'; @@ -120,7 +120,8 @@ const [EditForm, editFormApi] = useVbenForm({ async function submit() { const isEdit = !!editRow.value.id; const formApi = isEdit ? editFormApi : addFormApi; - const api = isEdit ? postDeviceInfoUpdate : postDeviceInfoCreate; + // TODO: 需要确认设备更新接口,暂时使用创建接口 + const api = postAggregationDeviceCreateAsync; const { valid } = await formApi.validate(); if (!valid) return; @@ -165,7 +166,7 @@ function onDel(row: any) { Modal.confirm({ title: `${$t('common.confirmDelete')}${row.meterName} ?`, onOk: async () => { - const result = await postDeviceInfoDelete({ body: { id: row.id } }); + const result = await postAggregationDeviceDeleteAsync({ body: { id: row.id } }); if (result) { gridApi.reload(); Message.success($t('common.deleteSuccess')); diff --git a/apps/web-antd/src/views/iotdbdatamanagement/ctwingLog/index.vue b/apps/web-antd/src/views/iotdbdatamanagement/ctwingLog/index.vue index ecaed58..e3ffaab 100644 --- a/apps/web-antd/src/views/iotdbdatamanagement/ctwingLog/index.vue +++ b/apps/web-antd/src/views/iotdbdatamanagement/ctwingLog/index.vue @@ -8,8 +8,8 @@ import { useRoute } from 'vue-router'; import { Page } from '@vben/common-ui'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; -import { postMetersPage } from '#/api-client'; -import { postCTWingLogInfoPage } from '#/api-client/IoTClient'; +import { postDeviceInfoPage } from '#/api-client'; +import { postCTWingLogInfoPage } from '#/api-client'; import DeviceSelect from '../deviceData/DeviceSelect.vue'; import { querySchema, tableSchema } from './schema'; @@ -33,7 +33,7 @@ const deviceOptions = ref(); // 获取设备信息的完整数据 const fetchDeviceOptions = async () => { try { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: 1, pageSize: 1000, diff --git a/apps/web-antd/src/views/iotdbdatamanagement/deviceData/DeviceSelect.vue b/apps/web-antd/src/views/iotdbdatamanagement/deviceData/DeviceSelect.vue index c90bf5e..7c4775f 100644 --- a/apps/web-antd/src/views/iotdbdatamanagement/deviceData/DeviceSelect.vue +++ b/apps/web-antd/src/views/iotdbdatamanagement/deviceData/DeviceSelect.vue @@ -2,7 +2,7 @@ import { ref, computed } from 'vue'; import { Select, Divider, Row } from 'ant-design-vue'; import { ChevronLeft, ChevronRight } from '@vben/icons'; -import { postMetersPage } from '#/api-client'; +import { postDeviceInfoPage } from '#/api-client'; import { $t } from '#/locales'; import { useDebounceFn } from '@vueuse/core'; @@ -49,7 +49,7 @@ const maxPage = computed(() => { const fetchData = async () => { loading.value = true; try { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: query.value.pageIndex, pageSize: query.value.pageSize, diff --git a/apps/web-antd/src/views/iotdbdatamanagement/deviceData/index.vue b/apps/web-antd/src/views/iotdbdatamanagement/deviceData/index.vue index e1d638a..7315458 100644 --- a/apps/web-antd/src/views/iotdbdatamanagement/deviceData/index.vue +++ b/apps/web-antd/src/views/iotdbdatamanagement/deviceData/index.vue @@ -8,8 +8,8 @@ import { useRoute } from 'vue-router'; import { Page } from '@vben/common-ui'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; -import { postMetersPage } from '#/api-client'; -import { postTreeModelDeviceDataInfoPage } from '#/api-client/IoTClient'; +import { postDeviceInfoPage } from '#/api-client'; +import { postTreeModelDeviceDataInfoPage } from '#/api-client'; import { $t } from '#/locales'; import { generateDynamicColumns } from './dynamicColumns'; @@ -27,7 +27,7 @@ const selectedDeviceInfo = ref(null); // 获取设备信息的完整数据(用于根据设备ID获取设备信息) const fetchDeviceOptions = async () => { try { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: 1, pageSize: 1000, diff --git a/apps/web-antd/src/views/iotdbdatamanagement/onenetLog/index.vue b/apps/web-antd/src/views/iotdbdatamanagement/onenetLog/index.vue index 4344d64..053075c 100644 --- a/apps/web-antd/src/views/iotdbdatamanagement/onenetLog/index.vue +++ b/apps/web-antd/src/views/iotdbdatamanagement/onenetLog/index.vue @@ -8,8 +8,8 @@ import { useRoute } from 'vue-router'; import { Page } from '@vben/common-ui'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; -import { postMetersPage } from '#/api-client'; -import { postOneNETLogInfoPage } from '#/api-client/IoTClient'; +import { postDeviceInfoPage } from '#/api-client'; +import { postOneNETLogInfoPage } from '#/api-client'; import DeviceSelect from '../deviceData/DeviceSelect.vue'; import { querySchema, tableSchema } from './schema'; @@ -33,7 +33,7 @@ const deviceOptions = ref(); // 获取设备信息的完整数据 const fetchDeviceOptions = async () => { try { - const { data } = await postMetersPage({ + const { data } = await postDeviceInfoPage({ body: { pageIndex: 1, pageSize: 1000, diff --git a/apps/web-antd/src/views/iotdbdatamanagement/telemetryLog/index.vue b/apps/web-antd/src/views/iotdbdatamanagement/telemetryLog/index.vue index 3cfc916..d1547eb 100644 --- a/apps/web-antd/src/views/iotdbdatamanagement/telemetryLog/index.vue +++ b/apps/web-antd/src/views/iotdbdatamanagement/telemetryLog/index.vue @@ -9,7 +9,7 @@ import { Page } from '@vben/common-ui'; import { Tag } from 'ant-design-vue'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; -import { postTableModelPacketInfoPage } from '#/api-client/IoTClient'; +import { postTableModelPacketInfoPage } from '#/api-client'; import { $t } from '#/locales'; import { querySchema, tableSchema } from './schema'; @@ -62,40 +62,28 @@ const [Grid] = useVbenVxeGrid({ formOptions, gridOptions }); {{ row.deviceType }} diff --git a/apps/web-antd/src/views/onenetmanagement/account/index.vue b/apps/web-antd/src/views/onenetmanagement/account/index.vue index 68c31df..ff55d52 100644 --- a/apps/web-antd/src/views/onenetmanagement/account/index.vue +++ b/apps/web-antd/src/views/onenetmanagement/account/index.vue @@ -12,11 +12,11 @@ import { message as Message } from 'ant-design-vue'; import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { - postOneNETAccountDelete, - postOneNETAccountInfoPage, - postOneNETAccountInsert, - postOneNETAccountModify, -} from '#/api-client/IoTClient'; + postOneNetAccountDeleteAsync, + postOneNetAccountListAsync, + postOneNetAccountInsertAsync, + postOneNetAccountModifyAsync, +} from '#/api-client'; import { TableAction } from '#/components/table-action'; import { $t } from '#/locales'; @@ -53,7 +53,7 @@ const gridOptions: VxeGridProps = { proxyConfig: { ajax: { query: async ({ page }, formValues) => { - const { data } = await postOneNETAccountInfoPage({ + const { data } = await postOneNetAccountListAsync({ body: { pageIndex: page.currentPage, pageSize: page.pageSize, @@ -117,21 +117,21 @@ const [EditForm, editFormApi] = useVbenForm({ async function submit() { const isEdit = !!editRow.value.id; const formApi = isEdit ? editFormApi : addFormApi; - const api = isEdit ? postOneNETAccountModify : postOneNETAccountInsert; + const api = isEdit ? postOneNetAccountModifyAsync : postOneNetAccountInsertAsync; const { valid } = await formApi.validate(); if (!valid) return; const formValues = await formApi.getValues(); const fetchParams: any = isEdit ? { - id: editRow.value.id, - ...formValues, - password: formValues.password || '000000', - } + id: editRow.value.id, + ...formValues, + password: formValues.password || '000000', + } : { - ...formValues, - password: formValues.password || '000000', - }; + ...formValues, + password: formValues.password || '000000', + }; try { userModalApi.setState({ loading: true, confirmLoading: true }); @@ -172,7 +172,7 @@ async function onDel(record: any) { } try { - const resp = await postOneNETAccountDelete({ body: { id: record.id } }); + const resp = await postOneNetAccountDeleteAsync({ body: { id: record.id } }); if (resp.data) { Message.success($t('common.deleteSuccess')); gridApi.reload(); @@ -189,27 +189,31 @@ async function onDel(record: any) { - + diff --git a/apps/web-antd/src/views/onenetmanagement/privateProduct/index.vue b/apps/web-antd/src/views/onenetmanagement/privateProduct/index.vue index 3204b45..e466f2c 100644 --- a/apps/web-antd/src/views/onenetmanagement/privateProduct/index.vue +++ b/apps/web-antd/src/views/onenetmanagement/privateProduct/index.vue @@ -12,10 +12,10 @@ import { message as Message, Modal, Tag } from 'ant-design-vue'; import { useVbenForm } from '#/adapter/form'; import { useVbenVxeGrid } from '#/adapter/vxe-table'; import { - postMetersCreate, - postMetersDelete, - postMetersPage, - postMetersUpdate, + postOneNetProductInsertAsync, + postOneNetProductDeleteAsync, + postOneNetProductListAsync, + postOneNetProductModifyAsync, } from '#/api-client'; import { TableAction } from '#/components/table-action'; import { $t } from '#/locales'; @@ -55,7 +55,7 @@ const gridOptions: VxeGridProps = { proxyConfig: { ajax: { query: async ({ page }, formValues) => { - const { data } = await postMetersPage({ + const { data } = await postOneNetProductListAsync({ body: { pageIndex: page.currentPage, pageSize: page.pageSize, @@ -119,7 +119,7 @@ const [EditForm, editFormApi] = useVbenForm({ async function submit() { const isEdit = !!editRow.value.id; const formApi = isEdit ? editFormApi : addFormApi; - const api = isEdit ? postMetersUpdate : postMetersCreate; + const api = isEdit ? postOneNetProductModifyAsync : postOneNetProductInsertAsync; const { valid } = await formApi.validate(); if (!valid) return; @@ -164,7 +164,7 @@ function onDel(row: any) { Modal.confirm({ title: `${$t('common.confirmDelete')}${row.meterName} ?`, onOk: async () => { - const result = await postMetersDelete({ body: { id: row.id } }); + const result = await postOneNetProductDeleteAsync({ body: { id: row.id } }); if (result) { gridApi.reload(); Message.success($t('common.deleteSuccess'));