更新接口

This commit is contained in:
ChenYi 2025-07-30 11:52:21 +08:00
parent 73c66e6b38
commit e65883bb5a
3 changed files with 1537 additions and 1 deletions

View File

@ -137,6 +137,25 @@ export const AddUserToOrganizationUnitInputSchema = {
additionalProperties: false additionalProperties: false
} as const; } as const;
export const AggregateRouteConfigSchema = {
type: 'object',
properties: {
routeKey: {
type: 'string',
nullable: true
},
parameter: {
type: 'string',
nullable: true
},
jsonPath: {
type: 'string',
nullable: true
}
},
additionalProperties: false
} as const;
export const ApplicationApiDescriptionModelSchema = { export const ApplicationApiDescriptionModelSchema = {
type: 'object', type: 'object',
properties: { properties: {
@ -1003,6 +1022,115 @@ export const CTWingPrivateProductInfoModifyInputSchema = {
description: 'CTWing 产品修改' description: 'CTWing 产品修改'
} as const; } as const;
export const CTWingWorkshopProductListOutputSchema = {
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
},
ctWingAccountId: {
type: 'string',
description: 'CTWing账户Id',
nullable: true
},
ioTPlatformProductId: {
type: 'string',
description: '物联网平台对应的产品Id',
nullable: true
},
productName: {
type: 'string',
description: '产品名称',
nullable: true
},
featureAccesskey: {
type: 'string',
description: '设备访问密钥',
nullable: true
},
communicationAddress: {
type: 'string',
description: '通讯服务地址',
nullable: true
},
communicationAddressTLS: {
type: 'string',
description: 'TLS通讯服务地址',
nullable: true
}
},
additionalProperties: false,
description: '生产车间获取CTWing产品列表'
} as const;
export const CTWingWorkshopProductListOutputListHttpDataResultSchema = {
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/CTWingWorkshopProductListOutput'
},
description: '扩展字段',
nullable: true
},
total: {
type: 'integer',
description: '总数',
format: 'int64'
}
},
additionalProperties: false,
description: 'HTTP 请求返回结果'
} as const;
export const ChangePasswordInputSchema = { export const ChangePasswordInputSchema = {
required: ['newPassword'], required: ['newPassword'],
type: 'object', type: 'object',
@ -1144,6 +1272,28 @@ export const CreateDataDictinaryInputSchema = {
additionalProperties: false additionalProperties: false
} as const; } as const;
export const CreateDeviceAggregationInputSchema = {
required: ['deviceAddress', 'ioTPlatform', 'ioTPlatformProductId'],
type: 'object',
properties: {
deviceAddress: {
minLength: 1,
type: 'string',
description: '表通信地址'
},
ioTPlatform: {
'$ref': '#/components/schemas/IoTPlatformTypeEnum'
},
ioTPlatformProductId: {
minLength: 1,
type: 'string',
description: '集中器在物联网平台中对应的产品Id'
}
},
additionalProperties: false,
description: '设备聚合新增设备'
} as const;
export const CreateLanguageInputSchema = { export const CreateLanguageInputSchema = {
type: 'object', type: 'object',
properties: { properties: {
@ -2381,6 +2531,231 @@ export const FeatureProviderDtoSchema = {
additionalProperties: false additionalProperties: false
} as const; } as const;
export const FileAggregateRouteSchema = {
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'
}
},
additionalProperties: false
} as const;
export const FileAuthenticationOptionsSchema = {
type: 'object',
properties: {
authenticationProviderKey: {
type: 'string',
nullable: true
},
allowedScopes: {
type: 'array',
items: {
type: 'string'
},
nullable: true
}
},
additionalProperties: false
} as const;
export const FileCacheOptionsSchema = {
type: 'object',
properties: {
ttlSeconds: {
type: 'integer',
format: 'int32'
},
region: {
type: 'string',
nullable: true
}
},
additionalProperties: false
} as const;
export const FileConfigurationSchema = {
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'
}
},
additionalProperties: false
} as const;
export const FileDynamicRouteSchema = {
type: 'object',
properties: {
serviceName: {
type: 'string',
nullable: true
},
rateLimitRule: {
'$ref': '#/components/schemas/FileRateLimitRule'
},
downstreamHttpVersion: {
type: 'string',
nullable: true
}
},
additionalProperties: false
} as const;
export const FileGlobalConfigurationSchema = {
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
}
},
additionalProperties: false
} as const;
export const FileHostAndPortSchema = {
type: 'object',
properties: {
host: {
type: 'string',
nullable: true
},
port: {
type: 'integer',
format: 'int32'
}
},
additionalProperties: false
} as const;
export const FileHttpHandlerOptionsSchema = {
type: 'object',
properties: {
allowAutoRedirect: {
type: 'boolean'
},
useCookieContainer: {
type: 'boolean'
},
useTracing: {
type: 'boolean'
},
useProxy: {
type: 'boolean'
},
maxConnectionsPerServer: {
type: 'integer',
format: 'int32'
}
},
additionalProperties: false
} as const;
export const FileLoadBalancerOptionsSchema = {
type: 'object',
properties: {
type: {
type: 'string',
nullable: true
},
key: {
type: 'string',
nullable: true
},
expiry: {
type: 'integer',
format: 'int32'
}
},
additionalProperties: false
} as const;
export const FileObjectDtoSchema = { export const FileObjectDtoSchema = {
type: 'object', type: 'object',
properties: { properties: {
@ -2414,6 +2789,299 @@ export const FileObjectDtoSchema = {
description: '文件' description: '文件'
} as const; } as const;
export const FileQoSOptionsSchema = {
type: 'object',
properties: {
exceptionsAllowedBeforeBreaking: {
type: 'integer',
format: 'int32'
},
durationOfBreak: {
type: 'integer',
format: 'int32'
},
timeoutValue: {
type: 'integer',
format: 'int32'
}
},
additionalProperties: false
} as const;
export const FileRateLimitOptionsSchema = {
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'
}
},
additionalProperties: false
} as const;
export const FileRateLimitRuleSchema = {
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'
}
},
additionalProperties: false
} as const;
export const FileRouteSchema = {
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
}
},
additionalProperties: false
} as const;
export const FileSecurityOptionsSchema = {
type: 'object',
properties: {
ipAllowedList: {
type: 'array',
items: {
type: 'string'
},
nullable: true
},
ipBlockedList: {
type: 'array',
items: {
type: 'string'
},
nullable: true
}
},
additionalProperties: false
} as const;
export const FileServiceDiscoveryProviderSchema = {
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
}
},
additionalProperties: false
} as const;
export const FindByUserNameInputSchema = { export const FindByUserNameInputSchema = {
type: 'object', type: 'object',
properties: { properties: {
@ -2901,6 +3569,44 @@ export const GetUnAddUserOutputPagedResultDtoSchema = {
additionalProperties: false additionalProperties: false
} as const; } 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,
description: 'HTTP 请求返回结果'
} as const;
export const HttpStatusCodeSchema = { 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], 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', type: 'integer',
@ -4813,6 +5519,143 @@ export const OneNetProductInfoModifyInputSchema = {
description: '修改OneNET产品' description: '修改OneNET产品'
} as const; } 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 = { export const OpenTypeSchema = {
enum: [10, 20, 30, 40], enum: [10, 20, 30, 40],
type: 'integer', type: 'integer',
@ -7511,6 +8354,14 @@ export const ResetTwoFactorInputSchema = {
additionalProperties: false additionalProperties: false
} as const; } 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 = { export const ReturnValueApiDescriptionModelSchema = {
type: 'object', type: 'object',
properties: { properties: {
@ -7526,6 +8377,52 @@ export const ReturnValueApiDescriptionModelSchema = {
additionalProperties: false additionalProperties: false
} as const; } 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,
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 = { export const SendBroadCastMessageInputSchema = {
type: 'object', type: 'object',
properties: { properties: {

File diff suppressed because one or more lines are too long

View File

@ -45,6 +45,12 @@ export type AddUserToOrganizationUnitInput = {
organizationUnitId?: string; organizationUnitId?: string;
}; };
export type AggregateRouteConfig = {
routeKey?: (string) | null;
parameter?: (string) | null;
jsonPath?: (string) | null;
};
export type ApplicationApiDescriptionModel = { export type ApplicationApiDescriptionModel = {
modules?: { modules?: {
[key: string]: ModuleApiDescriptionModel; [key: string]: ModuleApiDescriptionModel;
@ -204,6 +210,21 @@ export type CreateDataDictinaryInput = {
description?: (string) | null; description?: (string) | null;
}; };
/**
*
*/
export type CreateDeviceAggregationInput = {
/**
*
*/
deviceAddress: string;
ioTPlatform: IoTPlatformTypeEnum;
/**
* Id
*/
ioTPlatformProductId: string;
};
/** /**
* *
*/ */
@ -710,6 +731,89 @@ export type CTWingPrivateProductInfoModifyInput = {
id?: string; id?: string;
}; };
/**
* CTWing产品列表
*/
export type CTWingWorkshopProductListOutput = {
/**
*
*/
nonce?: (string) | null;
/**
*
*/
signature?: (string) | null;
/**
*
*/
timestamp?: number;
/**
* JSON字符串,
*/
msg?: (string) | null;
/**
* CTWing账户Id
*/
ctWingAccountId?: (string) | null;
/**
* Id
*/
ioTPlatformProductId?: (string) | null;
/**
*
*/
productName?: (string) | null;
/**
* 访
*/
featureAccesskey?: (string) | null;
/**
*
*/
communicationAddress?: (string) | null;
/**
* TLS通讯服务地址
*/
communicationAddressTLS?: (string) | null;
};
/**
* HTTP
*/
export type CTWingWorkshopProductListOutputListHttpDataResult = {
code?: ResponeResultEnum;
/**
*
*/
msg?: (string) | null;
/**
*
*
*/
success?: boolean;
/**
* ()
*/
readonly timestamp?: number;
/**
*
* 使
*/
locationCode?: number;
/**
*
*/
extras?: (string) | null;
/**
*
*/
data?: Array<CTWingWorkshopProductListOutput> | null;
/**
*
*/
total?: number;
};
export type CurrentCultureDto = { export type CurrentCultureDto = {
displayName?: (string) | null; displayName?: (string) | null;
englishName?: (string) | null; englishName?: (string) | null;
@ -1206,6 +1310,71 @@ export type FeatureProviderDto = {
key?: (string) | null; key?: (string) | null;
}; };
export type FileAggregateRoute = {
routeKeys?: Array<(string)> | null;
routeKeysConfig?: Array<AggregateRouteConfig> | null;
upstreamPathTemplate?: (string) | null;
upstreamHost?: (string) | null;
routeIsCaseSensitive?: boolean;
aggregator?: (string) | null;
readonly upstreamHttpMethod?: Array<(string)> | null;
priority?: number;
};
export type FileAuthenticationOptions = {
authenticationProviderKey?: (string) | null;
allowedScopes?: Array<(string)> | null;
};
export type FileCacheOptions = {
ttlSeconds?: number;
region?: (string) | null;
};
export type FileConfiguration = {
routes?: Array<FileRoute> | null;
dynamicRoutes?: Array<FileDynamicRoute> | null;
aggregates?: Array<FileAggregateRoute> | null;
globalConfiguration?: FileGlobalConfiguration;
};
export type FileDynamicRoute = {
serviceName?: (string) | null;
rateLimitRule?: FileRateLimitRule;
downstreamHttpVersion?: (string) | null;
};
export type FileGlobalConfiguration = {
requestIdKey?: (string) | null;
serviceDiscoveryProvider?: FileServiceDiscoveryProvider;
rateLimitOptions?: FileRateLimitOptions;
qoSOptions?: FileQoSOptions;
baseUrl?: (string) | null;
loadBalancerOptions?: FileLoadBalancerOptions;
downstreamScheme?: (string) | null;
httpHandlerOptions?: FileHttpHandlerOptions;
downstreamHttpVersion?: (string) | null;
};
export type FileHostAndPort = {
host?: (string) | null;
port?: number;
};
export type FileHttpHandlerOptions = {
allowAutoRedirect?: boolean;
useCookieContainer?: boolean;
useTracing?: boolean;
useProxy?: boolean;
maxConnectionsPerServer?: number;
};
export type FileLoadBalancerOptions = {
type?: (string) | null;
key?: (string) | null;
expiry?: number;
};
/** /**
* *
*/ */
@ -1232,6 +1401,92 @@ export type FileObjectDto = {
fileName?: (string) | null; fileName?: (string) | null;
}; };
export type FileQoSOptions = {
exceptionsAllowedBeforeBreaking?: number;
durationOfBreak?: number;
timeoutValue?: number;
};
export type FileRateLimitOptions = {
clientIdHeader?: (string) | null;
quotaExceededMessage?: (string) | null;
rateLimitCounterPrefix?: (string) | null;
disableRateLimitHeaders?: boolean;
httpStatusCode?: number;
};
export type FileRateLimitRule = {
clientWhitelist?: Array<(string)> | null;
enableRateLimiting?: boolean;
period?: (string) | null;
periodTimespan?: number;
limit?: number;
};
export type FileRoute = {
downstreamPathTemplate?: (string) | null;
upstreamPathTemplate?: (string) | null;
upstreamHttpMethod?: Array<(string)> | null;
downstreamHttpMethod?: (string) | null;
addHeadersToRequest?: {
[key: string]: ((string) | null);
} | null;
upstreamHeaderTransform?: {
[key: string]: ((string) | null);
} | null;
downstreamHeaderTransform?: {
[key: string]: ((string) | null);
} | null;
addClaimsToRequest?: {
[key: string]: ((string) | null);
} | null;
routeClaimsRequirement?: {
[key: string]: ((string) | null);
} | null;
addQueriesToRequest?: {
[key: string]: ((string) | null);
} | null;
changeDownstreamPathTemplate?: {
[key: string]: ((string) | null);
} | null;
requestIdKey?: (string) | null;
fileCacheOptions?: FileCacheOptions;
routeIsCaseSensitive?: boolean;
serviceName?: (string) | null;
serviceNamespace?: (string) | null;
downstreamScheme?: (string) | null;
qoSOptions?: FileQoSOptions;
loadBalancerOptions?: FileLoadBalancerOptions;
rateLimitOptions?: FileRateLimitRule;
authenticationOptions?: FileAuthenticationOptions;
httpHandlerOptions?: FileHttpHandlerOptions;
downstreamHostAndPorts?: Array<FileHostAndPort> | null;
upstreamHost?: (string) | null;
key?: (string) | null;
delegatingHandlers?: Array<(string)> | null;
priority?: number;
timeout?: number;
dangerousAcceptAnyServerCertificateValidator?: boolean;
securityOptions?: FileSecurityOptions;
downstreamHttpVersion?: (string) | null;
};
export type FileSecurityOptions = {
ipAllowedList?: Array<(string)> | null;
ipBlockedList?: Array<(string)> | null;
};
export type FileServiceDiscoveryProvider = {
scheme?: (string) | null;
host?: (string) | null;
port?: number;
type?: (string) | null;
token?: (string) | null;
configurationKey?: (string) | null;
pollingInterval?: number;
namespace?: (string) | null;
};
export type FindByUserNameInput = { export type FindByUserNameInput = {
userName?: (string) | null; userName?: (string) | null;
}; };
@ -1453,6 +1708,35 @@ export type GetUnAddUserOutputPagedResultDto = {
totalCount?: number; 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 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 = { export type IanaTimeZone = {
@ -2504,6 +2788,111 @@ export type OneNetProductInfoModifyInput = {
deviceThingModelFileName?: (string) | null; deviceThingModelFileName?: (string) | null;
}; };
/**
* 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<OneNetWorkshopProductListOutput> | null;
/**
*
*/
total?: number;
};
/**
*
*/
export type OpenApiRequest = {
/**
*
*/
nonce?: (string) | null;
/**
*
*/
signature?: (string) | null;
/**
*
*/
timestamp?: number;
/**
* JSON字符串,
*/
msg?: (string) | null;
};
/** /**
* *
*/ */
@ -3993,11 +4382,52 @@ 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 = { export type ReturnValueApiDescriptionModel = {
type?: (string) | null; type?: (string) | null;
typeSimple?: (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 = { export type SendBroadCastMessageInput = {
/** /**
* *
@ -4425,6 +4855,29 @@ 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<SelectResult>);
export type GetCommonGetSelectListError = unknown;
export type PostCtWingAccountInsertAsyncData = { export type PostCtWingAccountInsertAsyncData = {
query?: { query?: {
input?: CTWingAccountInsertInput; input?: CTWingAccountInsertInput;
@ -4465,6 +4918,29 @@ export type PostCtWingAccountListAsyncResponse = (CTWingAccountInfoDtoPagedResul
export type PostCtWingAccountListAsyncError = unknown; export type PostCtWingAccountListAsyncError = unknown;
export type PostAggregationCtWingReceiveWorkshopProductionInfoAsyncData = {
query?: {
input?: OpenApiRequest;
};
};
export type PostAggregationCtWingReceiveWorkshopProductionInfoAsyncResponse = (unknown);
export type PostAggregationCtWingReceiveWorkshopProductionInfoAsyncError = unknown;
export type PostAggregationCtWingGetProductListAsyncData = {
query?: {
/**
*
*/
input?: OpenApiRequest;
};
};
export type PostAggregationCtWingGetProductListAsyncResponse = (CTWingWorkshopProductListOutputListHttpDataResult);
export type PostAggregationCtWingGetProductListAsyncError = unknown;
export type PostCtWingProductInsertAsyncData = { export type PostCtWingProductInsertAsyncData = {
query?: { query?: {
input?: CTWingPrivateProductInfoInsertInput; input?: CTWingPrivateProductInfoInsertInput;
@ -4617,6 +5093,46 @@ export type PostDataDictionaryUpdateResponse = (unknown);
export type PostDataDictionaryUpdateError = (RemoteServiceErrorResponse); export type PostDataDictionaryUpdateError = (RemoteServiceErrorResponse);
export type PostAggregationDeviceCreateAsyncData = {
query?: {
input?: CreateDeviceAggregationInput;
};
};
export type PostAggregationDeviceCreateAsyncResponse = (boolean);
export type PostAggregationDeviceCreateAsyncError = unknown;
export type PostAggregationDeviceDeleteAsyncData = {
query?: {
input?: IdInput;
};
};
export type PostAggregationDeviceDeleteAsyncResponse = (boolean);
export type PostAggregationDeviceDeleteAsyncError = unknown;
export type PostAggregationDeviceFindByIdAsyncData = {
query?: {
input?: IdInput;
};
};
export type PostAggregationDeviceFindByIdAsyncResponse = (DeviceManagementInfoDto);
export type PostAggregationDeviceFindByIdAsyncError = unknown;
export type PostAggregationDeviceRepushDeviceInfoToIoTplatformData = {
query?: {
input?: IdInput;
};
};
export type PostAggregationDeviceRepushDeviceInfoToIoTplatformResponse = (DeviceManagementInfoDto);
export type PostAggregationDeviceRepushDeviceInfoToIoTplatformError = unknown;
export type PostDeviceInfoFindByDeviceAddressData = { export type PostDeviceInfoFindByDeviceAddressData = {
query?: { query?: {
deviceAddress?: string; deviceAddress?: string;
@ -4957,6 +5473,29 @@ export type PostOneNetAccountListAsyncResponse = (OneNETAccountInfoDtoPagedResul
export type PostOneNetAccountListAsyncError = unknown; 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 = { export type PostOneNetProductInsertAsyncData = {
query?: { query?: {
input?: OneNetProductInfoInsertInput; input?: OneNetProductInfoInsertInput;