UNPKG

@kaaiot/services

Version:

Type definitions for KaaIoT platform REST API service communication

78 lines (77 loc) 1.94 kB
export interface ECRConfigurationResponse { configId: string; config: string; createdDate: string; updatedDate: string; } export interface ECRGetConfigurationHeaders { 'If-None-Match': string; } export interface ECRSetConfigurationHeaders { 'If-Match': string; } export interface ECRGetEpConfigurationParams { endpointId: string; appVersionName: string; headers?: ECRGetConfigurationHeaders; } export interface ECRSetEpConfigurationParams { endpointId: string; appVersionName: string; data: any; headers?: ECRSetConfigurationHeaders; } export interface ECRBatchUpdateEpConfigurationParams { endpoints: Record<string, string[]>; configPayload: any; } export interface ECRBatchUpdateEpConfigurationByFilterParams { filterId: string; data: any; } export interface ECRDeleteEpConfigurationParams { endpointId: string; appVersionName: string; } export interface ECRDeleteConfigurationResponse { message: string; } export interface ECRGetDefaultConfiguration { appVersionName: string; headers: ECRGetConfigurationHeaders; } export interface SystemConfigsResponse { content: SystemConfig[]; totalElements: number; } export interface SystemConfigsRequestParams { page?: number; size?: number; sort?: 'updatedAt' | 'createdAt'; sortOrder?: 'asc' | 'desc'; name?: string; } export interface SystemConfig { name: string; config: string; configId: string; updatedAt: string; createdAt: string; displayName?: string; } export interface SystemConfigsItemPayload { name: string; config: string; displayName?: string; } export declare enum ConfigLevel { tenant = "tenants", application = "applications", appVersion = "app-versions", endpoint = "endpoints" } export interface ECRSetDefaultConfiguration { appVersionName: string; headers: ECRSetConfigurationHeaders; data: any; }