Documentation - v0.0.0
    Preparing search index...

    Interface CrisisCleanupConfig

    interface CrisisCleanupConfig {
        $env?: Partial<
            Record<
                | "local"
                | "development"
                | "staging"
                | "production"
                | "production-au"
                | "test",
                objectOutputType<
                    {
                        api: ZodDefault<
                            ZodObject<
                                {
                                    config: ZodDefault<
                                        ZodObject<
                                            {
                                                ccu: ...;
                                                celery: ...;
                                                connect: ...;
                                                django: ...;
                                                elasticSearch: ...;
                                                langchain: ...;
                                                newRelic: ...;
                                                phone: ...;
                                                rag: ...;
                                                sentry: ...;
                                            },
                                            "strip",
                                            ZodTypeAny,
                                            {
                                                ccu: ...;
                                                celery: ...;
                                                connect: ...;
                                                django: ...;
                                                elasticSearch: ...;
                                                langchain: ...;
                                                newRelic: ...;
                                                phone: ...;
                                                rag: ...;
                                                sentry: ...;
                                            },
                                            {
                                                ccu?: ...;
                                                celery?: ...;
                                                connect?: ...;
                                                django?: ...;
                                                elasticSearch?: ...;
                                                langchain?: ...;
                                                newRelic?: ...;
                                                phone?: ...;
                                                rag?: ...;
                                                sentry?: ...;
                                            },
                                        >,
                                    >;
                                    secrets: ZodDefault<
                                        ZodObject<
                                            {
                                                aws: ...;
                                                cloudfront: ...;
                                                connectFirst: ...;
                                                django: ...;
                                                ipstack: ...;
                                                jwt: ...;
                                                langchain: ...;
                                                notifications: ...;
                                                postgres: ...;
                                                redis: ...;
                                                saml: ...;
                                                stripe: ...;
                                                zendesk: ...;
                                            },
                                            "passthrough",
                                            ZodTypeAny,
                                            objectOutputType<(...), (...), (...)>,
                                            objectInputType<(...), (...), (...)>,
                                        >,
                                    >;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    config: {
                                        ccu: {
                                            apiUrl: string;
                                            forceDocker: boolean;
                                            newrelicDisable: boolean;
                                            webUrl: string;
                                        };
                                        celery: { alwaysEager: boolean };
                                        connect: { instanceId: string };
                                        django: {
                                            accountAllowRegistration: boolean;
                                            allowedHosts: (...)[];
                                            corsOriginWhitelist: (...)[];
                                            csrfCookieSecure: boolean;
                                            csrfTrustedOrigins: (...)[];
                                            emailBackend: string;
                                            secureSslRedirect: boolean;
                                            sessionCookieSecure: boolean;
                                            settingsModule: string;
                                        };
                                        elasticSearch: { host: string };
                                        langchain: {
                                            endpoint: string;
                                            project: string;
                                            tracingV2: boolean;
                                        };
                                        newRelic: {
                                            configFile: string;
                                            environment?: | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...)
                                            | (...);
                                        };
                                        phone: { checkTimezone: boolean };
                                        rag: {
                                            chatModel: string;
                                            documentEmbedModel: string;
                                            queryEmbedModel: string;
                                        };
                                        sentry: { traceExcludeUrls: (...)[] };
                                    };
                                    secrets: {
                                        aws?: (...)
                                        | (...);
                                        cloudfront?: (...) | (...);
                                        connectFirst?: (...) | (...);
                                        django?: (...) | (...);
                                        ipstack?: (...) | (...);
                                        jwt?: (...) | (...);
                                        langchain?: (...) | (...);
                                        notifications?: (...) | (...);
                                        postgres?: (...) | (...);
                                        redis?: (...) | (...);
                                        saml?: (...) | (...);
                                        stripe?: (...) | (...);
                                        zendesk?: (...) | (...);
                                    } & { [k: string]: unknown };
                                },
                                {
                                    config?: {
                                        ccu?: (...)
                                        | (...);
                                        celery?: (...) | (...);
                                        connect?: (...) | (...);
                                        django?: (...) | (...);
                                        elasticSearch?: (...) | (...);
                                        langchain?: (...) | (...);
                                        newRelic?: (...) | (...);
                                        phone?: (...) | (...);
                                        rag?: (...) | (...);
                                        sentry?: (...) | (...);
                                    };
                                    secrets?: objectInputType<
                                        {
                                            aws: ...;
                                            cloudfront: ...;
                                            connectFirst: ...;
                                            django: ...;
                                            ipstack: ...;
                                            jwt: ...;
                                            langchain: ...;
                                            notifications: ...;
                                            postgres: ...;
                                            redis: ...;
                                            saml: ...;
                                            stripe: ...;
                                            zendesk: ...;
                                        },
                                        ZodTypeAny,
                                        "passthrough",
                                    >;
                                },
                            >,
                        >;
                        ccuStage: ZodEnum<
                            [
                                "local",
                                "development",
                                "staging",
                                "production",
                                "production-au",
                                "test",
                            ],
                        >;
                        cdkEnvironment: ZodDefault<
                            ZodObject<
                                { account: ZodDefault<ZodString>; region: ZodDefault<ZodString> },
                                "strip",
                                ZodTypeAny,
                                { account: string; region: string },
                                { account?: string; region?: string },
                            >,
                        >;
                        pipeline: ZodDefault<
                            ZodObject<
                                {
                                    appRegistryTag: ZodDefault<ZodString>;
                                    assetsBucketName: ZodDefault<ZodString>;
                                    repositories: ZodDefault<ZodArray<ZodString, "many">>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    appRegistryTag: string;
                                    assetsBucketName: string;
                                    repositories: string[];
                                },
                                {
                                    appRegistryTag?: string;
                                    assetsBucketName?: string;
                                    repositories?: string[];
                                },
                            >,
                        >;
                    },
                    ZodTypeAny,
                    "passthrough",
                >,
            >,
        >;
        $extends?: string[];
        api: {
            config: {
                ccu: {
                    apiUrl: string;
                    forceDocker: boolean;
                    newrelicDisable: boolean;
                    webUrl: string;
                };
                celery: { alwaysEager: boolean };
                connect: { instanceId: string };
                django: {
                    accountAllowRegistration: boolean;
                    allowedHosts: string[];
                    corsOriginWhitelist: string[];
                    csrfCookieSecure: boolean;
                    csrfTrustedOrigins: string[];
                    emailBackend: string;
                    secureSslRedirect: boolean;
                    sessionCookieSecure: boolean;
                    settingsModule: string;
                };
                elasticSearch: { host: string };
                langchain: { endpoint: string; project: string; tracingV2: boolean };
                newRelic: {
                    configFile: string;
                    environment?:
                        | "local"
                        | "development"
                        | "staging"
                        | "production"
                        | "production-au"
                        | "test";
                };
                phone: { checkTimezone: boolean };
                rag: {
                    chatModel: string;
                    documentEmbedModel: string;
                    queryEmbedModel: string;
                };
                sentry: { traceExcludeUrls: string[] };
            };
            secrets: {
                aws?: {
                    accessKeyId: string;
                    defaultRegion: string;
                    dynamoStage: string;
                    secretAccessKey: string;
                };
                cloudfront?: { privateKey: string; publicKey: string };
                connectFirst?: { password: string };
                django?: {
                    adminUrl: string;
                    mandrill: { apiKey: string };
                    secretKey: string;
                };
                ipstack?: { apiKey?: string };
                jwt?: { privateKey: string; publicKey: string };
                langchain?: { apiKey?: string };
                notifications?: {
                    slack: {
                        chat: { webhookUrl?: string };
                        default: { webhookUrl?: string };
                    };
                };
                postgres?: {
                    dbname: string;
                    host?: string;
                    hostReplica?: string;
                    password?: string;
                    port?: string;
                    user?: string;
                };
                redis?: { host: string; hostReplicas: string[] };
                saml?: { awsProvider: string; awsRole: string };
                stripe?: { apiKey: string };
                zendesk?: { apiKey: string };
            } & { [k: string]: unknown };
        };
        ccuStage: | "local"
        | "development"
        | "staging"
        | "production"
        | "production-au"
        | "test";
        cdkEnvironment: { account: string; region: string };
        pipeline: {
            appRegistryTag: string;
            assetsBucketName: string;
            repositories: string[];
        };
        [k: string]: unknown;
    }

    Hierarchy

    Indexable

    • [k: string]: unknown
    Index

    Properties

    $env?: Partial<
        Record<
            | "local"
            | "development"
            | "staging"
            | "production"
            | "production-au"
            | "test",
            objectOutputType<
                {
                    api: ZodDefault<
                        ZodObject<
                            {
                                config: ZodDefault<
                                    ZodObject<
                                        {
                                            ccu: ...;
                                            celery: ...;
                                            connect: ...;
                                            django: ...;
                                            elasticSearch: ...;
                                            langchain: ...;
                                            newRelic: ...;
                                            phone: ...;
                                            rag: ...;
                                            sentry: ...;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            ccu: ...;
                                            celery: ...;
                                            connect: ...;
                                            django: ...;
                                            elasticSearch: ...;
                                            langchain: ...;
                                            newRelic: ...;
                                            phone: ...;
                                            rag: ...;
                                            sentry: ...;
                                        },
                                        {
                                            ccu?: ...;
                                            celery?: ...;
                                            connect?: ...;
                                            django?: ...;
                                            elasticSearch?: ...;
                                            langchain?: ...;
                                            newRelic?: ...;
                                            phone?: ...;
                                            rag?: ...;
                                            sentry?: ...;
                                        },
                                    >,
                                >;
                                secrets: ZodDefault<
                                    ZodObject<
                                        {
                                            aws: ...;
                                            cloudfront: ...;
                                            connectFirst: ...;
                                            django: ...;
                                            ipstack: ...;
                                            jwt: ...;
                                            langchain: ...;
                                            notifications: ...;
                                            postgres: ...;
                                            redis: ...;
                                            saml: ...;
                                            stripe: ...;
                                            zendesk: ...;
                                        },
                                        "passthrough",
                                        ZodTypeAny,
                                        objectOutputType<(...), (...), (...)>,
                                        objectInputType<(...), (...), (...)>,
                                    >,
                                >;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                config: {
                                    ccu: {
                                        apiUrl: string;
                                        forceDocker: boolean;
                                        newrelicDisable: boolean;
                                        webUrl: string;
                                    };
                                    celery: { alwaysEager: boolean };
                                    connect: { instanceId: string };
                                    django: {
                                        accountAllowRegistration: boolean;
                                        allowedHosts: (...)[];
                                        corsOriginWhitelist: (...)[];
                                        csrfCookieSecure: boolean;
                                        csrfTrustedOrigins: (...)[];
                                        emailBackend: string;
                                        secureSslRedirect: boolean;
                                        sessionCookieSecure: boolean;
                                        settingsModule: string;
                                    };
                                    elasticSearch: { host: string };
                                    langchain: { endpoint: string; project: string; tracingV2: boolean };
                                    newRelic: {
                                        configFile: string;
                                        environment?: (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                    };
                                    phone: { checkTimezone: boolean };
                                    rag: {
                                        chatModel: string;
                                        documentEmbedModel: string;
                                        queryEmbedModel: string;
                                    };
                                    sentry: { traceExcludeUrls: (...)[] };
                                };
                                secrets: {
                                    aws?: (...)
                                    | (...);
                                    cloudfront?: (...) | (...);
                                    connectFirst?: (...) | (...);
                                    django?: (...) | (...);
                                    ipstack?: (...) | (...);
                                    jwt?: (...) | (...);
                                    langchain?: (...) | (...);
                                    notifications?: (...) | (...);
                                    postgres?: (...) | (...);
                                    redis?: (...) | (...);
                                    saml?: (...) | (...);
                                    stripe?: (...) | (...);
                                    zendesk?: (...) | (...);
                                } & { [k: string]: unknown };
                            },
                            {
                                config?: {
                                    ccu?: (...)
                                    | (...);
                                    celery?: (...) | (...);
                                    connect?: (...) | (...);
                                    django?: (...) | (...);
                                    elasticSearch?: (...) | (...);
                                    langchain?: (...) | (...);
                                    newRelic?: (...) | (...);
                                    phone?: (...) | (...);
                                    rag?: (...) | (...);
                                    sentry?: (...) | (...);
                                };
                                secrets?: objectInputType<
                                    {
                                        aws: ...;
                                        cloudfront: ...;
                                        connectFirst: ...;
                                        django: ...;
                                        ipstack: ...;
                                        jwt: ...;
                                        langchain: ...;
                                        notifications: ...;
                                        postgres: ...;
                                        redis: ...;
                                        saml: ...;
                                        stripe: ...;
                                        zendesk: ...;
                                    },
                                    ZodTypeAny,
                                    "passthrough",
                                >;
                            },
                        >,
                    >;
                    ccuStage: ZodEnum<
                        [
                            "local",
                            "development",
                            "staging",
                            "production",
                            "production-au",
                            "test",
                        ],
                    >;
                    cdkEnvironment: ZodDefault<
                        ZodObject<
                            { account: ZodDefault<ZodString>; region: ZodDefault<ZodString> },
                            "strip",
                            ZodTypeAny,
                            { account: string; region: string },
                            { account?: string; region?: string },
                        >,
                    >;
                    pipeline: ZodDefault<
                        ZodObject<
                            {
                                appRegistryTag: ZodDefault<ZodString>;
                                assetsBucketName: ZodDefault<ZodString>;
                                repositories: ZodDefault<ZodArray<ZodString, "many">>;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                appRegistryTag: string;
                                assetsBucketName: string;
                                repositories: string[];
                            },
                            {
                                appRegistryTag?: string;
                                assetsBucketName?: string;
                                repositories?: string[];
                            },
                        >,
                    >;
                },
                ZodTypeAny,
                "passthrough",
            >,
        >,
    >
    $extends?: string[]
    api: {
        config: {
            ccu: {
                apiUrl: string;
                forceDocker: boolean;
                newrelicDisable: boolean;
                webUrl: string;
            };
            celery: { alwaysEager: boolean };
            connect: { instanceId: string };
            django: {
                accountAllowRegistration: boolean;
                allowedHosts: string[];
                corsOriginWhitelist: string[];
                csrfCookieSecure: boolean;
                csrfTrustedOrigins: string[];
                emailBackend: string;
                secureSslRedirect: boolean;
                sessionCookieSecure: boolean;
                settingsModule: string;
            };
            elasticSearch: { host: string };
            langchain: { endpoint: string; project: string; tracingV2: boolean };
            newRelic: {
                configFile: string;
                environment?:
                    | "local"
                    | "development"
                    | "staging"
                    | "production"
                    | "production-au"
                    | "test";
            };
            phone: { checkTimezone: boolean };
            rag: {
                chatModel: string;
                documentEmbedModel: string;
                queryEmbedModel: string;
            };
            sentry: { traceExcludeUrls: string[] };
        };
        secrets: {
            aws?: {
                accessKeyId: string;
                defaultRegion: string;
                dynamoStage: string;
                secretAccessKey: string;
            };
            cloudfront?: { privateKey: string; publicKey: string };
            connectFirst?: { password: string };
            django?: {
                adminUrl: string;
                mandrill: { apiKey: string };
                secretKey: string;
            };
            ipstack?: { apiKey?: string };
            jwt?: { privateKey: string; publicKey: string };
            langchain?: { apiKey?: string };
            notifications?: {
                slack: {
                    chat: { webhookUrl?: string };
                    default: { webhookUrl?: string };
                };
            };
            postgres?: {
                dbname: string;
                host?: string;
                hostReplica?: string;
                password?: string;
                port?: string;
                user?: string;
            };
            redis?: { host: string; hostReplicas: string[] };
            saml?: { awsProvider: string; awsRole: string };
            stripe?: { apiKey: string };
            zendesk?: { apiKey: string };
        } & { [k: string]: unknown };
    } = ...
    ccuStage:
        | "local"
        | "development"
        | "staging"
        | "production"
        | "production-au"
        | "test" = Environment
    cdkEnvironment: { account: string; region: string } = ...
    pipeline: {
        appRegistryTag: string;
        assetsBucketName: string;
        repositories: string[];
    } = ...