import { ExtendedIntegrationPluginId } from '../../types/index.js';
import { DOCS_BASE_URL, PUBLIC_INTEGRATIONS_CDN_URL, PUBLIC_INTEGRATIONS_LOGO_URL } from './constants.js';
import { getNativeOpenApiPlugin } from './shared/index.js';
export const SnowflakeCortexPlugin = getNativeOpenApiPlugin({
    name: 'Snowflake Cortex',
    id: ExtendedIntegrationPluginId.SNOWFLAKE_CORTEX,
    docsURL: `${DOCS_BASE_URL}/snowflake-cortex`,
    openApiSpecURL: `${PUBLIC_INTEGRATIONS_CDN_URL}/openapi/snowflake-cortex.yaml`,
    logoURL: `${PUBLIC_INTEGRATIONS_LOGO_URL}/snowflake.png`,
    authMethods: {
        apiKeyFormDisplayName: 'Programmatic Access Token',
        apiKeyForm: [
            {
                label: 'Programmatic Access Token',
                header: 'Authorization',
                key: 'api-key',
                required: true,
                valuePrefix: 'Bearer ',
                tooltip: {
                    markdownText: 'A Programmatic Access Token (PAT) is used for authentication. [Learn how to generate one](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens).'
                }
            }
        ]
    },
    isStreamable: true,
    serverURL: 'https://{SUPERBLOCKS_OPENAPI_TENANT_NAME}.snowflakecomputing.com',
    tenantInput: {
        label: 'Account Identifier',
        placeholder: 'XY12345-AB67890'
    }
});
//# sourceMappingURL=snowflakecortex.js.map