declare type readonlyP = { readonly?: '__readonly'; }; declare type writeonlyP = { writeonly?: '__writeonly'; }; declare type Primitive = string | Function | number | boolean | Symbol | undefined | null | Date; declare type PropsWithoutReadonly = { [key in keyof T]: T[key] extends readonlyP ? NonNullable extends '__readonly' ? never : key : key; }[keyof T]; export declare type WithoutReadonly = T extends any ? T extends Primitive ? T : T extends Array ? WithoutReadonly[] : keyof T extends never ? unknown : { [key in keyof Pick>]: Pick>[key] extends any ? WithoutReadonly>[key]> : never; } : never; declare type PropsWithoutWriteonly = { [key in keyof T]: T[key] extends writeonlyP ? NonNullable extends '__writeonly' ? never : key : key; }[keyof T]; export declare type WithoutWriteonly = T extends any ? T extends Primitive ? T : T extends Array ? WithoutWriteonly[] : keyof T extends never ? unknown : { [key in keyof Pick>]: Pick>[key] extends any ? WithoutWriteonly>[key]> : never; } : never; export declare enum DatasourceFetcherName { WORKER = "worker", INGESTER = "ingester", PROXY = "proxy", TRACKING = "tracking" } export declare enum DatasourceMode { INGESTER = "ingester", WORKER = "worker", PROXY = "proxy", PUBSUB = "pubsub", PUSH = "push" } export declare enum DatasourceGenericSubType { USER = "user", TOP_ATTRIBUTES = "TOP_ATTRIBUTES", MUTABLE = "mutable" } export declare enum DatasourceCRMSubType { USER = "user", MUTABLE = "mutable" } export declare enum DatasourceProductSubType { USER = "user", LOCALIZED = "localized", BEST_PRODUCT = "best_product", BOUGHT_TOGETHER = "bought_together", MUTABLE = "mutable" } export declare enum DatasourceLocationSubType { USER = "user", GOOGLE_MY_BUSINESS = "google_my_business", PARTOO = "partoo", WEATHER = "weather", MUTABLE = "mutable" } export declare enum FieldMapType { STRING = "string", NUMBER = "number", DATETIME = "datetime", DATETIME_ISO = "datetime_iso", BOOLEAN = "boolean", ADDRESS_1 = "address_1", ADDRESS_2 = "address_2", ADDRESS_3 = "address_3", ADDRESS_4 = "address_4", CITY = "city", ZIPCODE = "zipcode", COUNTRY = "country", LATITUDE = "latitude", LONGITUDE = "longitude", REFERENCE_ID = "reference_id", REFERENCE_IDS = "reference_ids", PRODUCT_ID = "product_id", PRICE = "price", URL = "url", IMAGE_URL = "image_url", NAME = "name", DESCRIPTION = "description", PRODUCT_LIFETIME = "product_lifetime", LOCALE = "locale", ARRAY_STRING = "array_string", ARRAY_NUMBER = "array_number", RECORD_STRING = "record_string", RECORD_NUMBER = "record_number", COMPANY_ID = "company_id", EVENT_NAME = "event_name", EVENT_ID = "event_id", USER_TMP_ID = "user_tmp_id", USER_AGENT = "user_agent", WORKFLOW_ID = "workflow_id", WORKFLOW_VERSION_ID = "workflow_version_id", WORKFLOW_EVENT_MODE = "workflow_event_mode", TRANSACTION_ID = "transaction_id", TRANSACTION_SOURCE = "transaction_source", TRANSACTION_METADATA = "transaction_metadata", PRODUCT_QUANTITY = "product_quantity", WORKFLOW_PURCHASE_USER = "workflow_purchase_user", WORKFLOW_USER = "workflow_user", WORKFLOW_ONSITE_USER = "workflow_onsite_user", USER_BIRTHDAY = "user_birthday", USER_AGE = "user_age", LOOP_EMAIL_CONTACT_ID = "loop_email_contact_id", LOOP_WEB_CONTACT_ID = "loop_web_contact_id", LOOP_MOBILE_CONTACT_ID = "loop_mobile_contact_id" } export declare enum FieldSource { USER = "user", USER_STATIC = "user_static", MISSING_FIELDS = "missing_fields", AGGREGATION = "aggregation" } export declare enum FieldIndexType { NONE = "none", METRIC = "metric", INVERTED = "inverted", TEXT = "TEXT", H3 = "h3", RAW_VALUE_FORWARD = "raw_value_forward", JSON = "JSON" } export declare type OlapFieldMap_With_Index_Sortable = { index: FieldIndexType; sortable: boolean; }; export declare type DatasourceHealth = 0 | 1 | 2; export declare enum PinotUpsertMode { FULL = "FULL", PARTIAL = "PARTIAL" } export declare enum PinotPartialUpsertStrategy { INCREMENT = "INCREMENT", IGNORE = "IGNORE", OVERWRITE = "OVERWRITE", APPEND = "APPEND", UNION = "UNION", MAX = "MAX", MIN = "MIN" } export declare enum ProcessType { LAST_UNPROCESS = "last_unprocess", ALL_UNPROCESS = "all_unprocess", ALL = "all" } export declare type AnyValue = unknown | null; export declare type Condition = { path: string; operator: "=" | "!=" | ">=" | "<="; value: string | number | (false) | (true); }; export declare type Condition_Without_Value = { path: string; operator: "=" | "!=" | ">=" | "<="; }; export declare type FieldMapFallbackRulePayload = { fromFormatted?: true; valuePath?: string; exit?: true; path: string; }; export declare type FieldMapFallbackRulePayload_Without_Path_FromFormatted = { valuePath?: string; exit?: true; }; export declare type Condition_Without_Path = { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }; export declare type IngesterFieldMap_With_Rules_IsPrimaryKey = { rules: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; isPrimaryKey?: boolean; }; export declare type PreProcessingAggregations = { type: "unwind"; options: { src: string; dest: string; allowEmpty?: boolean; }; }; export declare enum StepName { CONFIGURE_NAME = "configure_name", CONFIGURE_RESOURCE_GROUP_IDS = "configure_resource_group_ids", CONFIGURE_SOURCES = "configure_sources", CONFIGURE_FIELDS = "configure_fields", CONFIGURE_FIELD = "configure_field", CREATE_OAUTH_CLIENT = "create_oauth_client", AUTHORIZE_OAUTH_CLIENT = "authorize_oauth_client", CONFIGURE_THRESHOLDS = "configure_thresholds", CONFIGURE_API_KEY = "configure_api_key", PATCH = "patch", CONFIGURE_FETCHER = "configure_fetcher", VALIDATE = "validate", CONFIGURE_GOOGLE_TAG_MANAGER = "configure_google_tag_manager", CONFIGURE_REELEVANT_ANALYTICS_SCRIPT = "configure_reelevant_analytics_script", CONFIGURE_PRODUCT_DATASOURCE_SOURCE = "configure_product_datasource_source", CONFIGURE_TRACKING_DATASOURCE_SOURCE = "configure_tracking_datasource_source", CONFIGURE_BEST_PRODUCT_QUERY = "configure_best_product_query", CONFIGURE_BEST_PRODUCT_FIELD = "configure_best_product_field", CONFIGURE_BOUGHT_TOGETHER = "configure_bought_together", CONFIGURE_MERGE_MAPPING = "configure_merge_mapping", CONFIGURE_MERGE_DATASOURCE_SOURCE = "configure_merge_datasource_source", CONFIGURE_MERGE_DATASOURCE_DEPENDENCY = "configure_merge_datasource_dependency", CONFIGURE_TOP_ATTRIBUTES = "configure_top_attributes", CONFIGURE_DESTINATION = "configure_destination", CONFIGURE_HIERARCHY = "configure_hierarchy" } export declare type Serialize_DatasourceTemplate = { name: string; icon: string; slug: string; categories: string[]; feature?: string; hidden: boolean; template: { datasource: { hidden?: boolean; readonly fetcher?: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions?: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; mode: DatasourceMode; }; version: { type?: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; } | { name: "product"; subtype: DatasourceProductSubType; } | { name: "location"; subtype: DatasourceLocationSubType; }; fieldsMap?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable)[]; readonly health?: (DatasourceHealth) & readonlyP; aggregationPipeline?: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh?: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields?: boolean; updateOptions?: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { mode?: PinotUpsertMode; primaryKey: string; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; sources?: ({ input?: { source?: { type?: "datasource"; options?: { id?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "bigquery"; options?: { table?: string; dataset?: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "url"; options?: { url?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; options?: { method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; query?: { [key: string]: string | string[]; }; oauth?: string; timeout?: number; pagination?: { type?: "query" | "body"; value?: string; startAt?: number; subtype?: "page" | "offset"; maximumPage?: number; } | { type?: "hypermediaAttribute"; value?: string; maximumPage?: number; } | { type?: "pageToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; } | { type?: "linkHeader"; maximumPage?: number; } | { type?: "entryToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; }; variables?: { name?: string; enum?: (string | number)[]; required?: boolean; unique?: boolean; default?: string | number | string[] | number[] | { value?: string; dynamic?: true; }; sortable?: boolean; primitive?: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; }[]; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "file"; options?: { bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "ftp"; options?: { username?: string; password?: string; host?: string; port?: number; secure?: boolean; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; disableProxy?: boolean; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "sftp"; options?: { username?: string; password?: string; privateKey?: string; passphrase?: string; host?: string; port?: number; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; disableProxy?: boolean; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "snowflake"; options?: { account?: string; username?: string; password?: string; warehouse?: string; privateKey?: string; schema?: string; database?: string; table?: string; query?: string; timestampColumn?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "gcs"; options?: { privateKey?: string; clientEmail?: string; projectId?: string; bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "kafka"; options?: { brokers?: string[]; topic?: string; groupPrefix?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; username?: string; password?: string; ssl?: boolean; registry?: { url?: string; username?: string; password?: string; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "s3"; options?: { accessKey?: string; secretKey?: string; bucket?: string; path?: string; endpoint?: string; region?: string; assumeRole?: { roleArn?: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; }; filter?: { $and?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; } | { $or?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; }; fieldsRules?: { [key: string]: ({ name?: "static"; params?: { value?: string | number; }; } | { name?: "path"; params?: { value?: string; }; } | { name?: "path"; params?: { fromRoot?: true; value?: string; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; value?: string | number; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); }[]; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; valuePath?: string; fromFormatted?: boolean; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; }[]; }; } | { name?: "fallback"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; }; } | { name?: "fallback"; params?: { valuePath?: string; exit?: true; staticValue?: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name?: "fallback_if"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; conditions?: ({ path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); } | { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; })[]; }; } | { name?: "exclude_from_record"; params?: { keys?: string[]; }; } | { name?: "decrypt"; params?: { passwordPrefixPath?: string; }; } | { name?: "interpolate"; params?: { value?: string; }; } | { name?: "custom"; params?: { value?: string; }; } | { name?: "split"; params?: { separator?: string; }; } | { name?: "case"; params?: { cases?: { conditions?: { value?: string | number | (false) | (true); operator?: "=" | "!=" | ">=" | "<="; }[]; value?: string; }[]; }; } | { name?: "hash"; params?: { algorithm?: string; salt?: string; }; } | { name?: "decipher"; params?: { algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key?: string; iv?: string; inputEncoding?: "hex" | "base64"; }; })[]; }; sample?: { [key: string]: AnyValue; }; }; } | { type?: "append"; input?: { source?: { type?: "datasource"; options?: { id?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "bigquery"; options?: { table?: string; dataset?: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "url"; options?: { url?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; options?: { method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; query?: { [key: string]: string | string[]; }; oauth?: string; timeout?: number; pagination?: { type?: "query" | "body"; value?: string; startAt?: number; subtype?: "page" | "offset"; maximumPage?: number; } | { type?: "hypermediaAttribute"; value?: string; maximumPage?: number; } | { type?: "pageToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; } | { type?: "linkHeader"; maximumPage?: number; } | { type?: "entryToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; }; variables?: { name?: string; enum?: (string | number)[]; required?: boolean; unique?: boolean; default?: string | number | string[] | number[] | { value?: string; dynamic?: true; }; sortable?: boolean; primitive?: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; }[]; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "file"; options?: { bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "ftp"; options?: { username?: string; password?: string; host?: string; port?: number; secure?: boolean; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; disableProxy?: boolean; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "sftp"; options?: { username?: string; password?: string; privateKey?: string; passphrase?: string; host?: string; port?: number; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; disableProxy?: boolean; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "snowflake"; options?: { account?: string; username?: string; password?: string; warehouse?: string; privateKey?: string; schema?: string; database?: string; table?: string; query?: string; timestampColumn?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "gcs"; options?: { privateKey?: string; clientEmail?: string; projectId?: string; bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "kafka"; options?: { brokers?: string[]; topic?: string; groupPrefix?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; username?: string; password?: string; ssl?: boolean; registry?: { url?: string; username?: string; password?: string; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "s3"; options?: { accessKey?: string; secretKey?: string; bucket?: string; path?: string; endpoint?: string; region?: string; assumeRole?: { roleArn?: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; }; filter?: { $and?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; } | { $or?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; }; fieldsRules?: { [key: string]: ({ name?: "static"; params?: { value?: string | number; }; } | { name?: "path"; params?: { value?: string; }; } | { name?: "path"; params?: { fromRoot?: true; value?: string; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; value?: string | number; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); }[]; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; valuePath?: string; fromFormatted?: boolean; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; }[]; }; } | { name?: "fallback"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; }; } | { name?: "fallback"; params?: { valuePath?: string; exit?: true; staticValue?: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name?: "fallback_if"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; conditions?: ({ path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); } | { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; })[]; }; } | { name?: "exclude_from_record"; params?: { keys?: string[]; }; } | { name?: "decrypt"; params?: { passwordPrefixPath?: string; }; } | { name?: "interpolate"; params?: { value?: string; }; } | { name?: "custom"; params?: { value?: string; }; } | { name?: "split"; params?: { separator?: string; }; } | { name?: "case"; params?: { cases?: { conditions?: { value?: string | number | (false) | (true); operator?: "=" | "!=" | ">=" | "<="; }[]; value?: string; }[]; }; } | { name?: "hash"; params?: { algorithm?: string; salt?: string; }; } | { name?: "decipher"; params?: { algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key?: string; iv?: string; inputEncoding?: "hex" | "base64"; }; })[]; }; sample?: { [key: string]: AnyValue; }; }; })[]; }; } | { datasource: { hidden?: boolean; readonly fetcher?: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; mode: DatasourceMode; }; version: { type?: { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; }; fieldsMap?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; }[]; readonly health?: (DatasourceHealth) & readonlyP; refresh?: { freq: number; }; sources?: ({ input?: { source?: { type?: "datasource"; options?: { id?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "bigquery"; options?: { table?: string; dataset?: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "url"; options?: { url?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; options?: { method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; query?: { [key: string]: string | string[]; }; oauth?: string; timeout?: number; pagination?: { type?: "query" | "body"; value?: string; startAt?: number; subtype?: "page" | "offset"; maximumPage?: number; } | { type?: "hypermediaAttribute"; value?: string; maximumPage?: number; } | { type?: "pageToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; } | { type?: "linkHeader"; maximumPage?: number; } | { type?: "entryToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; }; variables?: { name?: string; enum?: (string | number)[]; required?: boolean; unique?: boolean; default?: string | number | string[] | number[] | { value?: string; dynamic?: true; }; sortable?: boolean; primitive?: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; }[]; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "file"; options?: { bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "ftp"; options?: { username?: string; password?: string; host?: string; port?: number; secure?: boolean; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; disableProxy?: boolean; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "sftp"; options?: { username?: string; password?: string; privateKey?: string; passphrase?: string; host?: string; port?: number; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; disableProxy?: boolean; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "snowflake"; options?: { account?: string; username?: string; password?: string; warehouse?: string; privateKey?: string; schema?: string; database?: string; table?: string; query?: string; timestampColumn?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "gcs"; options?: { privateKey?: string; clientEmail?: string; projectId?: string; bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "kafka"; options?: { brokers?: string[]; topic?: string; groupPrefix?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; username?: string; password?: string; ssl?: boolean; registry?: { url?: string; username?: string; password?: string; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "s3"; options?: { accessKey?: string; secretKey?: string; bucket?: string; path?: string; endpoint?: string; region?: string; assumeRole?: { roleArn?: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; }; filter?: { $and?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; } | { $or?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; }; fieldsRules?: { [key: string]: ({ name?: "static"; params?: { value?: string | number; }; } | { name?: "path"; params?: { value?: string; }; } | { name?: "path"; params?: { fromRoot?: true; value?: string; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; value?: string | number; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); }[]; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; valuePath?: string; fromFormatted?: boolean; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; }[]; }; } | { name?: "fallback"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; }; } | { name?: "fallback"; params?: { valuePath?: string; exit?: true; staticValue?: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name?: "fallback_if"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; conditions?: ({ path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); } | { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; })[]; }; } | { name?: "exclude_from_record"; params?: { keys?: string[]; }; } | { name?: "decrypt"; params?: { passwordPrefixPath?: string; }; } | { name?: "interpolate"; params?: { value?: string; }; } | { name?: "custom"; params?: { value?: string; }; } | { name?: "split"; params?: { separator?: string; }; } | { name?: "case"; params?: { cases?: { conditions?: { value?: string | number | (false) | (true); operator?: "=" | "!=" | ">=" | "<="; }[]; value?: string; }[]; }; } | { name?: "hash"; params?: { algorithm?: string; salt?: string; }; } | { name?: "decipher"; params?: { algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key?: string; iv?: string; inputEncoding?: "hex" | "base64"; }; })[]; }; sample?: { [key: string]: AnyValue; }; }; } | { type?: "append"; input?: { source?: { type?: "datasource"; options?: { id?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "bigquery"; options?: { table?: string; dataset?: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "url"; options?: { url?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; options?: { method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; query?: { [key: string]: string | string[]; }; oauth?: string; timeout?: number; pagination?: { type?: "query" | "body"; value?: string; startAt?: number; subtype?: "page" | "offset"; maximumPage?: number; } | { type?: "hypermediaAttribute"; value?: string; maximumPage?: number; } | { type?: "pageToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; } | { type?: "linkHeader"; maximumPage?: number; } | { type?: "entryToken"; value?: string; param?: string; removeParams?: boolean; maximumPage?: number; }; variables?: { name?: string; enum?: (string | number)[]; required?: boolean; unique?: boolean; default?: string | number | string[] | number[] | { value?: string; dynamic?: true; }; sortable?: boolean; primitive?: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; }[]; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "file"; options?: { bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "ftp"; options?: { username?: string; password?: string; host?: string; port?: number; secure?: boolean; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; disableProxy?: boolean; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "sftp"; options?: { username?: string; password?: string; privateKey?: string; passphrase?: string; host?: string; port?: number; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; disableProxy?: boolean; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "snowflake"; options?: { account?: string; username?: string; password?: string; warehouse?: string; privateKey?: string; schema?: string; database?: string; table?: string; query?: string; timestampColumn?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "gcs"; options?: { privateKey?: string; clientEmail?: string; projectId?: string; bucket?: string; path?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "kafka"; options?: { brokers?: string[]; topic?: string; groupPrefix?: string; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; username?: string; password?: string; ssl?: boolean; registry?: { url?: string; username?: string; password?: string; }; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; } | { type?: "s3"; options?: { accessKey?: string; secretKey?: string; bucket?: string; path?: string; endpoint?: string; region?: string; assumeRole?: { roleArn?: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; format?: { type?: "csv"; options?: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type?: "ndjson"; options?: {}; } | { type?: "json"; options?: { rootPath?: string; }; } | { type?: "xml"; options?: { rootPath?: string; }; } | { type?: "xlsx"; options?: {}; } | { type?: "parquet"; options?: { columnsList?: string[]; version?: string; }; } | { type?: "avro"; options?: {}; }; textEncoding?: string; processType?: ProcessType; pgpPrivateKey?: string; pgpPassphrase?: string; }; preProcessingAggregations?: { type?: "unwind"; options?: { src?: string; dest?: string; allowEmpty?: boolean; }; }[]; }; filter?: { $and?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; } | { $or?: ({ $and?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; } | { $or?: { [key: string]: { $eq?: string | number | (false) | (true) | string[] | {}[]; } | { $ne?: string | number | (false) | (true) | string[] | {}[]; } | { $contains?: string | string[]; } | { $notcontains?: string | string[]; } | { $startswith?: string | string[]; } | { $endswith?: string | string[]; } | { $empty?: boolean; } | { eq?: string | number | (false) | (true) | string[] | {}[]; } | { ne?: string | number | (false) | (true) | string[] | {}[]; } | { contains?: string | string[]; } | { notcontains?: string | string[]; } | { startswith?: string | string[]; } | { endswith?: string | string[]; } | { empty?: boolean; } | { $neq?: string | number | number[] | {}[]; } | { $nne?: string | number | number[] | {}[]; } | { $lt?: string | number; } | { $lte?: string | number; } | { $gt?: string | number; } | { $gte?: string | number; } | { neq?: string | number | number[] | {}[]; } | { nne?: string | number | number[] | {}[]; } | { lt?: string | number; } | { lte?: string | number; } | { gt?: string | number; } | { gte?: string | number; } | { $rangefuture?: string | number; } | { $rangepast?: string | number; } | { $nrangefuture?: string | number; } | { $nrangepast?: string | number; } | { rangefuture?: string | number; } | { rangepast?: string | number; } | { nrangefuture?: string | number; } | { nrangepast?: string | number; }; }[]; })[]; }; fieldsRules?: { [key: string]: ({ name?: "static"; params?: { value?: string | number; }; } | { name?: "path"; params?: { value?: string; }; } | { name?: "path"; params?: { fromRoot?: true; value?: string; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; value?: string | number; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); }[]; }; } | { name?: "array_find"; params?: { key?: string; operator?: "=" | "!="; valuePath?: string; fromFormatted?: boolean; }; } | { name?: "array_find"; params?: { conditions?: { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; }[]; }; } | { name?: "fallback"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; }; } | { name?: "fallback"; params?: { valuePath?: string; exit?: true; staticValue?: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name?: "fallback_if"; params?: { fromFormatted?: true; valuePath?: string; exit?: true; path?: string; conditions?: ({ path?: string; operator?: "=" | "!=" | ">=" | "<="; value?: string | number | (false) | (true); } | { path?: string; operator?: "=" | "!=" | ">=" | "<="; evaluateValue?: string; })[]; }; } | { name?: "exclude_from_record"; params?: { keys?: string[]; }; } | { name?: "decrypt"; params?: { passwordPrefixPath?: string; }; } | { name?: "interpolate"; params?: { value?: string; }; } | { name?: "custom"; params?: { value?: string; }; } | { name?: "split"; params?: { separator?: string; }; } | { name?: "case"; params?: { cases?: { conditions?: { value?: string | number | (false) | (true); operator?: "=" | "!=" | ">=" | "<="; }[]; value?: string; }[]; }; } | { name?: "hash"; params?: { algorithm?: string; salt?: string; }; } | { name?: "decipher"; params?: { algorithm?: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key?: string; iv?: string; inputEncoding?: "hex" | "base64"; }; })[]; }; sample?: { [key: string]: AnyValue; }; }; })[]; }; } | { datasource: { hidden?: boolean; readonly fetcher?: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions?: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; partitionCount: number; segments: { offlineSize: number; offlineReplication: number; realtimeSize: number; realtimeReplication: number; }; retention?: { value: number; unit: "DAYS"; }; }; mode: DatasourceMode; }; version: { type?: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "analytics"; subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable"; }; filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; fieldsMap?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; readonly health?: (DatasourceHealth) & readonlyP; updateOptions?: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { mode?: PinotUpsertMode; primaryKey: string; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; }; } | { datasource: { hidden?: boolean; readonly fetcher?: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions?: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; partitionCount: number; segments: { offlineSize: number; offlineReplication: number; realtimeSize: number; realtimeReplication: number; }; retention?: { value: number; unit: "DAYS"; }; }; mode: DatasourceMode; }; version: { type?: { name: "push"; subtype: "email"; }; fieldsMap?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; readonly health?: (DatasourceHealth) & readonlyP; }; }; steps: { name: "configure_name"; }[] | { name: "configure_resource_group_ids"; }[] | { name: "configure_sources"; }[] | { name: "configure_fields"; }[] | { name: "configure_field"; field: { name: string; type: FieldMapType; }; }[] | { name: "create_oauth_client"; configurationId: string; }[] | { name: "authorize_oauth_client"; slug: string; }[] | { name: "configure_thresholds"; }[] | { name: "configure_api_key"; slug: "partoo"; }[] | { name: "patch"; }[] | { name: "validate"; }[] | { name: "configure_google_tag_manager"; }[] | { name: "configure_reelevant_analytics_script"; }[] | { name: "configure_product_datasource_source"; }[] | { name: "configure_tracking_datasource_source"; }[] | { name: "configure_best_product_query"; }[] | { name: "configure_best_product_field"; }[] | { name: "configure_fetcher"; }[] | { name: "configure_merge_datasource_source"; }[] | { name: "configure_merge_datasource_dependency"; }[] | { name: "configure_merge_mapping"; }[] | { name: "configure_bought_together"; }[] | { name: "configure_top_attributes"; }[] | { name: "configure_destination"; type: "smtp"; }[] | { name: "configure_hierarchy"; }[] | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; }[] | { name: "setup_instagram"; urls: { getAccount: string; final: string; getAccountInfos: string; }; }[]; errorsToStep: { failed_to_pull?: StepName; fatal?: StepName; }; stepDependencies: { configure_name?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_resource_group_ids?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_sources?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_fields?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_field?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; create_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; authorize_oauth_client?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_thresholds?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_api_key?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; patch?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_fetcher?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; validate?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_google_tag_manager?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_reelevant_analytics_script?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_product_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_tracking_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_best_product_query?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_best_product_field?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_bought_together?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_merge_mapping?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_merge_datasource_source?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_merge_datasource_dependency?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_top_attributes?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_destination?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; configure_hierarchy?: ("configure_name" | "configure_resource_group_ids" | "configure_sources" | "configure_fields" | "configure_field" | "create_oauth_client" | "authorize_oauth_client" | "configure_thresholds" | "configure_api_key" | "patch" | "configure_fetcher" | "validate" | "configure_google_tag_manager" | "configure_reelevant_analytics_script" | "configure_product_datasource_source" | "configure_tracking_datasource_source" | "configure_best_product_query" | "configure_best_product_field" | "configure_bought_together" | "configure_merge_mapping" | "configure_merge_datasource_source" | "configure_merge_datasource_dependency" | "configure_top_attributes" | "configure_destination" | "configure_hierarchy" | "google_my_business_set_url" | "setup_instagram")[]; }; standaloneSteps: ("configure_name"[] & StepName[]) | ("configure_resource_group_ids"[] & StepName[]) | ("configure_sources"[] & StepName[]) | ("configure_fields"[] & StepName[]) | ("configure_field"[] & StepName[]) | ("create_oauth_client"[] & StepName[]) | ("authorize_oauth_client"[] & StepName[]) | ("configure_thresholds"[] & StepName[]) | ("configure_api_key"[] & StepName[]) | ("patch"[] & StepName[]) | ("configure_fetcher"[] & StepName[]) | ("validate"[] & StepName[]) | ("configure_google_tag_manager"[] & StepName[]) | ("configure_reelevant_analytics_script"[] & StepName[]) | ("configure_product_datasource_source"[] & StepName[]) | ("configure_tracking_datasource_source"[] & StepName[]) | ("configure_best_product_query"[] & StepName[]) | ("configure_best_product_field"[] & StepName[]) | ("configure_bought_together"[] & StepName[]) | ("configure_merge_mapping"[] & StepName[]) | ("configure_merge_datasource_source"[] & StepName[]) | ("configure_merge_datasource_dependency"[] & StepName[]) | ("configure_top_attributes"[] & StepName[]) | ("configure_destination"[] & StepName[]) | ("configure_hierarchy"[] & StepName[]); }; export declare type DatasourceTemplate = Serialize_DatasourceTemplate & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type InternalResponse_Array_DatasourceTemplate = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatasourceTemplate[]; }; export declare type InternalResponse_Array_string = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: string[]; }; export declare type InternalResponse_ = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: {}; }; export declare enum DatasourceType { GENERIC = "generic", LOCATION = "location", PRODUCT = "product", ANALYTICS = "analytics", CRM = "crm", PUSH = "push", LOOP = "loop" } export declare enum AuthenticationMode { PASSWORD = "password", CLIENT_CREDENTIALS = "client_credentials", REFRESH_TOKEN = "refresh_token", ACCESS_TOKEN = "access_token", CUSTOM_PAYLOAD = "custom_payload", JWT_BEARER = "jwt_bearer" } export declare type AuthClientStatus = { id: string; mode: AuthenticationMode; hasRefreshToken: boolean; hasAccessToken: boolean; hasPassword: boolean; tokenUrl: string; scopes: string[]; accessTokenHeader: string; accessTokenHeaderPrefix?: string; cachedToken: { exists: boolean; ttlSeconds: number | null; }; chain: { hasNext: boolean; nextAuthId?: string; nextMode?: AuthenticationMode; }; configuration: { type: "company-scoped" | "global"; clientId: string; }; }; export declare type InternalResponse_AuthClientStatus = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: AuthClientStatus; }; export declare type TestTokenStep = { name: string; status: "success" | "failed"; durationMs: number; detail?: { [key: string]: AnyValue; }; error?: string; }; export declare type TestTokenResult = { success: boolean; steps: TestTokenStep[]; }; export declare type InternalResponse_TestTokenResult = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: TestTokenResult; }; export declare type InternalResponse_cacheKey_string_deleted_Union_false_true = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { cacheKey: string; deleted: boolean; }; }; export declare type TokenRequestPreview = { method: string; url: string; headers: { [key: string]: string; }; body: { [key: string]: string; }; mode: string; }; export declare type InternalResponse_TokenRequestPreview = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: TokenRequestPreview; }; export declare type ObjectId = string; export declare type DatasourceAuthConfiguration = { mode?: AuthenticationMode; method?: "GET" | "POST"; tokenUrl: string; authorizeUrl?: string; clientId: string; clientSecret: (string) & writeonlyP; scopes: string[]; customPayload?: { tokenUrl: { query?: { [key: string]: string; }; body?: { [key: string]: string; }; headers?: { [key: string]: string; }; }; authorizeUrl: { query?: { [key: string]: string; }; body?: { [key: string]: string; }; headers?: { [key: string]: string; }; }; }; accessTokenPath?: string; accessTokenHeader?: string; accessTokenHeaderPrefix?: string; tokenExpiration?: number; }; export declare type DatasourceAuth = { username?: string; password?: (string) & writeonlyP; readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; tokenUrl?: string; authorizeUrl?: string; refreshToken?: (string) & writeonlyP; accessToken?: (string) & writeonlyP; nextInChainClient?: ObjectId; } & { readonly id: (string) & readonlyP; } & { configuration: string | DatasourceAuthConfiguration; nextInChainConfiguration?: string; hasRefreshToken?: boolean; hasAccessToken?: boolean; hasPassword?: boolean; }; export declare type InternalResponse_Array_DatasourceAuth = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatasourceAuth[]; }; export declare type InternalResponse_Intersection_Serialize_id_string_configuration_Union_string_DatasourceAuthConfiguration_nextInChainConfiguration_Union_undefined_string_hasRefreshToken_Union_undefined_false_true_hasAccessToken_Union_undefined_false_true_hasPassword_Union_undefined_false_true = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { username?: string; password?: (string) & writeonlyP; readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; tokenUrl?: string; authorizeUrl?: string; refreshToken?: (string) & writeonlyP; accessToken?: (string) & writeonlyP; nextInChainClient?: ObjectId; } & { readonly id: (string) & readonlyP; } & { configuration: string | DatasourceAuthConfiguration; nextInChainConfiguration?: string; hasRefreshToken?: boolean; hasAccessToken?: boolean; hasPassword?: boolean; }; }; export declare type DatasourceAuth_Without_Configuration = { username?: string; password?: (string) & writeonlyP; readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; tokenUrl?: string; authorizeUrl?: string; refreshToken?: (string) & writeonlyP; accessToken?: (string) & writeonlyP; nextInChainClient?: ObjectId; } & { readonly id: (string) & readonlyP; } & { configuration: string | DatasourceAuthConfiguration; nextInChainConfiguration?: string; hasRefreshToken?: boolean; hasAccessToken?: boolean; hasPassword?: boolean; }; export declare type InternalResponse = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: {}; }; export declare type InternalResponse_url_string = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { url: string; }; }; export declare enum DatagraphSchemaMigrationStatus { OPEN = "open", APPLIED = "applied", CANCELLED = "cancelled" } export declare type Serialize_DatagraphSchemaMigration = { readonly entities: ({ workflows: { name: string; id: string; fields: string[]; parameters: string[]; }[]; groupIds: string[]; entityId: ObjectId; liveVersionId: ObjectId; current: { name: string; options: { name: string; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; index: number; optional?: boolean; shortDescription: string; fullDescription: string | null; }[]; description: string | null; sql: string | null; readonly answers: ({ name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; }[]) & readonlyP; }; impact: { message: string; reason: "invalid_sql"; } | { reason: "answers_changed"; removed: string[]; retyped: { name: string; before: string; after: string; }[]; }; proposal: { name: string; description: string | null; sql: string | null; options: { name: string; shortDescription: string; fullDescription: string | null; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; index: number; optional?: boolean; }[]; readonly answers: ({ name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; }[]) & readonlyP; }; proposalSource: "user" | "agent"; accepted: boolean; }[]) & readonlyP; readonly status: (DatagraphSchemaMigrationStatus) & readonlyP; readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; readonly schemaId: (ObjectId) & readonlyP; readonly fromSchemaVersionId: (ObjectId | null) & readonlyP; readonly toSchemaVersionId: (ObjectId) & readonlyP; readonly definition: ({ name: string; description?: string; datasourceId: string; columns: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; default?: string | number | (false) | (true) | string; description?: string; }[]; virtualColumns?: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; query: string; description?: string; }[]; uniqueKeys?: { type: "UniqueKey"; columns: string[]; description?: string; }[]; indexes?: { type: "Index"; columns: string[]; description?: string; }[]; relations?: { type: "Relation"; columns: string[]; reference: { datasourceId: string; table: string; columns: string[]; }; description?: string; }[]; }[]) & readonlyP; readonly createdBy?: (ObjectId) & readonlyP; readonly appliedAt: (string | null) & readonlyP; }; export declare type InternalResponse_Intersection_Serialize_id_string_createdAt_Date_updatedAt_Date = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: Serialize_DatagraphSchemaMigration & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; }; export declare type DatagraphEntityDefinitionBody = { name: string; description?: string | null; sql: string | null; options: { name: string; shortDescription: string; fullDescription: string | null; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; index: number; optional?: boolean; }[]; }; export declare type UpdateSchemaMigrationEntityBody = { entity?: DatagraphEntityDefinitionBody; accepted?: boolean; source?: "user" | "agent"; }; export declare type CreateSchemaBody = { schema: { datasourceId: string; name: string; columns: { name: string; type: FieldMapType; default?: string | number | (false) | (true) | string; description?: string; }[]; description?: string; virtualColumns?: { name: string; type: FieldMapType; query: string; description?: string; }[]; uniqueKeys?: { type: "UniqueKey"; columns: string[]; description?: string; }[]; indexes?: { type: "Index"; columns: string[]; description?: string; }[]; relations?: { type: "Relation"; columns: string[]; reference: { datasourceId: string; table: string; columns: string[]; }; description?: string; }[]; }[]; }; export declare type SchemaValidationIssue = { path: (string | number)[]; message: string; code: string; }; export declare type RelationAnalysisResult = { fromDatasourceId: string; fromTable: string; fromColumn: string; fromDistinctCount: number | null; toDatasourceId: string; toTable: string; toColumn: string; toDistinctCount: number | null; matchCount: number | null; matchPercentage: number | null; error?: string; }; export declare type ValidateSchemaResponse = { validation: { success: true; data: { datasourceId: string; name: string; columns: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; default?: string | number | (false) | (true) | string; description?: string; }[]; description?: string; virtualColumns?: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; query: string; description?: string; }[]; uniqueKeys?: { type: "UniqueKey"; columns: string[]; description?: string; }[]; indexes?: { type: "Index"; columns: string[]; description?: string; }[]; relations?: { type: "Relation"; columns: string[]; reference: { datasourceId: string; table: string; columns: string[]; }; description?: string; }[]; }[]; } | { success: false; error: { issues: SchemaValidationIssue[]; }; }; relations: RelationAnalysisResult[]; }; export declare type InternalResponse_ValidateSchemaResponse = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: ValidateSchemaResponse; }; export declare type ValidateSchemaBody = { schema: AnyValue; }; export declare type Document = {}; export declare enum DatagraphSchemaVersionState { DRAFT = "draft", LIVE = "live", INACTIVE = "inactive" } export declare type Serialize_DatagraphSchemaVersion = { readonly companyId: (ObjectId) & readonlyP; readonly state: (DatagraphSchemaVersionState) & readonlyP; readonly definition: ({ name: string; description?: string; datasourceId: string; columns: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; default?: string | number | (false) | (true) | string; description?: string; }[]; virtualColumns?: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; query: string; description?: string; }[]; uniqueKeys?: { type: "UniqueKey"; columns: string[]; description?: string; }[]; indexes?: { type: "Index"; columns: string[]; description?: string; }[]; relations?: { type: "Relation"; columns: string[]; reference: { datasourceId: string; table: string; columns: string[]; }; description?: string; }[]; }[]) & readonlyP; }; export declare type DatagraphSchemaVersion = Serialize_DatagraphSchemaVersion & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type IObjectWithTypegooseFunction = {}; export declare type InternalResponse_Array_SerializedDatagraphSchema = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; readonly versions: ((ObjectId | (Document & DatagraphSchemaVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]) & readonlyP; archivedAt: string | null; }[]; }; export declare type UpdateSchemaBody = { schema: { datasourceId: string; name: string; columns: { name: string; type: FieldMapType; default?: string | number | (false) | (true) | string; description?: string; }[]; description?: string; virtualColumns?: { name: string; type: FieldMapType; query: string; description?: string; }[]; uniqueKeys?: { type: "UniqueKey"; columns: string[]; description?: string; }[]; indexes?: { type: "Index"; columns: string[]; description?: string; }[]; relations?: { type: "Relation"; columns: string[]; reference: { datasourceId: string; table: string; columns: string[]; }; description?: string; }[]; }[]; }; export declare enum DatagraphEntityGroupVersionState { DRAFT = "draft", INACTIVE = "inactive", LIVE = "live" } export declare type DatagraphEntityGroupVersion = { readonly companyId: (ObjectId) & readonlyP; readonly state: (DatagraphEntityGroupVersionState) & readonlyP; readonly definition: ({ name: string; label: string; description: string | null; fields: { name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; required: boolean; nullable: boolean; description: string | null; }[]; entityIds: string[]; }) & readonlyP; readonly lastSavedBy?: (ObjectId) & readonlyP; changeDescription?: string; }; export declare type Serialize_DatagraphEntityGroup = { readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; readonly versions: ((ObjectId | (Document & DatagraphEntityGroupVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]) & readonlyP; readonly archivedAt: (string | null) & readonlyP; }; export declare type DatagraphEntityGroup = Serialize_DatagraphEntityGroup & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type InternalResponse_DatagraphEntityGroup = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatagraphEntityGroup; }; export declare type InternalResponse_Array_DatagraphEntityGroup = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatagraphEntityGroup[]; }; export declare type InternalResponse_values_Record = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { values: { [key: string]: AnyValue; }; }; }; export declare enum DatagraphEntityVersionState { DRAFT = "draft", INACTIVE = "inactive", LIVE = "live" } export declare type Serialize_DatagraphEntityVersion = { readonly companyId: (ObjectId) & readonlyP; readonly state: (DatagraphEntityVersionState) & readonlyP; readonly definition: ({ name: string; options: { name: string; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; index: number; optional?: boolean; shortDescription: string; fullDescription: string | null; }[]; description: string | null; sql: string | null; readonly answers: ({ name: string; type: "string" | "number" | "boolean" | "name" | "url" | "datetime" | "datetime_iso" | "description" | "address_1" | "address_2" | "address_3" | "address_4" | "city" | "zipcode" | "country" | "latitude" | "longitude" | "reference_id" | "reference_ids" | "product_id" | "price" | "image_url" | "product_lifetime" | "locale" | "array_string" | "array_number" | "record_string" | "record_number" | "company_id" | "event_name" | "event_id" | "user_tmp_id" | "user_agent" | "workflow_id" | "workflow_version_id" | "workflow_event_mode" | "transaction_id" | "transaction_source" | "transaction_metadata" | "product_quantity" | "workflow_purchase_user" | "workflow_user" | "workflow_onsite_user" | "user_birthday" | "user_age" | "loop_email_contact_id" | "loop_web_contact_id" | "loop_mobile_contact_id"; }[]) & readonlyP; }) & readonlyP; readonly lastSavedBy?: (ObjectId) & readonlyP; changeDescription?: string; }; export declare type DatagraphEntityVersion = Serialize_DatagraphEntityVersion & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type Serialize_DatagraphEntity = { readonly companyId: (ObjectId) & readonlyP; readonly resourceGroupIds: (ObjectId[]) & readonlyP; readonly versions: ((ObjectId | (Document & DatagraphEntityVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]) & readonlyP; readonly archivedAt: (string | null) & readonlyP; }; export declare type DatagraphEntity = Serialize_DatagraphEntity & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type InternalResponse_Array_DatagraphEntity = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatagraphEntity[]; }; export declare type InternalResponse_entries_Array_distance_Union_undefined_number_rlvt_lat_Union_undefined_number_rlvt_lng_Union_undefined_number_count_number = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { entries: { distance?: number; rlvt_lat?: number; rlvt_lng?: number; [key: string]: AnyValue; }[]; count: number; }; }; export declare type EntityParameterAndGroup = { $and: { [key: string]: string | number | (false) | (true); }[]; }; export declare type EntityParameterOrGroup = { $or: { [key: string]: string | number | (false) | (true); }[]; }; export declare type QueryEntityBody = { options?: { [key: string]: string | number | (false) | (true); } | { $or: ({ [key: string]: string | number | (false) | (true); } | EntityParameterAndGroup)[]; } | { $and: ({ [key: string]: string | number | (false) | (true); } | EntityParameterOrGroup)[]; }; userIds?: string[]; entity?: DatagraphEntityDefinitionBody; sampleOptions?: boolean; }; export declare type InternalResponse_DatagraphEntity = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatagraphEntity; }; export declare type CreateEntityBody = { entity: DatagraphEntityDefinitionBody; }; export declare type InternalResponse_Intersection_DatagraphEntity_groups_Array_string = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatagraphEntity & { groups: string[]; }; }; export declare type UpdateEntityBody = { entity: DatagraphEntityDefinitionBody; }; export declare type PublishEntityBody = { changeDescription?: string; }; export declare type InternalResponse_current_Union_null_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_PRODUCT_LIFETIME_LOCALE_ARRAY_STRING_ARRAY_NUMBER_RECORD_STRING_RECORD_NUMBER_COMPANY_ID_EVENT_NAME_EVENT_ID_USER_TMP_ID_USER_AGENT_WORKFLOW_ID_WORKFLOW_VERSION_ID_WORKFLOW_EVENT_MODE_TRANSACTION_ID_TRANSACTION_SOURCE_TRANSACTION_METADATA_PRODUCT_QUANTITY_WORKFLOW_PURCHASE_USER_WORKFLOW_USER_WORKFLOW_ONSITE_USER_USER_BIRTHDAY_USER_AGE_LOOP_EMAIL_CONTACT_ID_LOOP_WEB_CONTACT_ID_LOOP_MOBILE_CONTACT_ID_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY_next_Array_Union_name_CONFIGURE_NAME_name_CONFIGURE_RESOURCE_GROUP_IDS_name_CONFIGURE_SOURCES_name_CONFIGURE_FIELDS_name_CONFIGURE_FIELD_field_name_string_type_Union_STRING_NUMBER_DATETIME_DATETIME_ISO_BOOLEAN_ADDRESS_1_ADDRESS_2_ADDRESS_3_ADDRESS_4_CITY_ZIPCODE_COUNTRY_LATITUDE_LONGITUDE_REFERENCE_ID_REFERENCE_IDS_PRODUCT_ID_PRICE_URL_IMAGE_URL_NAME_DESCRIPTION_PRODUCT_LIFETIME_LOCALE_ARRAY_STRING_ARRAY_NUMBER_RECORD_STRING_RECORD_NUMBER_COMPANY_ID_EVENT_NAME_EVENT_ID_USER_TMP_ID_USER_AGENT_WORKFLOW_ID_WORKFLOW_VERSION_ID_WORKFLOW_EVENT_MODE_TRANSACTION_ID_TRANSACTION_SOURCE_TRANSACTION_METADATA_PRODUCT_QUANTITY_WORKFLOW_PURCHASE_USER_WORKFLOW_USER_WORKFLOW_ONSITE_USER_USER_BIRTHDAY_USER_AGE_LOOP_EMAIL_CONTACT_ID_LOOP_WEB_CONTACT_ID_LOOP_MOBILE_CONTACT_ID_name_CREATE_OAUTH_CLIENT_configurationId_string_name_AUTHORIZE_OAUTH_CLIENT_slug_string_name_CONFIGURE_THRESHOLDS_name_CONFIGURE_API_KEY_slug_partoo_name_PATCH_name_VALIDATE_name_CONFIGURE_GOOGLE_TAG_MANAGER_name_CONFIGURE_REELEVANT_ANALYTICS_SCRIPT_name_CONFIGURE_PRODUCT_DATASOURCE_SOURCE_name_CONFIGURE_TRACKING_DATASOURCE_SOURCE_name_CONFIGURE_BEST_PRODUCT_QUERY_name_CONFIGURE_BEST_PRODUCT_FIELD_name_CONFIGURE_FETCHER_name_CONFIGURE_MERGE_DATASOURCE_SOURCE_name_CONFIGURE_MERGE_DATASOURCE_DEPENDENCY_name_CONFIGURE_MERGE_MAPPING_name_CONFIGURE_BOUGHT_TOGETHER_name_CONFIGURE_TOP_ATTRIBUTES_name_CONFIGURE_DESTINATION_type_smtp_name_CONFIGURE_HIERARCHY = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { current: { name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; }; next: ({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; })[]; }; }; export declare type SampleObj_Partial = { sample?: { [key: string]: AnyValue; }; }; export declare type DatasourceSourceOptions = { id: string; }; export declare type BigQuerySourceOptions = { table: string; dataset: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; export declare type QueriableField_With_Name_Enum_Required_Unique = { name: string; enum?: (string | number)[]; required: boolean; unique: boolean; }; export declare type UrlSourceOptions = { url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; options?: { method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; query?: { [key: string]: string | string[]; }; oauth?: string; timeout?: number; pagination?: ({ type: "query" | "body"; value: string; startAt?: number; subtype?: "page" | "offset"; } & { maximumPage?: number; }) | ({ type: "hypermediaAttribute"; value: string; } & { maximumPage?: number; }) | ({ type: "pageToken"; value: string; param: string; removeParams?: boolean; } & { maximumPage?: number; }) | ({ type: "linkHeader"; } & { maximumPage?: number; }) | ({ type: "entryToken"; value: string; param: string; removeParams?: boolean; } & { maximumPage?: number; }); variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; }; export declare type PgpDecryptionOptions = { pgpPrivateKey?: string; pgpPassphrase?: string; }; export declare type SnowflakeSourceOptions = { account: string; username: string; password?: string; warehouse: string; privateKey?: string; schema: string; database: string; table: string; query?: string; timestampColumn?: string; }; export declare type KafkaSourceOptions = { brokers: string[]; topic: string; groupPrefix?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; export declare type S3AssumeRoleOptions = { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; export declare type SourceInput_Without_FieldsRules = { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; source: ({ type: "datasource"; options: DatasourceSourceOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "bigquery"; options: BigQuerySourceOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "url"; options: UrlSourceOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "file"; options: { bucket: string; path: string; format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding: string; } & PgpDecryptionOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "ftp"; options: { username: string; password: string; host: string; port: number; secure: boolean; path: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; processType?: ProcessType; disableProxy?: boolean; } & PgpDecryptionOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "sftp"; options: { username: string; password?: string; privateKey?: string; passphrase?: string; host: string; port: number; path: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; disableProxy?: boolean; processType?: ProcessType; } & PgpDecryptionOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "snowflake"; options: SnowflakeSourceOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "gcs"; options: { privateKey: string; clientEmail: string; projectId: string; bucket: string; path: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; processType?: ProcessType; } & PgpDecryptionOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "kafka"; options: KafkaSourceOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }) | ({ type: "s3"; options: { accessKey?: string; secretKey?: string; bucket: string; path: string; endpoint?: string; region?: string; assumeRole?: S3AssumeRoleOptions; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding?: string; processType?: ProcessType; } & PgpDecryptionOptions; } & { preProcessingAggregations?: PreProcessingAggregations[]; }); }; export declare type ProxyRefresh = { freq: number; }; export declare type StorageOptionsPatch = { partitionCount?: number; segments?: { offlineSize?: number; offlineReplication?: number; realtimeSize?: number; realtimeReplication?: number; }; retention?: { value: number; unit: "DAYS"; }; destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; export declare type Error = { name: string; message: string; stack?: string; cause?: AnyValue; }; export declare type Readable = { readonly readableAborted: (boolean) & readonlyP; readable: boolean; readonly readableDidRead: (boolean) & readonlyP; readonly readableEncoding: ("hex" | "base64" | "ascii" | "utf8" | "utf-8" | "utf16le" | "utf-16le" | "ucs2" | "ucs-2" | "base64url" | "latin1" | "binary") & readonlyP; readonly readableEnded: (boolean) & readonlyP; readonly readableFlowing: (boolean | null) & readonlyP; readonly readableHighWaterMark: (number) & readonlyP; readonly readableLength: (number) & readonlyP; readonly readableObjectMode: (boolean) & readonlyP; destroyed: boolean; readonly closed: (boolean) & readonlyP; readonly errored: (Error | null) & readonlyP; }; export declare type Dict_Union_string_Array_string = { [key: string]: string | string[]; }; export declare type ParsedUrlQuery = Dict_Union_string_Array_string; export declare type Url = { auth: string | null; hash: string | null; host: string | null; hostname: string | null; href: string; path: string | null; pathname: string | null; protocol: string | null; search: string | null; slashes: boolean | null; port: string | null; query: string | ParsedUrlQuery; }; export declare type AttachmentLike = { content?: string | string | Readable; path?: string | Url; }; export declare type Credentials = { user: string; pass: string; }; export declare type AuthenticationTypeCustom = Credentials & { type: "custom" | "Custom" | "CUSTOM"; method: string; }; export declare type AuthenticationTypeLogin = Credentials & { type?: "login" | "Login" | "LOGIN"; }; export declare type Options = { user?: string; clientId?: string; clientSecret?: string; refreshToken?: string; accessUrl?: string; accessToken?: string; privateKey?: string | { key: string; passphrase: string; }; expires?: number; timeout?: number; serviceClient?: string; }; export declare type AuthenticationTypeOAuth2 = Options & { type?: "oauth2" | "OAuth2" | "OAUTH2"; }; export declare type Address = { name?: string; address: string; }; export declare type AmpAttachment = AttachmentLike & { href?: string; encoding?: string; contentType?: string; raw?: string | string | Readable | AttachmentLike; }; export declare type CurrentSteps = { current: ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_thresholds"; } & { value?: ({ type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; } | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; })[]; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { aggregationPipeline: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields: boolean; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; segmentBatchSize?: number; sftpPublicKey?: string; destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_bought_together"; } & { value?: { referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; }) | ({ name: "configure_top_attributes"; } & { value?: { events: { name: string; score: number; }[]; date: { duration: number; } | { start: number; end?: number; }; productMapping: { referenceIdField: string; attributeField: string; }; }; }) | ({ name: "configure_product_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_tracking_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_best_product_query"; } & { value?: { query: string; }; }) | ({ name: "configure_best_product_field"; } & { value?: { field: string; }; }) | ({ name: "configure_merge_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_datasource_dependency"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_mapping"; } & { value?: { sourceField: string; dependencyField: string; }; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { refresh: ProxyRefresh; ignoreStatusCodes?: number[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; }) | ({ name: "patch"; } & { value?: { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_reelevant_analytics_script"; } & { value?: {}; }) | ({ name: "configure_google_tag_manager"; } & { value?: {}; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_destination"; type: "smtp"; } & { value?: { destination: { type: "smtp"; options: { url?: string; secure?: boolean; host?: string; port?: number; date?: string | string; text?: string | string | Readable | AttachmentLike; auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2; authMethod?: string; cc?: string | Address | (string | Address)[]; bcc?: string | Address | (string | Address)[]; from?: string | Address | (string | Address)[]; to?: string | Address | (string | Address)[]; subject?: string; requireTLS?: boolean; html?: string | string | Readable | AttachmentLike; amp?: string | string | Readable | AmpAttachment; }; }; }; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }); next: (({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_thresholds"; } & { value?: ({ type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; } | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; })[]; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { aggregationPipeline: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields: boolean; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; segmentBatchSize?: number; sftpPublicKey?: string; destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_bought_together"; } & { value?: { referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; }) | ({ name: "configure_top_attributes"; } & { value?: { events: { name: string; score: number; }[]; date: { duration: number; } | { start: number; end?: number; }; productMapping: { referenceIdField: string; attributeField: string; }; }; }) | ({ name: "configure_product_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_tracking_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_best_product_query"; } & { value?: { query: string; }; }) | ({ name: "configure_best_product_field"; } & { value?: { field: string; }; }) | ({ name: "configure_merge_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_datasource_dependency"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_mapping"; } & { value?: { sourceField: string; dependencyField: string; }; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { refresh: ProxyRefresh; ignoreStatusCodes?: number[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; }) | ({ name: "patch"; } & { value?: { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_reelevant_analytics_script"; } & { value?: {}; }) | ({ name: "configure_google_tag_manager"; } & { value?: {}; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_destination"; type: "smtp"; } & { value?: { destination: { type: "smtp"; options: { url?: string; secure?: boolean; host?: string; port?: number; date?: string | string; text?: string | string | Readable | AttachmentLike; auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2; authMethod?: string; cc?: string | Address | (string | Address)[]; bcc?: string | Address | (string | Address)[]; from?: string | Address | (string | Address)[]; to?: string | Address | (string | Address)[]; subject?: string; requireTLS?: boolean; html?: string | string | Readable | AttachmentLike; amp?: string | string | Readable | AmpAttachment; }; }; }; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }))[]; previous: (({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_thresholds"; } & { value?: ({ type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; } | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; })[]; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { aggregationPipeline: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields: boolean; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; segmentBatchSize?: number; sftpPublicKey?: string; destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_bought_together"; } & { value?: { referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; }) | ({ name: "configure_top_attributes"; } & { value?: { events: { name: string; score: number; }[]; date: { duration: number; } | { start: number; end?: number; }; productMapping: { referenceIdField: string; attributeField: string; }; }; }) | ({ name: "configure_product_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_tracking_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_best_product_query"; } & { value?: { query: string; }; }) | ({ name: "configure_best_product_field"; } & { value?: { field: string; }; }) | ({ name: "configure_merge_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_datasource_dependency"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_mapping"; } & { value?: { sourceField: string; dependencyField: string; }; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { refresh: ProxyRefresh; ignoreStatusCodes?: number[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; }) | ({ name: "patch"; } & { value?: { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_reelevant_analytics_script"; } & { value?: {}; }) | ({ name: "configure_google_tag_manager"; } & { value?: {}; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_destination"; type: "smtp"; } & { value?: { destination: { type: "smtp"; options: { url?: string; secure?: boolean; host?: string; port?: number; date?: string | string; text?: string | string | Readable | AttachmentLike; auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2; authMethod?: string; cc?: string | Address | (string | Address)[]; bcc?: string | Address | (string | Address)[]; from?: string | Address | (string | Address)[]; to?: string | Address | (string | Address)[]; subject?: string; requireTLS?: boolean; html?: string | string | Readable | AttachmentLike; amp?: string | string | Readable | AmpAttachment; }; }; }; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }))[]; available: (({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_thresholds"; } & { value?: ({ type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; } | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; })[]; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { aggregationPipeline: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields: boolean; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; segmentBatchSize?: number; sftpPublicKey?: string; destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_bought_together"; } & { value?: { referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; }) | ({ name: "configure_top_attributes"; } & { value?: { events: { name: string; score: number; }[]; date: { duration: number; } | { start: number; end?: number; }; productMapping: { referenceIdField: string; attributeField: string; }; }; }) | ({ name: "configure_product_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_tracking_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_best_product_query"; } & { value?: { query: string; }; }) | ({ name: "configure_best_product_field"; } & { value?: { field: string; }; }) | ({ name: "configure_merge_datasource_source"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_datasource_dependency"; } & { value?: { datasourceId: string; }; }) | ({ name: "configure_merge_mapping"; } & { value?: { sourceField: string; dependencyField: string; }; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { refresh: ProxyRefresh; ignoreStatusCodes?: number[]; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; }) | ({ name: "patch"; } & { value?: { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_reelevant_analytics_script"; } & { value?: {}; }) | ({ name: "configure_google_tag_manager"; } & { value?: {}; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_sources"; } & { value?: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; }) | ({ name: "configure_fields"; } & { value?: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }) | ({ name: "configure_field"; field: { name: string; type: FieldMapType; }; } & { value?: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; }) | ({ name: "create_oauth_client"; configurationId: string; } & { value?: {}; }) | ({ name: "authorize_oauth_client"; slug: string; } & { value?: {}; }) | ({ name: "configure_api_key"; slug: "partoo"; } & { value?: { value: string; }; }) | ({ name: "patch"; } & { value?: { storageOptions?: StorageOptionsPatch; }; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }) | ({ name: "configure_name"; } & { value?: string; }) | ({ name: "configure_resource_group_ids"; } & { value?: string[]; }) | ({ name: "configure_fetcher"; } & { value?: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; }) | ({ name: "validate"; } & { value?: {}; }) | ({ name: "configure_destination"; type: "smtp"; } & { value?: { destination: { type: "smtp"; options: { url?: string; secure?: boolean; host?: string; port?: number; date?: string | string; text?: string | string | Readable | AttachmentLike; auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2; authMethod?: string; cc?: string | Address | (string | Address)[]; bcc?: string | Address | (string | Address)[]; from?: string | Address | (string | Address)[]; to?: string | Address | (string | Address)[]; subject?: string; requireTLS?: boolean; html?: string | string | Readable | AttachmentLike; amp?: string | string | Readable | AmpAttachment; }; }; }; }) | ({ name: "configure_hierarchy"; } & { value?: string[]; }))[]; }; export declare type InternalResponse_CurrentSteps = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: CurrentSteps; }; export declare type DatasourceSettingsNotifications = { onErrorRecipients: string[]; }; export declare type DatasourceSettings = { companyId: ObjectId; notifications: DatasourceSettingsNotifications; }; export declare type InternalResponse_Union_null_DatasourceSettings = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatasourceSettings | null; }; export declare type InternalResponse_DatasourceSettings = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: DatasourceSettings; }; export declare type LogLevel = 0 | 1 | 2; export declare type InternalResponse_Array_Intersection_Document_Omit_IObjectWithTypegooseFunction = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: (Document & ({ type: "too_many_invalid_entries" | "entries_drop_rate_too_high" | "failed_to_pull" | "fatal" | "entries_drop_rate_too_high" | "refresh_time_too_small" | "missing_fields" | "failed_to_refresh_dependents" | "zero_rows_update" | "logs_truncated" | "start" | "end" | "content_update" | "geocoding_address" | "geocoding_country" | "invalid_type" | "invalid_line" | "invalid_unwind_source" | "required_values_empty"; date: string; datasourceId: ObjectId; payload: AnyValue; contentVersion: number; level: LogLevel; entryIndex?: number; } & { readonly id: (string) & readonlyP; } & { version: string; }) & IObjectWithTypegooseFunction)[]; }; export declare enum DatasourceStatus { DRAFT = "draft", PUBLISHED = "published", UPDATING = "updating", PAUSED = "paused", ERROR = "error" } export declare enum DatasourceLoopSubType { SCORES = "scores", MESSAGING_PLAN = "messaging_plan", AUDIT = "audit" } export declare enum DatasourceVersionState { LIVE = "LIVE", DRAFT = "DRAFT", SCHEDULED = "SCHEDULED", INACTIVE = "INACTIVE" } export declare type DatasourceVersion = { readonly id: (string) & readonlyP; type: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; } | { name: "product"; subtype: DatasourceProductSubType; } | { name: "location"; subtype: DatasourceLocationSubType; } | { name: "analytics"; subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable"; } | { name: "push"; subtype: "email"; } | { name: "loop"; subtype: DatasourceLoopSubType; }; fieldsMap: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; }[]; mode: DatasourceMode; readonly state: (DatasourceVersionState) & readonlyP; readonly pendingSteps?: (({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; } | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; } | { name: "setup_instagram"; urls: { getAccount: string; getAccountInfos: string; final: string; }; })[]) & readonlyP; readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly requiredFieldsTypes: ({ [key: string]: FieldMapType; }[]) & readonlyP; readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; } & { readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP; }; export declare type Serialize_PushDatasource = { name: string; hidden: boolean; readonly template?: (ObjectId | null) & readonlyP; readonly fetcher: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; partitionCount: number; segments: { offlineSize: number; offlineReplication: number; realtimeSize: number; realtimeReplication: number; }; retention?: { value: number; unit: "DAYS"; }; }; mode: "push"; status: DatasourceStatus; companyId: ObjectId; resourceGroupIds: ObjectId[]; versions: (ObjectId | (Document & DatasourceVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]; readonly archivedAt: (string | null) & readonlyP; readonly configurationUpdatedAt: (string) & readonlyP; readonly lastSuccessfulIngestion?: (string) & readonlyP; readonly lastFailedIngestion?: (string) & readonlyP; readonly lastFailureReason?: (string) & readonlyP; hierarchy: string[]; readonly hasWarnings: (boolean) & readonlyP; }; export declare type PushDatasource = Serialize_PushDatasource & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type WorkerDatasourceVersion = { readonly id: (string) & readonlyP; type: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; } | { name: "product"; subtype: DatasourceProductSubType; } | { name: "location"; subtype: DatasourceLocationSubType; }; fieldsMap: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; index: FieldIndexType; sortable: boolean; }[]; aggregationPipeline: { name: "merge"; params: { exclusion?: boolean; query: string; datasourceId: string; fieldNames: string[]; }; }[] | { name: "count"; params: { exclusion?: boolean; query: string; datasourceId: string; fieldNames: string[]; }; }[] | { name: "count_with_quantity"; params: { exclusion?: boolean; query: string; datasourceId: string; fieldNames: string[]; }; }[] | { name: "bought_together"; params: { date: { duration: number; } | { end?: number; start: number; }; datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; }; }[] | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; }[]; refresh: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields: boolean; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { mode?: PinotUpsertMode; primaryKey: string; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; sources: { input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[] | { type: "append"; input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[]; mode: "worker"; readonly state: (DatasourceVersionState) & readonlyP; readonly pendingSteps?: (({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; } | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; } | { name: "setup_instagram"; urls: { getAccount: string; getAccountInfos: string; final: string; }; })[]) & readonlyP; readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly requiredFieldsTypes: ({ [key: string]: FieldMapType; }[]) & readonlyP; readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; segmentBatchSize?: number; sourceFetchStates: { [key: string]: { [key: string]: AnyValue; }; }; sftpPublicKey?: string; } & { readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP; }; export declare type Serialize_WorkerDatasource = { name: string; hidden: boolean; readonly template?: (ObjectId | null) & readonlyP; readonly fetcher: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; mode: "worker"; status: DatasourceStatus; companyId: ObjectId; resourceGroupIds: ObjectId[]; versions: (ObjectId | (Document & WorkerDatasourceVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]; readonly archivedAt: (string | null) & readonlyP; readonly configurationUpdatedAt: (string) & readonlyP; readonly lastSuccessfulIngestion?: (string) & readonlyP; readonly lastFailedIngestion?: (string) & readonlyP; readonly lastFailureReason?: (string) & readonlyP; hierarchy: string[]; readonly hasWarnings: (boolean) & readonlyP; readonly contentVersion: (number) & readonlyP; thresholds: { type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; }[] | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; }[]; attempts?: number; readonly lastRunAt: (string | null) & readonlyP; readonly currentLiveVersion: (ObjectId | null) & readonlyP; readonly pausedAt: (string | null) & readonlyP; readonly isPaused: (boolean) & readonlyP; }; export declare type WorkerDatasource = Serialize_WorkerDatasource & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type ProxyDatasourceVersion = { readonly id: (string) & readonlyP; type: { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; }; fieldsMap: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; }[]; refresh: { freq: number; }; sources: { input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[] | { type: "append"; input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[]; mode: "proxy"; readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP; readonly pendingSteps?: (({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; } | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; } | { name: "setup_instagram"; urls: { getAccount: string; getAccountInfos: string; final: string; }; })[]) & readonlyP; readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly requiredFieldsTypes: ({ [key: string]: FieldMapType; }[]) & readonlyP; readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; ignoreStatusCodes?: number[]; } & { readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP; }; export declare type Serialize_ProxyDatasource = { name: string; hidden: boolean; readonly template?: (ObjectId | null) & readonlyP; readonly fetcher: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; mode: "proxy"; status: DatasourceStatus; companyId: ObjectId; resourceGroupIds: ObjectId[]; versions: (ObjectId | (Document & ProxyDatasourceVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]; readonly archivedAt: (string | null) & readonlyP; readonly configurationUpdatedAt: (string) & readonlyP; readonly lastSuccessfulIngestion?: (string) & readonlyP; readonly lastFailedIngestion?: (string) & readonlyP; readonly lastFailureReason?: (string) & readonlyP; hierarchy: string[]; readonly hasWarnings: (boolean) & readonlyP; }; export declare type ProxyDatasource = Serialize_ProxyDatasource & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type IngesterDatasourceVersion = { readonly id: (string) & readonlyP; type: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "analytics"; subtype: "reelevant" | "google_tag_manager" | "workflow_events" | "user" | "mutable"; }; filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; fieldsMap: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; index: FieldIndexType; sortable: boolean; rules: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; isPrimaryKey?: boolean; }[]; updateOptions: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { mode?: PinotUpsertMode; primaryKey: string; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; mode: "ingester"; readonly state: ("LIVE" | "DRAFT") & readonlyP; readonly pendingSteps?: (({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; } | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; } | { name: "setup_instagram"; urls: { getAccount: string; getAccountInfos: string; final: string; }; })[]) & readonlyP; readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly requiredFieldsTypes: ({ [key: string]: FieldMapType; }[]) & readonlyP; readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; } & { readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP; }; export declare type Serialize_IngesterDatasource = { name: string; hidden: boolean; readonly template?: (ObjectId | null) & readonlyP; readonly fetcher: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; partitionCount: number; segments: { offlineSize: number; offlineReplication: number; realtimeSize: number; realtimeReplication: number; }; retention?: { value: number; unit: "DAYS"; }; }; mode: "ingester"; status: DatasourceStatus; companyId: ObjectId; resourceGroupIds: ObjectId[]; versions: (ObjectId | (Document & IngesterDatasourceVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]; readonly archivedAt: (string | null) & readonlyP; readonly configurationUpdatedAt: (string) & readonlyP; readonly lastSuccessfulIngestion?: (string) & readonlyP; readonly lastFailedIngestion?: (string) & readonlyP; readonly lastFailureReason?: (string) & readonlyP; hierarchy: string[]; readonly hasWarnings: (boolean) & readonlyP; }; export declare type IngesterDatasource = Serialize_IngesterDatasource & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type PubsubDatasourceVersion = { readonly id: (string) & readonlyP; type: { name: "analytics"; options: { autoExclusions?: boolean; noStats?: boolean; }; subtype: "purchases"; } | { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; } | { name: "product"; subtype: DatasourceProductSubType; } | { name: "location"; subtype: DatasourceLocationSubType; }; fieldsMap: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; }[]; sources: { input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[] | { type: "append"; input: { filter?: { $and: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; } | { $or: { $and: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[] | { $or: { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; }[]; }[]; }; source: { type: "datasource"; preProcessingAggregations?: PreProcessingAggregations[]; options: { id: string; }; } | { type: "bigquery"; preProcessingAggregations?: PreProcessingAggregations[]; options: { dataset: string; table: string; privateKey?: string; clientEmail?: string; projectId?: string; query?: string; tableProjectId?: string; timestampField?: string; timestampFieldType?: "datetime" | "timestamp"; customOAuthClientId?: string; location?: string; }; } | { type: "url"; preProcessingAggregations?: PreProcessingAggregations[]; options: { options?: { query?: { [key: string]: string | string[]; }; method?: "GET" | "PATCH" | "POST" | "PUT"; body?: string; headers?: { [key: string]: string; }; oauth?: string; timeout?: number; pagination?: { type: "query" | "body"; subtype?: "page" | "offset"; value: string; startAt?: number; maximumPage?: number; } | { type: "hypermediaAttribute"; value: string; maximumPage?: number; } | { type: "pageToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; } | { type: "linkHeader"; maximumPage?: number; } | { type: "entryToken"; value: string; maximumPage?: number; param: string; removeParams?: boolean; }; variables?: (QueriableField_With_Name_Enum_Required_Unique & { default: string | number | string[] | number[] | { value: string; dynamic: true; }; sortable?: boolean; primitive: "string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}"; })[]; }; url: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; }; } | { type: "file"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; }; } | { type: "ftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; secure: boolean; username: string; password: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; }; } | { type: "sftp"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey?: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; path: string; username: string; password?: string; host: string; port: number; processType?: ProcessType; disableProxy?: boolean; passphrase?: string; }; } | { type: "snowflake"; preProcessingAggregations?: PreProcessingAggregations[]; options: { schema: string; table: string; privateKey?: string; query?: string; username: string; password?: string; account: string; warehouse: string; database: string; timestampColumn?: string; }; } | { type: "gcs"; preProcessingAggregations?: PreProcessingAggregations[]; options: { privateKey: string; clientEmail: string; projectId: string; format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; }; } | { type: "kafka"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; username?: string; password?: string; brokers: string[]; topic: string; groupPrefix?: string; ssl?: boolean; registry?: { url: string; username: string; password: string; }; }; } | { type: "s3"; preProcessingAggregations?: PreProcessingAggregations[]; options: { format?: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { version?: string; columnsList?: string[]; }; } | { type: "avro"; options: {}; }; textEncoding?: string; pgpPrivateKey?: string; pgpPassphrase?: string; bucket: string; path: string; processType?: ProcessType; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; assumeRole?: { roleArn: string; externalId?: string; sessionName?: string; durationSeconds?: number; stsEndpoint?: string; }; }; }; fieldsRules: { [key: string]: { name: "static"; params: { value: string | number; }; }[] | { name: "path"; params: { value: string; }; }[] | { name: "path"; params: { value: string; fromRoot: true; }; }[] | { name: "array_find"; params: { value: string | number; key: string; operator: "=" | "!="; }; }[] | { name: "array_find"; params: { conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[]; }; }[] | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; }[] | { name: "array_find"; params: { conditions: { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; }; }[] | { name: "fallback"; params: { path: string; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "fallback"; params: { valuePath?: string; exit?: true; staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; }[] | { name: "fallback_if"; params: { path: string; conditions: { value: string | number | (false) | (true); path: string; operator: "=" | "!=" | ">=" | "<="; }[] | { path: string; operator: "=" | "!=" | ">=" | "<="; evaluateValue: string; }[]; valuePath?: string; fromFormatted?: true; exit?: true; }; }[] | { name: "exclude_from_record"; params: { keys: string[]; }; }[] | { name: "decrypt"; params: { passwordPrefixPath?: string; }; }[] | { name: "interpolate"; params: { value: string; }; }[] | { name: "custom"; params: { value: string; }; }[] | { name: "split"; params: { separator: string; }; }[] | { name: "case"; params: { cases: { value: string; conditions: { value: string | number | (false) | (true); operator: "=" | "!=" | ">=" | "<="; }[]; }[]; }; }[] | { name: "hash"; params: { algorithm: string; salt?: string; }; }[] | { name: "decipher"; params: { key: string; algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; iv?: string; inputEncoding?: "hex" | "base64"; }; }[]; }; sample: { [key: string]: AnyValue; }; }; }[]; mode: "pubsub"; readonly state: ("LIVE" | "DRAFT" | "INACTIVE") & readonlyP; readonly pendingSteps?: (({ name: "configure_name"; } | { name: "configure_resource_group_ids"; } | { name: "configure_sources"; } | { name: "configure_fields"; } | { name: "configure_field"; field: { name: string; type: FieldMapType; }; } | { name: "create_oauth_client"; configurationId: string; } | { name: "authorize_oauth_client"; slug: string; } | { name: "configure_thresholds"; } | { name: "configure_api_key"; slug: "partoo"; } | { name: "patch"; } | { name: "validate"; } | { name: "configure_google_tag_manager"; } | { name: "configure_reelevant_analytics_script"; } | { name: "configure_product_datasource_source"; } | { name: "configure_tracking_datasource_source"; } | { name: "configure_best_product_query"; } | { name: "configure_best_product_field"; } | { name: "configure_fetcher"; } | { name: "configure_merge_datasource_source"; } | { name: "configure_merge_datasource_dependency"; } | { name: "configure_merge_mapping"; } | { name: "configure_bought_together"; } | { name: "configure_top_attributes"; } | { name: "configure_destination"; type: "smtp"; } | { name: "configure_hierarchy"; } | { name: "google_my_business_set_url"; urls: { getAccount: string; final: string; }; } | { name: "setup_instagram"; urls: { getAccount: string; getAccountInfos: string; final: string; }; })[]) & readonlyP; readonly availableFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly requiredFieldsTypes: ({ [key: string]: FieldMapType; }[]) & readonlyP; readonly uniqueFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; readonly importantFieldsTypes: (("string"[] & FieldMapType[]) | ("number"[] & FieldMapType[]) | ("datetime"[] & FieldMapType[]) | ("datetime_iso"[] & FieldMapType[]) | ("boolean"[] & FieldMapType[]) | ("address_1"[] & FieldMapType[]) | ("address_2"[] & FieldMapType[]) | ("address_3"[] & FieldMapType[]) | ("address_4"[] & FieldMapType[]) | ("city"[] & FieldMapType[]) | ("zipcode"[] & FieldMapType[]) | ("country"[] & FieldMapType[]) | ("latitude"[] & FieldMapType[]) | ("longitude"[] & FieldMapType[]) | ("reference_id"[] & FieldMapType[]) | ("reference_ids"[] & FieldMapType[]) | ("product_id"[] & FieldMapType[]) | ("price"[] & FieldMapType[]) | ("url"[] & FieldMapType[]) | ("image_url"[] & FieldMapType[]) | ("name"[] & FieldMapType[]) | ("description"[] & FieldMapType[]) | ("product_lifetime"[] & FieldMapType[]) | ("locale"[] & FieldMapType[]) | ("array_string"[] & FieldMapType[]) | ("array_number"[] & FieldMapType[]) | ("record_string"[] & FieldMapType[]) | ("record_number"[] & FieldMapType[]) | ("company_id"[] & FieldMapType[]) | ("event_name"[] & FieldMapType[]) | ("event_id"[] & FieldMapType[]) | ("user_tmp_id"[] & FieldMapType[]) | ("user_agent"[] & FieldMapType[]) | ("workflow_id"[] & FieldMapType[]) | ("workflow_version_id"[] & FieldMapType[]) | ("workflow_event_mode"[] & FieldMapType[]) | ("transaction_id"[] & FieldMapType[]) | ("transaction_source"[] & FieldMapType[]) | ("transaction_metadata"[] & FieldMapType[]) | ("product_quantity"[] & FieldMapType[]) | ("workflow_purchase_user"[] & FieldMapType[]) | ("workflow_user"[] & FieldMapType[]) | ("workflow_onsite_user"[] & FieldMapType[]) | ("user_birthday"[] & FieldMapType[]) | ("user_age"[] & FieldMapType[]) | ("loop_email_contact_id"[] & FieldMapType[]) | ("loop_web_contact_id"[] & FieldMapType[]) | ("loop_mobile_contact_id"[] & FieldMapType[])) & readonlyP; } & { readonly health: ("ERROR" | "WARNING" | "OK") & readonlyP; }; export declare type Serialize_PubsubDatasource = { name: string; hidden: boolean; readonly template?: (ObjectId | null) & readonlyP; readonly fetcher: ({ name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { mode: "inclusion" | "exclusion"; exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }) & readonlyP; storageOptions: { destinations: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; partitionCount: number; segments: { offlineSize: number; offlineReplication: number; realtimeSize: number; realtimeReplication: number; }; retention?: { value: number; unit: "DAYS"; }; }; mode: "pubsub"; status: DatasourceStatus; companyId: ObjectId; resourceGroupIds: ObjectId[]; versions: (ObjectId | (Document & PubsubDatasourceVersion & { _id: ObjectId; } & { __v: number; } & IObjectWithTypegooseFunction))[]; readonly archivedAt: (string | null) & readonlyP; readonly configurationUpdatedAt: (string) & readonlyP; readonly lastSuccessfulIngestion?: (string) & readonlyP; readonly lastFailedIngestion?: (string) & readonlyP; readonly lastFailureReason?: (string) & readonlyP; hierarchy: string[]; readonly hasWarnings: (boolean) & readonlyP; }; export declare type PubsubDatasource = Serialize_PubsubDatasource & { readonly id: (string) & readonlyP; } & { readonly createdAt: (string) & readonlyP; readonly updatedAt: (string) & readonlyP; }; export declare type InternalResponse_Array_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: (PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource)[]; }; export declare type FieldMap_With_Name_Type_Primitive = { name: string; type: FieldMapType; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; }; export declare type QueriableField = FieldMap_With_Name_Type_Primitive & { required: boolean; unique: boolean; sortable: boolean; enum?: (string | number)[]; allowedOperators: (("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast") | ("$eq" | "$ne" | "$contains" | "$notcontains" | "$startswith" | "$endswith" | "$empty" | "eq" | "ne" | "contains" | "notcontains" | "startswith" | "endswith" | "empty" | "$neq" | "$nne" | "$lt" | "$lte" | "$gt" | "$gte" | "neq" | "nne" | "lt" | "lte" | "gt" | "gte" | "$rangefuture" | "$rangepast" | "$nrangefuture" | "$nrangepast" | "rangefuture" | "rangepast" | "nrangefuture" | "nrangepast"))[]; }; export declare type InternalResponse_Union_Intersection_PushDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_WorkerDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_ProxyDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_IngesterDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField_Intersection_PubsubDatasource_example_Union_undefined_Record_queriableFields_Union_undefined_Array_QueriableField = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: (PushDatasource & { example?: { [key: string]: AnyValue; }; queriableFields?: QueriableField[]; }) | (WorkerDatasource & { example?: { [key: string]: AnyValue; }; queriableFields?: QueriableField[]; }) | (ProxyDatasource & { example?: { [key: string]: AnyValue; }; queriableFields?: QueriableField[]; }) | (IngesterDatasource & { example?: { [key: string]: AnyValue; }; queriableFields?: QueriableField[]; }) | (PubsubDatasource & { example?: { [key: string]: AnyValue; }; queriableFields?: QueriableField[]; }); }; export declare type InternalResponse_example_Record = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { example: { [key: string]: AnyValue; }; }; }; export declare type InternalResponse_Union_PushDatasource_WorkerDatasource_ProxyDatasource_IngesterDatasource_PubsubDatasource = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: PushDatasource | WorkerDatasource | ProxyDatasource | IngesterDatasource | PubsubDatasource; }; export declare type DatasourcePush = { name: "push"; subtype: "email"; }; export declare type DatasourceGeneric = { name: "generic"; subtype: DatasourceGenericSubType; }; export declare type DatasourceCRM = { name: "crm"; subtype: DatasourceCRMSubType; }; export declare type DatasourceProduct = { name: "product"; subtype: DatasourceProductSubType; }; export declare type DatasourceLocation = { name: "location"; subtype: DatasourceLocationSubType; }; export declare type DatasourceLoop = { name: "loop"; subtype: DatasourceLoopSubType; }; export declare type InternalResponse_anonymized_number = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { anonymized: number; }; }; export declare type InternalResponse_fields_Array_Intersection_FieldMapPlain_rulesPerSources_Record = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { fields: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; }; }; export declare type InternalResponse_Intersection_bucket_string_path_string_format_Union_type_csv_options_csvDelimiter_Union_undefined_string_csvColumns_Union_undefined_Array_string_type_ndjson_options__type_json_options_rootPath_string_type_xml_options_rootPath_string_type_xlsx_options__type_parquet_options_columnsList_Union_undefined_Array_string_version_Union_undefined_string_type_avro_options__textEncoding_string_PgpDecryptionOptions = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { bucket: string; path: string; format: { type: "csv"; options: { csvDelimiter?: string; csvColumns?: string[]; }; } | { type: "ndjson"; options: {}; } | { type: "json"; options: { rootPath: string; }; } | { type: "xml"; options: { rootPath: string; }; } | { type: "xlsx"; options: {}; } | { type: "parquet"; options: { columnsList?: string[]; version?: string; }; } | { type: "avro"; options: {}; }; textEncoding: string; } & PgpDecryptionOptions; }; export declare type InternalResponse_password_string = { program: string; version: string; datetime: string; status: string; code?: number; message: string; data: { password: string; }; }; export declare enum FieldMapRuleName { STATIC = "static", PATH = "path", ARRAY_FIND = "array_find", FALLBACK = "fallback", FALLBACK_IF = "fallback_if", EXCLUDE_FROM_RECORD = "exclude_from_record", DECRYPT = "decrypt", INTERPOLATE = "interpolate", SPLIT = "split", CUSTOM = "custom", CASE = "case", HASH = "hash", DECIPHER = "decipher" } export declare type DatasourceTypeName = DatasourceType; export declare enum DatasourceAnalyticsSubType { REELEVANT = "reelevant", GOOGLE_TAG_MANAGER = "google_tag_manager", WORKFLOW_EVENTS = "workflow_events", USER = "user", PURCHASES = "purchases", MUTABLE = "mutable" } export declare type DatasourceTypeObject = { name: "generic"; subtype: DatasourceGenericSubType; } | { name: "product"; subtype: DatasourceProductSubType; } | { name: "location"; subtype: DatasourceLocationSubType; } | { name: "analytics"; subtype: DatasourceAnalyticsSubType; } | { name: "crm"; subtype: DatasourceCRMSubType; } | { name: "push"; subtype: "email"; } | { name: "loop"; subtype: DatasourceLoopSubType; }; export declare type WorkerSteps = { name: "configure_name"; payload: string; } | { name: "configure_resource_group_ids"; payload: string[]; } | { name: "configure_sources"; payload: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; } | { name: "configure_fields"; payload: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; } | { name: "configure_field"; payload: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { name: "create_oauth_client"; payload: {}; } | { name: "authorize_oauth_client"; payload: {}; } | { name: "configure_thresholds"; payload: ({ type: "too_many_invalid_entries"; value: number; trigger: { type: "error"; value: "too_many_invalid_entries"; }; } | { type: "entries_drop_rate_too_high"; value: number; trigger: { type: "warning"; value: "entries_drop_rate_too_high"; } | { type: "error"; value: "entries_drop_rate_too_high"; }; })[]; } | { name: "configure_api_key"; payload: { value: string; }; } | { name: "patch"; payload: { aggregationPipeline?: ({ name: "merge"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "count_with_quantity"; params: { fieldNames: string[]; datasourceId: string; query: string; exclusion?: boolean; }; } | { name: "bought_together"; params: { datasourceId: string; fieldNames: string[]; referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "TOP_ATTRIBUTES"; params: { datasourceId: string; referenceId: string; attribute: string; }; })[]; refresh?: { freq: number; } | { cron: string; } | { datasourceIds: string[]; }; detectMissingFields?: boolean; updateOptions?: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; segmentBatchSize?: number; sftpPublicKey?: string; } & { destinations?: { type: "bigquery"; dataset: string; tableName: string; deduplicateOptions?: { enabled: boolean; }; }[]; }; } | { name: "configure_fetcher"; payload: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; } | { name: "validate"; payload: {}; } | { name: "configure_hierarchy"; payload: string[]; } | { name: "configure_bought_together"; payload: { referenceId: string; eventName: string; date: { duration: number; } | { start: number; end?: number; }; }; } | { name: "configure_top_attributes"; payload: { events: { name: string; score: number; }[]; date: { duration: number; } | { start: number; end?: number; }; productMapping: { referenceIdField: string; attributeField: string; }; }; } | { name: "configure_product_datasource_source"; payload: { datasourceId: string; }; } | { name: "configure_tracking_datasource_source"; payload: { datasourceId: string; }; } | { name: "configure_best_product_query"; payload: { query: string; }; } | { name: "configure_best_product_field"; payload: { field: string; }; } | { name: "configure_merge_datasource_source"; payload: { datasourceId: string; }; } | { name: "configure_merge_datasource_dependency"; payload: { datasourceId: string; }; } | { name: "configure_merge_mapping"; payload: { sourceField: string; dependencyField: string; }; }; export declare type ProxySteps = { name: "configure_name"; payload: string; } | { name: "configure_resource_group_ids"; payload: string[]; } | { name: "configure_sources"; payload: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; } | { name: "configure_fields"; payload: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; } | { name: "configure_field"; payload: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { name: "create_oauth_client"; payload: {}; } | { name: "authorize_oauth_client"; payload: {}; } | { name: "configure_api_key"; payload: { value: string; }; } | { name: "patch"; payload: { refresh?: ProxyRefresh; ignoreStatusCodes?: number[]; }; } | { name: "configure_fetcher"; payload: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; } | { name: "validate"; payload: {}; } | { name: "configure_hierarchy"; payload: string[]; }; export declare type IngesterSteps = { name: "configure_name"; payload: string; } | { name: "configure_resource_group_ids"; payload: string[]; } | { name: "configure_fields"; payload: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & OlapFieldMap_With_Index_Sortable & IngesterFieldMap_With_Rules_IsPrimaryKey)[]; } | { name: "patch"; payload: { filter?: { $and: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; } | { $or: ({ $and: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; } | { $or: ({ [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; } | { [key: string]: { $eq: string | number | (false) | (true) | string[] | {}[]; } | { $ne: string | number | (false) | (true) | string[] | {}[]; } | { $contains: string | string[]; } | { $notcontains: string | string[]; } | { $startswith: string | string[]; } | { $endswith: string | string[]; } | { $empty: boolean; } | { eq: string | number | (false) | (true) | string[] | {}[]; } | { ne: string | number | (false) | (true) | string[] | {}[]; } | { contains: string | string[]; } | { notcontains: string | string[]; } | { startswith: string | string[]; } | { endswith: string | string[]; } | { empty: boolean; } | { $neq: string | number | number[] | {}[]; } | { $nne: string | number | number[] | {}[]; } | { $lt: string | number; } | { $lte: string | number; } | { $gt: string | number; } | { $gte: string | number; } | { neq: string | number | number[] | {}[]; } | { nne: string | number | number[] | {}[]; } | { lt: string | number; } | { lte: string | number; } | { gt: string | number; } | { gte: string | number; } | { $rangefuture: string | number; } | { $rangepast: string | number; } | { $nrangefuture: string | number; } | { $nrangepast: string | number; } | { rangefuture: string | number; } | { rangepast: string | number; } | { nrangefuture: string | number; } | { nrangepast: string | number; }; })[]; })[]; }; updateOptions?: { type: "override_previous_data"; options: {}; } | { type: "upsert_data"; options: { primaryKey: string; mode?: PinotUpsertMode; comparisonColumn?: string; partialUpsertStrategies?: { [key: string]: PinotPartialUpsertStrategy; }; deleteRecordColumn?: string; consistencyMode?: "NONE" | "SNAPSHOT"; }; } | { type: "keep_previous_data"; options: {}; }; preProcessingAggregations?: PreProcessingAggregations[]; authentication?: { type: "bearer"; value: string; } | { type: "basic"; username: string; password: string; }; } & { storageOptions?: StorageOptionsPatch; }; } | { name: "configure_fetcher"; payload: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; } | { name: "validate"; payload: {}; } | { name: "configure_hierarchy"; payload: string[]; } | { name: "configure_reelevant_analytics_script"; payload: {}; } | { name: "configure_google_tag_manager"; payload: {}; }; export declare type PubsubSteps = { name: "configure_name"; payload: string; } | { name: "configure_resource_group_ids"; payload: string[]; } | { name: "configure_sources"; payload: { pipeline: ({ input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { type: "append"; input: SampleObj_Partial & SourceInput_Without_FieldsRules & { fieldsRules?: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; })[]; }; } | { name: "configure_fields"; payload: ({ name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; })[]; } | { name: "configure_field"; payload: { name: string; type: FieldMapType; source?: FieldSource; selected: boolean; ignoreIfMissing?: boolean; metadata?: { locale?: "de" | "fr" | "ja" | "pt" | "nl" | "zh" | "ru" | "es" | "uk" | "en"; }; readonly primitive: ("string" | "number" | "boolean" | "datetime" | "datetime_iso" | "string[]" | "number[]" | "string{}" | "number{}") & readonlyP; } & { rulesPerSources: { [key: string]: (({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; }) | ({ name: "static"; params: { value: string | number; }; } | { name: "path"; params: { value: string; }; } | { name: "path"; params: { fromRoot: true; value: string; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; value: string | number; }; } | { name: "array_find"; params: { conditions: Condition[]; }; } | { name: "array_find"; params: { key: string; operator: "=" | "!="; valuePath: string; fromFormatted?: boolean; }; } | { name: "array_find"; params: { conditions: (Condition_Without_Value & { evaluateValue: string; })[]; }; } | { name: "fallback"; params: FieldMapFallbackRulePayload; } | { name: "fallback"; params: FieldMapFallbackRulePayload_Without_Path_FromFormatted & { staticValue: string | number | string[] | number[] | { [key: string]: string; } | { [key: string]: number; }; }; } | { name: "fallback_if"; params: FieldMapFallbackRulePayload & { conditions: (Condition | (Condition_Without_Value & { evaluateValue: string; }))[]; }; } | { name: "exclude_from_record"; params: { keys: string[]; }; } | { name: "decrypt"; params: { passwordPrefixPath?: string; }; } | { name: "interpolate"; params: { value: string; }; } | { name: "custom"; params: { value: string; }; } | { name: "split"; params: { separator: string; }; } | { name: "case"; params: { cases: { conditions: Condition_Without_Path[]; value: string; }[]; }; } | { name: "hash"; params: { algorithm: string; salt?: string; }; } | { name: "decipher"; params: { algorithm: "aes-128-cbc" | "aes-192-cbc" | "aes-256-cbc" | "aes-128-gcm" | "aes-192-gcm" | "aes-256-gcm" | "aes-128-ctr" | "aes-192-ctr" | "aes-256-ctr" | "aes-128-ecb" | "aes-192-ecb" | "aes-256-ecb"; key: string; iv?: string; inputEncoding?: "hex" | "base64"; }; }))[]; }; }; } | { name: "create_oauth_client"; payload: {}; } | { name: "authorize_oauth_client"; payload: {}; } | { name: "configure_api_key"; payload: { value: string; }; } | { name: "patch"; payload: { storageOptions?: StorageOptionsPatch; }; } | { name: "configure_fetcher"; payload: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; } | { name: "validate"; payload: {}; } | { name: "configure_hierarchy"; payload: string[]; }; export declare type PushSteps = { name: "configure_name"; payload: string; } | { name: "configure_resource_group_ids"; payload: string[]; } | { name: "configure_fetcher"; payload: { name: DatasourceFetcherName; params: {}; } | { name: "fdj-bets"; params: {}; } | { name: "renault-prices"; params: {}; } | { name: "decathlon-product-fallback"; params: {}; } | { name: "generic-unwind-rows"; params: { source: string; destination: string; columnDestination: string; valueType: string; }; } | { name: "workflow-events"; params: {}; } | { name: "expired-product-lifetime"; params: { purchaseDatasourceId: string; purchaseQuery: string; purchaseReferenceIdField: string; purchaseTimestampField: string; purchaseClientField: string; temporalities?: { maxLifetime: number; windowStart: number; windowEnd: number; minPurchaseCount?: number; }[]; }; } | { name: "product-exclusion"; params: { exclusionDatasourceId: string; exclusionIdField: string; productIdField: string; mode: "inclusion" | "exclusion"; }; } | { name: "per-user"; params: {}; } | { name: "generic-proxy-lock"; params: { ttl: number; }; } | { name: "generic-proxy-aggregation"; params: { targetField: string; aggregationType: "sum" | "avg" | "min" | "max"; outputField: string; }; }; } | { name: "validate"; payload: {}; } | { name: "configure_destination"; payload: { destination: { type: "smtp"; options: { url?: string; secure?: boolean; host?: string; port?: number; date?: string | string; text?: string | string | Readable | AttachmentLike; auth?: AuthenticationTypeCustom | AuthenticationTypeLogin | AuthenticationTypeOAuth2; authMethod?: string; cc?: string | Address | (string | Address)[]; bcc?: string | Address | (string | Address)[]; from?: string | Address | (string | Address)[]; to?: string | Address | (string | Address)[]; subject?: string; requireTLS?: boolean; html?: string | string | Readable | AttachmentLike; amp?: string | string | Readable | AmpAttachment; }; }; }; } | { name: "configure_hierarchy"; payload: string[]; }; export {};