"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ORCHESTRATOR_PLUGIN_VERSIONS = exports.CLOUD_PLUGIN_VERSIONS_SUPPORTED = exports.CLOUD_PLUGIN_VERSIONS_LATEST = void 0;
const index_js_1 = require("./templates/index.js");
__exportStar(require("./registry.js"), exports);
__exportStar(require("./templates/index.js"), exports);
// WHEN A NEW INTEGRATION IS ADDED, WE WILL NEED TO ADD IT HERE IN ORDER FOR IT TO BE REGISTERED WITH CLOUD
// we use a really big version so we don't have to manually bump this each time a plugin has a version increment
const MAX_VERSION = '999.999.999';
exports.CLOUD_PLUGIN_VERSIONS_LATEST = {
    [index_js_1.AdlsPlugin.id]: MAX_VERSION,
    [index_js_1.AirtablePlugin.id]: MAX_VERSION,
    [index_js_1.AnthropicPlugin.id]: MAX_VERSION,
    [index_js_1.AsanaPlugin.id]: MAX_VERSION,
    [index_js_1.AthenaPlugin.id]: MAX_VERSION,
    [index_js_1.BigQueryPlugin.id]: MAX_VERSION,
    [index_js_1.BitbucketPlugin.id]: MAX_VERSION,
    [index_js_1.BoxPlugin.id]: MAX_VERSION,
    [index_js_1.CircleCIPlugin.id]: MAX_VERSION,
    [index_js_1.CockroachDBPlugin.id]: MAX_VERSION,
    [index_js_1.CoherePlugin.id]: MAX_VERSION,
    [index_js_1.ConfluencePlugin.id]: MAX_VERSION,
    [index_js_1.CosmosDbPlugin.id]: MAX_VERSION,
    [index_js_1.CouchbasePlugin.id]: MAX_VERSION,
    [index_js_1.DatabricksPlugin.id]: MAX_VERSION,
    [index_js_1.DatadogPlugin.id]: MAX_VERSION,
    [index_js_1.DropboxPlugin.id]: MAX_VERSION,
    [index_js_1.DynamoDBPlugin.id]: MAX_VERSION,
    [index_js_1.ElasticSearchPlugin.id]: MAX_VERSION,
    [index_js_1.EmailPlugin.id]: MAX_VERSION,
    [index_js_1.FireworksPlugin.id]: MAX_VERSION,
    [index_js_1.FrontPlugin.id]: MAX_VERSION,
    [index_js_1.GCSPlugin.id]: MAX_VERSION,
    [index_js_1.GeminiPlugin.id]: MAX_VERSION,
    [index_js_1.GitHubPlugin.id]: MAX_VERSION,
    [index_js_1.GOOGLE_SHEETS_PLUGIN_ID]: MAX_VERSION,
    [index_js_1.GoogleAnalyticsPlugin.id]: MAX_VERSION,
    [index_js_1.GoogleDrivePlugin.id]: MAX_VERSION,
    [index_js_1.GraphQLPlugin.id]: MAX_VERSION,
    [index_js_1.GroqPlugin.id]: MAX_VERSION,
    [index_js_1.HubSpotPlugin.id]: MAX_VERSION,
    [index_js_1.IntercomPlugin.id]: MAX_VERSION,
    [index_js_1.JavascriptPlugin.id]: MAX_VERSION,
    // The javascriptsdkapi plugin has no corresponding Plugin definition in
    // packages/shared (it's only registered by the orchestrator). Keep the literal
    // string in sync with SDK_API_PLUGIN_ID consumers.
    javascriptsdkapi: MAX_VERSION,
    [index_js_1.JiraPlugin.id]: MAX_VERSION,
    [index_js_1.KafkaPlugin.id]: MAX_VERSION,
    [index_js_1.KinesisPlugin.id]: MAX_VERSION,
    [index_js_1.LakebasePlugin.id]: MAX_VERSION,
    [index_js_1.LaunchDarklyPlugin.id]: MAX_VERSION,
    [index_js_1.MariaDBPlugin.id]: MAX_VERSION,
    [index_js_1.MicrosoftSQLPlugin.id]: MAX_VERSION,
    [index_js_1.MistralPlugin.id]: MAX_VERSION,
    [index_js_1.MongoDBPlugin.id]: MAX_VERSION,
    [index_js_1.MySQLPlugin.id]: MAX_VERSION,
    [index_js_1.NotionPlugin.id]: MAX_VERSION,
    [index_js_1.OpenAiPlugin.id]: MAX_VERSION,
    [index_js_1.OpenaiV2Plugin.id]: MAX_VERSION,
    [index_js_1.OracleDbPlugin.id]: MAX_VERSION,
    [index_js_1.PagerDutyPlugin.id]: MAX_VERSION,
    [index_js_1.PerplexityPlugin.id]: MAX_VERSION,
    [index_js_1.PostgresPlugin.id]: MAX_VERSION,
    [index_js_1.PythonPlugin.id]: MAX_VERSION,
    [index_js_1.RedisPlugin.id]: MAX_VERSION,
    [index_js_1.RedshiftPlugin.id]: MAX_VERSION,
    [index_js_1.RestApiIntegrationPlugin.id]: MAX_VERSION,
    [index_js_1.RestApiPlugin.id]: MAX_VERSION,
    [index_js_1.S3Plugin.id]: MAX_VERSION,
    [index_js_1.SalesforcePlugin.id]: MAX_VERSION,
    [index_js_1.SegmentPlugin.id]: MAX_VERSION,
    [index_js_1.SendGridPlugin.id]: MAX_VERSION,
    [index_js_1.SlackPlugin.id]: MAX_VERSION,
    [index_js_1.SmtpPlugin.id]: MAX_VERSION,
    [index_js_1.SnowflakePlugin.id]: MAX_VERSION,
    [index_js_1.SnowflakeCortexPlugin.id]: MAX_VERSION,
    [index_js_1.SnowflakePostgresPlugin.id]: MAX_VERSION,
    [index_js_1.StabilityAiPlugin.id]: MAX_VERSION,
    [index_js_1.StripePlugin.id]: MAX_VERSION,
    [index_js_1.SuperblocksOcrPlugin.id]: MAX_VERSION,
    [index_js_1.TwilioPlugin.id]: MAX_VERSION,
    [index_js_1.WorkflowPlugin.id]: MAX_VERSION,
    [index_js_1.ZendeskPlugin.id]: MAX_VERSION,
    [index_js_1.ZoomPlugin.id]: MAX_VERSION
};
exports.CLOUD_PLUGIN_VERSIONS_SUPPORTED = Object.keys(exports.CLOUD_PLUGIN_VERSIONS_LATEST).reduce((acc, key) => {
    acc[key] = [exports.CLOUD_PLUGIN_VERSIONS_LATEST[key]];
    return acc;
}, {});
/**
 * Minimum plugin versions supported by the orchestrator.
 * These are hardcoded in the orchestrator's Go code and represent
 * the baseline versions that all agents must support.
 *
 * @see orchestrator/internal/v2/step.go SUPERBLOCKS_PLUGIN_VERSIONS
 */
