Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@supertenant/superconsts / types / index.autogen.d.mts
Size: Mime:
// (c) Copyright 2023 Supertenant Ltd. - all rights reserved.
// See LICENSE file in project root for license terms.
declare const _default: {
    Action: {
        Delay: number;
        Execute: number;
        Reject: number;
        Wait: number;
    };
    BrainLogLevel: {
        Debug: number;
        Error: number;
        Fatal: number;
        Info: number;
        Trace: number;
        Warn: number;
    };
    CompletionStatus: {
        AppCanceled: string;
        AppError: string;
        AppLoadshedded: string;
        StQosLoadshedded: string;
        Success: string;
    };
    Header: {
        ClientId: string;
        RequestId: string;
        StAuthToken: string;
        StCanRetry: string;
        StRetry: string;
    };
    IntegrationModule: {
        JavaHttpservlet: string;
        JavaJdbc: string;
        NodejsExpress: string;
        PythonAiohttp: string;
        PythonBoto3: string;
        PythonCelery: string;
        PythonDjango: string;
        PythonFastapi: string;
        PythonFlask: string;
        PythonProcesstask: string;
        PythonPsycopg2: string;
        PythonPymongo: string;
        PythonPymysql: string;
    };
    MaskLevel: {
        All: number;
        AllAndKeys: number;
        None: number;
        Partial: number;
    };
    Label: {
        ArgvPrefix: string;
        AwsEndpoint: string;
        AwsOperation: string;
        AwsRegion: string;
        AwsS3Bucket: string;
        AwsS3ObjectPath: string;
        AwsSqsQueueName: string;
        AwsSqsQueueUrl: string;
        CeleryArgs: string;
        CeleryBrokerHost: string;
        CeleryBrokerPort: string;
        CeleryBrokerScheme: string;
        CeleryExchange: string;
        CeleryKwargs: string;
        CeleryRetryReason: string;
        CeleryRoutingKey: string;
        CelerySuccess: string;
        CeleryTask: string;
        CeleryTaskId: string;
        DbCollection: string;
        DbCommand: string;
        DbDatabase: string;
        DbHost: string;
        DbMongodbCollection: string;
        DbMongodbCommandJson: string;
        DbMongodbFilter: string;
        DbPort: string;
        DbReplicaSet: string;
        DbStatement: string;
        DbSubCommand: string;
        DbUser: string;
        EnvVarPrefix: string;
        ExecutionHostContainerId: string;
        ExecutionHostHostName: string;
        ExecutionHostLibc: string;
        ExecutionHostOs: string;
        ExecutionHostOsVersion: string;
        ExecutionHostParentProcessId: string;
        ExecutionHostPlatform: string;
        ExecutionHostPlatformVersion: string;
        ExecutionHostProcessId: string;
        FlaskImportName: string;
        HttpHeaderPrefix: string;
        HttpHost: string;
        HttpMethod: string;
        HttpParams: string;
        HttpPath: string;
        HttpStatus: string;
        HttpUserAgent: string;
        IntegrationModuleResourceId: string;
        MetricDatapointTimestamp: string;
        MetricDatapointValue: string;
        MetricDatapointValueType: string;
        PlatformName: string;
        PlatformVersion: string;
        SupertenantAccountId: string;
        SupertenantActionOverrideHttpHeaders: string;
        SupertenantCanceled: string;
        SupertenantCollectorDocumentId: string;
        SupertenantCollectorDocumentType: string;
        SupertenantCollectorId: string;
        SupertenantCollectorType: string;
        SupertenantCompletionStatus: string;
        SupertenantDefaultServerResourceId: string;
        SupertenantError: string;
        SupertenantHashedBasePolicyPrefix: string;
        SupertenantIntegrationModule: string;
        SupertenantMetricName: string;
        SupertenantMetricPath: string;
        SupertenantMetricType: string;
        SupertenantMetricUnit: string;
        SupertenantPoliciesHit: string;
        SupertenantQosDelay: string;
        SupertenantQosRejected: string;
        SupertenantResourceId: string;
        SupertenantResourceType: string;
        SupertenantSpanFlushed: string;
        SupertenantSpanState: string;
        SupertenantSpanType: string;
        SupertenantTenantId: string;
    };
    LabelsMetadata: {
        [id: string]: {
            isPrefix: boolean;
            mask: number;
        };
    };
    LabelPrefixesMetadata: {
        [id: string]: number;
    };
    MetricUnit: {
        Byte: string;
        Count: string;
        Enum: string;
        Millisecond: string;
        Nanosecond: string;
    };
    MetricValue: {
        Count: string;
        Duration: string;
        DurationWithoutDelay: string;
        QosDelay: string;
        QosState: string;
        QueueSize: string;
        TypeFloat: string;
        TypeTdigest: string;
    };
    QosStatus: {
        Active: number;
        ActiveNoop: number;
        Inactive: number;
    };
    RejectAttribute: {
        Code: string;
        ErrorMessage: string;
        HttpRc: string;
        SqlRc: string;
        SqlState: string;
    };
    RejectAttributesMetadata: {
        [id: string]: {
            castToNumber: boolean;
        };
    };
    ResourceType: {
        BotoClient: string;
        CeleryClient: string;
        CeleryWorker: string;
        Custom: string;
        GenericDatabase: string;
        HttpClient: string;
        HttpServer: string;
        Mongodb: string;
        Mysql: string;
        Postgresql: string;
        Processtask: string;
        Redis: string;
    };
    ResourceTypeLoadShedding: {
        BotoClient: {
            label: string;
            values: string[];
        };
        HttpClient: {
            label: string;
            values: string[];
        };
        HttpServer: {
            label: string;
            values: string[];
        };
    };
    ResourceTypes: string[];
    LabelsByResourceType: {
        [id: string]: string[];
    };
    RejectAttributesByResourceType: {
        [id: string]: string[];
    };
    SpanState: {
        Closed: string;
        Open: string;
    };
    SpanType: {
        ClientRequest: number;
        ServerRequest: number;
    };
    Task: {
        Coroutine: number;
        Thread: number;
    };
};
export default _default;
export const Action: {
    Delay: number;
    Execute: number;
    Reject: number;
    Wait: number;
};
export const BrainLogLevel: {
    Debug: number;
    Error: number;
    Fatal: number;
    Info: number;
    Trace: number;
    Warn: number;
};
export const CompletionStatus: {
    AppCanceled: string;
    AppError: string;
    AppLoadshedded: string;
    StQosLoadshedded: string;
    Success: string;
};
export const Header: {
    ClientId: string;
    RequestId: string;
    StAuthToken: string;
    StCanRetry: string;
    StRetry: string;
};
export const IntegrationModule: {
    JavaHttpservlet: string;
    JavaJdbc: string;
    NodejsExpress: string;
    PythonAiohttp: string;
    PythonBoto3: string;
    PythonCelery: string;
    PythonDjango: string;
    PythonFastapi: string;
    PythonFlask: string;
    PythonProcesstask: string;
    PythonPsycopg2: string;
    PythonPymongo: string;
    PythonPymysql: string;
};
export const MaskLevel: {
    All: number;
    AllAndKeys: number;
    None: number;
    Partial: number;
};
export const Label: {
    ArgvPrefix: string;
    AwsEndpoint: string;
    AwsOperation: string;
    AwsRegion: string;
    AwsS3Bucket: string;
    AwsS3ObjectPath: string;
    AwsSqsQueueName: string;
    AwsSqsQueueUrl: string;
    CeleryArgs: string;
    CeleryBrokerHost: string;
    CeleryBrokerPort: string;
    CeleryBrokerScheme: string;
    CeleryExchange: string;
    CeleryKwargs: string;
    CeleryRetryReason: string;
    CeleryRoutingKey: string;
    CelerySuccess: string;
    CeleryTask: string;
    CeleryTaskId: string;
    DbCollection: string;
    DbCommand: string;
    DbDatabase: string;
    DbHost: string;
    DbMongodbCollection: string;
    DbMongodbCommandJson: string;
    DbMongodbFilter: string;
    DbPort: string;
    DbReplicaSet: string;
    DbStatement: string;
    DbSubCommand: string;
    DbUser: string;
    EnvVarPrefix: string;
    ExecutionHostContainerId: string;
    ExecutionHostHostName: string;
    ExecutionHostLibc: string;
    ExecutionHostOs: string;
    ExecutionHostOsVersion: string;
    ExecutionHostParentProcessId: string;
    ExecutionHostPlatform: string;
    ExecutionHostPlatformVersion: string;
    ExecutionHostProcessId: string;
    FlaskImportName: string;
    HttpHeaderPrefix: string;
    HttpHost: string;
    HttpMethod: string;
    HttpParams: string;
    HttpPath: string;
    HttpStatus: string;
    HttpUserAgent: string;
    IntegrationModuleResourceId: string;
    MetricDatapointTimestamp: string;
    MetricDatapointValue: string;
    MetricDatapointValueType: string;
    PlatformName: string;
    PlatformVersion: string;
    SupertenantAccountId: string;
    SupertenantActionOverrideHttpHeaders: string;
    SupertenantCanceled: string;
    SupertenantCollectorDocumentId: string;
    SupertenantCollectorDocumentType: string;
    SupertenantCollectorId: string;
    SupertenantCollectorType: string;
    SupertenantCompletionStatus: string;
    SupertenantDefaultServerResourceId: string;
    SupertenantError: string;
    SupertenantHashedBasePolicyPrefix: string;
    SupertenantIntegrationModule: string;
    SupertenantMetricName: string;
    SupertenantMetricPath: string;
    SupertenantMetricType: string;
    SupertenantMetricUnit: string;
    SupertenantPoliciesHit: string;
    SupertenantQosDelay: string;
    SupertenantQosRejected: string;
    SupertenantResourceId: string;
    SupertenantResourceType: string;
    SupertenantSpanFlushed: string;
    SupertenantSpanState: string;
    SupertenantSpanType: string;
    SupertenantTenantId: string;
};
export const LabelsMetadata: {
    [id: string]: {
        isPrefix: boolean;
        mask: number;
    };
};
export const LabelPrefixesMetadata: {
    [id: string]: number;
};
export const MetricUnit: {
    Byte: string;
    Count: string;
    Enum: string;
    Millisecond: string;
    Nanosecond: string;
};
export const MetricValue: {
    Count: string;
    Duration: string;
    DurationWithoutDelay: string;
    QosDelay: string;
    QosState: string;
    QueueSize: string;
    TypeFloat: string;
    TypeTdigest: string;
};
export const QosStatus: {
    Active: number;
    ActiveNoop: number;
    Inactive: number;
};
export const RejectAttribute: {
    Code: string;
    ErrorMessage: string;
    HttpRc: string;
    SqlRc: string;
    SqlState: string;
};
export const RejectAttributesMetadata: {
    [id: string]: {
        castToNumber: boolean;
    };
};
export const ResourceType: {
    BotoClient: string;
    CeleryClient: string;
    CeleryWorker: string;
    Custom: string;
    GenericDatabase: string;
    HttpClient: string;
    HttpServer: string;
    Mongodb: string;
    Mysql: string;
    Postgresql: string;
    Processtask: string;
    Redis: string;
};
export const ResourceTypeLoadShedding: {
    BotoClient: {
        label: string;
        values: string[];
    };
    HttpClient: {
        label: string;
        values: string[];
    };
    HttpServer: {
        label: string;
        values: string[];
    };
};
export const ResourceTypes: string[];
export const LabelsByResourceType: {
    [id: string]: string[];
};
export const RejectAttributesByResourceType: {
    [id: string]: string[];
};
export const SpanState: {
    Closed: string;
    Open: string;
};
export const SpanType: {
    ClientRequest: number;
    ServerRequest: number;
};
export const Task: {
    Coroutine: number;
    Thread: number;
};