diff --git a/src/api/@tanstack/react-query.gen.ts b/src/api/@tanstack/react-query.gen.ts index 85cfa5f41..cf4d960b8 100644 --- a/src/api/@tanstack/react-query.gen.ts +++ b/src/api/@tanstack/react-query.gen.ts @@ -186,12 +186,30 @@ import { fctNodeActiveLast24hServiceList, fctNodeCpuUtilizationByProcessServiceGet, fctNodeCpuUtilizationByProcessServiceList, + fctNodeCpuUtilizationDailyServiceGet, + fctNodeCpuUtilizationDailyServiceList, + fctNodeCpuUtilizationHourlyServiceGet, + fctNodeCpuUtilizationHourlyServiceList, fctNodeDiskIoByProcessServiceGet, fctNodeDiskIoByProcessServiceList, + fctNodeDiskIoDailyServiceGet, + fctNodeDiskIoDailyServiceList, + fctNodeDiskIoHourlyServiceGet, + fctNodeDiskIoHourlyServiceList, + fctNodeHostSpecServiceGet, + fctNodeHostSpecServiceList, fctNodeMemoryUsageByProcessServiceGet, fctNodeMemoryUsageByProcessServiceList, + fctNodeMemoryUsageDailyServiceGet, + fctNodeMemoryUsageDailyServiceList, + fctNodeMemoryUsageHourlyServiceGet, + fctNodeMemoryUsageHourlyServiceList, fctNodeNetworkIoByProcessServiceGet, fctNodeNetworkIoByProcessServiceList, + fctNodeNetworkIoDailyServiceGet, + fctNodeNetworkIoDailyServiceList, + fctNodeNetworkIoHourlyServiceGet, + fctNodeNetworkIoHourlyServiceList, fctOpcodeGasByOpcodeDailyServiceGet, fctOpcodeGasByOpcodeDailyServiceList, fctOpcodeGasByOpcodeHourlyServiceGet, @@ -915,24 +933,78 @@ import type { FctNodeCpuUtilizationByProcessServiceListData, FctNodeCpuUtilizationByProcessServiceListError, FctNodeCpuUtilizationByProcessServiceListResponse, + FctNodeCpuUtilizationDailyServiceGetData, + FctNodeCpuUtilizationDailyServiceGetError, + FctNodeCpuUtilizationDailyServiceGetResponse, + FctNodeCpuUtilizationDailyServiceListData, + FctNodeCpuUtilizationDailyServiceListError, + FctNodeCpuUtilizationDailyServiceListResponse, + FctNodeCpuUtilizationHourlyServiceGetData, + FctNodeCpuUtilizationHourlyServiceGetError, + FctNodeCpuUtilizationHourlyServiceGetResponse, + FctNodeCpuUtilizationHourlyServiceListData, + FctNodeCpuUtilizationHourlyServiceListError, + FctNodeCpuUtilizationHourlyServiceListResponse, FctNodeDiskIoByProcessServiceGetData, FctNodeDiskIoByProcessServiceGetError, FctNodeDiskIoByProcessServiceGetResponse, FctNodeDiskIoByProcessServiceListData, FctNodeDiskIoByProcessServiceListError, FctNodeDiskIoByProcessServiceListResponse, + FctNodeDiskIoDailyServiceGetData, + FctNodeDiskIoDailyServiceGetError, + FctNodeDiskIoDailyServiceGetResponse, + FctNodeDiskIoDailyServiceListData, + FctNodeDiskIoDailyServiceListError, + FctNodeDiskIoDailyServiceListResponse, + FctNodeDiskIoHourlyServiceGetData, + FctNodeDiskIoHourlyServiceGetError, + FctNodeDiskIoHourlyServiceGetResponse, + FctNodeDiskIoHourlyServiceListData, + FctNodeDiskIoHourlyServiceListError, + FctNodeDiskIoHourlyServiceListResponse, + FctNodeHostSpecServiceGetData, + FctNodeHostSpecServiceGetError, + FctNodeHostSpecServiceGetResponse, + FctNodeHostSpecServiceListData, + FctNodeHostSpecServiceListError, + FctNodeHostSpecServiceListResponse, FctNodeMemoryUsageByProcessServiceGetData, FctNodeMemoryUsageByProcessServiceGetError, FctNodeMemoryUsageByProcessServiceGetResponse, FctNodeMemoryUsageByProcessServiceListData, FctNodeMemoryUsageByProcessServiceListError, FctNodeMemoryUsageByProcessServiceListResponse, + FctNodeMemoryUsageDailyServiceGetData, + FctNodeMemoryUsageDailyServiceGetError, + FctNodeMemoryUsageDailyServiceGetResponse, + FctNodeMemoryUsageDailyServiceListData, + FctNodeMemoryUsageDailyServiceListError, + FctNodeMemoryUsageDailyServiceListResponse, + FctNodeMemoryUsageHourlyServiceGetData, + FctNodeMemoryUsageHourlyServiceGetError, + FctNodeMemoryUsageHourlyServiceGetResponse, + FctNodeMemoryUsageHourlyServiceListData, + FctNodeMemoryUsageHourlyServiceListError, + FctNodeMemoryUsageHourlyServiceListResponse, FctNodeNetworkIoByProcessServiceGetData, FctNodeNetworkIoByProcessServiceGetError, FctNodeNetworkIoByProcessServiceGetResponse, FctNodeNetworkIoByProcessServiceListData, FctNodeNetworkIoByProcessServiceListError, FctNodeNetworkIoByProcessServiceListResponse, + FctNodeNetworkIoDailyServiceGetData, + FctNodeNetworkIoDailyServiceGetError, + FctNodeNetworkIoDailyServiceGetResponse, + FctNodeNetworkIoDailyServiceListData, + FctNodeNetworkIoDailyServiceListError, + FctNodeNetworkIoDailyServiceListResponse, + FctNodeNetworkIoHourlyServiceGetData, + FctNodeNetworkIoHourlyServiceGetError, + FctNodeNetworkIoHourlyServiceGetResponse, + FctNodeNetworkIoHourlyServiceListData, + FctNodeNetworkIoHourlyServiceListError, + FctNodeNetworkIoHourlyServiceListResponse, FctOpcodeGasByOpcodeDailyServiceGetData, FctOpcodeGasByOpcodeDailyServiceGetError, FctOpcodeGasByOpcodeDailyServiceGetResponse, @@ -6767,6 +6839,126 @@ export const fctNodeCpuUtilizationByProcessServiceGetOptions = ( queryKey: fctNodeCpuUtilizationByProcessServiceGetQueryKey(options), }); +export const fctNodeCpuUtilizationDailyServiceListQueryKey = ( + options?: Options +) => createQueryKey('fctNodeCpuUtilizationDailyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeCpuUtilizationDailyServiceListOptions = ( + options?: Options +) => + queryOptions< + FctNodeCpuUtilizationDailyServiceListResponse, + FctNodeCpuUtilizationDailyServiceListError, + FctNodeCpuUtilizationDailyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeCpuUtilizationDailyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeCpuUtilizationDailyServiceListQueryKey(options), + }); + +export const fctNodeCpuUtilizationDailyServiceGetQueryKey = ( + options: Options +) => createQueryKey('fctNodeCpuUtilizationDailyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeCpuUtilizationDailyServiceGetOptions = ( + options: Options +) => + queryOptions< + FctNodeCpuUtilizationDailyServiceGetResponse, + FctNodeCpuUtilizationDailyServiceGetError, + FctNodeCpuUtilizationDailyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeCpuUtilizationDailyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeCpuUtilizationDailyServiceGetQueryKey(options), + }); + +export const fctNodeCpuUtilizationHourlyServiceListQueryKey = ( + options?: Options +) => createQueryKey('fctNodeCpuUtilizationHourlyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeCpuUtilizationHourlyServiceListOptions = ( + options?: Options +) => + queryOptions< + FctNodeCpuUtilizationHourlyServiceListResponse, + FctNodeCpuUtilizationHourlyServiceListError, + FctNodeCpuUtilizationHourlyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeCpuUtilizationHourlyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeCpuUtilizationHourlyServiceListQueryKey(options), + }); + +export const fctNodeCpuUtilizationHourlyServiceGetQueryKey = ( + options: Options +) => createQueryKey('fctNodeCpuUtilizationHourlyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeCpuUtilizationHourlyServiceGetOptions = ( + options: Options +) => + queryOptions< + FctNodeCpuUtilizationHourlyServiceGetResponse, + FctNodeCpuUtilizationHourlyServiceGetError, + FctNodeCpuUtilizationHourlyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeCpuUtilizationHourlyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeCpuUtilizationHourlyServiceGetQueryKey(options), + }); + export const fctNodeDiskIoByProcessServiceListQueryKey = (options?: Options) => createQueryKey('fctNodeDiskIoByProcessServiceList', options); @@ -6821,6 +7013,168 @@ export const fctNodeDiskIoByProcessServiceGetOptions = (options: Options) => + createQueryKey('fctNodeDiskIoDailyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeDiskIoDailyServiceListOptions = (options?: Options) => + queryOptions< + FctNodeDiskIoDailyServiceListResponse, + FctNodeDiskIoDailyServiceListError, + FctNodeDiskIoDailyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeDiskIoDailyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeDiskIoDailyServiceListQueryKey(options), + }); + +export const fctNodeDiskIoDailyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeDiskIoDailyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeDiskIoDailyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeDiskIoDailyServiceGetResponse, + FctNodeDiskIoDailyServiceGetError, + FctNodeDiskIoDailyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeDiskIoDailyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeDiskIoDailyServiceGetQueryKey(options), + }); + +export const fctNodeDiskIoHourlyServiceListQueryKey = (options?: Options) => + createQueryKey('fctNodeDiskIoHourlyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeDiskIoHourlyServiceListOptions = (options?: Options) => + queryOptions< + FctNodeDiskIoHourlyServiceListResponse, + FctNodeDiskIoHourlyServiceListError, + FctNodeDiskIoHourlyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeDiskIoHourlyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeDiskIoHourlyServiceListQueryKey(options), + }); + +export const fctNodeDiskIoHourlyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeDiskIoHourlyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeDiskIoHourlyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeDiskIoHourlyServiceGetResponse, + FctNodeDiskIoHourlyServiceGetError, + FctNodeDiskIoHourlyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeDiskIoHourlyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeDiskIoHourlyServiceGetQueryKey(options), + }); + +export const fctNodeHostSpecServiceListQueryKey = (options?: Options) => + createQueryKey('fctNodeHostSpecServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeHostSpecServiceListOptions = (options?: Options) => + queryOptions< + FctNodeHostSpecServiceListResponse, + FctNodeHostSpecServiceListError, + FctNodeHostSpecServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeHostSpecServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeHostSpecServiceListQueryKey(options), + }); + +export const fctNodeHostSpecServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeHostSpecServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by wallclock_slot_start_date_time + */ +export const fctNodeHostSpecServiceGetOptions = (options: Options) => + queryOptions< + FctNodeHostSpecServiceGetResponse, + FctNodeHostSpecServiceGetError, + FctNodeHostSpecServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeHostSpecServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeHostSpecServiceGetQueryKey(options), + }); + export const fctNodeMemoryUsageByProcessServiceListQueryKey = ( options?: Options ) => createQueryKey('fctNodeMemoryUsageByProcessServiceList', options); @@ -6881,6 +7235,117 @@ export const fctNodeMemoryUsageByProcessServiceGetOptions = ( queryKey: fctNodeMemoryUsageByProcessServiceGetQueryKey(options), }); +export const fctNodeMemoryUsageDailyServiceListQueryKey = (options?: Options) => + createQueryKey('fctNodeMemoryUsageDailyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeMemoryUsageDailyServiceListOptions = (options?: Options) => + queryOptions< + FctNodeMemoryUsageDailyServiceListResponse, + FctNodeMemoryUsageDailyServiceListError, + FctNodeMemoryUsageDailyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeMemoryUsageDailyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeMemoryUsageDailyServiceListQueryKey(options), + }); + +export const fctNodeMemoryUsageDailyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeMemoryUsageDailyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeMemoryUsageDailyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeMemoryUsageDailyServiceGetResponse, + FctNodeMemoryUsageDailyServiceGetError, + FctNodeMemoryUsageDailyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeMemoryUsageDailyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeMemoryUsageDailyServiceGetQueryKey(options), + }); + +export const fctNodeMemoryUsageHourlyServiceListQueryKey = ( + options?: Options +) => createQueryKey('fctNodeMemoryUsageHourlyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeMemoryUsageHourlyServiceListOptions = ( + options?: Options +) => + queryOptions< + FctNodeMemoryUsageHourlyServiceListResponse, + FctNodeMemoryUsageHourlyServiceListError, + FctNodeMemoryUsageHourlyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeMemoryUsageHourlyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeMemoryUsageHourlyServiceListQueryKey(options), + }); + +export const fctNodeMemoryUsageHourlyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeMemoryUsageHourlyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeMemoryUsageHourlyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeMemoryUsageHourlyServiceGetResponse, + FctNodeMemoryUsageHourlyServiceGetError, + FctNodeMemoryUsageHourlyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeMemoryUsageHourlyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeMemoryUsageHourlyServiceGetQueryKey(options), + }); + export const fctNodeNetworkIoByProcessServiceListQueryKey = ( options?: Options ) => createQueryKey('fctNodeNetworkIoByProcessServiceList', options); @@ -6939,6 +7404,114 @@ export const fctNodeNetworkIoByProcessServiceGetOptions = (options: Options) => + createQueryKey('fctNodeNetworkIoDailyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeNetworkIoDailyServiceListOptions = (options?: Options) => + queryOptions< + FctNodeNetworkIoDailyServiceListResponse, + FctNodeNetworkIoDailyServiceListError, + FctNodeNetworkIoDailyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeNetworkIoDailyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeNetworkIoDailyServiceListQueryKey(options), + }); + +export const fctNodeNetworkIoDailyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeNetworkIoDailyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeNetworkIoDailyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeNetworkIoDailyServiceGetResponse, + FctNodeNetworkIoDailyServiceGetError, + FctNodeNetworkIoDailyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeNetworkIoDailyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeNetworkIoDailyServiceGetQueryKey(options), + }); + +export const fctNodeNetworkIoHourlyServiceListQueryKey = (options?: Options) => + createQueryKey('fctNodeNetworkIoHourlyServiceList', options); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeNetworkIoHourlyServiceListOptions = (options?: Options) => + queryOptions< + FctNodeNetworkIoHourlyServiceListResponse, + FctNodeNetworkIoHourlyServiceListError, + FctNodeNetworkIoHourlyServiceListResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeNetworkIoHourlyServiceList({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeNetworkIoHourlyServiceListQueryKey(options), + }); + +export const fctNodeNetworkIoHourlyServiceGetQueryKey = (options: Options) => + createQueryKey('fctNodeNetworkIoHourlyServiceGet', options); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeNetworkIoHourlyServiceGetOptions = (options: Options) => + queryOptions< + FctNodeNetworkIoHourlyServiceGetResponse, + FctNodeNetworkIoHourlyServiceGetError, + FctNodeNetworkIoHourlyServiceGetResponse, + ReturnType + >({ + queryFn: async ({ queryKey, signal }) => { + const { data } = await fctNodeNetworkIoHourlyServiceGet({ + ...options, + ...queryKey[0], + signal, + throwOnError: true, + }); + return data; + }, + queryKey: fctNodeNetworkIoHourlyServiceGetQueryKey(options), + }); + export const fctOpcodeGasByOpcodeDailyServiceListQueryKey = ( options?: Options ) => createQueryKey('fctOpcodeGasByOpcodeDailyServiceList', options); diff --git a/src/api/client.gen.ts b/src/api/client.gen.ts index dcae19a5e..31b6087c3 100644 --- a/src/api/client.gen.ts +++ b/src/api/client.gen.ts @@ -17,6 +17,4 @@ export type CreateClientConfig = ( override?: Config ) => Config & T>; -export const client = createClient( - createClientConfig(createConfig({ baseUrl: 'http://localhost:8091' })) -); +export const client = createClient(createClientConfig(createConfig())); diff --git a/src/api/index.ts b/src/api/index.ts index 2b5fe6a57..d946b5640 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -183,12 +183,30 @@ export { fctNodeActiveLast24hServiceList, fctNodeCpuUtilizationByProcessServiceGet, fctNodeCpuUtilizationByProcessServiceList, + fctNodeCpuUtilizationDailyServiceGet, + fctNodeCpuUtilizationDailyServiceList, + fctNodeCpuUtilizationHourlyServiceGet, + fctNodeCpuUtilizationHourlyServiceList, fctNodeDiskIoByProcessServiceGet, fctNodeDiskIoByProcessServiceList, + fctNodeDiskIoDailyServiceGet, + fctNodeDiskIoDailyServiceList, + fctNodeDiskIoHourlyServiceGet, + fctNodeDiskIoHourlyServiceList, + fctNodeHostSpecServiceGet, + fctNodeHostSpecServiceList, fctNodeMemoryUsageByProcessServiceGet, fctNodeMemoryUsageByProcessServiceList, + fctNodeMemoryUsageDailyServiceGet, + fctNodeMemoryUsageDailyServiceList, + fctNodeMemoryUsageHourlyServiceGet, + fctNodeMemoryUsageHourlyServiceList, fctNodeNetworkIoByProcessServiceGet, fctNodeNetworkIoByProcessServiceList, + fctNodeNetworkIoDailyServiceGet, + fctNodeNetworkIoDailyServiceList, + fctNodeNetworkIoHourlyServiceGet, + fctNodeNetworkIoHourlyServiceList, fctOpcodeGasByOpcodeDailyServiceGet, fctOpcodeGasByOpcodeDailyServiceList, fctOpcodeGasByOpcodeHourlyServiceGet, @@ -1368,6 +1386,28 @@ export type { FctNodeCpuUtilizationByProcessServiceListErrors, FctNodeCpuUtilizationByProcessServiceListResponse, FctNodeCpuUtilizationByProcessServiceListResponses, + FctNodeCpuUtilizationDaily, + FctNodeCpuUtilizationDailyServiceGetData, + FctNodeCpuUtilizationDailyServiceGetError, + FctNodeCpuUtilizationDailyServiceGetErrors, + FctNodeCpuUtilizationDailyServiceGetResponse, + FctNodeCpuUtilizationDailyServiceGetResponses, + FctNodeCpuUtilizationDailyServiceListData, + FctNodeCpuUtilizationDailyServiceListError, + FctNodeCpuUtilizationDailyServiceListErrors, + FctNodeCpuUtilizationDailyServiceListResponse, + FctNodeCpuUtilizationDailyServiceListResponses, + FctNodeCpuUtilizationHourly, + FctNodeCpuUtilizationHourlyServiceGetData, + FctNodeCpuUtilizationHourlyServiceGetError, + FctNodeCpuUtilizationHourlyServiceGetErrors, + FctNodeCpuUtilizationHourlyServiceGetResponse, + FctNodeCpuUtilizationHourlyServiceGetResponses, + FctNodeCpuUtilizationHourlyServiceListData, + FctNodeCpuUtilizationHourlyServiceListError, + FctNodeCpuUtilizationHourlyServiceListErrors, + FctNodeCpuUtilizationHourlyServiceListResponse, + FctNodeCpuUtilizationHourlyServiceListResponses, FctNodeDiskIoByProcess, FctNodeDiskIoByProcessServiceGetData, FctNodeDiskIoByProcessServiceGetError, @@ -1379,6 +1419,39 @@ export type { FctNodeDiskIoByProcessServiceListErrors, FctNodeDiskIoByProcessServiceListResponse, FctNodeDiskIoByProcessServiceListResponses, + FctNodeDiskIoDaily, + FctNodeDiskIoDailyServiceGetData, + FctNodeDiskIoDailyServiceGetError, + FctNodeDiskIoDailyServiceGetErrors, + FctNodeDiskIoDailyServiceGetResponse, + FctNodeDiskIoDailyServiceGetResponses, + FctNodeDiskIoDailyServiceListData, + FctNodeDiskIoDailyServiceListError, + FctNodeDiskIoDailyServiceListErrors, + FctNodeDiskIoDailyServiceListResponse, + FctNodeDiskIoDailyServiceListResponses, + FctNodeDiskIoHourly, + FctNodeDiskIoHourlyServiceGetData, + FctNodeDiskIoHourlyServiceGetError, + FctNodeDiskIoHourlyServiceGetErrors, + FctNodeDiskIoHourlyServiceGetResponse, + FctNodeDiskIoHourlyServiceGetResponses, + FctNodeDiskIoHourlyServiceListData, + FctNodeDiskIoHourlyServiceListError, + FctNodeDiskIoHourlyServiceListErrors, + FctNodeDiskIoHourlyServiceListResponse, + FctNodeDiskIoHourlyServiceListResponses, + FctNodeHostSpec, + FctNodeHostSpecServiceGetData, + FctNodeHostSpecServiceGetError, + FctNodeHostSpecServiceGetErrors, + FctNodeHostSpecServiceGetResponse, + FctNodeHostSpecServiceGetResponses, + FctNodeHostSpecServiceListData, + FctNodeHostSpecServiceListError, + FctNodeHostSpecServiceListErrors, + FctNodeHostSpecServiceListResponse, + FctNodeHostSpecServiceListResponses, FctNodeMemoryUsageByProcess, FctNodeMemoryUsageByProcessServiceGetData, FctNodeMemoryUsageByProcessServiceGetError, @@ -1390,6 +1463,28 @@ export type { FctNodeMemoryUsageByProcessServiceListErrors, FctNodeMemoryUsageByProcessServiceListResponse, FctNodeMemoryUsageByProcessServiceListResponses, + FctNodeMemoryUsageDaily, + FctNodeMemoryUsageDailyServiceGetData, + FctNodeMemoryUsageDailyServiceGetError, + FctNodeMemoryUsageDailyServiceGetErrors, + FctNodeMemoryUsageDailyServiceGetResponse, + FctNodeMemoryUsageDailyServiceGetResponses, + FctNodeMemoryUsageDailyServiceListData, + FctNodeMemoryUsageDailyServiceListError, + FctNodeMemoryUsageDailyServiceListErrors, + FctNodeMemoryUsageDailyServiceListResponse, + FctNodeMemoryUsageDailyServiceListResponses, + FctNodeMemoryUsageHourly, + FctNodeMemoryUsageHourlyServiceGetData, + FctNodeMemoryUsageHourlyServiceGetError, + FctNodeMemoryUsageHourlyServiceGetErrors, + FctNodeMemoryUsageHourlyServiceGetResponse, + FctNodeMemoryUsageHourlyServiceGetResponses, + FctNodeMemoryUsageHourlyServiceListData, + FctNodeMemoryUsageHourlyServiceListError, + FctNodeMemoryUsageHourlyServiceListErrors, + FctNodeMemoryUsageHourlyServiceListResponse, + FctNodeMemoryUsageHourlyServiceListResponses, FctNodeNetworkIoByProcess, FctNodeNetworkIoByProcessServiceGetData, FctNodeNetworkIoByProcessServiceGetError, @@ -1401,6 +1496,28 @@ export type { FctNodeNetworkIoByProcessServiceListErrors, FctNodeNetworkIoByProcessServiceListResponse, FctNodeNetworkIoByProcessServiceListResponses, + FctNodeNetworkIoDaily, + FctNodeNetworkIoDailyServiceGetData, + FctNodeNetworkIoDailyServiceGetError, + FctNodeNetworkIoDailyServiceGetErrors, + FctNodeNetworkIoDailyServiceGetResponse, + FctNodeNetworkIoDailyServiceGetResponses, + FctNodeNetworkIoDailyServiceListData, + FctNodeNetworkIoDailyServiceListError, + FctNodeNetworkIoDailyServiceListErrors, + FctNodeNetworkIoDailyServiceListResponse, + FctNodeNetworkIoDailyServiceListResponses, + FctNodeNetworkIoHourly, + FctNodeNetworkIoHourlyServiceGetData, + FctNodeNetworkIoHourlyServiceGetError, + FctNodeNetworkIoHourlyServiceGetErrors, + FctNodeNetworkIoHourlyServiceGetResponse, + FctNodeNetworkIoHourlyServiceGetResponses, + FctNodeNetworkIoHourlyServiceListData, + FctNodeNetworkIoHourlyServiceListError, + FctNodeNetworkIoHourlyServiceListErrors, + FctNodeNetworkIoHourlyServiceListResponse, + FctNodeNetworkIoHourlyServiceListResponses, FctOpcodeGasByOpcodeDaily, FctOpcodeGasByOpcodeDailyServiceGetData, FctOpcodeGasByOpcodeDailyServiceGetError, @@ -1767,9 +1884,18 @@ export type { GetFctMissedSlotRateHourlyResponse, GetFctNodeActiveLast24hResponse, GetFctNodeCpuUtilizationByProcessResponse, + GetFctNodeCpuUtilizationDailyResponse, + GetFctNodeCpuUtilizationHourlyResponse, GetFctNodeDiskIoByProcessResponse, + GetFctNodeDiskIoDailyResponse, + GetFctNodeDiskIoHourlyResponse, + GetFctNodeHostSpecResponse, GetFctNodeMemoryUsageByProcessResponse, + GetFctNodeMemoryUsageDailyResponse, + GetFctNodeMemoryUsageHourlyResponse, GetFctNodeNetworkIoByProcessResponse, + GetFctNodeNetworkIoDailyResponse, + GetFctNodeNetworkIoHourlyResponse, GetFctOpcodeGasByOpcodeDailyResponse, GetFctOpcodeGasByOpcodeHourlyResponse, GetFctOpcodeOpsDailyResponse, @@ -2631,9 +2757,18 @@ export type { ListFctMissedSlotRateHourlyResponse, ListFctNodeActiveLast24hResponse, ListFctNodeCpuUtilizationByProcessResponse, + ListFctNodeCpuUtilizationDailyResponse, + ListFctNodeCpuUtilizationHourlyResponse, ListFctNodeDiskIoByProcessResponse, + ListFctNodeDiskIoDailyResponse, + ListFctNodeDiskIoHourlyResponse, + ListFctNodeHostSpecResponse, ListFctNodeMemoryUsageByProcessResponse, + ListFctNodeMemoryUsageDailyResponse, + ListFctNodeMemoryUsageHourlyResponse, ListFctNodeNetworkIoByProcessResponse, + ListFctNodeNetworkIoDailyResponse, + ListFctNodeNetworkIoHourlyResponse, ListFctOpcodeGasByOpcodeDailyResponse, ListFctOpcodeGasByOpcodeHourlyResponse, ListFctOpcodeOpsDailyResponse, diff --git a/src/api/sdk.gen.ts b/src/api/sdk.gen.ts index e9e957f1e..0b1cb6b13 100644 --- a/src/api/sdk.gen.ts +++ b/src/api/sdk.gen.ts @@ -549,24 +549,78 @@ import type { FctNodeCpuUtilizationByProcessServiceListData, FctNodeCpuUtilizationByProcessServiceListErrors, FctNodeCpuUtilizationByProcessServiceListResponses, + FctNodeCpuUtilizationDailyServiceGetData, + FctNodeCpuUtilizationDailyServiceGetErrors, + FctNodeCpuUtilizationDailyServiceGetResponses, + FctNodeCpuUtilizationDailyServiceListData, + FctNodeCpuUtilizationDailyServiceListErrors, + FctNodeCpuUtilizationDailyServiceListResponses, + FctNodeCpuUtilizationHourlyServiceGetData, + FctNodeCpuUtilizationHourlyServiceGetErrors, + FctNodeCpuUtilizationHourlyServiceGetResponses, + FctNodeCpuUtilizationHourlyServiceListData, + FctNodeCpuUtilizationHourlyServiceListErrors, + FctNodeCpuUtilizationHourlyServiceListResponses, FctNodeDiskIoByProcessServiceGetData, FctNodeDiskIoByProcessServiceGetErrors, FctNodeDiskIoByProcessServiceGetResponses, FctNodeDiskIoByProcessServiceListData, FctNodeDiskIoByProcessServiceListErrors, FctNodeDiskIoByProcessServiceListResponses, + FctNodeDiskIoDailyServiceGetData, + FctNodeDiskIoDailyServiceGetErrors, + FctNodeDiskIoDailyServiceGetResponses, + FctNodeDiskIoDailyServiceListData, + FctNodeDiskIoDailyServiceListErrors, + FctNodeDiskIoDailyServiceListResponses, + FctNodeDiskIoHourlyServiceGetData, + FctNodeDiskIoHourlyServiceGetErrors, + FctNodeDiskIoHourlyServiceGetResponses, + FctNodeDiskIoHourlyServiceListData, + FctNodeDiskIoHourlyServiceListErrors, + FctNodeDiskIoHourlyServiceListResponses, + FctNodeHostSpecServiceGetData, + FctNodeHostSpecServiceGetErrors, + FctNodeHostSpecServiceGetResponses, + FctNodeHostSpecServiceListData, + FctNodeHostSpecServiceListErrors, + FctNodeHostSpecServiceListResponses, FctNodeMemoryUsageByProcessServiceGetData, FctNodeMemoryUsageByProcessServiceGetErrors, FctNodeMemoryUsageByProcessServiceGetResponses, FctNodeMemoryUsageByProcessServiceListData, FctNodeMemoryUsageByProcessServiceListErrors, FctNodeMemoryUsageByProcessServiceListResponses, + FctNodeMemoryUsageDailyServiceGetData, + FctNodeMemoryUsageDailyServiceGetErrors, + FctNodeMemoryUsageDailyServiceGetResponses, + FctNodeMemoryUsageDailyServiceListData, + FctNodeMemoryUsageDailyServiceListErrors, + FctNodeMemoryUsageDailyServiceListResponses, + FctNodeMemoryUsageHourlyServiceGetData, + FctNodeMemoryUsageHourlyServiceGetErrors, + FctNodeMemoryUsageHourlyServiceGetResponses, + FctNodeMemoryUsageHourlyServiceListData, + FctNodeMemoryUsageHourlyServiceListErrors, + FctNodeMemoryUsageHourlyServiceListResponses, FctNodeNetworkIoByProcessServiceGetData, FctNodeNetworkIoByProcessServiceGetErrors, FctNodeNetworkIoByProcessServiceGetResponses, FctNodeNetworkIoByProcessServiceListData, FctNodeNetworkIoByProcessServiceListErrors, FctNodeNetworkIoByProcessServiceListResponses, + FctNodeNetworkIoDailyServiceGetData, + FctNodeNetworkIoDailyServiceGetErrors, + FctNodeNetworkIoDailyServiceGetResponses, + FctNodeNetworkIoDailyServiceListData, + FctNodeNetworkIoDailyServiceListErrors, + FctNodeNetworkIoDailyServiceListResponses, + FctNodeNetworkIoHourlyServiceGetData, + FctNodeNetworkIoHourlyServiceGetErrors, + FctNodeNetworkIoHourlyServiceGetResponses, + FctNodeNetworkIoHourlyServiceListData, + FctNodeNetworkIoHourlyServiceListErrors, + FctNodeNetworkIoHourlyServiceListResponses, FctOpcodeGasByOpcodeDailyServiceGetData, FctOpcodeGasByOpcodeDailyServiceGetErrors, FctOpcodeGasByOpcodeDailyServiceGetResponses, @@ -1455,18 +1509,54 @@ import { zFctNodeCpuUtilizationByProcessServiceGetResponse, zFctNodeCpuUtilizationByProcessServiceListData, zFctNodeCpuUtilizationByProcessServiceListResponse, + zFctNodeCpuUtilizationDailyServiceGetData, + zFctNodeCpuUtilizationDailyServiceGetResponse, + zFctNodeCpuUtilizationDailyServiceListData, + zFctNodeCpuUtilizationDailyServiceListResponse, + zFctNodeCpuUtilizationHourlyServiceGetData, + zFctNodeCpuUtilizationHourlyServiceGetResponse, + zFctNodeCpuUtilizationHourlyServiceListData, + zFctNodeCpuUtilizationHourlyServiceListResponse, zFctNodeDiskIoByProcessServiceGetData, zFctNodeDiskIoByProcessServiceGetResponse, zFctNodeDiskIoByProcessServiceListData, zFctNodeDiskIoByProcessServiceListResponse, + zFctNodeDiskIoDailyServiceGetData, + zFctNodeDiskIoDailyServiceGetResponse, + zFctNodeDiskIoDailyServiceListData, + zFctNodeDiskIoDailyServiceListResponse, + zFctNodeDiskIoHourlyServiceGetData, + zFctNodeDiskIoHourlyServiceGetResponse, + zFctNodeDiskIoHourlyServiceListData, + zFctNodeDiskIoHourlyServiceListResponse, + zFctNodeHostSpecServiceGetData, + zFctNodeHostSpecServiceGetResponse, + zFctNodeHostSpecServiceListData, + zFctNodeHostSpecServiceListResponse, zFctNodeMemoryUsageByProcessServiceGetData, zFctNodeMemoryUsageByProcessServiceGetResponse, zFctNodeMemoryUsageByProcessServiceListData, zFctNodeMemoryUsageByProcessServiceListResponse, + zFctNodeMemoryUsageDailyServiceGetData, + zFctNodeMemoryUsageDailyServiceGetResponse, + zFctNodeMemoryUsageDailyServiceListData, + zFctNodeMemoryUsageDailyServiceListResponse, + zFctNodeMemoryUsageHourlyServiceGetData, + zFctNodeMemoryUsageHourlyServiceGetResponse, + zFctNodeMemoryUsageHourlyServiceListData, + zFctNodeMemoryUsageHourlyServiceListResponse, zFctNodeNetworkIoByProcessServiceGetData, zFctNodeNetworkIoByProcessServiceGetResponse, zFctNodeNetworkIoByProcessServiceListData, zFctNodeNetworkIoByProcessServiceListResponse, + zFctNodeNetworkIoDailyServiceGetData, + zFctNodeNetworkIoDailyServiceGetResponse, + zFctNodeNetworkIoDailyServiceListData, + zFctNodeNetworkIoDailyServiceListResponse, + zFctNodeNetworkIoHourlyServiceGetData, + zFctNodeNetworkIoHourlyServiceGetResponse, + zFctNodeNetworkIoHourlyServiceListData, + zFctNodeNetworkIoHourlyServiceListResponse, zFctOpcodeGasByOpcodeDailyServiceGetData, zFctOpcodeGasByOpcodeDailyServiceGetResponse, zFctOpcodeGasByOpcodeDailyServiceListData, @@ -5270,6 +5360,82 @@ export const fctNodeCpuUtilizationByProcessServiceGet = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeCpuUtilizationDailyServiceListResponses, + FctNodeCpuUtilizationDailyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeCpuUtilizationDailyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeCpuUtilizationDailyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_cpu_utilization_daily', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeCpuUtilizationDailyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeCpuUtilizationDailyServiceGetResponses, + FctNodeCpuUtilizationDailyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeCpuUtilizationDailyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeCpuUtilizationDailyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_cpu_utilization_daily/{day_start_date}', + ...options, + }); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeCpuUtilizationHourlyServiceList = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeCpuUtilizationHourlyServiceListResponses, + FctNodeCpuUtilizationHourlyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeCpuUtilizationHourlyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeCpuUtilizationHourlyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_cpu_utilization_hourly', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeCpuUtilizationHourlyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeCpuUtilizationHourlyServiceGetResponses, + FctNodeCpuUtilizationHourlyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeCpuUtilizationHourlyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeCpuUtilizationHourlyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_cpu_utilization_hourly/{hour_start_date_time}', + ...options, + }); + /** * List records * @@ -5308,6 +5474,112 @@ export const fctNodeDiskIoByProcessServiceGet = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeDiskIoDailyServiceListResponses, + FctNodeDiskIoDailyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeDiskIoDailyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeDiskIoDailyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_disk_io_daily', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeDiskIoDailyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeDiskIoDailyServiceGetResponses, + FctNodeDiskIoDailyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeDiskIoDailyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeDiskIoDailyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_disk_io_daily/{day_start_date}', + ...options, + }); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeDiskIoHourlyServiceList = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeDiskIoHourlyServiceListResponses, + FctNodeDiskIoHourlyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeDiskIoHourlyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeDiskIoHourlyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_disk_io_hourly', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeDiskIoHourlyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeDiskIoHourlyServiceGetResponses, + FctNodeDiskIoHourlyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeDiskIoHourlyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeDiskIoHourlyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_disk_io_hourly/{hour_start_date_time}', + ...options, + }); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeHostSpecServiceList = ( + options?: Options +) => + (options?.client ?? client).get({ + requestValidator: async data => await zFctNodeHostSpecServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeHostSpecServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_host_spec', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by wallclock_slot_start_date_time + */ +export const fctNodeHostSpecServiceGet = ( + options: Options +) => + (options.client ?? client).get({ + requestValidator: async data => await zFctNodeHostSpecServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeHostSpecServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_host_spec/{wallclock_slot_start_date_time}', + ...options, + }); + /** * List records * @@ -5346,6 +5618,82 @@ export const fctNodeMemoryUsageByProcessServiceGet = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeMemoryUsageDailyServiceListResponses, + FctNodeMemoryUsageDailyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeMemoryUsageDailyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeMemoryUsageDailyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_memory_usage_daily', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeMemoryUsageDailyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeMemoryUsageDailyServiceGetResponses, + FctNodeMemoryUsageDailyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeMemoryUsageDailyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeMemoryUsageDailyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_memory_usage_daily/{day_start_date}', + ...options, + }); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeMemoryUsageHourlyServiceList = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeMemoryUsageHourlyServiceListResponses, + FctNodeMemoryUsageHourlyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeMemoryUsageHourlyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeMemoryUsageHourlyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_memory_usage_hourly', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeMemoryUsageHourlyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeMemoryUsageHourlyServiceGetResponses, + FctNodeMemoryUsageHourlyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeMemoryUsageHourlyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeMemoryUsageHourlyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_memory_usage_hourly/{hour_start_date_time}', + ...options, + }); + /** * List records * @@ -5384,6 +5732,82 @@ export const fctNodeNetworkIoByProcessServiceGet = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeNetworkIoDailyServiceListResponses, + FctNodeNetworkIoDailyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeNetworkIoDailyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeNetworkIoDailyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_network_io_daily', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by day_start_date + */ +export const fctNodeNetworkIoDailyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeNetworkIoDailyServiceGetResponses, + FctNodeNetworkIoDailyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeNetworkIoDailyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeNetworkIoDailyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_network_io_daily/{day_start_date}', + ...options, + }); + +/** + * List records + * + * Retrieve paginated results with optional filtering + */ +export const fctNodeNetworkIoHourlyServiceList = ( + options?: Options +) => + (options?.client ?? client).get< + FctNodeNetworkIoHourlyServiceListResponses, + FctNodeNetworkIoHourlyServiceListErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeNetworkIoHourlyServiceListData.parseAsync(data), + responseValidator: async data => await zFctNodeNetworkIoHourlyServiceListResponse.parseAsync(data), + url: '/api/v1/fct_node_network_io_hourly', + ...options, + }); + +/** + * Get record + * + * Retrieve a single record by hour_start_date_time + */ +export const fctNodeNetworkIoHourlyServiceGet = ( + options: Options +) => + (options.client ?? client).get< + FctNodeNetworkIoHourlyServiceGetResponses, + FctNodeNetworkIoHourlyServiceGetErrors, + ThrowOnError + >({ + requestValidator: async data => await zFctNodeNetworkIoHourlyServiceGetData.parseAsync(data), + responseValidator: async data => await zFctNodeNetworkIoHourlyServiceGetResponse.parseAsync(data), + url: '/api/v1/fct_node_network_io_hourly/{hour_start_date_time}', + ...options, + }); + /** * List records * diff --git a/src/api/types.gen.ts b/src/api/types.gen.ts index 3e5dcd1aa..a76079ce8 100644 --- a/src/api/types.gen.ts +++ b/src/api/types.gen.ts @@ -1,7 +1,7 @@ // This file is auto-generated by @hey-api/openapi-ts export type ClientOptions = { - baseUrl: 'http://localhost:8091' | (string & {}); + baseUrl: `${string}://${string}` | (string & {}); }; export type AdminCbtIncremental = { @@ -4615,6 +4615,108 @@ export type FctNodeCpuUtilizationByProcess = { window_start?: number; }; +export type FctNodeCpuUtilizationDaily = { + /** + * Weighted average total CPU core utilization percentage + */ + avg_core_pct?: number; + /** + * Start of the day period + */ + day_start_date?: string; + /** + * Number of source hourly slots in this day + */ + hour_count?: number; + /** + * Maximum total CPU core utilization percentage + */ + max_core_pct?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Minimum total CPU core utilization percentage + */ + min_core_pct?: number; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Weighted 50th percentile total CPU core utilization + */ + p50_core_pct?: number; + /** + * Maximum of hourly 95th percentile CPU utilization + */ + p95_core_pct?: number; + /** + * Total system CPU cores + */ + system_cores?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + +export type FctNodeCpuUtilizationHourly = { + /** + * Average total CPU core utilization percentage + */ + avg_core_pct?: number; + /** + * Start of the hour period + */ + hour_start_date_time?: number; + /** + * Maximum total CPU core utilization percentage + */ + max_core_pct?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Minimum total CPU core utilization percentage + */ + min_core_pct?: number; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * 50th percentile total CPU core utilization + */ + p50_core_pct?: number; + /** + * 95th percentile total CPU core utilization + */ + p95_core_pct?: number; + /** + * Number of slots in this hour + */ + slot_count?: number; + /** + * Total system CPU cores + */ + system_cores?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + export type FctNodeDiskIoByProcess = { /** * Client type: CL or EL @@ -4666,6 +4768,239 @@ export type FctNodeDiskIoByProcess = { window_start?: number; }; +export type FctNodeDiskIoDaily = { + /** + * Weighted average bytes transferred per slot + */ + avg_io_bytes?: number; + /** + * Weighted average I/O operations per slot + */ + avg_io_ops?: number; + /** + * Start of the day period + */ + day_start_date?: string; + /** + * Number of source hourly slots in this day + */ + hour_count?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Read or write operation + */ + rw?: string; + /** + * Total bytes transferred in this day + */ + sum_io_bytes?: number; + /** + * Total I/O operations in this day + */ + sum_io_ops?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + +export type FctNodeDiskIoHourly = { + /** + * Average bytes transferred per slot + */ + avg_io_bytes?: number; + /** + * Average I/O operations per slot + */ + avg_io_ops?: number; + /** + * Start of the hour period + */ + hour_start_date_time?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Read or write operation + */ + rw?: string; + /** + * Number of slots in this hour + */ + slot_count?: number; + /** + * Total bytes transferred in this hour + */ + sum_io_bytes?: number; + /** + * Total I/O operations in this hour + */ + sum_io_ops?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + +export type FctNodeHostSpec = { + /** + * CPU architecture (e.g. x86_64, aarch64) + */ + architecture?: string; + /** + * Base frequency per core in kHz + */ + cpu_base_freq_khz?: Array; + /** + * Core type labels per core + */ + cpu_core_type_labels?: Array; + /** + * Core type identifiers per core + */ + cpu_core_types?: Array; + /** + * Number of efficiency cores (hybrid CPUs) + */ + cpu_efficiency_cores?: number; + /** + * Number of logical CPU cores + */ + cpu_logical_cores?: number; + /** + * Maximum frequency per core in kHz + */ + cpu_max_freq_khz?: Array; + /** + * CPU model name + */ + cpu_model?: string; + /** + * Number of online CPU cores + */ + cpu_online_cores?: number; + /** + * Number of performance cores (hybrid CPUs) + */ + cpu_performance_cores?: number; + /** + * Number of physical CPU cores + */ + cpu_physical_cores?: number; + /** + * Number of cores with unknown type + */ + cpu_unknown_type_cores?: number; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) + */ + cpu_vendor?: string; + /** + * Number of disk devices + */ + disk_count?: number; + /** + * Model names of each disk + */ + disk_models?: Array; + /** + * Device names of each disk + */ + disk_names?: Array; + /** + * Whether each disk is rotational (1) or SSD (0) + */ + disk_rotational?: Array; + /** + * Size of each disk in bytes + */ + disk_sizes_bytes?: Array; + /** + * Total disk capacity in bytes + */ + disk_total_bytes?: number; + /** + * Unique host identifier + */ + host_id?: string; + /** + * OS kernel release version + */ + kernel_release?: string; + /** + * Number of memory DIMMs + */ + memory_dimm_count?: number; + /** + * Size of each DIMM in bytes + */ + memory_dimm_sizes_bytes?: Array; + /** + * Speed of each DIMM in MT/s + */ + memory_dimm_speeds_mts?: Array; + /** + * Type of each DIMM + */ + memory_dimm_types?: Array; + /** + * Memory speed in MT/s + */ + memory_speed_mts?: number; + /** + * Total system memory in bytes + */ + memory_total_bytes?: number; + /** + * Memory type (e.g. DDR4, DDR5) + */ + memory_type?: string; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Operating system name + */ + os_name?: string; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; + /** + * The wall clock time when the slot started + */ + wallclock_slot_start_date_time?: number; +}; + export type FctNodeMemoryUsageByProcess = { /** * Client type: CL or EL @@ -4721,6 +5056,108 @@ export type FctNodeMemoryUsageByProcess = { window_start?: number; }; +export type FctNodeMemoryUsageDaily = { + /** + * Weighted average total anonymous RSS memory in bytes + */ + avg_rss_anon_bytes?: number; + /** + * Weighted average total file-backed RSS memory in bytes + */ + avg_rss_file_bytes?: number; + /** + * Weighted average total RSS memory in bytes + */ + avg_vm_rss_bytes?: number; + /** + * Weighted average total swap memory in bytes + */ + avg_vm_swap_bytes?: number; + /** + * Start of the day period + */ + day_start_date?: string; + /** + * Number of source hourly slots in this day + */ + hour_count?: number; + /** + * Maximum total RSS memory in bytes + */ + max_vm_rss_bytes?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Minimum total RSS memory in bytes + */ + min_vm_rss_bytes?: number; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + +export type FctNodeMemoryUsageHourly = { + /** + * Average total anonymous RSS memory in bytes + */ + avg_rss_anon_bytes?: number; + /** + * Average total file-backed RSS memory in bytes + */ + avg_rss_file_bytes?: number; + /** + * Average total RSS memory in bytes + */ + avg_vm_rss_bytes?: number; + /** + * Average total swap memory in bytes + */ + avg_vm_swap_bytes?: number; + /** + * Start of the hour period + */ + hour_start_date_time?: number; + /** + * Maximum total RSS memory in bytes + */ + max_vm_rss_bytes?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Minimum total RSS memory in bytes + */ + min_vm_rss_bytes?: number; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Number of slots in this hour + */ + slot_count?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + export type FctNodeNetworkIoByProcess = { /** * Client type: CL or EL @@ -4776,6 +5213,108 @@ export type FctNodeNetworkIoByProcess = { window_start?: number; }; +export type FctNodeNetworkIoDaily = { + /** + * Weighted average bytes transferred per slot + */ + avg_io_bytes?: number; + /** + * Weighted average packet count per slot + */ + avg_io_count?: number; + /** + * Start of the day period + */ + day_start_date?: string; + /** + * Traffic direction: tx or rx + */ + direction?: string; + /** + * Number of source hourly slots in this day + */ + hour_count?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) + */ + port_label?: string; + /** + * Total bytes transferred in this day + */ + sum_io_bytes?: number; + /** + * Total packet count in this day + */ + sum_io_count?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + +export type FctNodeNetworkIoHourly = { + /** + * Average bytes transferred per slot + */ + avg_io_bytes?: number; + /** + * Average packet count per slot + */ + avg_io_count?: number; + /** + * Traffic direction: tx or rx + */ + direction?: string; + /** + * Start of the hour period + */ + hour_start_date_time?: number; + /** + * Name of the observoor client that collected the data + */ + meta_client_name?: string; + /** + * Ethereum network name + */ + meta_network_name?: string; + /** + * Node classification for filtering (e.g. eip7870) + */ + node_class?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) + */ + port_label?: string; + /** + * Number of slots in this hour + */ + slot_count?: number; + /** + * Total bytes transferred in this hour + */ + sum_io_bytes?: number; + /** + * Total packet count in this hour + */ + sum_io_count?: number; + /** + * Timestamp when the record was last updated + */ + updated_date_time?: number; +}; + export type FctOpcodeGasByOpcodeDaily = { /** * Average executions per block @@ -6372,6 +6911,20 @@ export type GetFctNodeCpuUtilizationByProcessResponse = { item?: FctNodeCpuUtilizationByProcess; }; +/** + * Response for getting a single fct_node_cpu_utilization_daily record + */ +export type GetFctNodeCpuUtilizationDailyResponse = { + item?: FctNodeCpuUtilizationDaily; +}; + +/** + * Response for getting a single fct_node_cpu_utilization_hourly record + */ +export type GetFctNodeCpuUtilizationHourlyResponse = { + item?: FctNodeCpuUtilizationHourly; +}; + /** * Response for getting a single fct_node_disk_io_by_process record */ @@ -6379,6 +6932,27 @@ export type GetFctNodeDiskIoByProcessResponse = { item?: FctNodeDiskIoByProcess; }; +/** + * Response for getting a single fct_node_disk_io_daily record + */ +export type GetFctNodeDiskIoDailyResponse = { + item?: FctNodeDiskIoDaily; +}; + +/** + * Response for getting a single fct_node_disk_io_hourly record + */ +export type GetFctNodeDiskIoHourlyResponse = { + item?: FctNodeDiskIoHourly; +}; + +/** + * Response for getting a single fct_node_host_spec record + */ +export type GetFctNodeHostSpecResponse = { + item?: FctNodeHostSpec; +}; + /** * Response for getting a single fct_node_memory_usage_by_process record */ @@ -6386,6 +6960,20 @@ export type GetFctNodeMemoryUsageByProcessResponse = { item?: FctNodeMemoryUsageByProcess; }; +/** + * Response for getting a single fct_node_memory_usage_daily record + */ +export type GetFctNodeMemoryUsageDailyResponse = { + item?: FctNodeMemoryUsageDaily; +}; + +/** + * Response for getting a single fct_node_memory_usage_hourly record + */ +export type GetFctNodeMemoryUsageHourlyResponse = { + item?: FctNodeMemoryUsageHourly; +}; + /** * Response for getting a single fct_node_network_io_by_process record */ @@ -6393,6 +6981,20 @@ export type GetFctNodeNetworkIoByProcessResponse = { item?: FctNodeNetworkIoByProcess; }; +/** + * Response for getting a single fct_node_network_io_daily record + */ +export type GetFctNodeNetworkIoDailyResponse = { + item?: FctNodeNetworkIoDaily; +}; + +/** + * Response for getting a single fct_node_network_io_hourly record + */ +export type GetFctNodeNetworkIoHourlyResponse = { + item?: FctNodeNetworkIoHourly; +}; + /** * Response for getting a single fct_opcode_gas_by_opcode_daily record */ @@ -10897,6 +11499,34 @@ export type ListFctNodeCpuUtilizationByProcessResponse = { next_page_token?: string; }; +/** + * Response for listing fct_node_cpu_utilization_daily records + */ +export type ListFctNodeCpuUtilizationDailyResponse = { + /** + * The list of fct_node_cpu_utilization_daily. + */ + fct_node_cpu_utilization_daily?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + +/** + * Response for listing fct_node_cpu_utilization_hourly records + */ +export type ListFctNodeCpuUtilizationHourlyResponse = { + /** + * The list of fct_node_cpu_utilization_hourly. + */ + fct_node_cpu_utilization_hourly?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + /** * Response for listing fct_node_disk_io_by_process records */ @@ -10911,6 +11541,48 @@ export type ListFctNodeDiskIoByProcessResponse = { next_page_token?: string; }; +/** + * Response for listing fct_node_disk_io_daily records + */ +export type ListFctNodeDiskIoDailyResponse = { + /** + * The list of fct_node_disk_io_daily. + */ + fct_node_disk_io_daily?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + +/** + * Response for listing fct_node_disk_io_hourly records + */ +export type ListFctNodeDiskIoHourlyResponse = { + /** + * The list of fct_node_disk_io_hourly. + */ + fct_node_disk_io_hourly?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + +/** + * Response for listing fct_node_host_spec records + */ +export type ListFctNodeHostSpecResponse = { + /** + * The list of fct_node_host_spec. + */ + fct_node_host_spec?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + /** * Response for listing fct_node_memory_usage_by_process records */ @@ -10925,6 +11597,34 @@ export type ListFctNodeMemoryUsageByProcessResponse = { next_page_token?: string; }; +/** + * Response for listing fct_node_memory_usage_daily records + */ +export type ListFctNodeMemoryUsageDailyResponse = { + /** + * The list of fct_node_memory_usage_daily. + */ + fct_node_memory_usage_daily?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + +/** + * Response for listing fct_node_memory_usage_hourly records + */ +export type ListFctNodeMemoryUsageHourlyResponse = { + /** + * The list of fct_node_memory_usage_hourly. + */ + fct_node_memory_usage_hourly?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + /** * Response for listing fct_node_network_io_by_process records */ @@ -10939,6 +11639,34 @@ export type ListFctNodeNetworkIoByProcessResponse = { next_page_token?: string; }; +/** + * Response for listing fct_node_network_io_daily records + */ +export type ListFctNodeNetworkIoDailyResponse = { + /** + * The list of fct_node_network_io_daily. + */ + fct_node_network_io_daily?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + +/** + * Response for listing fct_node_network_io_hourly records + */ +export type ListFctNodeNetworkIoHourlyResponse = { + /** + * The list of fct_node_network_io_hourly. + */ + fct_node_network_io_hourly?: Array; + /** + * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. + */ + next_page_token?: string; +}; + /** * Response for listing fct_opcode_gas_by_opcode_daily records */ @@ -55793,50 +56521,46 @@ export type FctNodeCpuUtilizationByProcessServiceGetResponses = { export type FctNodeCpuUtilizationByProcessServiceGetResponse = FctNodeCpuUtilizationByProcessServiceGetResponses[keyof FctNodeCpuUtilizationByProcessServiceGetResponses]; -export type FctNodeDiskIoByProcessServiceListData = { +export type FctNodeCpuUtilizationDailyServiceListData = { body?: never; path?: never; query?: { /** - * The wall clock time when the slot started (filter: eq) - */ - wallclock_slot_start_date_time_eq?: number; - /** - * The wall clock time when the slot started (filter: ne) + * Start of the day period (filter: eq) */ - wallclock_slot_start_date_time_ne?: number; + day_start_date_eq?: string; /** - * The wall clock time when the slot started (filter: lt) + * Start of the day period (filter: ne) */ - wallclock_slot_start_date_time_lt?: number; + day_start_date_ne?: string; /** - * The wall clock time when the slot started (filter: lte) + * Start of the day period (filter: contains) */ - wallclock_slot_start_date_time_lte?: number; + day_start_date_contains?: string; /** - * The wall clock time when the slot started (filter: gt) + * Start of the day period (filter: starts_with) */ - wallclock_slot_start_date_time_gt?: number; + day_start_date_starts_with?: string; /** - * The wall clock time when the slot started (filter: gte) + * Start of the day period (filter: ends_with) */ - wallclock_slot_start_date_time_gte?: number; + day_start_date_ends_with?: string; /** - * The wall clock time when the slot started (filter: between_min) + * Start of the day period (filter: like) */ - wallclock_slot_start_date_time_between_min?: number; + day_start_date_like?: string; /** - * The wall clock time when the slot started (filter: between_max_value) + * Start of the day period (filter: not_like) */ - wallclock_slot_start_date_time_between_max_value?: number; + day_start_date_not_like?: string; /** - * The wall clock time when the slot started (filter: in_values) (comma-separated list) + * Start of the day period (filter: in_values) (comma-separated list) */ - wallclock_slot_start_date_time_in_values?: string; + day_start_date_in_values?: string; /** - * The wall clock time when the slot started (filter: not_in_values) (comma-separated list) + * Start of the day period (filter: not_in_values) (comma-separated list) */ - wallclock_slot_start_date_time_not_in_values?: string; + day_start_date_not_in_values?: string; /** * Name of the observoor client that collected the data (filter: eq) */ @@ -55873,158 +56597,3484 @@ export type FctNodeDiskIoByProcessServiceListData = { * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) */ meta_client_name_not_in_values?: string; - /** - * Client type: CL or EL (filter: eq) - */ - client_type_eq?: string; - /** - * Client type: CL or EL (filter: ne) - */ - client_type_ne?: string; - /** - * Client type: CL or EL (filter: contains) - */ - client_type_contains?: string; - /** - * Client type: CL or EL (filter: starts_with) - */ - client_type_starts_with?: string; - /** - * Client type: CL or EL (filter: ends_with) - */ - client_type_ends_with?: string; - /** - * Client type: CL or EL (filter: like) - */ - client_type_like?: string; - /** - * Client type: CL or EL (filter: not_like) - */ - client_type_not_like?: string; - /** - * Client type: CL or EL (filter: in_values) (comma-separated list) - */ - client_type_in_values?: string; - /** - * Client type: CL or EL (filter: not_in_values) (comma-separated list) - */ - client_type_not_in_values?: string; - /** - * Process ID of the monitored client (filter: eq) - */ - pid_eq?: number; - /** - * Process ID of the monitored client (filter: ne) - */ - pid_ne?: number; - /** - * Process ID of the monitored client (filter: lt) - */ - pid_lt?: number; - /** - * Process ID of the monitored client (filter: lte) - */ - pid_lte?: number; - /** - * Process ID of the monitored client (filter: gt) - */ - pid_gt?: number; - /** - * Process ID of the monitored client (filter: gte) - */ - pid_gte?: number; - /** - * Process ID of the monitored client (filter: between_min) - */ - pid_between_min?: number; - /** - * Process ID of the monitored client (filter: between_max_value) - */ - pid_between_max_value?: number; - /** - * Process ID of the monitored client (filter: in_values) (comma-separated list) - */ - pid_in_values?: string; - /** - * Process ID of the monitored client (filter: not_in_values) (comma-separated list) - */ - pid_not_in_values?: string; - /** - * I/O direction: read or write (filter: eq) - */ - rw_eq?: string; - /** - * I/O direction: read or write (filter: ne) - */ - rw_ne?: string; - /** - * I/O direction: read or write (filter: contains) - */ - rw_contains?: string; - /** - * I/O direction: read or write (filter: starts_with) - */ - rw_starts_with?: string; - /** - * I/O direction: read or write (filter: ends_with) - */ - rw_ends_with?: string; - /** - * I/O direction: read or write (filter: like) - */ - rw_like?: string; - /** - * I/O direction: read or write (filter: not_like) - */ - rw_not_like?: string; - /** - * I/O direction: read or write (filter: in_values) (comma-separated list) - */ - rw_in_values?: string; - /** - * I/O direction: read or write (filter: not_in_values) (comma-separated list) - */ - rw_not_in_values?: string; - /** - * Start of the sub-slot aggregation window (filter: eq) - */ - window_start_eq?: number; - /** - * Start of the sub-slot aggregation window (filter: ne) - */ - window_start_ne?: number; - /** - * Start of the sub-slot aggregation window (filter: lt) - */ - window_start_lt?: number; - /** - * Start of the sub-slot aggregation window (filter: lte) - */ - window_start_lte?: number; - /** - * Start of the sub-slot aggregation window (filter: gt) - */ - window_start_gt?: number; - /** - * Start of the sub-slot aggregation window (filter: gte) - */ - window_start_gte?: number; - /** - * Start of the sub-slot aggregation window (filter: between_min) - */ - window_start_between_min?: number; - /** - * Start of the sub-slot aggregation window (filter: between_max_value) - */ - window_start_between_max_value?: number; - /** - * Start of the sub-slot aggregation window (filter: in_values) (comma-separated list) - */ - window_start_in_values?: string; - /** - * Start of the sub-slot aggregation window (filter: not_in_values) (comma-separated list) - */ - window_start_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Total system CPU cores (filter: eq) + */ + system_cores_eq?: number; + /** + * Total system CPU cores (filter: ne) + */ + system_cores_ne?: number; + /** + * Total system CPU cores (filter: lt) + */ + system_cores_lt?: number; + /** + * Total system CPU cores (filter: lte) + */ + system_cores_lte?: number; + /** + * Total system CPU cores (filter: gt) + */ + system_cores_gt?: number; + /** + * Total system CPU cores (filter: gte) + */ + system_cores_gte?: number; + /** + * Total system CPU cores (filter: between_min) + */ + system_cores_between_min?: number; + /** + * Total system CPU cores (filter: between_max_value) + */ + system_cores_between_max_value?: number; + /** + * Total system CPU cores (filter: in_values) (comma-separated list) + */ + system_cores_in_values?: string; + /** + * Total system CPU cores (filter: not_in_values) (comma-separated list) + */ + system_cores_not_in_values?: string; + /** + * Number of source hourly slots in this day (filter: eq) + */ + hour_count_eq?: number; + /** + * Number of source hourly slots in this day (filter: ne) + */ + hour_count_ne?: number; + /** + * Number of source hourly slots in this day (filter: lt) + */ + hour_count_lt?: number; + /** + * Number of source hourly slots in this day (filter: lte) + */ + hour_count_lte?: number; + /** + * Number of source hourly slots in this day (filter: gt) + */ + hour_count_gt?: number; + /** + * Number of source hourly slots in this day (filter: gte) + */ + hour_count_gte?: number; + /** + * Number of source hourly slots in this day (filter: between_min) + */ + hour_count_between_min?: number; + /** + * Number of source hourly slots in this day (filter: between_max_value) + */ + hour_count_between_max_value?: number; + /** + * Number of source hourly slots in this day (filter: in_values) (comma-separated list) + */ + hour_count_in_values?: string; + /** + * Number of source hourly slots in this day (filter: not_in_values) (comma-separated list) + */ + hour_count_not_in_values?: string; + /** + * Filter avg_core_pct using value + */ + avg_core_pct_value?: number; + /** + * Filter min_core_pct using value + */ + min_core_pct_value?: number; + /** + * Filter max_core_pct using value + */ + max_core_pct_value?: number; + /** + * Filter p50_core_pct using value + */ + p50_core_pct_value?: number; + /** + * Filter p95_core_pct using value + */ + p95_core_pct_value?: number; + /** + * The maximum number of fct_node_cpu_utilization_daily to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeCpuUtilizationDaily` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_cpu_utilization_daily'; +}; + +export type FctNodeCpuUtilizationDailyServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeCpuUtilizationDailyServiceListError = + FctNodeCpuUtilizationDailyServiceListErrors[keyof FctNodeCpuUtilizationDailyServiceListErrors]; + +export type FctNodeCpuUtilizationDailyServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeCpuUtilizationDailyResponse; +}; + +export type FctNodeCpuUtilizationDailyServiceListResponse = + FctNodeCpuUtilizationDailyServiceListResponses[keyof FctNodeCpuUtilizationDailyServiceListResponses]; + +export type FctNodeCpuUtilizationDailyServiceGetData = { + body?: never; + path: { + /** + * Start of the day period + */ + day_start_date: string; + }; + query?: never; + url: '/api/v1/fct_node_cpu_utilization_daily/{day_start_date}'; +}; + +export type FctNodeCpuUtilizationDailyServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeCpuUtilizationDailyServiceGetError = + FctNodeCpuUtilizationDailyServiceGetErrors[keyof FctNodeCpuUtilizationDailyServiceGetErrors]; + +export type FctNodeCpuUtilizationDailyServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeCpuUtilizationDailyResponse; +}; + +export type FctNodeCpuUtilizationDailyServiceGetResponse = + FctNodeCpuUtilizationDailyServiceGetResponses[keyof FctNodeCpuUtilizationDailyServiceGetResponses]; + +export type FctNodeCpuUtilizationHourlyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the hour period (filter: eq) + */ + hour_start_date_time_eq?: number; + /** + * Start of the hour period (filter: ne) + */ + hour_start_date_time_ne?: number; + /** + * Start of the hour period (filter: lt) + */ + hour_start_date_time_lt?: number; + /** + * Start of the hour period (filter: lte) + */ + hour_start_date_time_lte?: number; + /** + * Start of the hour period (filter: gt) + */ + hour_start_date_time_gt?: number; + /** + * Start of the hour period (filter: gte) + */ + hour_start_date_time_gte?: number; + /** + * Start of the hour period (filter: between_min) + */ + hour_start_date_time_between_min?: number; + /** + * Start of the hour period (filter: between_max_value) + */ + hour_start_date_time_between_max_value?: number; + /** + * Start of the hour period (filter: in_values) (comma-separated list) + */ + hour_start_date_time_in_values?: string; + /** + * Start of the hour period (filter: not_in_values) (comma-separated list) + */ + hour_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Total system CPU cores (filter: eq) + */ + system_cores_eq?: number; + /** + * Total system CPU cores (filter: ne) + */ + system_cores_ne?: number; + /** + * Total system CPU cores (filter: lt) + */ + system_cores_lt?: number; + /** + * Total system CPU cores (filter: lte) + */ + system_cores_lte?: number; + /** + * Total system CPU cores (filter: gt) + */ + system_cores_gt?: number; + /** + * Total system CPU cores (filter: gte) + */ + system_cores_gte?: number; + /** + * Total system CPU cores (filter: between_min) + */ + system_cores_between_min?: number; + /** + * Total system CPU cores (filter: between_max_value) + */ + system_cores_between_max_value?: number; + /** + * Total system CPU cores (filter: in_values) (comma-separated list) + */ + system_cores_in_values?: string; + /** + * Total system CPU cores (filter: not_in_values) (comma-separated list) + */ + system_cores_not_in_values?: string; + /** + * Number of slots in this hour (filter: eq) + */ + slot_count_eq?: number; + /** + * Number of slots in this hour (filter: ne) + */ + slot_count_ne?: number; + /** + * Number of slots in this hour (filter: lt) + */ + slot_count_lt?: number; + /** + * Number of slots in this hour (filter: lte) + */ + slot_count_lte?: number; + /** + * Number of slots in this hour (filter: gt) + */ + slot_count_gt?: number; + /** + * Number of slots in this hour (filter: gte) + */ + slot_count_gte?: number; + /** + * Number of slots in this hour (filter: between_min) + */ + slot_count_between_min?: number; + /** + * Number of slots in this hour (filter: between_max_value) + */ + slot_count_between_max_value?: number; + /** + * Number of slots in this hour (filter: in_values) (comma-separated list) + */ + slot_count_in_values?: string; + /** + * Number of slots in this hour (filter: not_in_values) (comma-separated list) + */ + slot_count_not_in_values?: string; + /** + * Filter avg_core_pct using value + */ + avg_core_pct_value?: number; + /** + * Filter min_core_pct using value + */ + min_core_pct_value?: number; + /** + * Filter max_core_pct using value + */ + max_core_pct_value?: number; + /** + * Filter p50_core_pct using value + */ + p50_core_pct_value?: number; + /** + * Filter p95_core_pct using value + */ + p95_core_pct_value?: number; + /** + * The maximum number of fct_node_cpu_utilization_hourly to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeCpuUtilizationHourly` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_cpu_utilization_hourly'; +}; + +export type FctNodeCpuUtilizationHourlyServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeCpuUtilizationHourlyServiceListError = + FctNodeCpuUtilizationHourlyServiceListErrors[keyof FctNodeCpuUtilizationHourlyServiceListErrors]; + +export type FctNodeCpuUtilizationHourlyServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeCpuUtilizationHourlyResponse; +}; + +export type FctNodeCpuUtilizationHourlyServiceListResponse = + FctNodeCpuUtilizationHourlyServiceListResponses[keyof FctNodeCpuUtilizationHourlyServiceListResponses]; + +export type FctNodeCpuUtilizationHourlyServiceGetData = { + body?: never; + path: { + /** + * Start of the hour period + */ + hour_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_cpu_utilization_hourly/{hour_start_date_time}'; +}; + +export type FctNodeCpuUtilizationHourlyServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeCpuUtilizationHourlyServiceGetError = + FctNodeCpuUtilizationHourlyServiceGetErrors[keyof FctNodeCpuUtilizationHourlyServiceGetErrors]; + +export type FctNodeCpuUtilizationHourlyServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeCpuUtilizationHourlyResponse; +}; + +export type FctNodeCpuUtilizationHourlyServiceGetResponse = + FctNodeCpuUtilizationHourlyServiceGetResponses[keyof FctNodeCpuUtilizationHourlyServiceGetResponses]; + +export type FctNodeDiskIoByProcessServiceListData = { + body?: never; + path?: never; + query?: { + /** + * The wall clock time when the slot started (filter: eq) + */ + wallclock_slot_start_date_time_eq?: number; + /** + * The wall clock time when the slot started (filter: ne) + */ + wallclock_slot_start_date_time_ne?: number; + /** + * The wall clock time when the slot started (filter: lt) + */ + wallclock_slot_start_date_time_lt?: number; + /** + * The wall clock time when the slot started (filter: lte) + */ + wallclock_slot_start_date_time_lte?: number; + /** + * The wall clock time when the slot started (filter: gt) + */ + wallclock_slot_start_date_time_gt?: number; + /** + * The wall clock time when the slot started (filter: gte) + */ + wallclock_slot_start_date_time_gte?: number; + /** + * The wall clock time when the slot started (filter: between_min) + */ + wallclock_slot_start_date_time_between_min?: number; + /** + * The wall clock time when the slot started (filter: between_max_value) + */ + wallclock_slot_start_date_time_between_max_value?: number; + /** + * The wall clock time when the slot started (filter: in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_in_values?: string; + /** + * The wall clock time when the slot started (filter: not_in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Client type: CL or EL (filter: eq) + */ + client_type_eq?: string; + /** + * Client type: CL or EL (filter: ne) + */ + client_type_ne?: string; + /** + * Client type: CL or EL (filter: contains) + */ + client_type_contains?: string; + /** + * Client type: CL or EL (filter: starts_with) + */ + client_type_starts_with?: string; + /** + * Client type: CL or EL (filter: ends_with) + */ + client_type_ends_with?: string; + /** + * Client type: CL or EL (filter: like) + */ + client_type_like?: string; + /** + * Client type: CL or EL (filter: not_like) + */ + client_type_not_like?: string; + /** + * Client type: CL or EL (filter: in_values) (comma-separated list) + */ + client_type_in_values?: string; + /** + * Client type: CL or EL (filter: not_in_values) (comma-separated list) + */ + client_type_not_in_values?: string; + /** + * Process ID of the monitored client (filter: eq) + */ + pid_eq?: number; + /** + * Process ID of the monitored client (filter: ne) + */ + pid_ne?: number; + /** + * Process ID of the monitored client (filter: lt) + */ + pid_lt?: number; + /** + * Process ID of the monitored client (filter: lte) + */ + pid_lte?: number; + /** + * Process ID of the monitored client (filter: gt) + */ + pid_gt?: number; + /** + * Process ID of the monitored client (filter: gte) + */ + pid_gte?: number; + /** + * Process ID of the monitored client (filter: between_min) + */ + pid_between_min?: number; + /** + * Process ID of the monitored client (filter: between_max_value) + */ + pid_between_max_value?: number; + /** + * Process ID of the monitored client (filter: in_values) (comma-separated list) + */ + pid_in_values?: string; + /** + * Process ID of the monitored client (filter: not_in_values) (comma-separated list) + */ + pid_not_in_values?: string; + /** + * I/O direction: read or write (filter: eq) + */ + rw_eq?: string; + /** + * I/O direction: read or write (filter: ne) + */ + rw_ne?: string; + /** + * I/O direction: read or write (filter: contains) + */ + rw_contains?: string; + /** + * I/O direction: read or write (filter: starts_with) + */ + rw_starts_with?: string; + /** + * I/O direction: read or write (filter: ends_with) + */ + rw_ends_with?: string; + /** + * I/O direction: read or write (filter: like) + */ + rw_like?: string; + /** + * I/O direction: read or write (filter: not_like) + */ + rw_not_like?: string; + /** + * I/O direction: read or write (filter: in_values) (comma-separated list) + */ + rw_in_values?: string; + /** + * I/O direction: read or write (filter: not_in_values) (comma-separated list) + */ + rw_not_in_values?: string; + /** + * Start of the sub-slot aggregation window (filter: eq) + */ + window_start_eq?: number; + /** + * Start of the sub-slot aggregation window (filter: ne) + */ + window_start_ne?: number; + /** + * Start of the sub-slot aggregation window (filter: lt) + */ + window_start_lt?: number; + /** + * Start of the sub-slot aggregation window (filter: lte) + */ + window_start_lte?: number; + /** + * Start of the sub-slot aggregation window (filter: gt) + */ + window_start_gt?: number; + /** + * Start of the sub-slot aggregation window (filter: gte) + */ + window_start_gte?: number; + /** + * Start of the sub-slot aggregation window (filter: between_min) + */ + window_start_between_min?: number; + /** + * Start of the sub-slot aggregation window (filter: between_max_value) + */ + window_start_between_max_value?: number; + /** + * Start of the sub-slot aggregation window (filter: in_values) (comma-separated list) + */ + window_start_in_values?: string; + /** + * Start of the sub-slot aggregation window (filter: not_in_values) (comma-separated list) + */ + window_start_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * The wallclock slot number (filter: eq) + */ + wallclock_slot_eq?: number; + /** + * The wallclock slot number (filter: ne) + */ + wallclock_slot_ne?: number; + /** + * The wallclock slot number (filter: lt) + */ + wallclock_slot_lt?: number; + /** + * The wallclock slot number (filter: lte) + */ + wallclock_slot_lte?: number; + /** + * The wallclock slot number (filter: gt) + */ + wallclock_slot_gt?: number; + /** + * The wallclock slot number (filter: gte) + */ + wallclock_slot_gte?: number; + /** + * The wallclock slot number (filter: between_min) + */ + wallclock_slot_between_min?: number; + /** + * The wallclock slot number (filter: between_max_value) + */ + wallclock_slot_between_max_value?: number; + /** + * The wallclock slot number (filter: in_values) (comma-separated list) + */ + wallclock_slot_in_values?: string; + /** + * The wallclock slot number (filter: not_in_values) (comma-separated list) + */ + wallclock_slot_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Filter io_bytes using value + */ + io_bytes_value?: number; + /** + * Total I/O operations across all devices in this window (filter: eq) + */ + io_ops_eq?: number; + /** + * Total I/O operations across all devices in this window (filter: ne) + */ + io_ops_ne?: number; + /** + * Total I/O operations across all devices in this window (filter: lt) + */ + io_ops_lt?: number; + /** + * Total I/O operations across all devices in this window (filter: lte) + */ + io_ops_lte?: number; + /** + * Total I/O operations across all devices in this window (filter: gt) + */ + io_ops_gt?: number; + /** + * Total I/O operations across all devices in this window (filter: gte) + */ + io_ops_gte?: number; + /** + * Total I/O operations across all devices in this window (filter: between_min) + */ + io_ops_between_min?: number; + /** + * Total I/O operations across all devices in this window (filter: between_max_value) + */ + io_ops_between_max_value?: number; + /** + * Total I/O operations across all devices in this window (filter: in_values) (comma-separated list) + */ + io_ops_in_values?: string; + /** + * Total I/O operations across all devices in this window (filter: not_in_values) (comma-separated list) + */ + io_ops_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * The maximum number of fct_node_disk_io_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeDiskIoByProcess` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_disk_io_by_process'; +}; + +export type FctNodeDiskIoByProcessServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoByProcessServiceListError = + FctNodeDiskIoByProcessServiceListErrors[keyof FctNodeDiskIoByProcessServiceListErrors]; + +export type FctNodeDiskIoByProcessServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeDiskIoByProcessResponse; +}; + +export type FctNodeDiskIoByProcessServiceListResponse = + FctNodeDiskIoByProcessServiceListResponses[keyof FctNodeDiskIoByProcessServiceListResponses]; + +export type FctNodeDiskIoByProcessServiceGetData = { + body?: never; + path: { + /** + * The wall clock time when the slot started + */ + wallclock_slot_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_disk_io_by_process/{wallclock_slot_start_date_time}'; +}; + +export type FctNodeDiskIoByProcessServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoByProcessServiceGetError = + FctNodeDiskIoByProcessServiceGetErrors[keyof FctNodeDiskIoByProcessServiceGetErrors]; + +export type FctNodeDiskIoByProcessServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeDiskIoByProcessResponse; +}; + +export type FctNodeDiskIoByProcessServiceGetResponse = + FctNodeDiskIoByProcessServiceGetResponses[keyof FctNodeDiskIoByProcessServiceGetResponses]; + +export type FctNodeDiskIoDailyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the day period (filter: eq) + */ + day_start_date_eq?: string; + /** + * Start of the day period (filter: ne) + */ + day_start_date_ne?: string; + /** + * Start of the day period (filter: contains) + */ + day_start_date_contains?: string; + /** + * Start of the day period (filter: starts_with) + */ + day_start_date_starts_with?: string; + /** + * Start of the day period (filter: ends_with) + */ + day_start_date_ends_with?: string; + /** + * Start of the day period (filter: like) + */ + day_start_date_like?: string; + /** + * Start of the day period (filter: not_like) + */ + day_start_date_not_like?: string; + /** + * Start of the day period (filter: in_values) (comma-separated list) + */ + day_start_date_in_values?: string; + /** + * Start of the day period (filter: not_in_values) (comma-separated list) + */ + day_start_date_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Read or write operation (filter: eq) + */ + rw_eq?: string; + /** + * Read or write operation (filter: ne) + */ + rw_ne?: string; + /** + * Read or write operation (filter: contains) + */ + rw_contains?: string; + /** + * Read or write operation (filter: starts_with) + */ + rw_starts_with?: string; + /** + * Read or write operation (filter: ends_with) + */ + rw_ends_with?: string; + /** + * Read or write operation (filter: like) + */ + rw_like?: string; + /** + * Read or write operation (filter: not_like) + */ + rw_not_like?: string; + /** + * Read or write operation (filter: in_values) (comma-separated list) + */ + rw_in_values?: string; + /** + * Read or write operation (filter: not_in_values) (comma-separated list) + */ + rw_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Number of source hourly slots in this day (filter: eq) + */ + hour_count_eq?: number; + /** + * Number of source hourly slots in this day (filter: ne) + */ + hour_count_ne?: number; + /** + * Number of source hourly slots in this day (filter: lt) + */ + hour_count_lt?: number; + /** + * Number of source hourly slots in this day (filter: lte) + */ + hour_count_lte?: number; + /** + * Number of source hourly slots in this day (filter: gt) + */ + hour_count_gt?: number; + /** + * Number of source hourly slots in this day (filter: gte) + */ + hour_count_gte?: number; + /** + * Number of source hourly slots in this day (filter: between_min) + */ + hour_count_between_min?: number; + /** + * Number of source hourly slots in this day (filter: between_max_value) + */ + hour_count_between_max_value?: number; + /** + * Number of source hourly slots in this day (filter: in_values) (comma-separated list) + */ + hour_count_in_values?: string; + /** + * Number of source hourly slots in this day (filter: not_in_values) (comma-separated list) + */ + hour_count_not_in_values?: string; + /** + * Filter sum_io_bytes using value + */ + sum_io_bytes_value?: number; + /** + * Filter avg_io_bytes using value + */ + avg_io_bytes_value?: number; + /** + * Total I/O operations in this day (filter: eq) + */ + sum_io_ops_eq?: number; + /** + * Total I/O operations in this day (filter: ne) + */ + sum_io_ops_ne?: number; + /** + * Total I/O operations in this day (filter: lt) + */ + sum_io_ops_lt?: number; + /** + * Total I/O operations in this day (filter: lte) + */ + sum_io_ops_lte?: number; + /** + * Total I/O operations in this day (filter: gt) + */ + sum_io_ops_gt?: number; + /** + * Total I/O operations in this day (filter: gte) + */ + sum_io_ops_gte?: number; + /** + * Total I/O operations in this day (filter: between_min) + */ + sum_io_ops_between_min?: number; + /** + * Total I/O operations in this day (filter: between_max_value) + */ + sum_io_ops_between_max_value?: number; + /** + * Total I/O operations in this day (filter: in_values) (comma-separated list) + */ + sum_io_ops_in_values?: string; + /** + * Total I/O operations in this day (filter: not_in_values) (comma-separated list) + */ + sum_io_ops_not_in_values?: string; + /** + * Weighted average I/O operations per slot (filter: eq) + */ + avg_io_ops_eq?: number; + /** + * Weighted average I/O operations per slot (filter: ne) + */ + avg_io_ops_ne?: number; + /** + * Weighted average I/O operations per slot (filter: lt) + */ + avg_io_ops_lt?: number; + /** + * Weighted average I/O operations per slot (filter: lte) + */ + avg_io_ops_lte?: number; + /** + * Weighted average I/O operations per slot (filter: gt) + */ + avg_io_ops_gt?: number; + /** + * Weighted average I/O operations per slot (filter: gte) + */ + avg_io_ops_gte?: number; + /** + * Weighted average I/O operations per slot (filter: between_min) + */ + avg_io_ops_between_min?: number; + /** + * Weighted average I/O operations per slot (filter: between_max_value) + */ + avg_io_ops_between_max_value?: number; + /** + * Weighted average I/O operations per slot (filter: in_values) (comma-separated list) + */ + avg_io_ops_in_values?: string; + /** + * Weighted average I/O operations per slot (filter: not_in_values) (comma-separated list) + */ + avg_io_ops_not_in_values?: string; + /** + * The maximum number of fct_node_disk_io_daily to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeDiskIoDaily` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_disk_io_daily'; +}; + +export type FctNodeDiskIoDailyServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoDailyServiceListError = + FctNodeDiskIoDailyServiceListErrors[keyof FctNodeDiskIoDailyServiceListErrors]; + +export type FctNodeDiskIoDailyServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeDiskIoDailyResponse; +}; + +export type FctNodeDiskIoDailyServiceListResponse = + FctNodeDiskIoDailyServiceListResponses[keyof FctNodeDiskIoDailyServiceListResponses]; + +export type FctNodeDiskIoDailyServiceGetData = { + body?: never; + path: { + /** + * Start of the day period + */ + day_start_date: string; + }; + query?: never; + url: '/api/v1/fct_node_disk_io_daily/{day_start_date}'; +}; + +export type FctNodeDiskIoDailyServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoDailyServiceGetError = + FctNodeDiskIoDailyServiceGetErrors[keyof FctNodeDiskIoDailyServiceGetErrors]; + +export type FctNodeDiskIoDailyServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeDiskIoDailyResponse; +}; + +export type FctNodeDiskIoDailyServiceGetResponse = + FctNodeDiskIoDailyServiceGetResponses[keyof FctNodeDiskIoDailyServiceGetResponses]; + +export type FctNodeDiskIoHourlyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the hour period (filter: eq) + */ + hour_start_date_time_eq?: number; + /** + * Start of the hour period (filter: ne) + */ + hour_start_date_time_ne?: number; + /** + * Start of the hour period (filter: lt) + */ + hour_start_date_time_lt?: number; + /** + * Start of the hour period (filter: lte) + */ + hour_start_date_time_lte?: number; + /** + * Start of the hour period (filter: gt) + */ + hour_start_date_time_gt?: number; + /** + * Start of the hour period (filter: gte) + */ + hour_start_date_time_gte?: number; + /** + * Start of the hour period (filter: between_min) + */ + hour_start_date_time_between_min?: number; + /** + * Start of the hour period (filter: between_max_value) + */ + hour_start_date_time_between_max_value?: number; + /** + * Start of the hour period (filter: in_values) (comma-separated list) + */ + hour_start_date_time_in_values?: string; + /** + * Start of the hour period (filter: not_in_values) (comma-separated list) + */ + hour_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Read or write operation (filter: eq) + */ + rw_eq?: string; + /** + * Read or write operation (filter: ne) + */ + rw_ne?: string; + /** + * Read or write operation (filter: contains) + */ + rw_contains?: string; + /** + * Read or write operation (filter: starts_with) + */ + rw_starts_with?: string; + /** + * Read or write operation (filter: ends_with) + */ + rw_ends_with?: string; + /** + * Read or write operation (filter: like) + */ + rw_like?: string; + /** + * Read or write operation (filter: not_like) + */ + rw_not_like?: string; + /** + * Read or write operation (filter: in_values) (comma-separated list) + */ + rw_in_values?: string; + /** + * Read or write operation (filter: not_in_values) (comma-separated list) + */ + rw_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Number of slots in this hour (filter: eq) + */ + slot_count_eq?: number; + /** + * Number of slots in this hour (filter: ne) + */ + slot_count_ne?: number; + /** + * Number of slots in this hour (filter: lt) + */ + slot_count_lt?: number; + /** + * Number of slots in this hour (filter: lte) + */ + slot_count_lte?: number; + /** + * Number of slots in this hour (filter: gt) + */ + slot_count_gt?: number; + /** + * Number of slots in this hour (filter: gte) + */ + slot_count_gte?: number; + /** + * Number of slots in this hour (filter: between_min) + */ + slot_count_between_min?: number; + /** + * Number of slots in this hour (filter: between_max_value) + */ + slot_count_between_max_value?: number; + /** + * Number of slots in this hour (filter: in_values) (comma-separated list) + */ + slot_count_in_values?: string; + /** + * Number of slots in this hour (filter: not_in_values) (comma-separated list) + */ + slot_count_not_in_values?: string; + /** + * Filter sum_io_bytes using value + */ + sum_io_bytes_value?: number; + /** + * Filter avg_io_bytes using value + */ + avg_io_bytes_value?: number; + /** + * Total I/O operations in this hour (filter: eq) + */ + sum_io_ops_eq?: number; + /** + * Total I/O operations in this hour (filter: ne) + */ + sum_io_ops_ne?: number; + /** + * Total I/O operations in this hour (filter: lt) + */ + sum_io_ops_lt?: number; + /** + * Total I/O operations in this hour (filter: lte) + */ + sum_io_ops_lte?: number; + /** + * Total I/O operations in this hour (filter: gt) + */ + sum_io_ops_gt?: number; + /** + * Total I/O operations in this hour (filter: gte) + */ + sum_io_ops_gte?: number; + /** + * Total I/O operations in this hour (filter: between_min) + */ + sum_io_ops_between_min?: number; + /** + * Total I/O operations in this hour (filter: between_max_value) + */ + sum_io_ops_between_max_value?: number; + /** + * Total I/O operations in this hour (filter: in_values) (comma-separated list) + */ + sum_io_ops_in_values?: string; + /** + * Total I/O operations in this hour (filter: not_in_values) (comma-separated list) + */ + sum_io_ops_not_in_values?: string; + /** + * Average I/O operations per slot (filter: eq) + */ + avg_io_ops_eq?: number; + /** + * Average I/O operations per slot (filter: ne) + */ + avg_io_ops_ne?: number; + /** + * Average I/O operations per slot (filter: lt) + */ + avg_io_ops_lt?: number; + /** + * Average I/O operations per slot (filter: lte) + */ + avg_io_ops_lte?: number; + /** + * Average I/O operations per slot (filter: gt) + */ + avg_io_ops_gt?: number; + /** + * Average I/O operations per slot (filter: gte) + */ + avg_io_ops_gte?: number; + /** + * Average I/O operations per slot (filter: between_min) + */ + avg_io_ops_between_min?: number; + /** + * Average I/O operations per slot (filter: between_max_value) + */ + avg_io_ops_between_max_value?: number; + /** + * Average I/O operations per slot (filter: in_values) (comma-separated list) + */ + avg_io_ops_in_values?: string; + /** + * Average I/O operations per slot (filter: not_in_values) (comma-separated list) + */ + avg_io_ops_not_in_values?: string; + /** + * The maximum number of fct_node_disk_io_hourly to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeDiskIoHourly` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_disk_io_hourly'; +}; + +export type FctNodeDiskIoHourlyServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoHourlyServiceListError = + FctNodeDiskIoHourlyServiceListErrors[keyof FctNodeDiskIoHourlyServiceListErrors]; + +export type FctNodeDiskIoHourlyServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeDiskIoHourlyResponse; +}; + +export type FctNodeDiskIoHourlyServiceListResponse = + FctNodeDiskIoHourlyServiceListResponses[keyof FctNodeDiskIoHourlyServiceListResponses]; + +export type FctNodeDiskIoHourlyServiceGetData = { + body?: never; + path: { + /** + * Start of the hour period + */ + hour_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_disk_io_hourly/{hour_start_date_time}'; +}; + +export type FctNodeDiskIoHourlyServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeDiskIoHourlyServiceGetError = + FctNodeDiskIoHourlyServiceGetErrors[keyof FctNodeDiskIoHourlyServiceGetErrors]; + +export type FctNodeDiskIoHourlyServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeDiskIoHourlyResponse; +}; + +export type FctNodeDiskIoHourlyServiceGetResponse = + FctNodeDiskIoHourlyServiceGetResponses[keyof FctNodeDiskIoHourlyServiceGetResponses]; + +export type FctNodeHostSpecServiceListData = { + body?: never; + path?: never; + query?: { + /** + * The wall clock time when the slot started (filter: eq) + */ + wallclock_slot_start_date_time_eq?: number; + /** + * The wall clock time when the slot started (filter: ne) + */ + wallclock_slot_start_date_time_ne?: number; + /** + * The wall clock time when the slot started (filter: lt) + */ + wallclock_slot_start_date_time_lt?: number; + /** + * The wall clock time when the slot started (filter: lte) + */ + wallclock_slot_start_date_time_lte?: number; + /** + * The wall clock time when the slot started (filter: gt) + */ + wallclock_slot_start_date_time_gt?: number; + /** + * The wall clock time when the slot started (filter: gte) + */ + wallclock_slot_start_date_time_gte?: number; + /** + * The wall clock time when the slot started (filter: between_min) + */ + wallclock_slot_start_date_time_between_min?: number; + /** + * The wall clock time when the slot started (filter: between_max_value) + */ + wallclock_slot_start_date_time_between_max_value?: number; + /** + * The wall clock time when the slot started (filter: in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_in_values?: string; + /** + * The wall clock time when the slot started (filter: not_in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Unique host identifier (filter: eq) + */ + host_id_eq?: string; + /** + * Unique host identifier (filter: ne) + */ + host_id_ne?: string; + /** + * Unique host identifier (filter: contains) + */ + host_id_contains?: string; + /** + * Unique host identifier (filter: starts_with) + */ + host_id_starts_with?: string; + /** + * Unique host identifier (filter: ends_with) + */ + host_id_ends_with?: string; + /** + * Unique host identifier (filter: like) + */ + host_id_like?: string; + /** + * Unique host identifier (filter: not_like) + */ + host_id_not_like?: string; + /** + * Unique host identifier (filter: in_values) (comma-separated list) + */ + host_id_in_values?: string; + /** + * Unique host identifier (filter: not_in_values) (comma-separated list) + */ + host_id_not_in_values?: string; + /** + * OS kernel release version (filter: eq) + */ + kernel_release_eq?: string; + /** + * OS kernel release version (filter: ne) + */ + kernel_release_ne?: string; + /** + * OS kernel release version (filter: contains) + */ + kernel_release_contains?: string; + /** + * OS kernel release version (filter: starts_with) + */ + kernel_release_starts_with?: string; + /** + * OS kernel release version (filter: ends_with) + */ + kernel_release_ends_with?: string; + /** + * OS kernel release version (filter: like) + */ + kernel_release_like?: string; + /** + * OS kernel release version (filter: not_like) + */ + kernel_release_not_like?: string; + /** + * OS kernel release version (filter: in_values) (comma-separated list) + */ + kernel_release_in_values?: string; + /** + * OS kernel release version (filter: not_in_values) (comma-separated list) + */ + kernel_release_not_in_values?: string; + /** + * Operating system name (filter: eq) + */ + os_name_eq?: string; + /** + * Operating system name (filter: ne) + */ + os_name_ne?: string; + /** + * Operating system name (filter: contains) + */ + os_name_contains?: string; + /** + * Operating system name (filter: starts_with) + */ + os_name_starts_with?: string; + /** + * Operating system name (filter: ends_with) + */ + os_name_ends_with?: string; + /** + * Operating system name (filter: like) + */ + os_name_like?: string; + /** + * Operating system name (filter: not_like) + */ + os_name_not_like?: string; + /** + * Operating system name (filter: in_values) (comma-separated list) + */ + os_name_in_values?: string; + /** + * Operating system name (filter: not_in_values) (comma-separated list) + */ + os_name_not_in_values?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: eq) + */ + architecture_eq?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: ne) + */ + architecture_ne?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: contains) + */ + architecture_contains?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: starts_with) + */ + architecture_starts_with?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: ends_with) + */ + architecture_ends_with?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: like) + */ + architecture_like?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: not_like) + */ + architecture_not_like?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: in_values) (comma-separated list) + */ + architecture_in_values?: string; + /** + * CPU architecture (e.g. x86_64, aarch64) (filter: not_in_values) (comma-separated list) + */ + architecture_not_in_values?: string; + /** + * CPU model name (filter: eq) + */ + cpu_model_eq?: string; + /** + * CPU model name (filter: ne) + */ + cpu_model_ne?: string; + /** + * CPU model name (filter: contains) + */ + cpu_model_contains?: string; + /** + * CPU model name (filter: starts_with) + */ + cpu_model_starts_with?: string; + /** + * CPU model name (filter: ends_with) + */ + cpu_model_ends_with?: string; + /** + * CPU model name (filter: like) + */ + cpu_model_like?: string; + /** + * CPU model name (filter: not_like) + */ + cpu_model_not_like?: string; + /** + * CPU model name (filter: in_values) (comma-separated list) + */ + cpu_model_in_values?: string; + /** + * CPU model name (filter: not_in_values) (comma-separated list) + */ + cpu_model_not_in_values?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: eq) + */ + cpu_vendor_eq?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: ne) + */ + cpu_vendor_ne?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: contains) + */ + cpu_vendor_contains?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: starts_with) + */ + cpu_vendor_starts_with?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: ends_with) + */ + cpu_vendor_ends_with?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: like) + */ + cpu_vendor_like?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: not_like) + */ + cpu_vendor_not_like?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: in_values) (comma-separated list) + */ + cpu_vendor_in_values?: string; + /** + * CPU vendor (e.g. GenuineIntel, AuthenticAMD) (filter: not_in_values) (comma-separated list) + */ + cpu_vendor_not_in_values?: string; + /** + * Number of online CPU cores (filter: eq) + */ + cpu_online_cores_eq?: number; + /** + * Number of online CPU cores (filter: ne) + */ + cpu_online_cores_ne?: number; + /** + * Number of online CPU cores (filter: lt) + */ + cpu_online_cores_lt?: number; + /** + * Number of online CPU cores (filter: lte) + */ + cpu_online_cores_lte?: number; + /** + * Number of online CPU cores (filter: gt) + */ + cpu_online_cores_gt?: number; + /** + * Number of online CPU cores (filter: gte) + */ + cpu_online_cores_gte?: number; + /** + * Number of online CPU cores (filter: between_min) + */ + cpu_online_cores_between_min?: number; + /** + * Number of online CPU cores (filter: between_max_value) + */ + cpu_online_cores_between_max_value?: number; + /** + * Number of online CPU cores (filter: in_values) (comma-separated list) + */ + cpu_online_cores_in_values?: string; + /** + * Number of online CPU cores (filter: not_in_values) (comma-separated list) + */ + cpu_online_cores_not_in_values?: string; + /** + * Number of logical CPU cores (filter: eq) + */ + cpu_logical_cores_eq?: number; + /** + * Number of logical CPU cores (filter: ne) + */ + cpu_logical_cores_ne?: number; + /** + * Number of logical CPU cores (filter: lt) + */ + cpu_logical_cores_lt?: number; + /** + * Number of logical CPU cores (filter: lte) + */ + cpu_logical_cores_lte?: number; + /** + * Number of logical CPU cores (filter: gt) + */ + cpu_logical_cores_gt?: number; + /** + * Number of logical CPU cores (filter: gte) + */ + cpu_logical_cores_gte?: number; + /** + * Number of logical CPU cores (filter: between_min) + */ + cpu_logical_cores_between_min?: number; + /** + * Number of logical CPU cores (filter: between_max_value) + */ + cpu_logical_cores_between_max_value?: number; + /** + * Number of logical CPU cores (filter: in_values) (comma-separated list) + */ + cpu_logical_cores_in_values?: string; + /** + * Number of logical CPU cores (filter: not_in_values) (comma-separated list) + */ + cpu_logical_cores_not_in_values?: string; + /** + * Number of physical CPU cores (filter: eq) + */ + cpu_physical_cores_eq?: number; + /** + * Number of physical CPU cores (filter: ne) + */ + cpu_physical_cores_ne?: number; + /** + * Number of physical CPU cores (filter: lt) + */ + cpu_physical_cores_lt?: number; + /** + * Number of physical CPU cores (filter: lte) + */ + cpu_physical_cores_lte?: number; + /** + * Number of physical CPU cores (filter: gt) + */ + cpu_physical_cores_gt?: number; + /** + * Number of physical CPU cores (filter: gte) + */ + cpu_physical_cores_gte?: number; + /** + * Number of physical CPU cores (filter: between_min) + */ + cpu_physical_cores_between_min?: number; + /** + * Number of physical CPU cores (filter: between_max_value) + */ + cpu_physical_cores_between_max_value?: number; + /** + * Number of physical CPU cores (filter: in_values) (comma-separated list) + */ + cpu_physical_cores_in_values?: string; + /** + * Number of physical CPU cores (filter: not_in_values) (comma-separated list) + */ + cpu_physical_cores_not_in_values?: string; + /** + * Number of performance cores (hybrid CPUs) (filter: eq) + */ + cpu_performance_cores_eq?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: ne) + */ + cpu_performance_cores_ne?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: lt) + */ + cpu_performance_cores_lt?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: lte) + */ + cpu_performance_cores_lte?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: gt) + */ + cpu_performance_cores_gt?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: gte) + */ + cpu_performance_cores_gte?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: between_min) + */ + cpu_performance_cores_between_min?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: between_max_value) + */ + cpu_performance_cores_between_max_value?: number; + /** + * Number of performance cores (hybrid CPUs) (filter: in_values) (comma-separated list) + */ + cpu_performance_cores_in_values?: string; + /** + * Number of performance cores (hybrid CPUs) (filter: not_in_values) (comma-separated list) + */ + cpu_performance_cores_not_in_values?: string; + /** + * Number of efficiency cores (hybrid CPUs) (filter: eq) + */ + cpu_efficiency_cores_eq?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: ne) + */ + cpu_efficiency_cores_ne?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: lt) + */ + cpu_efficiency_cores_lt?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: lte) + */ + cpu_efficiency_cores_lte?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: gt) + */ + cpu_efficiency_cores_gt?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: gte) + */ + cpu_efficiency_cores_gte?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: between_min) + */ + cpu_efficiency_cores_between_min?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: between_max_value) + */ + cpu_efficiency_cores_between_max_value?: number; + /** + * Number of efficiency cores (hybrid CPUs) (filter: in_values) (comma-separated list) + */ + cpu_efficiency_cores_in_values?: string; + /** + * Number of efficiency cores (hybrid CPUs) (filter: not_in_values) (comma-separated list) + */ + cpu_efficiency_cores_not_in_values?: string; + /** + * Number of cores with unknown type (filter: eq) + */ + cpu_unknown_type_cores_eq?: number; + /** + * Number of cores with unknown type (filter: ne) + */ + cpu_unknown_type_cores_ne?: number; + /** + * Number of cores with unknown type (filter: lt) + */ + cpu_unknown_type_cores_lt?: number; + /** + * Number of cores with unknown type (filter: lte) + */ + cpu_unknown_type_cores_lte?: number; + /** + * Number of cores with unknown type (filter: gt) + */ + cpu_unknown_type_cores_gt?: number; + /** + * Number of cores with unknown type (filter: gte) + */ + cpu_unknown_type_cores_gte?: number; + /** + * Number of cores with unknown type (filter: between_min) + */ + cpu_unknown_type_cores_between_min?: number; + /** + * Number of cores with unknown type (filter: between_max_value) + */ + cpu_unknown_type_cores_between_max_value?: number; + /** + * Number of cores with unknown type (filter: in_values) (comma-separated list) + */ + cpu_unknown_type_cores_in_values?: string; + /** + * Number of cores with unknown type (filter: not_in_values) (comma-separated list) + */ + cpu_unknown_type_cores_not_in_values?: string; + /** + * Core type identifiers per core (filter: has) + */ + cpu_core_types_has?: number; + /** + * Core type identifiers per core (filter: has_all_values) + */ + cpu_core_types_has_all_values?: Array; + /** + * Core type identifiers per core (filter: has_any_values) + */ + cpu_core_types_has_any_values?: Array; + /** + * Core type identifiers per core (filter: length_eq) + */ + cpu_core_types_length_eq?: number; + /** + * Core type identifiers per core (filter: length_gt) + */ + cpu_core_types_length_gt?: number; + /** + * Core type identifiers per core (filter: length_gte) + */ + cpu_core_types_length_gte?: number; + /** + * Core type identifiers per core (filter: length_lt) + */ + cpu_core_types_length_lt?: number; + /** + * Core type identifiers per core (filter: length_lte) + */ + cpu_core_types_length_lte?: number; + /** + * Core type labels per core (filter: has) + */ + cpu_core_type_labels_has?: string; + /** + * Core type labels per core (filter: has_all_values) + */ + cpu_core_type_labels_has_all_values?: Array; + /** + * Core type labels per core (filter: has_any_values) + */ + cpu_core_type_labels_has_any_values?: Array; + /** + * Core type labels per core (filter: length_eq) + */ + cpu_core_type_labels_length_eq?: number; + /** + * Core type labels per core (filter: length_gt) + */ + cpu_core_type_labels_length_gt?: number; + /** + * Core type labels per core (filter: length_gte) + */ + cpu_core_type_labels_length_gte?: number; + /** + * Core type labels per core (filter: length_lt) + */ + cpu_core_type_labels_length_lt?: number; + /** + * Core type labels per core (filter: length_lte) + */ + cpu_core_type_labels_length_lte?: number; + /** + * Maximum frequency per core in kHz (filter: has) + */ + cpu_max_freq_khz_has?: number; + /** + * Maximum frequency per core in kHz (filter: has_all_values) + */ + cpu_max_freq_khz_has_all_values?: Array; + /** + * Maximum frequency per core in kHz (filter: has_any_values) + */ + cpu_max_freq_khz_has_any_values?: Array; + /** + * Maximum frequency per core in kHz (filter: length_eq) + */ + cpu_max_freq_khz_length_eq?: number; + /** + * Maximum frequency per core in kHz (filter: length_gt) + */ + cpu_max_freq_khz_length_gt?: number; + /** + * Maximum frequency per core in kHz (filter: length_gte) + */ + cpu_max_freq_khz_length_gte?: number; + /** + * Maximum frequency per core in kHz (filter: length_lt) + */ + cpu_max_freq_khz_length_lt?: number; + /** + * Maximum frequency per core in kHz (filter: length_lte) + */ + cpu_max_freq_khz_length_lte?: number; + /** + * Base frequency per core in kHz (filter: has) + */ + cpu_base_freq_khz_has?: number; + /** + * Base frequency per core in kHz (filter: has_all_values) + */ + cpu_base_freq_khz_has_all_values?: Array; + /** + * Base frequency per core in kHz (filter: has_any_values) + */ + cpu_base_freq_khz_has_any_values?: Array; + /** + * Base frequency per core in kHz (filter: length_eq) + */ + cpu_base_freq_khz_length_eq?: number; + /** + * Base frequency per core in kHz (filter: length_gt) + */ + cpu_base_freq_khz_length_gt?: number; + /** + * Base frequency per core in kHz (filter: length_gte) + */ + cpu_base_freq_khz_length_gte?: number; + /** + * Base frequency per core in kHz (filter: length_lt) + */ + cpu_base_freq_khz_length_lt?: number; + /** + * Base frequency per core in kHz (filter: length_lte) + */ + cpu_base_freq_khz_length_lte?: number; + /** + * Total system memory in bytes (filter: eq) + */ + memory_total_bytes_eq?: number; + /** + * Total system memory in bytes (filter: ne) + */ + memory_total_bytes_ne?: number; + /** + * Total system memory in bytes (filter: lt) + */ + memory_total_bytes_lt?: number; + /** + * Total system memory in bytes (filter: lte) + */ + memory_total_bytes_lte?: number; + /** + * Total system memory in bytes (filter: gt) + */ + memory_total_bytes_gt?: number; + /** + * Total system memory in bytes (filter: gte) + */ + memory_total_bytes_gte?: number; + /** + * Total system memory in bytes (filter: between_min) + */ + memory_total_bytes_between_min?: number; + /** + * Total system memory in bytes (filter: between_max_value) + */ + memory_total_bytes_between_max_value?: number; + /** + * Total system memory in bytes (filter: in_values) (comma-separated list) + */ + memory_total_bytes_in_values?: string; + /** + * Total system memory in bytes (filter: not_in_values) (comma-separated list) + */ + memory_total_bytes_not_in_values?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: eq) + */ + memory_type_eq?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: ne) + */ + memory_type_ne?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: contains) + */ + memory_type_contains?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: starts_with) + */ + memory_type_starts_with?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: ends_with) + */ + memory_type_ends_with?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: like) + */ + memory_type_like?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: not_like) + */ + memory_type_not_like?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: in_values) (comma-separated list) + */ + memory_type_in_values?: string; + /** + * Memory type (e.g. DDR4, DDR5) (filter: not_in_values) (comma-separated list) + */ + memory_type_not_in_values?: string; + /** + * Memory speed in MT/s (filter: eq) + */ + memory_speed_mts_eq?: number; + /** + * Memory speed in MT/s (filter: ne) + */ + memory_speed_mts_ne?: number; + /** + * Memory speed in MT/s (filter: lt) + */ + memory_speed_mts_lt?: number; + /** + * Memory speed in MT/s (filter: lte) + */ + memory_speed_mts_lte?: number; + /** + * Memory speed in MT/s (filter: gt) + */ + memory_speed_mts_gt?: number; + /** + * Memory speed in MT/s (filter: gte) + */ + memory_speed_mts_gte?: number; + /** + * Memory speed in MT/s (filter: between_min) + */ + memory_speed_mts_between_min?: number; + /** + * Memory speed in MT/s (filter: between_max_value) + */ + memory_speed_mts_between_max_value?: number; + /** + * Memory speed in MT/s (filter: in_values) (comma-separated list) + */ + memory_speed_mts_in_values?: string; + /** + * Memory speed in MT/s (filter: not_in_values) (comma-separated list) + */ + memory_speed_mts_not_in_values?: string; + /** + * Number of memory DIMMs (filter: eq) + */ + memory_dimm_count_eq?: number; + /** + * Number of memory DIMMs (filter: ne) + */ + memory_dimm_count_ne?: number; + /** + * Number of memory DIMMs (filter: lt) + */ + memory_dimm_count_lt?: number; + /** + * Number of memory DIMMs (filter: lte) + */ + memory_dimm_count_lte?: number; + /** + * Number of memory DIMMs (filter: gt) + */ + memory_dimm_count_gt?: number; + /** + * Number of memory DIMMs (filter: gte) + */ + memory_dimm_count_gte?: number; + /** + * Number of memory DIMMs (filter: between_min) + */ + memory_dimm_count_between_min?: number; + /** + * Number of memory DIMMs (filter: between_max_value) + */ + memory_dimm_count_between_max_value?: number; + /** + * Number of memory DIMMs (filter: in_values) (comma-separated list) + */ + memory_dimm_count_in_values?: string; + /** + * Number of memory DIMMs (filter: not_in_values) (comma-separated list) + */ + memory_dimm_count_not_in_values?: string; + /** + * Size of each DIMM in bytes (filter: has) + */ + memory_dimm_sizes_bytes_has?: number; + /** + * Size of each DIMM in bytes (filter: has_all_values) + */ + memory_dimm_sizes_bytes_has_all_values?: Array; + /** + * Size of each DIMM in bytes (filter: has_any_values) + */ + memory_dimm_sizes_bytes_has_any_values?: Array; + /** + * Size of each DIMM in bytes (filter: length_eq) + */ + memory_dimm_sizes_bytes_length_eq?: number; + /** + * Size of each DIMM in bytes (filter: length_gt) + */ + memory_dimm_sizes_bytes_length_gt?: number; + /** + * Size of each DIMM in bytes (filter: length_gte) + */ + memory_dimm_sizes_bytes_length_gte?: number; + /** + * Size of each DIMM in bytes (filter: length_lt) + */ + memory_dimm_sizes_bytes_length_lt?: number; + /** + * Size of each DIMM in bytes (filter: length_lte) + */ + memory_dimm_sizes_bytes_length_lte?: number; + /** + * Type of each DIMM (filter: has) + */ + memory_dimm_types_has?: string; + /** + * Type of each DIMM (filter: has_all_values) + */ + memory_dimm_types_has_all_values?: Array; + /** + * Type of each DIMM (filter: has_any_values) + */ + memory_dimm_types_has_any_values?: Array; + /** + * Type of each DIMM (filter: length_eq) + */ + memory_dimm_types_length_eq?: number; + /** + * Type of each DIMM (filter: length_gt) + */ + memory_dimm_types_length_gt?: number; + /** + * Type of each DIMM (filter: length_gte) + */ + memory_dimm_types_length_gte?: number; + /** + * Type of each DIMM (filter: length_lt) + */ + memory_dimm_types_length_lt?: number; + /** + * Type of each DIMM (filter: length_lte) + */ + memory_dimm_types_length_lte?: number; + /** + * Speed of each DIMM in MT/s (filter: has) + */ + memory_dimm_speeds_mts_has?: number; + /** + * Speed of each DIMM in MT/s (filter: has_all_values) + */ + memory_dimm_speeds_mts_has_all_values?: Array; + /** + * Speed of each DIMM in MT/s (filter: has_any_values) + */ + memory_dimm_speeds_mts_has_any_values?: Array; + /** + * Speed of each DIMM in MT/s (filter: length_eq) + */ + memory_dimm_speeds_mts_length_eq?: number; + /** + * Speed of each DIMM in MT/s (filter: length_gt) + */ + memory_dimm_speeds_mts_length_gt?: number; + /** + * Speed of each DIMM in MT/s (filter: length_gte) + */ + memory_dimm_speeds_mts_length_gte?: number; + /** + * Speed of each DIMM in MT/s (filter: length_lt) + */ + memory_dimm_speeds_mts_length_lt?: number; + /** + * Speed of each DIMM in MT/s (filter: length_lte) + */ + memory_dimm_speeds_mts_length_lte?: number; + /** + * Number of disk devices (filter: eq) + */ + disk_count_eq?: number; + /** + * Number of disk devices (filter: ne) + */ + disk_count_ne?: number; + /** + * Number of disk devices (filter: lt) + */ + disk_count_lt?: number; + /** + * Number of disk devices (filter: lte) + */ + disk_count_lte?: number; + /** + * Number of disk devices (filter: gt) + */ + disk_count_gt?: number; + /** + * Number of disk devices (filter: gte) + */ + disk_count_gte?: number; + /** + * Number of disk devices (filter: between_min) + */ + disk_count_between_min?: number; + /** + * Number of disk devices (filter: between_max_value) + */ + disk_count_between_max_value?: number; + /** + * Number of disk devices (filter: in_values) (comma-separated list) + */ + disk_count_in_values?: string; + /** + * Number of disk devices (filter: not_in_values) (comma-separated list) + */ + disk_count_not_in_values?: string; + /** + * Total disk capacity in bytes (filter: eq) + */ + disk_total_bytes_eq?: number; + /** + * Total disk capacity in bytes (filter: ne) + */ + disk_total_bytes_ne?: number; + /** + * Total disk capacity in bytes (filter: lt) + */ + disk_total_bytes_lt?: number; + /** + * Total disk capacity in bytes (filter: lte) + */ + disk_total_bytes_lte?: number; + /** + * Total disk capacity in bytes (filter: gt) + */ + disk_total_bytes_gt?: number; + /** + * Total disk capacity in bytes (filter: gte) + */ + disk_total_bytes_gte?: number; + /** + * Total disk capacity in bytes (filter: between_min) + */ + disk_total_bytes_between_min?: number; + /** + * Total disk capacity in bytes (filter: between_max_value) + */ + disk_total_bytes_between_max_value?: number; + /** + * Total disk capacity in bytes (filter: in_values) (comma-separated list) + */ + disk_total_bytes_in_values?: string; + /** + * Total disk capacity in bytes (filter: not_in_values) (comma-separated list) + */ + disk_total_bytes_not_in_values?: string; + /** + * Device names of each disk (filter: has) + */ + disk_names_has?: string; + /** + * Device names of each disk (filter: has_all_values) + */ + disk_names_has_all_values?: Array; + /** + * Device names of each disk (filter: has_any_values) + */ + disk_names_has_any_values?: Array; + /** + * Device names of each disk (filter: length_eq) + */ + disk_names_length_eq?: number; + /** + * Device names of each disk (filter: length_gt) + */ + disk_names_length_gt?: number; + /** + * Device names of each disk (filter: length_gte) + */ + disk_names_length_gte?: number; + /** + * Device names of each disk (filter: length_lt) + */ + disk_names_length_lt?: number; + /** + * Device names of each disk (filter: length_lte) + */ + disk_names_length_lte?: number; + /** + * Model names of each disk (filter: has) + */ + disk_models_has?: string; + /** + * Model names of each disk (filter: has_all_values) + */ + disk_models_has_all_values?: Array; + /** + * Model names of each disk (filter: has_any_values) + */ + disk_models_has_any_values?: Array; + /** + * Model names of each disk (filter: length_eq) + */ + disk_models_length_eq?: number; + /** + * Model names of each disk (filter: length_gt) + */ + disk_models_length_gt?: number; + /** + * Model names of each disk (filter: length_gte) + */ + disk_models_length_gte?: number; + /** + * Model names of each disk (filter: length_lt) + */ + disk_models_length_lt?: number; + /** + * Model names of each disk (filter: length_lte) + */ + disk_models_length_lte?: number; + /** + * Size of each disk in bytes (filter: has) + */ + disk_sizes_bytes_has?: number; + /** + * Size of each disk in bytes (filter: has_all_values) + */ + disk_sizes_bytes_has_all_values?: Array; + /** + * Size of each disk in bytes (filter: has_any_values) + */ + disk_sizes_bytes_has_any_values?: Array; + /** + * Size of each disk in bytes (filter: length_eq) + */ + disk_sizes_bytes_length_eq?: number; + /** + * Size of each disk in bytes (filter: length_gt) + */ + disk_sizes_bytes_length_gt?: number; + /** + * Size of each disk in bytes (filter: length_gte) + */ + disk_sizes_bytes_length_gte?: number; + /** + * Size of each disk in bytes (filter: length_lt) + */ + disk_sizes_bytes_length_lt?: number; + /** + * Size of each disk in bytes (filter: length_lte) + */ + disk_sizes_bytes_length_lte?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: has) + */ + disk_rotational_has?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: has_all_values) + */ + disk_rotational_has_all_values?: Array; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: has_any_values) + */ + disk_rotational_has_any_values?: Array; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: length_eq) + */ + disk_rotational_length_eq?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: length_gt) + */ + disk_rotational_length_gt?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: length_gte) + */ + disk_rotational_length_gte?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: length_lt) + */ + disk_rotational_length_lt?: number; + /** + * Whether each disk is rotational (1) or SSD (0) (filter: length_lte) + */ + disk_rotational_length_lte?: number; + /** + * The maximum number of fct_node_host_spec to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeHostSpec` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_host_spec'; +}; + +export type FctNodeHostSpecServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeHostSpecServiceListError = FctNodeHostSpecServiceListErrors[keyof FctNodeHostSpecServiceListErrors]; + +export type FctNodeHostSpecServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeHostSpecResponse; +}; + +export type FctNodeHostSpecServiceListResponse = + FctNodeHostSpecServiceListResponses[keyof FctNodeHostSpecServiceListResponses]; + +export type FctNodeHostSpecServiceGetData = { + body?: never; + path: { + /** + * The wall clock time when the slot started + */ + wallclock_slot_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_host_spec/{wallclock_slot_start_date_time}'; +}; + +export type FctNodeHostSpecServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeHostSpecServiceGetError = FctNodeHostSpecServiceGetErrors[keyof FctNodeHostSpecServiceGetErrors]; + +export type FctNodeHostSpecServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeHostSpecResponse; +}; + +export type FctNodeHostSpecServiceGetResponse = + FctNodeHostSpecServiceGetResponses[keyof FctNodeHostSpecServiceGetResponses]; + +export type FctNodeMemoryUsageByProcessServiceListData = { + body?: never; + path?: never; + query?: { + /** + * The wall clock time when the slot started (filter: eq) + */ + wallclock_slot_start_date_time_eq?: number; + /** + * The wall clock time when the slot started (filter: ne) + */ + wallclock_slot_start_date_time_ne?: number; + /** + * The wall clock time when the slot started (filter: lt) + */ + wallclock_slot_start_date_time_lt?: number; + /** + * The wall clock time when the slot started (filter: lte) + */ + wallclock_slot_start_date_time_lte?: number; + /** + * The wall clock time when the slot started (filter: gt) + */ + wallclock_slot_start_date_time_gt?: number; + /** + * The wall clock time when the slot started (filter: gte) + */ + wallclock_slot_start_date_time_gte?: number; + /** + * The wall clock time when the slot started (filter: between_min) + */ + wallclock_slot_start_date_time_between_min?: number; + /** + * The wall clock time when the slot started (filter: between_max_value) + */ + wallclock_slot_start_date_time_between_max_value?: number; + /** + * The wall clock time when the slot started (filter: in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_in_values?: string; + /** + * The wall clock time when the slot started (filter: not_in_values) (comma-separated list) + */ + wallclock_slot_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Client type: CL or EL (filter: eq) + */ + client_type_eq?: string; + /** + * Client type: CL or EL (filter: ne) + */ + client_type_ne?: string; + /** + * Client type: CL or EL (filter: contains) + */ + client_type_contains?: string; + /** + * Client type: CL or EL (filter: starts_with) + */ + client_type_starts_with?: string; + /** + * Client type: CL or EL (filter: ends_with) + */ + client_type_ends_with?: string; + /** + * Client type: CL or EL (filter: like) + */ + client_type_like?: string; + /** + * Client type: CL or EL (filter: not_like) + */ + client_type_not_like?: string; + /** + * Client type: CL or EL (filter: in_values) (comma-separated list) + */ + client_type_in_values?: string; + /** + * Client type: CL or EL (filter: not_in_values) (comma-separated list) + */ + client_type_not_in_values?: string; + /** + * Process ID of the monitored client (filter: eq) + */ + pid_eq?: number; + /** + * Process ID of the monitored client (filter: ne) + */ + pid_ne?: number; + /** + * Process ID of the monitored client (filter: lt) + */ + pid_lt?: number; + /** + * Process ID of the monitored client (filter: lte) + */ + pid_lte?: number; + /** + * Process ID of the monitored client (filter: gt) + */ + pid_gt?: number; + /** + * Process ID of the monitored client (filter: gte) + */ + pid_gte?: number; + /** + * Process ID of the monitored client (filter: between_min) + */ + pid_between_min?: number; + /** + * Process ID of the monitored client (filter: between_max_value) + */ + pid_between_max_value?: number; + /** + * Process ID of the monitored client (filter: in_values) (comma-separated list) + */ + pid_in_values?: string; + /** + * Process ID of the monitored client (filter: not_in_values) (comma-separated list) + */ + pid_not_in_values?: string; + /** + * Start of the sub-slot aggregation window (filter: eq) + */ + window_start_eq?: number; + /** + * Start of the sub-slot aggregation window (filter: ne) + */ + window_start_ne?: number; + /** + * Start of the sub-slot aggregation window (filter: lt) + */ + window_start_lt?: number; + /** + * Start of the sub-slot aggregation window (filter: lte) + */ + window_start_lte?: number; + /** + * Start of the sub-slot aggregation window (filter: gt) + */ + window_start_gt?: number; + /** + * Start of the sub-slot aggregation window (filter: gte) + */ + window_start_gte?: number; + /** + * Start of the sub-slot aggregation window (filter: between_min) + */ + window_start_between_min?: number; + /** + * Start of the sub-slot aggregation window (filter: between_max_value) + */ + window_start_between_max_value?: number; + /** + * Start of the sub-slot aggregation window (filter: in_values) (comma-separated list) + */ + window_start_in_values?: string; + /** + * Start of the sub-slot aggregation window (filter: not_in_values) (comma-separated list) + */ + window_start_not_in_values?: string; /** * Timestamp when the record was last updated (filter: eq) */ @@ -56068,43 +60118,999 @@ export type FctNodeDiskIoByProcessServiceListData = { /** * The wallclock slot number (filter: eq) */ - wallclock_slot_eq?: number; + wallclock_slot_eq?: number; + /** + * The wallclock slot number (filter: ne) + */ + wallclock_slot_ne?: number; + /** + * The wallclock slot number (filter: lt) + */ + wallclock_slot_lt?: number; + /** + * The wallclock slot number (filter: lte) + */ + wallclock_slot_lte?: number; + /** + * The wallclock slot number (filter: gt) + */ + wallclock_slot_gt?: number; + /** + * The wallclock slot number (filter: gte) + */ + wallclock_slot_gte?: number; + /** + * The wallclock slot number (filter: between_min) + */ + wallclock_slot_between_min?: number; + /** + * The wallclock slot number (filter: between_max_value) + */ + wallclock_slot_between_max_value?: number; + /** + * The wallclock slot number (filter: in_values) (comma-separated list) + */ + wallclock_slot_in_values?: string; + /** + * The wallclock slot number (filter: not_in_values) (comma-separated list) + */ + wallclock_slot_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Resident set size in bytes (total physical memory used) (filter: eq) + */ + vm_rss_bytes_eq?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: ne) + */ + vm_rss_bytes_ne?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: lt) + */ + vm_rss_bytes_lt?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: lte) + */ + vm_rss_bytes_lte?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: gt) + */ + vm_rss_bytes_gt?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: gte) + */ + vm_rss_bytes_gte?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: between_min) + */ + vm_rss_bytes_between_min?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: between_max_value) + */ + vm_rss_bytes_between_max_value?: number; + /** + * Resident set size in bytes (total physical memory used) (filter: in_values) (comma-separated list) + */ + vm_rss_bytes_in_values?: string; + /** + * Resident set size in bytes (total physical memory used) (filter: not_in_values) (comma-separated list) + */ + vm_rss_bytes_not_in_values?: string; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: eq) + */ + rss_anon_bytes_eq?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: ne) + */ + rss_anon_bytes_ne?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: lt) + */ + rss_anon_bytes_lt?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: lte) + */ + rss_anon_bytes_lte?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: gt) + */ + rss_anon_bytes_gt?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: gte) + */ + rss_anon_bytes_gte?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: between_min) + */ + rss_anon_bytes_between_min?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: between_max_value) + */ + rss_anon_bytes_between_max_value?: number; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: in_values) (comma-separated list) + */ + rss_anon_bytes_in_values?: string; + /** + * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: not_in_values) (comma-separated list) + */ + rss_anon_bytes_not_in_values?: string; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: eq) + */ + rss_file_bytes_eq?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: ne) + */ + rss_file_bytes_ne?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: lt) + */ + rss_file_bytes_lt?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: lte) + */ + rss_file_bytes_lte?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: gt) + */ + rss_file_bytes_gt?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: gte) + */ + rss_file_bytes_gte?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: between_min) + */ + rss_file_bytes_between_min?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: between_max_value) + */ + rss_file_bytes_between_max_value?: number; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: in_values) (comma-separated list) + */ + rss_file_bytes_in_values?: string; + /** + * File-backed RSS in bytes (shared libraries, mmap files) (filter: not_in_values) (comma-separated list) + */ + rss_file_bytes_not_in_values?: string; + /** + * Swap usage in bytes (filter: eq) + */ + vm_swap_bytes_eq?: number; + /** + * Swap usage in bytes (filter: ne) + */ + vm_swap_bytes_ne?: number; + /** + * Swap usage in bytes (filter: lt) + */ + vm_swap_bytes_lt?: number; + /** + * Swap usage in bytes (filter: lte) + */ + vm_swap_bytes_lte?: number; + /** + * Swap usage in bytes (filter: gt) + */ + vm_swap_bytes_gt?: number; + /** + * Swap usage in bytes (filter: gte) + */ + vm_swap_bytes_gte?: number; + /** + * Swap usage in bytes (filter: between_min) + */ + vm_swap_bytes_between_min?: number; + /** + * Swap usage in bytes (filter: between_max_value) + */ + vm_swap_bytes_between_max_value?: number; + /** + * Swap usage in bytes (filter: in_values) (comma-separated list) + */ + vm_swap_bytes_in_values?: string; + /** + * Swap usage in bytes (filter: not_in_values) (comma-separated list) + */ + vm_swap_bytes_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * The maximum number of fct_node_memory_usage_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeMemoryUsageByProcess` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_memory_usage_by_process'; +}; + +export type FctNodeMemoryUsageByProcessServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeMemoryUsageByProcessServiceListError = + FctNodeMemoryUsageByProcessServiceListErrors[keyof FctNodeMemoryUsageByProcessServiceListErrors]; + +export type FctNodeMemoryUsageByProcessServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeMemoryUsageByProcessResponse; +}; + +export type FctNodeMemoryUsageByProcessServiceListResponse = + FctNodeMemoryUsageByProcessServiceListResponses[keyof FctNodeMemoryUsageByProcessServiceListResponses]; + +export type FctNodeMemoryUsageByProcessServiceGetData = { + body?: never; + path: { + /** + * The wall clock time when the slot started + */ + wallclock_slot_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_memory_usage_by_process/{wallclock_slot_start_date_time}'; +}; + +export type FctNodeMemoryUsageByProcessServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeMemoryUsageByProcessServiceGetError = + FctNodeMemoryUsageByProcessServiceGetErrors[keyof FctNodeMemoryUsageByProcessServiceGetErrors]; + +export type FctNodeMemoryUsageByProcessServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeMemoryUsageByProcessResponse; +}; + +export type FctNodeMemoryUsageByProcessServiceGetResponse = + FctNodeMemoryUsageByProcessServiceGetResponses[keyof FctNodeMemoryUsageByProcessServiceGetResponses]; + +export type FctNodeMemoryUsageDailyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the day period (filter: eq) + */ + day_start_date_eq?: string; + /** + * Start of the day period (filter: ne) + */ + day_start_date_ne?: string; + /** + * Start of the day period (filter: contains) + */ + day_start_date_contains?: string; + /** + * Start of the day period (filter: starts_with) + */ + day_start_date_starts_with?: string; + /** + * Start of the day period (filter: ends_with) + */ + day_start_date_ends_with?: string; + /** + * Start of the day period (filter: like) + */ + day_start_date_like?: string; + /** + * Start of the day period (filter: not_like) + */ + day_start_date_not_like?: string; + /** + * Start of the day period (filter: in_values) (comma-separated list) + */ + day_start_date_in_values?: string; + /** + * Start of the day period (filter: not_in_values) (comma-separated list) + */ + day_start_date_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; /** - * The wallclock slot number (filter: ne) + * Node classification for filtering (e.g. eip7870) (filter: ends_with) */ - wallclock_slot_ne?: number; + node_class_ends_with?: string; /** - * The wallclock slot number (filter: lt) + * Node classification for filtering (e.g. eip7870) (filter: like) */ - wallclock_slot_lt?: number; + node_class_like?: string; /** - * The wallclock slot number (filter: lte) + * Node classification for filtering (e.g. eip7870) (filter: not_like) */ - wallclock_slot_lte?: number; + node_class_not_like?: string; /** - * The wallclock slot number (filter: gt) + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) */ - wallclock_slot_gt?: number; + node_class_in_values?: string; /** - * The wallclock slot number (filter: gte) + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) */ - wallclock_slot_gte?: number; + node_class_not_in_values?: string; /** - * The wallclock slot number (filter: between_min) + * Number of source hourly slots in this day (filter: eq) */ - wallclock_slot_between_min?: number; + hour_count_eq?: number; /** - * The wallclock slot number (filter: between_max_value) + * Number of source hourly slots in this day (filter: ne) */ - wallclock_slot_between_max_value?: number; + hour_count_ne?: number; /** - * The wallclock slot number (filter: in_values) (comma-separated list) + * Number of source hourly slots in this day (filter: lt) */ - wallclock_slot_in_values?: string; + hour_count_lt?: number; /** - * The wallclock slot number (filter: not_in_values) (comma-separated list) + * Number of source hourly slots in this day (filter: lte) */ - wallclock_slot_not_in_values?: string; + hour_count_lte?: number; + /** + * Number of source hourly slots in this day (filter: gt) + */ + hour_count_gt?: number; + /** + * Number of source hourly slots in this day (filter: gte) + */ + hour_count_gte?: number; + /** + * Number of source hourly slots in this day (filter: between_min) + */ + hour_count_between_min?: number; + /** + * Number of source hourly slots in this day (filter: between_max_value) + */ + hour_count_between_max_value?: number; + /** + * Number of source hourly slots in this day (filter: in_values) (comma-separated list) + */ + hour_count_in_values?: string; + /** + * Number of source hourly slots in this day (filter: not_in_values) (comma-separated list) + */ + hour_count_not_in_values?: string; + /** + * Weighted average total RSS memory in bytes (filter: eq) + */ + avg_vm_rss_bytes_eq?: number; + /** + * Weighted average total RSS memory in bytes (filter: ne) + */ + avg_vm_rss_bytes_ne?: number; + /** + * Weighted average total RSS memory in bytes (filter: lt) + */ + avg_vm_rss_bytes_lt?: number; + /** + * Weighted average total RSS memory in bytes (filter: lte) + */ + avg_vm_rss_bytes_lte?: number; + /** + * Weighted average total RSS memory in bytes (filter: gt) + */ + avg_vm_rss_bytes_gt?: number; + /** + * Weighted average total RSS memory in bytes (filter: gte) + */ + avg_vm_rss_bytes_gte?: number; + /** + * Weighted average total RSS memory in bytes (filter: between_min) + */ + avg_vm_rss_bytes_between_min?: number; + /** + * Weighted average total RSS memory in bytes (filter: between_max_value) + */ + avg_vm_rss_bytes_between_max_value?: number; + /** + * Weighted average total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + avg_vm_rss_bytes_in_values?: string; + /** + * Weighted average total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + avg_vm_rss_bytes_not_in_values?: string; + /** + * Minimum total RSS memory in bytes (filter: eq) + */ + min_vm_rss_bytes_eq?: number; + /** + * Minimum total RSS memory in bytes (filter: ne) + */ + min_vm_rss_bytes_ne?: number; + /** + * Minimum total RSS memory in bytes (filter: lt) + */ + min_vm_rss_bytes_lt?: number; + /** + * Minimum total RSS memory in bytes (filter: lte) + */ + min_vm_rss_bytes_lte?: number; + /** + * Minimum total RSS memory in bytes (filter: gt) + */ + min_vm_rss_bytes_gt?: number; + /** + * Minimum total RSS memory in bytes (filter: gte) + */ + min_vm_rss_bytes_gte?: number; + /** + * Minimum total RSS memory in bytes (filter: between_min) + */ + min_vm_rss_bytes_between_min?: number; + /** + * Minimum total RSS memory in bytes (filter: between_max_value) + */ + min_vm_rss_bytes_between_max_value?: number; + /** + * Minimum total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + min_vm_rss_bytes_in_values?: string; + /** + * Minimum total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + min_vm_rss_bytes_not_in_values?: string; + /** + * Maximum total RSS memory in bytes (filter: eq) + */ + max_vm_rss_bytes_eq?: number; + /** + * Maximum total RSS memory in bytes (filter: ne) + */ + max_vm_rss_bytes_ne?: number; + /** + * Maximum total RSS memory in bytes (filter: lt) + */ + max_vm_rss_bytes_lt?: number; + /** + * Maximum total RSS memory in bytes (filter: lte) + */ + max_vm_rss_bytes_lte?: number; + /** + * Maximum total RSS memory in bytes (filter: gt) + */ + max_vm_rss_bytes_gt?: number; + /** + * Maximum total RSS memory in bytes (filter: gte) + */ + max_vm_rss_bytes_gte?: number; + /** + * Maximum total RSS memory in bytes (filter: between_min) + */ + max_vm_rss_bytes_between_min?: number; + /** + * Maximum total RSS memory in bytes (filter: between_max_value) + */ + max_vm_rss_bytes_between_max_value?: number; + /** + * Maximum total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + max_vm_rss_bytes_in_values?: string; + /** + * Maximum total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + max_vm_rss_bytes_not_in_values?: string; + /** + * Weighted average total anonymous RSS memory in bytes (filter: eq) + */ + avg_rss_anon_bytes_eq?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: ne) + */ + avg_rss_anon_bytes_ne?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: lt) + */ + avg_rss_anon_bytes_lt?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: lte) + */ + avg_rss_anon_bytes_lte?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: gt) + */ + avg_rss_anon_bytes_gt?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: gte) + */ + avg_rss_anon_bytes_gte?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: between_min) + */ + avg_rss_anon_bytes_between_min?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: between_max_value) + */ + avg_rss_anon_bytes_between_max_value?: number; + /** + * Weighted average total anonymous RSS memory in bytes (filter: in_values) (comma-separated list) + */ + avg_rss_anon_bytes_in_values?: string; + /** + * Weighted average total anonymous RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + avg_rss_anon_bytes_not_in_values?: string; + /** + * Weighted average total file-backed RSS memory in bytes (filter: eq) + */ + avg_rss_file_bytes_eq?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: ne) + */ + avg_rss_file_bytes_ne?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: lt) + */ + avg_rss_file_bytes_lt?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: lte) + */ + avg_rss_file_bytes_lte?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: gt) + */ + avg_rss_file_bytes_gt?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: gte) + */ + avg_rss_file_bytes_gte?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: between_min) + */ + avg_rss_file_bytes_between_min?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: between_max_value) + */ + avg_rss_file_bytes_between_max_value?: number; + /** + * Weighted average total file-backed RSS memory in bytes (filter: in_values) (comma-separated list) + */ + avg_rss_file_bytes_in_values?: string; + /** + * Weighted average total file-backed RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + avg_rss_file_bytes_not_in_values?: string; + /** + * Weighted average total swap memory in bytes (filter: eq) + */ + avg_vm_swap_bytes_eq?: number; + /** + * Weighted average total swap memory in bytes (filter: ne) + */ + avg_vm_swap_bytes_ne?: number; + /** + * Weighted average total swap memory in bytes (filter: lt) + */ + avg_vm_swap_bytes_lt?: number; + /** + * Weighted average total swap memory in bytes (filter: lte) + */ + avg_vm_swap_bytes_lte?: number; + /** + * Weighted average total swap memory in bytes (filter: gt) + */ + avg_vm_swap_bytes_gt?: number; + /** + * Weighted average total swap memory in bytes (filter: gte) + */ + avg_vm_swap_bytes_gte?: number; + /** + * Weighted average total swap memory in bytes (filter: between_min) + */ + avg_vm_swap_bytes_between_min?: number; + /** + * Weighted average total swap memory in bytes (filter: between_max_value) + */ + avg_vm_swap_bytes_between_max_value?: number; + /** + * Weighted average total swap memory in bytes (filter: in_values) (comma-separated list) + */ + avg_vm_swap_bytes_in_values?: string; + /** + * Weighted average total swap memory in bytes (filter: not_in_values) (comma-separated list) + */ + avg_vm_swap_bytes_not_in_values?: string; + /** + * The maximum number of fct_node_memory_usage_daily to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeMemoryUsageDaily` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_memory_usage_daily'; +}; + +export type FctNodeMemoryUsageDailyServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeMemoryUsageDailyServiceListError = + FctNodeMemoryUsageDailyServiceListErrors[keyof FctNodeMemoryUsageDailyServiceListErrors]; + +export type FctNodeMemoryUsageDailyServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeMemoryUsageDailyResponse; +}; + +export type FctNodeMemoryUsageDailyServiceListResponse = + FctNodeMemoryUsageDailyServiceListResponses[keyof FctNodeMemoryUsageDailyServiceListResponses]; + +export type FctNodeMemoryUsageDailyServiceGetData = { + body?: never; + path: { + /** + * Start of the day period + */ + day_start_date: string; + }; + query?: never; + url: '/api/v1/fct_node_memory_usage_daily/{day_start_date}'; +}; + +export type FctNodeMemoryUsageDailyServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeMemoryUsageDailyServiceGetError = + FctNodeMemoryUsageDailyServiceGetErrors[keyof FctNodeMemoryUsageDailyServiceGetErrors]; + +export type FctNodeMemoryUsageDailyServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeMemoryUsageDailyResponse; +}; + +export type FctNodeMemoryUsageDailyServiceGetResponse = + FctNodeMemoryUsageDailyServiceGetResponses[keyof FctNodeMemoryUsageDailyServiceGetResponses]; + +export type FctNodeMemoryUsageHourlyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the hour period (filter: eq) + */ + hour_start_date_time_eq?: number; + /** + * Start of the hour period (filter: ne) + */ + hour_start_date_time_ne?: number; + /** + * Start of the hour period (filter: lt) + */ + hour_start_date_time_lt?: number; + /** + * Start of the hour period (filter: lte) + */ + hour_start_date_time_lte?: number; + /** + * Start of the hour period (filter: gt) + */ + hour_start_date_time_gt?: number; + /** + * Start of the hour period (filter: gte) + */ + hour_start_date_time_gte?: number; + /** + * Start of the hour period (filter: between_min) + */ + hour_start_date_time_between_min?: number; + /** + * Start of the hour period (filter: between_max_value) + */ + hour_start_date_time_between_max_value?: number; + /** + * Start of the hour period (filter: in_values) (comma-separated list) + */ + hour_start_date_time_in_values?: string; + /** + * Start of the hour period (filter: not_in_values) (comma-separated list) + */ + hour_start_date_time_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; /** * Ethereum network name (filter: eq) */ @@ -56116,117 +61122,353 @@ export type FctNodeDiskIoByProcessServiceListData = { /** * Ethereum network name (filter: contains) */ - meta_network_name_contains?: string; + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * Number of slots in this hour (filter: eq) + */ + slot_count_eq?: number; + /** + * Number of slots in this hour (filter: ne) + */ + slot_count_ne?: number; + /** + * Number of slots in this hour (filter: lt) + */ + slot_count_lt?: number; + /** + * Number of slots in this hour (filter: lte) + */ + slot_count_lte?: number; + /** + * Number of slots in this hour (filter: gt) + */ + slot_count_gt?: number; + /** + * Number of slots in this hour (filter: gte) + */ + slot_count_gte?: number; + /** + * Number of slots in this hour (filter: between_min) + */ + slot_count_between_min?: number; + /** + * Number of slots in this hour (filter: between_max_value) + */ + slot_count_between_max_value?: number; + /** + * Number of slots in this hour (filter: in_values) (comma-separated list) + */ + slot_count_in_values?: string; + /** + * Number of slots in this hour (filter: not_in_values) (comma-separated list) + */ + slot_count_not_in_values?: string; + /** + * Average total RSS memory in bytes (filter: eq) + */ + avg_vm_rss_bytes_eq?: number; + /** + * Average total RSS memory in bytes (filter: ne) + */ + avg_vm_rss_bytes_ne?: number; + /** + * Average total RSS memory in bytes (filter: lt) + */ + avg_vm_rss_bytes_lt?: number; + /** + * Average total RSS memory in bytes (filter: lte) + */ + avg_vm_rss_bytes_lte?: number; + /** + * Average total RSS memory in bytes (filter: gt) + */ + avg_vm_rss_bytes_gt?: number; + /** + * Average total RSS memory in bytes (filter: gte) + */ + avg_vm_rss_bytes_gte?: number; + /** + * Average total RSS memory in bytes (filter: between_min) + */ + avg_vm_rss_bytes_between_min?: number; + /** + * Average total RSS memory in bytes (filter: between_max_value) + */ + avg_vm_rss_bytes_between_max_value?: number; + /** + * Average total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + avg_vm_rss_bytes_in_values?: string; + /** + * Average total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + avg_vm_rss_bytes_not_in_values?: string; + /** + * Minimum total RSS memory in bytes (filter: eq) + */ + min_vm_rss_bytes_eq?: number; + /** + * Minimum total RSS memory in bytes (filter: ne) + */ + min_vm_rss_bytes_ne?: number; + /** + * Minimum total RSS memory in bytes (filter: lt) + */ + min_vm_rss_bytes_lt?: number; + /** + * Minimum total RSS memory in bytes (filter: lte) + */ + min_vm_rss_bytes_lte?: number; + /** + * Minimum total RSS memory in bytes (filter: gt) + */ + min_vm_rss_bytes_gt?: number; + /** + * Minimum total RSS memory in bytes (filter: gte) + */ + min_vm_rss_bytes_gte?: number; + /** + * Minimum total RSS memory in bytes (filter: between_min) + */ + min_vm_rss_bytes_between_min?: number; + /** + * Minimum total RSS memory in bytes (filter: between_max_value) + */ + min_vm_rss_bytes_between_max_value?: number; + /** + * Minimum total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + min_vm_rss_bytes_in_values?: string; + /** + * Minimum total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + min_vm_rss_bytes_not_in_values?: string; + /** + * Maximum total RSS memory in bytes (filter: eq) + */ + max_vm_rss_bytes_eq?: number; + /** + * Maximum total RSS memory in bytes (filter: ne) + */ + max_vm_rss_bytes_ne?: number; + /** + * Maximum total RSS memory in bytes (filter: lt) + */ + max_vm_rss_bytes_lt?: number; + /** + * Maximum total RSS memory in bytes (filter: lte) + */ + max_vm_rss_bytes_lte?: number; + /** + * Maximum total RSS memory in bytes (filter: gt) + */ + max_vm_rss_bytes_gt?: number; + /** + * Maximum total RSS memory in bytes (filter: gte) + */ + max_vm_rss_bytes_gte?: number; + /** + * Maximum total RSS memory in bytes (filter: between_min) + */ + max_vm_rss_bytes_between_min?: number; + /** + * Maximum total RSS memory in bytes (filter: between_max_value) + */ + max_vm_rss_bytes_between_max_value?: number; + /** + * Maximum total RSS memory in bytes (filter: in_values) (comma-separated list) + */ + max_vm_rss_bytes_in_values?: string; + /** + * Maximum total RSS memory in bytes (filter: not_in_values) (comma-separated list) + */ + max_vm_rss_bytes_not_in_values?: string; + /** + * Average total anonymous RSS memory in bytes (filter: eq) + */ + avg_rss_anon_bytes_eq?: number; + /** + * Average total anonymous RSS memory in bytes (filter: ne) + */ + avg_rss_anon_bytes_ne?: number; + /** + * Average total anonymous RSS memory in bytes (filter: lt) + */ + avg_rss_anon_bytes_lt?: number; + /** + * Average total anonymous RSS memory in bytes (filter: lte) + */ + avg_rss_anon_bytes_lte?: number; /** - * Ethereum network name (filter: starts_with) + * Average total anonymous RSS memory in bytes (filter: gt) */ - meta_network_name_starts_with?: string; + avg_rss_anon_bytes_gt?: number; /** - * Ethereum network name (filter: ends_with) + * Average total anonymous RSS memory in bytes (filter: gte) */ - meta_network_name_ends_with?: string; + avg_rss_anon_bytes_gte?: number; /** - * Ethereum network name (filter: like) + * Average total anonymous RSS memory in bytes (filter: between_min) */ - meta_network_name_like?: string; + avg_rss_anon_bytes_between_min?: number; /** - * Ethereum network name (filter: not_like) + * Average total anonymous RSS memory in bytes (filter: between_max_value) */ - meta_network_name_not_like?: string; + avg_rss_anon_bytes_between_max_value?: number; /** - * Ethereum network name (filter: in_values) (comma-separated list) + * Average total anonymous RSS memory in bytes (filter: in_values) (comma-separated list) */ - meta_network_name_in_values?: string; + avg_rss_anon_bytes_in_values?: string; /** - * Ethereum network name (filter: not_in_values) (comma-separated list) + * Average total anonymous RSS memory in bytes (filter: not_in_values) (comma-separated list) */ - meta_network_name_not_in_values?: string; + avg_rss_anon_bytes_not_in_values?: string; /** - * Filter io_bytes using value + * Average total file-backed RSS memory in bytes (filter: eq) */ - io_bytes_value?: number; + avg_rss_file_bytes_eq?: number; /** - * Total I/O operations across all devices in this window (filter: eq) + * Average total file-backed RSS memory in bytes (filter: ne) */ - io_ops_eq?: number; + avg_rss_file_bytes_ne?: number; /** - * Total I/O operations across all devices in this window (filter: ne) + * Average total file-backed RSS memory in bytes (filter: lt) */ - io_ops_ne?: number; + avg_rss_file_bytes_lt?: number; /** - * Total I/O operations across all devices in this window (filter: lt) + * Average total file-backed RSS memory in bytes (filter: lte) */ - io_ops_lt?: number; + avg_rss_file_bytes_lte?: number; /** - * Total I/O operations across all devices in this window (filter: lte) + * Average total file-backed RSS memory in bytes (filter: gt) */ - io_ops_lte?: number; + avg_rss_file_bytes_gt?: number; /** - * Total I/O operations across all devices in this window (filter: gt) + * Average total file-backed RSS memory in bytes (filter: gte) */ - io_ops_gt?: number; + avg_rss_file_bytes_gte?: number; /** - * Total I/O operations across all devices in this window (filter: gte) + * Average total file-backed RSS memory in bytes (filter: between_min) */ - io_ops_gte?: number; + avg_rss_file_bytes_between_min?: number; /** - * Total I/O operations across all devices in this window (filter: between_min) + * Average total file-backed RSS memory in bytes (filter: between_max_value) */ - io_ops_between_min?: number; + avg_rss_file_bytes_between_max_value?: number; /** - * Total I/O operations across all devices in this window (filter: between_max_value) + * Average total file-backed RSS memory in bytes (filter: in_values) (comma-separated list) */ - io_ops_between_max_value?: number; + avg_rss_file_bytes_in_values?: string; /** - * Total I/O operations across all devices in this window (filter: in_values) (comma-separated list) + * Average total file-backed RSS memory in bytes (filter: not_in_values) (comma-separated list) */ - io_ops_in_values?: string; + avg_rss_file_bytes_not_in_values?: string; /** - * Total I/O operations across all devices in this window (filter: not_in_values) (comma-separated list) + * Average total swap memory in bytes (filter: eq) */ - io_ops_not_in_values?: string; + avg_vm_swap_bytes_eq?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: eq) + * Average total swap memory in bytes (filter: ne) */ - node_class_eq?: string; + avg_vm_swap_bytes_ne?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ne) + * Average total swap memory in bytes (filter: lt) */ - node_class_ne?: string; + avg_vm_swap_bytes_lt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: contains) + * Average total swap memory in bytes (filter: lte) */ - node_class_contains?: string; + avg_vm_swap_bytes_lte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: starts_with) + * Average total swap memory in bytes (filter: gt) */ - node_class_starts_with?: string; + avg_vm_swap_bytes_gt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ends_with) + * Average total swap memory in bytes (filter: gte) */ - node_class_ends_with?: string; + avg_vm_swap_bytes_gte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: like) + * Average total swap memory in bytes (filter: between_min) */ - node_class_like?: string; + avg_vm_swap_bytes_between_min?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: not_like) + * Average total swap memory in bytes (filter: between_max_value) */ - node_class_not_like?: string; + avg_vm_swap_bytes_between_max_value?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + * Average total swap memory in bytes (filter: in_values) (comma-separated list) */ - node_class_in_values?: string; + avg_vm_swap_bytes_in_values?: string; /** - * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + * Average total swap memory in bytes (filter: not_in_values) (comma-separated list) */ - node_class_not_in_values?: string; + avg_vm_swap_bytes_not_in_values?: string; /** - * The maximum number of fct_node_disk_io_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + * The maximum number of fct_node_memory_usage_hourly to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. */ page_size?: number; /** - * A page token, received from a previous `ListFctNodeDiskIoByProcess` call. Provide this to retrieve the subsequent page. + * A page token, received from a previous `ListFctNodeMemoryUsageHourly` call. Provide this to retrieve the subsequent page. */ page_token?: string; /** @@ -56234,62 +61476,62 @@ export type FctNodeDiskIoByProcessServiceListData = { */ order_by?: string; }; - url: '/api/v1/fct_node_disk_io_by_process'; + url: '/api/v1/fct_node_memory_usage_hourly'; }; -export type FctNodeDiskIoByProcessServiceListErrors = { +export type FctNodeMemoryUsageHourlyServiceListErrors = { /** * Default error response */ default: Status; }; -export type FctNodeDiskIoByProcessServiceListError = - FctNodeDiskIoByProcessServiceListErrors[keyof FctNodeDiskIoByProcessServiceListErrors]; +export type FctNodeMemoryUsageHourlyServiceListError = + FctNodeMemoryUsageHourlyServiceListErrors[keyof FctNodeMemoryUsageHourlyServiceListErrors]; -export type FctNodeDiskIoByProcessServiceListResponses = { +export type FctNodeMemoryUsageHourlyServiceListResponses = { /** * OK */ - 200: ListFctNodeDiskIoByProcessResponse; + 200: ListFctNodeMemoryUsageHourlyResponse; }; -export type FctNodeDiskIoByProcessServiceListResponse = - FctNodeDiskIoByProcessServiceListResponses[keyof FctNodeDiskIoByProcessServiceListResponses]; +export type FctNodeMemoryUsageHourlyServiceListResponse = + FctNodeMemoryUsageHourlyServiceListResponses[keyof FctNodeMemoryUsageHourlyServiceListResponses]; -export type FctNodeDiskIoByProcessServiceGetData = { +export type FctNodeMemoryUsageHourlyServiceGetData = { body?: never; path: { /** - * The wall clock time when the slot started + * Start of the hour period */ - wallclock_slot_start_date_time: number; + hour_start_date_time: number; }; query?: never; - url: '/api/v1/fct_node_disk_io_by_process/{wallclock_slot_start_date_time}'; + url: '/api/v1/fct_node_memory_usage_hourly/{hour_start_date_time}'; }; -export type FctNodeDiskIoByProcessServiceGetErrors = { +export type FctNodeMemoryUsageHourlyServiceGetErrors = { /** * Default error response */ default: Status; }; -export type FctNodeDiskIoByProcessServiceGetError = - FctNodeDiskIoByProcessServiceGetErrors[keyof FctNodeDiskIoByProcessServiceGetErrors]; +export type FctNodeMemoryUsageHourlyServiceGetError = + FctNodeMemoryUsageHourlyServiceGetErrors[keyof FctNodeMemoryUsageHourlyServiceGetErrors]; -export type FctNodeDiskIoByProcessServiceGetResponses = { +export type FctNodeMemoryUsageHourlyServiceGetResponses = { /** * OK */ - 200: GetFctNodeDiskIoByProcessResponse; + 200: GetFctNodeMemoryUsageHourlyResponse; }; -export type FctNodeDiskIoByProcessServiceGetResponse = - FctNodeDiskIoByProcessServiceGetResponses[keyof FctNodeDiskIoByProcessServiceGetResponses]; +export type FctNodeMemoryUsageHourlyServiceGetResponse = + FctNodeMemoryUsageHourlyServiceGetResponses[keyof FctNodeMemoryUsageHourlyServiceGetResponses]; -export type FctNodeMemoryUsageByProcessServiceListData = { +export type FctNodeNetworkIoByProcessServiceListData = { body?: never; path?: never; query?: { @@ -56445,6 +61687,78 @@ export type FctNodeMemoryUsageByProcessServiceListData = { * Process ID of the monitored client (filter: not_in_values) (comma-separated list) */ pid_not_in_values?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: eq) + */ + port_label_eq?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: ne) + */ + port_label_ne?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: contains) + */ + port_label_contains?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: starts_with) + */ + port_label_starts_with?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: ends_with) + */ + port_label_ends_with?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: like) + */ + port_label_like?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: not_like) + */ + port_label_not_like?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: in_values) (comma-separated list) + */ + port_label_in_values?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: not_in_values) (comma-separated list) + */ + port_label_not_in_values?: string; + /** + * Traffic direction: tx or rx (filter: eq) + */ + direction_eq?: string; + /** + * Traffic direction: tx or rx (filter: ne) + */ + direction_ne?: string; + /** + * Traffic direction: tx or rx (filter: contains) + */ + direction_contains?: string; + /** + * Traffic direction: tx or rx (filter: starts_with) + */ + direction_starts_with?: string; + /** + * Traffic direction: tx or rx (filter: ends_with) + */ + direction_ends_with?: string; + /** + * Traffic direction: tx or rx (filter: like) + */ + direction_like?: string; + /** + * Traffic direction: tx or rx (filter: not_like) + */ + direction_not_like?: string; + /** + * Traffic direction: tx or rx (filter: in_values) (comma-separated list) + */ + direction_in_values?: string; + /** + * Traffic direction: tx or rx (filter: not_in_values) (comma-separated list) + */ + direction_not_in_values?: string; /** * Start of the sub-slot aggregation window (filter: eq) */ @@ -56564,7 +61878,379 @@ export type FctNodeMemoryUsageByProcessServiceListData = { /** * The wallclock slot number (filter: not_in_values) (comma-separated list) */ - wallclock_slot_not_in_values?: string; + wallclock_slot_not_in_values?: string; + /** + * Ethereum network name (filter: eq) + */ + meta_network_name_eq?: string; + /** + * Ethereum network name (filter: ne) + */ + meta_network_name_ne?: string; + /** + * Ethereum network name (filter: contains) + */ + meta_network_name_contains?: string; + /** + * Ethereum network name (filter: starts_with) + */ + meta_network_name_starts_with?: string; + /** + * Ethereum network name (filter: ends_with) + */ + meta_network_name_ends_with?: string; + /** + * Ethereum network name (filter: like) + */ + meta_network_name_like?: string; + /** + * Ethereum network name (filter: not_like) + */ + meta_network_name_not_like?: string; + /** + * Ethereum network name (filter: in_values) (comma-separated list) + */ + meta_network_name_in_values?: string; + /** + * Ethereum network name (filter: not_in_values) (comma-separated list) + */ + meta_network_name_not_in_values?: string; + /** + * Filter io_bytes using value + */ + io_bytes_value?: number; + /** + * Total packet or event count in this window (filter: eq) + */ + io_count_eq?: number; + /** + * Total packet or event count in this window (filter: ne) + */ + io_count_ne?: number; + /** + * Total packet or event count in this window (filter: lt) + */ + io_count_lt?: number; + /** + * Total packet or event count in this window (filter: lte) + */ + io_count_lte?: number; + /** + * Total packet or event count in this window (filter: gt) + */ + io_count_gt?: number; + /** + * Total packet or event count in this window (filter: gte) + */ + io_count_gte?: number; + /** + * Total packet or event count in this window (filter: between_min) + */ + io_count_between_min?: number; + /** + * Total packet or event count in this window (filter: between_max_value) + */ + io_count_between_max_value?: number; + /** + * Total packet or event count in this window (filter: in_values) (comma-separated list) + */ + io_count_in_values?: string; + /** + * Total packet or event count in this window (filter: not_in_values) (comma-separated list) + */ + io_count_not_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: eq) + */ + node_class_eq?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ne) + */ + node_class_ne?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: contains) + */ + node_class_contains?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: starts_with) + */ + node_class_starts_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: ends_with) + */ + node_class_ends_with?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: like) + */ + node_class_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_like) + */ + node_class_not_like?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + */ + node_class_in_values?: string; + /** + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + */ + node_class_not_in_values?: string; + /** + * The maximum number of fct_node_network_io_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + */ + page_size?: number; + /** + * A page token, received from a previous `ListFctNodeNetworkIoByProcess` call. Provide this to retrieve the subsequent page. + */ + page_token?: string; + /** + * The order of results. Format: comma-separated list of fields. Example: "foo,bar" or "foo desc,bar" for descending order on foo. If unspecified, results will be returned in the default order. + */ + order_by?: string; + }; + url: '/api/v1/fct_node_network_io_by_process'; +}; + +export type FctNodeNetworkIoByProcessServiceListErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeNetworkIoByProcessServiceListError = + FctNodeNetworkIoByProcessServiceListErrors[keyof FctNodeNetworkIoByProcessServiceListErrors]; + +export type FctNodeNetworkIoByProcessServiceListResponses = { + /** + * OK + */ + 200: ListFctNodeNetworkIoByProcessResponse; +}; + +export type FctNodeNetworkIoByProcessServiceListResponse = + FctNodeNetworkIoByProcessServiceListResponses[keyof FctNodeNetworkIoByProcessServiceListResponses]; + +export type FctNodeNetworkIoByProcessServiceGetData = { + body?: never; + path: { + /** + * The wall clock time when the slot started + */ + wallclock_slot_start_date_time: number; + }; + query?: never; + url: '/api/v1/fct_node_network_io_by_process/{wallclock_slot_start_date_time}'; +}; + +export type FctNodeNetworkIoByProcessServiceGetErrors = { + /** + * Default error response + */ + default: Status; +}; + +export type FctNodeNetworkIoByProcessServiceGetError = + FctNodeNetworkIoByProcessServiceGetErrors[keyof FctNodeNetworkIoByProcessServiceGetErrors]; + +export type FctNodeNetworkIoByProcessServiceGetResponses = { + /** + * OK + */ + 200: GetFctNodeNetworkIoByProcessResponse; +}; + +export type FctNodeNetworkIoByProcessServiceGetResponse = + FctNodeNetworkIoByProcessServiceGetResponses[keyof FctNodeNetworkIoByProcessServiceGetResponses]; + +export type FctNodeNetworkIoDailyServiceListData = { + body?: never; + path?: never; + query?: { + /** + * Start of the day period (filter: eq) + */ + day_start_date_eq?: string; + /** + * Start of the day period (filter: ne) + */ + day_start_date_ne?: string; + /** + * Start of the day period (filter: contains) + */ + day_start_date_contains?: string; + /** + * Start of the day period (filter: starts_with) + */ + day_start_date_starts_with?: string; + /** + * Start of the day period (filter: ends_with) + */ + day_start_date_ends_with?: string; + /** + * Start of the day period (filter: like) + */ + day_start_date_like?: string; + /** + * Start of the day period (filter: not_like) + */ + day_start_date_not_like?: string; + /** + * Start of the day period (filter: in_values) (comma-separated list) + */ + day_start_date_in_values?: string; + /** + * Start of the day period (filter: not_in_values) (comma-separated list) + */ + day_start_date_not_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: eq) + */ + meta_client_name_eq?: string; + /** + * Name of the observoor client that collected the data (filter: ne) + */ + meta_client_name_ne?: string; + /** + * Name of the observoor client that collected the data (filter: contains) + */ + meta_client_name_contains?: string; + /** + * Name of the observoor client that collected the data (filter: starts_with) + */ + meta_client_name_starts_with?: string; + /** + * Name of the observoor client that collected the data (filter: ends_with) + */ + meta_client_name_ends_with?: string; + /** + * Name of the observoor client that collected the data (filter: like) + */ + meta_client_name_like?: string; + /** + * Name of the observoor client that collected the data (filter: not_like) + */ + meta_client_name_not_like?: string; + /** + * Name of the observoor client that collected the data (filter: in_values) (comma-separated list) + */ + meta_client_name_in_values?: string; + /** + * Name of the observoor client that collected the data (filter: not_in_values) (comma-separated list) + */ + meta_client_name_not_in_values?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: eq) + */ + port_label_eq?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: ne) + */ + port_label_ne?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: contains) + */ + port_label_contains?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: starts_with) + */ + port_label_starts_with?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: ends_with) + */ + port_label_ends_with?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: like) + */ + port_label_like?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: not_like) + */ + port_label_not_like?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: in_values) (comma-separated list) + */ + port_label_in_values?: string; + /** + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: not_in_values) (comma-separated list) + */ + port_label_not_in_values?: string; + /** + * Traffic direction: tx or rx (filter: eq) + */ + direction_eq?: string; + /** + * Traffic direction: tx or rx (filter: ne) + */ + direction_ne?: string; + /** + * Traffic direction: tx or rx (filter: contains) + */ + direction_contains?: string; + /** + * Traffic direction: tx or rx (filter: starts_with) + */ + direction_starts_with?: string; + /** + * Traffic direction: tx or rx (filter: ends_with) + */ + direction_ends_with?: string; + /** + * Traffic direction: tx or rx (filter: like) + */ + direction_like?: string; + /** + * Traffic direction: tx or rx (filter: not_like) + */ + direction_not_like?: string; + /** + * Traffic direction: tx or rx (filter: in_values) (comma-separated list) + */ + direction_in_values?: string; + /** + * Traffic direction: tx or rx (filter: not_in_values) (comma-separated list) + */ + direction_not_in_values?: string; + /** + * Timestamp when the record was last updated (filter: eq) + */ + updated_date_time_eq?: number; + /** + * Timestamp when the record was last updated (filter: ne) + */ + updated_date_time_ne?: number; + /** + * Timestamp when the record was last updated (filter: lt) + */ + updated_date_time_lt?: number; + /** + * Timestamp when the record was last updated (filter: lte) + */ + updated_date_time_lte?: number; + /** + * Timestamp when the record was last updated (filter: gt) + */ + updated_date_time_gt?: number; + /** + * Timestamp when the record was last updated (filter: gte) + */ + updated_date_time_gte?: number; + /** + * Timestamp when the record was last updated (filter: between_min) + */ + updated_date_time_between_min?: number; + /** + * Timestamp when the record was last updated (filter: between_max_value) + */ + updated_date_time_between_max_value?: number; + /** + * Timestamp when the record was last updated (filter: in_values) (comma-separated list) + */ + updated_date_time_in_values?: string; + /** + * Timestamp when the record was last updated (filter: not_in_values) (comma-separated list) + */ + updated_date_time_not_in_values?: string; /** * Ethereum network name (filter: eq) */ @@ -56602,207 +62288,175 @@ export type FctNodeMemoryUsageByProcessServiceListData = { */ meta_network_name_not_in_values?: string; /** - * Resident set size in bytes (total physical memory used) (filter: eq) - */ - vm_rss_bytes_eq?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: ne) - */ - vm_rss_bytes_ne?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: lt) - */ - vm_rss_bytes_lt?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: lte) - */ - vm_rss_bytes_lte?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: gt) - */ - vm_rss_bytes_gt?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: gte) - */ - vm_rss_bytes_gte?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: between_min) - */ - vm_rss_bytes_between_min?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: between_max_value) - */ - vm_rss_bytes_between_max_value?: number; - /** - * Resident set size in bytes (total physical memory used) (filter: in_values) (comma-separated list) + * Node classification for filtering (e.g. eip7870) (filter: eq) */ - vm_rss_bytes_in_values?: string; + node_class_eq?: string; /** - * Resident set size in bytes (total physical memory used) (filter: not_in_values) (comma-separated list) + * Node classification for filtering (e.g. eip7870) (filter: ne) */ - vm_rss_bytes_not_in_values?: string; + node_class_ne?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: eq) + * Node classification for filtering (e.g. eip7870) (filter: contains) */ - rss_anon_bytes_eq?: number; + node_class_contains?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: ne) + * Node classification for filtering (e.g. eip7870) (filter: starts_with) */ - rss_anon_bytes_ne?: number; + node_class_starts_with?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: lt) + * Node classification for filtering (e.g. eip7870) (filter: ends_with) */ - rss_anon_bytes_lt?: number; + node_class_ends_with?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: lte) + * Node classification for filtering (e.g. eip7870) (filter: like) */ - rss_anon_bytes_lte?: number; + node_class_like?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: gt) + * Node classification for filtering (e.g. eip7870) (filter: not_like) */ - rss_anon_bytes_gt?: number; + node_class_not_like?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: gte) + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) */ - rss_anon_bytes_gte?: number; + node_class_in_values?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: between_min) + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) */ - rss_anon_bytes_between_min?: number; + node_class_not_in_values?: string; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: between_max_value) + * Number of source hourly slots in this day (filter: eq) */ - rss_anon_bytes_between_max_value?: number; + hour_count_eq?: number; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: in_values) (comma-separated list) + * Number of source hourly slots in this day (filter: ne) */ - rss_anon_bytes_in_values?: string; + hour_count_ne?: number; /** - * Anonymous RSS in bytes (heap, stack, anonymous mmap) (filter: not_in_values) (comma-separated list) + * Number of source hourly slots in this day (filter: lt) */ - rss_anon_bytes_not_in_values?: string; + hour_count_lt?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: eq) + * Number of source hourly slots in this day (filter: lte) */ - rss_file_bytes_eq?: number; + hour_count_lte?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: ne) + * Number of source hourly slots in this day (filter: gt) */ - rss_file_bytes_ne?: number; + hour_count_gt?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: lt) + * Number of source hourly slots in this day (filter: gte) */ - rss_file_bytes_lt?: number; + hour_count_gte?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: lte) + * Number of source hourly slots in this day (filter: between_min) */ - rss_file_bytes_lte?: number; + hour_count_between_min?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: gt) + * Number of source hourly slots in this day (filter: between_max_value) */ - rss_file_bytes_gt?: number; + hour_count_between_max_value?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: gte) + * Number of source hourly slots in this day (filter: in_values) (comma-separated list) */ - rss_file_bytes_gte?: number; + hour_count_in_values?: string; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: between_min) + * Number of source hourly slots in this day (filter: not_in_values) (comma-separated list) */ - rss_file_bytes_between_min?: number; + hour_count_not_in_values?: string; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: between_max_value) + * Filter sum_io_bytes using value */ - rss_file_bytes_between_max_value?: number; + sum_io_bytes_value?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: in_values) (comma-separated list) + * Filter avg_io_bytes using value */ - rss_file_bytes_in_values?: string; + avg_io_bytes_value?: number; /** - * File-backed RSS in bytes (shared libraries, mmap files) (filter: not_in_values) (comma-separated list) + * Total packet count in this day (filter: eq) */ - rss_file_bytes_not_in_values?: string; + sum_io_count_eq?: number; /** - * Swap usage in bytes (filter: eq) + * Total packet count in this day (filter: ne) */ - vm_swap_bytes_eq?: number; + sum_io_count_ne?: number; /** - * Swap usage in bytes (filter: ne) + * Total packet count in this day (filter: lt) */ - vm_swap_bytes_ne?: number; + sum_io_count_lt?: number; /** - * Swap usage in bytes (filter: lt) + * Total packet count in this day (filter: lte) */ - vm_swap_bytes_lt?: number; + sum_io_count_lte?: number; /** - * Swap usage in bytes (filter: lte) + * Total packet count in this day (filter: gt) */ - vm_swap_bytes_lte?: number; + sum_io_count_gt?: number; /** - * Swap usage in bytes (filter: gt) + * Total packet count in this day (filter: gte) */ - vm_swap_bytes_gt?: number; + sum_io_count_gte?: number; /** - * Swap usage in bytes (filter: gte) + * Total packet count in this day (filter: between_min) */ - vm_swap_bytes_gte?: number; + sum_io_count_between_min?: number; /** - * Swap usage in bytes (filter: between_min) + * Total packet count in this day (filter: between_max_value) */ - vm_swap_bytes_between_min?: number; + sum_io_count_between_max_value?: number; /** - * Swap usage in bytes (filter: between_max_value) + * Total packet count in this day (filter: in_values) (comma-separated list) */ - vm_swap_bytes_between_max_value?: number; + sum_io_count_in_values?: string; /** - * Swap usage in bytes (filter: in_values) (comma-separated list) + * Total packet count in this day (filter: not_in_values) (comma-separated list) */ - vm_swap_bytes_in_values?: string; + sum_io_count_not_in_values?: string; /** - * Swap usage in bytes (filter: not_in_values) (comma-separated list) + * Weighted average packet count per slot (filter: eq) */ - vm_swap_bytes_not_in_values?: string; + avg_io_count_eq?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: eq) + * Weighted average packet count per slot (filter: ne) */ - node_class_eq?: string; + avg_io_count_ne?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ne) + * Weighted average packet count per slot (filter: lt) */ - node_class_ne?: string; + avg_io_count_lt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: contains) + * Weighted average packet count per slot (filter: lte) */ - node_class_contains?: string; + avg_io_count_lte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: starts_with) + * Weighted average packet count per slot (filter: gt) */ - node_class_starts_with?: string; + avg_io_count_gt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ends_with) + * Weighted average packet count per slot (filter: gte) */ - node_class_ends_with?: string; + avg_io_count_gte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: like) + * Weighted average packet count per slot (filter: between_min) */ - node_class_like?: string; + avg_io_count_between_min?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: not_like) + * Weighted average packet count per slot (filter: between_max_value) */ - node_class_not_like?: string; + avg_io_count_between_max_value?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + * Weighted average packet count per slot (filter: in_values) (comma-separated list) */ - node_class_in_values?: string; + avg_io_count_in_values?: string; /** - * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + * Weighted average packet count per slot (filter: not_in_values) (comma-separated list) */ - node_class_not_in_values?: string; + avg_io_count_not_in_values?: string; /** - * The maximum number of fct_node_memory_usage_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + * The maximum number of fct_node_network_io_daily to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. */ page_size?: number; /** - * A page token, received from a previous `ListFctNodeMemoryUsageByProcess` call. Provide this to retrieve the subsequent page. + * A page token, received from a previous `ListFctNodeNetworkIoDaily` call. Provide this to retrieve the subsequent page. */ page_token?: string; /** @@ -56810,105 +62464,105 @@ export type FctNodeMemoryUsageByProcessServiceListData = { */ order_by?: string; }; - url: '/api/v1/fct_node_memory_usage_by_process'; + url: '/api/v1/fct_node_network_io_daily'; }; -export type FctNodeMemoryUsageByProcessServiceListErrors = { +export type FctNodeNetworkIoDailyServiceListErrors = { /** * Default error response */ default: Status; }; -export type FctNodeMemoryUsageByProcessServiceListError = - FctNodeMemoryUsageByProcessServiceListErrors[keyof FctNodeMemoryUsageByProcessServiceListErrors]; +export type FctNodeNetworkIoDailyServiceListError = + FctNodeNetworkIoDailyServiceListErrors[keyof FctNodeNetworkIoDailyServiceListErrors]; -export type FctNodeMemoryUsageByProcessServiceListResponses = { +export type FctNodeNetworkIoDailyServiceListResponses = { /** * OK */ - 200: ListFctNodeMemoryUsageByProcessResponse; + 200: ListFctNodeNetworkIoDailyResponse; }; -export type FctNodeMemoryUsageByProcessServiceListResponse = - FctNodeMemoryUsageByProcessServiceListResponses[keyof FctNodeMemoryUsageByProcessServiceListResponses]; +export type FctNodeNetworkIoDailyServiceListResponse = + FctNodeNetworkIoDailyServiceListResponses[keyof FctNodeNetworkIoDailyServiceListResponses]; -export type FctNodeMemoryUsageByProcessServiceGetData = { +export type FctNodeNetworkIoDailyServiceGetData = { body?: never; path: { /** - * The wall clock time when the slot started + * Start of the day period */ - wallclock_slot_start_date_time: number; + day_start_date: string; }; query?: never; - url: '/api/v1/fct_node_memory_usage_by_process/{wallclock_slot_start_date_time}'; + url: '/api/v1/fct_node_network_io_daily/{day_start_date}'; }; -export type FctNodeMemoryUsageByProcessServiceGetErrors = { +export type FctNodeNetworkIoDailyServiceGetErrors = { /** * Default error response */ default: Status; }; -export type FctNodeMemoryUsageByProcessServiceGetError = - FctNodeMemoryUsageByProcessServiceGetErrors[keyof FctNodeMemoryUsageByProcessServiceGetErrors]; +export type FctNodeNetworkIoDailyServiceGetError = + FctNodeNetworkIoDailyServiceGetErrors[keyof FctNodeNetworkIoDailyServiceGetErrors]; -export type FctNodeMemoryUsageByProcessServiceGetResponses = { +export type FctNodeNetworkIoDailyServiceGetResponses = { /** * OK */ - 200: GetFctNodeMemoryUsageByProcessResponse; + 200: GetFctNodeNetworkIoDailyResponse; }; -export type FctNodeMemoryUsageByProcessServiceGetResponse = - FctNodeMemoryUsageByProcessServiceGetResponses[keyof FctNodeMemoryUsageByProcessServiceGetResponses]; +export type FctNodeNetworkIoDailyServiceGetResponse = + FctNodeNetworkIoDailyServiceGetResponses[keyof FctNodeNetworkIoDailyServiceGetResponses]; -export type FctNodeNetworkIoByProcessServiceListData = { +export type FctNodeNetworkIoHourlyServiceListData = { body?: never; path?: never; query?: { /** - * The wall clock time when the slot started (filter: eq) + * Start of the hour period (filter: eq) */ - wallclock_slot_start_date_time_eq?: number; + hour_start_date_time_eq?: number; /** - * The wall clock time when the slot started (filter: ne) + * Start of the hour period (filter: ne) */ - wallclock_slot_start_date_time_ne?: number; + hour_start_date_time_ne?: number; /** - * The wall clock time when the slot started (filter: lt) + * Start of the hour period (filter: lt) */ - wallclock_slot_start_date_time_lt?: number; + hour_start_date_time_lt?: number; /** - * The wall clock time when the slot started (filter: lte) + * Start of the hour period (filter: lte) */ - wallclock_slot_start_date_time_lte?: number; + hour_start_date_time_lte?: number; /** - * The wall clock time when the slot started (filter: gt) + * Start of the hour period (filter: gt) */ - wallclock_slot_start_date_time_gt?: number; + hour_start_date_time_gt?: number; /** - * The wall clock time when the slot started (filter: gte) + * Start of the hour period (filter: gte) */ - wallclock_slot_start_date_time_gte?: number; + hour_start_date_time_gte?: number; /** - * The wall clock time when the slot started (filter: between_min) + * Start of the hour period (filter: between_min) */ - wallclock_slot_start_date_time_between_min?: number; + hour_start_date_time_between_min?: number; /** - * The wall clock time when the slot started (filter: between_max_value) + * Start of the hour period (filter: between_max_value) */ - wallclock_slot_start_date_time_between_max_value?: number; + hour_start_date_time_between_max_value?: number; /** - * The wall clock time when the slot started (filter: in_values) (comma-separated list) + * Start of the hour period (filter: in_values) (comma-separated list) */ - wallclock_slot_start_date_time_in_values?: string; + hour_start_date_time_in_values?: string; /** - * The wall clock time when the slot started (filter: not_in_values) (comma-separated list) + * Start of the hour period (filter: not_in_values) (comma-separated list) */ - wallclock_slot_start_date_time_not_in_values?: string; + hour_start_date_time_not_in_values?: string; /** * Name of the observoor client that collected the data (filter: eq) */ @@ -56946,115 +62600,39 @@ export type FctNodeNetworkIoByProcessServiceListData = { */ meta_client_name_not_in_values?: string; /** - * Client type: CL or EL (filter: eq) - */ - client_type_eq?: string; - /** - * Client type: CL or EL (filter: ne) - */ - client_type_ne?: string; - /** - * Client type: CL or EL (filter: contains) - */ - client_type_contains?: string; - /** - * Client type: CL or EL (filter: starts_with) - */ - client_type_starts_with?: string; - /** - * Client type: CL or EL (filter: ends_with) - */ - client_type_ends_with?: string; - /** - * Client type: CL or EL (filter: like) - */ - client_type_like?: string; - /** - * Client type: CL or EL (filter: not_like) - */ - client_type_not_like?: string; - /** - * Client type: CL or EL (filter: in_values) (comma-separated list) - */ - client_type_in_values?: string; - /** - * Client type: CL or EL (filter: not_in_values) (comma-separated list) - */ - client_type_not_in_values?: string; - /** - * Process ID of the monitored client (filter: eq) - */ - pid_eq?: number; - /** - * Process ID of the monitored client (filter: ne) - */ - pid_ne?: number; - /** - * Process ID of the monitored client (filter: lt) - */ - pid_lt?: number; - /** - * Process ID of the monitored client (filter: lte) - */ - pid_lte?: number; - /** - * Process ID of the monitored client (filter: gt) - */ - pid_gt?: number; - /** - * Process ID of the monitored client (filter: gte) - */ - pid_gte?: number; - /** - * Process ID of the monitored client (filter: between_min) - */ - pid_between_min?: number; - /** - * Process ID of the monitored client (filter: between_max_value) - */ - pid_between_max_value?: number; - /** - * Process ID of the monitored client (filter: in_values) (comma-separated list) - */ - pid_in_values?: string; - /** - * Process ID of the monitored client (filter: not_in_values) (comma-separated list) - */ - pid_not_in_values?: string; - /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: eq) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: eq) */ port_label_eq?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: ne) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: ne) */ port_label_ne?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: contains) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: contains) */ port_label_contains?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: starts_with) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: starts_with) */ port_label_starts_with?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: ends_with) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: ends_with) */ port_label_ends_with?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: like) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: like) */ port_label_like?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: not_like) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: not_like) */ port_label_not_like?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: in_values) (comma-separated list) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: in_values) (comma-separated list) */ port_label_in_values?: string; /** - * Port classification (e.g. cl_p2p_tcp, el_json_rpc, unknown) (filter: not_in_values) (comma-separated list) + * Port classification (e.g. cl_p2p_tcp, el_json_rpc) (filter: not_in_values) (comma-separated list) */ port_label_not_in_values?: string; /** @@ -57093,46 +62671,6 @@ export type FctNodeNetworkIoByProcessServiceListData = { * Traffic direction: tx or rx (filter: not_in_values) (comma-separated list) */ direction_not_in_values?: string; - /** - * Start of the sub-slot aggregation window (filter: eq) - */ - window_start_eq?: number; - /** - * Start of the sub-slot aggregation window (filter: ne) - */ - window_start_ne?: number; - /** - * Start of the sub-slot aggregation window (filter: lt) - */ - window_start_lt?: number; - /** - * Start of the sub-slot aggregation window (filter: lte) - */ - window_start_lte?: number; - /** - * Start of the sub-slot aggregation window (filter: gt) - */ - window_start_gt?: number; - /** - * Start of the sub-slot aggregation window (filter: gte) - */ - window_start_gte?: number; - /** - * Start of the sub-slot aggregation window (filter: between_min) - */ - window_start_between_min?: number; - /** - * Start of the sub-slot aggregation window (filter: between_max_value) - */ - window_start_between_max_value?: number; - /** - * Start of the sub-slot aggregation window (filter: in_values) (comma-separated list) - */ - window_start_in_values?: string; - /** - * Start of the sub-slot aggregation window (filter: not_in_values) (comma-separated list) - */ - window_start_not_in_values?: string; /** * Timestamp when the record was last updated (filter: eq) */ @@ -57174,167 +62712,211 @@ export type FctNodeNetworkIoByProcessServiceListData = { */ updated_date_time_not_in_values?: string; /** - * The wallclock slot number (filter: eq) + * Ethereum network name (filter: eq) */ - wallclock_slot_eq?: number; + meta_network_name_eq?: string; /** - * The wallclock slot number (filter: ne) + * Ethereum network name (filter: ne) */ - wallclock_slot_ne?: number; + meta_network_name_ne?: string; /** - * The wallclock slot number (filter: lt) + * Ethereum network name (filter: contains) */ - wallclock_slot_lt?: number; + meta_network_name_contains?: string; /** - * The wallclock slot number (filter: lte) + * Ethereum network name (filter: starts_with) */ - wallclock_slot_lte?: number; + meta_network_name_starts_with?: string; /** - * The wallclock slot number (filter: gt) + * Ethereum network name (filter: ends_with) */ - wallclock_slot_gt?: number; + meta_network_name_ends_with?: string; /** - * The wallclock slot number (filter: gte) + * Ethereum network name (filter: like) */ - wallclock_slot_gte?: number; + meta_network_name_like?: string; /** - * The wallclock slot number (filter: between_min) + * Ethereum network name (filter: not_like) */ - wallclock_slot_between_min?: number; + meta_network_name_not_like?: string; /** - * The wallclock slot number (filter: between_max_value) + * Ethereum network name (filter: in_values) (comma-separated list) */ - wallclock_slot_between_max_value?: number; + meta_network_name_in_values?: string; /** - * The wallclock slot number (filter: in_values) (comma-separated list) + * Ethereum network name (filter: not_in_values) (comma-separated list) */ - wallclock_slot_in_values?: string; + meta_network_name_not_in_values?: string; /** - * The wallclock slot number (filter: not_in_values) (comma-separated list) + * Node classification for filtering (e.g. eip7870) (filter: eq) */ - wallclock_slot_not_in_values?: string; + node_class_eq?: string; /** - * Ethereum network name (filter: eq) + * Node classification for filtering (e.g. eip7870) (filter: ne) */ - meta_network_name_eq?: string; + node_class_ne?: string; /** - * Ethereum network name (filter: ne) + * Node classification for filtering (e.g. eip7870) (filter: contains) */ - meta_network_name_ne?: string; + node_class_contains?: string; /** - * Ethereum network name (filter: contains) + * Node classification for filtering (e.g. eip7870) (filter: starts_with) */ - meta_network_name_contains?: string; + node_class_starts_with?: string; /** - * Ethereum network name (filter: starts_with) + * Node classification for filtering (e.g. eip7870) (filter: ends_with) */ - meta_network_name_starts_with?: string; + node_class_ends_with?: string; /** - * Ethereum network name (filter: ends_with) + * Node classification for filtering (e.g. eip7870) (filter: like) */ - meta_network_name_ends_with?: string; + node_class_like?: string; /** - * Ethereum network name (filter: like) + * Node classification for filtering (e.g. eip7870) (filter: not_like) */ - meta_network_name_like?: string; + node_class_not_like?: string; /** - * Ethereum network name (filter: not_like) + * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) */ - meta_network_name_not_like?: string; + node_class_in_values?: string; /** - * Ethereum network name (filter: in_values) (comma-separated list) + * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) */ - meta_network_name_in_values?: string; + node_class_not_in_values?: string; /** - * Ethereum network name (filter: not_in_values) (comma-separated list) + * Number of slots in this hour (filter: eq) */ - meta_network_name_not_in_values?: string; + slot_count_eq?: number; /** - * Filter io_bytes using value + * Number of slots in this hour (filter: ne) */ - io_bytes_value?: number; + slot_count_ne?: number; /** - * Total packet or event count in this window (filter: eq) + * Number of slots in this hour (filter: lt) */ - io_count_eq?: number; + slot_count_lt?: number; /** - * Total packet or event count in this window (filter: ne) + * Number of slots in this hour (filter: lte) */ - io_count_ne?: number; + slot_count_lte?: number; /** - * Total packet or event count in this window (filter: lt) + * Number of slots in this hour (filter: gt) */ - io_count_lt?: number; + slot_count_gt?: number; /** - * Total packet or event count in this window (filter: lte) + * Number of slots in this hour (filter: gte) */ - io_count_lte?: number; + slot_count_gte?: number; /** - * Total packet or event count in this window (filter: gt) + * Number of slots in this hour (filter: between_min) */ - io_count_gt?: number; + slot_count_between_min?: number; /** - * Total packet or event count in this window (filter: gte) + * Number of slots in this hour (filter: between_max_value) */ - io_count_gte?: number; + slot_count_between_max_value?: number; /** - * Total packet or event count in this window (filter: between_min) + * Number of slots in this hour (filter: in_values) (comma-separated list) */ - io_count_between_min?: number; + slot_count_in_values?: string; /** - * Total packet or event count in this window (filter: between_max_value) + * Number of slots in this hour (filter: not_in_values) (comma-separated list) */ - io_count_between_max_value?: number; + slot_count_not_in_values?: string; /** - * Total packet or event count in this window (filter: in_values) (comma-separated list) + * Filter sum_io_bytes using value */ - io_count_in_values?: string; + sum_io_bytes_value?: number; /** - * Total packet or event count in this window (filter: not_in_values) (comma-separated list) + * Filter avg_io_bytes using value */ - io_count_not_in_values?: string; + avg_io_bytes_value?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: eq) + * Total packet count in this hour (filter: eq) */ - node_class_eq?: string; + sum_io_count_eq?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ne) + * Total packet count in this hour (filter: ne) */ - node_class_ne?: string; + sum_io_count_ne?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: contains) + * Total packet count in this hour (filter: lt) */ - node_class_contains?: string; + sum_io_count_lt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: starts_with) + * Total packet count in this hour (filter: lte) */ - node_class_starts_with?: string; + sum_io_count_lte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: ends_with) + * Total packet count in this hour (filter: gt) */ - node_class_ends_with?: string; + sum_io_count_gt?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: like) + * Total packet count in this hour (filter: gte) */ - node_class_like?: string; + sum_io_count_gte?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: not_like) + * Total packet count in this hour (filter: between_min) */ - node_class_not_like?: string; + sum_io_count_between_min?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: in_values) (comma-separated list) + * Total packet count in this hour (filter: between_max_value) */ - node_class_in_values?: string; + sum_io_count_between_max_value?: number; /** - * Node classification for filtering (e.g. eip7870) (filter: not_in_values) (comma-separated list) + * Total packet count in this hour (filter: in_values) (comma-separated list) */ - node_class_not_in_values?: string; + sum_io_count_in_values?: string; /** - * The maximum number of fct_node_network_io_by_process to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. + * Total packet count in this hour (filter: not_in_values) (comma-separated list) + */ + sum_io_count_not_in_values?: string; + /** + * Average packet count per slot (filter: eq) + */ + avg_io_count_eq?: number; + /** + * Average packet count per slot (filter: ne) + */ + avg_io_count_ne?: number; + /** + * Average packet count per slot (filter: lt) + */ + avg_io_count_lt?: number; + /** + * Average packet count per slot (filter: lte) + */ + avg_io_count_lte?: number; + /** + * Average packet count per slot (filter: gt) + */ + avg_io_count_gt?: number; + /** + * Average packet count per slot (filter: gte) + */ + avg_io_count_gte?: number; + /** + * Average packet count per slot (filter: between_min) + */ + avg_io_count_between_min?: number; + /** + * Average packet count per slot (filter: between_max_value) + */ + avg_io_count_between_max_value?: number; + /** + * Average packet count per slot (filter: in_values) (comma-separated list) + */ + avg_io_count_in_values?: string; + /** + * Average packet count per slot (filter: not_in_values) (comma-separated list) + */ + avg_io_count_not_in_values?: string; + /** + * The maximum number of fct_node_network_io_hourly to return. If unspecified, at most 100 items will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000. */ page_size?: number; /** - * A page token, received from a previous `ListFctNodeNetworkIoByProcess` call. Provide this to retrieve the subsequent page. + * A page token, received from a previous `ListFctNodeNetworkIoHourly` call. Provide this to retrieve the subsequent page. */ page_token?: string; /** @@ -57342,60 +62924,60 @@ export type FctNodeNetworkIoByProcessServiceListData = { */ order_by?: string; }; - url: '/api/v1/fct_node_network_io_by_process'; + url: '/api/v1/fct_node_network_io_hourly'; }; -export type FctNodeNetworkIoByProcessServiceListErrors = { +export type FctNodeNetworkIoHourlyServiceListErrors = { /** * Default error response */ default: Status; }; -export type FctNodeNetworkIoByProcessServiceListError = - FctNodeNetworkIoByProcessServiceListErrors[keyof FctNodeNetworkIoByProcessServiceListErrors]; +export type FctNodeNetworkIoHourlyServiceListError = + FctNodeNetworkIoHourlyServiceListErrors[keyof FctNodeNetworkIoHourlyServiceListErrors]; -export type FctNodeNetworkIoByProcessServiceListResponses = { +export type FctNodeNetworkIoHourlyServiceListResponses = { /** * OK */ - 200: ListFctNodeNetworkIoByProcessResponse; + 200: ListFctNodeNetworkIoHourlyResponse; }; -export type FctNodeNetworkIoByProcessServiceListResponse = - FctNodeNetworkIoByProcessServiceListResponses[keyof FctNodeNetworkIoByProcessServiceListResponses]; +export type FctNodeNetworkIoHourlyServiceListResponse = + FctNodeNetworkIoHourlyServiceListResponses[keyof FctNodeNetworkIoHourlyServiceListResponses]; -export type FctNodeNetworkIoByProcessServiceGetData = { +export type FctNodeNetworkIoHourlyServiceGetData = { body?: never; path: { /** - * The wall clock time when the slot started + * Start of the hour period */ - wallclock_slot_start_date_time: number; + hour_start_date_time: number; }; query?: never; - url: '/api/v1/fct_node_network_io_by_process/{wallclock_slot_start_date_time}'; + url: '/api/v1/fct_node_network_io_hourly/{hour_start_date_time}'; }; -export type FctNodeNetworkIoByProcessServiceGetErrors = { +export type FctNodeNetworkIoHourlyServiceGetErrors = { /** * Default error response */ default: Status; }; -export type FctNodeNetworkIoByProcessServiceGetError = - FctNodeNetworkIoByProcessServiceGetErrors[keyof FctNodeNetworkIoByProcessServiceGetErrors]; +export type FctNodeNetworkIoHourlyServiceGetError = + FctNodeNetworkIoHourlyServiceGetErrors[keyof FctNodeNetworkIoHourlyServiceGetErrors]; -export type FctNodeNetworkIoByProcessServiceGetResponses = { +export type FctNodeNetworkIoHourlyServiceGetResponses = { /** * OK */ - 200: GetFctNodeNetworkIoByProcessResponse; + 200: GetFctNodeNetworkIoHourlyResponse; }; -export type FctNodeNetworkIoByProcessServiceGetResponse = - FctNodeNetworkIoByProcessServiceGetResponses[keyof FctNodeNetworkIoByProcessServiceGetResponses]; +export type FctNodeNetworkIoHourlyServiceGetResponse = + FctNodeNetworkIoHourlyServiceGetResponses[keyof FctNodeNetworkIoHourlyServiceGetResponses]; export type FctOpcodeGasByOpcodeDailyServiceListData = { body?: never; diff --git a/src/api/zod.gen.ts b/src/api/zod.gen.ts index 99d0f0579..f58917706 100644 --- a/src/api/zod.gen.ts +++ b/src/api/zod.gen.ts @@ -6697,6 +6697,85 @@ export const zFctNodeCpuUtilizationByProcess = z.object({ ), }); +export const zFctNodeCpuUtilizationDaily = z.object({ + avg_core_pct: z.optional(z.number()), + day_start_date: z.optional(z.string()), + hour_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + max_core_pct: z.optional(z.number()), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + min_core_pct: z.optional(z.number()), + node_class: z.optional(z.string()), + p50_core_pct: z.optional(z.number()), + p95_core_pct: z.optional(z.number()), + system_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctNodeCpuUtilizationHourly = z.object({ + avg_core_pct: z.optional(z.number()), + hour_start_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + max_core_pct: z.optional(z.number()), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + min_core_pct: z.optional(z.number()), + node_class: z.optional(z.string()), + p50_core_pct: z.optional(z.number()), + p95_core_pct: z.optional(z.number()), + slot_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + export const zFctNodeDiskIoByProcess = z.object({ client_type: z.optional(z.string()), io_bytes: z.optional(z.number()), @@ -6762,12 +6841,9 @@ export const zFctNodeDiskIoByProcess = z.object({ ), }); -export const zFctNodeMemoryUsageByProcess = z.object({ - client_type: z.optional(z.string()), - meta_client_name: z.optional(z.string()), - meta_network_name: z.optional(z.string()), - node_class: z.optional(z.string()), - pid: z.optional( +export const zFctNodeDiskIoDaily = z.object({ + avg_io_bytes: z.optional(z.number()), + avg_io_ops: z.optional( z .int() .check( @@ -6775,7 +6851,21 @@ export const zFctNodeMemoryUsageByProcess = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes: z.optional( + day_start_date: z.optional(z.string()), + hour_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + rw: z.optional(z.string()), + sum_io_bytes: z.optional(z.number()), + sum_io_ops: z.optional( z.coerce .bigint() .check( @@ -6785,7 +6875,48 @@ export const zFctNodeMemoryUsageByProcess = z.object({ }) ) ), - rss_file_bytes: z.optional( + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctNodeDiskIoHourly = z.object({ + avg_io_bytes: z.optional(z.number()), + avg_io_ops: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + rw: z.optional(z.string()), + slot_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + sum_io_bytes: z.optional(z.number()), + sum_io_ops: z.optional( z.coerce .bigint() .check( @@ -6803,7 +6934,128 @@ export const zFctNodeMemoryUsageByProcess = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes: z.optional( +}); + +export const zFctNodeHostSpec = z.object({ + architecture: z.optional(z.string()), + cpu_base_freq_khz: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_core_type_labels: z.optional(z.array(z.string())), + cpu_core_types: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + cpu_efficiency_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_model: z.optional(z.string()), + cpu_online_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_vendor: z.optional(z.string()), + disk_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models: z.optional(z.array(z.string())), + disk_names: z.optional(z.array(z.string())), + disk_rotational: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + disk_sizes_bytes: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + disk_total_bytes: z.optional( z.coerce .bigint() .check( @@ -6813,7 +7065,48 @@ export const zFctNodeMemoryUsageByProcess = z.object({ }) ) ), - vm_swap_bytes: z.optional( + host_id: z.optional(z.string()), + kernel_release: z.optional(z.string()), + memory_dimm_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_sizes_bytes: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + memory_dimm_speeds_mts: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + memory_dimm_types: z.optional(z.array(z.string())), + memory_speed_mts: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_total_bytes: z.optional( z.coerce .bigint() .check( @@ -6823,7 +7116,12 @@ export const zFctNodeMemoryUsageByProcess = z.object({ }) ) ), - wallclock_slot: z.optional( + memory_type: z.optional(z.string()), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + os_name: z.optional(z.string()), + updated_date_time: z.optional( z .int() .check( @@ -6843,32 +7141,10 @@ export const zFctNodeMemoryUsageByProcess = z.object({ }) ) ), - window_start: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), }); -export const zFctNodeNetworkIoByProcess = z.object({ +export const zFctNodeMemoryUsageByProcess = z.object({ client_type: z.optional(z.string()), - direction: z.optional(z.string()), - io_bytes: z.optional(z.number()), - io_count: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), meta_client_name: z.optional(z.string()), meta_network_name: z.optional(z.string()), node_class: z.optional(z.string()), @@ -6880,7 +7156,26 @@ export const zFctNodeNetworkIoByProcess = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - port_label: z.optional(z.string()), + rss_anon_bytes: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), updated_date_time: z.optional( z .int() @@ -6889,6 +7184,26 @@ export const zFctNodeNetworkIoByProcess = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), + vm_rss_bytes: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), wallclock_slot: z.optional( z .int() @@ -6923,21 +7238,18 @@ export const zFctNodeNetworkIoByProcess = z.object({ ), }); -export const zFctOpcodeGasByOpcodeDaily = z.object({ - avg_count_per_block: z.optional(z.number()), - avg_gas_per_block: z.optional(z.number()), - avg_gas_per_execution: z.optional(z.number()), - block_count: z.optional( - z - .int() +export const zFctNodeMemoryUsageDaily = z.object({ + avg_rss_anon_bytes: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - day_start_date: z.optional(z.string()), - opcode: z.optional(z.string()), - total_count: z.optional( + avg_rss_file_bytes: z.optional( z.coerce .bigint() .check( @@ -6947,7 +7259,7 @@ export const zFctOpcodeGasByOpcodeDaily = z.object({ }) ) ), - total_error_count: z.optional( + avg_vm_rss_bytes: z.optional( z.coerce .bigint() .check( @@ -6957,7 +7269,7 @@ export const zFctOpcodeGasByOpcodeDaily = z.object({ }) ) ), - total_gas: z.optional( + avg_vm_swap_bytes: z.optional( z.coerce .bigint() .check( @@ -6967,7 +7279,8 @@ export const zFctOpcodeGasByOpcodeDaily = z.object({ }) ) ), - updated_date_time: z.optional( + day_start_date: z.optional(z.string()), + hour_count: z.optional( z .int() .check( @@ -6975,21 +7288,30 @@ export const zFctOpcodeGasByOpcodeDaily = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), -}); - -export const zFctOpcodeGasByOpcodeHourly = z.object({ - avg_count_per_block: z.optional(z.number()), - avg_gas_per_block: z.optional(z.number()), - avg_gas_per_execution: z.optional(z.number()), - block_count: z.optional( - z - .int() + max_vm_rss_bytes: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - hour_start_date_time: z.optional( + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + min_vm_rss_bytes: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + node_class: z.optional(z.string()), + updated_date_time: z.optional( z .int() .check( @@ -6997,8 +7319,10 @@ export const zFctOpcodeGasByOpcodeHourly = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - opcode: z.optional(z.string()), - total_count: z.optional( +}); + +export const zFctNodeMemoryUsageHourly = z.object({ + avg_rss_anon_bytes: z.optional( z.coerce .bigint() .check( @@ -7008,7 +7332,7 @@ export const zFctOpcodeGasByOpcodeHourly = z.object({ }) ) ), - total_error_count: z.optional( + avg_rss_file_bytes: z.optional( z.coerce .bigint() .check( @@ -7018,7 +7342,7 @@ export const zFctOpcodeGasByOpcodeHourly = z.object({ }) ) ), - total_gas: z.optional( + avg_vm_rss_bytes: z.optional( z.coerce .bigint() .check( @@ -7028,19 +7352,17 @@ export const zFctOpcodeGasByOpcodeHourly = z.object({ }) ) ), - updated_date_time: z.optional( - z - .int() + avg_vm_swap_bytes: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), -}); - -export const zFctOpcodeOpsDaily = z.object({ - avg_ops: z.optional(z.number()), - block_count: z.optional( + hour_start_date_time: z.optional( z .int() .check( @@ -7048,16 +7370,7 @@ export const zFctOpcodeOpsDaily = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - day_start_date: z.optional(z.string()), - lower_band_ops: z.optional(z.number()), - max_ops: z.optional(z.number()), - min_ops: z.optional(z.number()), - moving_avg_ops: z.optional(z.number()), - p05_ops: z.optional(z.number()), - p50_ops: z.optional(z.number()), - p95_ops: z.optional(z.number()), - stddev_ops: z.optional(z.number()), - total_gas: z.optional( + max_vm_rss_bytes: z.optional( z.coerce .bigint() .check( @@ -7067,7 +7380,9 @@ export const zFctOpcodeOpsDaily = z.object({ }) ) ), - total_opcode_count: z.optional( + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + min_vm_rss_bytes: z.optional( z.coerce .bigint() .check( @@ -7077,7 +7392,8 @@ export const zFctOpcodeOpsDaily = z.object({ }) ) ), - total_seconds: z.optional( + node_class: z.optional(z.string()), + slot_count: z.optional( z .int() .check( @@ -7093,12 +7409,13 @@ export const zFctOpcodeOpsDaily = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - upper_band_ops: z.optional(z.number()), }); -export const zFctOpcodeOpsHourly = z.object({ - avg_ops: z.optional(z.number()), - block_count: z.optional( +export const zFctNodeNetworkIoByProcess = z.object({ + client_type: z.optional(z.string()), + direction: z.optional(z.string()), + io_bytes: z.optional(z.number()), + io_count: z.optional( z .int() .check( @@ -7106,7 +7423,10 @@ export const zFctOpcodeOpsHourly = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - hour_start_date_time: z.optional( + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + pid: z.optional( z .int() .check( @@ -7114,35 +7434,52 @@ export const zFctOpcodeOpsHourly = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - lower_band_ops: z.optional(z.number()), - max_ops: z.optional(z.number()), - min_ops: z.optional(z.number()), - moving_avg_ops: z.optional(z.number()), - p05_ops: z.optional(z.number()), - p50_ops: z.optional(z.number()), - p95_ops: z.optional(z.number()), - stddev_ops: z.optional(z.number()), - total_gas: z.optional( + port_label: z.optional(z.string()), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_start_date_time: z.optional( z.coerce .bigint() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', }) ) ), - total_opcode_count: z.optional( + window_start: z.optional( z.coerce .bigint() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', }) ) ), - total_seconds: z.optional( +}); + +export const zFctNodeNetworkIoDaily = z.object({ + avg_io_bytes: z.optional(z.number()), + avg_io_count: z.optional( z .int() .check( @@ -7150,7 +7487,9 @@ export const zFctOpcodeOpsHourly = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - updated_date_time: z.optional( + day_start_date: z.optional(z.string()), + direction: z.optional(z.string()), + hour_count: z.optional( z .int() .check( @@ -7158,22 +7497,334 @@ export const zFctOpcodeOpsHourly = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - upper_band_ops: z.optional(z.number()), -}); - -export const zFctPreparedBlock = z.object({ - block_total_bytes: z.optional( - z.union([ - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ), - z.null(), - ]) - ), - block_total_bytes_compressed: z.optional( + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + port_label: z.optional(z.string()), + sum_io_bytes: z.optional(z.number()), + sum_io_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctNodeNetworkIoHourly = z.object({ + avg_io_bytes: z.optional(z.number()), + avg_io_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + direction: z.optional(z.string()), + hour_start_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + meta_client_name: z.optional(z.string()), + meta_network_name: z.optional(z.string()), + node_class: z.optional(z.string()), + port_label: z.optional(z.string()), + slot_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + sum_io_bytes: z.optional(z.number()), + sum_io_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctOpcodeGasByOpcodeDaily = z.object({ + avg_count_per_block: z.optional(z.number()), + avg_gas_per_block: z.optional(z.number()), + avg_gas_per_execution: z.optional(z.number()), + block_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + day_start_date: z.optional(z.string()), + opcode: z.optional(z.string()), + total_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_error_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_gas: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctOpcodeGasByOpcodeHourly = z.object({ + avg_count_per_block: z.optional(z.number()), + avg_gas_per_block: z.optional(z.number()), + avg_gas_per_execution: z.optional(z.number()), + block_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + opcode: z.optional(z.string()), + total_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_error_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_gas: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), +}); + +export const zFctOpcodeOpsDaily = z.object({ + avg_ops: z.optional(z.number()), + block_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + day_start_date: z.optional(z.string()), + lower_band_ops: z.optional(z.number()), + max_ops: z.optional(z.number()), + min_ops: z.optional(z.number()), + moving_avg_ops: z.optional(z.number()), + p05_ops: z.optional(z.number()), + p50_ops: z.optional(z.number()), + p95_ops: z.optional(z.number()), + stddev_ops: z.optional(z.number()), + total_gas: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_opcode_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_seconds: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + upper_band_ops: z.optional(z.number()), +}); + +export const zFctOpcodeOpsHourly = z.object({ + avg_ops: z.optional(z.number()), + block_count: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + lower_band_ops: z.optional(z.number()), + max_ops: z.optional(z.number()), + min_ops: z.optional(z.number()), + moving_avg_ops: z.optional(z.number()), + p05_ops: z.optional(z.number()), + p50_ops: z.optional(z.number()), + p95_ops: z.optional(z.number()), + stddev_ops: z.optional(z.number()), + total_gas: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_opcode_count: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + total_seconds: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + upper_band_ops: z.optional(z.number()), +}); + +export const zFctPreparedBlock = z.object({ + block_total_bytes: z.optional( + z.union([ + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ), + z.null(), + ]) + ), + block_total_bytes_compressed: z.optional( z.union([ z .int() @@ -8881,6 +9532,20 @@ export const zGetFctNodeCpuUtilizationByProcessResponse = z.object({ item: z.optional(zFctNodeCpuUtilizationByProcess), }); +/** + * Response for getting a single fct_node_cpu_utilization_daily record + */ +export const zGetFctNodeCpuUtilizationDailyResponse = z.object({ + item: z.optional(zFctNodeCpuUtilizationDaily), +}); + +/** + * Response for getting a single fct_node_cpu_utilization_hourly record + */ +export const zGetFctNodeCpuUtilizationHourlyResponse = z.object({ + item: z.optional(zFctNodeCpuUtilizationHourly), +}); + /** * Response for getting a single fct_node_disk_io_by_process record */ @@ -8888,6 +9553,27 @@ export const zGetFctNodeDiskIoByProcessResponse = z.object({ item: z.optional(zFctNodeDiskIoByProcess), }); +/** + * Response for getting a single fct_node_disk_io_daily record + */ +export const zGetFctNodeDiskIoDailyResponse = z.object({ + item: z.optional(zFctNodeDiskIoDaily), +}); + +/** + * Response for getting a single fct_node_disk_io_hourly record + */ +export const zGetFctNodeDiskIoHourlyResponse = z.object({ + item: z.optional(zFctNodeDiskIoHourly), +}); + +/** + * Response for getting a single fct_node_host_spec record + */ +export const zGetFctNodeHostSpecResponse = z.object({ + item: z.optional(zFctNodeHostSpec), +}); + /** * Response for getting a single fct_node_memory_usage_by_process record */ @@ -8895,6 +9581,20 @@ export const zGetFctNodeMemoryUsageByProcessResponse = z.object({ item: z.optional(zFctNodeMemoryUsageByProcess), }); +/** + * Response for getting a single fct_node_memory_usage_daily record + */ +export const zGetFctNodeMemoryUsageDailyResponse = z.object({ + item: z.optional(zFctNodeMemoryUsageDaily), +}); + +/** + * Response for getting a single fct_node_memory_usage_hourly record + */ +export const zGetFctNodeMemoryUsageHourlyResponse = z.object({ + item: z.optional(zFctNodeMemoryUsageHourly), +}); + /** * Response for getting a single fct_node_network_io_by_process record */ @@ -8902,6 +9602,20 @@ export const zGetFctNodeNetworkIoByProcessResponse = z.object({ item: z.optional(zFctNodeNetworkIoByProcess), }); +/** + * Response for getting a single fct_node_network_io_daily record + */ +export const zGetFctNodeNetworkIoDailyResponse = z.object({ + item: z.optional(zFctNodeNetworkIoDaily), +}); + +/** + * Response for getting a single fct_node_network_io_hourly record + */ +export const zGetFctNodeNetworkIoHourlyResponse = z.object({ + item: z.optional(zFctNodeNetworkIoHourly), +}); + /** * Response for getting a single fct_opcode_gas_by_opcode_daily record */ @@ -14060,6 +14774,22 @@ export const zListFctNodeCpuUtilizationByProcessResponse = z.object({ next_page_token: z.optional(z.string()), }); +/** + * Response for listing fct_node_cpu_utilization_daily records + */ +export const zListFctNodeCpuUtilizationDailyResponse = z.object({ + fct_node_cpu_utilization_daily: z.optional(z.array(zFctNodeCpuUtilizationDaily)), + next_page_token: z.optional(z.string()), +}); + +/** + * Response for listing fct_node_cpu_utilization_hourly records + */ +export const zListFctNodeCpuUtilizationHourlyResponse = z.object({ + fct_node_cpu_utilization_hourly: z.optional(z.array(zFctNodeCpuUtilizationHourly)), + next_page_token: z.optional(z.string()), +}); + /** * Response for listing fct_node_disk_io_by_process records */ @@ -14068,6 +14798,30 @@ export const zListFctNodeDiskIoByProcessResponse = z.object({ next_page_token: z.optional(z.string()), }); +/** + * Response for listing fct_node_disk_io_daily records + */ +export const zListFctNodeDiskIoDailyResponse = z.object({ + fct_node_disk_io_daily: z.optional(z.array(zFctNodeDiskIoDaily)), + next_page_token: z.optional(z.string()), +}); + +/** + * Response for listing fct_node_disk_io_hourly records + */ +export const zListFctNodeDiskIoHourlyResponse = z.object({ + fct_node_disk_io_hourly: z.optional(z.array(zFctNodeDiskIoHourly)), + next_page_token: z.optional(z.string()), +}); + +/** + * Response for listing fct_node_host_spec records + */ +export const zListFctNodeHostSpecResponse = z.object({ + fct_node_host_spec: z.optional(z.array(zFctNodeHostSpec)), + next_page_token: z.optional(z.string()), +}); + /** * Response for listing fct_node_memory_usage_by_process records */ @@ -14076,6 +14830,22 @@ export const zListFctNodeMemoryUsageByProcessResponse = z.object({ next_page_token: z.optional(z.string()), }); +/** + * Response for listing fct_node_memory_usage_daily records + */ +export const zListFctNodeMemoryUsageDailyResponse = z.object({ + fct_node_memory_usage_daily: z.optional(z.array(zFctNodeMemoryUsageDaily)), + next_page_token: z.optional(z.string()), +}); + +/** + * Response for listing fct_node_memory_usage_hourly records + */ +export const zListFctNodeMemoryUsageHourlyResponse = z.object({ + fct_node_memory_usage_hourly: z.optional(z.array(zFctNodeMemoryUsageHourly)), + next_page_token: z.optional(z.string()), +}); + /** * Response for listing fct_node_network_io_by_process records */ @@ -14084,6 +14854,22 @@ export const zListFctNodeNetworkIoByProcessResponse = z.object({ next_page_token: z.optional(z.string()), }); +/** + * Response for listing fct_node_network_io_daily records + */ +export const zListFctNodeNetworkIoDailyResponse = z.object({ + fct_node_network_io_daily: z.optional(z.array(zFctNodeNetworkIoDaily)), + next_page_token: z.optional(z.string()), +}); + +/** + * Response for listing fct_node_network_io_hourly records + */ +export const zListFctNodeNetworkIoHourlyResponse = z.object({ + fct_node_network_io_hourly: z.optional(z.array(zFctNodeNetworkIoHourly)), + next_page_token: z.optional(z.string()), +}); + /** * Response for listing fct_opcode_gas_by_opcode_daily records */ @@ -69782,109 +70568,20 @@ export const zFctNodeCpuUtilizationByProcessServiceGetData = z.object({ */ export const zFctNodeCpuUtilizationByProcessServiceGetResponse = zGetFctNodeCpuUtilizationByProcessResponse; -export const zFctNodeDiskIoByProcessServiceListData = z.object({ +export const zFctNodeCpuUtilizationDailyServiceListData = z.object({ body: z.optional(z.never()), path: z.optional(z.never()), query: z.optional( z.object({ - wallclock_slot_start_date_time_eq: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_ne: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_lt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_lte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_gt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_gte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_between_min: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_between_max_value: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), - wallclock_slot_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + day_start_date_eq: z.optional(z.string()), + day_start_date_ne: z.optional(z.string()), + day_start_date_contains: z.optional(z.string()), + day_start_date_starts_with: z.optional(z.string()), + day_start_date_ends_with: z.optional(z.string()), + day_start_date_like: z.optional(z.string()), + day_start_date_not_like: z.optional(z.string()), + day_start_date_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + day_start_date_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), meta_client_name_eq: z.optional(z.string()), meta_client_name_ne: z.optional(z.string()), meta_client_name_contains: z.optional(z.string()), @@ -69894,188 +70591,3954 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ meta_client_name_not_like: z.optional(z.string()), meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - client_type_eq: z.optional(z.string()), - client_type_ne: z.optional(z.string()), - client_type_contains: z.optional(z.string()), - client_type_starts_with: z.optional(z.string()), - client_type_ends_with: z.optional(z.string()), - client_type_like: z.optional(z.string()), - client_type_not_like: z.optional(z.string()), - client_type_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - client_type_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - pid_eq: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_ne: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_lt: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_lte: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_gt: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_gte: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_between_min: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_between_max_value: z.optional( - z - .int() - .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) - ) - ), - pid_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - pid_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - rw_eq: z.optional(z.string()), - rw_ne: z.optional(z.string()), - rw_contains: z.optional(z.string()), - rw_starts_with: z.optional(z.string()), - rw_ends_with: z.optional(z.string()), - rw_like: z.optional(z.string()), - rw_not_like: z.optional(z.string()), - rw_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - rw_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - window_start_eq: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_ne: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_lt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_lte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_gt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_gte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_between_min: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_between_max_value: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), - window_start_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + system_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + system_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_core_pct_value: z.optional(z.number()), + min_core_pct_value: z.optional(z.number()), + max_core_pct_value: z.optional(z.number()), + p50_core_pct_value: z.optional(z.number()), + p95_core_pct_value: z.optional(z.number()), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeCpuUtilizationDailyServiceListResponse = zListFctNodeCpuUtilizationDailyResponse; + +export const zFctNodeCpuUtilizationDailyServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + day_start_date: z.string(), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeCpuUtilizationDailyServiceGetResponse = zGetFctNodeCpuUtilizationDailyResponse; + +export const zFctNodeCpuUtilizationHourlyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + hour_start_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + system_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + system_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + system_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + slot_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + slot_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_core_pct_value: z.optional(z.number()), + min_core_pct_value: z.optional(z.number()), + max_core_pct_value: z.optional(z.number()), + p50_core_pct_value: z.optional(z.number()), + p95_core_pct_value: z.optional(z.number()), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeCpuUtilizationHourlyServiceListResponse = zListFctNodeCpuUtilizationHourlyResponse; + +export const zFctNodeCpuUtilizationHourlyServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + hour_start_date_time: z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeCpuUtilizationHourlyServiceGetResponse = zGetFctNodeCpuUtilizationHourlyResponse; + +export const zFctNodeDiskIoByProcessServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + wallclock_slot_start_date_time_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + wallclock_slot_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + client_type_eq: z.optional(z.string()), + client_type_ne: z.optional(z.string()), + client_type_contains: z.optional(z.string()), + client_type_starts_with: z.optional(z.string()), + client_type_ends_with: z.optional(z.string()), + client_type_like: z.optional(z.string()), + client_type_not_like: z.optional(z.string()), + client_type_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + client_type_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + pid_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + pid_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + rw_eq: z.optional(z.string()), + rw_ne: z.optional(z.string()), + rw_contains: z.optional(z.string()), + rw_starts_with: z.optional(z.string()), + rw_ends_with: z.optional(z.string()), + rw_like: z.optional(z.string()), + rw_not_like: z.optional(z.string()), + rw_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + rw_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + window_start_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + window_start_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + wallclock_slot_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + wallclock_slot_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + io_bytes_value: z.optional(z.number()), + io_ops_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeDiskIoByProcessServiceListResponse = zListFctNodeDiskIoByProcessResponse; + +export const zFctNodeDiskIoByProcessServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + wallclock_slot_start_date_time: z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeDiskIoByProcessServiceGetResponse = zGetFctNodeDiskIoByProcessResponse; + +export const zFctNodeDiskIoDailyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + day_start_date_eq: z.optional(z.string()), + day_start_date_ne: z.optional(z.string()), + day_start_date_contains: z.optional(z.string()), + day_start_date_starts_with: z.optional(z.string()), + day_start_date_ends_with: z.optional(z.string()), + day_start_date_like: z.optional(z.string()), + day_start_date_not_like: z.optional(z.string()), + day_start_date_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + day_start_date_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + rw_eq: z.optional(z.string()), + rw_ne: z.optional(z.string()), + rw_contains: z.optional(z.string()), + rw_starts_with: z.optional(z.string()), + rw_ends_with: z.optional(z.string()), + rw_like: z.optional(z.string()), + rw_not_like: z.optional(z.string()), + rw_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + rw_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + hour_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_bytes_value: z.optional(z.number()), + avg_io_bytes_value: z.optional(z.number()), + sum_io_ops_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_ops_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeDiskIoDailyServiceListResponse = zListFctNodeDiskIoDailyResponse; + +export const zFctNodeDiskIoDailyServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + day_start_date: z.string(), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeDiskIoDailyServiceGetResponse = zGetFctNodeDiskIoDailyResponse; + +export const zFctNodeDiskIoHourlyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + hour_start_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + rw_eq: z.optional(z.string()), + rw_ne: z.optional(z.string()), + rw_contains: z.optional(z.string()), + rw_starts_with: z.optional(z.string()), + rw_ends_with: z.optional(z.string()), + rw_like: z.optional(z.string()), + rw_not_like: z.optional(z.string()), + rw_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + rw_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + slot_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + slot_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_bytes_value: z.optional(z.number()), + avg_io_bytes_value: z.optional(z.number()), + sum_io_ops_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_ops_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeDiskIoHourlyServiceListResponse = zListFctNodeDiskIoHourlyResponse; + +export const zFctNodeDiskIoHourlyServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + hour_start_date_time: z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeDiskIoHourlyServiceGetResponse = zGetFctNodeDiskIoHourlyResponse; + +export const zFctNodeHostSpecServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + wallclock_slot_start_date_time_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + wallclock_slot_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + host_id_eq: z.optional(z.string()), + host_id_ne: z.optional(z.string()), + host_id_contains: z.optional(z.string()), + host_id_starts_with: z.optional(z.string()), + host_id_ends_with: z.optional(z.string()), + host_id_like: z.optional(z.string()), + host_id_not_like: z.optional(z.string()), + host_id_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + host_id_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + kernel_release_eq: z.optional(z.string()), + kernel_release_ne: z.optional(z.string()), + kernel_release_contains: z.optional(z.string()), + kernel_release_starts_with: z.optional(z.string()), + kernel_release_ends_with: z.optional(z.string()), + kernel_release_like: z.optional(z.string()), + kernel_release_not_like: z.optional(z.string()), + kernel_release_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + kernel_release_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + os_name_eq: z.optional(z.string()), + os_name_ne: z.optional(z.string()), + os_name_contains: z.optional(z.string()), + os_name_starts_with: z.optional(z.string()), + os_name_ends_with: z.optional(z.string()), + os_name_like: z.optional(z.string()), + os_name_not_like: z.optional(z.string()), + os_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + os_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + architecture_eq: z.optional(z.string()), + architecture_ne: z.optional(z.string()), + architecture_contains: z.optional(z.string()), + architecture_starts_with: z.optional(z.string()), + architecture_ends_with: z.optional(z.string()), + architecture_like: z.optional(z.string()), + architecture_not_like: z.optional(z.string()), + architecture_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + architecture_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + cpu_model_eq: z.optional(z.string()), + cpu_model_ne: z.optional(z.string()), + cpu_model_contains: z.optional(z.string()), + cpu_model_starts_with: z.optional(z.string()), + cpu_model_ends_with: z.optional(z.string()), + cpu_model_like: z.optional(z.string()), + cpu_model_not_like: z.optional(z.string()), + cpu_model_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + cpu_model_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + cpu_vendor_eq: z.optional(z.string()), + cpu_vendor_ne: z.optional(z.string()), + cpu_vendor_contains: z.optional(z.string()), + cpu_vendor_starts_with: z.optional(z.string()), + cpu_vendor_ends_with: z.optional(z.string()), + cpu_vendor_like: z.optional(z.string()), + cpu_vendor_not_like: z.optional(z.string()), + cpu_vendor_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + cpu_vendor_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + cpu_online_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_online_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_online_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_logical_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_logical_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_logical_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_physical_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_physical_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_physical_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_performance_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_performance_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_performance_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_efficiency_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_efficiency_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_efficiency_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_unknown_type_cores_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_unknown_type_cores_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_unknown_type_cores_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + cpu_core_types_has: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_types_has_all_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + cpu_core_types_has_any_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + cpu_core_types_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_types_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_types_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_types_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_types_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_type_labels_has: z.optional(z.string()), + cpu_core_type_labels_has_all_values: z.optional(z.array(z.string())), + cpu_core_type_labels_has_any_values: z.optional(z.array(z.string())), + cpu_core_type_labels_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_type_labels_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_type_labels_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_type_labels_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_core_type_labels_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz_has: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + cpu_max_freq_khz_has_all_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_max_freq_khz_has_any_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_max_freq_khz_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_max_freq_khz_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_base_freq_khz_has: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + cpu_base_freq_khz_has_all_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_base_freq_khz_has_any_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + cpu_base_freq_khz_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_base_freq_khz_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_base_freq_khz_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_base_freq_khz_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + cpu_base_freq_khz_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_total_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_total_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_total_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_type_eq: z.optional(z.string()), + memory_type_ne: z.optional(z.string()), + memory_type_contains: z.optional(z.string()), + memory_type_starts_with: z.optional(z.string()), + memory_type_ends_with: z.optional(z.string()), + memory_type_like: z.optional(z.string()), + memory_type_not_like: z.optional(z.string()), + memory_type_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + memory_type_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + memory_speed_mts_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_speed_mts_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_speed_mts_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_dimm_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_dimm_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + memory_dimm_sizes_bytes_has: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + memory_dimm_sizes_bytes_has_all_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + memory_dimm_sizes_bytes_has_any_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + memory_dimm_sizes_bytes_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_sizes_bytes_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_sizes_bytes_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_sizes_bytes_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_sizes_bytes_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_types_has: z.optional(z.string()), + memory_dimm_types_has_all_values: z.optional(z.array(z.string())), + memory_dimm_types_has_any_values: z.optional(z.array(z.string())), + memory_dimm_types_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_types_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_types_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_types_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_types_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_has: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_has_all_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + memory_dimm_speeds_mts_has_any_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + memory_dimm_speeds_mts_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + memory_dimm_speeds_mts_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + disk_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + disk_total_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_total_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + disk_total_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + disk_names_has: z.optional(z.string()), + disk_names_has_all_values: z.optional(z.array(z.string())), + disk_names_has_any_values: z.optional(z.array(z.string())), + disk_names_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_names_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_names_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_names_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_names_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models_has: z.optional(z.string()), + disk_models_has_all_values: z.optional(z.array(z.string())), + disk_models_has_any_values: z.optional(z.array(z.string())), + disk_models_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_models_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_sizes_bytes_has: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + disk_sizes_bytes_has_all_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + disk_sizes_bytes_has_any_values: z.optional( + z.array( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ) + ), + disk_sizes_bytes_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_sizes_bytes_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_sizes_bytes_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_sizes_bytes_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_sizes_bytes_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_has: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_has_all_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + disk_rotational_has_any_values: z.optional( + z.array( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ) + ), + disk_rotational_length_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_length_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_length_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_length_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + disk_rotational_length_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeHostSpecServiceListResponse = zListFctNodeHostSpecResponse; + +export const zFctNodeHostSpecServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + wallclock_slot_start_date_time: z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeHostSpecServiceGetResponse = zGetFctNodeHostSpecResponse; + +export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + wallclock_slot_start_date_time_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + wallclock_slot_start_date_time_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + wallclock_slot_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + client_type_eq: z.optional(z.string()), + client_type_ne: z.optional(z.string()), + client_type_contains: z.optional(z.string()), + client_type_starts_with: z.optional(z.string()), + client_type_ends_with: z.optional(z.string()), + client_type_like: z.optional(z.string()), + client_type_not_like: z.optional(z.string()), + client_type_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + client_type_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + pid_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + pid_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + pid_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + window_start_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ) + ), + window_start_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), + window_start_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), updated_date_time_eq: z.optional( z .int() @@ -70150,7 +74613,1178 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_ne: z.optional( + wallclock_slot_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + wallclock_slot_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + wallclock_slot_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + rss_anon_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_anon_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + rss_anon_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + rss_file_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + rss_file_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + rss_file_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + vm_swap_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + vm_swap_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + vm_swap_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeMemoryUsageByProcessServiceListResponse = zListFctNodeMemoryUsageByProcessResponse; + +export const zFctNodeMemoryUsageByProcessServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + wallclock_slot_start_date_time: z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeMemoryUsageByProcessServiceGetResponse = zGetFctNodeMemoryUsageByProcessResponse; + +export const zFctNodeMemoryUsageDailyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + day_start_date_eq: z.optional(z.string()), + day_start_date_ne: z.optional(z.string()), + day_start_date_contains: z.optional(z.string()), + day_start_date_starts_with: z.optional(z.string()), + day_start_date_ends_with: z.optional(z.string()), + day_start_date_like: z.optional(z.string()), + day_start_date_not_like: z.optional(z.string()), + day_start_date_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + day_start_date_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + hour_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + min_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + min_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + max_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + max_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_anon_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_anon_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_file_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_file_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_swap_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_swap_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + page_size: z.optional( + z + .int() + .check( + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) + ) + ), + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeMemoryUsageDailyServiceListResponse = zListFctNodeMemoryUsageDailyResponse; + +export const zFctNodeMemoryUsageDailyServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + day_start_date: z.string(), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeMemoryUsageDailyServiceGetResponse = zGetFctNodeMemoryUsageDailyResponse; + +export const zFctNodeMemoryUsageHourlyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + hour_start_date_time_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_start_date_time_lte: z.optional( z .int() .check( @@ -70158,7 +75792,7 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_lt: z.optional( + hour_start_date_time_gt: z.optional( z .int() .check( @@ -70166,7 +75800,7 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_lte: z.optional( + hour_start_date_time_gte: z.optional( z .int() .check( @@ -70174,7 +75808,7 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_gt: z.optional( + hour_start_date_time_between_min: z.optional( z .int() .check( @@ -70182,7 +75816,7 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_gte: z.optional( + hour_start_date_time_between_max_value: z.optional( z .int() .check( @@ -70190,7 +75824,18 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_between_min: z.optional( + hour_start_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( z .int() .check( @@ -70198,7 +75843,7 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_between_max_value: z.optional( + updated_date_time_ne: z.optional( z .int() .check( @@ -70206,8 +75851,56 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - wallclock_slot_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), meta_network_name_eq: z.optional(z.string()), meta_network_name_ne: z.optional(z.string()), meta_network_name_contains: z.optional(z.string()), @@ -70217,8 +75910,72 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ meta_network_name_not_like: z.optional(z.string()), meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - io_bytes_value: z.optional(z.number()), - io_ops_eq: z.optional( + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + slot_count_eq: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + slot_count_between_max_value: z.optional( z .int() .check( @@ -70226,73 +75983,500 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_ops_ne: z.optional( - z - .int() + slot_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + slot_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + min_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + min_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + min_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + max_vm_rss_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + max_vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + max_vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_anon_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_anon_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_anon_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_file_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_rss_file_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_rss_file_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_swap_bytes_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + avg_vm_swap_bytes_ne: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_lt: z.optional( - z - .int() + avg_vm_swap_bytes_lt: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_lte: z.optional( - z - .int() + avg_vm_swap_bytes_lte: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_gt: z.optional( - z - .int() + avg_vm_swap_bytes_gt: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_gte: z.optional( - z - .int() + avg_vm_swap_bytes_gte: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_between_min: z.optional( - z - .int() + avg_vm_swap_bytes_between_min: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_between_max_value: z.optional( - z - .int() + avg_vm_swap_bytes_between_max_value: z.optional( + z.coerce + .bigint() .check( - z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), - z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) ) ), - io_ops_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - io_ops_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - node_class_eq: z.optional(z.string()), - node_class_ne: z.optional(z.string()), - node_class_contains: z.optional(z.string()), - node_class_starts_with: z.optional(z.string()), - node_class_ends_with: z.optional(z.string()), - node_class_like: z.optional(z.string()), - node_class_not_like: z.optional(z.string()), - node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + avg_vm_swap_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_vm_swap_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), page_size: z.optional( z .int() @@ -70310,20 +76494,16 @@ export const zFctNodeDiskIoByProcessServiceListData = z.object({ /** * OK */ -export const zFctNodeDiskIoByProcessServiceListResponse = zListFctNodeDiskIoByProcessResponse; +export const zFctNodeMemoryUsageHourlyServiceListResponse = zListFctNodeMemoryUsageHourlyResponse; -export const zFctNodeDiskIoByProcessServiceGetData = z.object({ +export const zFctNodeMemoryUsageHourlyServiceGetData = z.object({ body: z.optional(z.never()), path: z.object({ - wallclock_slot_start_date_time: z.coerce - .bigint() + hour_start_date_time: z + .int() .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ), }), query: z.optional(z.never()), @@ -70332,9 +76512,9 @@ export const zFctNodeDiskIoByProcessServiceGetData = z.object({ /** * OK */ -export const zFctNodeDiskIoByProcessServiceGetResponse = zGetFctNodeDiskIoByProcessResponse; +export const zFctNodeMemoryUsageHourlyServiceGetResponse = zGetFctNodeMemoryUsageHourlyResponse; -export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ +export const zFctNodeNetworkIoByProcessServiceListData = z.object({ body: z.optional(z.never()), path: z.optional(z.never()), query: z.optional( @@ -70521,6 +76701,24 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ ), pid_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), pid_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + port_label_eq: z.optional(z.string()), + port_label_ne: z.optional(z.string()), + port_label_contains: z.optional(z.string()), + port_label_starts_with: z.optional(z.string()), + port_label_ends_with: z.optional(z.string()), + port_label_like: z.optional(z.string()), + port_label_not_like: z.optional(z.string()), + port_label_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + port_label_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + direction_eq: z.optional(z.string()), + direction_ne: z.optional(z.string()), + direction_contains: z.optional(z.string()), + direction_starts_with: z.optional(z.string()), + direction_ends_with: z.optional(z.string()), + direction_like: z.optional(z.string()), + direction_not_like: z.optional(z.string()), + direction_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + direction_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), window_start_eq: z.optional( z.coerce .bigint() @@ -70760,191 +76958,317 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ meta_network_name_not_like: z.optional(z.string()), meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - vm_rss_bytes_eq: z.optional( - z.coerce - .bigint() + io_bytes_value: z.optional(z.number()), + io_count_eq: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_ne: z.optional( - z.coerce - .bigint() + io_count_ne: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_lt: z.optional( - z.coerce - .bigint() + io_count_lt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_lte: z.optional( - z.coerce - .bigint() + io_count_lte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_gt: z.optional( - z.coerce - .bigint() + io_count_gt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_gte: z.optional( - z.coerce - .bigint() + io_count_gte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_between_min: z.optional( - z.coerce - .bigint() + io_count_between_min: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_between_max_value: z.optional( - z.coerce - .bigint() + io_count_between_max_value: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_rss_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - vm_rss_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - rss_anon_bytes_eq: z.optional( - z.coerce - .bigint() + io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + page_size: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(-2147483648, { error: 'Invalid value: Expected int32 to be >= -2147483648' }), + z.maximum(2147483647, { error: 'Invalid value: Expected int32 to be <= 2147483647' }) ) ), - rss_anon_bytes_ne: z.optional( - z.coerce - .bigint() + page_token: z.optional(z.string()), + order_by: z.optional(z.string()), + }) + ), +}); + +/** + * OK + */ +export const zFctNodeNetworkIoByProcessServiceListResponse = zListFctNodeNetworkIoByProcessResponse; + +export const zFctNodeNetworkIoByProcessServiceGetData = z.object({ + body: z.optional(z.never()), + path: z.object({ + wallclock_slot_start_date_time: z.coerce + .bigint() + .check( + z.minimum(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808', + }), + z.maximum(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807', + }) + ), + }), + query: z.optional(z.never()), +}); + +/** + * OK + */ +export const zFctNodeNetworkIoByProcessServiceGetResponse = zGetFctNodeNetworkIoByProcessResponse; + +export const zFctNodeNetworkIoDailyServiceListData = z.object({ + body: z.optional(z.never()), + path: z.optional(z.never()), + query: z.optional( + z.object({ + day_start_date_eq: z.optional(z.string()), + day_start_date_ne: z.optional(z.string()), + day_start_date_contains: z.optional(z.string()), + day_start_date_starts_with: z.optional(z.string()), + day_start_date_ends_with: z.optional(z.string()), + day_start_date_like: z.optional(z.string()), + day_start_date_not_like: z.optional(z.string()), + day_start_date_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + day_start_date_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + port_label_eq: z.optional(z.string()), + port_label_ne: z.optional(z.string()), + port_label_contains: z.optional(z.string()), + port_label_starts_with: z.optional(z.string()), + port_label_ends_with: z.optional(z.string()), + port_label_like: z.optional(z.string()), + port_label_not_like: z.optional(z.string()), + port_label_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + port_label_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + direction_eq: z.optional(z.string()), + direction_ne: z.optional(z.string()), + direction_contains: z.optional(z.string()), + direction_starts_with: z.optional(z.string()), + direction_ends_with: z.optional(z.string()), + direction_like: z.optional(z.string()), + direction_not_like: z.optional(z.string()), + direction_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + direction_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + updated_date_time_eq: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_lt: z.optional( - z.coerce - .bigint() + updated_date_time_ne: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_lte: z.optional( - z.coerce - .bigint() + updated_date_time_lt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_gt: z.optional( - z.coerce - .bigint() + updated_date_time_lte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_gte: z.optional( - z.coerce - .bigint() + updated_date_time_gt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_between_min: z.optional( - z.coerce - .bigint() + updated_date_time_gte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_between_max_value: z.optional( - z.coerce - .bigint() + updated_date_time_between_min: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_anon_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - rss_anon_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - rss_file_bytes_eq: z.optional( - z.coerce - .bigint() + updated_date_time_between_max_value: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_file_bytes_ne: z.optional( - z.coerce - .bigint() + updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + hour_count_eq: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - rss_file_bytes_lt: z.optional( + hour_count_ne: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_lte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gt: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_gte: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + hour_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_bytes_value: z.optional(z.number()), + avg_io_bytes_value: z.optional(z.number()), + sum_io_count_eq: z.optional( z.coerce .bigint() .check( @@ -70954,7 +77278,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_lte: z.optional( + sum_io_count_ne: z.optional( z.coerce .bigint() .check( @@ -70964,7 +77288,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_gt: z.optional( + sum_io_count_lt: z.optional( z.coerce .bigint() .check( @@ -70974,7 +77298,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_gte: z.optional( + sum_io_count_lte: z.optional( z.coerce .bigint() .check( @@ -70984,7 +77308,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_between_min: z.optional( + sum_io_count_gt: z.optional( z.coerce .bigint() .check( @@ -70994,7 +77318,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_between_max_value: z.optional( + sum_io_count_gte: z.optional( z.coerce .bigint() .check( @@ -71004,9 +77328,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - rss_file_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - rss_file_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - vm_swap_bytes_eq: z.optional( + sum_io_count_between_min: z.optional( z.coerce .bigint() .check( @@ -71016,7 +77338,7 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - vm_swap_bytes_ne: z.optional( + sum_io_count_between_max_value: z.optional( z.coerce .bigint() .check( @@ -71026,77 +77348,74 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ }) ) ), - vm_swap_bytes_lt: z.optional( - z.coerce - .bigint() + sum_io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_count_eq: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_lte: z.optional( - z.coerce - .bigint() + avg_io_count_ne: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_gt: z.optional( - z.coerce - .bigint() + avg_io_count_lt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_gte: z.optional( - z.coerce - .bigint() + avg_io_count_lte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_between_min: z.optional( - z.coerce - .bigint() + avg_io_count_gt: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_between_max_value: z.optional( - z.coerce - .bigint() + avg_io_count_gte: z.optional( + z + .int() .check( - z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), - z.maximum(BigInt('18446744073709551615'), { - error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - vm_swap_bytes_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - vm_swap_bytes_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - node_class_eq: z.optional(z.string()), - node_class_ne: z.optional(z.string()), - node_class_contains: z.optional(z.string()), - node_class_starts_with: z.optional(z.string()), - node_class_ends_with: z.optional(z.string()), - node_class_like: z.optional(z.string()), - node_class_not_like: z.optional(z.string()), - node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + avg_io_count_between_min: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_count_between_max_value: z.optional( + z + .int() + .check( + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) + ) + ), + avg_io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), page_size: z.optional( z .int() @@ -71114,21 +77433,12 @@ export const zFctNodeMemoryUsageByProcessServiceListData = z.object({ /** * OK */ -export const zFctNodeMemoryUsageByProcessServiceListResponse = zListFctNodeMemoryUsageByProcessResponse; +export const zFctNodeNetworkIoDailyServiceListResponse = zListFctNodeNetworkIoDailyResponse; -export const zFctNodeMemoryUsageByProcessServiceGetData = z.object({ +export const zFctNodeNetworkIoDailyServiceGetData = z.object({ body: z.optional(z.never()), path: z.object({ - wallclock_slot_start_date_time: z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ), + day_start_date: z.string(), }), query: z.optional(z.never()), }); @@ -71136,130 +77446,14 @@ export const zFctNodeMemoryUsageByProcessServiceGetData = z.object({ /** * OK */ -export const zFctNodeMemoryUsageByProcessServiceGetResponse = zGetFctNodeMemoryUsageByProcessResponse; +export const zFctNodeNetworkIoDailyServiceGetResponse = zGetFctNodeNetworkIoDailyResponse; -export const zFctNodeNetworkIoByProcessServiceListData = z.object({ +export const zFctNodeNetworkIoHourlyServiceListData = z.object({ body: z.optional(z.never()), path: z.optional(z.never()), query: z.optional( z.object({ - wallclock_slot_start_date_time_eq: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_ne: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_lt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_lte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_gt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_gte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_between_min: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_between_max_value: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - wallclock_slot_start_date_time_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), - wallclock_slot_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), - meta_client_name_eq: z.optional(z.string()), - meta_client_name_ne: z.optional(z.string()), - meta_client_name_contains: z.optional(z.string()), - meta_client_name_starts_with: z.optional(z.string()), - meta_client_name_ends_with: z.optional(z.string()), - meta_client_name_like: z.optional(z.string()), - meta_client_name_not_like: z.optional(z.string()), - meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - client_type_eq: z.optional(z.string()), - client_type_ne: z.optional(z.string()), - client_type_contains: z.optional(z.string()), - client_type_starts_with: z.optional(z.string()), - client_type_ends_with: z.optional(z.string()), - client_type_like: z.optional(z.string()), - client_type_not_like: z.optional(z.string()), - client_type_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - client_type_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - pid_eq: z.optional( + hour_start_date_time_eq: z.optional( z .int() .check( @@ -71267,7 +77461,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_ne: z.optional( + hour_start_date_time_ne: z.optional( z .int() .check( @@ -71275,7 +77469,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_lt: z.optional( + hour_start_date_time_lt: z.optional( z .int() .check( @@ -71283,7 +77477,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_lte: z.optional( + hour_start_date_time_lte: z.optional( z .int() .check( @@ -71291,7 +77485,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_gt: z.optional( + hour_start_date_time_gt: z.optional( z .int() .check( @@ -71299,7 +77493,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_gte: z.optional( + hour_start_date_time_gte: z.optional( z .int() .check( @@ -71307,7 +77501,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_between_min: z.optional( + hour_start_date_time_between_min: z.optional( z .int() .check( @@ -71315,7 +77509,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_between_max_value: z.optional( + hour_start_date_time_between_max_value: z.optional( z .int() .check( @@ -71323,8 +77517,17 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - pid_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - pid_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_start_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + hour_start_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + meta_client_name_eq: z.optional(z.string()), + meta_client_name_ne: z.optional(z.string()), + meta_client_name_contains: z.optional(z.string()), + meta_client_name_starts_with: z.optional(z.string()), + meta_client_name_ends_with: z.optional(z.string()), + meta_client_name_like: z.optional(z.string()), + meta_client_name_not_like: z.optional(z.string()), + meta_client_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_client_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), port_label_eq: z.optional(z.string()), port_label_ne: z.optional(z.string()), port_label_contains: z.optional(z.string()), @@ -71343,104 +77546,6 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ direction_not_like: z.optional(z.string()), direction_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), direction_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - window_start_eq: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_ne: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_lt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_lte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_gt: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_gte: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_between_min: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_between_max_value: z.optional( - z.coerce - .bigint() - .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) - ) - ), - window_start_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), - window_start_not_in_values: z.optional(z.string().check(z.regex(/^-?\d+(,-?\d+)*$/))), updated_date_time_eq: z.optional( z .int() @@ -71507,7 +77612,25 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ ), updated_date_time_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), updated_date_time_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - wallclock_slot_eq: z.optional( + meta_network_name_eq: z.optional(z.string()), + meta_network_name_ne: z.optional(z.string()), + meta_network_name_contains: z.optional(z.string()), + meta_network_name_starts_with: z.optional(z.string()), + meta_network_name_ends_with: z.optional(z.string()), + meta_network_name_like: z.optional(z.string()), + meta_network_name_not_like: z.optional(z.string()), + meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_eq: z.optional(z.string()), + node_class_ne: z.optional(z.string()), + node_class_contains: z.optional(z.string()), + node_class_starts_with: z.optional(z.string()), + node_class_ends_with: z.optional(z.string()), + node_class_like: z.optional(z.string()), + node_class_not_like: z.optional(z.string()), + node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + slot_count_eq: z.optional( z .int() .check( @@ -71515,7 +77638,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_ne: z.optional( + slot_count_ne: z.optional( z .int() .check( @@ -71523,7 +77646,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_lt: z.optional( + slot_count_lt: z.optional( z .int() .check( @@ -71531,7 +77654,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_lte: z.optional( + slot_count_lte: z.optional( z .int() .check( @@ -71539,7 +77662,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_gt: z.optional( + slot_count_gt: z.optional( z .int() .check( @@ -71547,7 +77670,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_gte: z.optional( + slot_count_gte: z.optional( z .int() .check( @@ -71555,7 +77678,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_between_min: z.optional( + slot_count_between_min: z.optional( z .int() .check( @@ -71563,7 +77686,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_between_max_value: z.optional( + slot_count_between_max_value: z.optional( z .int() .check( @@ -71571,19 +77694,93 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - wallclock_slot_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - wallclock_slot_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - meta_network_name_eq: z.optional(z.string()), - meta_network_name_ne: z.optional(z.string()), - meta_network_name_contains: z.optional(z.string()), - meta_network_name_starts_with: z.optional(z.string()), - meta_network_name_ends_with: z.optional(z.string()), - meta_network_name_like: z.optional(z.string()), - meta_network_name_not_like: z.optional(z.string()), - meta_network_name_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - meta_network_name_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - io_bytes_value: z.optional(z.number()), - io_count_eq: z.optional( + slot_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + slot_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_bytes_value: z.optional(z.number()), + avg_io_bytes_value: z.optional(z.number()), + sum_io_count_eq: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_ne: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_lt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_lte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_gt: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_gte: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_between_min: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_between_max_value: z.optional( + z.coerce + .bigint() + .check( + z.minimum(BigInt('0'), { error: 'Invalid value: Expected uint64 to be >= 0' }), + z.maximum(BigInt('18446744073709551615'), { + error: 'Invalid value: Expected uint64 to be <= 18446744073709551615', + }) + ) + ), + sum_io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + sum_io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_count_eq: z.optional( z .int() .check( @@ -71591,7 +77788,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_ne: z.optional( + avg_io_count_ne: z.optional( z .int() .check( @@ -71599,7 +77796,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_lt: z.optional( + avg_io_count_lt: z.optional( z .int() .check( @@ -71607,7 +77804,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_lte: z.optional( + avg_io_count_lte: z.optional( z .int() .check( @@ -71615,7 +77812,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_gt: z.optional( + avg_io_count_gt: z.optional( z .int() .check( @@ -71623,7 +77820,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_gte: z.optional( + avg_io_count_gte: z.optional( z .int() .check( @@ -71631,7 +77828,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_between_min: z.optional( + avg_io_count_between_min: z.optional( z .int() .check( @@ -71639,7 +77836,7 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_between_max_value: z.optional( + avg_io_count_between_max_value: z.optional( z .int() .check( @@ -71647,17 +77844,8 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ) ), - io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), - node_class_eq: z.optional(z.string()), - node_class_ne: z.optional(z.string()), - node_class_contains: z.optional(z.string()), - node_class_starts_with: z.optional(z.string()), - node_class_ends_with: z.optional(z.string()), - node_class_like: z.optional(z.string()), - node_class_not_like: z.optional(z.string()), - node_class_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), - node_class_not_in_values: z.optional(z.string().check(z.regex(/^[^,]+(,[^,]+)*$/))), + avg_io_count_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), + avg_io_count_not_in_values: z.optional(z.string().check(z.regex(/^\d+(,\d+)*$/))), page_size: z.optional( z .int() @@ -71675,20 +77863,16 @@ export const zFctNodeNetworkIoByProcessServiceListData = z.object({ /** * OK */ -export const zFctNodeNetworkIoByProcessServiceListResponse = zListFctNodeNetworkIoByProcessResponse; +export const zFctNodeNetworkIoHourlyServiceListResponse = zListFctNodeNetworkIoHourlyResponse; -export const zFctNodeNetworkIoByProcessServiceGetData = z.object({ +export const zFctNodeNetworkIoHourlyServiceGetData = z.object({ body: z.optional(z.never()), path: z.object({ - wallclock_slot_start_date_time: z.coerce - .bigint() + hour_start_date_time: z + .int() .check( - z.minimum(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808', - }), - z.maximum(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807', - }) + z.minimum(0, { error: 'Invalid value: Expected uint32 to be >= 0' }), + z.maximum(4294967295, { error: 'Invalid value: Expected uint32 to be <= 4294967295' }) ), }), query: z.optional(z.never()), @@ -71697,7 +77881,7 @@ export const zFctNodeNetworkIoByProcessServiceGetData = z.object({ /** * OK */ -export const zFctNodeNetworkIoByProcessServiceGetResponse = zGetFctNodeNetworkIoByProcessResponse; +export const zFctNodeNetworkIoHourlyServiceGetResponse = zGetFctNodeNetworkIoHourlyResponse; export const zFctOpcodeGasByOpcodeDailyServiceListData = z.object({ body: z.optional(z.never()), diff --git a/src/components/Layout/Sidebar/Sidebar.tsx b/src/components/Layout/Sidebar/Sidebar.tsx index 2b1545e1e..70aefe77c 100644 --- a/src/components/Layout/Sidebar/Sidebar.tsx +++ b/src/components/Layout/Sidebar/Sidebar.tsx @@ -8,6 +8,7 @@ import { ChartBarIcon, ChevronLeftIcon, ChevronRightIcon, + CpuChipIcon, CubeIcon, DocumentTextIcon, FireIcon, @@ -186,6 +187,7 @@ const ethereumExecutionPages: NavItem[] = [ const xatuPages: NavItem[] = [ { name: 'Contributors', to: '/xatu/contributors', icon: UserGroupIcon }, + { name: 'Nodes', to: '/xatu/nodes', icon: CpuChipIcon }, { name: 'Geo Checklist', to: '/xatu/geographical-checklist', icon: MapIcon }, { name: 'Local Blocks', to: '/xatu/locally-built-blocks', icon: CubeIcon }, { name: 'Fork Readiness', to: '/xatu/fork-readiness', icon: WrenchScrewdriverIcon }, diff --git a/src/pages/ethereum/slots/components/NodeResources/CpuUtilizationChart.tsx b/src/pages/ethereum/slots/components/NodeResources/CpuUtilizationChart.tsx index 03c6a2a7a..e98c1ff2a 100644 --- a/src/pages/ethereum/slots/components/NodeResources/CpuUtilizationChart.tsx +++ b/src/pages/ethereum/slots/components/NodeResources/CpuUtilizationChart.tsx @@ -4,20 +4,22 @@ import { MultiLineChart } from '@/components/Charts/MultiLine'; import type { SeriesData, MarkLineConfig } from '@/components/Charts/MultiLine/MultiLine.types'; import { getDataVizColors, getClientLayer } from '@/utils'; import { DEFAULT_BEACON_SLOT_PHASES } from '@/utils/beacon'; +import { + type EChartsTooltipParam, + SLOT_BUCKET_SIZE, + ALL_SLOT_BUCKETS, + PHASE_BOUNDARY_COLORS, + usToSeconds, + capitalize, + toSlotBucket, + avg, +} from '@/utils/node-resources'; import { ClientLogo } from '@/components/Ethereum/ClientLogo'; import { SelectMenu } from '@/components/Forms/SelectMenu'; import type { FctNodeCpuUtilizationByProcess } from '@/api/types.gen'; import { type CpuMetric, type AnnotationType, type AnnotationEvent, type HighlightRange } from './types'; import { AnnotationSwimLanes } from './AnnotationSwimLanes'; -function usToSeconds(us: number): number { - return us / 1_000_000; -} - -function capitalize(s: string): string { - return s.charAt(0).toUpperCase() + s.slice(1); -} - function normalizeToSystem(value: number, cores: number): number { const divisor = cores > 0 ? cores : 1; return value / divisor; @@ -54,21 +56,6 @@ interface CpuUtilizationChartProps { onHighlight: (range: HighlightRange | null) => void; } -/** Slot phase boundary colors: cyan (block), green (attestation), amber (aggregation) */ -const PHASE_BOUNDARY_COLORS = ['#22d3ee', '#22c55e', '#f59e0b']; - -interface EChartsTooltipParam { - marker: string; - seriesName: string; - value: [number, number] | number; - axisValue?: number | string; -} - -const BUCKET_SIZE = 0.25; -const ALL_BUCKETS = Array.from({ length: 49 }, (_, i) => i * BUCKET_SIZE); -const toBucket = (offsetSec: number): number => Math.round(offsetSec / BUCKET_SIZE) * BUCKET_SIZE; -const avg = (arr: number[]): number => arr.reduce((s, v) => s + v, 0) / arr.length; - export function CpuUtilizationChart({ data, selectedNode, @@ -116,8 +103,8 @@ export function CpuUtilizationChart({ const bucketData = (items: FctNodeCpuUtilizationByProcess[]): Map => { const buckets = new Map(); for (const d of items) { - const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + BUCKET_SIZE; - const bucket = toBucket(offset); + const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + SLOT_BUCKET_SIZE; + const bucket = toSlotBucket(offset); if (bucket < 0 || bucket > 12) continue; if (!buckets.has(bucket)) { @@ -134,7 +121,7 @@ export function CpuUtilizationChart({ }; const toPoints = (buckets: Map, extract: (b: BucketAgg) => number[]): [number, number][] => { - const points: [number, number][] = ALL_BUCKETS.map( + const points: [number, number][] = ALL_SLOT_BUCKETS.map( t => [t, buckets.has(t) ? avg(extract(buckets.get(t)!)) : NaN] as [number, number] ); // Gauge metric: forward-fill gaps, backward-fill leading empties diff --git a/src/pages/ethereum/slots/components/NodeResources/DiskIoChart.tsx b/src/pages/ethereum/slots/components/NodeResources/DiskIoChart.tsx index 8352ad55d..eb228122b 100644 --- a/src/pages/ethereum/slots/components/NodeResources/DiskIoChart.tsx +++ b/src/pages/ethereum/slots/components/NodeResources/DiskIoChart.tsx @@ -4,28 +4,22 @@ import { MultiLineChart } from '@/components/Charts/MultiLine'; import type { SeriesData, MarkLineConfig } from '@/components/Charts/MultiLine/MultiLine.types'; import { getDataVizColors, getClientLayer } from '@/utils'; import { DEFAULT_BEACON_SLOT_PHASES } from '@/utils/beacon'; +import { + type EChartsTooltipParam, + SLOT_BUCKET_SIZE, + ALL_SLOT_BUCKETS, + PHASE_BOUNDARY_COLORS, + usToSeconds, + capitalize, + bytesToKB, + toSlotBucket, + avg, +} from '@/utils/node-resources'; import { ClientLogo } from '@/components/Ethereum/ClientLogo'; import type { FctNodeDiskIoByProcess } from '@/api/types.gen'; import { type AnnotationType, type AnnotationEvent, type HighlightRange } from './types'; import { AnnotationSwimLanes } from './AnnotationSwimLanes'; -function usToSeconds(us: number): number { - return us / 1_000_000; -} - -function capitalize(s: string): string { - return s.charAt(0).toUpperCase() + s.slice(1); -} - -function bytesToKB(bytes: number): number { - return bytes / 1024; -} - -const BUCKET_SIZE = 0.25; -const ALL_BUCKETS = Array.from({ length: 49 }, (_, i) => i * BUCKET_SIZE); -const toBucket = (offsetSec: number): number => Math.round(offsetSec / BUCKET_SIZE) * BUCKET_SIZE; -const avg = (arr: number[]): number => arr.reduce((s, v) => s + v, 0) / arr.length; - interface DiskIoChartProps { data: FctNodeDiskIoByProcess[]; selectedNode: string | null; @@ -36,15 +30,6 @@ interface DiskIoChartProps { onHighlight: (range: HighlightRange | null) => void; } -const PHASE_BOUNDARY_COLORS = ['#22d3ee', '#22c55e', '#f59e0b']; - -interface EChartsTooltipParam { - marker: string; - seriesName: string; - value: [number, number] | number; - axisValue?: number | string; -} - export function DiskIoChart({ data, selectedNode, @@ -89,8 +74,8 @@ export function DiskIoChart({ const bucketData = (items: FctNodeDiskIoByProcess[]): Map => { const buckets = new Map(); for (const d of items) { - const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + BUCKET_SIZE; - const bucket = toBucket(offset); + const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + SLOT_BUCKET_SIZE; + const bucket = toSlotBucket(offset); if (bucket < 0 || bucket > 12) continue; if (!buckets.has(bucket)) buckets.set(bucket, []); @@ -100,7 +85,7 @@ export function DiskIoChart({ }; const toPoints = (buckets: Map): [number, number][] => - ALL_BUCKETS.map(t => [t, buckets.has(t) ? avg(buckets.get(t)!) : 0] as [number, number]); + ALL_SLOT_BUCKETS.map(t => [t, buckets.has(t) ? avg(buckets.get(t)!) : 0] as [number, number]); if (selectedNode) { const nodeData = data.filter(d => d.meta_client_name === selectedNode); diff --git a/src/pages/ethereum/slots/components/NodeResources/MemoryUsageChart.tsx b/src/pages/ethereum/slots/components/NodeResources/MemoryUsageChart.tsx index 4f01586f6..7b723e14e 100644 --- a/src/pages/ethereum/slots/components/NodeResources/MemoryUsageChart.tsx +++ b/src/pages/ethereum/slots/components/NodeResources/MemoryUsageChart.tsx @@ -4,20 +4,22 @@ import { MultiLineChart } from '@/components/Charts/MultiLine'; import type { SeriesData, MarkLineConfig } from '@/components/Charts/MultiLine/MultiLine.types'; import { getDataVizColors, getClientLayer } from '@/utils'; import { DEFAULT_BEACON_SLOT_PHASES } from '@/utils/beacon'; +import { + type EChartsTooltipParam, + SLOT_BUCKET_SIZE, + ALL_SLOT_BUCKETS, + PHASE_BOUNDARY_COLORS, + usToSeconds, + capitalize, + toSlotBucket, + avg, +} from '@/utils/node-resources'; import { ClientLogo } from '@/components/Ethereum/ClientLogo'; import { SelectMenu } from '@/components/Forms/SelectMenu'; import type { FctNodeMemoryUsageByProcess } from '@/api/types.gen'; import { type AnnotationType, type AnnotationEvent, type HighlightRange } from './types'; import { AnnotationSwimLanes } from './AnnotationSwimLanes'; -function usToSeconds(us: number): number { - return us / 1_000_000; -} - -function capitalize(s: string): string { - return s.charAt(0).toUpperCase() + s.slice(1); -} - function bytesToMB(bytes: number): number { return bytes / (1024 * 1024); } @@ -38,11 +40,6 @@ const METRIC_OPTIONS = [ { value: 'vm_swap' as MemoryMetric, label: 'Swap' }, ]; -const BUCKET_SIZE = 0.25; -const ALL_BUCKETS = Array.from({ length: 49 }, (_, i) => i * BUCKET_SIZE); -const toBucket = (offsetSec: number): number => Math.round(offsetSec / BUCKET_SIZE) * BUCKET_SIZE; -const avg = (arr: number[]): number => arr.reduce((s, v) => s + v, 0) / arr.length; - function extractMetric(d: FctNodeMemoryUsageByProcess, metric: MemoryMetric): number { switch (metric) { case 'vm_rss': @@ -68,15 +65,6 @@ interface MemoryUsageChartProps { onHighlight: (range: HighlightRange | null) => void; } -const PHASE_BOUNDARY_COLORS = ['#22d3ee', '#22c55e', '#f59e0b']; - -interface EChartsTooltipParam { - marker: string; - seriesName: string; - value: [number, number] | number; - axisValue?: number | string; -} - export function MemoryUsageChart({ data, selectedNode, @@ -123,8 +111,8 @@ export function MemoryUsageChart({ const bucketData = (items: FctNodeMemoryUsageByProcess[]): Map => { const buckets = new Map(); for (const d of items) { - const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + BUCKET_SIZE; - const bucket = toBucket(offset); + const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + SLOT_BUCKET_SIZE; + const bucket = toSlotBucket(offset); if (bucket < 0 || bucket > 12) continue; if (!buckets.has(bucket)) buckets.set(bucket, []); @@ -134,7 +122,7 @@ export function MemoryUsageChart({ }; const toPoints = (buckets: Map): [number, number][] => { - const points: [number, number][] = ALL_BUCKETS.map( + const points: [number, number][] = ALL_SLOT_BUCKETS.map( t => [t, buckets.has(t) ? avg(buckets.get(t)!) : NaN] as [number, number] ); // Gauge metric: forward-fill gaps, backward-fill leading empties diff --git a/src/pages/ethereum/slots/components/NodeResources/NetworkIoChart.tsx b/src/pages/ethereum/slots/components/NodeResources/NetworkIoChart.tsx index c529abdff..4cc10fce7 100644 --- a/src/pages/ethereum/slots/components/NodeResources/NetworkIoChart.tsx +++ b/src/pages/ethereum/slots/components/NodeResources/NetworkIoChart.tsx @@ -4,18 +4,20 @@ import { MultiLineChart } from '@/components/Charts/MultiLine'; import type { SeriesData, MarkLineConfig } from '@/components/Charts/MultiLine/MultiLine.types'; import { getDataVizColors } from '@/utils'; import { DEFAULT_BEACON_SLOT_PHASES } from '@/utils/beacon'; +import { + type EChartsTooltipParam, + SLOT_BUCKET_SIZE, + ALL_SLOT_BUCKETS, + PHASE_BOUNDARY_COLORS, + usToSeconds, + bytesToKB, + toSlotBucket, + avg, +} from '@/utils/node-resources'; import type { FctNodeNetworkIoByProcess } from '@/api/types.gen'; import { type AnnotationType, type AnnotationEvent, type HighlightRange } from './types'; import { AnnotationSwimLanes } from './AnnotationSwimLanes'; -function usToSeconds(us: number): number { - return us / 1_000_000; -} - -function bytesToKB(bytes: number): number { - return bytes / 1024; -} - /** Port labels that are hidden by default (internal/API traffic) */ const HIDDEN_PORTS = new Set(['cl_beacon_api', 'el_json_rpc', 'el_engine_api', 'el_ws', 'cl_grpc']); @@ -32,11 +34,6 @@ const PORT_LABELS: Record = { unknown: 'Unknown', }; -const BUCKET_SIZE = 0.25; -const ALL_BUCKETS = Array.from({ length: 49 }, (_, i) => i * BUCKET_SIZE); -const toBucket = (offsetSec: number): number => Math.round(offsetSec / BUCKET_SIZE) * BUCKET_SIZE; -const avg = (arr: number[]): number => arr.reduce((s, v) => s + v, 0) / arr.length; - interface NetworkIoChartProps { data: FctNodeNetworkIoByProcess[]; selectedNode: string | null; @@ -47,15 +44,6 @@ interface NetworkIoChartProps { onHighlight: (range: HighlightRange | null) => void; } -const PHASE_BOUNDARY_COLORS = ['#22d3ee', '#22c55e', '#f59e0b']; - -interface EChartsTooltipParam { - marker: string; - seriesName: string; - value: [number, number] | number; - axisValue?: number | string; -} - export function NetworkIoChart({ data, selectedNode, @@ -109,8 +97,8 @@ export function NetworkIoChart({ // Bucket and aggregate tx+rx bytes const buckets = new Map(); for (const d of filteredPortData) { - const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + BUCKET_SIZE; - const bucket = toBucket(offset); + const offset = usToSeconds((d.window_start ?? 0) - slotStartUs) + SLOT_BUCKET_SIZE; + const bucket = toSlotBucket(offset); if (bucket < 0 || bucket > 12) continue; if (!buckets.has(bucket)) buckets.set(bucket, []); @@ -119,7 +107,7 @@ export function NetworkIoChart({ if (buckets.size === 0) continue; - const points: [number, number][] = ALL_BUCKETS.map( + const points: [number, number][] = ALL_SLOT_BUCKETS.map( t => [t, buckets.has(t) ? avg(buckets.get(t)!) : 0] as [number, number] ); diff --git a/src/pages/xatu/nodes/DetailPage.tsx b/src/pages/xatu/nodes/DetailPage.tsx new file mode 100644 index 000000000..1c57ad780 --- /dev/null +++ b/src/pages/xatu/nodes/DetailPage.tsx @@ -0,0 +1,251 @@ +import { type JSX } from 'react'; +import { useParams, useSearch, useNavigate, Link } from '@tanstack/react-router'; +import { useQuery } from '@tanstack/react-query'; +import clsx from 'clsx'; +import { ArrowLeftIcon } from '@heroicons/react/24/outline'; +import { Container } from '@/components/Layout/Container'; +import { Header } from '@/components/Layout/Header'; +import { useNetwork } from '@/hooks/useNetwork'; +import { + fctNodeHostSpecServiceListOptions, + fctNodeCpuUtilizationHourlyServiceListOptions, + fctNodeCpuUtilizationDailyServiceListOptions, + fctNodeMemoryUsageHourlyServiceListOptions, + fctNodeMemoryUsageDailyServiceListOptions, + fctNodeDiskIoHourlyServiceListOptions, + fctNodeDiskIoDailyServiceListOptions, + fctNodeNetworkIoHourlyServiceListOptions, + fctNodeNetworkIoDailyServiceListOptions, +} from '@/api/@tanstack/react-query.gen'; +import { TIME_PERIOD_OPTIONS, TIME_RANGE_CONFIG } from './constants'; +import type { TimePeriod } from './constants'; +import { getTimeRange } from './utils'; +import { NodeSpecsCard } from './components/NodeSpecsCard'; +import { NodeCpuChart } from './components/NodeCpuChart'; +import { NodeMemoryChart } from './components/NodeMemoryChart'; +import { NodeDiskIoChart } from './components/NodeDiskIoChart'; +import { NodeNetworkIoChart } from './components/NodeNetworkIoChart'; + +export function DetailPage(): JSX.Element { + const { id } = useParams({ from: '/xatu/nodes/$id' }); + const search = useSearch({ from: '/xatu/nodes/$id' }); + const navigate = useNavigate({ from: '/xatu/nodes/$id' }); + const { currentNetwork } = useNetwork(); + + const nodeName = decodeURIComponent(id); + const timePeriod: TimePeriod = search.t ?? '24h'; + const networkName = currentNetwork?.name ?? 'mainnet'; + const config = TIME_RANGE_CONFIG[timePeriod]; + const range = getTimeRange(config.days, config.dataType); + + const isHourly = config.dataType === 'hourly'; + + // Host spec (latest) - API requires primary key filter + const specLookbackSec = Math.floor((Date.now() - 7 * 24 * 60 * 60 * 1000) / 1000); + const specsQuery = useQuery({ + ...fctNodeHostSpecServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + wallclock_slot_start_date_time_gte: specLookbackSec, + order_by: 'wallclock_slot_start_date_time DESC', + page_size: 1, + }, + }), + }); + + // CPU data + const cpuHourlyQuery = useQuery({ + ...fctNodeCpuUtilizationHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const cpuDailyQuery = useQuery({ + ...fctNodeCpuUtilizationDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Memory data + const memoryHourlyQuery = useQuery({ + ...fctNodeMemoryUsageHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const memoryDailyQuery = useQuery({ + ...fctNodeMemoryUsageDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Disk I/O data + const diskHourlyQuery = useQuery({ + ...fctNodeDiskIoHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const diskDailyQuery = useQuery({ + ...fctNodeDiskIoDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Network I/O data + const networkHourlyQuery = useQuery({ + ...fctNodeNetworkIoHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const networkDailyQuery = useQuery({ + ...fctNodeNetworkIoDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + meta_client_name_eq: nodeName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + const spec = specsQuery.data?.fct_node_host_spec?.[0]; + const cpuData = isHourly + ? (cpuHourlyQuery.data?.fct_node_cpu_utilization_hourly ?? []) + : (cpuDailyQuery.data?.fct_node_cpu_utilization_daily ?? []); + const memoryData = isHourly + ? (memoryHourlyQuery.data?.fct_node_memory_usage_hourly ?? []) + : (memoryDailyQuery.data?.fct_node_memory_usage_daily ?? []); + const diskData = isHourly + ? (diskHourlyQuery.data?.fct_node_disk_io_hourly ?? []) + : (diskDailyQuery.data?.fct_node_disk_io_daily ?? []); + const networkData = isHourly + ? (networkHourlyQuery.data?.fct_node_network_io_hourly ?? []) + : (networkDailyQuery.data?.fct_node_network_io_daily ?? []); + + const isLoading = + specsQuery.isLoading || + (isHourly + ? cpuHourlyQuery.isLoading || + memoryHourlyQuery.isLoading || + diskHourlyQuery.isLoading || + networkHourlyQuery.isLoading + : cpuDailyQuery.isLoading || + memoryDailyQuery.isLoading || + diskDailyQuery.isLoading || + networkDailyQuery.isLoading); + + return ( + +
+ + + Back to Nodes + +
+ +
+
+ +
+ {TIME_PERIOD_OPTIONS.map(({ value, label }) => ( + + ))} +
+
+ + {isLoading ? ( +
+
+
+
+
+
+
+
+
+ ) : ( +
+ {/* Hardware specs */} + {spec && } + + {/* Charts grid */} +
+ + + + +
+
+ )} + + ); +} diff --git a/src/pages/xatu/nodes/IndexPage.tsx b/src/pages/xatu/nodes/IndexPage.tsx new file mode 100644 index 000000000..8315ec751 --- /dev/null +++ b/src/pages/xatu/nodes/IndexPage.tsx @@ -0,0 +1,214 @@ +import { type JSX } from 'react'; +import { useSearch, useNavigate } from '@tanstack/react-router'; +import { useQuery } from '@tanstack/react-query'; +import clsx from 'clsx'; +import { Container } from '@/components/Layout/Container'; +import { Header } from '@/components/Layout/Header'; +import { useNetwork } from '@/hooks/useNetwork'; +import { + fctNodeCpuUtilizationHourlyServiceListOptions, + fctNodeCpuUtilizationDailyServiceListOptions, + fctNodeMemoryUsageHourlyServiceListOptions, + fctNodeMemoryUsageDailyServiceListOptions, + fctNodeDiskIoHourlyServiceListOptions, + fctNodeDiskIoDailyServiceListOptions, + fctNodeNetworkIoHourlyServiceListOptions, + fctNodeNetworkIoDailyServiceListOptions, +} from '@/api/@tanstack/react-query.gen'; +import { TIME_PERIOD_OPTIONS, TIME_RANGE_CONFIG } from './constants'; +import type { TimePeriod } from './constants'; +import { getTimeRange } from './utils'; +import { NodeTable } from './components/NodeTable'; +import { NodeCpuChart } from './components/NodeCpuChart'; +import { NodeMemoryChart } from './components/NodeMemoryChart'; +import { NodeDiskIoChart } from './components/NodeDiskIoChart'; +import { NodeNetworkIoChart } from './components/NodeNetworkIoChart'; + +export function IndexPage(): JSX.Element { + const search = useSearch({ from: '/xatu/nodes/' }); + const navigate = useNavigate({ from: '/xatu/nodes/' }); + const { currentNetwork } = useNetwork(); + + const timePeriod: TimePeriod = search.t ?? '24h'; + const networkName = currentNetwork?.name ?? 'mainnet'; + const config = TIME_RANGE_CONFIG[timePeriod]; + const range = getTimeRange(config.days, config.dataType); + + const isHourly = config.dataType === 'hourly'; + + // CPU data + const cpuHourlyQuery = useQuery({ + ...fctNodeCpuUtilizationHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const cpuDailyQuery = useQuery({ + ...fctNodeCpuUtilizationDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Memory data + const memoryHourlyQuery = useQuery({ + ...fctNodeMemoryUsageHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const memoryDailyQuery = useQuery({ + ...fctNodeMemoryUsageDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Disk I/O data + const diskHourlyQuery = useQuery({ + ...fctNodeDiskIoHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const diskDailyQuery = useQuery({ + ...fctNodeDiskIoDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + // Network I/O data + const networkHourlyQuery = useQuery({ + ...fctNodeNetworkIoHourlyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + hour_start_date_time_gte: range.gte as number, + hour_start_date_time_lte: range.lte as number, + page_size: config.pageSize, + order_by: 'hour_start_date_time ASC', + }, + }), + enabled: isHourly, + }); + + const networkDailyQuery = useQuery({ + ...fctNodeNetworkIoDailyServiceListOptions({ + query: { + meta_network_name_eq: networkName, + page_size: config.pageSize, + order_by: 'day_start_date ASC', + }, + }), + enabled: !isHourly, + }); + + const cpuData = isHourly + ? (cpuHourlyQuery.data?.fct_node_cpu_utilization_hourly ?? []) + : (cpuDailyQuery.data?.fct_node_cpu_utilization_daily ?? []); + const memoryData = isHourly + ? (memoryHourlyQuery.data?.fct_node_memory_usage_hourly ?? []) + : (memoryDailyQuery.data?.fct_node_memory_usage_daily ?? []); + const diskData = isHourly + ? (diskHourlyQuery.data?.fct_node_disk_io_hourly ?? []) + : (diskDailyQuery.data?.fct_node_disk_io_daily ?? []); + const networkData = isHourly + ? (networkHourlyQuery.data?.fct_node_network_io_hourly ?? []) + : (networkDailyQuery.data?.fct_node_network_io_daily ?? []); + + const isLoading = isHourly + ? cpuHourlyQuery.isLoading || + memoryHourlyQuery.isLoading || + diskHourlyQuery.isLoading || + networkHourlyQuery.isLoading + : cpuDailyQuery.isLoading || memoryDailyQuery.isLoading || diskDailyQuery.isLoading || networkDailyQuery.isLoading; + + return ( + +
+
+ +
+ {TIME_PERIOD_OPTIONS.map(({ value, label }) => ( + + ))} +
+
+ + {isLoading ? ( +
+
+
+
+
+
+
+
+
+ ) : ( +
+ {/* Node table - only for hourly data (has hourly-typed fields) */} + {isHourly && ( + + )} + + {/* Charts grid */} +
+ + + + +
+
+ )} + + ); +} diff --git a/src/pages/xatu/nodes/components/NodeCpuChart.tsx b/src/pages/xatu/nodes/components/NodeCpuChart.tsx new file mode 100644 index 000000000..2c1e282dc --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeCpuChart.tsx @@ -0,0 +1,60 @@ +import { type JSX, useMemo } from 'react'; +import { PopoutCard } from '@/components/Layout/PopoutCard'; +import { MultiLineChart } from '@/components/Charts/MultiLine'; +import { getDataVizColors } from '@/utils'; +import type { FctNodeCpuUtilizationHourly, FctNodeCpuUtilizationDaily } from '@/api/types.gen'; +import type { TimePeriod } from '../constants'; +import { buildTimeSeries, formatTimeTooltip } from '../utils'; + +type CpuRow = FctNodeCpuUtilizationHourly | FctNodeCpuUtilizationDaily; + +interface NodeCpuChartProps { + data: CpuRow[]; + timePeriod: TimePeriod; + filterNode?: string; +} + +export function NodeCpuChart({ data, timePeriod, filterNode }: NodeCpuChartProps): JSX.Element { + const { CHART_CATEGORICAL_COLORS } = getDataVizColors(); + + const { series, timestamps } = useMemo(() => { + return buildTimeSeries({ + data, + filterNode, + getValue: row => row.avg_core_pct ?? 0, + colors: CHART_CATEGORICAL_COLORS, + }); + }, [data, filterNode, CHART_CATEGORICAL_COLORS]); + + const subtitle = filterNode ? `${timePeriod} · CPU utilization` : `${timePeriod} · Avg CPU utilization per node`; + + return ( + + {({ inModal }) => ( + `${v.toFixed(1)}%`, + }} + height={inModal ? 500 : 350} + showLegend + legendPosition="bottom" + enableSeriesFilter={series.length > 5} + tooltipMode={series.length > 5 ? 'compact' : 'default'} + syncGroup="node-time" + tooltipFormatter={(params: unknown) => { + const items = (Array.isArray(params) ? params : [params]) as Array<{ + marker: string; + seriesName: string; + value: [number, number] | number; + }>; + return formatTimeTooltip(items, v => `${Number(v).toFixed(1)}%`); + }} + /> + )} + + ); +} diff --git a/src/pages/xatu/nodes/components/NodeDiskIoChart.tsx b/src/pages/xatu/nodes/components/NodeDiskIoChart.tsx new file mode 100644 index 000000000..967d0bd70 --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeDiskIoChart.tsx @@ -0,0 +1,99 @@ +import { type JSX, useMemo } from 'react'; +import { PopoutCard } from '@/components/Layout/PopoutCard'; +import { MultiLineChart } from '@/components/Charts/MultiLine'; +import type { SeriesData } from '@/components/Charts/MultiLine/MultiLine.types'; +import { getDataVizColors } from '@/utils'; +import type { FctNodeDiskIoHourly, FctNodeDiskIoDaily } from '@/api/types.gen'; +import type { TimePeriod } from '../constants'; +import { formatBytes, formatTimeTooltip } from '../utils'; + +type DiskRow = FctNodeDiskIoHourly | FctNodeDiskIoDaily; + +function isHourly(row: DiskRow): row is FctNodeDiskIoHourly { + return 'hour_start_date_time' in row; +} + +function getTimestamp(row: DiskRow): number { + if (isHourly(row)) return row.hour_start_date_time ?? 0; + const daily = row as FctNodeDiskIoDaily; + return daily.day_start_date ? Math.floor(new Date(daily.day_start_date).getTime() / 1000) : 0; +} + +interface NodeDiskIoChartProps { + data: DiskRow[]; + timePeriod: TimePeriod; + filterNode?: string; +} + +export function NodeDiskIoChart({ data, timePeriod, filterNode }: NodeDiskIoChartProps): JSX.Element { + const { CHART_CATEGORICAL_COLORS } = getDataVizColors(); + + const { series, timestamps } = useMemo(() => { + const filtered = filterNode ? data.filter(d => d.meta_client_name === filterNode) : data; + + // Sum read + write per node per timestamp + const grouped = new Map>(); + for (const row of filtered) { + const name = row.meta_client_name ?? 'unknown'; + if (!grouped.has(name)) grouped.set(name, new Map()); + const ts = getTimestamp(row); + const existing = grouped.get(name)!.get(ts) ?? 0; + grouped.get(name)!.set(ts, existing + (row.avg_io_bytes ?? 0)); + } + + const allTimestamps = new Set(); + for (const row of filtered) allTimestamps.add(getTimestamp(row)); + const sortedTimestamps = Array.from(allTimestamps).sort((a, b) => a - b); + + const chartSeries: SeriesData[] = []; + let colorIndex = 0; + for (const [name, timeMap] of grouped) { + chartSeries.push({ + name, + data: sortedTimestamps.map(ts => [ts, timeMap.get(ts) ?? 0] as [number, number]), + color: CHART_CATEGORICAL_COLORS[colorIndex % CHART_CATEGORICAL_COLORS.length], + lineWidth: 2, + smooth: 0.4, + showArea: true, + areaOpacity: 0.08, + }); + colorIndex++; + } + + return { series: chartSeries, timestamps: sortedTimestamps }; + }, [data, filterNode, CHART_CATEGORICAL_COLORS]); + + const subtitle = filterNode + ? `${timePeriod} · Combined read + write` + : `${timePeriod} · Avg disk I/O per node (read + write)`; + + return ( + + {({ inModal }) => ( + formatBytes(v, 1), + }} + height={inModal ? 500 : 350} + showLegend + legendPosition="bottom" + enableSeriesFilter={series.length > 5} + tooltipMode={series.length > 5 ? 'compact' : 'default'} + syncGroup="node-time" + tooltipFormatter={(params: unknown) => { + const items = (Array.isArray(params) ? params : [params]) as Array<{ + marker: string; + seriesName: string; + value: [number, number] | number; + }>; + return formatTimeTooltip(items, v => formatBytes(Number(v), 1)); + }} + /> + )} + + ); +} diff --git a/src/pages/xatu/nodes/components/NodeMemoryChart.tsx b/src/pages/xatu/nodes/components/NodeMemoryChart.tsx new file mode 100644 index 000000000..993f1c07d --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeMemoryChart.tsx @@ -0,0 +1,60 @@ +import { type JSX, useMemo } from 'react'; +import { PopoutCard } from '@/components/Layout/PopoutCard'; +import { MultiLineChart } from '@/components/Charts/MultiLine'; +import { getDataVizColors } from '@/utils'; +import type { FctNodeMemoryUsageHourly, FctNodeMemoryUsageDaily } from '@/api/types.gen'; +import type { TimePeriod } from '../constants'; +import { formatBytes, buildTimeSeries, formatTimeTooltip } from '../utils'; + +type MemoryRow = FctNodeMemoryUsageHourly | FctNodeMemoryUsageDaily; + +interface NodeMemoryChartProps { + data: MemoryRow[]; + timePeriod: TimePeriod; + filterNode?: string; +} + +export function NodeMemoryChart({ data, timePeriod, filterNode }: NodeMemoryChartProps): JSX.Element { + const { CHART_CATEGORICAL_COLORS } = getDataVizColors(); + + const { series, timestamps } = useMemo(() => { + return buildTimeSeries({ + data, + filterNode, + getValue: row => row.avg_vm_rss_bytes ?? 0, + colors: CHART_CATEGORICAL_COLORS, + }); + }, [data, filterNode, CHART_CATEGORICAL_COLORS]); + + const subtitle = filterNode ? `${timePeriod} · RSS memory` : `${timePeriod} · Avg RSS memory per node`; + + return ( + + {({ inModal }) => ( + formatBytes(v, 1), + }} + height={inModal ? 500 : 350} + showLegend + legendPosition="bottom" + enableSeriesFilter={series.length > 5} + tooltipMode={series.length > 5 ? 'compact' : 'default'} + syncGroup="node-time" + tooltipFormatter={(params: unknown) => { + const items = (Array.isArray(params) ? params : [params]) as Array<{ + marker: string; + seriesName: string; + value: [number, number] | number; + }>; + return formatTimeTooltip(items, v => formatBytes(Number(v), 1)); + }} + /> + )} + + ); +} diff --git a/src/pages/xatu/nodes/components/NodeNetworkIoChart.tsx b/src/pages/xatu/nodes/components/NodeNetworkIoChart.tsx new file mode 100644 index 000000000..7909b5102 --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeNetworkIoChart.tsx @@ -0,0 +1,97 @@ +import { type JSX, useMemo } from 'react'; +import { PopoutCard } from '@/components/Layout/PopoutCard'; +import { MultiLineChart } from '@/components/Charts/MultiLine'; +import type { SeriesData } from '@/components/Charts/MultiLine/MultiLine.types'; +import { getDataVizColors } from '@/utils'; +import type { FctNodeNetworkIoHourly, FctNodeNetworkIoDaily } from '@/api/types.gen'; +import type { TimePeriod } from '../constants'; +import { formatBytes, formatTimeTooltip } from '../utils'; + +type NetworkRow = FctNodeNetworkIoHourly | FctNodeNetworkIoDaily; + +function isHourly(row: NetworkRow): row is FctNodeNetworkIoHourly { + return 'hour_start_date_time' in row; +} + +function getTimestamp(row: NetworkRow): number { + if (isHourly(row)) return row.hour_start_date_time ?? 0; + const daily = row as FctNodeNetworkIoDaily; + return daily.day_start_date ? Math.floor(new Date(daily.day_start_date).getTime() / 1000) : 0; +} + +interface NodeNetworkIoChartProps { + data: NetworkRow[]; + timePeriod: TimePeriod; + filterNode?: string; +} + +export function NodeNetworkIoChart({ data, timePeriod, filterNode }: NodeNetworkIoChartProps): JSX.Element { + const { CHART_CATEGORICAL_COLORS } = getDataVizColors(); + + const { series, timestamps } = useMemo(() => { + const filtered = filterNode ? data.filter(d => d.meta_client_name === filterNode) : data; + + // Sum all port labels and directions per node per timestamp + const grouped = new Map>(); + for (const row of filtered) { + const name = row.meta_client_name ?? 'unknown'; + if (!grouped.has(name)) grouped.set(name, new Map()); + const ts = getTimestamp(row); + const existing = grouped.get(name)!.get(ts) ?? 0; + grouped.get(name)!.set(ts, existing + (row.avg_io_bytes ?? 0)); + } + + const allTimestamps = new Set(); + for (const row of filtered) allTimestamps.add(getTimestamp(row)); + const sortedTimestamps = Array.from(allTimestamps).sort((a, b) => a - b); + + const chartSeries: SeriesData[] = []; + let colorIndex = 0; + for (const [name, timeMap] of grouped) { + chartSeries.push({ + name, + data: sortedTimestamps.map(ts => [ts, timeMap.get(ts) ?? 0] as [number, number]), + color: CHART_CATEGORICAL_COLORS[colorIndex % CHART_CATEGORICAL_COLORS.length], + lineWidth: 2, + smooth: 0.4, + showArea: true, + areaOpacity: 0.08, + }); + colorIndex++; + } + + return { series: chartSeries, timestamps: sortedTimestamps }; + }, [data, filterNode, CHART_CATEGORICAL_COLORS]); + + const subtitle = filterNode ? `${timePeriod} · All ports combined` : `${timePeriod} · Avg network I/O per node`; + + return ( + + {({ inModal }) => ( + formatBytes(v, 1), + }} + height={inModal ? 500 : 350} + showLegend + legendPosition="bottom" + enableSeriesFilter={series.length > 5} + tooltipMode={series.length > 5 ? 'compact' : 'default'} + syncGroup="node-time" + tooltipFormatter={(params: unknown) => { + const items = (Array.isArray(params) ? params : [params]) as Array<{ + marker: string; + seriesName: string; + value: [number, number] | number; + }>; + return formatTimeTooltip(items, v => formatBytes(Number(v), 1)); + }} + /> + )} + + ); +} diff --git a/src/pages/xatu/nodes/components/NodeSpecsCard.tsx b/src/pages/xatu/nodes/components/NodeSpecsCard.tsx new file mode 100644 index 000000000..8830c6419 --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeSpecsCard.tsx @@ -0,0 +1,105 @@ +import { type JSX } from 'react'; +import { + CpuChipIcon, + CircleStackIcon, + ServerStackIcon, + CommandLineIcon, +} from '@heroicons/react/24/outline'; +import type { FctNodeHostSpec } from '@/api/types.gen'; +import { formatBytes } from '../utils'; + +interface NodeSpecsCardProps { + spec: FctNodeHostSpec; +} + +function SpecGroup({ + icon: Icon, + title, + children, +}: { + icon: React.ComponentType>; + title: string; + children: React.ReactNode; +}): JSX.Element { + return ( +
+
+ +
+
+

{title}

+
{children}
+
+
+ ); +} + +function SpecValue({ label, value }: { label: string; value: string | number | undefined }): JSX.Element | null { + if (value === undefined || value === null || value === '') return null; + return ( +
+ {label} + {value} +
+ ); +} + +export function NodeSpecsCard({ spec }: NodeSpecsCardProps): JSX.Element { + const diskType = + spec.disk_rotational && spec.disk_rotational.length > 0 + ? spec.disk_rotational.every(r => r === 0) + ? 'SSD' + : spec.disk_rotational.every(r => r === 1) + ? 'HDD' + : 'Mixed' + : undefined; + + const coreBreakdown = + spec.cpu_performance_cores && spec.cpu_performance_cores > 0 + ? `${spec.cpu_performance_cores}P + ${spec.cpu_efficiency_cores ?? 0}E` + : undefined; + + return ( +
+ + {spec.cpu_model && ( +

+ {spec.cpu_model} +

+ )} + + {coreBreakdown && } + +
+ + + + + {spec.memory_speed_mts !== undefined && spec.memory_speed_mts > 0 && ( + + )} + + + + + + + + {spec.disk_models && spec.disk_models.length > 0 && ( +

+ {spec.disk_models[0]} +

+ )} +
+ + + + {spec.kernel_release && ( +

+ {spec.kernel_release} +

+ )} +
+
+ ); +} diff --git a/src/pages/xatu/nodes/components/NodeTable.tsx b/src/pages/xatu/nodes/components/NodeTable.tsx new file mode 100644 index 000000000..800b77dfd --- /dev/null +++ b/src/pages/xatu/nodes/components/NodeTable.tsx @@ -0,0 +1,99 @@ +import { type JSX, useMemo } from 'react'; +import { Link } from '@tanstack/react-router'; +import type { FctNodeCpuUtilizationHourly, FctNodeMemoryUsageHourly } from '@/api/types.gen'; +import { formatBytes } from '../utils'; + +interface NodeSummary { + name: string; + avgCpuPct: number; + avgRssBytes: number; + dataPoints: number; +} + +interface NodeTableProps { + cpuData: FctNodeCpuUtilizationHourly[]; + memoryData: FctNodeMemoryUsageHourly[]; +} + +export function NodeTable({ cpuData, memoryData }: NodeTableProps): JSX.Element { + const nodes = useMemo(() => { + // Build CPU summary per node (use last data point as "latest") + const cpuByNode = new Map(); + for (const row of cpuData) { + const name = row.meta_client_name ?? 'unknown'; + const entry = cpuByNode.get(name) ?? { sum: 0, count: 0 }; + entry.sum += row.avg_core_pct ?? 0; + entry.count += 1; + cpuByNode.set(name, entry); + } + + // Build memory summary per node + const memByNode = new Map(); + for (const row of memoryData) { + const name = row.meta_client_name ?? 'unknown'; + const entry = memByNode.get(name) ?? { sum: 0, count: 0 }; + entry.sum += row.avg_vm_rss_bytes ?? 0; + entry.count += 1; + memByNode.set(name, entry); + } + + // Merge + const allNames = new Set([...cpuByNode.keys(), ...memByNode.keys()]); + const summaries: NodeSummary[] = []; + for (const name of allNames) { + const cpu = cpuByNode.get(name); + const mem = memByNode.get(name); + summaries.push({ + name, + avgCpuPct: cpu ? cpu.sum / cpu.count : 0, + avgRssBytes: mem ? mem.sum / mem.count : 0, + dataPoints: (cpu?.count ?? 0) + (mem?.count ?? 0), + }); + } + + // Sort by name + summaries.sort((a, b) => a.name.localeCompare(b.name)); + return summaries; + }, [cpuData, memoryData]); + + if (nodes.length === 0) { + return ( +
+ No nodes found for the selected time period. +
+ ); + } + + return ( +
+ + + + + + + + + + + {nodes.map(node => ( + + + + + + + ))} + +
NodeAvg CPU %Avg RSSData Points
+ + {node.name} + + {node.avgCpuPct.toFixed(1)}%{formatBytes(node.avgRssBytes, 1)}{node.dataPoints}
+
+ ); +} diff --git a/src/pages/xatu/nodes/constants.ts b/src/pages/xatu/nodes/constants.ts new file mode 100644 index 000000000..544970faa --- /dev/null +++ b/src/pages/xatu/nodes/constants.ts @@ -0,0 +1,20 @@ +import { z } from 'zod'; + +export type TimePeriod = '24h' | '7d' | '31d'; + +export const nodesSearchSchema = z.object({ + t: z.enum(['24h', '7d', '31d']).optional(), +}); +export type NodesSearch = z.infer; + +export const TIME_RANGE_CONFIG = { + '24h': { days: 1, dataType: 'hourly' as const, pageSize: 5000 }, + '7d': { days: 7, dataType: 'hourly' as const, pageSize: 10000 }, + '31d': { days: 31, dataType: 'daily' as const, pageSize: 5000 }, +} as const; + +export const TIME_PERIOD_OPTIONS = [ + { value: '24h' as const, label: '24h' }, + { value: '7d' as const, label: '7d' }, + { value: '31d' as const, label: '31d' }, +] as const; diff --git a/src/pages/xatu/nodes/index.ts b/src/pages/xatu/nodes/index.ts new file mode 100644 index 000000000..cb3893bec --- /dev/null +++ b/src/pages/xatu/nodes/index.ts @@ -0,0 +1,2 @@ +export { IndexPage } from './IndexPage'; +export { DetailPage } from './DetailPage'; diff --git a/src/pages/xatu/nodes/utils.ts b/src/pages/xatu/nodes/utils.ts new file mode 100644 index 000000000..915460c5f --- /dev/null +++ b/src/pages/xatu/nodes/utils.ts @@ -0,0 +1,150 @@ +import type { SeriesData } from '@/components/Charts/MultiLine/MultiLine.types'; + +/** + * Format bytes into a human-readable string (e.g. "1.23 GB", "456 MB"). + */ +export function formatBytes(bytes: number, decimals = 2): string { + if (bytes === 0) return '0 B'; + + const k = 1024; + const sizes = ['B', 'KB', 'MB', 'GB', 'TB']; + const i = Math.floor(Math.log(Math.abs(bytes)) / Math.log(k)); + const index = Math.min(i, sizes.length - 1); + + return `${(bytes / k ** index).toFixed(decimals)} ${sizes[index]}`; +} + +/** + * Format bytes per second into a human-readable rate string (e.g. "1.23 GB/s"). + */ +export function formatBytesPerSecond(bytes: number, decimals = 2): string { + if (bytes === 0) return '0 B/s'; + + const k = 1024; + const sizes = ['B/s', 'KB/s', 'MB/s', 'GB/s', 'TB/s']; + const i = Math.floor(Math.log(Math.abs(bytes)) / Math.log(k)); + const index = Math.min(i, sizes.length - 1); + + return `${(bytes / k ** index).toFixed(decimals)} ${sizes[index]}`; +} + +/** + * Compute time range boundaries for API queries. + * Returns Unix seconds for hourly tables and YYYY-MM-DD strings for daily tables. + */ +export function getTimeRange( + days: number, + dataType: 'hourly' | 'daily', +): { gte: number | string; lte: number | string } { + const now = new Date(); + const start = new Date(now.getTime() - days * 24 * 60 * 60 * 1000); + + if (dataType === 'daily') { + const fmt = (d: Date): string => d.toISOString().split('T')[0]; + return { gte: fmt(start), lte: fmt(now) }; + } + + return { + gte: Math.floor(start.getTime() / 1000), + lte: Math.floor(now.getTime() / 1000), + }; +} + +// ── Chart helpers ────────────────────────────────────────────────────── + +/** Row type union - any row with meta_client_name and either hourly or daily time key. */ +interface TimeRow { + meta_client_name?: string; + hour_start_date_time?: number; + day_start_date?: string; +} + +function getTimestamp(row: TimeRow): number { + if (row.hour_start_date_time !== undefined) return row.hour_start_date_time; + if (row.day_start_date) return Math.floor(new Date(row.day_start_date).getTime() / 1000); + return 0; +} + +/** + * Build MultiLineChart series from hourly/daily rows grouped by meta_client_name. + * Shared by CPU and Memory charts (simple 1 row → 1 value mapping). + */ +export function buildTimeSeries({ + data, + filterNode, + getValue, + colors, +}: { + data: T[]; + filterNode?: string; + getValue: (row: T) => number; + colors: string[]; +}): { series: SeriesData[]; timestamps: number[] } { + const filtered = filterNode ? data.filter(d => d.meta_client_name === filterNode) : data; + + const grouped = new Map>(); + const allTimestamps = new Set(); + + for (const row of filtered) { + const name = row.meta_client_name ?? 'unknown'; + if (!grouped.has(name)) grouped.set(name, new Map()); + const ts = getTimestamp(row); + allTimestamps.add(ts); + grouped.get(name)!.set(ts, getValue(row)); + } + + const sortedTimestamps = Array.from(allTimestamps).sort((a, b) => a - b); + const chartSeries: SeriesData[] = []; + let colorIndex = 0; + + for (const [name, timeMap] of grouped) { + chartSeries.push({ + name, + data: sortedTimestamps.map(ts => [ts, timeMap.get(ts) ?? 0] as [number, number]), + color: colors[colorIndex % colors.length], + lineWidth: 2, + smooth: 0.4, + showArea: true, + areaOpacity: 0.08, + }); + colorIndex++; + } + + return { series: chartSeries, timestamps: sortedTimestamps }; +} + +/** + * Build a styled HTML tooltip matching the slot view format. + */ +export function formatTimeTooltip( + items: Array<{ marker: string; seriesName: string; value: [number, number] | number }>, + formatValue: (v: number) => string, +): string { + if (items.length === 0) return ''; + + const first = items[0]; + const ts = Array.isArray(first.value) ? first.value[0] : 0; + const date = new Date(ts * 1000); + const timeStr = date.toLocaleString(undefined, { + month: 'short', + day: 'numeric', + hour: '2-digit', + minute: '2-digit', + }); + + let html = `
`; + html += `
${timeStr}
`; + + for (const p of items) { + const val = Array.isArray(p.value) ? p.value[1] : p.value; + if (val == null) continue; + html += `
`; + html += `${p.marker}`; + html += `${p.seriesName}`; + html += `${formatValue(Number(val))}`; + html += `
`; + } + + html += `
`; + return html; +} diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 4a47c238c..04a2ad92e 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -15,6 +15,7 @@ import { Route as EthereumRouteImport } from './routes/ethereum' import { Route as IndexRouteImport } from './routes/index' import { Route as XatuDataIndexRouteImport } from './routes/xatu-data/index' import { Route as ExperimentsIndexRouteImport } from './routes/experiments/index' +import { Route as XatuNodesRouteImport } from './routes/xatu/nodes' import { Route as XatuLocallyBuiltBlocksRouteImport } from './routes/xatu/locally-built-blocks' import { Route as XatuGeographicalChecklistRouteImport } from './routes/xatu/geographical-checklist' import { Route as XatuForkReadinessRouteImport } from './routes/xatu/fork-readiness' @@ -34,6 +35,7 @@ import { Route as EthereumDataAvailabilityRouteImport } from './routes/ethereum/ import { Route as EthereumContractsRouteImport } from './routes/ethereum/contracts' import { Route as EthereumConsensusRouteImport } from './routes/ethereum/consensus' import { Route as BeaconLocallyBuiltBlocksRouteImport } from './routes/beacon/locally-built-blocks' +import { Route as XatuNodesIndexRouteImport } from './routes/xatu/nodes/index' import { Route as XatuContributorsIndexRouteImport } from './routes/xatu/contributors/index' import { Route as EthereumValidatorsIndexRouteImport } from './routes/ethereum/validators/index' import { Route as EthereumSlotsIndexRouteImport } from './routes/ethereum/slots/index' @@ -41,6 +43,7 @@ import { Route as EthereumForksIndexRouteImport } from './routes/ethereum/forks/ import { Route as EthereumEpochsIndexRouteImport } from './routes/ethereum/epochs/index' import { Route as EthereumEntitiesIndexRouteImport } from './routes/ethereum/entities/index' import { Route as EthereumContractsIndexRouteImport } from './routes/ethereum/contracts/index' +import { Route as XatuNodesIdRouteImport } from './routes/xatu/nodes/$id' import { Route as XatuContributorsIdRouteImport } from './routes/xatu/contributors/$id' import { Route as EthereumValidatorsReportRouteImport } from './routes/ethereum/validators/report' import { Route as EthereumSlotsSlotRouteImport } from './routes/ethereum/slots/$slot' @@ -99,6 +102,11 @@ const ExperimentsIndexRoute = ExperimentsIndexRouteImport.update({ path: '/', getParentRoute: () => ExperimentsRoute, } as any) +const XatuNodesRoute = XatuNodesRouteImport.update({ + id: '/nodes', + path: '/nodes', + getParentRoute: () => XatuRoute, +} as any) const XatuLocallyBuiltBlocksRoute = XatuLocallyBuiltBlocksRouteImport.update({ id: '/locally-built-blocks', path: '/locally-built-blocks', @@ -199,6 +207,11 @@ const BeaconLocallyBuiltBlocksRoute = path: '/beacon/locally-built-blocks', getParentRoute: () => rootRouteImport, } as any) +const XatuNodesIndexRoute = XatuNodesIndexRouteImport.update({ + id: '/', + path: '/', + getParentRoute: () => XatuNodesRoute, +} as any) const XatuContributorsIndexRoute = XatuContributorsIndexRouteImport.update({ id: '/', path: '/', @@ -234,6 +247,11 @@ const EthereumContractsIndexRoute = EthereumContractsIndexRouteImport.update({ path: '/', getParentRoute: () => EthereumContractsRoute, } as any) +const XatuNodesIdRoute = XatuNodesIdRouteImport.update({ + id: '/$id', + path: '/$id', + getParentRoute: () => XatuNodesRoute, +} as any) const XatuContributorsIdRoute = XatuContributorsIdRouteImport.update({ id: '/$id', path: '/$id', @@ -415,8 +433,9 @@ export interface FileRoutesByFullPath { '/xatu/fork-readiness': typeof XatuForkReadinessRoute '/xatu/geographical-checklist': typeof XatuGeographicalChecklistRoute '/xatu/locally-built-blocks': typeof XatuLocallyBuiltBlocksRoute + '/xatu/nodes': typeof XatuNodesRouteWithChildren '/experiments/': typeof ExperimentsIndexRoute - '/xatu-data': typeof XatuDataIndexRoute + '/xatu-data/': typeof XatuDataIndexRoute '/beacon/block-production/live': typeof BeaconBlockProductionLiveRoute '/beacon/slot/live': typeof BeaconSlotLiveRoute '/ethereum/consensus/overview': typeof EthereumConsensusOverviewRoute @@ -435,6 +454,7 @@ export interface FileRoutesByFullPath { '/ethereum/slots/$slot': typeof EthereumSlotsSlotRoute '/ethereum/validators/report': typeof EthereumValidatorsReportRoute '/xatu/contributors/$id': typeof XatuContributorsIdRoute + '/xatu/nodes/$id': typeof XatuNodesIdRoute '/ethereum/contracts/': typeof EthereumContractsIndexRoute '/ethereum/entities/': typeof EthereumEntitiesIndexRoute '/ethereum/epochs/': typeof EthereumEpochsIndexRoute @@ -442,6 +462,7 @@ export interface FileRoutesByFullPath { '/ethereum/slots/': typeof EthereumSlotsIndexRoute '/ethereum/validators/': typeof EthereumValidatorsIndexRoute '/xatu/contributors/': typeof XatuContributorsIndexRoute + '/xatu/nodes/': typeof XatuNodesIndexRoute '/ethereum/execution/gas-profiler/simulate': typeof EthereumExecutionGasProfilerSimulateRoute '/ethereum/data-availability/custody/': typeof EthereumDataAvailabilityCustodyIndexRoute '/ethereum/data-availability/probes/': typeof EthereumDataAvailabilityProbesIndexRoute @@ -483,6 +504,7 @@ export interface FileRoutesByTo { '/ethereum/slots/$slot': typeof EthereumSlotsSlotRoute '/ethereum/validators/report': typeof EthereumValidatorsReportRoute '/xatu/contributors/$id': typeof XatuContributorsIdRoute + '/xatu/nodes/$id': typeof XatuNodesIdRoute '/ethereum/contracts': typeof EthereumContractsIndexRoute '/ethereum/entities': typeof EthereumEntitiesIndexRoute '/ethereum/epochs': typeof EthereumEpochsIndexRoute @@ -490,6 +512,7 @@ export interface FileRoutesByTo { '/ethereum/slots': typeof EthereumSlotsIndexRoute '/ethereum/validators': typeof EthereumValidatorsIndexRoute '/xatu/contributors': typeof XatuContributorsIndexRoute + '/xatu/nodes': typeof XatuNodesIndexRoute '/ethereum/execution/gas-profiler/simulate': typeof EthereumExecutionGasProfilerSimulateRoute '/ethereum/data-availability/custody': typeof EthereumDataAvailabilityCustodyIndexRoute '/ethereum/data-availability/probes': typeof EthereumDataAvailabilityProbesIndexRoute @@ -525,6 +548,7 @@ export interface FileRoutesById { '/xatu/fork-readiness': typeof XatuForkReadinessRoute '/xatu/geographical-checklist': typeof XatuGeographicalChecklistRoute '/xatu/locally-built-blocks': typeof XatuLocallyBuiltBlocksRoute + '/xatu/nodes': typeof XatuNodesRouteWithChildren '/experiments/': typeof ExperimentsIndexRoute '/xatu-data/': typeof XatuDataIndexRoute '/beacon/block-production/live': typeof BeaconBlockProductionLiveRoute @@ -545,6 +569,7 @@ export interface FileRoutesById { '/ethereum/slots/$slot': typeof EthereumSlotsSlotRoute '/ethereum/validators/report': typeof EthereumValidatorsReportRoute '/xatu/contributors/$id': typeof XatuContributorsIdRoute + '/xatu/nodes/$id': typeof XatuNodesIdRoute '/ethereum/contracts/': typeof EthereumContractsIndexRoute '/ethereum/entities/': typeof EthereumEntitiesIndexRoute '/ethereum/epochs/': typeof EthereumEpochsIndexRoute @@ -552,6 +577,7 @@ export interface FileRoutesById { '/ethereum/slots/': typeof EthereumSlotsIndexRoute '/ethereum/validators/': typeof EthereumValidatorsIndexRoute '/xatu/contributors/': typeof XatuContributorsIndexRoute + '/xatu/nodes/': typeof XatuNodesIndexRoute '/ethereum/execution/gas-profiler/simulate': typeof EthereumExecutionGasProfilerSimulateRoute '/ethereum/data-availability/custody/': typeof EthereumDataAvailabilityCustodyIndexRoute '/ethereum/data-availability/probes/': typeof EthereumDataAvailabilityProbesIndexRoute @@ -588,8 +614,9 @@ export interface FileRouteTypes { | '/xatu/fork-readiness' | '/xatu/geographical-checklist' | '/xatu/locally-built-blocks' + | '/xatu/nodes' | '/experiments/' - | '/xatu-data' + | '/xatu-data/' | '/beacon/block-production/live' | '/beacon/slot/live' | '/ethereum/consensus/overview' @@ -608,6 +635,7 @@ export interface FileRouteTypes { | '/ethereum/slots/$slot' | '/ethereum/validators/report' | '/xatu/contributors/$id' + | '/xatu/nodes/$id' | '/ethereum/contracts/' | '/ethereum/entities/' | '/ethereum/epochs/' @@ -615,6 +643,7 @@ export interface FileRouteTypes { | '/ethereum/slots/' | '/ethereum/validators/' | '/xatu/contributors/' + | '/xatu/nodes/' | '/ethereum/execution/gas-profiler/simulate' | '/ethereum/data-availability/custody/' | '/ethereum/data-availability/probes/' @@ -656,6 +685,7 @@ export interface FileRouteTypes { | '/ethereum/slots/$slot' | '/ethereum/validators/report' | '/xatu/contributors/$id' + | '/xatu/nodes/$id' | '/ethereum/contracts' | '/ethereum/entities' | '/ethereum/epochs' @@ -663,6 +693,7 @@ export interface FileRouteTypes { | '/ethereum/slots' | '/ethereum/validators' | '/xatu/contributors' + | '/xatu/nodes' | '/ethereum/execution/gas-profiler/simulate' | '/ethereum/data-availability/custody' | '/ethereum/data-availability/probes' @@ -697,6 +728,7 @@ export interface FileRouteTypes { | '/xatu/fork-readiness' | '/xatu/geographical-checklist' | '/xatu/locally-built-blocks' + | '/xatu/nodes' | '/experiments/' | '/xatu-data/' | '/beacon/block-production/live' @@ -717,6 +749,7 @@ export interface FileRouteTypes { | '/ethereum/slots/$slot' | '/ethereum/validators/report' | '/xatu/contributors/$id' + | '/xatu/nodes/$id' | '/ethereum/contracts/' | '/ethereum/entities/' | '/ethereum/epochs/' @@ -724,6 +757,7 @@ export interface FileRouteTypes { | '/ethereum/slots/' | '/ethereum/validators/' | '/xatu/contributors/' + | '/xatu/nodes/' | '/ethereum/execution/gas-profiler/simulate' | '/ethereum/data-availability/custody/' | '/ethereum/data-availability/probes/' @@ -781,7 +815,7 @@ declare module '@tanstack/react-router' { '/xatu-data/': { id: '/xatu-data/' path: '/xatu-data' - fullPath: '/xatu-data' + fullPath: '/xatu-data/' preLoaderRoute: typeof XatuDataIndexRouteImport parentRoute: typeof rootRouteImport } @@ -792,6 +826,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof ExperimentsIndexRouteImport parentRoute: typeof ExperimentsRoute } + '/xatu/nodes': { + id: '/xatu/nodes' + path: '/nodes' + fullPath: '/xatu/nodes' + preLoaderRoute: typeof XatuNodesRouteImport + parentRoute: typeof XatuRoute + } '/xatu/locally-built-blocks': { id: '/xatu/locally-built-blocks' path: '/locally-built-blocks' @@ -925,6 +966,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof BeaconLocallyBuiltBlocksRouteImport parentRoute: typeof rootRouteImport } + '/xatu/nodes/': { + id: '/xatu/nodes/' + path: '/' + fullPath: '/xatu/nodes/' + preLoaderRoute: typeof XatuNodesIndexRouteImport + parentRoute: typeof XatuNodesRoute + } '/xatu/contributors/': { id: '/xatu/contributors/' path: '/' @@ -974,6 +1022,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof EthereumContractsIndexRouteImport parentRoute: typeof EthereumContractsRoute } + '/xatu/nodes/$id': { + id: '/xatu/nodes/$id' + path: '/$id' + fullPath: '/xatu/nodes/$id' + preLoaderRoute: typeof XatuNodesIdRouteImport + parentRoute: typeof XatuNodesRoute + } '/xatu/contributors/$id': { id: '/xatu/contributors/$id' path: '/$id' @@ -1442,11 +1497,26 @@ const XatuContributorsRouteChildren: XatuContributorsRouteChildren = { const XatuContributorsRouteWithChildren = XatuContributorsRoute._addFileChildren(XatuContributorsRouteChildren) +interface XatuNodesRouteChildren { + XatuNodesIdRoute: typeof XatuNodesIdRoute + XatuNodesIndexRoute: typeof XatuNodesIndexRoute +} + +const XatuNodesRouteChildren: XatuNodesRouteChildren = { + XatuNodesIdRoute: XatuNodesIdRoute, + XatuNodesIndexRoute: XatuNodesIndexRoute, +} + +const XatuNodesRouteWithChildren = XatuNodesRoute._addFileChildren( + XatuNodesRouteChildren, +) + interface XatuRouteChildren { XatuContributorsRoute: typeof XatuContributorsRouteWithChildren XatuForkReadinessRoute: typeof XatuForkReadinessRoute XatuGeographicalChecklistRoute: typeof XatuGeographicalChecklistRoute XatuLocallyBuiltBlocksRoute: typeof XatuLocallyBuiltBlocksRoute + XatuNodesRoute: typeof XatuNodesRouteWithChildren } const XatuRouteChildren: XatuRouteChildren = { @@ -1454,6 +1524,7 @@ const XatuRouteChildren: XatuRouteChildren = { XatuForkReadinessRoute: XatuForkReadinessRoute, XatuGeographicalChecklistRoute: XatuGeographicalChecklistRoute, XatuLocallyBuiltBlocksRoute: XatuLocallyBuiltBlocksRoute, + XatuNodesRoute: XatuNodesRouteWithChildren, } const XatuRouteWithChildren = XatuRoute._addFileChildren(XatuRouteChildren) diff --git a/src/routes/xatu/nodes.tsx b/src/routes/xatu/nodes.tsx new file mode 100644 index 000000000..abb960144 --- /dev/null +++ b/src/routes/xatu/nodes.tsx @@ -0,0 +1,18 @@ +import { createFileRoute, Outlet } from '@tanstack/react-router'; + +export const Route = createFileRoute('/xatu/nodes')({ + component: Outlet, + beforeLoad: () => ({ + getBreadcrumb: () => ({ label: 'Nodes' }), + }), + head: () => ({ + meta: [ + { title: `Nodes | ${import.meta.env.VITE_BASE_TITLE}` }, + { + name: 'description', + content: + 'Monitor Xatu node hardware specs and resource utilization including CPU, memory, disk I/O, and network I/O.', + }, + ], + }), +}); diff --git a/src/routes/xatu/nodes/$id.tsx b/src/routes/xatu/nodes/$id.tsx new file mode 100644 index 000000000..e0c3dc7e6 --- /dev/null +++ b/src/routes/xatu/nodes/$id.tsx @@ -0,0 +1,22 @@ +import { createFileRoute } from '@tanstack/react-router'; +import { z } from 'zod'; +import { DetailPage } from '@/pages/xatu/nodes'; + +const nodeDetailSearchSchema = z.object({ + t: z.enum(['24h', '7d', '31d']).optional(), +}); + +export const Route = createFileRoute('/xatu/nodes/$id')({ + component: DetailPage, + validateSearch: nodeDetailSearchSchema, + beforeLoad: ({ params }) => ({ + getBreadcrumb: () => ({ label: decodeURIComponent(params.id) }), + }), + head: ctx => ({ + meta: [ + { + title: `${decodeURIComponent(ctx.params.id)} | Nodes | ${import.meta.env.VITE_BASE_TITLE}`, + }, + ], + }), +}); diff --git a/src/routes/xatu/nodes/index.tsx b/src/routes/xatu/nodes/index.tsx new file mode 100644 index 000000000..76a1975f2 --- /dev/null +++ b/src/routes/xatu/nodes/index.tsx @@ -0,0 +1,15 @@ +import { createFileRoute } from '@tanstack/react-router'; +import { z } from 'zod'; +import { IndexPage } from '@/pages/xatu/nodes'; + +const nodesSearchSchema = z.object({ + t: z.enum(['24h', '7d', '31d']).optional(), +}); + +export const Route = createFileRoute('/xatu/nodes/')({ + component: IndexPage, + validateSearch: nodesSearchSchema, + beforeLoad: () => ({ + getBreadcrumb: () => ({ label: 'Overview' }), + }), +}); diff --git a/src/utils/node-resources.ts b/src/utils/node-resources.ts new file mode 100644 index 000000000..f943f69a9 --- /dev/null +++ b/src/utils/node-resources.ts @@ -0,0 +1,64 @@ +/** + * Shared utilities for node resource charts (CPU, Memory, Disk I/O, Network I/O). + * + * These constants and helpers are used across multiple chart components in the + * slot deep-dive NodeResources section. + */ + +// --------------------------------------------------------------------------- +// Types +// --------------------------------------------------------------------------- + +/** Minimal ECharts tooltip callback parameter shape used by chart formatters. */ +export interface EChartsTooltipParam { + marker: string; + seriesName: string; + value: [number, number] | number; + axisValue?: number | string; +} + +// --------------------------------------------------------------------------- +// Constants +// --------------------------------------------------------------------------- + +/** Width of each time bucket (in seconds) for slot-time aggregation. */ +export const SLOT_BUCKET_SIZE = 0.25; + +/** Pre-computed array of all bucket boundaries from 0 to 12 seconds (inclusive). */ +export const ALL_SLOT_BUCKETS: number[] = Array.from({ length: 49 }, (_, i) => i * SLOT_BUCKET_SIZE); + +/** Slot phase boundary colors: cyan (block), green (attestation), amber (aggregation). */ +export const PHASE_BOUNDARY_COLORS = ['#22d3ee', '#22c55e', '#f59e0b']; + +// --------------------------------------------------------------------------- +// Conversion helpers +// --------------------------------------------------------------------------- + +/** Convert microseconds to seconds. */ +export function usToSeconds(us: number): number { + return us / 1_000_000; +} + +/** Capitalize the first character of a string. */ +export function capitalize(s: string): string { + return s.charAt(0).toUpperCase() + s.slice(1); +} + +/** Convert bytes to kilobytes. */ +export function bytesToKB(b: number): number { + return b / 1024; +} + +// --------------------------------------------------------------------------- +// Aggregation helpers +// --------------------------------------------------------------------------- + +/** Snap an offset (in seconds) to the nearest slot bucket boundary. */ +export function toSlotBucket(offsetSec: number): number { + return Math.round(offsetSec / SLOT_BUCKET_SIZE) * SLOT_BUCKET_SIZE; +} + +/** Arithmetic mean of a number array. */ +export function avg(arr: number[]): number { + return arr.reduce((s, v) => s + v, 0) / arr.length; +}