exports.ORCHESTRATOR_PLUGIN_VERSIONS = {
    [index_js_1.AthenaPlugin.id]: ['0.0.1'],
    [index_js_1.BigQueryPlugin.id]: ['0.0.7'],
    [index_js_1.CockroachDBPlugin.id]: ['0.0.2'],
    [index_js_1.ConfluentPlugin.id]: ['0.0.1'],
    [index_js_1.CosmosDbPlugin.id]: ['0.0.1'],
    [index_js_1.CouchbasePlugin.id]: ['0.0.1'],
    [index_js_1.DatabricksPlugin.id]: ['0.0.4'],
    [index_js_1.DynamoDBPlugin.id]: ['0.0.7'],
    [index_js_1.EmailPlugin.id]: ['0.0.7'],
    [index_js_1.GCSPlugin.id]: ['0.0.1'],
    [index_js_1.GOOGLE_SHEETS_PLUGIN_ID]: ['0.0.19'],
    [index_js_1.GraphQLPlugin.id]: ['0.0.10'],
    [index_js_1.JavascriptPlugin.id]: ['0.0.9'],
    [index_js_1.KafkaPlugin.id]: ['0.0.1'],
    [index_js_1.KinesisPlugin.id]: ['0.0.1'],
    [index_js_1.LakebasePlugin.id]: ['0.0.1'],
    [index_js_1.MariaDBPlugin.id]: ['0.0.11'],
    [index_js_1.MicrosoftSQLPlugin.id]: ['0.0.10'],
    [index_js_1.MongoDBPlugin.id]: ['0.0.7'],
    [index_js_1.MySQLPlugin.id]: ['0.0.11'],
    [index_js_1.OpenAiPlugin.id]: ['0.0.3'],
    [index_js_1.OracleDbPlugin.id]: ['0.0.1'],
    [index_js_1.PostgresPlugin.id]: ['0.0.11'],
    [index_js_1.PythonPlugin.id]: ['0.0.7'],
    [index_js_1.RedisPlugin.id]: ['0.0.1'],
    [index_js_1.RedpandaPlugin.id]: ['0.0.1'],
    [index_js_1.RedshiftPlugin.id]: ['0.0.7'],
    [index_js_1.RestApiPlugin.id]: ['0.0.13'],
    [index_js_1.RestApiIntegrationPlugin.id]: ['0.0.14'],
    rockset: ['0.0.7'],
    [index_js_1.S3Plugin.id]: ['0.0.11'],
    [index_js_1.SalesforcePlugin.id]: ['0.0.2'],
    [index_js_1.SmtpPlugin.id]: ['0.0.1'],
    [index_js_1.SnowflakePlugin.id]: ['0.0.10'],
    [index_js_1.SnowflakePostgresPlugin.id]: ['0.0.1'],
    [index_js_1.SuperblocksOcrPlugin.id]: ['0.0.1'],
    [index_js_1.WorkflowPlugin.id]: ['0.0.4']
};
//# sourceMappingURL=index.js.map