export type SchemaDef = {createTime?: number | undefined, createdBy?: string | undefined, data?: {[key: string]: Record} | undefined, externalRef?: string | undefined, name: string, ownerApp?: string | undefined, type: 'JSON' | 'AVRO' | 'PROTOBUF', updateTime?: number | undefined, updatedBy?: string | undefined, version: number}; export type IntegrationDefApi = {api?: string | undefined, description?: string | undefined, inputSchema?: SchemaDef | undefined, integrationType?: string | undefined, jsonUISchema?: string | undefined, outputSchema?: SchemaDef | undefined}; export type Option = {label?: string | undefined, value?: string | undefined}; export type IntegrationDefFormField = {defaultValue?: string | undefined, description?: string | undefined, fieldName?: ('oAuth2AccessToken' | 'oAuth2RefreshToken' | 'api_key' | 'user' | 'header' | 'endpoint' | 'organizationId' | 'authUrl' | 'environment' | 'projectName' | 'indexName' | 'publisher' | 'password' | 'namespace' | 'batchSize' | 'batchWaitTime' | 'visibilityTimeout' | 'connectionType' | 'connectionPoolSize' | 'consumer' | 'stream' | 'batchPollConsumersCount' | 'consumer_type' | 'region' | 'awsAccountId' | 'externalId' | 'roleArn' | 'protocol' | 'mechanism' | 'port' | 'schemaRegistryUrl' | 'schemaRegistryApiKey' | 'schemaRegistryApiSecret' | 'authenticationType' | 'truststoreAuthenticationType' | 'tls' | 'cipherSuite' | 'pubSubMethod' | 'keyStorePassword' | 'keyStoreLocation' | 'schemaRegistryAuthType' | 'valueSubjectNameStrategy' | 'useLatestSchemaVersion' | 'datasourceURL' | 'jdbcDriver' | 'subscription' | 'serviceAccountCredentials' | 'file' | 'tlsFile' | 'queueManager' | 'groupId' | 'channel' | 'dimensions' | 'distance_metric' | 'indexing_method' | 'inverted_list_count' | 'pullPeriod' | 'pullBatchWaitMillis' | 'completionsPath' | 'deploymentName' | 'betaVersion' | 'version' | 'oAuth2Scope' | 'oAuth2AuthCode' | 'oAuth2TokenExpiresAt' | 'oAuth2Provider' | 'oAuth2RedirectUri' | 'collection' | 'tablePrefix' | 'oAuth2ClientId' | 'oAuth2ClientSecret') | undefined, fieldType?: ('DROPDOWN' | 'TEXT' | 'PASSWORD' | 'FILE') | undefined, label?: string | undefined, optional?: boolean | undefined, value?: string | undefined, valueOptions?: Array